@flarehr/promoted-benefits-admin 0.3.896 → 0.3.1294

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/dist/index.html CHANGED
@@ -1,13 +1,14 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Test Site</title>
8
- <script type="module" crossorigin src="/index.js"></script>
9
- </head>
10
- <body>
11
- <promoted-benefits-admin backend-url="" access-token="none"></promoted-benefits-admin>
12
- </body>
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Test Site</title>
8
+ <script type="module" crossorigin src="/index.js"></script>
9
+ </head>
10
+ <body>
11
+ <promoted-benefits-admin backend-url="http://localhost:5173"
12
+ access-token="eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ikg5bmo1QU9Tc3dNcGhnMVNGeDdqYVYtbEI5dyJ9.eyJhdWQiOiJjZTI3Y2E4Ny0xNDA1LTQwZWUtYjNkNy0xNmRhZDFhNDBiMjMiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMmRkMTVkZjItNzM0Yy00MWM1LWFlZGEtNGYxMGI0MmVjMTlkL3YyLjAiLCJpYXQiOjE3MjYyMDYwMzcsIm5iZiI6MTcyNjIwNjAzNywiZXhwIjoxNzI2MjEwNzc3LCJhaW8iOiJBWFFBaS84WEFBQUFiTlMrL0ZMTm4wVnhtZllkNVVkaGtVem9PanUwSTdmaFBZdnRvR3R5RWVQaEVxQlYyeDlpSGlvaE44VWszakhHcWxVVURMazcxRktBQmZzd0xCOXVwTVZjV0UwVk8vTVFFenV1Vkh3Sk9zZTR3RzVxTU1Ua0dLWUJmUWY0VHJtR2RXZ0NUWTlzNHVYNVY0WlM4UkpHNlE9PSIsImF6cCI6ImNlMjdjYTg3LTE0MDUtNDBlZS1iM2Q3LTE2ZGFkMWE0MGIyMyIsImF6cGFjciI6IjAiLCJlbWFpbCI6ImdhdmluLmthdHpAZmxhcmVoci5jb20iLCJuYW1lIjoiR2F2aW4gS2F0eiIsIm9pZCI6IjM4NDhlMWFmLTU1NGItNGYyNS04ZTk1LWIyN2FiZDdhZWRlOCIsInByZWZlcnJlZF91c2VybmFtZSI6ImdhdmluLmthdHpAZmxhcmVoci5jb20iLCJyaCI6IjAuQVVJQThsM1JMVXh6eFVHdTJrOFF0QzdCbllmS0o4NEZGTzVBczljVzJ0R2tDeVBxQU04LiIsInJvbGVzIjpbIkJlbmVmaXRzQXBwLkFjY2VzcyIsIlNhbGFyeVBhY2thZ2luZy5GaW5vcHMiLCJTYWxhcnlQYWNrYWdpbmcuQWNjZXNzIiwiQmVuZWZpdHNBcHAuRWRpdCIsIkJlbmVmaXRzUGxhbi5FZGl0Q29uZmlnIiwiQmVuZWZpdHNPbmJvYXJkaW5nLkFjY2VzcyIsIkJlbmVmaXRzT25ib2FyZGluZy5FZGl0Q29uZmlnIiwiQmVuZWZpdHNQbGFuLkFjY2VzcyIsIlN1cGVyaGVyby5Mb2dpbiIsIlByb21vdGVkQmVuZWZpdHMuQWNjZXNzIl0sInNjcCI6Ii5mNDU3NDI2NC05ZGQxLTQ4MDItYmQ1MC04MTJmZDg3MzI0NjIiLCJzdWIiOiJ0cXlyMVBSQ3owSkRiOEdfTzFud1Q4dzBsUTdBcG15Z3QtalBIZWFZQnVJIiwidGlkIjoiMmRkMTVkZjItNzM0Yy00MWM1LWFlZGEtNGYxMGI0MmVjMTlkIiwidXRpIjoiMXpuRDhvUTRVMENIODJZOU5oYzRBQSIsInZlciI6IjIuMCJ9.gwb0vwoahffOjAsEPCGP6UwmyCoLMyIg9bzoNwj4ujTMZer23JlUGOQDtOB9gblMMWzTaXoxeR3H1QdeE8MOEsRlu-JMkzv2UybLwxWIhGcjik4nXwBmZQ_LCb7YEKK-ELOAT1Cf9IHmlTkltTb7bx5fhCdiqRqb1vWa2KXHObqraEJyumI72XB13Vm0IoK6Cd5lSRoJmZR6MJum9wyGHagSLZuERCcRsCxXqU3u9POKfvFWKW9LhgkJjAzHXYH47TlYXn-b71xtaZfonG90hLhJPf2ffHMaJ95sWB5n7k4sHmtThTQvwDIA18LzbZQhl7Jy3A4ED1UCRcWP85Akag"></promoted-benefits-admin>
13
+ </body>
13
14
  </html>
package/dist/index.js CHANGED
@@ -1,3 +1,7 @@
1
- !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={};var t,n,r,o,i,a,c,u,s,l,_,f={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function y(e,n,r){var o,i,a,c={};for(a in n)"key"==a?o=n[a]:"ref"==a?i=n[a]:c[a]=n[a];if(arguments.length>2&&(c.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===c[a]&&(c[a]=e.defaultProps[a]);return g(e,c,o,i,null)}function g(e,t,o,i,a){var c={type:e,props:t,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++r:a,__i:-1,__u:0};return null==a&&null!=n.vnode&&n.vnode(c),c}function w(){return{current:null}}function b(e){return e.children}function k(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function S(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return S(e)}}function C(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!E.__r++||i!==n.debounceRendering)&&((i=n.debounceRendering)||a)(E)}function E(){var e,t,r,i,a,u,s,l;for(o.sort(c);e=o.shift();)e.__d&&(t=o.length,i=void 0,u=(a=(r=e).__v).__e,s=[],l=[],r.__P&&((i=m({},a)).__v=a.__v+1,n.vnode&&n.vnode(i),M(r.__P,i,a,r.__n,r.__P.namespaceURI,32&a.__u?[u]:null,s,null==u?x(a):u,!!(32&a.__u),l),i.__v=a.__v,i.__.__k[i.__i]=i,z(s,i,l),i.__e!=u&&S(i)),o.length>t&&o.sort(c));E.__r=0}function P(e,t,n,r,o,i,a,c,u,s,l){var _,d,m,v,y,w=r&&r.__k||p,k=t.length;for(n.__d=u,function(e,t,n){var r,o,i,a,c,u=t.length,s=n.length,l=s,_=0;for(e.__k=[],r=0;r<u;r++)a=r+_,null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,null):h(o)?g(b,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,c=A(o,n,a,l),o.__i=c,i=null,-1!==c&&(l--,(i=n[c])&&(i.__u|=131072)),null==i||null===i.__v?(-1==c&&_--,"function"!=typeof o.type&&(o.__u|=65536)):c!==a&&(c==a-1?_--:c==a+1?_++:c>a?l>u-a?_+=c-a:_--:c<a&&(c==a-_?_-=c-a:_++),c!==r+_&&(o.__u|=65536))):(i=n[a])&&null==i.key&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=x(i)),L(i,i,!1),n[a]=null,l--);if(l)for(r=0;r<s;r++)null!=(i=n[r])&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=x(i)),L(i,i))}(n,t,w),u=n.__d,_=0;_<k;_++)null!=(m=n.__k[_])&&"boolean"!=typeof m&&"function"!=typeof m&&(d=-1===m.__i?f:w[m.__i]||f,m.__i=_,M(e,m,d,o,i,a,c,u,s,l),v=m.__e,m.ref&&d.ref!=m.ref&&(d.ref&&H(d.ref,null,m),l.push(m.ref,m.__c||v,m)),null==y&&null!=v&&(y=v),65536&m.__u||d.__k===m.__k?u=$(m,u,e):"function"==typeof m.type&&void 0!==m.__d?u=m.__d:v&&(u=v.nextSibling),m.__d=void 0,m.__u&=-196609);n.__d=u,n.__e=y}function $(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=$(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=x(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function N(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){N(e,t)})):t.push(e)),t}function A(e,t,n,r){var o=e.key,i=e.type,a=n-1,c=n+1,u=t[n];if(null===u||u&&o==u.key&&i===u.type&&!(131072&u.__u))return n;if(r>(null==u||131072&u.__u?0:1))for(;a>=0||c<t.length;){if(a>=0){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a--}if(c<t.length){if((u=t[c])&&!(131072&u.__u)&&o==u.key&&i===u.type)return c;c++}}return-1}function O(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function T(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||O(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||O(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=u,e.addEventListener(t,i?l:s,i)):e.removeEventListener(t,i?l:s,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(a){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function R(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t.t)t.t=u++;else if(t.t<r.u)return;return r(n.event?n.event(t):t)}}}function M(e,r,o,i,a,c,u,s,l,_){var p,d,y,g,w,S,C,E,$,N,A,O,R,M,z,H,L=r.type;if(void 0!==r.constructor)return null;128&o.__u&&(l=!!(32&o.__u),c=[s=r.__e=o.__e]),(p=n.__b)&&p(r);e:if("function"==typeof L)try{if(E=r.props,$="prototype"in L&&L.prototype.render,N=(p=L.contextType)&&i[p.__c],A=p?N?N.props.value:p.__:i,o.__c?C=(d=r.__c=o.__c).__=d.__E:($?r.__c=d=new L(E,A):(r.__c=d=new k(E,A),d.constructor=L,d.render=I),N&&N.sub(d),d.props=E,d.state||(d.state={}),d.context=A,d.__n=i,y=d.__d=!0,d.__h=[],d._sb=[]),$&&null==d.__s&&(d.__s=d.state),$&&null!=L.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=m({},d.__s)),m(d.__s,L.getDerivedStateFromProps(E,d.__s))),g=d.props,w=d.state,d.__v=r,y)$&&null==L.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),$&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if($&&null==L.getDerivedStateFromProps&&E!==g&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(E,A),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(E,d.__s,A)||r.__v===o.__v)){for(r.__v!==o.__v&&(d.props=E,d.state=d.__s,d.__d=!1),r.__e=o.__e,r.__k=o.__k,r.__k.forEach((function(e){e&&(e.__=r)})),O=0;O<d._sb.length;O++)d.__h.push(d._sb[O]);d._sb=[],d.__h.length&&u.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(E,d.__s,A),$&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(g,w,S)}))}if(d.context=A,d.props=E,d.__P=e,d.__e=!1,R=n.__r,M=0,$){for(d.state=d.__s,d.__d=!1,R&&R(r),p=d.render(d.props,d.state,d.context),z=0;z<d._sb.length;z++)d.__h.push(d._sb[z]);d._sb=[]}else do{d.__d=!1,R&&R(r),p=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++M<25);d.state=d.__s,null!=d.getChildContext&&(i=m(m({},i),d.getChildContext())),$&&!y&&null!=d.getSnapshotBeforeUpdate&&(S=d.getSnapshotBeforeUpdate(g,w)),P(e,h(H=null!=p&&p.type===b&&null==p.key?p.props.children:p)?H:[H],r,o,i,a,c,u,s,l,_),d.base=r.__e,r.__u&=-161,d.__h.length&&u.push(d),C&&(d.__E=d.__=null)}catch(W){if(r.__v=null,l||null!=c){for(r.__u|=l?160:32;s&&8===s.nodeType&&s.nextSibling;)s=s.nextSibling;c[c.indexOf(s)]=null,r.__e=s}else r.__e=o.__e,r.__k=o.__k;n.__e(W,r,o)}else null==c&&r.__v===o.__v?(r.__k=o.__k,r.__e=o.__e):r.__e=function(e,n,r,o,i,a,c,u,s){var l,_,p,d,m,y,g,w=r.props,b=n.props,k=n.type;if("svg"===k?i="http://www.w3.org/2000/svg":"math"===k?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=a)for(l=0;l<a.length;l++)if((m=a[l])&&"setAttribute"in m==!!k&&(k?m.localName===k:3===m.nodeType)){e=m,a[l]=null;break}if(null==e){if(null===k)return document.createTextNode(b);e=document.createElementNS(i,k,b.is&&b),a=null,u=!1}if(null===k)w===b||u&&e.data===b||(e.data=b);else{if(a=a&&t.call(e.childNodes),w=r.props||f,!u&&null!=a)for(w={},l=0;l<e.attributes.length;l++)w[(m=e.attributes[l]).name]=m.value;for(l in w)if(m=w[l],"children"==l);else if("dangerouslySetInnerHTML"==l)p=m;else if("key"!==l&&!(l in b)){if("value"==l&&"defaultValue"in b||"checked"==l&&"defaultChecked"in b)continue;T(e,l,null,m,i)}for(l in b)m=b[l],"children"==l?d=m:"dangerouslySetInnerHTML"==l?_=m:"value"==l?y=m:"checked"==l?g=m:"key"===l||u&&"function"!=typeof m||w[l]===m||T(e,l,m,w[l],i);if(_)u||p&&(_.__html===p.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),n.__k=[];else if(p&&(e.innerHTML=""),P(e,h(d)?d:[d],n,r,o,"foreignObject"===k?"http://www.w3.org/1999/xhtml":i,a,c,a?a[0]:r.__k&&x(r,0),u,s),null!=a)for(l=a.length;l--;)null!=a[l]&&v(a[l]);u||(l="value",void 0!==y&&(y!==e[l]||"progress"===k&&!y||"option"===k&&y!==w[l])&&T(e,l,y,w[l],i),l="checked",void 0!==g&&g!==e[l]&&T(e,l,g,w[l],i))}return e}(o.__e,r,o,i,a,c,u,l,_);(p=n.diffed)&&p(r)}function z(e,t,r){t.__d=void 0;for(var o=0;o<r.length;o++)H(r[o],r[++o],r[++o]);n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(r){n.__e(r,t.__v)}}))}function H(e,t,r){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(i){n.__e(i,r)}}function L(e,t,r){var o,i;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||H(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(a){n.__e(a,t)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&L(o[i],t,r||"function"!=typeof e.type);r||null==e.__e||v(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function I(e,t,n){return this.constructor(e,n)}function W(e,r,o){var i,a,c,u;n.__&&n.__(e,r),a=(i="function"==typeof o)?null:o&&o.__k||r.__k,c=[],u=[],M(r,e=(!i&&o||r).__k=y(b,null,[e]),a||f,f,r.namespaceURI,!i&&o?[o]:a?null:r.firstChild?t.call(r.childNodes):null,c,!i&&o?o:a?a.__e:r.firstChild,i,u),z(c,e,u)}function U(e,t){W(e,t,U)}function F(e,n,r){var o,i,a,c,u=m({},e.props);for(a in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),n)"key"==a?o=n[a]:"ref"==a?i=n[a]:u[a]=void 0===n[a]&&void 0!==c?c[a]:n[a];return arguments.length>2&&(u.children=arguments.length>3?t.call(arguments,2):r),g(e.type,u,o||e.key,i||e.ref,null)}function D(e,t){var n={__c:t="__cC"+_++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,C(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}function j(){return(j=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)}t=p.slice,n={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(c){e=c}throw e}},r=0,k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),C(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},k.prototype.render=b,o=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,u=0,s=R(!1),l=R(!0),_=0;var V=["context","children"];function B(e){return this.getChildContext=function(){return e.context},F(e.children,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,V))}function q(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=y(B,j({},this._props,{context:e.detail.context}),function e(t,n){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var r=[],o={},i=0,a=t.attributes,c=t.childNodes;for(i=a.length;i--;)"slot"!==a[i].name&&(o[a[i].name]=a[i].value,o[G(a[i].name)]=a[i].value);for(i=c.length;i--;){var u=e(c[i],null),s=c[i].slot;s?o[s]=y(K,{name:s},u):r[i]=u}var l=n?y(K,null,r):r;return y(n||t.nodeName.toLowerCase(),o,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?U:W)(this._vdom,this._root)}function G(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function Y(e,t,n){if(this._vdom){var r={};r[e]=n=null==n?void 0:n,r[G(e)]=n,this._vdom=F(this._vdom,r),W(this._vdom,this._root)}}function Z(){W(this._vdom=null,this._root)}function K(e,t){var n=this;return y("slot",j({},e,{ref:function(e){e?(n.ref=e,n._listener||(n._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}var J=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(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]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Q="-ms-",X="-moz-",ee="-webkit-",te="comm",ne="rule",re="decl",oe="@keyframes",ie=Math.abs,ae=String.fromCharCode,ce=Object.assign;function ue(e){return e.trim()}function se(e,t,n){return e.replace(t,n)}function le(e,t){return e.indexOf(t)}function _e(e,t){return 0|e.charCodeAt(t)}function fe(e,t,n){return e.slice(t,n)}function pe(e){return e.length}function de(e){return e.length}function he(e,t){return t.push(e),e}var me=1,ve=1,ye=0,ge=0,we=0,be="";function ke(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:me,column:ve,length:a,return:""}}function xe(e,t){return ce(ke("",null,null,"",null,null,0),e,{length:-e.length},t)}function Se(){return we=ge<ye?_e(be,ge++):0,ve++,10===we&&(ve=1,me++),we}function Ce(){return _e(be,ge)}function Ee(){return ge}function Pe(e,t){return fe(be,e,t)}function $e(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 Ne(e){return me=ve=1,ye=pe(be=e),ge=0,[]}function Ae(e){return be="",e}function Oe(e){return ue(Pe(ge-1,Me(91===e?e+2:40===e?e+1:e)))}function Te(e){for(;(we=Ce())&&we<33;)Se();return $e(e)>2||$e(we)>3?"":" "}function Re(e,t){for(;--t&&Se()&&!(we<48||we>102||we>57&&we<65||we>70&&we<97););return Pe(e,Ee()+(t<6&&32==Ce()&&32==Se()))}function Me(e){for(;Se();)switch(we){case e:return ge;case 34:case 39:34!==e&&39!==e&&Me(we);break;case 40:41===e&&Me(e);break;case 92:Se()}return ge}function ze(e,t){for(;Se()&&e+we!==57&&(e+we!==84||47!==Ce()););return"/*"+Pe(t,ge-1)+"*"+ae(47===e?e:Se())}function He(e){for(;!$e(Ce());)Se();return Pe(e,ge)}function Le(e){return Ae(Ie("",null,null,null,[""],e=Ne(e),0,[0],e))}function Ie(e,t,n,r,o,i,a,c,u){for(var s=0,l=0,_=a,f=0,p=0,d=0,h=1,m=1,v=1,y=0,g="",w=o,b=i,k=r,x=g;m;)switch(d=y,y=Se()){case 40:if(108!=d&&58==_e(x,_-1)){-1!=le(x+=se(Oe(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:x+=Oe(y);break;case 9:case 10:case 13:case 32:x+=Te(d);break;case 92:x+=Re(Ee()-1,7);continue;case 47:switch(Ce()){case 42:case 47:he(Ue(ze(Se(),Ee()),t,n),u);break;default:x+="/"}break;case 123*h:c[s++]=pe(x)*v;case 125*h:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+l:-1==v&&(x=se(x,/\f/g,"")),p>0&&pe(x)-_&&he(p>32?Fe(x+";",r,n,_-1):Fe(se(x," ","")+";",r,n,_-2),u);break;case 59:x+=";";default:if(he(k=We(x,t,n,s,l,o,c,g,w=[],b=[],_),i),123===y)if(0===l)Ie(x,t,k,k,w,i,_,c,b);else switch(99===f&&110===_e(x,3)?100:f){case 100:case 108:case 109:case 115:Ie(e,k,k,r&&he(We(e,k,k,0,0,o,c,g,o,w=[],_),b),o,b,_,c,r?w:b);break;default:Ie(x,k,k,k,[""],b,0,c,b)}}s=l=p=0,h=v=1,g=x="",_=a;break;case 58:_=1+pe(x),p=d;default:if(h<1)if(123==y)--h;else if(125==y&&0==h++&&125==(we=ge>0?_e(be,--ge):0,ve--,10===we&&(ve=1,me--),we))continue;switch(x+=ae(y),y*h){case 38:v=l>0?1:(x+="\f",-1);break;case 44:c[s++]=(pe(x)-1)*v,v=1;break;case 64:45===Ce()&&(x+=Oe(Se())),f=Ce(),l=_=pe(g=x+=He(Ee())),y++;break;case 45:45===d&&2==pe(x)&&(h=0)}}return i}function We(e,t,n,r,o,i,a,c,u,s,l){for(var _=o-1,f=0===o?i:[""],p=de(f),d=0,h=0,m=0;d<r;++d)for(var v=0,y=fe(e,_+1,_=ie(h=a[d])),g=e;v<p;++v)(g=ue(h>0?f[v]+" "+y:se(y,/&\f/g,f[v])))&&(u[m++]=g);return ke(e,t,n,0===o?ne:c,u,s,l)}function Ue(e,t,n){return ke(e,t,n,te,ae(we),fe(e,2,-2),0)}function Fe(e,t,n,r){return ke(e,t,n,re,fe(e,0,r),fe(e,r+1,-1),r)}function De(e,t){for(var n="",r=de(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function je(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case re:return e.return=e.return||e.value;case te:return"";case oe:return e.return=e.value+"{"+De(e.children,r)+"}";case ne:e.value=e.props.join(",")}return pe(n=De(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ve(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Be=function(e,t,n){for(var r=0,o=0;r=o,o=Ce(),38===r&&12===o&&(t[n]=1),!$e(o);)Se();return Pe(e,ge)},qe=function(e,t){return Ae(function(e,t){var n=-1,r=44;do{switch($e(r)){case 0:38===r&&12===Ce()&&(t[n]=1),e[n]+=Be(ge-1,t,n);break;case 2:e[n]+=Oe(r);break;case 4:if(44===r){e[++n]=58===Ce()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ae(r)}}while(r=Se());return e}(Ne(e),t))},Ge=new WeakMap,Ye=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ge.get(n))&&!r){Ge.set(e,!0);for(var o=[],i=qe(t,o),a=n.props,c=0,u=0;c<i.length;c++)for(var s=0;s<a.length;s++,u++)e.props[u]=o[c]?i[c].replace(/&\f/g,a[s]):a[s]+" "+i[c]}}},Ze=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ke(e,t){switch(function(e,t){return 45^_e(e,0)?(((t<<2^_e(e,0))<<2^_e(e,1))<<2^_e(e,2))<<2^_e(e,3):0}(e,t)){case 5103:return ee+"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 ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+X+e+Q+e+e;case 6828:case 4268:return ee+e+Q+e+e;case 6165:return ee+e+Q+"flex-"+e+e;case 5187:return ee+e+se(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+Q+"flex-$1$2")+e;case 5443:return ee+e+Q+"flex-item-"+se(e,/flex-|-self/,"")+e;case 4675:return ee+e+Q+"flex-line-pack"+se(e,/align-content|flex-|-self/,"")+e;case 5548:return ee+e+Q+se(e,"shrink","negative")+e;case 5292:return ee+e+Q+se(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+se(e,"-grow","")+ee+e+Q+se(e,"grow","positive")+e;case 4554:return ee+se(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return se(se(se(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return se(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return se(se(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+Q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4095:case 3583:case 4068:case 2532:return se(e,/(.+)-inline(.+)/,ee+"$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(pe(e)-1-t>6)switch(_e(e,t+1)){case 109:if(45!==_e(e,t+4))break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+X+(108==_e(e,t+3)?"$3":"$2-$3"))+e;case 115:return~le(e,"stretch")?Ke(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==_e(e,t+1))break;case 6444:switch(_e(e,pe(e)-3-(~le(e,"!important")&&10))){case 107:return se(e,":",":"+ee)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(45===_e(e,14)?"inline-":"")+"box$3$1"+ee+"$2$3$1"+Q+"$2box$3")+e}break;case 5936:switch(_e(e,t+11)){case 114:return ee+e+Q+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+Q+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+Q+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+Q+e+e}return e}var Je,Qe,Xe,et,tt=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case re:e.return=Ke(e.value,e.length);break;case oe:return De([xe(e,{value:se(e.value,"@","@"+ee)})],r);case ne:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return De([xe(e,{props:[se(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return De([xe(e,{props:[se(t,/:(plac\w+)/,":"+ee+"input-$1")]}),xe(e,{props:[se(t,/:(plac\w+)/,":-moz-$1")]}),xe(e,{props:[se(t,/:(plac\w+)/,Q+"input-$1")]})],r)}return""}))}}],nt=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||tt,a={},c=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;c.push(e)}));var u,s,l,_,f=[je,(_=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&_(e)})],p=(s=[Ye,Ze].concat(i,f),l=de(s),function(e,t,n,r){for(var o="",i=0;i<l;i++)o+=s[i](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,De(Le(e?e+"{"+t.styles+"}":t.styles),p),r&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new J({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return d.sheet.hydrate(c),d},rt=0,ot=[],it=n,at=it.__b,ct=it.__r,ut=it.diffed,st=it.__c,lt=it.unmount,_t=it.__;function ft(e,t){it.__h&&it.__h(Qe,e,rt||t),rt=0;var n=Qe.__H||(Qe.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function pt(e){return rt=1,dt(At,e)}function dt(e,t,n){var r=ft(Je++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):At(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=Qe,!Qe.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};Qe.u=!0;var i=Qe.shouldComponentUpdate,a=Qe.componentWillUpdate;Qe.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},Qe.shouldComponentUpdate=o}return r.__N||r.__}function ht(e,t){var n=ft(Je++,3);!it.__s&&Nt(n.__H,t)&&(n.__=e,n.i=t,Qe.__H.__h.push(n))}function mt(e,t){var n=ft(Je++,4);!it.__s&&Nt(n.__H,t)&&(n.__=e,n.i=t,Qe.__h.push(n))}function vt(e){return rt=5,gt((function(){return{current:e}}),[])}function yt(e,t,n){rt=6,mt((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function gt(e,t){var n=ft(Je++,7);return Nt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function wt(e,t){return rt=8,gt((function(){return e}),t)}function bt(e){var t=Qe.context[e.__c],n=ft(Je++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Qe)),t.props.value):e.__}function kt(e,t){it.useDebugValue&&it.useDebugValue(t?t(e):e)}function xt(){var e=ft(Je++,11);if(!e.__){for(var t=Qe.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function St(){for(var e;e=ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Pt),e.__H.__h.forEach($t),e.__H.__h=[]}catch(t){e.__H.__h=[],it.__e(t,e.__v)}}it.__b=function(e){Qe=null,at&&at(e)},it.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),_t&&_t(e,t)},it.__r=function(e){ct&&ct(e),Je=0;var t=(Qe=e.__c).__H;t&&(Xe===Qe?(t.__h=[],Qe.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(Pt),t.__h.forEach($t),t.__h=[],Je=0)),Xe=Qe},it.diffed=function(e){ut&&ut(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ot.push(t)&&et===it.requestAnimationFrame||((et=it.requestAnimationFrame)||Et)(St)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),Xe=Qe=null},it.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Pt),e.__h=e.__h.filter((function(e){return!e.__||$t(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],it.__e(n,e.__v)}})),st&&st(e,t)},it.unmount=function(e){lt&&lt(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{Pt(e)}catch(n){t=n}})),n.__H=void 0,t&&it.__e(t,n.__v))};var Ct="function"==typeof requestAnimationFrame;function Et(e){var t,n=function(){clearTimeout(r),Ct&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ct&&(t=requestAnimationFrame(n))}function Pt(e){var t=Qe,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Qe=t}function $t(e){var t=Qe;e.__c=e.__(),Qe=t}function Nt(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function At(e,t){return"function"==typeof t?t(e):t}function Ot(e,t){for(var n in t)e[n]=t[n];return e}function Tt(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Rt(e,t){this.props=e,this.context=t}function Mt(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Tt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,y(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Rt.prototype=new k).isPureReactComponent=!0,Rt.prototype.shouldComponentUpdate=function(e,t){return Tt(this.props,e)||Tt(this.state,t)};var zt=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),zt&&zt(e)};var Ht="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Lt(e){function t(t){var n=Ot({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Ht,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var It=function(e,t){return null==e?null:N(N(e).map(t))},Wt={map:It,forEach:It,count:function(e){return e?N(e).length:0},only:function(e){var t=N(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:N},Ut=n.__e;n.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Ut(e,t,n,r)};var Ft=n.unmount;function Dt(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=Ot({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Dt(e,t,n)}))),e}function jt(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return jt(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Vt(){this.__u=0,this.t=null,this.__b=null}function Bt(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function qt(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return y(n,o)}return o.displayName="Lazy",o.__f=!0,o}function Gt(){this.u=null,this.o=null}n.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ft&&Ft(e)},(Vt.prototype=new k).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=Bt(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(c):c())};n.__R=a;var c=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=jt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Vt.prototype.componentWillUnmount=function(){this.t=[]},Vt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&y(b,null,e.fallback);return o&&(o.__u&=-33),[y(b,null,t.__a?null:e.children),o]};var Yt=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Zt(e){return this.getChildContext=function(){return e.context},e.children}function Kt(e){var t=this,n=e.i;t.componentWillUnmount=function(){W(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),W(y(Zt,{context:t.context},e.__v),t.l)}function Jt(e,t){var n=y(Kt,{__v:e,i:t});return n.containerInfo=t,n}(Gt.prototype=new k).__a=function(e){var t=this,n=Bt(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Yt(t,e,r)):o()};n?n(i):i()}},Gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=N(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Gt.prototype.componentDidUpdate=Gt.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){Yt(e,n,t)}))};var Qt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Xt=/^(?: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]/,en=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,tn=/[A-Z0-9]/g,nn="undefined"!=typeof document,rn=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function on(e,t,n){return null==t.__k&&(t.textContent=""),W(e,t),"function"==typeof n&&n(),e?e.__c:null}function an(e,t,n){return U(e,t),"function"==typeof n&&n(),e?e.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var cn=n.event;function un(){}function sn(){return this.cancelBubble}function ln(){return this.defaultPrevented}n.event=function(e){return cn&&(e=cn(e)),e.persist=un,e.isPropagationStopped=sn,e.isDefaultPrevented=ln,e.nativeEvent=e};var _n,fn={enumerable:!1,configurable:!0,get:function(){return this.class}},pn=n.vnode;n.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1===n.indexOf("-");for(var i in t){var a=t[i];if(!("value"===i&&"defaultValue"in t&&null==a||nn&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var c=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===a?a="":"translate"===c&&"no"===a?a=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?i="ondblclick":"onchange"!==c||"input"!==n&&"textarea"!==n||rn(t.type)?"onfocus"===c?i="onfocusin":"onblur"===c?i="onfocusout":en.test(i)&&(i=c):c=i="oninput":o&&Xt.test(i)?i=i.replace(tn,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===c&&r[i=c]&&(i="oninputCapture"),r[i]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=N(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=N(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",fn)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=Qt,pn&&pn(e)};var dn=n.__r;n.__r=function(e){dn&&dn(e),_n=e.__c};var hn=n.diffed;n.diffed=function(e){hn&&hn(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),_n=null};var mn={ReactCurrentDispatcher:{current:{readContext:function(e){return _n.__n[e.__c].props.value},useCallback:wt,useContext:bt,useDebugValue:kt,useDeferredValue:$n,useEffect:ht,useId:xt,useImperativeHandle:yt,useInsertionEffect:An,useLayoutEffect:mt,useMemo:gt,useReducer:dt,useRef:vt,useState:pt,useSyncExternalStore:Tn,useTransition:Nn}}};function vn(e){return y.bind(null,e)}function yn(e){return!!e&&e.$$typeof===Qt}function gn(e){return yn(e)&&e.type===b}function wn(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function bn(e){return yn(e)?F.apply(null,arguments):e}function kn(e){return!!e.__k&&(W(null,e),!0)}function xn(e){return e&&(e.base||1===e.nodeType&&e)||null}var Sn=function(e,t){return e(t)},Cn=function(e,t){return e(t)},En=b;function Pn(e){e()}function $n(e){return e}function Nn(){return[!1,Pn]}var An=mt,On=yn;function Tn(e,t){var n=t(),r=pt({h:{__:n,v:t}}),o=r[0].h,i=r[1];return mt((function(){o.__=n,o.v=t,Rn(o)&&i({h:o})}),[e,n,t]),ht((function(){return Rn(o)&&i({h:o}),e((function(){Rn(o)&&i({h:o})}))}),[e]),n}function Rn(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(a){return!0}}var Mn={useState:pt,useId:xt,useReducer:dt,useEffect:ht,useLayoutEffect:mt,useInsertionEffect:An,useTransition:Nn,useDeferredValue:$n,useSyncExternalStore:Tn,startTransition:Pn,useRef:vt,useImperativeHandle:yt,useMemo:gt,useCallback:wt,useContext:bt,useDebugValue:kt,version:"17.0.2",Children:Wt,render:on,hydrate:an,unmountComponentAtNode:kn,createPortal:Jt,createElement:y,createContext:D,createFactory:vn,cloneElement:bn,createRef:w,Fragment:b,isValidElement:yn,isElement:On,isFragment:gn,isMemo:wn,findDOMNode:xn,Component:k,PureComponent:Rt,memo:Mt,forwardRef:Lt,flushSync:Cn,unstable_batchedUpdates:Sn,StrictMode:En,Suspense:Vt,SuspenseList:Gt,lazy:qt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:mn};const zn=Object.freeze(Object.defineProperty({__proto__:null,Children:Wt,Component:k,Fragment:b,PureComponent:Rt,StrictMode:En,Suspense:Vt,SuspenseList:Gt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:mn,cloneElement:bn,createContext:D,createElement:y,createFactory:vn,createPortal:Jt,createRef:w,default:Mn,findDOMNode:xn,flushSync:Cn,forwardRef:Lt,hydrate:an,isElement:On,isFragment:gn,isMemo:wn,isValidElement:yn,lazy:qt,memo:Mt,render:on,startTransition:Pn,unmountComponentAtNode:kn,unstable_batchedUpdates:Sn,useCallback:wt,useContext:bt,useDebugValue:kt,useDeferredValue:$n,useEffect:ht,useErrorBoundary:function(e){var t=ft(Je++,10),n=pt();return t.__=e,Qe.componentDidCatch||(Qe.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:xt,useImperativeHandle:yt,useInsertionEffect:An,useLayoutEffect:mt,useMemo:gt,useReducer:dt,useRef:vt,useState:pt,useSyncExternalStore:Tn,useTransition:Nn,version:"17.0.2"},Symbol.toStringTag,{value:"Module"}));var Hn={exports:{}},Ln={},In="function"==typeof Symbol&&Symbol.for,Wn=In?Symbol.for("react.element"):60103,Un=In?Symbol.for("react.portal"):60106,Fn=In?Symbol.for("react.fragment"):60107,Dn=In?Symbol.for("react.strict_mode"):60108,jn=In?Symbol.for("react.profiler"):60114,Vn=In?Symbol.for("react.provider"):60109,Bn=In?Symbol.for("react.context"):60110,qn=In?Symbol.for("react.async_mode"):60111,Gn=In?Symbol.for("react.concurrent_mode"):60111,Yn=In?Symbol.for("react.forward_ref"):60112,Zn=In?Symbol.for("react.suspense"):60113,Kn=In?Symbol.for("react.suspense_list"):60120,Jn=In?Symbol.for("react.memo"):60115,Qn=In?Symbol.for("react.lazy"):60116,Xn=In?Symbol.for("react.block"):60121,er=In?Symbol.for("react.fundamental"):60117,tr=In?Symbol.for("react.responder"):60118,nr=In?Symbol.for("react.scope"):60119;function rr(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Wn:switch(e=e.type){case qn:case Gn:case Fn:case jn:case Dn:case Zn:return e;default:switch(e=e&&e.$$typeof){case Bn:case Yn:case Qn:case Jn:case Vn:return e;default:return t}}case Un:return t}}}function or(e){return rr(e)===Gn}Ln.AsyncMode=qn,Ln.ConcurrentMode=Gn,Ln.ContextConsumer=Bn,Ln.ContextProvider=Vn,Ln.Element=Wn,Ln.ForwardRef=Yn,Ln.Fragment=Fn,Ln.Lazy=Qn,Ln.Memo=Jn,Ln.Portal=Un,Ln.Profiler=jn,Ln.StrictMode=Dn,Ln.Suspense=Zn,Ln.isAsyncMode=function(e){return or(e)||rr(e)===qn},Ln.isConcurrentMode=or,Ln.isContextConsumer=function(e){return rr(e)===Bn},Ln.isContextProvider=function(e){return rr(e)===Vn},Ln.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Wn},Ln.isForwardRef=function(e){return rr(e)===Yn},Ln.isFragment=function(e){return rr(e)===Fn},Ln.isLazy=function(e){return rr(e)===Qn},Ln.isMemo=function(e){return rr(e)===Jn},Ln.isPortal=function(e){return rr(e)===Un},Ln.isProfiler=function(e){return rr(e)===jn},Ln.isStrictMode=function(e){return rr(e)===Dn},Ln.isSuspense=function(e){return rr(e)===Zn},Ln.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Fn||e===Gn||e===jn||e===Dn||e===Zn||e===Kn||"object"==typeof e&&null!==e&&(e.$$typeof===Qn||e.$$typeof===Jn||e.$$typeof===Vn||e.$$typeof===Bn||e.$$typeof===Yn||e.$$typeof===er||e.$$typeof===tr||e.$$typeof===nr||e.$$typeof===Xn)},Ln.typeOf=rr,Hn.exports=Ln;var ir=Hn.exports,ar={};ar[ir.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ar[ir.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};function cr(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var ur=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},sr=function(e,t,n){ur(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var lr={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,scale: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},_r=!1,fr=/[A-Z]|^ms/g,pr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dr=function(e){return 45===e.charCodeAt(1)},hr=function(e){return null!=e&&"boolean"!=typeof e},mr=Ve((function(e){return dr(e)?e:e.replace(fr,"-$&").toLowerCase()})),vr=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(pr,(function(e,t,n){return wr={name:t,styles:n,next:wr},t}))}return 1===lr[e]||dr(e)||"number"!=typeof t||0===t?t:t+"px"},yr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function gr(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return wr={name:o.name,styles:o.styles,next:wr},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)wr={name:a.name,styles:a.styles,next:wr},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=gr(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var c=a;null!=t&&void 0!==t[c]?r+=i+"{"+t[c]+"}":hr(c)&&(r+=mr(i)+":"+vr(i,c)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&_r)throw new Error(yr);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=gr(e,t,a);switch(i){case"animation":case"animationName":r+=mr(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var s=0;s<a.length;s++)hr(a[s])&&(r+=mr(i)+":"+vr(i,a[s])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var c=wr,u=n(e);return wr=c,gr(e,t,u)}}var s=n;if(null==t)return s;var l=t[s];return void 0!==l?l:s}var wr,br=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function kr(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";wr=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=gr(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=gr(n,t,e[a]),r)o+=i[a]}br.lastIndex=0;for(var c,u="";null!==(c=br.exec(o));)u+="-"+c[1];var s=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:s,styles:o,next:wr}}var xr=!!zn.useInsertionEffect&&zn.useInsertionEffect,Sr=xr||function(e){return e()},Cr=xr||mt,Er=D("undefined"!=typeof HTMLElement?nt({key:"css"}):null),Pr=Er.Provider,$r=function(e){return Lt((function(t,n){var r=bt(Er);return e(t,r,n)}))},Nr=D({}),Ar={}.hasOwnProperty,Or="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Tr=function(e,t){var n={};for(var r in t)Ar.call(t,r)&&(n[r]=t[r]);return n[Or]=e,n},Rr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return ur(t,n,r),Sr((function(){return sr(t,n,r)})),null},Mr=$r((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[Or],i=[r],a="";"string"==typeof e.className?a=cr(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var c=kr(i,void 0,bt(Nr));a+=t.key+"-"+c.name;var u={};for(var s in e)Ar.call(e,s)&&"css"!==s&&s!==Or&&(u[s]=e[s]);return u.className=a,n&&(u.ref=n),y(b,null,y(Rr,{cache:t,serialized:c,isStringTag:"string"==typeof o}),y(o,u))})),zr=$r((function(e,t){var n=kr([e.styles],void 0,bt(Nr)),r=vt();return Cr((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}}),[t]),Cr((function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&sr(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}}),[t,n.name]),null}));function Hr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return kr(t)}var Lr=0;function Ir(e,t,r,o,i,a){t||(t={});var c,u,s=t;if("ref"in s)for(u in s={},t)"ref"==u?c=t[u]:s[u]=t[u];var l={type:e,props:s,key:r,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Lr,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(c=e.defaultProps))for(u in c)void 0===s[u]&&(s[u]=c[u]);return n.vnode&&n.vnode(l),l}var Wr=b;function Ur(e,t,n){return Ar.call(t,"css")?Ir(Mr,Tr(e,t),n):Ir(e,t,n)}function Fr(e,t,n){return Ar.call(t,"css")?Ir(Mr,Tr(e,t),n):Ir(e,t,n)}const Dr=Hr({body:{WebkitTapHighlightColor:"#a855f7",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},":host":{"--fl-color-primary-900":"#000563","--fl-color-primary-800":"#031495","--fl-color-primary-700":"#1033c6","--fl-color-primary-600":"#2e66f7","--fl-color-primary-500":"#5786f8","--fl-color-primary-400":"#88abfa","--fl-color-primary-300":"#b5cbfb","--fl-color-primary-200":"#d6e2fc","--fl-color-primary-100":"#eaf0fe","--fl-color-primary-50":"#f2f6ff","--kit-font-family":"Inter, 'Source Sans Pro', sans-serif",fontFamily:"Inter, 'Source Sans Pro', sans-serif"}}),jr=()=>Fr(b,{children:[Ur(zr,{styles:Hr`
1
+ var t,e,n,r,i,o,s,a,l,c,u,d,h,f,p,_,m,y,v,g,b,w,k,x,S,C,O,P,E,R,A,M,T,F,W,D,N,L,U,$,q,H,I,j,z,Q,B,K,G,V,X,Y,Z,J,tt,et,nt,rt,it,ot,st,at,lt,ct,ut=Object.defineProperty,dt=t=>{throw TypeError(t)},ht=(t,e,n)=>((t,e,n)=>e in t?ut(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n)(t,"symbol"!=typeof e?e+"":e,n),ft=(t,e,n)=>e.has(t)||dt("Cannot "+n),pt=(t,e,n)=>(ft(t,e,"read from private field"),n?n.call(t):e.get(t)),_t=(t,e,n)=>e.has(t)?dt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),mt=(t,e,n,r)=>(ft(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),yt=(t,e,n)=>(ft(t,e,"access private method"),n),vt=(t,e,n,r)=>({set _(r){mt(t,e,r,n)},get _(){return pt(t,e,r)}});!function(){const t=document.createElement("link").relList;if(!(t&&t.supports&&t.supports("modulepreload"))){for(const t of document.querySelectorAll('link[rel="modulepreload"]'))e(t);new MutationObserver((t=>{for(const n of t)if("childList"===n.type)for(const t of n.addedNodes)"LINK"===t.tagName&&"modulepreload"===t.rel&&e(t)})).observe(document,{childList:!0,subtree:!0})}function e(t){if(t.ep)return;t.ep=!0;const e=function(t){const e={};return t.integrity&&(e.integrity=t.integrity),t.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),"use-credentials"===t.crossOrigin?e.credentials="include":"anonymous"===t.crossOrigin?e.credentials="omit":e.credentials="same-origin",e}(t);fetch(t.href,e)}}();var gt,bt,wt,kt,xt,St,Ct,Ot,Pt,Et,Rt,At={},Mt=[],Tt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Ft=Array.isArray;function Wt(t,e){for(var n in e)t[n]=e[n];return t}function Dt(t){var e=t.parentNode;e&&e.removeChild(t)}function Nt(t,e,n){var r,i,o,s={};for(o in e)"key"==o?r=e[o]:"ref"==o?i=e[o]:s[o]=e[o];if(arguments.length>2&&(s.children=arguments.length>3?gt.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(o in t.defaultProps)void 0===s[o]&&(s[o]=t.defaultProps[o]);return Lt(t,s,r,i,null)}function Lt(t,e,n,r,i){var o={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==i?++wt:i,__i:-1,__u:0};return null==i&&null!=bt.vnode&&bt.vnode(o),o}function Ut(){return{current:null}}function $t(t){return t.children}function qt(t,e){this.props=t,this.context=e}function Ht(t,e){if(null==e)return t.__?Ht(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?Ht(t):null}function It(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return It(t)}}function jt(t){(!t.__d&&(t.__d=!0)&&kt.push(t)&&!zt.__r++||xt!==bt.debounceRendering)&&((xt=bt.debounceRendering)||St)(zt)}function zt(){var t,e,n,r,i,o,s,a;for(kt.sort(Ct);t=kt.shift();)t.__d&&(e=kt.length,r=void 0,o=(i=(n=t).__v).__e,s=[],a=[],n.__P&&((r=Wt({},i)).__v=i.__v+1,bt.vnode&&bt.vnode(r),Zt(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[o]:null,s,null==o?Ht(i):o,!!(32&i.__u),a),r.__v=i.__v,r.__.__k[r.__i]=r,Jt(s,r,a),r.__e!=o&&It(r)),kt.length>e&&kt.sort(Ct));zt.__r=0}function Qt(t,e,n,r,i,o,s,a,l,c,u){var d,h,f,p,_,m=r&&r.__k||Mt,y=e.length;for(n.__d=l,function(t,e,n){var r,i,o,s,a,l=e.length,c=n.length,u=c,d=0;for(t.__k=[],r=0;r<l;r++)s=r+d,null!=(i=t.__k[r]=null==(i=e[r])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?Lt(null,i,null,null,null):Ft(i)?Lt($t,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?Lt(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=t,i.__b=t.__b+1,a=Gt(i,n,s,u),i.__i=a,o=null,-1!==a&&(u--,(o=n[a])&&(o.__u|=131072)),null==o||null===o.__v?(-1==a&&d--,"function"!=typeof i.type&&(i.__u|=65536)):a!==s&&(a==s-1?d--:a==s+1?d++:a>s?u>l-s?d+=a-s:d--:a<s&&(a==s-d?d-=a-s:d++),a!==r+d&&(i.__u|=65536))):(o=n[s])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==t.__d&&(t.__d=Ht(o)),ee(o,o,!1),n[s]=null,u--);if(u)for(r=0;r<c;r++)null!=(o=n[r])&&!(131072&o.__u)&&(o.__e==t.__d&&(t.__d=Ht(o)),ee(o,o))}(n,e,m),l=n.__d,d=0;d<y;d++)null!=(f=n.__k[d])&&"boolean"!=typeof f&&"function"!=typeof f&&(h=-1===f.__i?At:m[f.__i]||At,f.__i=d,Zt(t,f,h,i,o,s,a,l,c,u),p=f.__e,f.ref&&h.ref!=f.ref&&(h.ref&&te(h.ref,null,f),u.push(f.ref,f.__c||p,f)),null==_&&null!=p&&(_=p),65536&f.__u||h.__k===f.__k?l=Bt(f,l,t):"function"==typeof f.type&&void 0!==f.__d?l=f.__d:p&&(l=p.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=l,n.__e=_}function Bt(t,e,n){var r,i;if("function"==typeof t.type){for(r=t.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=t,e=Bt(r[i],e,n));return e}t.__e!=e&&(e&&t.type&&!n.contains(e)&&(e=Ht(t)),n.insertBefore(t.__e,e||null),e=t.__e);do{e=e&&e.nextSibling}while(null!=e&&8===e.nodeType);return e}function Kt(t,e){return e=e||[],null==t||"boolean"==typeof t||(Ft(t)?t.some((function(t){Kt(t,e)})):e.push(t)),e}function Gt(t,e,n,r){var i=t.key,o=t.type,s=n-1,a=n+1,l=e[n];if(null===l||l&&i==l.key&&o===l.type&&!(131072&l.__u))return n;if(r>(null==l||131072&l.__u?0:1))for(;s>=0||a<e.length;){if(s>=0){if((l=e[s])&&!(131072&l.__u)&&i==l.key&&o===l.type)return s;s--}if(a<e.length){if((l=e[a])&&!(131072&l.__u)&&i==l.key&&o===l.type)return a;a++}}return-1}function Vt(t,e,n){"-"===e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||Tt.test(e)?n:n+"px"}function Xt(t,e,n,r,i){var o;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Vt(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Vt(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||"onFocusOut"===e||"onFocusIn"===e?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=n,n?r?n.u=r.u:(n.u=Ot,t.addEventListener(e,o?Et:Pt,o)):t.removeEventListener(e,o?Et:Pt,o);else{if("http://www.w3.org/2000/svg"==i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in t)try{t[e]=null==n?"":n;break t}catch(s){}"function"==typeof n||(null==n||!1===n&&"-"!==e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==n?"":n))}}function Yt(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e.t)e.t=Ot++;else if(e.t<n.u)return;return n(bt.event?bt.event(e):e)}}}function Zt(t,e,n,r,i,o,s,a,l,c){var u,d,h,f,p,_,m,y,v,g,b,w,k,x,S,C,O=e.type;if(void 0!==e.constructor)return null;128&n.__u&&(l=!!(32&n.__u),o=[a=e.__e=n.__e]),(u=bt.__b)&&u(e);t:if("function"==typeof O)try{if(y=e.props,v="prototype"in O&&O.prototype.render,g=(u=O.contextType)&&r[u.__c],b=u?g?g.props.value:u.__:r,n.__c?m=(d=e.__c=n.__c).__=d.__E:(v?e.__c=d=new O(y,b):(e.__c=d=new qt(y,b),d.constructor=O,d.render=ne),g&&g.sub(d),d.props=y,d.state||(d.state={}),d.context=b,d.__n=r,h=d.__d=!0,d.__h=[],d._sb=[]),v&&null==d.__s&&(d.__s=d.state),v&&null!=O.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Wt({},d.__s)),Wt(d.__s,O.getDerivedStateFromProps(y,d.__s))),f=d.props,p=d.state,d.__v=e,h)v&&null==O.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),v&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(v&&null==O.getDerivedStateFromProps&&y!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(y,b),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(y,d.__s,b)||e.__v===n.__v)){for(e.__v!==n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach((function(t){t&&(t.__=e)})),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[],d.__h.length&&s.push(d);break t}null!=d.componentWillUpdate&&d.componentWillUpdate(y,d.__s,b),v&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(f,p,_)}))}if(d.context=b,d.props=y,d.__P=t,d.__e=!1,k=bt.__r,x=0,v){for(d.state=d.__s,d.__d=!1,k&&k(e),u=d.render(d.props,d.state,d.context),S=0;S<d._sb.length;S++)d.__h.push(d._sb[S]);d._sb=[]}else do{d.__d=!1,k&&k(e),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++x<25);d.state=d.__s,null!=d.getChildContext&&(r=Wt(Wt({},r),d.getChildContext())),v&&!h&&null!=d.getSnapshotBeforeUpdate&&(_=d.getSnapshotBeforeUpdate(f,p)),Qt(t,Ft(C=null!=u&&u.type===$t&&null==u.key?u.props.children:u)?C:[C],e,n,r,i,o,s,a,l,c),d.base=e.__e,e.__u&=-161,d.__h.length&&s.push(d),m&&(d.__E=d.__=null)}catch(P){if(e.__v=null,l||null!=o){for(e.__u|=l?160:32;a&&8===a.nodeType&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,e.__e=a}else e.__e=n.__e,e.__k=n.__k;bt.__e(P,e,n)}else null==o&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=function(t,e,n,r,i,o,s,a,l){var c,u,d,h,f,p,_,m=n.props,y=e.props,v=e.type;if("svg"===v?i="http://www.w3.org/2000/svg":"math"===v?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=o)for(c=0;c<o.length;c++)if((f=o[c])&&"setAttribute"in f==!!v&&(v?f.localName===v:3===f.nodeType)){t=f,o[c]=null;break}if(null==t){if(null===v)return document.createTextNode(y);t=document.createElementNS(i,v,y.is&&y),o=null,a=!1}if(null===v)m===y||a&&t.data===y||(t.data=y);else{if(o=o&&gt.call(t.childNodes),m=n.props||At,!a&&null!=o)for(m={},c=0;c<t.attributes.length;c++)m[(f=t.attributes[c]).name]=f.value;for(c in m)if(f=m[c],"children"==c);else if("dangerouslySetInnerHTML"==c)d=f;else if("key"!==c&&!(c in y)){if("value"==c&&"defaultValue"in y||"checked"==c&&"defaultChecked"in y)continue;Xt(t,c,null,f,i)}for(c in y)f=y[c],"children"==c?h=f:"dangerouslySetInnerHTML"==c?u=f:"value"==c?p=f:"checked"==c?_=f:"key"===c||a&&"function"!=typeof f||m[c]===f||Xt(t,c,f,m[c],i);if(u)a||d&&(u.__html===d.__html||u.__html===t.innerHTML)||(t.innerHTML=u.__html),e.__k=[];else if(d&&(t.innerHTML=""),Qt(t,Ft(h)?h:[h],e,n,r,"foreignObject"===v?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:n.__k&&Ht(n,0),a,l),null!=o)for(c=o.length;c--;)null!=o[c]&&Dt(o[c]);a||(c="value",void 0!==p&&(p!==t[c]||"progress"===v&&!p||"option"===v&&p!==m[c])&&Xt(t,c,p,m[c],i),c="checked",void 0!==_&&_!==t[c]&&Xt(t,c,_,m[c],i))}return t}(n.__e,e,n,r,i,o,s,l,c);(u=bt.diffed)&&u(e)}function Jt(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)te(n[r],n[++r],n[++r]);bt.__c&&bt.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(n){bt.__e(n,e.__v)}}))}function te(t,e,n){try{if("function"==typeof t){var r="function"==typeof t.__u;r&&t.__u(),r&&null==e||(t.__u=t(e))}else t.current=e}catch(i){bt.__e(i,n)}}function ee(t,e,n){var r,i;if(bt.unmount&&bt.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||te(r,null,e)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(o){bt.__e(o,e)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&ee(r[i],e,n||"function"!=typeof t.type);n||null==t.__e||Dt(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function ne(t,e,n){return this.constructor(t,n)}function re(t,e,n){var r,i,o,s;bt.__&&bt.__(t,e),i=(r="function"==typeof n)?null:n&&n.__k||e.__k,o=[],s=[],Zt(e,t=(!r&&n||e).__k=Nt($t,null,[t]),i||At,At,e.namespaceURI,!r&&n?[n]:i?null:e.firstChild?gt.call(e.childNodes):null,o,!r&&n?n:i?i.__e:e.firstChild,r,s),Jt(o,t,s)}function ie(t,e){re(t,e,ie)}function oe(t,e,n){var r,i,o,s,a=Wt({},t.props);for(o in t.type&&t.type.defaultProps&&(s=t.type.defaultProps),e)"key"==o?r=e[o]:"ref"==o?i=e[o]:a[o]=void 0===e[o]&&void 0!==s?s[o]:e[o];return arguments.length>2&&(a.children=arguments.length>3?gt.call(arguments,2):n),Lt(t.type,a,r||t.key,i||t.ref,null)}function se(t,e){var n={__c:e="__cC"+Rt++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,r;return this.getChildContext||(n=[],(r={})[e]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.some((function(t){t.__e=!0,jt(t)}))},this.sub=function(t){n.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n&&n.splice(n.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n}function ae(){return(ae=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}gt=Mt.slice,bt={__e:function(t,e,n,r){for(var i,o,s;e=e.__;)if((i=e.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(t)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t,r||{}),s=i.__d),s)return i.__E=i}catch(a){t=a}throw t}},wt=0,qt.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Wt({},this.state),"function"==typeof t&&(t=t(Wt({},n),this.props)),t&&Wt(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),jt(this))},qt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),jt(this))},qt.prototype.render=$t,kt=[],St="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ct=function(t,e){return t.__v.__b-e.__v.__b},zt.__r=0,Ot=0,Pt=Yt(!1),Et=Yt(!0),Rt=0;var le=["context","children"];function ce(t){return this.getChildContext=function(){return t.context},oe(t.children,function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)e.indexOf(n=o[r])>=0||(i[n]=t[n]);return i}(t,le))}function ue(){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=Nt(ce,ae({},this._props,{context:t.detail.context}),function t(e,n){if(3===e.nodeType)return e.data;if(1!==e.nodeType)return null;var r=[],i={},o=0,s=e.attributes,a=e.childNodes;for(o=s.length;o--;)"slot"!==s[o].name&&(i[s[o].name]=s[o].value,i[de(s[o].name)]=s[o].value);for(o=a.length;o--;){var l=t(a[o],null),c=a[o].slot;c?i[c]=Nt(pe,{name:c},l):r[o]=l}var u=n?Nt(pe,null,r):r;return Nt(n||e.nodeName.toLowerCase(),i,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?ie:re)(this._vdom,this._root)}function de(t){return t.replace(/-(\w)/g,(function(t,e){return e?e.toUpperCase():""}))}function he(t,e,n){if(this._vdom){var r={};r[t]=n=null==n?void 0:n,r[de(t)]=n,this._vdom=oe(this._vdom,r),re(this._vdom,this._root)}}function fe(){re(this._vdom=null,this._root)}function pe(t,e){var n=this;return Nt("slot",ae({},t,{ref:function(t){t?(n.ref=t,n._listener||(n._listener=function(t){t.stopPropagation(),t.detail.context=e},t.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}var _e=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(r){}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)})),this.tags=[],this.ctr=0},t}(),me="-ms-",ye="-moz-",ve="-webkit-",ge="comm",be="rule",we="decl",ke="@keyframes",xe=Math.abs,Se=String.fromCharCode,Ce=Object.assign;function Oe(t){return t.trim()}function Pe(t,e,n){return t.replace(e,n)}function Ee(t,e){return t.indexOf(e)}function Re(t,e){return 0|t.charCodeAt(e)}function Ae(t,e,n){return t.slice(e,n)}function Me(t){return t.length}function Te(t){return t.length}function Fe(t,e){return e.push(t),t}var We=1,De=1,Ne=0,Le=0,Ue=0,$e="";function qe(t,e,n,r,i,o,s){return{value:t,root:e,parent:n,type:r,props:i,children:o,line:We,column:De,length:s,return:""}}function He(t,e){return Ce(qe("",null,null,"",null,null,0),t,{length:-t.length},e)}function Ie(){return Ue=Le<Ne?Re($e,Le++):0,De++,10===Ue&&(De=1,We++),Ue}function je(){return Re($e,Le)}function ze(){return Le}function Qe(t,e){return Ae($e,t,e)}function Be(t){switch(t){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 Ke(t){return We=De=1,Ne=Me($e=t),Le=0,[]}function Ge(t){return $e="",t}function Ve(t){return Oe(Qe(Le-1,Ze(91===t?t+2:40===t?t+1:t)))}function Xe(t){for(;(Ue=je())&&Ue<33;)Ie();return Be(t)>2||Be(Ue)>3?"":" "}function Ye(t,e){for(;--e&&Ie()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Qe(t,ze()+(e<6&&32==je()&&32==Ie()))}function Ze(t){for(;Ie();)switch(Ue){case t:return Le;case 34:case 39:34!==t&&39!==t&&Ze(Ue);break;case 40:41===t&&Ze(t);break;case 92:Ie()}return Le}function Je(t,e){for(;Ie()&&t+Ue!==57&&(t+Ue!==84||47!==je()););return"/*"+Qe(e,Le-1)+"*"+Se(47===t?t:Ie())}function tn(t){for(;!Be(je());)Ie();return Qe(t,Le)}function en(t){return Ge(nn("",null,null,null,[""],t=Ke(t),0,[0],t))}function nn(t,e,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,h=0,f=0,p=0,_=1,m=1,y=1,v=0,g="",b=i,w=o,k=r,x=g;m;)switch(p=v,v=Ie()){case 40:if(108!=p&&58==Re(x,d-1)){-1!=Ee(x+=Pe(Ve(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:x+=Ve(v);break;case 9:case 10:case 13:case 32:x+=Xe(p);break;case 92:x+=Ye(ze()-1,7);continue;case 47:switch(je()){case 42:case 47:Fe(on(Je(Ie(),ze()),e,n),l);break;default:x+="/"}break;case 123*_:a[c++]=Me(x)*y;case 125*_:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==y&&(x=Pe(x,/\f/g,"")),f>0&&Me(x)-d&&Fe(f>32?sn(x+";",r,n,d-1):sn(Pe(x," ","")+";",r,n,d-2),l);break;case 59:x+=";";default:if(Fe(k=rn(x,e,n,c,u,i,a,g,b=[],w=[],d),o),123===v)if(0===u)nn(x,e,k,k,b,o,d,a,w);else switch(99===h&&110===Re(x,3)?100:h){case 100:case 108:case 109:case 115:nn(t,k,k,r&&Fe(rn(t,k,k,0,0,i,a,g,i,b=[],d),w),i,w,d,a,r?b:w);break;default:nn(x,k,k,k,[""],w,0,a,w)}}c=u=f=0,_=y=1,g=x="",d=s;break;case 58:d=1+Me(x),f=p;default:if(_<1)if(123==v)--_;else if(125==v&&0==_++&&125==(Ue=Le>0?Re($e,--Le):0,De--,10===Ue&&(De=1,We--),Ue))continue;switch(x+=Se(v),v*_){case 38:y=u>0?1:(x+="\f",-1);break;case 44:a[c++]=(Me(x)-1)*y,y=1;break;case 64:45===je()&&(x+=Ve(Ie())),h=je(),u=d=Me(g=x+=tn(ze())),v++;break;case 45:45===p&&2==Me(x)&&(_=0)}}return o}function rn(t,e,n,r,i,o,s,a,l,c,u){for(var d=i-1,h=0===i?o:[""],f=Te(h),p=0,_=0,m=0;p<r;++p)for(var y=0,v=Ae(t,d+1,d=xe(_=s[p])),g=t;y<f;++y)(g=Oe(_>0?h[y]+" "+v:Pe(v,/&\f/g,h[y])))&&(l[m++]=g);return qe(t,e,n,0===i?be:a,l,c,u)}function on(t,e,n){return qe(t,e,n,ge,Se(Ue),Ae(t,2,-2),0)}function sn(t,e,n,r){return qe(t,e,n,we,Ae(t,0,r),Ae(t,r+1,-1),r)}function an(t,e){for(var n="",r=Te(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function ln(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case we:return t.return=t.return||t.value;case ge:return"";case ke:return t.return=t.value+"{"+an(t.children,r)+"}";case be:t.value=t.props.join(",")}return Me(n=an(t.children,r))?t.return=t.value+"{"+n+"}":""}function cn(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}var un=function(t,e,n){for(var r=0,i=0;r=i,i=je(),38===r&&12===i&&(e[n]=1),!Be(i);)Ie();return Qe(t,Le)},dn=function(t,e){return Ge(function(t,e){var n=-1,r=44;do{switch(Be(r)){case 0:38===r&&12===je()&&(e[n]=1),t[n]+=un(Le-1,e,n);break;case 2:t[n]+=Ve(r);break;case 4:if(44===r){t[++n]=58===je()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=Se(r)}}while(r=Ie());return t}(Ke(t),e))},hn=new WeakMap,fn=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||hn.get(n))&&!r){hn.set(t,!0);for(var i=[],o=dn(e,i),s=n.props,a=0,l=0;a<o.length;a++)for(var c=0;c<s.length;c++,l++)t.props[l]=i[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},pn=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};function _n(t,e){switch(function(t,e){return 45^Re(t,0)?(((e<<2^Re(t,0))<<2^Re(t,1))<<2^Re(t,2))<<2^Re(t,3):0}(t,e)){case 5103:return ve+"print-"+t+t;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 ve+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ve+t+ye+t+me+t+t;case 6828:case 4268:return ve+t+me+t+t;case 6165:return ve+t+me+"flex-"+t+t;case 5187:return ve+t+Pe(t,/(\w+).+(:[^]+)/,ve+"box-$1$2"+me+"flex-$1$2")+t;case 5443:return ve+t+me+"flex-item-"+Pe(t,/flex-|-self/,"")+t;case 4675:return ve+t+me+"flex-line-pack"+Pe(t,/align-content|flex-|-self/,"")+t;case 5548:return ve+t+me+Pe(t,"shrink","negative")+t;case 5292:return ve+t+me+Pe(t,"basis","preferred-size")+t;case 6060:return ve+"box-"+Pe(t,"-grow","")+ve+t+me+Pe(t,"grow","positive")+t;case 4554:return ve+Pe(t,/([^-])(transform)/g,"$1"+ve+"$2")+t;case 6187:return Pe(Pe(Pe(t,/(zoom-|grab)/,ve+"$1"),/(image-set)/,ve+"$1"),t,"")+t;case 5495:case 3959:return Pe(t,/(image-set\([^]*)/,ve+"$1$`$1");case 4968:return Pe(Pe(t,/(.+:)(flex-)?(.*)/,ve+"box-pack:$3"+me+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ve+t+t;case 4095:case 3583:case 4068:case 2532:return Pe(t,/(.+)-inline(.+)/,ve+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Me(t)-1-e>6)switch(Re(t,e+1)){case 109:if(45!==Re(t,e+4))break;case 102:return Pe(t,/(.+:)(.+)-([^]+)/,"$1"+ve+"$2-$3$1"+ye+(108==Re(t,e+3)?"$3":"$2-$3"))+t;case 115:return~Ee(t,"stretch")?_n(Pe(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==Re(t,e+1))break;case 6444:switch(Re(t,Me(t)-3-(~Ee(t,"!important")&&10))){case 107:return Pe(t,":",":"+ve)+t;case 101:return Pe(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ve+(45===Re(t,14)?"inline-":"")+"box$3$1"+ve+"$2$3$1"+me+"$2box$3")+t}break;case 5936:switch(Re(t,e+11)){case 114:return ve+t+me+Pe(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ve+t+me+Pe(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ve+t+me+Pe(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return ve+t+me+t+t}return t}var mn,yn,vn,gn,bn=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case we:t.return=_n(t.value,t.length);break;case ke:return an([He(t,{value:Pe(t.value,"@","@"+ve)})],r);case be:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([He(t,{props:[Pe(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return an([He(t,{props:[Pe(e,/:(plac\w+)/,":"+ve+"input-$1")]}),He(t,{props:[Pe(e,/:(plac\w+)/,":-moz-$1")]}),He(t,{props:[Pe(e,/:(plac\w+)/,me+"input-$1")]})],r)}return""}))}}],wn=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var r,i,o=t.stylisPlugins||bn,s={},a=[];r=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;a.push(t)}));var l,c,u,d,h=[ln,(d=function(t){l.insert(t)},function(t){t.root||(t=t.return)&&d(t)})],f=(c=[fn,pn].concat(o,h),u=Te(c),function(t,e,n,r){for(var i="",o=0;o<u;o++)i+=c[o](t,e,n,r)||"";return i});i=function(t,e,n,r){l=n,an(en(t?t+"{"+e.styles+"}":e.styles),f),r&&(p.inserted[e.name]=!0)};var p={key:e,sheet:new _e({key:e,container:r,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:i};return p.sheet.hydrate(a),p},kn=0,xn=[],Sn=bt,Cn=Sn.__b,On=Sn.__r,Pn=Sn.diffed,En=Sn.__c,Rn=Sn.unmount,An=Sn.__;function Mn(t,e){Sn.__h&&Sn.__h(yn,t,kn||e),kn=0;var n=yn.__H||(yn.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function Tn(t){return kn=1,Fn(Vn,t)}function Fn(t,e,n){var r=Mn(mn++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Vn(void 0,e),function(t){var e=r.__N?r.__N[0]:r.__[0],n=r.t(e,t);e!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=yn,!yn.u)){var i=function(t,e,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(t){return!!t.__c}));if(i.every((function(t){return!t.__N})))return!o||o.call(this,t,e,n);var s=!1;return i.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(s=!0)}})),!(!s&&r.__c.props===t)&&(!o||o.call(this,t,e,n))};yn.u=!0;var o=yn.shouldComponentUpdate,s=yn.componentWillUpdate;yn.componentWillUpdate=function(t,e,n){if(this.__e){var r=o;o=void 0,i(t,e,n),o=r}s&&s.call(this,t,e,n)},yn.shouldComponentUpdate=i}return r.__N||r.__}function Wn(t,e){var n=Mn(mn++,3);!Sn.__s&&Gn(n.__H,e)&&(n.__=t,n.i=e,yn.__H.__h.push(n))}function Dn(t,e){var n=Mn(mn++,4);!Sn.__s&&Gn(n.__H,e)&&(n.__=t,n.i=e,yn.__h.push(n))}function Nn(t){return kn=5,Un((function(){return{current:t}}),[])}function Ln(t,e,n){kn=6,Dn((function(){return"function"==typeof t?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0}),null==n?n:n.concat(t))}function Un(t,e){var n=Mn(mn++,7);return Gn(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function $n(t,e){return kn=8,Un((function(){return t}),e)}function qn(t){var e=yn.context[t.__c],n=Mn(mn++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(yn)),e.props.value):t.__}function Hn(t,e){Sn.useDebugValue&&Sn.useDebugValue(e?e(t):t)}function In(){var t=Mn(mn++,11);if(!t.__){for(var e=yn.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function jn(){for(var t;t=xn.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Bn),t.__H.__h.forEach(Kn),t.__H.__h=[]}catch(e){t.__H.__h=[],Sn.__e(e,t.__v)}}Sn.__b=function(t){yn=null,Cn&&Cn(t)},Sn.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),An&&An(t,e)},Sn.__r=function(t){On&&On(t),mn=0;var e=(yn=t.__c).__H;e&&(vn===yn?(e.__h=[],yn.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.i=t.__N=void 0}))):(e.__h.forEach(Bn),e.__h.forEach(Kn),e.__h=[],mn=0)),vn=yn},Sn.diffed=function(t){Pn&&Pn(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==xn.push(e)&&gn===Sn.requestAnimationFrame||((gn=Sn.requestAnimationFrame)||Qn)(jn)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.i=void 0}))),vn=yn=null},Sn.__c=function(t,e){e.some((function(t){try{t.__h.forEach(Bn),t.__h=t.__h.filter((function(t){return!t.__||Kn(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],Sn.__e(n,t.__v)}})),En&&En(t,e)},Sn.unmount=function(t){Rn&&Rn(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{Bn(t)}catch(n){e=n}})),n.__H=void 0,e&&Sn.__e(e,n.__v))};var zn="function"==typeof requestAnimationFrame;function Qn(t){var e,n=function(){clearTimeout(r),zn&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);zn&&(e=requestAnimationFrame(n))}function Bn(t){var e=yn,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),yn=e}function Kn(t){var e=yn;t.__c=t.__(),yn=e}function Gn(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function Vn(t,e){return"function"==typeof e?e(t):e}function Xn(t,e){for(var n in e)t[n]=e[n];return t}function Yn(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var r in e)if("__source"!==r&&t[r]!==e[r])return!0;return!1}function Zn(t,e){this.props=t,this.context=e}function Jn(t,e){function n(t){var n=this.props.ref,r=n==t.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!r:Yn(this.props,t)}function r(e){return this.shouldComponentUpdate=n,Nt(t,e)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Zn.prototype=new qt).isPureReactComponent=!0,Zn.prototype.shouldComponentUpdate=function(t,e){return Yn(this.props,t)||Yn(this.state,e)};var tr=bt.__b;bt.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),tr&&tr(t)};var er="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function nr(t){function e(e){var n=Xn({},e);return delete n.ref,t(n,e.ref||null)}return e.$$typeof=er,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var rr=function(t,e){return null==t?null:Kt(Kt(t).map(e))},ir={map:rr,forEach:rr,count:function(t){return t?Kt(t).length:0},only:function(t){var e=Kt(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:Kt},or=bt.__e;bt.__e=function(t,e,n,r){if(t.then)for(var i,o=e;o=o.__;)if((i=o.__c)&&i.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),i.__c(t,e);or(t,e,n,r)};var sr=bt.unmount;function ar(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),t.__c.__H=null),null!=(t=Xn({},t)).__c&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return ar(t,e,n)}))),t}function lr(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return lr(t,e,n)})),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function cr(){this.__u=0,this.t=null,this.__b=null}function ur(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function dr(t){var e,n,r;function i(i){if(e||(e=t()).then((function(t){n=t.default||t}),(function(t){r=t})),r)throw r;if(!n)throw e;return Nt(n,i)}return i.displayName="Lazy",i.__f=!0,i}function hr(){this.u=null,this.o=null}bt.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),sr&&sr(t)},(cr.prototype=new qt).__c=function(t,e){var n=e.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ur(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var t=r.state.__a;r.__v.__k[0]=lr(t,t.__c.__P,t.__c.__O)}var e;for(r.setState({__a:r.__b=null});e=r.t.pop();)e.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(s,s)},cr.prototype.componentWillUnmount=function(){this.t=[]},cr.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=ar(this.__b,n,r.__O=r.__P)}this.__b=null}var i=e.__a&&Nt($t,null,t.fallback);return i&&(i.__u&=-33),[Nt($t,null,e.__a?null:t.children),i]};var fr=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function pr(t){return this.getChildContext=function(){return t.context},t.children}function _r(t){var e=this,n=t.i;e.componentWillUnmount=function(){re(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(t){this.childNodes.push(t),e.i.appendChild(t)},insertBefore:function(t,n){this.childNodes.push(t),e.i.appendChild(t)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.i.removeChild(t)}}),re(Nt(pr,{context:e.context},t.__v),e.l)}function mr(t,e){var n=Nt(_r,{__v:t,i:e});return n.containerInfo=e,n}(hr.prototype=new qt).__a=function(t){var e=this,n=ur(e.__v),r=e.o.get(t);return r[0]++,function(i){var o=function(){e.props.revealOrder?(r.push(i),fr(e,t,r)):i()};n?n(o):o()}},hr.prototype.render=function(t){this.u=null,this.o=new Map;var e=Kt(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},hr.prototype.componentDidUpdate=hr.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(e,n){fr(t,n,e)}))};var yr="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,vr=/^(?: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]/,gr=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,br=/[A-Z0-9]/g,wr="undefined"!=typeof document,kr=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(t)};function xr(t,e,n){return null==e.__k&&(e.textContent=""),re(t,e),"function"==typeof n&&n(),t?t.__c:null}function Sr(t,e,n){return ie(t,e),"function"==typeof n&&n(),t?t.__c:null}qt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(qt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var Cr=bt.event;function Or(){}function Pr(){return this.cancelBubble}function Er(){return this.defaultPrevented}bt.event=function(t){return Cr&&(t=Cr(t)),t.persist=Or,t.isPropagationStopped=Pr,t.isDefaultPrevented=Er,t.nativeEvent=t};var Rr,Ar={enumerable:!1,configurable:!0,get:function(){return this.class}},Mr=bt.vnode;bt.vnode=function(t){"string"==typeof t.type&&function(t){var e=t.props,n=t.type,r={},i=-1===n.indexOf("-");for(var o in e){var s=e[o];if(!("value"===o&&"defaultValue"in e&&null==s||wr&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var a=o.toLowerCase();"defaultValue"===o&&"value"in e&&null==e.value?o="value":"download"===o&&!0===s?s="":"translate"===a&&"no"===s?s=!1:"o"===a[0]&&"n"===a[1]?"ondoubleclick"===a?o="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||kr(e.type)?"onfocus"===a?o="onfocusin":"onblur"===a?o="onfocusout":gr.test(o)&&(o=a):a=o="oninput":i&&vr.test(o)?o=o.replace(br,"-$&").toLowerCase():null===s&&(s=void 0),"oninput"===a&&r[o=a]&&(o="oninputCapture"),r[o]=s}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=Kt(e.children).forEach((function(t){t.props.selected=-1!=r.value.indexOf(t.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=Kt(e.children).forEach((function(t){t.props.selected=r.multiple?-1!=r.defaultValue.indexOf(t.props.value):r.defaultValue==t.props.value}))),e.class&&!e.className?(r.class=e.class,Object.defineProperty(r,"className",Ar)):(e.className&&!e.class||e.class&&e.className)&&(r.class=r.className=e.className),t.props=r}(t),t.$$typeof=yr,Mr&&Mr(t)};var Tr=bt.__r;bt.__r=function(t){Tr&&Tr(t),Rr=t.__c};var Fr=bt.diffed;bt.diffed=function(t){Fr&&Fr(t);var e=t.props,n=t.__e;null!=n&&"textarea"===t.type&&"value"in e&&e.value!==n.value&&(n.value=null==e.value?"":e.value),Rr=null};var Wr={ReactCurrentDispatcher:{current:{readContext:function(t){return Rr.__n[t.__c].props.value},useCallback:$n,useContext:qn,useDebugValue:Hn,useDeferredValue:Br,useEffect:Wn,useId:In,useImperativeHandle:Ln,useInsertionEffect:Gr,useLayoutEffect:Dn,useMemo:Un,useReducer:Fn,useRef:Nn,useState:Tn,useSyncExternalStore:Xr,useTransition:Kr}}};function Dr(t){return Nt.bind(null,t)}function Nr(t){return!!t&&t.$$typeof===yr}function Lr(t){return Nr(t)&&t.type===$t}function Ur(t){return!!t&&!!t.displayName&&("string"==typeof t.displayName||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function $r(t){return Nr(t)?oe.apply(null,arguments):t}function qr(t){return!!t.__k&&(re(null,t),!0)}function Hr(t){return t&&(t.base||1===t.nodeType&&t)||null}var Ir=function(t,e){return t(e)},jr=function(t,e){return t(e)},zr=$t;function Qr(t){t()}function Br(t){return t}function Kr(){return[!1,Qr]}var Gr=Dn,Vr=Nr;function Xr(t,e){var n=e(),r=Tn({h:{__:n,v:e}}),i=r[0].h,o=r[1];return Dn((function(){i.__=n,i.v=e,Yr(i)&&o({h:i})}),[t,n,e]),Wn((function(){return Yr(i)&&o({h:i}),t((function(){Yr(i)&&o({h:i})}))}),[t]),n}function Yr(t){var e,n,r=t.v,i=t.__;try{var o=r();return!((e=i)===(n=o)&&(0!==e||1/e==1/n)||e!=e&&n!=n)}catch(s){return!0}}var Zr={useState:Tn,useId:In,useReducer:Fn,useEffect:Wn,useLayoutEffect:Dn,useInsertionEffect:Gr,useTransition:Kr,useDeferredValue:Br,useSyncExternalStore:Xr,startTransition:Qr,useRef:Nn,useImperativeHandle:Ln,useMemo:Un,useCallback:$n,useContext:qn,useDebugValue:Hn,version:"17.0.2",Children:ir,render:xr,hydrate:Sr,unmountComponentAtNode:qr,createPortal:mr,createElement:Nt,createContext:se,createFactory:Dr,cloneElement:$r,createRef:Ut,Fragment:$t,isValidElement:Nr,isElement:Vr,isFragment:Lr,isMemo:Ur,findDOMNode:Hr,Component:qt,PureComponent:Zn,memo:Jn,forwardRef:nr,flushSync:jr,unstable_batchedUpdates:Ir,StrictMode:zr,Suspense:cr,SuspenseList:hr,lazy:dr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Wr};const Jr=Object.freeze(Object.defineProperty({__proto__:null,Children:ir,Component:qt,Fragment:$t,PureComponent:Zn,StrictMode:zr,Suspense:cr,SuspenseList:hr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Wr,cloneElement:$r,createContext:se,createElement:Nt,createFactory:Dr,createPortal:mr,createRef:Ut,default:Zr,findDOMNode:Hr,flushSync:jr,forwardRef:nr,hydrate:Sr,isElement:Vr,isFragment:Lr,isMemo:Ur,isValidElement:Nr,lazy:dr,memo:Jn,render:xr,startTransition:Qr,unmountComponentAtNode:qr,unstable_batchedUpdates:Ir,useCallback:$n,useContext:qn,useDebugValue:Hn,useDeferredValue:Br,useEffect:Wn,useErrorBoundary:function(t){var e=Mn(mn++,10),n=Tn();return e.__=t,yn.componentDidCatch||(yn.componentDidCatch=function(t,r){e.__&&e.__(t,r),n[1](t)}),[n[0],function(){n[1](void 0)}]},useId:In,useImperativeHandle:Ln,useInsertionEffect:Gr,useLayoutEffect:Dn,useMemo:Un,useReducer:Fn,useRef:Nn,useState:Tn,useSyncExternalStore:Xr,useTransition:Kr,version:"17.0.2"},Symbol.toStringTag,{value:"Module"}));function ti(){return ti=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ti.apply(null,arguments)}var ei={exports:{}},ni={},ri="function"==typeof Symbol&&Symbol.for,ii=ri?Symbol.for("react.element"):60103,oi=ri?Symbol.for("react.portal"):60106,si=ri?Symbol.for("react.fragment"):60107,ai=ri?Symbol.for("react.strict_mode"):60108,li=ri?Symbol.for("react.profiler"):60114,ci=ri?Symbol.for("react.provider"):60109,ui=ri?Symbol.for("react.context"):60110,di=ri?Symbol.for("react.async_mode"):60111,hi=ri?Symbol.for("react.concurrent_mode"):60111,fi=ri?Symbol.for("react.forward_ref"):60112,pi=ri?Symbol.for("react.suspense"):60113,_i=ri?Symbol.for("react.suspense_list"):60120,mi=ri?Symbol.for("react.memo"):60115,yi=ri?Symbol.for("react.lazy"):60116,vi=ri?Symbol.for("react.block"):60121,gi=ri?Symbol.for("react.fundamental"):60117,bi=ri?Symbol.for("react.responder"):60118,wi=ri?Symbol.for("react.scope"):60119;function ki(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case ii:switch(t=t.type){case di:case hi:case si:case li:case ai:case pi:return t;default:switch(t=t&&t.$$typeof){case ui:case fi:case yi:case mi:case ci:return t;default:return e}}case oi:return e}}}function xi(t){return ki(t)===hi}ni.AsyncMode=di,ni.ConcurrentMode=hi,ni.ContextConsumer=ui,ni.ContextProvider=ci,ni.Element=ii,ni.ForwardRef=fi,ni.Fragment=si,ni.Lazy=yi,ni.Memo=mi,ni.Portal=oi,ni.Profiler=li,ni.StrictMode=ai,ni.Suspense=pi,ni.isAsyncMode=function(t){return xi(t)||ki(t)===di},ni.isConcurrentMode=xi,ni.isContextConsumer=function(t){return ki(t)===ui},ni.isContextProvider=function(t){return ki(t)===ci},ni.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===ii},ni.isForwardRef=function(t){return ki(t)===fi},ni.isFragment=function(t){return ki(t)===si},ni.isLazy=function(t){return ki(t)===yi},ni.isMemo=function(t){return ki(t)===mi},ni.isPortal=function(t){return ki(t)===oi},ni.isProfiler=function(t){return ki(t)===li},ni.isStrictMode=function(t){return ki(t)===ai},ni.isSuspense=function(t){return ki(t)===pi},ni.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===si||t===hi||t===li||t===ai||t===pi||t===_i||"object"==typeof t&&null!==t&&(t.$$typeof===yi||t.$$typeof===mi||t.$$typeof===ci||t.$$typeof===ui||t.$$typeof===fi||t.$$typeof===gi||t.$$typeof===bi||t.$$typeof===wi||t.$$typeof===vi)},ni.typeOf=ki,ei.exports=ni;var Si=ei.exports,Ci={};Ci[Si.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ci[Si.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};function Oi(t,e,n){var r="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "})),r}var Pi=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},Ei=function(t,e,n){Pi(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+r:"",i,t.sheet,!0),i=i.next}while(void 0!==i)}};var Ri={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,scale: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},Ai=!1,Mi=/[A-Z]|^ms/g,Ti=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fi=function(t){return 45===t.charCodeAt(1)},Wi=function(t){return null!=t&&"boolean"!=typeof t},Di=cn((function(t){return Fi(t)?t:t.replace(Mi,"-$&").toLowerCase()})),Ni=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(Ti,(function(t,e,n){return $i={name:e,styles:n,next:$i},e}))}return 1===Ri[t]||Fi(t)||"number"!=typeof e||0===e?e:e+"px"},Li="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ui(t,e,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return $i={name:i.name,styles:i.styles,next:$i},i.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)$i={name:s.name,styles:s.styles,next:$i},s=s.next;return o.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ui(t,e,n[i])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;null!=e&&void 0!==e[a]?r+=o+"{"+e[a]+"}":Wi(a)&&(r+=Di(o)+":"+Ni(o,a)+";")}else{if("NO_COMPONENT_SELECTOR"===o&&Ai)throw new Error(Li);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=e&&void 0!==e[s[0]]){var l=Ui(t,e,s);switch(o){case"animation":case"animationName":r+=Di(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}else for(var c=0;c<s.length;c++)Wi(s[c])&&(r+=Di(o)+":"+Ni(o,s[c])+";")}}return r}(t,e,n);case"function":if(void 0!==t){var a=$i,l=n(t);return $i=a,Ui(t,e,l)}}var c=n;if(null==e)return c;var u=e[c];return void 0!==u?u:c}var $i,qi=/label:\s*([^\s;\n{]+)\s*(;|$)/g;function Hi(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var r=!0,i="";$i=void 0;var o=t[0];null==o||void 0===o.raw?(r=!1,i+=Ui(n,e,o)):i+=o[0];for(var s=1;s<t.length;s++){if(i+=Ui(n,e,t[s]),r)i+=o[s]}qi.lastIndex=0;for(var a,l="";null!==(a=qi.exec(i));)l+="-"+a[1];var c=function(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:$i}}var Ii=!!Jr.useInsertionEffect&&Jr.useInsertionEffect,ji=Ii||function(t){return t()},zi=Ii||Dn,Qi=se("undefined"!=typeof HTMLElement?wn({key:"css"}):null),Bi=Qi.Provider,Ki=function(t){return nr((function(e,n){var r=qn(Qi);return t(e,r,n)}))},Gi=se({}),Vi={}.hasOwnProperty,Xi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yi=function(t,e){var n={};for(var r in e)Vi.call(e,r)&&(n[r]=e[r]);return n[Xi]=t,n},Zi=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return Pi(e,n,r),ji((function(){return Ei(e,n,r)})),null},Ji=Ki((function(t,e,n){var r=t.css;"string"==typeof r&&void 0!==e.registered[r]&&(r=e.registered[r]);var i=t[Xi],o=[r],s="";"string"==typeof t.className?s=Oi(e.registered,o,t.className):null!=t.className&&(s=t.className+" ");var a=Hi(o,void 0,qn(Gi));s+=e.key+"-"+a.name;var l={};for(var c in t)Vi.call(t,c)&&"css"!==c&&c!==Xi&&(l[c]=t[c]);return l.className=s,n&&(l.ref=n),Nt($t,null,Nt(Zi,{cache:e,serialized:a,isStringTag:"string"==typeof i}),Nt(i,l))})),to=Ki((function(t,e){var n=Hi([t.styles],void 0,qn(Gi)),r=Nn();return zi((function(){var t=e.key+"-global",i=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),o=!1,s=document.querySelector('style[data-emotion="'+t+" "+n.name+'"]');return e.sheet.tags.length&&(i.before=e.sheet.tags[0]),null!==s&&(o=!0,s.setAttribute("data-emotion",t),i.hydrate([s])),r.current=[i,o],function(){i.flush()}}),[e]),zi((function(){var t=r.current,i=t[0];if(t[1])t[1]=!1;else{if(void 0!==n.next&&Ei(e,n.next,!0),i.tags.length){var o=i.tags[i.tags.length-1].nextElementSibling;i.before=o,i.flush()}e.insert("",n,i,!1)}}),[e,n.name]),null}));function eo(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Hi(e)}var no=0;function ro(t,e,n,r,i,o){e||(e={});var s,a,l=e;if("ref"in l)for(a in l={},e)"ref"==a?s=e[a]:l[a]=e[a];var c={type:t,props:l,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--no,__i:-1,__u:0,__source:i,__self:o};if("function"==typeof t&&(s=t.defaultProps))for(a in s)void 0===l[a]&&(l[a]=s[a]);return bt.vnode&&bt.vnode(c),c}var io=$t;function oo(t,e,n){return Vi.call(e,"css")?ro(Ji,Yi(t,e),n):ro(t,e,n)}function so(t,e,n){return Vi.call(e,"css")?ro(Ji,Yi(t,e),n):ro(t,e,n)}const ao=eo({body:{WebkitTapHighlightColor:"#a855f7",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},":host":{"--fl-color-primary-900":"#000563","--fl-color-primary-800":"#031495","--fl-color-primary-700":"#1033c6","--fl-color-primary-600":"#2e66f7","--fl-color-primary-500":"#5786f8","--fl-color-primary-400":"#88abfa","--fl-color-primary-300":"#b5cbfb","--fl-color-primary-200":"#d6e2fc","--fl-color-primary-100":"#eaf0fe","--fl-color-primary-50":"#f2f6ff","--kit-font-family":"Inter, 'Source Sans Pro', sans-serif",fontFamily:"Inter, 'Source Sans Pro', sans-serif"}}),lo=()=>so($t,{children:[oo(to,{styles:eo`
2
2
  ${{"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"#e5e7eb","--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":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-scroll-snap-strictness":"proximity","--tw-gradient-from-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-via-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-to-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)","--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-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":"rgb(59 130 246 / 0.5)","--tw-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-drop-shadow":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-opacity":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-size":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-layout":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-paint":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-style":"var(--tw-empty,/*!*/ /*!*/)"},"::before, ::after":{"--tw-content":"''"},"html, :host":{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:"4",fontFamily:'Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontFeatureSettings:" normal",fontVariationSettings:" normal",WebkitTapHighlightColor:"transparent"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontFamily:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',fontFeatureSettings:" normal",fontVariationSettings:" normal",fontSize:"1em"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button, input, optgroup, select, textarea":{fontFamily:"inherit",fontFeatureSettings:"inherit",fontVariationSettings:"inherit",fontSize:"100%",fontWeight:"inherit",lineHeight:"inherit",letterSpacing:"inherit",color:"inherit",margin:"0",padding:"0"},"button, select":{textTransform:"none"},"button, input:where([type='button']), input:where([type='reset']), input:where([type='submit'])":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button, ::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"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":{listStyle:"none",margin:"0",padding:"0"},dialog:{padding:"0"},textarea:{resize:"vertical"},"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",verticalAlign:"middle"},"img, video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"},"::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":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-scroll-snap-strictness":"proximity","--tw-gradient-from-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-via-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-to-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)","--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-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":"rgb(59 130 246 / 0.5)","--tw-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-drop-shadow":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-opacity":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-size":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-layout":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-paint":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-style":"var(--tw-empty,/*!*/ /*!*/)"},"[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select":{appearance:"none",backgroundColor:"#fff",borderColor:"#6b7280",borderWidth:"1px",borderRadius:"0px",paddingTop:"0.5rem",paddingRight:"0.75rem",paddingBottom:"0.5rem",paddingLeft:"0.75rem",fontSize:"1rem",lineHeight:"1.5rem","--tw-shadow":"0 0 #0000"},"[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":"#2563eb","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)",borderColor:"#2563eb"},"input::placeholder,textarea::placeholder":{color:"#6b7280",opacity:"1"},"::-webkit-datetime-edit-fields-wrapper":{padding:"0"},"::-webkit-date-and-time-value":{minHeight:"1.5em",textAlign:"inherit"},"::-webkit-datetime-edit":{display:"inline-flex"},"::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field":{paddingTop:"0",paddingBottom:"0"},select:{backgroundImage:"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\")",backgroundPosition:"right 0.5rem center",backgroundRepeat:"no-repeat",backgroundSize:"1.5em 1.5em",paddingRight:"2.5rem",printColorAdjust:"exact"},'[multiple],[size]:where(select:not([size="1"]))':{backgroundImage:"initial",backgroundPosition:"initial",backgroundRepeat:"unset",backgroundSize:"initial",paddingRight:"0.75rem",printColorAdjust:"unset"},"[type='checkbox'],[type='radio']":{appearance:"none",padding:"0",printColorAdjust:"exact",display:"inline-block",verticalAlign:"middle",backgroundOrigin:"border-box",userSelect:"none",flexShrink:"0",height:"1rem",width:"1rem",color:"#2563eb",backgroundColor:"#fff",borderColor:"#6b7280",borderWidth:"1px","--tw-shadow":"0 0 #0000"},"[type='checkbox']":{borderRadius:"0px"},"[type='radio']":{borderRadius:"100%"},"[type='checkbox']:focus,[type='radio']:focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":"#2563eb","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"},"[type='checkbox']:checked,[type='radio']:checked":{borderColor:"transparent",backgroundColor:"currentColor",backgroundSize:"100% 100%",backgroundPosition:"center",backgroundRepeat:"no-repeat"},"[type='checkbox']:checked":{backgroundImage:"url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e\")"},"@media (forced-colors: active)":{"[type='checkbox']:checked":{appearance:"auto"},"[type='radio']:checked":{appearance:"auto"},"[type='checkbox']:indeterminate":{appearance:"auto"}},"[type='radio']:checked":{backgroundImage:"url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e\")"},"[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus":{borderColor:"transparent",backgroundColor:"currentColor"},"[type='checkbox']:indeterminate":{backgroundImage:"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e\")",borderColor:"transparent",backgroundColor:"currentColor",backgroundSize:"100% 100%",backgroundPosition:"center",backgroundRepeat:"no-repeat"},"[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus":{borderColor:"transparent",backgroundColor:"currentColor"},"[type='file']":{background:"unset",borderColor:"inherit",borderWidth:"0",borderRadius:"0",padding:"0",fontSize:"unset",lineHeight:"inherit"},"[type='file']:focus":{outline:"1px auto -webkit-focus-ring-color"}}}
3
- `}),Ur(zr,{styles:Dr})]}),Vr=qt((()=>function(t,n){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),o=(null==t?void 0:t.nonce)||(null==t?void 0:t.getAttribute("nonce"));r=Promise.all(n.map((t=>{if((t=function(e){return"/"+e}(t))in e)return;e[t]=!0;const n=t.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${r}`))return;const i=document.createElement("link");return i.rel=n?"stylesheet":"modulepreload",n||(i.as="script"),i.crossOrigin="",i.href=t,o&&i.setAttribute("nonce",o),document.head.appendChild(i),n?new Promise(((e,n)=>{i.addEventListener("load",e),i.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0})))}return r.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}((()=>import("./assets/app-DtcLxUcr.js")),[])));!function(e,t,n,r){function o(){var t=Reflect.construct(HTMLElement,[],o);return t._vdomComponent=e,t._root=r&&r.shadow?t.attachShadow({mode:r.mode||"open"}):t,t}(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=q,o.prototype.attributeChangedCallback=Y,o.prototype.disconnectedCallback=Z,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach((function(e){Object.defineProperty(o.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var n=typeof t;null!=t&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(e,t)}})})),customElements.define(t,o)}((()=>{const e=vt(null),{EmotionProvider:t}=((e,t)=>{const[n,r]=pt();return ht((()=>{if(t&&t.current){const n=t=>{document.getElementsByTagName(e).length>0?t():requestAnimationFrame((()=>n(t)))};n((()=>{r(nt({container:t.current,key:e}))}))}}),[e,t]),{EmotionProvider:({children:e})=>n?Ur(Pr,{value:n,children:e}):Ur(Wr,{})}})("promoted-benefits-admin",e);return Fr(Wr,{children:[Ur("head",{ref:e}),Fr(t,{children:[Ur(jr,{}),Ur("body",{children:Ur(Vt,{fallback:Ur(Wr,{children:"Loading..."}),children:Ur(Vr,{})})})]})]})}),"promoted-benefits-admin",["backend-url","access-token"],{shadow:!0});export{Nr as T,y as _,cr as g,sr as i,Ur as j,b as k,Ve as m,ur as r,kr as s,Sr as u,$r as w,bt as x};
3
+ `}),oo(to,{styles:ao})]});let co;class uo extends Error{constructor(t,e){super(t),ht(this,"response"),this.response=e}}const ho=t=>async()=>(async(t,e,n,r,i)=>{const o=await fetch(t,{method:n,body:void 0,headers:{"content-type":"application/json","x-app-version":"0.3.1294",authorization:`Bearer ${e}`},signal:(null==AbortSignal?void 0:AbortSignal.timeout)&&AbortSignal.timeout(15e3)});if(!o.ok)throw new uo(`[API] Fetch error: ${o.statusText}. Url: ${n} ${t}`,o);return i?{}:await o.json()})(new URL(`${t.url}/promoted-benefits/admin/v1.0/promotion`),t.accessToken,"GET"),fo=()=>{const t=qn(co);return{getAllPromotions:ho(t.backend)}};var po=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},_o="undefined"==typeof window||"Deno"in globalThis;function mo(){}function yo(t){return"number"==typeof t&&t>=0&&t!==1/0}function vo(t,e){return Math.max(t+(e||0)-Date.now(),0)}function go(t,e){return"function"==typeof t?t(e):t}function bo(t,e){return"function"==typeof t?t(e):t}function wo(t,e){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=t;if(s)if(r){if(e.queryHash!==xo(s,e.options))return!1}else if(!Co(e.queryKey,s))return!1;if("all"!==n){const t=e.isActive();if("active"===n&&!t)return!1;if("inactive"===n&&t)return!1}return("boolean"!=typeof a||e.isStale()===a)&&((!i||i===e.state.fetchStatus)&&!(o&&!o(e)))}function ko(t,e){const{exact:n,status:r,predicate:i,mutationKey:o}=t;if(o){if(!e.options.mutationKey)return!1;if(n){if(So(e.options.mutationKey)!==So(o))return!1}else if(!Co(e.options.mutationKey,o))return!1}return(!r||e.state.status===r)&&!(i&&!i(e))}function xo(t,e){return((null==e?void 0:e.queryKeyHashFn)||So)(t)}function So(t){return JSON.stringify(t,((t,e)=>Ro(e)?Object.keys(e).sort().reduce(((t,n)=>(t[n]=e[n],t)),{}):e))}function Co(t,e){return t===e||typeof t==typeof e&&(!(!t||!e||"object"!=typeof t||"object"!=typeof e)&&!Object.keys(e).some((n=>!Co(t[n],e[n]))))}function Oo(t,e){if(t===e)return t;const n=Eo(t)&&Eo(e);if(n||Ro(t)&&Ro(e)){const r=n?t:Object.keys(t),i=r.length,o=n?e:Object.keys(e),s=o.length,a=n?[]:{};let l=0;for(let c=0;c<s;c++){const i=n?c:o[c];(!n&&r.includes(i)||n)&&void 0===t[i]&&void 0===e[i]?(a[i]=void 0,l++):(a[i]=Oo(t[i],e[i]),a[i]===t[i]&&void 0!==t[i]&&l++)}return i===s&&l===i?t:a}return e}function Po(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function Eo(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Ro(t){if(!Ao(t))return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!!Ao(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(t)===Object.prototype)}function Ao(t){return"[object Object]"===Object.prototype.toString.call(t)}function Mo(t,e,n){return"function"==typeof n.structuralSharing?n.structuralSharing(t,e):!1!==n.structuralSharing?Oo(t,e):e}function To(t,e,n=0){const r=[...t,e];return n&&r.length>n?r.slice(1):r}function Fo(t,e,n=0){const r=[e,...t];return n&&r.length>n?r.slice(0,-1):r}var Wo=Symbol();function Do(t,e){return!t.queryFn&&(null==e?void 0:e.initialPromise)?()=>e.initialPromise:t.queryFn&&t.queryFn!==Wo?t.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`))}var No=new(r=class extends po{constructor(){super(),_t(this,t),_t(this,e),_t(this,n),mt(this,n,(t=>{if(!_o&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}))}onSubscribe(){pt(this,e)||this.setEventListener(pt(this,n))}onUnsubscribe(){var t;this.hasListeners()||(null==(t=pt(this,e))||t.call(this),mt(this,e,void 0))}setEventListener(t){var r;mt(this,n,t),null==(r=pt(this,e))||r.call(this),mt(this,e,t((t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})))}setFocused(e){pt(this,t)!==e&&(mt(this,t,e),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach((e=>{e(t)}))}isFocused(){var e;return"boolean"==typeof pt(this,t)?pt(this,t):"hidden"!==(null==(e=globalThis.document)?void 0:e.visibilityState)}},t=new WeakMap,e=new WeakMap,n=new WeakMap,r),Lo=new(a=class extends po{constructor(){super(),_t(this,i,!0),_t(this,o),_t(this,s),mt(this,s,(t=>{if(!_o&&window.addEventListener){const e=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",n)}}}))}onSubscribe(){pt(this,o)||this.setEventListener(pt(this,s))}onUnsubscribe(){var t;this.hasListeners()||(null==(t=pt(this,o))||t.call(this),mt(this,o,void 0))}setEventListener(t){var e;mt(this,s,t),null==(e=pt(this,o))||e.call(this),mt(this,o,t(this.setOnline.bind(this)))}setOnline(t){pt(this,i)!==t&&(mt(this,i,t),this.listeners.forEach((e=>{e(t)})))}isOnline(){return pt(this,i)}},i=new WeakMap,o=new WeakMap,s=new WeakMap,a);function Uo(t){return Math.min(1e3*2**t,3e4)}function $o(t){return"online"!==(t??"online")||Lo.isOnline()}var qo=class extends Error{constructor(t){super("CancelledError"),this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}};function Ho(t){return t instanceof qo}function Io(t){let e,n,r,i=!1,o=0,s=!1;const a=new Promise(((t,e)=>{n=t,r=e})),l=()=>No.isFocused()&&("always"===t.networkMode||Lo.isOnline())&&t.canRun(),c=()=>$o(t.networkMode)&&t.canRun(),u=r=>{var i;s||(s=!0,null==(i=t.onSuccess)||i.call(t,r),null==e||e(),n(r))},d=n=>{var i;s||(s=!0,null==(i=t.onError)||i.call(t,n),null==e||e(),r(n))},h=()=>new Promise((n=>{var r;e=t=>{(s||l())&&n(t)},null==(r=t.onPause)||r.call(t)})).then((()=>{var n;e=void 0,s||null==(n=t.onContinue)||n.call(t)})),f=()=>{if(s)return;let e;const n=0===o?t.initialPromise:void 0;try{e=n??t.fn()}catch(r){e=Promise.reject(r)}Promise.resolve(e).then(u).catch((e=>{var n;if(s)return;const r=t.retry??(_o?0:3),a=t.retryDelay??Uo,c="function"==typeof a?a(o,e):a,u=!0===r||"number"==typeof r&&o<r||"function"==typeof r&&r(o,e);var p;!i&&u?(o++,null==(n=t.onFail)||n.call(t,o,e),(p=c,new Promise((t=>{setTimeout(t,p)}))).then((()=>l()?void 0:h())).then((()=>{i?d(e):f()}))):d(e)}))};return{promise:a,cancel:e=>{var n;s||(d(new qo(e)),null==(n=t.abort)||n.call(t))},continue:()=>(null==e||e(),a),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:c,start:()=>(c()?f():h().then(f),a)}}var jo=function(){let t=[],e=0,n=t=>{t()},r=t=>{t()},i=t=>setTimeout(t,0);const o=r=>{e?t.push(r):i((()=>{n(r)}))};return{batch:o=>{let s;e++;try{s=o()}finally{e--,e||(()=>{const e=t;t=[],e.length&&i((()=>{r((()=>{e.forEach((t=>{n(t)}))}))}))})()}return s},batchCalls:t=>(...e)=>{o((()=>{t(...e)}))},schedule:o,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{i=t}}}(),zo=(c=class{constructor(){_t(this,l)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),yo(this.gcTime)&&mt(this,l,setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(_o?1/0:3e5))}clearGcTimeout(){pt(this,l)&&(clearTimeout(pt(this,l)),mt(this,l,void 0))}},l=new WeakMap,c),Qo=(v=class extends zo{constructor(t){super(),_t(this,m),_t(this,u),_t(this,d),_t(this,h),_t(this,f),_t(this,p),_t(this,_),mt(this,_,!1),mt(this,p,t.defaultOptions),this.setOptions(t.options),this.observers=[],mt(this,h,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,mt(this,u,function(t){const e="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==e,r=n?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=t.state??pt(this,u),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return null==(t=pt(this,f))?void 0:t.promise}setOptions(t){this.options={...pt(this,p),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||pt(this,h).remove(this)}setData(t,e){const n=Mo(this.state.data,t,this.options);return yt(this,m,y).call(this,{data:n,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),n}setState(t,e){yt(this,m,y).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var e,n;const r=null==(e=pt(this,f))?void 0:e.promise;return null==(n=pt(this,f))||n.cancel(t),r?r.then(mo).catch(mo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(pt(this,u))}isActive(){return this.observers.some((t=>!1!==bo(t.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((t=>t.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!vo(this.state.dataUpdatedAt,t)}onFocus(){var t;const e=this.observers.find((t=>t.shouldFetchOnWindowFocus()));null==e||e.refetch({cancelRefetch:!1}),null==(t=pt(this,f))||t.continue()}onOnline(){var t;const e=this.observers.find((t=>t.shouldFetchOnReconnect()));null==e||e.refetch({cancelRefetch:!1}),null==(t=pt(this,f))||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),pt(this,h).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter((e=>e!==t)),this.observers.length||(pt(this,f)&&(pt(this,_)?pt(this,f).cancel({revert:!0}):pt(this,f).cancelRetry()),this.scheduleGc()),pt(this,h).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||yt(this,m,y).call(this,{type:"invalidate"})}fetch(t,e){var n,r,i;if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&(null==e?void 0:e.cancelRefetch))this.cancel({silent:!0});else if(pt(this,f))return pt(this,f).continueRetry(),pt(this,f).promise;if(t&&this.setOptions(t),!this.options.queryFn){const t=this.observers.find((t=>t.options.queryFn));t&&this.setOptions(t.options)}const o=new AbortController,s=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(mt(this,_,!0),o.signal)})},a={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const t=Do(this.options,e),n={queryKey:this.queryKey,meta:this.meta};return s(n),mt(this,_,!1),this.options.persister?this.options.persister(t,n,this):t(n)}};s(a),null==(n=this.options.behavior)||n.onFetch(a,this),mt(this,d,this.state),"idle"!==this.state.fetchStatus&&this.state.fetchMeta===(null==(r=a.fetchOptions)?void 0:r.meta)||yt(this,m,y).call(this,{type:"fetch",meta:null==(i=a.fetchOptions)?void 0:i.meta});const l=t=>{var e,n,r,i;Ho(t)&&t.silent||yt(this,m,y).call(this,{type:"error",error:t}),Ho(t)||(null==(n=(e=pt(this,h).config).onError)||n.call(e,t,this),null==(i=(r=pt(this,h).config).onSettled)||i.call(r,this.state.data,t,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return mt(this,f,Io({initialPromise:null==e?void 0:e.initialPromise,fn:a.fetchFn,abort:o.abort.bind(o),onSuccess:t=>{var e,n,r,i;if(void 0!==t){try{this.setData(t)}catch(o){return void l(o)}null==(n=(e=pt(this,h).config).onSuccess)||n.call(e,t,this),null==(i=(r=pt(this,h).config).onSettled)||i.call(r,t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1}else l(new Error(`${this.queryHash} data is undefined`))},onError:l,onFail:(t,e)=>{yt(this,m,y).call(this,{type:"failed",failureCount:t,error:e})},onPause:()=>{yt(this,m,y).call(this,{type:"pause"})},onContinue:()=>{yt(this,m,y).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),pt(this,f).start()}},u=new WeakMap,d=new WeakMap,h=new WeakMap,f=new WeakMap,p=new WeakMap,_=new WeakMap,m=new WeakSet,y=function(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...Bo(e.data,this.options),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return Ho(n)&&n.revert&&pt(this,d)?{...pt(this,d),fetchStatus:"idle"}:{...e,error:n,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),jo.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate()})),pt(this,h).notify({query:this,type:"updated",action:t})}))},v);function Bo(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$o(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}var Ko=(b=class extends po{constructor(t={}){super(),_t(this,g),this.config=t,mt(this,g,new Map)}build(t,e,n){const r=e.queryKey,i=e.queryHash??xo(r,e);let o=this.get(i);return o||(o=new Qo({cache:this,queryKey:r,queryHash:i,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){pt(this,g).has(t.queryHash)||(pt(this,g).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const e=pt(this,g).get(t.queryHash);e&&(t.destroy(),e===t&&pt(this,g).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){jo.batch((()=>{this.getAll().forEach((t=>{this.remove(t)}))}))}get(t){return pt(this,g).get(t)}getAll(){return[...pt(this,g).values()]}find(t){const e={exact:!0,...t};return this.getAll().find((t=>wo(e,t)))}findAll(t={}){const e=this.getAll();return Object.keys(t).length>0?e.filter((e=>wo(t,e))):e}notify(t){jo.batch((()=>{this.listeners.forEach((e=>{e(t)}))}))}onFocus(){jo.batch((()=>{this.getAll().forEach((t=>{t.onFocus()}))}))}onOnline(){jo.batch((()=>{this.getAll().forEach((t=>{t.onOnline()}))}))}},g=new WeakMap,b),Go=(O=class extends zo{constructor(t){super(),_t(this,S),_t(this,w),_t(this,k),_t(this,x),this.mutationId=t.mutationId,mt(this,k,t.mutationCache),mt(this,w,[]),this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){pt(this,w).includes(t)||(pt(this,w).push(t),this.clearGcTimeout(),pt(this,k).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){mt(this,w,pt(this,w).filter((e=>e!==t))),this.scheduleGc(),pt(this,k).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){pt(this,w).length||("pending"===this.state.status?this.scheduleGc():pt(this,k).remove(this))}continue(){var t;return(null==(t=pt(this,x))?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var e,n,r,i,o,s,a,l,c,u,d,h,f,p,_,m,y,v,g,b;mt(this,x,Io({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(t,e)=>{yt(this,S,C).call(this,{type:"failed",failureCount:t,error:e})},onPause:()=>{yt(this,S,C).call(this,{type:"pause"})},onContinue:()=>{yt(this,S,C).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>pt(this,k).canRun(this)}));const w="pending"===this.state.status,O=!pt(this,x).canStart();try{if(!w){yt(this,S,C).call(this,{type:"pending",variables:t,isPaused:O}),await(null==(n=(e=pt(this,k).config).onMutate)?void 0:n.call(e,t,this));const o=await(null==(i=(r=this.options).onMutate)?void 0:i.call(r,t));o!==this.state.context&&yt(this,S,C).call(this,{type:"pending",context:o,variables:t,isPaused:O})}const f=await pt(this,x).start();return await(null==(s=(o=pt(this,k).config).onSuccess)?void 0:s.call(o,f,t,this.state.context,this)),await(null==(l=(a=this.options).onSuccess)?void 0:l.call(a,f,t,this.state.context)),await(null==(u=(c=pt(this,k).config).onSettled)?void 0:u.call(c,f,null,this.state.variables,this.state.context,this)),await(null==(h=(d=this.options).onSettled)?void 0:h.call(d,f,null,t,this.state.context)),yt(this,S,C).call(this,{type:"success",data:f}),f}catch(P){try{throw await(null==(p=(f=pt(this,k).config).onError)?void 0:p.call(f,P,t,this.state.context,this)),await(null==(m=(_=this.options).onError)?void 0:m.call(_,P,t,this.state.context)),await(null==(v=(y=pt(this,k).config).onSettled)?void 0:v.call(y,void 0,P,this.state.variables,this.state.context,this)),await(null==(b=(g=this.options).onSettled)?void 0:b.call(g,void 0,P,t,this.state.context)),P}finally{yt(this,S,C).call(this,{type:"error",error:P})}}finally{pt(this,k).runNext(this)}}},w=new WeakMap,k=new WeakMap,x=new WeakMap,S=new WeakSet,C=function(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),jo.batch((()=>{pt(this,w).forEach((e=>{e.onMutationUpdate(t)})),pt(this,k).notify({mutation:this,type:"updated",action:t})}))},O);var Vo=(R=class extends po{constructor(t={}){super(),_t(this,P),_t(this,E),this.config=t,mt(this,P,new Map),mt(this,E,Date.now())}build(t,e,n){const r=new Go({mutationCache:this,mutationId:++vt(this,E)._,options:t.defaultMutationOptions(e),state:n});return this.add(r),r}add(t){const e=Xo(t),n=pt(this,P).get(e)??[];n.push(t),pt(this,P).set(e,n),this.notify({type:"added",mutation:t})}remove(t){var e;const n=Xo(t);if(pt(this,P).has(n)){const r=null==(e=pt(this,P).get(n))?void 0:e.filter((e=>e!==t));r&&(0===r.length?pt(this,P).delete(n):pt(this,P).set(n,r))}this.notify({type:"removed",mutation:t})}canRun(t){var e;const n=null==(e=pt(this,P).get(Xo(t)))?void 0:e.find((t=>"pending"===t.state.status));return!n||n===t}runNext(t){var e;const n=null==(e=pt(this,P).get(Xo(t)))?void 0:e.find((e=>e!==t&&e.state.isPaused));return(null==n?void 0:n.continue())??Promise.resolve()}clear(){jo.batch((()=>{this.getAll().forEach((t=>{this.remove(t)}))}))}getAll(){return[...pt(this,P).values()].flat()}find(t){const e={exact:!0,...t};return this.getAll().find((t=>ko(e,t)))}findAll(t={}){return this.getAll().filter((e=>ko(t,e)))}notify(t){jo.batch((()=>{this.listeners.forEach((e=>{e(t)}))}))}resumePausedMutations(){const t=this.getAll().filter((t=>t.state.isPaused));return jo.batch((()=>Promise.all(t.map((t=>t.continue().catch(mo))))))}},P=new WeakMap,E=new WeakMap,R);function Xo(t){var e;return(null==(e=t.options.scope)?void 0:e.id)??String(t.mutationId)}function Yo(t){return{onFetch:(e,n)=>{var r,i,o,s,a;const l=e.options,c=null==(o=null==(i=null==(r=e.fetchOptions)?void 0:r.meta)?void 0:i.fetchMore)?void 0:o.direction,u=(null==(s=e.state.data)?void 0:s.pages)||[],d=(null==(a=e.state.data)?void 0:a.pageParams)||[];let h={pages:[],pageParams:[]},f=0;const p=async()=>{let n=!1;const r=Do(e.options,e.fetchOptions),i=async(t,i,o)=>{if(n)return Promise.reject();if(null==i&&t.pages.length)return Promise.resolve(t);const s={queryKey:e.queryKey,pageParam:i,direction:o?"backward":"forward",meta:e.options.meta};var a;a=s,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(e.signal.aborted?n=!0:e.signal.addEventListener("abort",(()=>{n=!0})),e.signal)});const l=await r(s),{maxPages:c}=e.options,u=o?Fo:To;return{pages:u(t.pages,l,c),pageParams:u(t.pageParams,i,c)}};if(c&&u.length){const t="backward"===c,e={pages:u,pageParams:d},n=(t?Jo:Zo)(l,e);h=await i(e,n,t)}else{const e=t??u.length;do{const t=0===f?d[0]??l.initialPageParam:Zo(l,h);if(f>0&&null==t)break;h=await i(h,t),f++}while(f<e)}return h};e.options.persister?e.fetchFn=()=>{var t,r;return null==(r=(t=e.options).persister)?void 0:r.call(t,p,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=p}}}function Zo(t,{pages:e,pageParams:n}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,n[r],n):void 0}function Jo(t,{pages:e,pageParams:n}){var r;return e.length>0?null==(r=t.getPreviousPageParam)?void 0:r.call(t,e[0],e,n[0],n):void 0}var ts=(U=class{constructor(t={}){_t(this,A),_t(this,M),_t(this,T),_t(this,F),_t(this,W),_t(this,D),_t(this,N),_t(this,L),mt(this,A,t.queryCache||new Ko),mt(this,M,t.mutationCache||new Vo),mt(this,T,t.defaultOptions||{}),mt(this,F,new Map),mt(this,W,new Map),mt(this,D,0)}mount(){vt(this,D)._++,1===pt(this,D)&&(mt(this,N,No.subscribe((async t=>{t&&(await this.resumePausedMutations(),pt(this,A).onFocus())}))),mt(this,L,Lo.subscribe((async t=>{t&&(await this.resumePausedMutations(),pt(this,A).onOnline())}))))}unmount(){var t,e;vt(this,D)._--,0===pt(this,D)&&(null==(t=pt(this,N))||t.call(this),mt(this,N,void 0),null==(e=pt(this,L))||e.call(this),mt(this,L,void 0))}isFetching(t){return pt(this,A).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return pt(this,M).findAll({...t,status:"pending"}).length}getQueryData(t){var e;const n=this.defaultQueryOptions({queryKey:t});return null==(e=pt(this,A).get(n.queryHash))?void 0:e.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(void 0===e)return this.fetchQuery(t);{const n=this.defaultQueryOptions(t),r=pt(this,A).build(this,n);return t.revalidateIfStale&&r.isStaleByTime(go(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(e)}}getQueriesData(t){return pt(this,A).findAll(t).map((({queryKey:t,state:e})=>[t,e.data]))}setQueryData(t,e,n){const r=this.defaultQueryOptions({queryKey:t}),i=pt(this,A).get(r.queryHash),o=function(t,e){return"function"==typeof t?t(e):t}(e,null==i?void 0:i.state.data);if(void 0!==o)return pt(this,A).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(t,e,n){return jo.batch((()=>pt(this,A).findAll(t).map((({queryKey:t})=>[t,this.setQueryData(t,e,n)]))))}getQueryState(t){var e;const n=this.defaultQueryOptions({queryKey:t});return null==(e=pt(this,A).get(n.queryHash))?void 0:e.state}removeQueries(t){const e=pt(this,A);jo.batch((()=>{e.findAll(t).forEach((t=>{e.remove(t)}))}))}resetQueries(t,e){const n=pt(this,A),r={type:"active",...t};return jo.batch((()=>(n.findAll(t).forEach((t=>{t.reset()})),this.refetchQueries(r,e))))}cancelQueries(t={},e={}){const n={revert:!0,...e},r=jo.batch((()=>pt(this,A).findAll(t).map((t=>t.cancel(n)))));return Promise.all(r).then(mo).catch(mo)}invalidateQueries(t={},e={}){return jo.batch((()=>{if(pt(this,A).findAll(t).forEach((t=>{t.invalidate()})),"none"===t.refetchType)return Promise.resolve();const n={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(n,e)}))}refetchQueries(t={},e){const n={...e,cancelRefetch:(null==e?void 0:e.cancelRefetch)??!0},r=jo.batch((()=>pt(this,A).findAll(t).filter((t=>!t.isDisabled())).map((t=>{let e=t.fetch(void 0,n);return n.throwOnError||(e=e.catch(mo)),"paused"===t.state.fetchStatus?Promise.resolve():e}))));return Promise.all(r).then(mo)}fetchQuery(t){const e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);const n=pt(this,A).build(this,e);return n.isStaleByTime(go(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(mo).catch(mo)}fetchInfiniteQuery(t){return t.behavior=Yo(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(mo).catch(mo)}ensureInfiniteQueryData(t){return t.behavior=Yo(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Lo.isOnline()?pt(this,M).resumePausedMutations():Promise.resolve()}getQueryCache(){return pt(this,A)}getMutationCache(){return pt(this,M)}getDefaultOptions(){return pt(this,T)}setDefaultOptions(t){mt(this,T,t)}setQueryDefaults(t,e){pt(this,F).set(So(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...pt(this,F).values()];let n={};return e.forEach((e=>{Co(t,e.queryKey)&&(n={...n,...e.defaultOptions})})),n}setMutationDefaults(t,e){pt(this,W).set(So(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...pt(this,W).values()];let n={};return e.forEach((e=>{Co(t,e.mutationKey)&&(n={...n,...e.defaultOptions})})),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...pt(this,T).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=xo(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),!0!==e.enabled&&e.queryFn===Wo&&(e.enabled=!1),e}defaultMutationOptions(t){return(null==t?void 0:t._defaulted)?t:{...pt(this,T).mutations,...(null==t?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){pt(this,A).clear(),pt(this,M).clear()}},A=new WeakMap,M=new WeakMap,T=new WeakMap,F=new WeakMap,W=new WeakMap,D=new WeakMap,N=new WeakMap,L=new WeakMap,U),es=(ct=class extends po{constructor(t,e){super(),_t(this,J),_t(this,$),_t(this,q),_t(this,H),_t(this,I),_t(this,j),_t(this,z),_t(this,Q),_t(this,B),_t(this,K),_t(this,G),_t(this,V),_t(this,X),_t(this,Y),_t(this,Z,new Set),this.options=e,mt(this,$,t),mt(this,Q,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(pt(this,q).addObserver(this),ns(pt(this,q),this.options)?yt(this,J,tt).call(this):this.updateResult(),yt(this,J,it).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return rs(pt(this,q),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return rs(pt(this,q),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,yt(this,J,ot).call(this),yt(this,J,st).call(this),pt(this,q).removeObserver(this)}setOptions(t,e){const n=this.options,r=pt(this,q);if(this.options=pt(this,$).defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof bo(this.options.enabled,pt(this,q)))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");yt(this,J,at).call(this),pt(this,q).setOptions(this.options),n._defaulted&&!Po(this.options,n)&&pt(this,$).getQueryCache().notify({type:"observerOptionsUpdated",query:pt(this,q),observer:this});const i=this.hasListeners();i&&is(pt(this,q),r,this.options,n)&&yt(this,J,tt).call(this),this.updateResult(e),!i||pt(this,q)===r&&bo(this.options.enabled,pt(this,q))===bo(n.enabled,pt(this,q))&&go(this.options.staleTime,pt(this,q))===go(n.staleTime,pt(this,q))||yt(this,J,et).call(this);const o=yt(this,J,nt).call(this);!i||pt(this,q)===r&&bo(this.options.enabled,pt(this,q))===bo(n.enabled,pt(this,q))&&o===pt(this,Y)||yt(this,J,rt).call(this,o)}getOptimisticResult(t){const e=pt(this,$).getQueryCache().build(pt(this,$),t),n=this.createResult(e,t);return function(t,e){if(!Po(t.getCurrentResult(),e))return!0;return!1}(this,n)&&(mt(this,I,n),mt(this,z,this.options),mt(this,j,pt(this,q).state)),n}getCurrentResult(){return pt(this,I)}trackResult(t,e){const n={};return Object.keys(t).forEach((r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),null==e||e(r),t[r])})})),n}trackProp(t){pt(this,Z).add(t)}getCurrentQuery(){return pt(this,q)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=pt(this,$).defaultQueryOptions(t),n=pt(this,$).getQueryCache().build(pt(this,$),e);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,e)))}fetch(t){return yt(this,J,tt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then((()=>(this.updateResult(),pt(this,I))))}createResult(t,e){var n;const r=pt(this,q),i=this.options,o=pt(this,I),s=pt(this,j),a=pt(this,z),l=t!==r?t.state:pt(this,H),{state:c}=t;let u,d={...c},h=!1;if(e._optimisticResults){const n=this.hasListeners(),o=!n&&ns(t,e),s=n&&is(t,r,e,i);(o||s)&&(d={...d,...Bo(c.data,t.options)}),"isRestoring"===e._optimisticResults&&(d.fetchStatus="idle")}let{error:f,errorUpdatedAt:p,status:_}=d;if(e.select&&void 0!==d.data)if(o&&d.data===(null==s?void 0:s.data)&&e.select===pt(this,B))u=pt(this,K);else try{mt(this,B,e.select),u=e.select(d.data),u=Mo(null==o?void 0:o.data,u,e),mt(this,K,u),mt(this,Q,null)}catch(w){mt(this,Q,w)}else u=d.data;if(void 0!==e.placeholderData&&void 0===u&&"pending"===_){let t;if((null==o?void 0:o.isPlaceholderData)&&e.placeholderData===(null==a?void 0:a.placeholderData))t=o.data;else if(t="function"==typeof e.placeholderData?e.placeholderData(null==(n=pt(this,G))?void 0:n.state.data,pt(this,G)):e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),mt(this,Q,null)}catch(w){mt(this,Q,w)}void 0!==t&&(_="success",u=Mo(null==o?void 0:o.data,t,e),h=!0)}pt(this,Q)&&(f=pt(this,Q),u=pt(this,K),p=Date.now(),_="error");const m="fetching"===d.fetchStatus,y="pending"===_,v="error"===_,g=y&&m,b=void 0!==u;return{status:_,fetchStatus:d.fetchStatus,isPending:y,isSuccess:"success"===_,isError:v,isInitialLoading:g,isLoading:g,data:u,dataUpdatedAt:d.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:m,isRefetching:m&&!y,isLoadingError:v&&!b,isPaused:"paused"===d.fetchStatus,isPlaceholderData:h,isRefetchError:v&&b,isStale:os(t,e),refetch:this.refetch}}updateResult(t){const e=pt(this,I),n=this.createResult(pt(this,q),this.options);if(mt(this,j,pt(this,q).state),mt(this,z,this.options),void 0!==pt(this,j).data&&mt(this,G,pt(this,q)),Po(n,e))return;mt(this,I,n);const r={};!1!==(null==t?void 0:t.listeners)&&(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!pt(this,Z).size)return!0;const r=new Set(n??pt(this,Z));return this.options.throwOnError&&r.add("error"),Object.keys(pt(this,I)).some((t=>{const n=t;return pt(this,I)[n]!==e[n]&&r.has(n)}))})()&&(r.listeners=!0),yt(this,J,lt).call(this,{...r,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&yt(this,J,it).call(this)}},$=new WeakMap,q=new WeakMap,H=new WeakMap,I=new WeakMap,j=new WeakMap,z=new WeakMap,Q=new WeakMap,B=new WeakMap,K=new WeakMap,G=new WeakMap,V=new WeakMap,X=new WeakMap,Y=new WeakMap,Z=new WeakMap,J=new WeakSet,tt=function(t){yt(this,J,at).call(this);let e=pt(this,q).fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(mo)),e},et=function(){yt(this,J,ot).call(this);const t=go(this.options.staleTime,pt(this,q));if(_o||pt(this,I).isStale||!yo(t))return;const e=vo(pt(this,I).dataUpdatedAt,t);mt(this,V,setTimeout((()=>{pt(this,I).isStale||this.updateResult()}),e+1))},nt=function(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(pt(this,q)):this.options.refetchInterval)??!1},rt=function(t){yt(this,J,st).call(this),mt(this,Y,t),!_o&&!1!==bo(this.options.enabled,pt(this,q))&&yo(pt(this,Y))&&0!==pt(this,Y)&&mt(this,X,setInterval((()=>{(this.options.refetchIntervalInBackground||No.isFocused())&&yt(this,J,tt).call(this)}),pt(this,Y)))},it=function(){yt(this,J,et).call(this),yt(this,J,rt).call(this,yt(this,J,nt).call(this))},ot=function(){pt(this,V)&&(clearTimeout(pt(this,V)),mt(this,V,void 0))},st=function(){pt(this,X)&&(clearInterval(pt(this,X)),mt(this,X,void 0))},at=function(){const t=pt(this,$).getQueryCache().build(pt(this,$),this.options);if(t===pt(this,q))return;const e=pt(this,q);mt(this,q,t),mt(this,H,t.state),this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))},lt=function(t){jo.batch((()=>{t.listeners&&this.listeners.forEach((t=>{t(pt(this,I))})),pt(this,$).getQueryCache().notify({query:pt(this,q),type:"observerResultsUpdated"})}))},ct);function ns(t,e){return function(t,e){return!1!==bo(e.enabled,t)&&void 0===t.state.data&&!("error"===t.state.status&&!1===e.retryOnMount)}(t,e)||void 0!==t.state.data&&rs(t,e,e.refetchOnMount)}function rs(t,e,n){if(!1!==bo(e.enabled,t)){const r="function"==typeof n?n(t):n;return"always"===r||!1!==r&&os(t,e)}return!1}function is(t,e,n,r){return(t!==e||!1===bo(r.enabled,t))&&(!n.suspense||"error"!==t.state.status)&&os(t,n)}function os(t,e){return!1!==bo(e.enabled,t)&&t.isStaleByTime(go(e.staleTime,t))}var ss=se(void 0),as=t=>{const e=qn(ss);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},ls=({client:t,children:e})=>(Wn((()=>(t.mount(),()=>{t.unmount()})),[t]),ro(ss.Provider,{value:t,children:e})),cs=se(!1),us=()=>qn(cs);cs.Provider;var ds=se(function(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}()),hs=()=>qn(ds);var fs=(t,e)=>{(t.suspense||t.throwOnError)&&(e.isReset()||(t.retryOnMount=!1))},ps=t=>{Wn((()=>{t.clearReset()}),[t])},_s=({result:t,errorResetBoundary:e,throwOnError:n,query:r})=>{return t.isError&&!e.isReset()&&!t.isFetching&&r&&(i=n,o=[t.error,r],"function"==typeof i?i(...o):!!i);var i,o},ms=t=>{t.suspense&&("number"!=typeof t.staleTime&&(t.staleTime=1e3),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3)))},ys=(t,e)=>(null==t?void 0:t.suspense)&&e.isPending,vs=(t,e,n)=>e.fetchOptimistic(t).catch((()=>{n.clearReset()}));function gs(t,e){return function(t,e){var n,r,i,o;const s=as(),a=us(),l=hs(),c=s.defaultQueryOptions(t);null==(r=null==(n=s.getDefaultOptions().queries)?void 0:n._experimental_beforeQuery)||r.call(n,c),c._optimisticResults=a?"isRestoring":"optimistic",ms(c),fs(c,l),ps(l);const[u]=Tn((()=>new e(s,c))),d=u.getOptimisticResult(c);if(Xr($n((t=>{const e=a?()=>{}:u.subscribe(jo.batchCalls(t));return u.updateResult(),e}),[u,a]),(()=>u.getCurrentResult())),Wn((()=>{u.setOptions(c,{listeners:!1})}),[c,u]),ys(c,d))throw vs(c,u,l);if(_s({result:d,errorResetBoundary:l,throwOnError:c.throwOnError,query:s.getQueryCache().get(c.queryHash)}))throw d.error;return null==(o=null==(i=s.getDefaultOptions().queries)?void 0:i._experimental_afterQuery)||o.call(i,c,d),c.notifyOnChangeProps?d:u.trackResult(d)}(t,es)}var bs=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ws=cn((function(t){return bs.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),ks=function(t){return"theme"!==t},xs=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?ws:ks},Ss=function(t,e,n){var r;if(e){var i=e.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!=typeof r&&n&&(r=t.__emotion_forwardProp),r},Cs=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return Pi(e,n,r),ji((function(){return Ei(e,n,r)})),null},Os=function t(e,n){var r,i,o=e.__emotion_real===e,s=o&&e.__emotion_base||e;void 0!==n&&(r=n.label,i=n.target);var a=Ss(e,n,o),l=a||xs(s),c=!l("as");return function(){var u=arguments,d=o&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var h=u.length,f=1;f<h;f++)d.push(u[f],u[0][f])}var p=Ki((function(t,e,n){var r=c&&t.as||s,o="",u=[],h=t;if(null==t.theme){for(var f in h={},t)h[f]=t[f];h.theme=qn(Gi)}"string"==typeof t.className?o=Oi(e.registered,u,t.className):null!=t.className&&(o=t.className+" ");var p=Hi(d.concat(u),e.registered,h);o+=e.key+"-"+p.name,void 0!==i&&(o+=" "+i);var _=c&&void 0===a?xs(r):l,m={};for(var y in t)c&&"as"===y||_(y)&&(m[y]=t[y]);return m.className=o,n&&(m.ref=n),Nt($t,null,Nt(Cs,{cache:e,serialized:p,isStringTag:"string"==typeof r}),Nt(r,m))}));return p.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",p.defaultProps=e.defaultProps,p.__emotion_real=p,p.__emotion_base=s,p.__emotion_styles=d,p.__emotion_forwardProp=a,Object.defineProperty(p,"toString",{value:function(){return"."+i}}),p.withComponent=function(e,r){return t(e,ti({},n,r,{shouldForwardProp:Ss(p,r,!0)})).apply(void 0,d)},p}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){Os[t]=Os(t)}));const Ps=Os.td`
4
+ ${{whiteSpace:"nowrap",paddingTop:"1rem",paddingBottom:"1rem",paddingLeft:"1rem",paddingRight:"0.75rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"}}
5
+ `,Es=Os.td`
6
+ ${{whiteSpace:"nowrap",paddingLeft:"0.75rem",paddingRight:"0.75rem",paddingTop:"1.25rem",paddingBottom:"1.25rem",fontSize:"0.875rem",lineHeight:"1.25rem","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"}}
7
+ `,Rs=Os.span({display:"inline-flex",alignItems:"center",borderRadius:"0.375rem",paddingLeft:"0.5rem",paddingRight:"0.5rem",paddingTop:"0.25rem",paddingBottom:"0.25rem",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-inset":"inset"},(t=>t.className)),As=t=>{const e=new Date(t.value);return so(Ps,{children:[e.toLocaleDateString(),oo("br",{}),e.toLocaleTimeString()]})},Ms=(t,e)=>{var n;switch(null==e?void 0:e.kind){case"status":return oo(Es,{children:oo(Rs,{className:null==(n=e.styleOverrides)?void 0:n[t],children:t})});case"date":return oo(As,{value:t});default:return oo(Ps,{children:t})}},Ts=t=>oo("div",{css:{marginTop:"2rem",display:"flow-root"},children:oo("div",{css:{marginLeft:"-1rem",marginRight:"-1rem",marginTop:"-0.5rem",marginBottom:"-0.5rem",overflowX:"auto","@media (min-width: 640px)":{marginLeft:"-1.5rem",marginRight:"-1.5rem"},"@media (min-width: 1024px)":{marginLeft:"-2rem",marginRight:"-2rem"}},children:oo("div",{css:{display:"inline-block",minWidth:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem",verticalAlign:"middle","@media (min-width: 640px)":{paddingLeft:"1.5rem",paddingRight:"1.5rem"},"@media (min-width: 1024px)":{paddingLeft:"2rem",paddingRight:"2rem"}},children:oo("div",{css:{overflow:"hidden","--tw-shadow":"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","--tw-ring-opacity":"0.05","--tw-ring-color":"rgb(0 0 0 / var(--tw-ring-opacity))","@media (min-width: 640px)":{borderRadius:"0.5rem"}},children:so("table",{css:{minWidth:"100%","> :not([hidden]) ~ :not([hidden])":{"--tw-divide-y-reverse":"0",borderTopWidth:"calc(1px * calc(1 - var(--tw-divide-y-reverse)))",borderBottomWidth:"calc(1px * var(--tw-divide-y-reverse))","--tw-divide-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-divide-opacity))"}},children:[oo("thead",{css:{"--tw-bg-opacity":"1",backgroundColor:"rgb(249 250 251 / var(--tw-bg-opacity))"},children:oo("tr",{children:t.columns.map((t=>oo("th",{scope:"col",css:{paddingTop:"0.875rem",paddingBottom:"0.875rem",paddingLeft:"1rem",paddingRight:"0.75rem",textAlign:"left",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"600","--tw-text-opacity":"1",color:"rgb(17 24 39 / var(--tw-text-opacity))"},children:t.name},t.field)))})}),oo("tbody",{css:{"> :not([hidden]) ~ :not([hidden])":{"--tw-divide-y-reverse":"0",borderTopWidth:"calc(1px * calc(1 - var(--tw-divide-y-reverse)))",borderBottomWidth:"calc(1px * var(--tw-divide-y-reverse))","--tw-divide-opacity":"1",borderColor:"rgb(229 231 235 / var(--tw-divide-opacity))"},"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},children:t.data.map(((e,n)=>oo("tr",{children:t.columns.map(((t,r)=>oo($t,{children:Ms(e[t.field],t.type)},`${e[t.field]}-${n}-${r}`)))},`${e[t.columns[0].field]}-${n}`)))})]})})})})}),Fs=[{name:"Id",field:"id"},{name:"Category",field:"category"},{name:"Promotion Status",field:"promotionStatus",type:{kind:"status",styleOverrides:{Enabled:{"--tw-bg-opacity":"1",backgroundColor:"rgb(240 253 244 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(21 128 61 / var(--tw-text-opacity))","--tw-ring-color":"rgb(22 163 74 / 0.2)"},Disabled:{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 242 242 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(185 28 28 / var(--tw-text-opacity))","--tw-ring-color":"rgb(220 38 38 / 0.2)"}}}},{name:"Contentful Status",field:"contentfulStatus",type:{kind:"status",styleOverrides:{Linked:{"--tw-bg-opacity":"1",backgroundColor:"rgb(240 253 244 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(21 128 61 / var(--tw-text-opacity))","--tw-ring-color":"rgb(22 163 74 / 0.2)"},Unlinked:{"--tw-bg-opacity":"1",backgroundColor:"rgb(254 242 242 / var(--tw-bg-opacity))","--tw-text-opacity":"1",color:"rgb(185 28 28 / var(--tw-text-opacity))","--tw-ring-color":"rgb(220 38 38 / 0.2)"}}}},{name:"Created At",field:"createdAt",type:{kind:"date"}},{name:"Updated At",field:"updatedAt",type:{kind:"date"}}],Ws=()=>{const{getAllPromotions:t}=fo(),{isPending:e,error:n,data:r}=gs({queryKey:["getAllPromotions"],queryFn:t});switch(!0){case e:return oo(io,{children:"Loading..."});case!!n:return so(io,{children:["An error has occurred: ",n.message]});case!!r:return oo(Ts,{columns:Fs,data:(i=r,i.data.map((t=>({id:t.id,category:t.category.title,promotionStatus:t.status,contentfulStatus:t.contentfulContent?"Linked":"Unlinked",createdAt:t.createdAt,updatedAt:t.updatedAt}))))});default:return oo(io,{children:"No data returned from backend"})}var i},Ds=t=>{var e;return e={backend:{url:t.backendUrl,accessToken:t.accessToken}},co=se({...e,backend:{url:e.backend.url.replace(/\/?$/,""),accessToken:e.backend.accessToken}}),oo(Ws,{})},Ns=new ts;!function(t,e,n,r){function i(){var e=Reflect.construct(HTMLElement,[],i);return e._vdomComponent=t,e._root=r&&r.shadow?e.attachShadow({mode:r.mode||"open"}):e,e}(i.prototype=Object.create(HTMLElement.prototype)).constructor=i,i.prototype.connectedCallback=ue,i.prototype.attributeChangedCallback=he,i.prototype.disconnectedCallback=fe,n=n||t.observedAttributes||Object.keys(t.propTypes||{}),i.observedAttributes=n,n.forEach((function(t){Object.defineProperty(i.prototype,t,{get:function(){return this._vdom.props[t]},set:function(e){this._vdom?this.attributeChangedCallback(t,null,e):(this._props||(this._props={}),this._props[t]=e,this.connectedCallback());var n=typeof e;null!=e&&"string"!==n&&"boolean"!==n&&"number"!==n||this.setAttribute(t,e)}})})),customElements.define(e,i)}((t=>{const e=Nn(null),{EmotionProvider:n}=((t,e)=>{const[n,r]=Tn();return Wn((()=>{if(e&&e.current){const n=e=>{document.getElementsByTagName(t).length>0?e():requestAnimationFrame((()=>n(e)))};n((()=>{r(wn({container:e.current,key:t}))}))}}),[t,e]),{EmotionProvider:({children:t})=>n?oo(Bi,{value:n,children:t}):oo(io,{})}})("promoted-benefits-admin",e);return so(io,{children:[oo("head",{ref:e}),oo(n,{children:so(ls,{client:Ns,children:[oo(lo,{}),oo("body",{children:oo(Ds,{...t})})]})})]})}),"promoted-benefits-admin",["backend-url","access-token"],{shadow:!0});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/promoted-benefits-admin",
3
- "version": "0.3.896",
3
+ "version": "0.3.1294",
4
4
  "description": "Salpac FinOps Admin",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -27,6 +27,7 @@
27
27
  "@emotion/css": "^11.13.0",
28
28
  "@emotion/react": "^11.13.3",
29
29
  "@emotion/styled": "^11.13.0",
30
+ "@tanstack/react-query": "^5.56.2",
30
31
  "preact": "^10.23.2",
31
32
  "preact-custom-element": "^4.3.0"
32
33
  },
@@ -1,3 +0,0 @@
1
- import{m as e,w as t,x as r,g as a,s as i,_ as n,k as o,r as l,u as s,i as c,T as d,j as p}from"../index.js";function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},u.apply(null,arguments)}var m=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f=e((function(e){return m.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),g=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?f:g},y=function(e,t,r){var a;if(t){var i=t.shouldForwardProp;a=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof a&&r&&(a=e.__emotion_forwardProp),a},v=function(e){var t=e.cache,r=e.serialized,a=e.isStringTag;return l(t,r,a),s((function(){return c(t,r,a)})),null},b=function e(l,s){var c,p,m=l.__emotion_real===l,f=m&&l.__emotion_base||l;void 0!==s&&(c=s.label,p=s.target);var g=y(l,s,m),b=g||h(f),k=!b("as");return function(){var x=arguments,_=m&&void 0!==l.__emotion_styles?l.__emotion_styles.slice(0):[];if(void 0!==c&&_.push("label:"+c+";"),null==x[0]||void 0===x[0].raw)_.push.apply(_,x);else{_.push(x[0][0]);for(var w=x.length,P=1;P<w;P++)_.push(x[P],x[0][P])}var S=t((function(e,t,l){var s=k&&e.as||f,c="",u=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=r(d)}"string"==typeof e.className?c=a(t.registered,u,e.className):null!=e.className&&(c=e.className+" ");var x=i(_.concat(u),t.registered,m);c+=t.key+"-"+x.name,void 0!==p&&(c+=" "+p);var w=k&&void 0===g?h(s):b,P={};for(var S in e)k&&"as"===S||w(S)&&(P[S]=e[S]);return P.className=c,l&&(P.ref=l),n(o,null,n(v,{cache:t,serialized:x,isStringTag:"string"==typeof s}),n(s,P))}));return S.displayName=void 0!==c?c:"Styled("+("string"==typeof f?f:f.displayName||f.name||"Component")+")",S.defaultProps=l.defaultProps,S.__emotion_real=S,S.__emotion_base=f,S.__emotion_styles=_,S.__emotion_forwardProp=g,Object.defineProperty(S,"toString",{value:function(){return"."+p}}),S.withComponent=function(t,r){return e(t,u({},s,r,{shouldForwardProp:y(S,r,!0)})).apply(void 0,_)},S}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){b[e]=b(e)}));const k=b.div`
2
- ${{backgroundColor:"var(--fl-color-primary-400)"}}
3
- `,x=()=>p(k,{children:p("div",{css:{fontWeight:"700"},children:"Hello World"})});export{x as default};