@innovatrics/dot-auto-capture-ui
Version:
Digital onboarding UI
41 lines (26 loc) • 90.9 kB
JavaScript
(function(ae){typeof define=="function"&&define.amd?define(ae):ae()})((function(){"use strict";var ae,C,wn,_e,bn,$n,On,kn,Tt,Rt,It,Nn,De={},Tn=[],Eo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Me=Array.isArray;function q(e,t){for(var n in t)e[n]=t[n];return e}function xt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function F(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?ae.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return Fe(e,a,r,o,null)}function Fe(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??++wn,__i:-1,__u:0};return o==null&&C.vnode!=null&&C.vnode(i),i}function So(){return{current:null}}function H(e){return e.children}function V(e,t){this.props=e,this.context=t}function Se(e,t){if(t==null)return e.__?Se(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"?Se(e):null}function Rn(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 Rn(e)}}function At(e){(!e.__d&&(e.__d=!0)&&_e.push(e)&&!Je.__r++||bn!=C.debounceRendering)&&((bn=C.debounceRendering)||$n)(Je)}function Je(){for(var e,t,n,r,o,i,a,s=1;_e.length;)_e.length>s&&_e.sort(On),e=_e.shift(),s=_e.length,e.__d&&(n=void 0,r=void 0,o=(r=(t=e).__v).__e,i=[],a=[],t.__P&&((n=q({},r)).__v=r.__v+1,C.vnode&&C.vnode(n),Pt(t.__P,n,r,t.__n,t.__P.namespaceURI,32&r.__u?[o]:null,i,o??Se(r),!!(32&r.__u),a),n.__v=r.__v,n.__.__k[n.__i]=n,Ln(i,n,a),r.__e=r.__=null,n.__e!=o&&Rn(n)));Je.__r=0}function In(e,t,n,r,o,i,a,s,l,u,f){var c,_,d,p,y,S,g,m=r&&r.__k||Tn,b=t.length;for(l=wo(n,t,m,l,b),c=0;c<b;c++)(d=n.__k[c])!=null&&(_=d.__i==-1?De:m[d.__i]||De,d.__i=c,S=Pt(e,d,_,o,i,a,s,l,u,f),p=d.__e,d.ref&&_.ref!=d.ref&&(_.ref&&Dt(_.ref,null,d),f.push(d.ref,d.__c||p,d)),y==null&&p!=null&&(y=p),(g=!!(4&d.__u))||_.__k===d.__k?l=xn(d,l,e,g):typeof d.type=="function"&&S!==void 0?l=S:p&&(l=p.nextSibling),d.__u&=-7);return n.__e=y,l}function wo(e,t,n,r,o){var i,a,s,l,u,f=n.length,c=f,_=0;for(e.__k=new Array(o),i=0;i<o;i++)(a=t[i])!=null&&typeof a!="boolean"&&typeof a!="function"?(typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?a=e.__k[i]=Fe(null,a,null,null,null):Me(a)?a=e.__k[i]=Fe(H,{children:a},null,null,null):a.constructor==null&&a.__b>0?a=e.__k[i]=Fe(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[i]=a,l=i+_,a.__=e,a.__b=e.__b+1,s=null,(u=a.__i=bo(a,n,l,c))!=-1&&(c--,(s=n[u])&&(s.__u|=2)),s==null||s.__v==null?(u==-1&&(o>f?_--:o<f&&_++),typeof a.type!="function"&&(a.__u|=4)):u!=l&&(u==l-1?_--:u==l+1?_++:(u>l?_--:_++,a.__u|=4))):e.__k[i]=null;if(c)for(i=0;i<f;i++)(s=n[i])!=null&&(2&s.__u)==0&&(s.__e==r&&(r=Se(s)),Mn(s,s));return r}function xn(e,t,n,r){var o,i;if(typeof e.type=="function"){for(o=e.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=e,t=xn(o[i],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=Se(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function Q(e,t){return t=t||[],e==null||typeof e=="boolean"||(Me(e)?e.some(function(n){Q(n,t)}):t.push(e)),t}function bo(e,t,n,r){var o,i,a,s=e.key,l=e.type,u=t[n],f=u!=null&&(2&u.__u)==0;if(u===null&&s==null||f&&s==u.key&&l==u.type)return n;if(r>(f?1:0)){for(o=n-1,i=n+1;o>=0||i<t.length;)if((u=t[a=o>=0?o--:i++])!=null&&(2&u.__u)==0&&s==u.key&&l==u.type)return a}return-1}function An(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Eo.test(t)?n:n+"px"}function Qe(e,t,n,r,o){var i,a;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||An(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||An(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")i=t!=(t=t.replace(kn,"$1")),a=t.toLowerCase(),t=a in e||t=="onFocusOut"||t=="onFocusIn"?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Tt,e.addEventListener(t,i?It:Rt,i)):e.removeEventListener(t,i?It:Rt,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 Pn(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Tt++;else if(t.t<n.u)return;return n(C.event?C.event(t):t)}}}function Pt(e,t,n,r,o,i,a,s,l,u){var f,c,_,d,p,y,S,g,m,b,O,N,w,v,z,G,Ye,W=t.type;if(t.constructor!=null)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=C.__b)&&f(t);e:if(typeof W=="function")try{if(g=t.props,m="prototype"in W&&W.prototype.render,b=(f=W.contextType)&&r[f.__c],O=f?b?b.props.value:f.__:r,n.__c?S=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new W(g,O):(t.__c=c=new V(g,O),c.constructor=W,c.render=Oo),b&&b.sub(c),c.state||(c.state={}),c.__n=r,_=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&W.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=q({},c.__s)),q(c.__s,W.getDerivedStateFromProps(g,c.__s))),d=c.props,p=c.state,c.__v=t,_)m&&W.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&W.getDerivedStateFromProps==null&&g!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(g,O),t.__v==n.__v||!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(g,c.__s,O)===!1){for(t.__v!=n.__v&&(c.props=g,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(fe){fe&&(fe.__=t)}),N=0;N<c._sb.length;N++)c.__h.push(c._sb[N]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(g,c.__s,O),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,p,y)})}if(c.context=O,c.props=g,c.__P=e,c.__e=!1,w=C.__r,v=0,m){for(c.state=c.__s,c.__d=!1,w&&w(t),f=c.render(c.props,c.state,c.context),z=0;z<c._sb.length;z++)c.__h.push(c._sb[z]);c._sb=[]}else do c.__d=!1,w&&w(t),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++v<25);c.state=c.__s,c.getChildContext!=null&&(r=q(q({},r),c.getChildContext())),m&&!_&&c.getSnapshotBeforeUpdate!=null&&(y=c.getSnapshotBeforeUpdate(d,p)),G=f,f!=null&&f.type===H&&f.key==null&&(G=Dn(f.props.children)),s=In(e,Me(G)?G:[G],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),S&&(c.__E=c.__=null)}catch(fe){if(t.__v=null,l||i!=null)if(fe.then){for(t.__u|=l?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;i[i.indexOf(s)]=null,t.__e=s}else{for(Ye=i.length;Ye--;)xt(i[Ye]);Lt(t)}else t.__e=n.__e,t.__k=n.__k,fe.then||Lt(t);C.__e(fe,t,n)}else i==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=$o(n.__e,t,n,r,o,i,a,l,u);return(f=C.diffed)&&f(t),128&t.__u?void 0:s}function Lt(e){e&&e.__c&&(e.__c.__e=!0),e&&e.__k&&e.__k.forEach(Lt)}function Ln(e,t,n){for(var r=0;r<n.length;r++)Dt(n[r],n[++r],n[++r]);C.__c&&C.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){C.__e(i,o.__v)}})}function Dn(e){return typeof e!="object"||e==null||e.__b&&e.__b>0?e:Me(e)?e.map(Dn):q({},e)}function $o(e,t,n,r,o,i,a,s,l){var u,f,c,_,d,p,y,S=n.props||De,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((d=i[u])&&"setAttribute"in d==!!m&&(m?d.localName==m:d.nodeType==3)){e=d,i[u]=null;break}}if(e==null){if(m==null)return document.createTextNode(g);e=document.createElementNS(o,m,g.is&&g),s&&(C.__m&&C.__m(t,i),s=!1),i=null}if(m==null)S===g||s&&e.data==g||(e.data=g);else{if(i=i&&ae.call(e.childNodes),!s&&i!=null)for(S={},u=0;u<e.attributes.length;u++)S[(d=e.attributes[u]).name]=d.value;for(u in S)if(d=S[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(!(u in g)){if(u=="value"&&"defaultValue"in g||u=="checked"&&"defaultChecked"in g)continue;Qe(e,u,null,d,o)}}for(u in g)d=g[u],u=="children"?_=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?p=d:u=="checked"?y=d:s&&typeof d!="function"||S[u]===d||Qe(e,u,d,S[u],o);if(f)s||c&&(f.__html==c.__html||f.__html==e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),In(t.type=="template"?e.content:e,Me(_)?_:[_],t,n,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Se(n,0),s,l),i!=null)for(u=i.length;u--;)xt(i[u]);s||(u="value",m=="progress"&&p==null?e.removeAttribute("value"):p!=null&&(p!==e[u]||m=="progress"&&!p||m=="option"&&p!=S[u])&&Qe(e,u,p,S[u],o),u="checked",y!=null&&y!=e[u]&&Qe(e,u,y,S[u],o))}return e}function Dt(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){C.__e(o,n)}}function Mn(e,t,n){var r,o;if(C.unmount&&C.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||Dt(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){C.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Mn(r[o],t,n||typeof e.type!="function");n||xt(e.__e),e.__c=e.__=e.__e=void 0}function Oo(e,t,n){return this.constructor(e,n)}function se(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),C.__&&C.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],Pt(t,e=(!r&&n||t).__k=F(H,null,[e]),o||De,De,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?ae.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Ln(i,e,a)}function Mt(e,t){se(e,t,Mt)}function Ft(e,t,n){var r,o,i,a,s=q({},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]:s[i]=t[i]===void 0&&a!=null?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?ae.call(arguments,2):n),Fe(e.type,s,r||e.key,o||e.ref,null)}function Fn(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,At(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"+Nn++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,r){return n.children(r)}).contextType=t,t}ae=Tn.slice,C={__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(s){e=s}throw e}},wn=0,V.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=q({},this.state),typeof e=="function"&&(e=e(q({},n),this.props)),e&&q(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),At(this))},V.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),At(this))},V.prototype.render=H,_e=[],$n=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,On=function(e,t){return e.__v.__b-t.__v.__b},Je.__r=0,kn=/(PointerCapture)$|Capture$/i,Tt=0,Rt=Pn(!1),It=Pn(!0),Nn=0;function et(){return et=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},et.apply(this,arguments)}function Hn(e,t){if(e==null)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}var ko=["context","children"],No=["useFragment"];function To(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=function(){Io.call(this,r)},o.prototype.attributeChangedCallback=xo,o.prototype.disconnectedCallback=Ao,n=n||e.observedAttributes||Object.keys(e.propTypes||{}),o.observedAttributes=n,e.formAssociated&&(o.formAssociated=!0),n.forEach(function(i){Object.defineProperty(o.prototype,i,{get:function(){return this._vdom?this._vdom.props[i]:this._props[i]},set:function(a){this._vdom?this.attributeChangedCallback(i,null,a):(this._props||(this._props={}),this._props[i]=a);var s=typeof a;a!=null&&s!=="string"&&s!=="boolean"&&s!=="number"||this.setAttribute(i,a)}})}),customElements.define(t,o),o}function Ro(e){this.getChildContext=function(){return e.context};var t=e.children,n=Hn(e,ko);return Ft(t,n)}function Io(e){var t=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(t),this._vdom=F(Ro,et({},this._props,{context:t.detail.context}),Bn(this,this._vdomComponent,e)),(this.hasAttribute("hydrate")?Mt:se)(this._vdom,this._root)}function Un(e){return e.replace(/-(\w)/g,function(t,n){return n?n.toUpperCase():""})}function xo(e,t,n){if(this._vdom){var r={};r[e]=n=n??void 0,r[Un(e)]=n,this._vdom=Ft(this._vdom,r),se(this._vdom,this._root)}}function Ao(){se(this._vdom=null,this._root)}function zn(e,t){var n=this,r=e.useFragment,o=Hn(e,No);return F(r?H:"slot",et({},o,{ref:function(i){i?(n.ref=i,n._listener||(n._listener=function(a){a.stopPropagation(),a.detail.context=t},i.addEventListener("_preact",n._listener))):n.ref.removeEventListener("_preact",n._listener)}}))}function Bn(e,t,n){if(e.nodeType===3)return e.data;if(e.nodeType!==1)return null;var r=[],o={},i=0,a=e.attributes,s=e.childNodes;for(i=a.length;i--;)a[i].name!=="slot"&&(o[a[i].name]=a[i].value,o[Un(a[i].name)]=a[i].value);for(i=s.length;i--;){var l=Bn(s[i],null,n),u=s[i].slot;u?o[u]=F(zn,{name:u},l):r[i]=l}var f=!(!n||!n.shadow),c=t?F(zn,{useFragment:!f},r):r;return!f&&t&&(e.innerHTML=""),F(t||e.nodeName.toLowerCase(),o,c)}var Po=0;function h(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Po,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return C.vnode&&C.vnode(u),u}const Gn={SWITCH_CAMERA:"switch-camera",TOGGLE_MIRROR:"toggle-mirror"},ce={DETECTION_CHANGED:"multi-range-auto-capture:detection-changed",CAMERA_PROPS_CHANGED:"multi-range-auto-capture:camera-props-changed",CONTROL:"multi-range-auto-capture:control",INSTRUCTION_CHANGED:"multi-range-auto-capture:instruction-changed",VIDEO_ELEMENT_SIZE:"multi-range-auto-capture:video-element-size",CHALLENGE_VALUE_CHANGED:"multi-range-auto-capture:challenge-value-changed",STATE_CHANGED:"multi-range-auto-capture:state-changed"},P={LOADING:"loading",ERROR:"error",WAITING:"waiting",RUNNING:"running",COMPLETE:"complete",BLURRED:"blurred"},Wn={EYE_NOT_PRESENT:"eye_not_present"},U={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_${Wn.EYE_NOT_PRESENT}`,RIGHT_EYE_NOT_PRESENT:`right_${Wn.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"},we={CANDIDATE_SELECTION:"candidate_selection",FACE_TOO_CLOSE:"face_too_close",FACE_TOO_FAR:"face_too_far",FACE_NOT_PRESENT:"face_not_present"},be={ZERO:"ZERO",ONE:"ONE",TWO:"TWO",THREE:"THREE",FOUR:"FOUR",FIVE:"FIVE"};var le,T,Ht,jn,$e=0,Vn=[],I=C,Zn=I.__b,Yn=I.__r,qn=I.diffed,Xn=I.__c,Kn=I.unmount,Jn=I.__;function Oe(e,t){I.__h&&I.__h(T,e,$e||t),$e=0;var n=T.__H||(T.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function L(e){return $e=1,Ut(nr,e)}function Ut(e,t,n){var r=Oe(le++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):nr(void 0,t),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=T,!T.__f)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(_){return!!_.__c});if(f.every(function(_){return!_.__N}))return!i||i.call(this,s,l,u);var c=r.__c.props!==s;return f.forEach(function(_){if(_.__N){var d=_.__[0];_.__=_.__N,_.__N=void 0,d!==_.__[0]&&(c=!0)}}),i&&i.call(this,s,l,u)||c};T.__f=!0;var i=T.shouldComponentUpdate,a=T.componentWillUpdate;T.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},T.shouldComponentUpdate=o}return r.__N||r.__}function X(e,t){var n=Oe(le++,3);!I.__s&&Bt(n.__H,t)&&(n.__=e,n.u=t,T.__H.__h.push(n))}function ke(e,t){var n=Oe(le++,4);!I.__s&&Bt(n.__H,t)&&(n.__=e,n.u=t,T.__h.push(n))}function He(e){return $e=5,ee(function(){return{current:e}},[])}function Qn(e,t,n){$e=6,ke(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 ee(e,t){var n=Oe(le++,7);return Bt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Z(e,t){return $e=8,ee(function(){return e},t)}function Ue(e){var t=T.context[e.__c],n=Oe(le++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(T)),t.props.value):e.__}function tt(e,t){I.useDebugValue&&I.useDebugValue(t?t(e):e)}function er(){var e=Oe(le++,11);if(!e.__){for(var t=T.__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 Lo(){for(var e;e=Vn.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(nt),e.__H.__h.forEach(zt),e.__H.__h=[]}catch(t){e.__H.__h=[],I.__e(t,e.__v)}}I.__b=function(e){T=null,Zn&&Zn(e)},I.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Jn&&Jn(e,t)},I.__r=function(e){Yn&&Yn(e),le=0;var t=(T=e.__c).__H;t&&(Ht===T?(t.__h=[],T.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(nt),t.__h.forEach(zt),t.__h=[],le=0)),Ht=T},I.diffed=function(e){qn&&qn(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Vn.push(t)!==1&&jn===I.requestAnimationFrame||((jn=I.requestAnimationFrame)||Do)(Lo)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),Ht=T=null},I.__c=function(e,t){t.some(function(n){try{n.__h.forEach(nt),n.__h=n.__h.filter(function(r){return!r.__||zt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],I.__e(r,n.__v)}}),Xn&&Xn(e,t)},I.unmount=function(e){Kn&&Kn(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{nt(r)}catch(o){t=o}}),n.__H=void 0,t&&I.__e(t,n.__v))};var tr=typeof requestAnimationFrame=="function";function Do(e){var t,n=function(){clearTimeout(r),tr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);tr&&(t=requestAnimationFrame(n))}function nt(e){var t=T,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),T=t}function zt(e){var t=T;e.__c=e.__(),T=t}function Bt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function nr(e,t){return typeof t=="function"?t(e):t}var D=function(){return D=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},D.apply(this,arguments)};function he(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 Mo(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Fo=/^((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)-.*))$/,Ho=Mo(function(e){return Fo.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function rr(e,t){for(var n in t)e[n]=t[n];return e}function Gt(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 or(e,t){var n=t(),r=L({t:{__:n,u:t}}),o=r[0].t,i=r[1];return ke(function(){o.__=n,o.u=t,Wt(o)&&i({t:o})},[e,n,t]),X(function(){return Wt(o)&&i({t:o}),e(function(){Wt(o)&&i({t:o})})},[e]),n}function Wt(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 ir(e){e()}function ar(e){return e}function sr(){return[!1,ir]}var cr=ke;function jt(e,t){this.props=e,this.context=t}function Uo(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:Gt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,F(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}(jt.prototype=new V).isPureReactComponent=!0,jt.prototype.shouldComponentUpdate=function(e,t){return Gt(this.props,e)||Gt(this.state,t)};var lr=C.__b;C.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),lr&&lr(e)};var zo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Bo(e){function t(n){var r=rr({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=zo,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ur=function(e,t){return e==null?null:Q(Q(e).map(t))},Go={map:ur,forEach:ur,count:function(e){return e?Q(e).length:0},only:function(e){var t=Q(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Q},Wo=C.__e;C.__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)}Wo(e,t,n,r)};var fr=C.unmount;function dr(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=rr({},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 dr(r,t,n)})),e}function _r(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return _r(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 rt(){this.__u=0,this.o=null,this.__b=null}function hr(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function jo(e){var t,n,r,o=null;function i(a){if(t||(t=e()).then(function(s){s&&(o=s.default||s),r=!0},function(s){n=s,r=!0}),n)throw n;if(!r)throw t;return o?F(o,a):null}return i.displayName="Lazy",i.__f=!0,i}function ze(){this.i=null,this.l=null}C.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),fr&&fr(e)},(rt.prototype=new V).__c=function(e,t){var n=t.__c,r=this;r.o==null&&(r.o=[]),r.o.push(n);var o=hr(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=_r(l,l.__c.__P,l.__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)},rt.prototype.componentWillUnmount=function(){this.o=[]},rt.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]=dr(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&F(H,null,e.fallback);return o&&(o.__u&=-33),[F(H,null,t.__a?null:e.children),o]};var pr=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 Vo(e){return this.getChildContext=function(){return e.context},e.children}function Zo(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){se(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},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)}}}se(F(Vo,{context:t.context},e.__v),t.v)}function Yo(e,t){var n=F(Zo,{__v:e,h:t});return n.containerInfo=t,n}(ze.prototype=new V).__a=function(e){var t=this,n=hr(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),pr(t,e,r)):o()};n?n(i):i()}},ze.prototype.render=function(e){this.i=null,this.l=new Map;var t=Q(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},ze.prototype.componentDidUpdate=ze.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){pr(e,n,t)})};var mr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,qo=/^(?: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]/,Xo=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ko=/[A-Z0-9]/g,Jo=typeof document<"u",Qo=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ei(e,t,n){return t.__k==null&&(t.textContent=""),se(e,t),typeof n=="function"&&n(),e?e.__c:null}function ti(e,t,n){return Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}V.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(V.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var gr=C.event;function ni(){}function ri(){return this.cancelBubble}function oi(){return this.defaultPrevented}C.event=function(e){return gr&&(e=gr(e)),e.persist=ni,e.isPropagationStopped=ri,e.isDefaultPrevented=oi,e.nativeEvent=e};var Vt,ii={enumerable:!1,configurable:!0,get:function(){return this.class}},yr=C.vnode;C.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 s=n[a];if(!(a==="value"&&"defaultValue"in n&&s==null||Jo&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var l=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&s===!0?s="":l==="translate"&&s==="no"?s=!1:l[0]==="o"&&l[1]==="n"?l==="ondoubleclick"?a="ondblclick":l!=="onchange"||r!=="input"&&r!=="textarea"||Qo(n.type)?l==="onfocus"?a="onfocusin":l==="onblur"?a="onfocusout":Xo.test(a)&&(a=l):l=a="oninput":i&&qo.test(a)?a=a.replace(Ko,"-$&").toLowerCase():s===null&&(s=void 0),l==="oninput"&&o[a=l]&&(a="oninputCapture"),o[a]=s}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Q(n.children).forEach(function(u){u.props.selected=o.value.indexOf(u.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Q(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",ii)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o})(e),e.$$typeof=mr,yr&&yr(e)};var vr=C.__r;C.__r=function(e){vr&&vr(e),Vt=e.__c};var Cr=C.diffed;C.diffed=function(e){Cr&&Cr(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),Vt=null};var ai={ReactCurrentDispatcher:{current:{readContext:function(e){return Vt.__n[e.__c].props.value},useCallback:Z,useContext:Ue,useDebugValue:tt,useDeferredValue:ar,useEffect:X,useId:er,useImperativeHandle:Qn,useInsertionEffect:cr,useLayoutEffect:ke,useMemo:ee,useReducer:Ut,useRef:He,useState:L,useSyncExternalStore:or,useTransition:sr}}};function si(e){return F.bind(null,e)}function ot(e){return!!e&&e.$$typeof===mr}function ci(e){return ot(e)&&e.type===H}function li(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function ui(e){return ot(e)?Ft.apply(null,arguments):e}function fi(e){return!!e.__k&&(se(null,e),!0)}function di(e){return e&&(e.base||e.nodeType===1&&e)||null}var _i=function(e,t){return e(t)},hi=function(e,t){return e(t)},pi=H,mi=ot,te={useState:L,useId:er,useReducer:Ut,useEffect:X,useLayoutEffect:ke,useInsertionEffect:cr,useTransition:sr,useDeferredValue:ar,useSyncExternalStore:or,startTransition:ir,useRef:He,useImperativeHandle:Qn,useMemo:ee,useCallback:Z,useContext:Ue,useDebugValue:tt,version:"18.3.1",Children:Go,render:ei,hydrate:ti,unmountComponentAtNode:fi,createPortal:Yo,createElement:F,createContext:Fn,createFactory:si,cloneElement:ui,createRef:So,Fragment:H,isValidElement:ot,isElement:mi,isFragment:ci,isMemo:li,findDOMNode:di,Component:V,PureComponent:jt,memo:Uo,forwardRef:Bo,flushSync:hi,unstable_batchedUpdates:_i,StrictMode:pi,Suspense:rt,SuspenseList:ze,lazy:jo,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ai};function gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zt,Er;function yi(){return Er||(Er=1,Zt=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),s=Object.keys(n);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var f=a[u];if(!l(f))return!1;var c=t[f],_=n[f];if(i=r?r.call(o,c,_,f):void 0,i===!1||i===void 0&&c!==_)return!1}return!0}),Zt}var vi=yi();const Ci=gi(vi);var R="-ms-",Be="-moz-",k="-webkit-",Sr="comm",it="rule",Yt="decl",Ei="@import",wr="@keyframes",Si="@layer",br=Math.abs,qt=String.fromCharCode,Xt=Object.assign;function wi(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 $r(e){return e.trim()}function ne(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,n){return e.replace(t,n)}function at(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 K(e){return e.length}function Or(e){return e.length}function Ge(e,t){return t.push(e),e}function bi(e,t){return e.map(t).join("")}function kr(e,t){return e.filter(function(n){return!ne(n,t)})}var st=1,Te=1,Nr=0,B=0,x=0,Re="";function ct(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:st,column:Te,length:a,return:"",siblings:s}}function ue(e,t){return Xt(ct("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ie(e){for(;e.root;)e=ue(e.root,{children:[e]});Ge(e,e.siblings)}function $i(){return x}function Oi(){return x=B>0?A(Re,--B):0,Te--,x===10&&(Te=1,st--),x}function Y(){return x=B<Nr?A(Re,B++):0,Te++,x===10&&(Te=1,st++),x}function pe(){return A(Re,B)}function lt(){return B}function ut(e,t){return Ne(Re,e,t)}function Kt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ki(e){return st=Te=1,Nr=K(Re=e),B=0,[]}function Ni(e){return Re="",e}function Jt(e){return $r(ut(B-1,Qt(e===91?e+2:e===40?e+1:e)))}function Ti(e){for(;(x=pe())&&x<33;)Y();return Kt(e)>2||Kt(x)>3?"":" "}function Ri(e,t){for(;--t&&Y()&&!(x<48||x>102||x>57&&x<65||x>70&&x<97););return ut(e,lt()+(t<6&&pe()==32&&Y()==32))}function Qt(e){for(;Y();)switch(x){case e:return B;case 34:case 39:e!==34&&e!==39&&Qt(x);break;case 40:e===41&&Qt(e);break;case 92:Y();break}return B}function Ii(e,t){for(;Y()&&e+x!==57;)if(e+x===84&&pe()===47)break;return"/*"+ut(t,B-1)+"*"+qt(e===47?e:Y())}function xi(e){for(;!Kt(pe());)Y();return ut(e,B)}function Ai(e){return Ni(ft("",null,null,null,[""],e=ki(e),0,[0],e))}function ft(e,t,n,r,o,i,a,s,l){for(var u=0,f=0,c=a,_=0,d=0,p=0,y=1,S=1,g=1,m=0,b="",O=o,N=i,w=r,v=b;S;)switch(p=m,m=Y()){case 40:if(p!=108&&A(v,c-1)==58){at(v+=E(Jt(m),"&","&\f"),"&\f",br(u?s[u-1]:0))!=-1&&(g=-1);break}case 34:case 39:case 91:v+=Jt(m);break;case 9:case 10:case 13:case 32:v+=Ti(p);break;case 92:v+=Ri(lt()-1,7);continue;case 47:switch(pe()){case 42:case 47:Ge(Pi(Ii(Y(),lt()),t,n,l),l);break;default:v+="/"}break;case 123*y:s[u++]=K(v)*g;case 125*y:case 59:case 0:switch(m){case 0:case 125:S=0;case 59+f:g==-1&&(v=E(v,/\f/g,"")),d>0&&K(v)-c&&Ge(d>32?Rr(v+";",r,n,c-1,l):Rr(E(v," ","")+";",r,n,c-2,l),l);break;case 59:v+=";";default:if(Ge(w=Tr(v,t,n,u,f,o,s,b,O=[],N=[],c,i),i),m===123)if(f===0)ft(v,t,w,w,O,i,c,s,N);else switch(_===99&&A(v,3)===110?100:_){case 100:case 108:case 109:case 115:ft(e,w,w,r&&Ge(Tr(e,w,w,0,0,o,s,b,o,O=[],c,N),N),o,N,c,s,r?O:N);break;default:ft(v,w,w,w,[""],N,0,s,N)}}u=f=d=0,y=g=1,b=v="",c=a;break;case 58:c=1+K(v),d=p;default:if(y<1){if(m==123)--y;else if(m==125&&y++==0&&Oi()==125)continue}switch(v+=qt(m),m*y){case 38:g=f>0?1:(v+="\f",-1);break;case 44:s[u++]=(K(v)-1)*g,g=1;break;case 64:pe()===45&&(v+=Jt(Y())),_=pe(),f=c=K(b=v+=xi(lt())),m++;break;case 45:p===45&&K(v)==2&&(y=0)}}return i}function Tr(e,t,n,r,o,i,a,s,l,u,f,c){for(var _=o-1,d=o===0?i:[""],p=Or(d),y=0,S=0,g=0;y<r;++y)for(var m=0,b=Ne(e,_+1,_=br(S=a[y])),O=e;m<p;++m)(O=$r(S>0?d[m]+" "+b:E(b,/&\f/g,d[m])))&&(l[g++]=O);return ct(e,t,n,o===0?it:s,l,u,f,c)}function Pi(e,t,n,r){return ct(e,t,n,Sr,qt($i()),Ne(e,2,-2),0,r)}function Rr(e,t,n,r,o){return ct(e,t,n,Yt,Ne(e,0,r),Ne(e,r+1,-1),r,o)}function Ir(e,t,n){switch(wi(e,t)){case 5103:return k+"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 k+e+e;case 4789:return Be+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+Be+e+R+e+e;case 5936:switch(A(e,t+11)){case 114:return k+e+R+E(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+R+E(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+R+E(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return k+e+R+e+e;case 6165:return k+e+R+"flex-"+e+e;case 5187:return k+e+E(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+R+"flex-$1$2")+e;case 5443:return k+e+R+"flex-item-"+E(e,/flex-|-self/g,"")+(ne(e,/flex-|baseline/)?"":R+"grid-row-"+E(e,/flex-|-self/g,""))+e;case 4675:return k+e+R+"flex-line-pack"+E(e,/align-content|flex-|-self/g,"")+e;case 5548:return k+e+R+E(e,"shrink","negative")+e;case 5292:return k+e+R+E(e,"basis","preferred-size")+e;case 6060:return k+"box-"+E(e,"-grow","")+k+e+R+E(e,"grow","positive")+e;case 4554:return k+E(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return E(E(E(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+R+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4200:if(!ne(e,/flex-|baseline/))return R+"grid-column-align"+Ne(e,t)+e;break;case 2592:case 3360:return R+E(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,ne(r.props,/grid-\w+-end/)})?~at(e+(n=n[t].value),"span",0)?e:R+E(e,"-start","")+e+R+"grid-row-span:"+(~at(n,"span",0)?ne(n,/\d+/):+ne(n,/\d+/)-+ne(e,/\d+/))+";":R+E(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ne(r.props,/grid-\w+-start/)})?e:R+E(E(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,k+"$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(K(e)-1-t>6)switch(A(e,t+1)){case 109:if(A(e,t+4)!==45)break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+Be+(A(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~at(e,"stretch",0)?Ir(E(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return E(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,a,s,l,u){return R+o+":"+i+u+(a?R+o+"-span:"+(s?l:+l-+i)+u:"")+e});case 4949:if(A(e,t+6)===121)return E(e,":",":"+k)+e;break;case 6444:switch(A(e,A(e,14)===45?18:11)){case 120:return E(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+k+(A(e,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+R+"$2box$3")+e;case 100:return E(e,":",":"+R)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return E(e,"scroll-","scroll-snap-")+e}return e}function dt(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Li(e,t,n,r){switch(e.type){case Si:if(e.children.length)break;case Ei:case Yt:return e.return=e.return||e.value;case Sr:return"";case wr:return e.return=e.value+"{"+dt(e.children,r)+"}";case it:if(!K(e.value=e.props.join(",")))return""}return K(n=dt(e.children,r))?e.return=e.value+"{"+n+"}":""}function Di(e){var t=Or(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}function Mi(e){return function(t){t.root||(t=t.return)&&e(t)}}function Fi(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Yt:e.return=Ir(e.value,e.length,n);return;case wr:return dt([ue(e,{value:E(e.value,"@","@"+k)})],r);case it:if(e.length)return bi(n=e.props,function(o){switch(ne(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ie(ue(e,{props:[E(o,/:(read-\w+)/,":"+Be+"$1")]})),Ie(ue(e,{props:[o]})),Xt(e,{props:kr(n,r)});break;case"::placeholder":Ie(ue(e,{props:[E(o,/:(plac\w+)/,":"+k+"input-$1")]})),Ie(ue(e,{props:[E(o,/:(plac\w+)/,":"+Be+"$1")]})),Ie(ue(e,{props:[E(o,/:(plac\w+)/,R+"input-$1")]})),Ie(ue(e,{props:[o]})),Xt(e,{props:kr(n,r)});break}return""})}}var Hi={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},$={},me=typeof process<"u"&&$!==void 0&&($.REACT_APP_SC_ATTR||$.SC_ATTR)||"data-styled",xr="active",Ar="data-styled-version",_t="6.1.19",en=`/*!sc*/
`,ht=typeof window<"u"&&typeof document<"u",Ui=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&$!==void 0&&$.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&$.REACT_APP_SC_DISABLE_SPEEDY!==""?$.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&$.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&$!==void 0&&$.SC_DISABLE_SPEEDY!==void 0&&$.SC_DISABLE_SPEEDY!==""?$.SC_DISABLE_SPEEDY!=="false"&&$.SC_DISABLE_SPEEDY:$.NODE_ENV!=="production"),Pr=/invalid hook call/i,pt=new Set,zi=function(e,t){if($.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 s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];Pr.test(a)?(i=!1,pt.delete(r)):o.apply(void 0,he([a],s,!1))},He(),i&&!pt.has(r)&&(console.warn(r),pt.add(r))}catch(a){Pr.test(a.message)&&pt.delete(r)}finally{console.error=o}}},mt=Object.freeze([]),xe=Object.freeze({});function Bi(e,t,n){return n===void 0&&(n=xe),e.theme!==n.theme&&e.theme||t||n.theme}var tn=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"]),Gi=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Wi=/(^-|-$)/g;function Lr(e){return e.replace(Gi,"-").replace(Wi,"")}var ji=/(a)(d)/gi,gt=52,Dr=function(e){return String.fromCharCode(e+(e>25?39:97))};function nn(e){var t,n="";for(t=Math.abs(e);t>gt;t=t/gt|0)n=Dr(t%gt)+n;return(Dr(t%gt)+n).replace(ji,"$1-$2")}var rn,Mr=5381,ge=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Fr=function(e){return ge(Mr,e)};function Hr(e){return nn(Fr(e)>>>0)}function Ur(e){return $.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function on(e){return typeof e=="string"&&($.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var zr=typeof Symbol=="function"&&Symbol.for,Br=zr?Symbol.for("react.memo"):60115,Vi=zr?Symbol.for("react.forward_ref"):60112,Zi={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Yi={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Gr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qi=((rn={})[Vi]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},rn[Br]=Gr,rn);function Wr(e){return("type"in(t=e)&&t.type.$$typeof)===Br?Gr:"$$typeof"in e?qi[e.$$typeof]:Zi;var t}var Xi=Object.defineProperty,Ki=Object.getOwnPropertyNames,jr=Object.getOwnPropertySymbols,Ji=Object.getOwnPropertyDescriptor,Qi=Object.getPrototypeOf,Vr=Object.prototype;function Zr(e,t,n){if(typeof t!="string"){if(Vr){var r=Qi(t);r&&r!==Vr&&Zr(e,r,n)}var o=Ki(t);jr&&(o=o.concat(jr(t)));for(var i=Wr(e),a=Wr(t),s=0;s<o.length;++s){var l=o[s];if(!(l in Yi||n&&n[l]||a&&l in a||i&&l in i)){var u=Ji(t,l);try{Xi(e,l,u)}catch{}}}}return e}function ye(e){return typeof e=="function"}function an(e){return typeof e=="object"&&"styledComponentId"in e}function ve(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function sn(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 cn(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]=cn(e[r],t[r]);else if(Ae(t))for(var r in t)e[r]=cn(e[r],t[r]);return e}function ln(e,t){Object.defineProperty(e,"toString",{value:t})}var ea=$.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 `<Styl