@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
42 lines (27 loc) • 97.3 kB
JavaScript
(function(H){typeof define=="function"&&define.amd?define(H):H()})(function(){"use strict";var Hs=Object.defineProperty;var Fs=(H,p,ue)=>p in H?Hs(H,p,{enumerable:!0,configurable:!0,writable:!0,value:ue}):H[p]=ue;var Ot=(H,p,ue)=>Fs(H,typeof p!="symbol"?p+"":p,ue);var H,p,ue,fe,Sn,En,bn,$n,Nt,xt,It,kn,Pe={},On=[],go=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,De=Array.isArray;function Y(e,t){for(var n in t)e[n]=t[n];return e}function Tt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function D(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?H.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]==null&&(a[i]=e.defaultProps[i]);return Me(e,a,r,o,null)}function Me(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++ue,__i:-1,__u:0};return o==null&&p.vnode!=null&&p.vnode(i),i}function yo(){return{current:null}}function B(e){return e.children}function q(e,t){this.props=e,this.context=t}function be(e,t){if(t==null)return e.__?be(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?be(e):null}function Nn(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Nn(e)}}function Rt(e){(!e.__d&&(e.__d=!0)&&fe.push(e)&&!Ke.__r++||Sn!=p.debounceRendering)&&((Sn=p.debounceRendering)||En)(Ke)}function Ke(){for(var e,t,n,r,o,i,a,c=1;fe.length;)fe.length>c&&fe.sort(bn),e=fe.shift(),c=fe.length,e.__d&&(n=void 0,o=(r=(t=e).__v).__e,i=[],a=[],t.__P&&((n=Y({},r)).__v=r.__v+1,p.vnode&&p.vnode(n),At(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[o]:null,i,o??be(r),!!(32&r.__u),a),n.__v=r.__v,n.__.__k[n.__i]=n,An(i,n,a),n.__e!=o&&Nn(n)));Ke.__r=0}function xn(e,t,n,r,o,i,a,c,s,u,d){var l,_,h,y,E,$,g=r&&r.__k||On,m=t.length;for(s=vo(n,t,g,s,m),l=0;l<m;l++)(h=n.__k[l])!=null&&(_=h.__i==-1?Pe:g[h.__i]||Pe,h.__i=l,$=At(e,h,_,o,i,a,c,s,u,d),y=h.__e,h.ref&&_.ref!=h.ref&&(_.ref&&Lt(_.ref,null,h),d.push(h.ref,h.__c||y,h)),E==null&&y!=null&&(E=y),4&h.__u||_.__k===h.__k?s=In(h,s,e):typeof h.type=="function"&&$!==void 0?s=$:y&&(s=y.nextSibling),h.__u&=-7);return n.__e=E,s}function vo(e,t,n,r,o){var i,a,c,s,u,d=n.length,l=d,_=0;for(e.__k=new Array(o),i=0;i<o;i++)(a=t[i])!=null&&typeof a!="boolean"&&typeof a!="function"?(s=i+_,(a=e.__k[i]=typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?Me(null,a,null,null,null):De(a)?Me(B,{children:a},null,null,null):a.constructor==null&&a.__b>0?Me(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):a).__=e,a.__b=e.__b+1,c=null,(u=a.__i=Co(a,n,s,l))!=-1&&(l--,(c=n[u])&&(c.__u|=2)),c==null||c.__v==null?(u==-1&&(o>d?_--:o<d&&_++),typeof a.type!="function"&&(a.__u|=4)):u!=s&&(u==s-1?_--:u==s+1?_++:(u>s?_--:_++,a.__u|=4))):e.__k[i]=null;if(l)for(i=0;i<d;i++)(c=n[i])!=null&&(2&c.__u)==0&&(c.__e==r&&(r=be(c)),Pn(c,c));return r}function In(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=In(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=be(e)),n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function J(e,t){return t=t||[],e==null||typeof e=="boolean"||(De(e)?e.some(function(n){J(n,t)}):t.push(e)),t}function Co(e,t,n,r){var o,i,a=e.key,c=e.type,s=t[n];if(s===null&&e.key==null||s&&a==s.key&&c==s.type&&(2&s.__u)==0)return n;if(r>(s!=null&&(2&s.__u)==0?1:0))for(o=n-1,i=n+1;o>=0||i<t.length;){if(o>=0){if((s=t[o])&&(2&s.__u)==0&&a==s.key&&c==s.type)return o;o--}if(i<t.length){if((s=t[i])&&(2&s.__u)==0&&a==s.key&&c==s.type)return i;i++}}return-1}function Tn(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||go.test(t)?n:n+"px"}function Je(e,t,n,r,o){var i;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Tn(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||Tn(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace($n,"$1")),t=t.toLowerCase()in e||t=="onFocusOut"||t=="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Nt,e.addEventListener(t,i?It:xt,i)):e.removeEventListener(t,i?It:xt,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Rn(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Nt++;else if(t.t<n.u)return;return n(p.event?p.event(t):t)}}}function At(e,t,n,r,o,i,a,c,s,u){var d,l,_,h,y,E,$,g,m,k,b,N,w,v,U,j,Ze,G=t.type;if(t.constructor!=null)return null;128&n.__u&&(s=!!(32&n.__u),i=[c=t.__e=n.__e]),(d=p.__b)&&d(t);e:if(typeof G=="function")try{if(g=t.props,m="prototype"in G&&G.prototype.render,k=(d=G.contextType)&&r[d.__c],b=d?k?k.props.value:d.__:r,n.__c?$=(l=t.__c=n.__c).__=l.__E:(m?t.__c=l=new G(g,b):(t.__c=l=new q(g,b),l.constructor=G,l.render=So),k&&k.sub(l),l.props=g,l.state||(l.state={}),l.context=b,l.__n=r,_=l.__d=!0,l.__h=[],l._sb=[]),m&&l.__s==null&&(l.__s=l.state),m&&G.getDerivedStateFromProps!=null&&(l.__s==l.state&&(l.__s=Y({},l.__s)),Y(l.__s,G.getDerivedStateFromProps(g,l.__s))),h=l.props,y=l.state,l.__v=t,_)m&&G.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),m&&l.componentDidMount!=null&&l.__h.push(l.componentDidMount);else{if(m&&G.getDerivedStateFromProps==null&&g!==h&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(g,b),!l.__e&&l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(g,l.__s,b)===!1||t.__v==n.__v){for(t.__v!=n.__v&&(l.props=g,l.state=l.__s,l.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(Se){Se&&(Se.__=t)}),N=0;N<l._sb.length;N++)l.__h.push(l._sb[N]);l._sb=[],l.__h.length&&a.push(l);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(g,l.__s,b),m&&l.componentDidUpdate!=null&&l.__h.push(function(){l.componentDidUpdate(h,y,E)})}if(l.context=b,l.props=g,l.__P=e,l.__e=!1,w=p.__r,v=0,m){for(l.state=l.__s,l.__d=!1,w&&w(t),d=l.render(l.props,l.state,l.context),U=0;U<l._sb.length;U++)l.__h.push(l._sb[U]);l._sb=[]}else do l.__d=!1,w&&w(t),d=l.render(l.props,l.state,l.context),l.state=l.__s;while(l.__d&&++v<25);l.state=l.__s,l.getChildContext!=null&&(r=Y(Y({},r),l.getChildContext())),m&&!_&&l.getSnapshotBeforeUpdate!=null&&(E=l.getSnapshotBeforeUpdate(h,y)),j=d,d!=null&&d.type===B&&d.key==null&&(j=Ln(d.props.children)),c=xn(e,De(j)?j:[j],t,n,r,o,i,a,c,s,u),l.base=t.__e,t.__u&=-161,l.__h.length&&a.push(l),$&&(l.__E=l.__=null)}catch(Se){if(t.__v=null,s||i!=null)if(Se.then){for(t.__u|=s?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;i[i.indexOf(c)]=null,t.__e=c}else for(Ze=i.length;Ze--;)Tt(i[Ze]);else t.__e=n.__e,t.__k=n.__k;p.__e(Se,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=wo(n.__e,t,n,r,o,i,a,s,u);return(d=p.diffed)&&d(t),128&t.__u?void 0:c}function An(e,t,n){for(var r=0;r<n.length;r++)Lt(n[r],n[++r],n[++r]);p.__c&&p.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){p.__e(i,o.__v)}})}function Ln(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:De(e)?e.map(Ln):Y({},e)}function wo(e,t,n,r,o,i,a,c,s){var u,d,l,_,h,y,E,$=n.props,g=t.props,m=t.type;if(m=="svg"?o="http://www.w3.org/2000/svg":m=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((h=i[u])&&"setAttribute"in h==!!m&&(m?h.localName==m:h.nodeType==3)){e=h,i[u]=null;break}}if(e==null){if(m==null)return document.createTextNode(g);e=document.createElementNS(o,m,g.is&&g),c&&(p.__m&&p.__m(t,i),c=!1),i=null}if(m==null)$===g||c&&e.data==g||(e.data=g);else{if(i=i&&H.call(e.childNodes),$=n.props||Pe,!c&&i!=null)for($={},u=0;u<e.attributes.length;u++)$[(h=e.attributes[u]).name]=h.value;for(u in $)if(h=$[u],u!="children"){if(u=="dangerouslySetInnerHTML")l=h;else if(!(u in g)){if(u=="value"&&"defaultValue"in g||u=="checked"&&"defaultChecked"in g)continue;Je(e,u,null,h,o)}}for(u in g)h=g[u],u=="children"?_=h:u=="dangerouslySetInnerHTML"?d=h:u=="value"?y=h:u=="checked"?E=h:c&&typeof h!="function"||$[u]===h||Je(e,u,h,$[u],o);if(d)c||l&&(d.__html==l.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(l&&(e.innerHTML=""),xn(t.type=="template"?e.content:e,De(_)?_:[_],t,n,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&be(n,0),c,s),i!=null)for(u=i.length;u--;)Tt(i[u]);c||(u="value",m=="progress"&&y==null?e.removeAttribute("value"):y!=null&&(y!==e[u]||m=="progress"&&!y||m=="option"&&y!=$[u])&&Je(e,u,y,$[u],o),u="checked",E!=null&&E!=e[u]&&Je(e,u,E,$[u],o))}return e}function Lt(e,t,n){try{if(typeof e=="function"){var r=typeof e.__u=="function";r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(o){p.__e(o,n)}}function Pn(e,t,n){var r,o;if(p.unmount&&p.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||Lt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){p.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Pn(r[o],t,n||typeof e.type!="function");n||Tt(e.__e),e.__c=e.__=e.__e=void 0}function So(e,t,n){return this.constructor(e,n)}function ae(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),p.__&&p.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],At(t,e=(!r&&n||t).__k=D(B,null,[e]),o||Pe,Pe,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?H.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),An(i,e,a)}function Pt(e,t){ae(e,t,Pt)}function Dt(e,t,n){var r,o,i,a,c=Y({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:c[i]=t[i]==null&&a!=null?a[i]:t[i];return arguments.length>2&&(c.children=arguments.length>3?H.call(arguments,2):n),Me(e.type,c,r||e.key,o||e.ref,null)}function Dn(e){function t(n){var r,o;return this.getChildContext||(r=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(i){this.props.value!=i.value&&r.forEach(function(a){a.__e=!0,Rt(a)})},this.sub=function(i){r.add(i);var a=i.componentWillUnmount;i.componentWillUnmount=function(){r&&r.delete(i),a&&a.call(i)}}),n.children}return t.__c="__cC"+kn++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t}H=On.slice,p={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(c){e=c}throw e}},ue=0,q.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=Y({},this.state),typeof e=="function"&&(e=e(Y({},n),this.props)),e&&Y(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Rt(this))},q.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Rt(this))},q.prototype.render=B,fe=[],En=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,bn=function(e,t){return e.__v.__b-t.__v.__b},Ke.__r=0,$n=/(PointerCapture)$|Capture$/i,Nt=0,xt=Rn(!1),It=Rn(!0),kn=0;function Mt(){return(Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Eo=["context","children"];function bo(e){this.getChildContext=function(){return e.context};var t=e.children,n=function(r,o){if(r==null)return{};var i,a,c={},s=Object.keys(r);for(a=0;a<s.length;a++)o.indexOf(i=s[a])>=0||(c[i]=r[i]);return c}(e,Eo);return Dt(t,n)}function $o(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=D(bo,Mt({},this._props,{context:e.detail.context}),function t(n,r){if(n.nodeType===3)return n.data;if(n.nodeType!==1)return null;var o=[],i={},a=0,c=n.attributes,s=n.childNodes;for(a=c.length;a--;)c[a].name!=="slot"&&(i[c[a].name]=c[a].value,i[Mn(c[a].name)]=c[a].value);for(a=s.length;a--;){var u=t(s[a],null),d=s[a].slot;d?i[d]=D(Hn,{name:d},u):o[a]=u}var l=r?D(Hn,null,o):o;return D(r||n.nodeName.toLowerCase(),i,l)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?Pt:ae)(this._vdom,this._root)}function Mn(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function ko(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Mn(e)]=n,this._vdom=Dt(this._vdom,r),ae(this._vdom,this._root)}}function Oo(){ae(this._vdom=null,this._root)}function Hn(e,t){var n=this;return D("slot",Mt({},e,{ref:function(r){r?(n.ref=r,n._listener||(n._listener=function(o){o.stopPropagation(),o.detail.context=t},r.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function No(e,t,n,r){function o(){var i=Reflect.construct(HTMLElement,[],o);return i._vdomComponent=e,i._root=i,i}return(o.prototype=Object.create(HTMLElement.prototype)).constructor=o,o.prototype.connectedCallback=$o,o.prototype.attributeChangedCallback=ko,o.prototype.disconnectedCallback=Oo,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,n.forEach(function(i){Object.defineProperty(o.prototype,i,{get:function(){return this._vdom.props[i]},set:function(a){this._vdom?this.attributeChangedCallback(i,null,a):(this._props||(this._props={}),this._props[i]=a,this.connectedCallback());var c=typeof a;a!=null&&c!=="string"&&c!=="boolean"&&c!=="number"||this.setAttribute(i,a)}})}),customElements.define(t,o)}var xo=0;function f(e,t,n,r,o,i){t||(t={});var a,c,s=t;if("ref"in s)for(c in s={},t)c=="ref"?a=t[c]:s[c]=t[c];var u={type:e,props:s,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--xo,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(c in a)s[c]===void 0&&(s[c]=a[c]);return p.vnode&&p.vnode(u),u}const Fn={SWITCH_CAMERA:"switch-camera",TOGGLE_MIRROR:"toggle-mirror"};var de=(e=>(e.CAMERA_PROPS_CHANGED="face-auto-capture:camera-props-changed",e.CONTROL="face-auto-capture:control",e.DETECTED_FACE_CHANGED="face-auto-capture:detected-face-changed",e.FACE_DETECTION="face-auto-capture:face-detection",e.INSTRUCTION_CHANGED="face-auto-capture:instruction-changed",e.STATE_CHANGED="face-auto-capture:state-changed",e.VIDEO_ELEMENT_SIZE="face-auto-capture:video-element-size",e))(de||{});const Un={EYE_NOT_PRESENT:"eye_not_present"},L={CANDIDATE_SELECTION:"candidate_selection",FACE_TOO_CLOSE:"face_too_close",FACE_TOO_FAR:"face_too_far",FACE_CENTERING:"face_centering",FACE_NOT_PRESENT:"face_not_present",SHARPNESS_TOO_LOW:"sharpness_too_low",BRIGHTNESS_TOO_LOW:"brightness_too_low",BRIGHTNESS_TOO_HIGH:"brightness_too_high",DEVICE_PITCHED:"device_pitched",LEFT_EYE_NOT_PRESENT:`left_${Un.EYE_NOT_PRESENT}`,RIGHT_EYE_NOT_PRESENT:`right_${Un.EYE_NOT_PRESENT}`,MOUTH_NOT_PRESENT:"mouth_not_present",MOUTH_SCORE_TOO_HIGH:"mouth_score_too_high",MOUTH_SCORE_TOO_LOW:"mouth_score_too_low"},X={LOADING:"LOADING",ERROR:"ERROR",WAITING:"WAITING",RUNNING:"RUNNING"};var se,x,Ht,Bn,$e=0,Wn=[],T=p,zn=T.__b,jn=T.__r,Gn=T.diffed,Vn=T.__c,qn=T.unmount,Zn=T.__;function ke(e,t){T.__h&&T.__h(x,e,$e||t),$e=0;var n=x.__H||(x.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function W(e){return $e=1,Ft(Kn,e)}function Ft(e,t,n){var r=ke(se++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Kn(void 0,t),function(c){var s=r.__N?r.__N[0]:r.__[0],u=r.t(s,c);s!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=x,!x.__f)){var o=function(c,s,u){if(!r.__c.__H)return!0;var d=r.__c.__H.__.filter(function(_){return!!_.__c});if(d.every(function(_){return!_.__N}))return!i||i.call(this,c,s,u);var l=r.__c.props!==c;return d.forEach(function(_){if(_.__N){var h=_.__[0];_.__=_.__N,_.__N=void 0,h!==_.__[0]&&(l=!0)}}),i&&i.call(this,c,s,u)||l};x.__f=!0;var i=x.shouldComponentUpdate,a=x.componentWillUpdate;x.componentWillUpdate=function(c,s,u){if(this.__e){var d=i;i=void 0,o(c,s,u),i=d}a&&a.call(this,c,s,u)},x.shouldComponentUpdate=o}return r.__N||r.__}function ee(e,t){var n=ke(se++,3);!T.__s&&Bt(n.__H,t)&&(n.__=e,n.u=t,x.__H.__h.push(n))}function Oe(e,t){var n=ke(se++,4);!T.__s&&Bt(n.__H,t)&&(n.__=e,n.u=t,x.__h.push(n))}function He(e){return $e=5,te(function(){return{current:e}},[])}function Yn(e,t,n){$e=6,Oe(function(){if(typeof e=="function"){var r=e(t());return function(){e(null),r&&typeof r=="function"&&r()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function te(e,t){var n=ke(se++,7);return Bt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function he(e,t){return $e=8,te(function(){return e},t)}function Fe(e){var t=x.context[e.__c],n=ke(se++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(x)),t.props.value):e.__}function et(e,t){T.useDebugValue&&T.useDebugValue(t?t(e):e)}function Xn(){var e=ke(se++,11);if(!e.__){for(var t=x.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Io(){for(var e;e=Wn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(tt),e.__H.__h.forEach(Ut),e.__H.__h=[]}catch(t){e.__H.__h=[],T.__e(t,e.__v)}}T.__b=function(e){x=null,zn&&zn(e)},T.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Zn&&Zn(e,t)},T.__r=function(e){jn&&jn(e),se=0;var t=(x=e.__c).__H;t&&(Ht===x?(t.__h=[],x.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(tt),t.__h.forEach(Ut),t.__h=[],se=0)),Ht=x},T.diffed=function(e){Gn&&Gn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Wn.push(t)!==1&&Bn===T.requestAnimationFrame||((Bn=T.requestAnimationFrame)||To)(Io)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),Ht=x=null},T.__c=function(e,t){t.some(function(n){try{n.__h.forEach(tt),n.__h=n.__h.filter(function(r){return!r.__||Ut(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],T.__e(r,n.__v)}}),Vn&&Vn(e,t)},T.unmount=function(e){qn&&qn(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{tt(r)}catch(o){t=o}}),n.__H=void 0,t&&T.__e(t,n.__v))};var Qn=typeof requestAnimationFrame=="function";function To(e){var t,n=function(){clearTimeout(r),Qn&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Qn&&(t=requestAnimationFrame(n))}function tt(e){var t=x,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),x=t}function Ut(e){var t=x;e.__c=e.__(),x=t}function Bt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Kn(e,t){return typeof t=="function"?t(e):t}var P=function(){return P=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},P.apply(this,arguments)};function _e(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;function Ro(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ao=/^((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)-.*))$/,Lo=Ro(function(e){return Ao.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Jn(e,t){for(var n in t)e[n]=t[n];return e}function Wt(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function er(e,t){var n=t(),r=W({t:{__:n,u:t}}),o=r[0].t,i=r[1];return Oe(function(){o.__=n,o.u=t,zt(o)&&i({t:o})},[e,n,t]),ee(function(){return zt(o)&&i({t:o}),e(function(){zt(o)&&i({t:o})})},[e]),n}function zt(e){var t,n,r=e.u,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function tr(e){e()}function nr(e){return e}function rr(){return[!1,tr]}var or=Oe;function jt(e,t){this.props=e,this.context=t}function Po(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Wt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,D(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(jt.prototype=new q).isPureReactComponent=!0,jt.prototype.shouldComponentUpdate=function(e,t){return Wt(this.props,e)||Wt(this.state,t)};var ir=p.__b;p.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ir&&ir(e)};var Do=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Mo(e){function t(n){var r=Jn({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Do,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ar=function(e,t){return e==null?null:J(J(e).map(t))},Ho={map:ar,forEach:ar,count:function(e){return e?J(e).length:0},only:function(e){var t=J(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:J},Fo=p.__e;p.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Fo(e,t,n,r)};var sr=p.unmount;function cr(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Jn({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return cr(r,t,n)})),e}function lr(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return lr(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function nt(){this.__u=0,this.o=null,this.__b=null}function ur(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Uo(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return D(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Ue(){this.i=null,this.l=null}p.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),sr&&sr(e)},(nt.prototype=new q).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=ur(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 s=r.state.__a;r.__v.__k[0]=lr(s,s.__c.__P,s.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.o.pop();)u.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},nt.prototype.componentWillUnmount=function(){this.o=[]},nt.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]=cr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&D(B,null,e.fallback);return o&&(o.__u&=-33),[D(B,null,t.__a?null:e.children),o]};var fr=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Bo(e){return this.getChildContext=function(){return e.context},e.children}function Wo(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){ae(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},appendChild:function(o){this.childNodes.push(o),t.h.appendChild(o)},insertBefore:function(o,i){this.childNodes.push(o),t.h.insertBefore(o,i)},removeChild:function(o){this.childNodes.splice(this.childNodes.indexOf(o)>>>1,1),t.h.removeChild(o)}}}ae(D(Bo,{context:t.context},e.__v),t.v)}function zo(e,t){var n=D(Wo,{__v:e,h:t});return n.containerInfo=t,n}(Ue.prototype=new q).__a=function(e){var t=this,n=ur(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),fr(t,e,r)):o()};n?n(i):i()}},Ue.prototype.render=function(e){this.i=null,this.l=new Map;var t=J(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Ue.prototype.componentDidUpdate=Ue.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){fr(e,n,t)})};var dr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,jo=/^(?: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]/,Go=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Vo=/[A-Z0-9]/g,qo=typeof document<"u",Zo=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Yo(e,t,n){return t.__k==null&&(t.textContent=""),ae(e,t),typeof n=="function"&&n(),e?e.__c:null}function Xo(e,t,n){return Pt(e,t),typeof n=="function"&&n(),e?e.__c:null}q.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(q.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var hr=p.event;function Qo(){}function Ko(){return this.cancelBubble}function Jo(){return this.defaultPrevented}p.event=function(e){return hr&&(e=hr(e)),e.persist=Qo,e.isPropagationStopped=Ko,e.isDefaultPrevented=Jo,e.nativeEvent=e};var Gt,ei={enumerable:!1,configurable:!0,get:function(){return this.class}},_r=p.vnode;p.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var c=n[a];if(!(a==="value"&&"defaultValue"in n&&c==null||qo&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var s=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&c===!0?c="":s==="translate"&&c==="no"?c=!1:s[0]==="o"&&s[1]==="n"?s==="ondoubleclick"?a="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Zo(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":Go.test(a)&&(a=s):s=a="oninput":i&&jo.test(a)?a=a.replace(Vo,"-$&").toLowerCase():c===null&&(c=void 0),s==="oninput"&&o[a=s]&&(a="oninputCapture"),o[a]=c}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=J(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=J(n.children).forEach(function(u){u.props.selected=o.multiple?o.defaultValue.indexOf(u.props.value)!=-1:o.defaultValue==u.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",ei)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=dr,_r&&_r(e)};var pr=p.__r;p.__r=function(e){pr&&pr(e),Gt=e.__c};var mr=p.diffed;p.diffed=function(e){mr&&mr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Gt=null};var ti={ReactCurrentDispatcher:{current:{readContext:function(e){return Gt.__n[e.__c].props.value},useCallback:he,useContext:Fe,useDebugValue:et,useDeferredValue:nr,useEffect:ee,useId:Xn,useImperativeHandle:Yn,useInsertionEffect:or,useLayoutEffect:Oe,useMemo:te,useReducer:Ft,useRef:He,useState:W,useSyncExternalStore:er,useTransition:rr}}};function ni(e){return D.bind(null,e)}function rt(e){return!!e&&e.$$typeof===dr}function ri(e){return rt(e)&&e.type===B}function oi(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function ii(e){return rt(e)?Dt.apply(null,arguments):e}function ai(e){return!!e.__k&&(ae(null,e),!0)}function si(e){return e&&(e.base||e.nodeType===1&&e)||null}var ci=function(e,t){return e(t)},li=function(e,t){return e(t)},ui=B,fi=rt,ne={useState:W,useId:Xn,useReducer:Ft,useEffect:ee,useLayoutEffect:Oe,useInsertionEffect:or,useTransition:rr,useDeferredValue:nr,useSyncExternalStore:er,startTransition:tr,useRef:He,useImperativeHandle:Yn,useMemo:te,useCallback:he,useContext:Fe,useDebugValue:et,version:"18.3.1",Children:Ho,render:Yo,hydrate:Xo,unmountComponentAtNode:ai,createPortal:zo,createElement:D,createContext:Dn,createFactory:ni,cloneElement:ii,createRef:yo,Fragment:B,isValidElement:rt,isElement:fi,isFragment:ri,isMemo:oi,findDOMNode:si,Component:q,PureComponent:jt,memo:Po,forwardRef:Mo,flushSync:li,unstable_batchedUpdates:ci,StrictMode:ui,Suspense:nt,SuspenseList:Ue,lazy:Uo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ti};function di(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vt,gr;function hi(){return gr||(gr=1,Vt=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),c=Object.keys(n);if(a.length!==c.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var d=a[u];if(!s(d))return!1;var l=t[d],_=n[d];if(i=r?r.call(o,l,_,d):void 0,i===!1||i===void 0&&l!==_)return!1}return!0}),Vt}var _i=hi();const pi=di(_i);var I="-ms-",Be="-moz-",O="-webkit-",yr="comm",ot="rule",qt="decl",mi="@import",vr="@keyframes",gi="@layer",Cr=Math.abs,Zt=String.fromCharCode,Yt=Object.assign;function yi(e,t){return A(e,0)^45?(((t<<2^A(e,0))<<2^A(e,1))<<2^A(e,2))<<2^A(e,3):0}function wr(e){return e.trim()}function re(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function it(e,t,n){return e.indexOf(t,n)}function A(e,t){return e.charCodeAt(t)|0}function Ne(e,t,n){return e.slice(t,n)}function Q(e){return e.length}function Sr(e){return e.length}function We(e,t){return t.push(e),e}function vi(e,t){return e.map(t).join("")}function Er(e,t){return e.filter(function(n){return!re(n,t)})}var at=1,xe=1,br=0,z=0,R=0,Ie="";function st(e,t,n,r,o,i,a,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:at,column:xe,length:a,return:"",siblings:c}}function ce(e,t){return Yt(st("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Te(e){for(;e.root;)e=ce(e.root,{children:[e]});We(e,e.siblings)}function Ci(){return R}function wi(){return R=z>0?A(Ie,--z):0,xe--,R===10&&(xe=1,at--),R}function Z(){return R=z<br?A(Ie,z++):0,xe++,R===10&&(xe=1,at++),R}function pe(){return A(Ie,z)}function ct(){return z}function lt(e,t){return Ne(Ie,e,t)}function Xt(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 Si(e){return at=xe=1,br=Q(Ie=e),z=0,[]}function Ei(e){return Ie="",e}function Qt(e){return wr(lt(z-1,Kt(e===91?e+2:e===40?e+1:e)))}function bi(e){for(;(R=pe())&&R<33;)Z();return Xt(e)>2||Xt(R)>3?"":" "}function $i(e,t){for(;--t&&Z()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return lt(e,ct()+(t<6&&pe()==32&&Z()==32))}function Kt(e){for(;Z();)switch(R){case e:return z;case 34:case 39:e!==34&&e!==39&&Kt(R);break;case 40:e===41&&Kt(e);break;case 92:Z();break}return z}function ki(e,t){for(;Z()&&e+R!==57;)if(e+R===84&&pe()===47)break;return"/*"+lt(t,z-1)+"*"+Zt(e===47?e:Z())}function Oi(e){for(;!Xt(pe());)Z();return lt(e,z)}function Ni(e){return Ei(ut("",null,null,null,[""],e=Si(e),0,[0],e))}function ut(e,t,n,r,o,i,a,c,s){for(var u=0,d=0,l=a,_=0,h=0,y=0,E=1,$=1,g=1,m=0,k="",b=o,N=i,w=r,v=k;$;)switch(y=m,m=Z()){case 40:if(y!=108&&A(v,l-1)==58){it(v+=C(Qt(m),"&","&\f"),"&\f",Cr(u?c[u-1]:0))!=-1&&(g=-1);break}case 34:case 39:case 91:v+=Qt(m);break;case 9:case 10:case 13:case 32:v+=bi(y);break;case 92:v+=$i(ct()-1,7);continue;case 47:switch(pe()){case 42:case 47:We(xi(ki(Z(),ct()),t,n,s),s);break;default:v+="/"}break;case 123*E:c[u++]=Q(v)*g;case 125*E:case 59:case 0:switch(m){case 0:case 125:$=0;case 59+d:g==-1&&(v=C(v,/\f/g,"")),h>0&&Q(v)-l&&We(h>32?kr(v+";",r,n,l-1,s):kr(C(v," ","")+";",r,n,l-2,s),s);break;case 59:v+=";";default:if(We(w=$r(v,t,n,u,d,o,c,k,b=[],N=[],l,i),i),m===123)if(d===0)ut(v,t,w,w,b,i,l,c,N);else switch(_===99&&A(v,3)===110?100:_){case 100:case 108:case 109:case 115:ut(e,w,w,r&&We($r(e,w,w,0,0,o,c,k,o,b=[],l,N),N),o,N,l,c,r?b:N);break;default:ut(v,w,w,w,[""],N,0,c,N)}}u=d=h=0,E=g=1,k=v="",l=a;break;case 58:l=1+Q(v),h=y;default:if(E<1){if(m==123)--E;else if(m==125&&E++==0&&wi()==125)continue}switch(v+=Zt(m),m*E){case 38:g=d>0?1:(v+="\f",-1);break;case 44:c[u++]=(Q(v)-1)*g,g=1;break;case 64:pe()===45&&(v+=Qt(Z())),_=pe(),d=l=Q(k=v+=Oi(ct())),m++;break;case 45:y===45&&Q(v)==2&&(E=0)}}return i}function $r(e,t,n,r,o,i,a,c,s,u,d,l){for(var _=o-1,h=o===0?i:[""],y=Sr(h),E=0,$=0,g=0;E<r;++E)for(var m=0,k=Ne(e,_+1,_=Cr($=a[E])),b=e;m<y;++m)(b=wr($>0?h[m]+" "+k:C(k,/&\f/g,h[m])))&&(s[g++]=b);return st(e,t,n,o===0?ot:c,s,u,d,l)}function xi(e,t,n,r){return st(e,t,n,yr,Zt(Ci()),Ne(e,2,-2),0,r)}function kr(e,t,n,r,o){return st(e,t,n,qt,Ne(e,0,r),Ne(e,r+1,-1),r,o)}function Or(e,t,n){switch(yi(e,t)){case 5103:return O+"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 O+e+e;case 4789:return Be+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+Be+e+I+e+e;case 5936:switch(A(e,t+11)){case 114:return O+e+I+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+I+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+I+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return O+e+I+e+e;case 6165:return O+e+I+"flex-"+e+e;case 5187:return O+e+C(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+I+"flex-$1$2")+e;case 5443:return O+e+I+"flex-item-"+C(e,/flex-|-self/g,"")+(re(e,/flex-|baseline/)?"":I+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return O+e+I+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return O+e+I+C(e,"shrink","negative")+e;case 5292:return O+e+I+C(e,"basis","preferred-size")+e;case 6060:return O+"box-"+C(e,"-grow","")+O+e+I+C(e,"grow","positive")+e;case 4554:return O+C(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+I+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4200:if(!re(e,/flex-|baseline/))return I+"grid-column-align"+Ne(e,t)+e;break;case 2592:case 3360:return I+C(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,re(r.props,/grid-\w+-end/)})?~it(e+(n=n[t].value),"span",0)?e:I+C(e,"-start","")+e+I+"grid-row-span:"+(~it(n,"span",0)?re(n,/\d+/):+re(n,/\d+/)-+re(e,/\d+/))+";":I+C(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return re(r.props,/grid-\w+-start/)})?e:I+C(C(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,O+"$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(Q(e)-1-t>6)switch(A(e,t+1)){case 109:if(A(e,t+4)!==45)break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+Be+(A(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~it(e,"stretch",0)?Or(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,a,c,s,u){return I+o+":"+i+u+(a?I+o+"-span:"+(c?s:+s-+i)+u:"")+e});case 4949:if(A(e,t+6)===121)return C(e,":",":"+O)+e;break;case 6444:switch(A(e,A(e,14)===45?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+O+(A(e,14)===45?"inline-":"")+"box$3$1"+O+"$2$3$1"+I+"$2box$3")+e;case 100:return C(e,":",":"+I)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function ft(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Ii(e,t,n,r){switch(e.type){case gi:if(e.children.length)break;case mi:case qt:return e.return=e.return||e.value;case yr:return"";case vr:return e.return=e.value+"{"+ft(e.children,r)+"}";case ot:if(!Q(e.value=e.props.join(",")))return""}return Q(n=ft(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ti(e){var t=Sr(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function Ri(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ai(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case qt:e.return=Or(e.value,e.length,n);return;case vr:return ft([ce(e,{value:C(e.value,"@","@"+O)})],r);case ot:if(e.length)return vi(n=e.props,function(o){switch(re(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Te(ce(e,{props:[C(o,/:(read-\w+)/,":"+Be+"$1")]})),Te(ce(e,{props:[o]})),Yt(e,{props:Er(n,r)});break;case"::placeholder":Te(ce(e,{props:[C(o,/:(plac\w+)/,":"+O+"input-$1")]})),Te(ce(e,{props:[C(o,/:(plac\w+)/,":"+Be+"$1")]})),Te(ce(e,{props:[C(o,/:(plac\w+)/,I+"input-$1")]})),Te(ce(e,{props:[o]})),Yt(e,{props:Er(n,r)});break}return""})}}var Li={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},S={},me=typeof process<"u"&&S!==void 0&&(S.REACT_APP_SC_ATTR||S.SC_ATTR)||"data-styled",Nr="active",xr="data-styled-version",dt="6.1.18",Jt=`/*!sc*/
`,ht=typeof window<"u"&&typeof document<"u",Pi=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&S!==void 0&&S.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&S.REACT_APP_SC_DISABLE_SPEEDY!==""?S.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&S.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&S!==void 0&&S.SC_DISABLE_SPEEDY!==void 0&&S.SC_DISABLE_SPEEDY!==""?S.SC_DISABLE_SPEEDY!=="false"&&S.SC_DISABLE_SPEEDY:S.NODE_ENV!=="production"),Ir=/invalid hook call/i,_t=new Set,Di=function(e,t){if(S.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
`)+`You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
`,o=console.error;try{var i=!0;console.error=function(a){for(var c=[],s=1;s<arguments.length;s++)c[s-1]=arguments[s];Ir.test(a)?(i=!1,_t.delete(r)):o.apply(void 0,_e([a],c,!1))},He(),i&&!_t.has(r)&&(console.warn(r),_t.add(r))}catch(a){Ir.test(a.message)&&_t.delete(r)}finally{console.error=o}}},pt=Object.freeze([]),Re=Object.freeze({});function Mi(e,t,n){return n===void 0&&(n=Re),e.theme!==n.theme&&e.theme||t||n.theme}var en=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Hi=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Fi=/(^-|-$)/g;function Tr(e){return e.replace(Hi,"-").replace(Fi,"")}var Ui=/(a)(d)/gi,mt=52,Rr=function(e){return String.fromCharCode(e+(e>25?39:97))};function tn(e){var t,n="";for(t=Math.abs(e);t>mt;t=t/mt|0)n=Rr(t%mt)+n;return(Rr(t%mt)+n).replace(Ui,"$1-$2")}var nn,Ar=5381,ge=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Lr=function(e){return ge(Ar,e)};function Pr(e){return tn(Lr(e)>>>0)}function Dr(e){return S.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function rn(e){return typeof e=="string"&&(S.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Mr=typeof Symbol=="function"&&Symbol.for,Hr=Mr?Symbol.for("react.memo"):60115,Bi=Mr?Symbol.for("react.forward_ref"):60112,Wi={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zi={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Fr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ji=((nn={})[Bi]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},nn[Hr]=Fr,nn);function Ur(e){return("type"in(t=e)&&t.type.$$typeof)===Hr?Fr:"$$typeof"in e?ji[e.$$typeof]:Wi;var t}var Gi=Object.defineProperty,Vi=Object.getOwnPropertyNames,Br=Object.getOwnPropertySymbols,qi=Object.getOwnPropertyDescriptor,Zi=Object.getPrototypeOf,Wr=Object.prototype;function zr(e,t,n){if(typeof t!="string"){if(Wr){var r=Zi(t);r&&r!==Wr&&zr(e,r,n)}var o=Vi(t);Br&&(o=o.concat(Br(t)));for(var i=Ur(e),a=Ur(t),c=0;c<o.length;++c){var s=o[c];if(!(s in zi||n&&n[s]||a&&s in a||i&&s in i)){var u=qi(t,s);try{Gi(e,s,u)}catch{}}}}return e}function ye(e){return typeof e=="function"}function on(e){return typeof e=="object"&&"styledComponentId"in e}function ve(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function an(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Ae(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function sn(e,t,n){if(n===void 0&&(n=!1),!n&&!Ae(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=sn(e[r],t[r]);else if(Ae(t))for(var r in t)e[r]=sn(e[r],t[r]);return e}function cn(e,t){Object.defineProperty(e,"toString",{value:t})}var Yi=S.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
- Are you trying to reuse it across renders?
- Are you accidentally calling collectStyles twice?
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
- Does this error occur on the client and is your target falsy?
- Does this error occur on the server and is the sheet falsy?
`,5:`The clone method cannot be used on the client!
- Are you running in a client-like environment on the server?
- Are you trying to run SSR on the client?
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
- Are you using a custom target that isn't mounted?
- Does your document not have a valid head element?
- Have you accidentally removed a style tag manually?
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
`,14:`ThemeProvider: "theme" prop is required.
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
You may only create up to 1,073,741,824 component