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