universe-static.elfsightcdn.com
Open in
urlscan Pro
2606:4700:20::ac43:4766
Public Scan
URL:
https://universe-static.elfsightcdn.com/app-releases/whatsapp-chat/stable/v1.18.1/2f4ce4bccab9f46593157c572178a3d8965b6845/app/whatsappC...
Submission: On September 17 via api from IT — Scanned from IT
Submission: On September 17 via api from IT — Scanned from IT
Form analysis
0 forms found in the DOMText Content
var Widget=function(){"use strict";function fx(t,e){window.eapps&&window.eapps.apps.register(e,class{constructor(){this.whenReady=r=>r(),this.initWidget=(r,o)=>t(r,o)}})}var Ae=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ln(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function dx(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var Bp={exports:{}},Ti={},Vp={exports:{}},lt={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ho=Symbol.for("react.element"),px=Symbol.for("react.portal"),hx=Symbol.for("react.fragment"),gx=Symbol.for("react.strict_mode"),mx=Symbol.for("react.profiler"),vx=Symbol.for("react.provider"),$x=Symbol.for("react.context"),yx=Symbol.for("react.forward_ref"),bx=Symbol.for("react.suspense"),wx=Symbol.for("react.memo"),xx=Symbol.for("react.lazy"),Up=Symbol.iterator;function Sx(t){return t===null||typeof t!="object"?null:(t=Up&&t[Up]||t["@@iterator"],typeof t=="function"?t:null)}var Fp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},jp=Object.assign,zp={};function jr(t,e,n){this.props=t,this.context=e,this.refs=zp,this.updater=n||Fp}jr.prototype.isReactComponent={},jr.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},jr.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Hp(){}Hp.prototype=jr.prototype;function nl(t,e,n){this.props=t,this.context=e,this.refs=zp,this.updater=n||Fp}var rl=nl.prototype=new Hp;rl.constructor=nl,jp(rl,jr.prototype),rl.isPureReactComponent=!0;var Gp=Array.isArray,Wp=Object.prototype.hasOwnProperty,ol={current:null},Yp={key:!0,ref:!0,__self:!0,__source:!0};function Kp(t,e,n){var r,o={},s=null,i=null;if(e!=null)for(r in e.ref!==void 0&&(i=e.ref),e.key!==void 0&&(s=""+e.key),e)Wp.call(e,r)&&!Yp.hasOwnProperty(r)&&(o[r]=e[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var c=Array(a),l=0;l<a;l++)c[l]=arguments[l+2];o.children=c}if(t&&t.defaultProps)for(r in a=t.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Ho,type:t,key:s,ref:i,props:o,_owner:ol.current}}function Ex(t,e){return{$$typeof:Ho,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function sl(t){return typeof t=="object"&&t!==null&&t.$$typeof===Ho}function _x(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Zp=/\/+/g;function il(t,e){return typeof t=="object"&&t!==null&&t.key!=null?_x(""+t.key):e.toString(36)}function Ci(t,e,n,r,o){var s=typeof t;(s==="undefined"||s==="boolean")&&(t=null);var i=!1;if(t===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case Ho:case px:i=!0}}if(i)return i=t,o=o(i),t=r===""?"."+il(i,0):r,Gp(o)?(n="",t!=null&&(n=t.replace(Zp,"$&/")+"/"),Ci(o,e,n,"",function(l){return l})):o!=null&&(sl(o)&&(o=Ex(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Zp,"$&/")+"/")+t)),e.push(o)),1;if(i=0,r=r===""?".":r+":",Gp(t))for(var a=0;a<t.length;a++){s=t[a];var c=r+il(s,a);i+=Ci(s,e,n,c,o)}else if(c=Sx(t),typeof c=="function")for(t=c.call(t),a=0;!(s=t.next()).done;)s=s.value,c=r+il(s,a++),i+=Ci(s,e,n,c,o);else if(s==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return i}function ki(t,e,n){if(t==null)return t;var r=[],o=0;return Ci(t,r,"","",function(s){return e.call(n,s,o++)}),r}function Tx(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var he={current:null},Ai={transition:null},Cx={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:Ai,ReactCurrentOwner:ol};function Qp(){throw Error("act(...) is not supported in production builds of React.")}lt.Children={map:ki,forEach:function(t,e,n){ki(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return ki(t,function(){e++}),e},toArray:function(t){return ki(t,function(e){return e})||[]},only:function(t){if(!sl(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},lt.Component=jr,lt.Fragment=hx,lt.Profiler=mx,lt.PureComponent=nl,lt.StrictMode=gx,lt.Suspense=bx,lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cx,lt.act=Qp,lt.cloneElement=function(t,e,n){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var r=jp({},t.props),o=t.key,s=t.ref,i=t._owner;if(e!=null){if(e.ref!==void 0&&(s=e.ref,i=ol.current),e.key!==void 0&&(o=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(c in e)Wp.call(e,c)&&!Yp.hasOwnProperty(c)&&(r[c]=e[c]===void 0&&a!==void 0?a[c]:e[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){a=Array(c);for(var l=0;l<c;l++)a[l]=arguments[l+2];r.children=a}return{$$typeof:Ho,type:t.type,key:o,ref:s,props:r,_owner:i}},lt.createContext=function(t){return t={$$typeof:$x,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:vx,_context:t},t.Consumer=t},lt.createElement=Kp,lt.createFactory=function(t){var e=Kp.bind(null,t);return e.type=t,e},lt.createRef=function(){return{current:null}},lt.forwardRef=function(t){return{$$typeof:yx,render:t}},lt.isValidElement=sl,lt.lazy=function(t){return{$$typeof:xx,_payload:{_status:-1,_result:t},_init:Tx}},lt.memo=function(t,e){return{$$typeof:wx,type:t,compare:e===void 0?null:e}},lt.startTransition=function(t){var e=Ai.transition;Ai.transition={};try{t()}finally{Ai.transition=e}},lt.unstable_act=Qp,lt.useCallback=function(t,e){return he.current.useCallback(t,e)},lt.useContext=function(t){return he.current.useContext(t)},lt.useDebugValue=function(){},lt.useDeferredValue=function(t){return he.current.useDeferredValue(t)},lt.useEffect=function(t,e){return he.current.useEffect(t,e)},lt.useId=function(){return he.current.useId()},lt.useImperativeHandle=function(t,e,n){return he.current.useImperativeHandle(t,e,n)},lt.useInsertionEffect=function(t,e){return he.current.useInsertionEffect(t,e)},lt.useLayoutEffect=function(t,e){return he.current.useLayoutEffect(t,e)},lt.useMemo=function(t,e){return he.current.useMemo(t,e)},lt.useReducer=function(t,e,n){return he.current.useReducer(t,e,n)},lt.useRef=function(t){return he.current.useRef(t)},lt.useState=function(t){return he.current.useState(t)},lt.useSyncExternalStore=function(t,e,n){return he.current.useSyncExternalStore(t,e,n)},lt.useTransition=function(){return he.current.useTransition()},lt.version="18.3.1",Vp.exports=lt;var T=Vp.exports;const ie=ln(T);/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var kx=T,Ax=Symbol.for("react.element"),Lx=Symbol.for("react.fragment"),qx=Object.prototype.hasOwnProperty,Rx=kx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Dx={key:!0,ref:!0,__self:!0,__source:!0};function Xp(t,e,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),e.key!==void 0&&(s=""+e.key),e.ref!==void 0&&(i=e.ref);for(r in e)qx.call(e,r)&&!Dx.hasOwnProperty(r)&&(o[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)o[r]===void 0&&(o[r]=e[r]);return{$$typeof:Ax,type:t,key:s,ref:i,props:o,_owner:Rx.current}}Ti.Fragment=Lx,Ti.jsx=Xp,Ti.jsxs=Xp,Bp.exports=Ti;var q=Bp.exports,ae=function(){return ae=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},ae.apply(this,arguments)};function zr(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,s;r<o;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var Nx=function(e,n,r,o){var s=r?r.call(o,e,n):void 0;if(s!==void 0)return!!s;if(e===n)return!0;if(typeof e!="object"||!e||typeof n!="object"||!n)return!1;var i=Object.keys(e),a=Object.keys(n);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),l=0;l<i.length;l++){var u=i[l];if(!c(u))return!1;var f=e[u],p=n[u];if(s=r?r.call(o,f,p,u):void 0,s===!1||s===void 0&&f!==p)return!1}return!0};const Ix=ln(Nx);var kt="-ms-",Go="-moz-",ht="-webkit-",Jp="comm",Li="rule",al="decl",Px="@import",th="@keyframes",Ox="@layer",eh=Math.abs,cl=String.fromCharCode,ll=Object.assign;function Mx(t,e){return Qt(t,0)^45?(((e<<2^Qt(t,0))<<2^Qt(t,1))<<2^Qt(t,2))<<2^Qt(t,3):0}function nh(t){return t.trim()}function yn(t,e){return(t=e.exec(t))?t[0]:t}function at(t,e,n){return t.replace(e,n)}function qi(t,e,n){return t.indexOf(e,n)}function Qt(t,e){return t.charCodeAt(e)|0}function Hr(t,e,n){return t.slice(e,n)}function un(t){return t.length}function rh(t){return t.length}function Wo(t,e){return e.push(t),t}function Bx(t,e){return t.map(e).join("")}function oh(t,e){return t.filter(function(n){return!yn(n,e)})}var Ri=1,Gr=1,sh=0,Me=0,Ht=0,Wr="";function Di(t,e,n,r,o,s,i,a){return{value:t,root:e,parent:n,type:r,props:o,children:s,line:Ri,column:Gr,length:i,return:"",siblings:a}}function Bn(t,e){return ll(Di("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function Yr(t){for(;t.root;)t=Bn(t.root,{children:[t]});Wo(t,t.siblings)}function Vx(){return Ht}function Ux(){return Ht=Me>0?Qt(Wr,--Me):0,Gr--,Ht===10&&(Gr=1,Ri--),Ht}function Ge(){return Ht=Me<sh?Qt(Wr,Me++):0,Gr++,Ht===10&&(Gr=1,Ri++),Ht}function yr(){return Qt(Wr,Me)}function Ni(){return Me}function Ii(t,e){return Hr(Wr,t,e)}function ul(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Fx(t){return Ri=Gr=1,sh=un(Wr=t),Me=0,[]}function jx(t){return Wr="",t}function fl(t){return nh(Ii(Me-1,dl(t===91?t+2:t===40?t+1:t)))}function zx(t){for(;(Ht=yr())&&Ht<33;)Ge();return ul(t)>2||ul(Ht)>3?"":" "}function Hx(t,e){for(;--e&&Ge()&&!(Ht<48||Ht>102||Ht>57&&Ht<65||Ht>70&&Ht<97););return Ii(t,Ni()+(e<6&&yr()==32&&Ge()==32))}function dl(t){for(;Ge();)switch(Ht){case t:return Me;case 34:case 39:t!==34&&t!==39&&dl(Ht);break;case 40:t===41&&dl(t);break;case 92:Ge();break}return Me}function Gx(t,e){for(;Ge()&&t+Ht!==57;)if(t+Ht===84&&yr()===47)break;return"/*"+Ii(e,Me-1)+"*"+cl(t===47?t:Ge())}function Wx(t){for(;!ul(yr());)Ge();return Ii(t,Me)}function Yx(t){return jx(Pi("",null,null,null,[""],t=Fx(t),0,[0],t))}function Pi(t,e,n,r,o,s,i,a,c){for(var l=0,u=0,f=i,p=0,d=0,m=0,y=1,x=1,h=1,$=0,b="",S=o,_=s,k=r,C=b;x;)switch(m=$,$=Ge()){case 40:if(m!=108&&Qt(C,f-1)==58){qi(C+=at(fl($),"&","&\f"),"&\f",eh(l?a[l-1]:0))!=-1&&(h=-1);break}case 34:case 39:case 91:C+=fl($);break;case 9:case 10:case 13:case 32:C+=zx(m);break;case 92:C+=Hx(Ni()-1,7);continue;case 47:switch(yr()){case 42:case 47:Wo(Kx(Gx(Ge(),Ni()),e,n,c),c);break;default:C+="/"}break;case 123*y:a[l++]=un(C)*h;case 125*y:case 59:case 0:switch($){case 0:case 125:x=0;case 59+u:h==-1&&(C=at(C,/\f/g,"")),d>0&&un(C)-f&&Wo(d>32?ah(C+";",r,n,f-1,c):ah(at(C," ","")+";",r,n,f-2,c),c);break;case 59:C+=";";default:if(Wo(k=ih(C,e,n,l,u,o,a,b,S=[],_=[],f,s),s),$===123)if(u===0)Pi(C,e,k,k,S,s,f,a,_);else switch(p===99&&Qt(C,3)===110?100:p){case 100:case 108:case 109:case 115:Pi(t,k,k,r&&Wo(ih(t,k,k,0,0,o,a,b,o,S=[],f,_),_),o,_,f,a,r?S:_);break;default:Pi(C,k,k,k,[""],_,0,a,_)}}l=u=d=0,y=h=1,b=C="",f=i;break;case 58:f=1+un(C),d=m;default:if(y<1){if($==123)--y;else if($==125&&y++==0&&Ux()==125)continue}switch(C+=cl($),$*y){case 38:h=u>0?1:(C+="\f",-1);break;case 44:a[l++]=(un(C)-1)*h,h=1;break;case 64:yr()===45&&(C+=fl(Ge())),p=yr(),u=f=un(b=C+=Wx(Ni())),$++;break;case 45:m===45&&un(C)==2&&(y=0)}}return s}function ih(t,e,n,r,o,s,i,a,c,l,u,f){for(var p=o-1,d=o===0?s:[""],m=rh(d),y=0,x=0,h=0;y<r;++y)for(var $=0,b=Hr(t,p+1,p=eh(x=i[y])),S=t;$<m;++$)(S=nh(x>0?d[$]+" "+b:at(b,/&\f/g,d[$])))&&(c[h++]=S);return Di(t,e,n,o===0?Li:a,c,l,u,f)}function Kx(t,e,n,r){return Di(t,e,n,Jp,cl(Vx()),Hr(t,2,-2),0,r)}function ah(t,e,n,r,o){return Di(t,e,n,al,Hr(t,0,r),Hr(t,r+1,-1),r,o)}function ch(t,e,n){switch(Mx(t,e)){case 5103:return ht+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ht+t+t;case 4789:return Go+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return ht+t+Go+t+kt+t+t;case 5936:switch(Qt(t,e+11)){case 114:return ht+t+kt+at(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return ht+t+kt+at(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return ht+t+kt+at(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return ht+t+kt+t+t;case 6165:return ht+t+kt+"flex-"+t+t;case 5187:return ht+t+at(t,/(\w+).+(:[^]+)/,ht+"box-$1$2"+kt+"flex-$1$2")+t;case 5443:return ht+t+kt+"flex-item-"+at(t,/flex-|-self/g,"")+(yn(t,/flex-|baseline/)?"":kt+"grid-row-"+at(t,/flex-|-self/g,""))+t;case 4675:return ht+t+kt+"flex-line-pack"+at(t,/align-content|flex-|-self/g,"")+t;case 5548:return ht+t+kt+at(t,"shrink","negative")+t;case 5292:return ht+t+kt+at(t,"basis","preferred-size")+t;case 6060:return ht+"box-"+at(t,"-grow","")+ht+t+kt+at(t,"grow","positive")+t;case 4554:return ht+at(t,/([^-])(transform)/g,"$1"+ht+"$2")+t;case 6187:return at(at(at(t,/(zoom-|grab)/,ht+"$1"),/(image-set)/,ht+"$1"),t,"")+t;case 5495:case 3959:return at(t,/(image-set\([^]*)/,ht+"$1$`$1");case 4968:return at(at(t,/(.+:)(flex-)?(.*)/,ht+"box-pack:$3"+kt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ht+t+t;case 4200:if(!yn(t,/flex-|baseline/))return kt+"grid-column-align"+Hr(t,e)+t;break;case 2592:case 3360:return kt+at(t,"template-","")+t;case 4384:case 3616:return n&&n.some(function(r,o){return e=o,yn(r.props,/grid-\w+-end/)})?~qi(t+(n=n[e].value),"span",0)?t:kt+at(t,"-start","")+t+kt+"grid-row-span:"+(~qi(n,"span",0)?yn(n,/\d+/):+yn(n,/\d+/)-+yn(t,/\d+/))+";":kt+at(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(r){return yn(r.props,/grid-\w+-start/)})?t:kt+at(at(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return at(t,/(.+)-inline(.+)/,ht+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(un(t)-1-e>6)switch(Qt(t,e+1)){case 109:if(Qt(t,e+4)!==45)break;case 102:return at(t,/(.+:)(.+)-([^]+)/,"$1"+ht+"$2-$3$1"+Go+(Qt(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~qi(t,"stretch",0)?ch(at(t,"stretch","fill-available"),e,n)+t:t}break;case 5152:case 5920:return at(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,s,i,a,c,l){return kt+o+":"+s+l+(i?kt+o+"-span:"+(a?c:+c-+s)+l:"")+t});case 4949:if(Qt(t,e+6)===121)return at(t,":",":"+ht)+t;break;case 6444:switch(Qt(t,Qt(t,14)===45?18:11)){case 120:return at(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ht+(Qt(t,14)===45?"inline-":"")+"box$3$1"+ht+"$2$3$1"+kt+"$2box$3")+t;case 100:return at(t,":",":"+kt)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return at(t,"scroll-","scroll-snap-")+t}return t}function Oi(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function Zx(t,e,n,r){switch(t.type){case Ox:if(t.children.length)break;case Px:case al:return t.return=t.return||t.value;case Jp:return"";case th:return t.return=t.value+"{"+Oi(t.children,r)+"}";case Li:if(!un(t.value=t.props.join(",")))return""}return un(n=Oi(t.children,r))?t.return=t.value+"{"+n+"}":""}function Qx(t){var e=rh(t);return function(n,r,o,s){for(var i="",a=0;a<e;a++)i+=t[a](n,r,o,s)||"";return i}}function Xx(t){return function(e){e.root||(e=e.return)&&t(e)}}function Jx(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case al:t.return=ch(t.value,t.length,n);return;case th:return Oi([Bn(t,{value:at(t.value,"@","@"+ht)})],r);case Li:if(t.length)return Bx(n=t.props,function(o){switch(yn(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Yr(Bn(t,{props:[at(o,/:(read-\w+)/,":"+Go+"$1")]})),Yr(Bn(t,{props:[o]})),ll(t,{props:oh(n,r)});break;case"::placeholder":Yr(Bn(t,{props:[at(o,/:(plac\w+)/,":"+ht+"input-$1")]})),Yr(Bn(t,{props:[at(o,/:(plac\w+)/,":"+Go+"$1")]})),Yr(Bn(t,{props:[at(o,/:(plac\w+)/,kt+"input-$1")]})),Yr(Bn(t,{props:[o]})),ll(t,{props:oh(n,r)});break}return""})}}var tS={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},Kr=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",lh="active",uh="data-styled-version",Mi="6.1.12",pl=`/*!sc*/ `,Bi=typeof window<"u"&&"HTMLElement"in window,eS=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY),nS={},Vi=Object.freeze([]),Zr=Object.freeze({});function fh(t,e,n){return n===void 0&&(n=Zr),t.theme!==n.theme&&t.theme||e||n.theme}var dh=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"]),rS=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,oS=/(^-|-$)/g;function ph(t){return t.replace(rS,"-").replace(oS,"")}var sS=/(a)(d)/gi,Ui=52,hh=function(t){return String.fromCharCode(t+(t>25?39:97))};function hl(t){var e,n="";for(e=Math.abs(t);e>Ui;e=e/Ui|0)n=hh(e%Ui)+n;return(hh(e%Ui)+n).replace(sS,"$1-$2")}var gl,gh=5381,Qr=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},mh=function(t){return Qr(gh,t)};function ml(t){return hl(mh(t)>>>0)}function iS(t){return t.displayName||t.name||"Component"}function vl(t){return typeof t=="string"&&!0}var vh=typeof Symbol=="function"&&Symbol.for,$h=vh?Symbol.for("react.memo"):60115,aS=vh?Symbol.for("react.forward_ref"):60112,cS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},lS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},uS=((gl={})[aS]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},gl[$h]=yh,gl);function bh(t){return("type"in(e=t)&&e.type.$$typeof)===$h?yh:"$$typeof"in t?uS[t.$$typeof]:cS;var e}var fS=Object.defineProperty,dS=Object.getOwnPropertyNames,wh=Object.getOwnPropertySymbols,pS=Object.getOwnPropertyDescriptor,hS=Object.getPrototypeOf,xh=Object.prototype;function Sh(t,e,n){if(typeof e!="string"){if(xh){var r=hS(e);r&&r!==xh&&Sh(t,r,n)}var o=dS(e);wh&&(o=o.concat(wh(e)));for(var s=bh(t),i=bh(e),a=0;a<o.length;++a){var c=o[a];if(!(c in lS||n&&n[c]||i&&c in i||s&&c in s)){var l=pS(e,c);try{fS(t,c,l)}catch{}}}}return t}function Xr(t){return typeof t=="function"}function $l(t){return typeof t=="object"&&"styledComponentId"in t}function br(t,e){return t&&e?"".concat(t," ").concat(e):t||e||""}function Fi(t,e){if(t.length===0)return"";for(var n=t[0],r=1;r<t.length;r++)n+=t[r];return n}function Yo(t){return t!==null&&typeof t=="object"&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function yl(t,e,n){if(n===void 0&&(n=!1),!n&&!Yo(t)&&!Array.isArray(t))return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)t[r]=yl(t[r],e[r]);else if(Yo(e))for(var r in e)t[r]=yl(t[r],e[r]);return t}function bl(t,e){Object.defineProperty(t,"toString",{value:e})}function Ko(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):""))}var gS=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var n=0,r=0;r<e;r++)n+=this.groupSizes[r];return n},t.prototype.insertRules=function(e,n){if(e>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,s=o;e>=s;)if((s<<=1)<0)throw Ko(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(r),this.length=s;for(var i=o;i<s;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),c=(i=0,n.length);i<c;i++)this.tag.insertRule(a,n[i])&&(this.groupSizes[e]++,a++)},t.prototype.clearGroup=function(e){if(e<this.length){var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n;this.groupSizes[e]=0;for(var s=r;s<o;s++)this.tag.deleteRule(r)}},t.prototype.getGroup=function(e){var n="";if(e>=this.length||this.groupSizes[e]===0)return n;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),s=o+r,i=o;i<s;i++)n+="".concat(this.tag.getRule(i)).concat(pl);return n},t}(),ji=new Map,zi=new Map,Hi=1,Gi=function(t){if(ji.has(t))return ji.get(t);for(;zi.has(Hi);)Hi++;var e=Hi++;return ji.set(t,e),zi.set(e,t),e},mS=function(t,e){Hi=e+1,ji.set(t,e),zi.set(e,t)},vS="style[".concat(Kr,"][").concat(uh,'="').concat(Mi,'"]'),$S=new RegExp("^".concat(Kr,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),yS=function(t,e,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&t.registerName(e,r)},bS=function(t,e){for(var n,r=((n=e.textContent)!==null&&n!==void 0?n:"").split(pl),o=[],s=0,i=r.length;s<i;s++){var a=r[s].trim();if(a){var c=a.match($S);if(c){var l=0|parseInt(c[1],10),u=c[2];l!==0&&(mS(u,l),yS(t,u,c[3]),t.getTag().insertRules(l,o)),o.length=0}else o.push(a)}}},Eh=function(t){for(var e=document.querySelectorAll(vS),n=0,r=e.length;n<r;n++){var o=e[n];o&&o.getAttribute(Kr)!==lh&&(bS(t,o),o.parentNode&&o.parentNode.removeChild(o))}};function wS(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var _h=function(t){var e=document.head,n=t||e,r=document.createElement("style"),o=function(a){var c=Array.from(a.querySelectorAll("style[".concat(Kr,"]")));return c[c.length-1]}(n),s=o!==void 0?o.nextSibling:null;r.setAttribute(Kr,lh),r.setAttribute(uh,Mi);var i=wS();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},xS=function(){function t(e){this.element=_h(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,s=r.length;o<s;o++){var i=r[o];if(i.ownerNode===n)return i}throw Ko(17)}(this.element),this.length=0}return t.prototype.insertRule=function(e,n){try{return this.sheet.insertRule(n,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var n=this.sheet.cssRules[e];return n&&n.cssText?n.cssText:""},t}(),SS=function(){function t(e){this.element=_h(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,n){if(e<=this.length&&e>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),ES=function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,n){return e<=this.length&&(this.rules.splice(e,0,n),this.length++,!0)},t.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),Th=Bi,_S={isServer:!Bi,useCSSOMInjection:!eS},Wi=function(){function t(e,n,r){e===void 0&&(e=Zr),n===void 0&&(n={});var o=this;this.options=ae(ae({},_S),e),this.gs=n,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Bi&&Th&&(Th=!1,Eh(this)),bl(this,function(){return function(s){for(var i=s.getTag(),a=i.length,c="",l=function(f){var p=function(h){return zi.get(h)}(f);if(p===void 0)return"continue";var d=s.names.get(p),m=i.getGroup(f);if(d===void 0||!d.size||m.length===0)return"continue";var y="".concat(Kr,".g").concat(f,'[id="').concat(p,'"]'),x="";d!==void 0&&d.forEach(function(h){h.length>0&&(x+="".concat(h,","))}),c+="".concat(m).concat(y,'{content:"').concat(x,'"}').concat(pl)},u=0;u<a;u++)l(u);return c}(o)})}return t.registerId=function(e){return Gi(e)},t.prototype.rehydrate=function(){!this.server&&Bi&&Eh(this)},t.prototype.reconstructWithOptions=function(e,n){return n===void 0&&(n=!0),new t(ae(ae({},this.options),e),this.gs,n&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new ES(o):r?new xS(o):new SS(o)}(this.options),new gS(e)));var e},t.prototype.hasNameForId=function(e,n){return this.names.has(e)&&this.names.get(e).has(n)},t.prototype.registerName=function(e,n){if(Gi(e),this.names.has(e))this.names.get(e).add(n);else{var r=new Set;r.add(n),this.names.set(e,r)}},t.prototype.insertRules=function(e,n,r){this.registerName(e,n),this.getTag().insertRules(Gi(e),r)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(Gi(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),TS=/&/g,CS=/^\s*\/\/.*$/gm;function Ch(t,e){return t.map(function(n){return n.type==="rule"&&(n.value="".concat(e," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(e," ")),n.props=n.props.map(function(r){return"".concat(e," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Ch(n.children,e)),n})}function kh(t){var e,n,r,o=t===void 0?Zr:t,s=o.options,i=s===void 0?Zr:s,a=o.plugins,c=a===void 0?Vi:a,l=function(p,d,m){return m.startsWith(n)&&m.endsWith(n)&&m.replaceAll(n,"").length>0?".".concat(e):p},u=c.slice();u.push(function(p){p.type===Li&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(TS,n).replace(r,l))}),i.prefix&&u.push(Jx),u.push(Zx);var f=function(p,d,m,y){d===void 0&&(d=""),m===void 0&&(m=""),y===void 0&&(y="&"),e=y,n=d,r=new RegExp("\\".concat(n,"\\b"),"g");var x=p.replace(CS,""),h=Yx(m||d?"".concat(m," ").concat(d," { ").concat(x," }"):x);i.namespace&&(h=Ch(h,i.namespace));var $=[];return Oi(h,Qx(u.concat(Xx(function(b){return $.push(b)})))),$};return f.hash=c.length?c.reduce(function(p,d){return d.name||Ko(15),Qr(p,d.name)},gh).toString():"",f}var kS=new Wi,wl=kh(),xl=ie.createContext({shouldForwardProp:void 0,styleSheet:kS,stylis:wl});xl.Consumer;var AS=ie.createContext(void 0);function Yi(){return T.useContext(xl)}function LS(t){var e=T.useState(t.stylisPlugins),n=e[0],r=e[1],o=Yi().styleSheet,s=T.useMemo(function(){var c=o;return t.sheet?c=t.sheet:t.target&&(c=c.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(c=c.reconstructWithOptions({useCSSOMInjection:!1})),c},[t.disableCSSOMInjection,t.sheet,t.target,o]),i=T.useMemo(function(){return kh({options:{namespace:t.namespace,prefix:t.enableVendorPrefixes},plugins:n})},[t.enableVendorPrefixes,t.namespace,n]);T.useEffect(function(){Ix(n,t.stylisPlugins)||r(t.stylisPlugins)},[t.stylisPlugins]);var a=T.useMemo(function(){return{shouldForwardProp:t.shouldForwardProp,styleSheet:s,stylis:i}},[t.shouldForwardProp,s,i]);return ie.createElement(xl.Provider,{value:a},ie.createElement(AS.Provider,{value:i},t.children))}var Ah=function(){function t(e,n){var r=this;this.inject=function(o,s){s===void 0&&(s=wl);var i=r.name+s.hash;o.hasNameForId(r.id,i)||o.insertRules(r.id,i,s(r.rules,i,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=n,bl(this,function(){throw Ko(12,String(r.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=wl),this.name+e.hash},t}(),qS=function(t){return t>="A"&&t<="Z"};function Lh(t){for(var e="",n=0;n<t.length;n++){var r=t[n];if(n===1&&r==="-"&&t[0]==="-")return t;qS(r)?e+="-"+r.toLowerCase():e+=r}return e.startsWith("ms-")?"-"+e:e}var qh=function(t){return t==null||t===!1||t===""},Rh=function(t){var e,n,r=[];for(var o in t){var s=t[o];t.hasOwnProperty(o)&&!qh(s)&&(Array.isArray(s)&&s.isCss||Xr(s)?r.push("".concat(Lh(o),":"),s,";"):Yo(s)?r.push.apply(r,zr(zr(["".concat(o," {")],Rh(s),!1),["}"],!1)):r.push("".concat(Lh(o),": ").concat((e=o,(n=s)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||e in tS||e.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Vn(t,e,n,r){if(qh(t))return[];if($l(t))return[".".concat(t.styledComponentId)];if(Xr(t)){if(!Xr(s=t)||s.prototype&&s.prototype.isReactComponent||!e)return[t];var o=t(e);return Vn(o,e,n,r)}var s;return t instanceof Ah?n?(t.inject(n,r),[t.getName(r)]):[t]:Yo(t)?Rh(t):Array.isArray(t)?Array.prototype.concat.apply(Vi,t.map(function(i){return Vn(i,e,n,r)})):[t.toString()]}function Dh(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(Xr(n)&&!$l(n))return!1}return!0}var RS=mh(Mi),DS=function(){function t(e,n,r){this.rules=e,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&Dh(e),this.componentId=n,this.baseHash=Qr(RS,n),this.baseStyle=r,Wi.registerId(n)}return t.prototype.generateAndInjectStyles=function(e,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=br(o,this.staticRulesId);else{var s=Fi(Vn(this.rules,e,n,r)),i=hl(Qr(this.baseHash,s)>>>0);if(!n.hasNameForId(this.componentId,i)){var a=r(s,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,a)}o=br(o,i),this.staticRulesId=i}else{for(var c=Qr(this.baseHash,r.hash),l="",u=0;u<this.rules.length;u++){var f=this.rules[u];if(typeof f=="string")l+=f;else if(f){var p=Fi(Vn(f,e,n,r));c=Qr(c,p+u),l+=p}}if(l){var d=hl(c>>>0);n.hasNameForId(this.componentId,d)||n.insertRules(this.componentId,d,r(l,".".concat(d),void 0,this.componentId)),o=br(o,d)}}return o},t}(),Sl=ie.createContext(void 0);Sl.Consumer;var El={};function NS(t,e,n){var r=$l(t),o=t,s=!vl(t),i=e.attrs,a=i===void 0?Vi:i,c=e.componentId,l=c===void 0?function(S,_){var k=typeof S!="string"?"sc":ph(S);El[k]=(El[k]||0)+1;var C="".concat(k,"-").concat(ml(Mi+k+El[k]));return _?"".concat(_,"-").concat(C):C}(e.displayName,e.parentComponentId):c,u=e.displayName,f=u===void 0?function(S){return vl(S)?"styled.".concat(S):"Styled(".concat(iS(S),")")}(t):u,p=e.displayName&&e.componentId?"".concat(ph(e.displayName),"-").concat(e.componentId):e.componentId||l,d=r&&o.attrs?o.attrs.concat(a).filter(Boolean):a,m=e.shouldForwardProp;if(r&&o.shouldForwardProp){var y=o.shouldForwardProp;if(e.shouldForwardProp){var x=e.shouldForwardProp;m=function(S,_){return y(S,_)&&x(S,_)}}else m=y}var h=new DS(n,p,r?o.componentStyle:void 0);function $(S,_){return function(k,C,R){var D=k.attrs,I=k.componentStyle,Z=k.defaultProps,st=k.foldedComponentIds,ct=k.styledComponentId,X=k.target,U=ie.useContext(Sl),B=Yi(),W=k.shouldForwardProp||B.shouldForwardProp,L=fh(C,U,Z)||Zr,N=function(Y,ot,ft){for(var mt,xt=ae(ae({},ot),{className:void 0,theme:ft}),St=0;St<Y.length;St+=1){var It=Xr(mt=Y[St])?mt(xt):mt;for(var qt in It)xt[qt]=qt==="className"?br(xt[qt],It[qt]):qt==="style"?ae(ae({},xt[qt]),It[qt]):It[qt]}return ot.className&&(xt.className=br(xt.className,ot.className)),xt}(D,C,L),O=N.as||X,z={};for(var H in N)N[H]===void 0||H[0]==="$"||H==="as"||H==="theme"&&N.theme===L||(H==="forwardedAs"?z.as=N.forwardedAs:W&&!W(H,O)||(z[H]=N[H]));var J=function(Y,ot){var ft=Yi(),mt=Y.generateAndInjectStyles(ot,ft.styleSheet,ft.stylis);return mt}(I,N),P=br(st,ct);return J&&(P+=" "+J),N.className&&(P+=" "+N.className),z[vl(O)&&!dh.has(O)?"class":"className"]=P,z.ref=R,T.createElement(O,z)}(b,S,_)}$.displayName=f;var b=ie.forwardRef($);return b.attrs=d,b.componentStyle=h,b.displayName=f,b.shouldForwardProp=m,b.foldedComponentIds=r?br(o.foldedComponentIds,o.styledComponentId):"",b.styledComponentId=p,b.target=r?o.target:t,Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(S){this._foldedDefaultProps=r?function(_){for(var k=[],C=1;C<arguments.length;C++)k[C-1]=arguments[C];for(var R=0,D=k;R<D.length;R++)yl(_,D[R],!0);return _}({},o.defaultProps,S):S}}),bl(b,function(){return".".concat(b.styledComponentId)}),s&&Sh(b,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function Nh(t,e){for(var n=[t[0]],r=0,o=e.length;r<o;r+=1)n.push(e[r],t[r+1]);return n}var Ih=function(t){return Object.assign(t,{isCss:!0})};function Rt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(Xr(t)||Yo(t))return Ih(Vn(Nh(Vi,zr([t],e,!0))));var r=t;return e.length===0&&r.length===1&&typeof r[0]=="string"?Vn(r):Ih(Vn(Nh(r,e)))}function _l(t,e,n){if(n===void 0&&(n=Zr),!e)throw Ko(1,e);var r=function(o){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return t(e,n,Rt.apply(void 0,zr([o],s,!1)))};return r.attrs=function(o){return _l(t,e,ae(ae({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},r.withConfig=function(o){return _l(t,e,ae(ae({},n),o))},r}var Ph=function(t){return _l(NS,t)},Q=Ph;dh.forEach(function(t){Q[t]=Ph(t)});var IS=function(){function t(e,n){this.rules=e,this.componentId=n,this.isStatic=Dh(e),Wi.registerId(this.componentId+1)}return t.prototype.createStyles=function(e,n,r,o){var s=o(Fi(Vn(this.rules,n,r,o)),""),i=this.componentId+e;r.insertRules(i,i,s)},t.prototype.removeStyles=function(e,n){n.clearRules(this.componentId+e)},t.prototype.renderStyles=function(e,n,r,o){e>2&&Wi.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,n,r,o)},t}();function PS(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Rt.apply(void 0,zr([t],e,!1)),o="sc-global-".concat(ml(JSON.stringify(r))),s=new IS(r,o),i=function(c){var l=Yi(),u=ie.useContext(Sl),f=ie.useRef(l.styleSheet.allocateGSInstance(o)).current;return l.styleSheet.server&&a(f,c,l.styleSheet,u,l.stylis),ie.useLayoutEffect(function(){if(!l.styleSheet.server)return a(f,c,l.styleSheet,u,l.stylis),function(){return s.removeStyles(f,l.styleSheet)}},[f,c,l.styleSheet,u,l.stylis]),null};function a(c,l,u,f,p){if(s.isStatic)s.renderStyles(c,nS,u,p);else{var d=ae(ae({},l),{theme:fh(l,f,i.defaultProps)});s.renderStyles(c,d,u,p)}}return ie.memo(i)}function Oh(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Fi(Rt.apply(void 0,zr([t],e,!1))),o=ml(r);return new Ah(o,r)}var Mh={exports:{}},Le={},Bh={exports:{}},Vh={};/** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(t){function e(L,N){var O=L.length;L.push(N);t:for(;0<O;){var z=O-1>>>1,H=L[z];if(0<o(H,N))L[z]=N,L[O]=H,O=z;else break t}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var N=L[0],O=L.pop();if(O!==N){L[0]=O;t:for(var z=0,H=L.length,J=H>>>1;z<J;){var P=2*(z+1)-1,Y=L[P],ot=P+1,ft=L[ot];if(0>o(Y,O))ot<H&&0>o(ft,Y)?(L[z]=ft,L[ot]=O,z=ot):(L[z]=Y,L[P]=O,z=P);else if(ot<H&&0>o(ft,O))L[z]=ft,L[ot]=O,z=ot;else break t}}return N}function o(L,N){var O=L.sortIndex-N.sortIndex;return O!==0?O:L.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();t.unstable_now=function(){return i.now()-a}}var c=[],l=[],u=1,f=null,p=3,d=!1,m=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(L){for(var N=n(l);N!==null;){if(N.callback===null)r(l);else if(N.startTime<=L)r(l),N.sortIndex=N.expirationTime,e(c,N);else break;N=n(l)}}function S(L){if(y=!1,b(L),!m)if(n(c)!==null)m=!0,B(_);else{var N=n(l);N!==null&&W(S,N.startTime-L)}}function _(L,N){m=!1,y&&(y=!1,h(R),R=-1),d=!0;var O=p;try{for(b(N),f=n(c);f!==null&&(!(f.expirationTime>N)||L&&!Z());){var z=f.callback;if(typeof z=="function"){f.callback=null,p=f.priorityLevel;var H=z(f.expirationTime<=N);N=t.unstable_now(),typeof H=="function"?f.callback=H:f===n(c)&&r(c),b(N)}else r(c);f=n(c)}if(f!==null)var J=!0;else{var P=n(l);P!==null&&W(S,P.startTime-N),J=!1}return J}finally{f=null,p=O,d=!1}}var k=!1,C=null,R=-1,D=5,I=-1;function Z(){return!(t.unstable_now()-I<D)}function st(){if(C!==null){var L=t.unstable_now();I=L;var N=!0;try{N=C(!0,L)}finally{N?ct():(k=!1,C=null)}}else k=!1}var ct;if(typeof $=="function")ct=function(){$(st)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,U=X.port2;X.port1.onmessage=st,ct=function(){U.postMessage(null)}}else ct=function(){x(st,0)};function B(L){C=L,k||(k=!0,ct())}function W(L,N){R=x(function(){L(t.unstable_now())},N)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(L){L.callback=null},t.unstable_continueExecution=function(){m||d||(m=!0,B(_))},t.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<L?Math.floor(1e3/L):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(L){switch(p){case 1:case 2:case 3:var N=3;break;default:N=p}var O=p;p=N;try{return L()}finally{p=O}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(L,N){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var O=p;p=L;try{return N()}finally{p=O}},t.unstable_scheduleCallback=function(L,N,O){var z=t.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?z+O:z):O=z,L){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=O+H,L={id:u++,callback:N,priorityLevel:L,startTime:O,expirationTime:H,sortIndex:-1},O>z?(L.sortIndex=O,e(l,L),n(c)===null&&L===n(l)&&(y?(h(R),R=-1):y=!0,W(S,O-z))):(L.sortIndex=H,e(c,L),m||d||(m=!0,B(_))),L},t.unstable_shouldYield=Z,t.unstable_wrapCallback=function(L){var N=p;return function(){var O=p;p=N;try{return L.apply(this,arguments)}finally{p=O}}}})(Vh),Bh.exports=Vh;var OS=Bh.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var MS=T,qe=OS;function V(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Uh=new Set,Zo={};function wr(t,e){Jr(t,e),Jr(t+"Capture",e)}function Jr(t,e){for(Zo[t]=e,t=0;t<e.length;t++)Uh.add(e[t])}var bn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tl=Object.prototype.hasOwnProperty,BS=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Fh={},jh={};function VS(t){return Tl.call(jh,t)?!0:Tl.call(Fh,t)?!1:BS.test(t)?jh[t]=!0:(Fh[t]=!0,!1)}function US(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function FS(t,e,n,r){if(e===null||typeof e>"u"||US(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function ge(t,e,n,r,o,s,i){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=s,this.removeEmptyString=i}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ee[t]=new ge(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ee[e]=new ge(e,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){ee[t]=new ge(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ee[t]=new ge(t,2,!1,t,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){ee[t]=new ge(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){ee[t]=new ge(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){ee[t]=new ge(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){ee[t]=new ge(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){ee[t]=new ge(t,5,!1,t.toLowerCase(),null,!1,!1)});var Cl=/[\-:]([a-z])/g;function kl(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(Cl,kl);ee[e]=new ge(e,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Cl,kl);ee[e]=new ge(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Cl,kl);ee[e]=new ge(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){ee[t]=new ge(t,1,!1,t.toLowerCase(),null,!1,!1)}),ee.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){ee[t]=new ge(t,1,!1,t.toLowerCase(),null,!0,!0)});function Al(t,e,n,r){var o=ee.hasOwnProperty(e)?ee[e]:null;(o!==null?o.type!==0:r||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(FS(e,n,o,r)&&(n=null),r||o===null?VS(e)&&(n===null?t.removeAttribute(e):t.setAttribute(e,""+n)):o.mustUseProperty?t[o.propertyName]=n===null?o.type===3?!1:"":n:(e=o.attributeName,r=o.attributeNamespace,n===null?t.removeAttribute(e):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}var wn=MS.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ki=Symbol.for("react.element"),to=Symbol.for("react.portal"),eo=Symbol.for("react.fragment"),Ll=Symbol.for("react.strict_mode"),ql=Symbol.for("react.profiler"),zh=Symbol.for("react.provider"),Hh=Symbol.for("react.context"),Rl=Symbol.for("react.forward_ref"),Dl=Symbol.for("react.suspense"),Nl=Symbol.for("react.suspense_list"),Il=Symbol.for("react.memo"),Un=Symbol.for("react.lazy"),Gh=Symbol.for("react.offscreen"),Wh=Symbol.iterator;function Qo(t){return t===null||typeof t!="object"?null:(t=Wh&&t[Wh]||t["@@iterator"],typeof t=="function"?t:null)}var Ot=Object.assign,Pl;function Xo(t){if(Pl===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Pl=e&&e[1]||""}return` `+Pl+t}var Ol=!1;function Ml(t,e){if(!t||Ol)return"";Ol=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(l){var r=l}Reflect.construct(t,[],e)}else{try{e.call()}catch(l){r=l}t.call(e.prototype)}else{try{throw Error()}catch(l){r=l}t()}}catch(l){if(l&&r&&typeof l.stack=="string"){for(var o=l.stack.split(` `),s=r.stack.split(` `),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var c=` `+o[i].replace(" at new "," at ");return t.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",t.displayName)),c}while(1<=i&&0<=a);break}}}finally{Ol=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Xo(t):""}function jS(t){switch(t.tag){case 5:return Xo(t.type);case 16:return Xo("Lazy");case 13:return Xo("Suspense");case 19:return Xo("SuspenseList");case 0:case 2:case 15:return t=Ml(t.type,!1),t;case 11:return t=Ml(t.type.render,!1),t;case 1:return t=Ml(t.type,!0),t;default:return""}}function Bl(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case eo:return"Fragment";case to:return"Portal";case ql:return"Profiler";case Ll:return"StrictMode";case Dl:return"Suspense";case Nl:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Hh:return(t.displayName||"Context")+".Consumer";case zh:return(t._context.displayName||"Context")+".Provider";case Rl:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Il:return e=t.displayName||null,e!==null?e:Bl(t.type)||"Memo";case Un:e=t._payload,t=t._init;try{return Bl(t(e))}catch{}}return null}function zS(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Bl(e);case 8:return e===Ll?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Fn(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Yh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function HS(t){var e=Yh(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Zi(t){t._valueTracker||(t._valueTracker=HS(t))}function Kh(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=Yh(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function Qi(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Vl(t,e){var n=e.checked;return Ot({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function Zh(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=Fn(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function Qh(t,e){e=e.checked,e!=null&&Al(t,"checked",e,!1)}function Ul(t,e){Qh(t,e);var n=Fn(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Fl(t,e.type,n):e.hasOwnProperty("defaultValue")&&Fl(t,e.type,Fn(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Xh(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function Fl(t,e,n){(e!=="number"||Qi(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var Jo=Array.isArray;function no(t,e,n,r){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&r&&(t[n].defaultSelected=!0)}else{for(n=""+Fn(n),e=null,o=0;o<t.length;o++){if(t[o].value===n){t[o].selected=!0,r&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function jl(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(V(91));return Ot({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Jh(t,e){var n=e.value;if(n==null){if(n=e.children,e=e.defaultValue,n!=null){if(e!=null)throw Error(V(92));if(Jo(n)){if(1<n.length)throw Error(V(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:Fn(n)}}function t1(t,e){var n=Fn(e.value),r=Fn(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),r!=null&&(t.defaultValue=""+r)}function e1(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function n1(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function zl(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?n1(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Xi,r1=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Xi=Xi||document.createElement("div"),Xi.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Xi.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function ts(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var es={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},GS=["Webkit","ms","Moz","O"];Object.keys(es).forEach(function(t){GS.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),es[e]=es[t]})});function o1(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||es.hasOwnProperty(t)&&es[t]?(""+e).trim():e+"px"}function s1(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=o1(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,o):t[n]=o}}var WS=Ot({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hl(t,e){if(e){if(WS[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(V(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(V(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(V(61))}if(e.style!=null&&typeof e.style!="object")throw Error(V(62))}}function Gl(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Wl=null;function Yl(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Kl=null,ro=null,oo=null;function i1(t){if(t=Ss(t)){if(typeof Kl!="function")throw Error(V(280));var e=t.stateNode;e&&(e=wa(e),Kl(t.stateNode,t.type,e))}}function a1(t){ro?oo?oo.push(t):oo=[t]:ro=t}function c1(){if(ro){var t=ro,e=oo;if(oo=ro=null,i1(t),e)for(t=0;t<e.length;t++)i1(e[t])}}function l1(t,e){return t(e)}function u1(){}var Zl=!1;function f1(t,e,n){if(Zl)return t(e,n);Zl=!0;try{return l1(t,e,n)}finally{Zl=!1,(ro!==null||oo!==null)&&(u1(),c1())}}function ns(t,e){var n=t.stateNode;if(n===null)return null;var r=wa(n);if(r===null)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(t=t.type,r=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!r;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(V(231,e,typeof n));return n}var Ql=!1;if(bn)try{var rs={};Object.defineProperty(rs,"passive",{get:function(){Ql=!0}}),window.addEventListener("test",rs,rs),window.removeEventListener("test",rs,rs)}catch{Ql=!1}function YS(t,e,n,r,o,s,i,a,c){var l=Array.prototype.slice.call(arguments,3);try{e.apply(n,l)}catch(u){this.onError(u)}}var os=!1,Ji=null,ta=!1,Xl=null,KS={onError:function(t){os=!0,Ji=t}};function ZS(t,e,n,r,o,s,i,a,c){os=!1,Ji=null,YS.apply(KS,arguments)}function QS(t,e,n,r,o,s,i,a,c){if(ZS.apply(this,arguments),os){if(os){var l=Ji;os=!1,Ji=null}else throw Error(V(198));ta||(ta=!0,Xl=l)}}function xr(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function d1(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p1(t){if(xr(t)!==t)throw Error(V(188))}function XS(t){var e=t.alternate;if(!e){if(e=xr(t),e===null)throw Error(V(188));return e!==t?null:t}for(var n=t,r=e;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return p1(o),t;if(s===r)return p1(o),e;s=s.sibling}throw Error(V(188))}if(n.return!==r.return)n=o,r=s;else{for(var i=!1,a=o.child;a;){if(a===n){i=!0,n=o,r=s;break}if(a===r){i=!0,r=o,n=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===n){i=!0,n=s,r=o;break}if(a===r){i=!0,r=s,n=o;break}a=a.sibling}if(!i)throw Error(V(189))}}if(n.alternate!==r)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?t:e}function h1(t){return t=XS(t),t!==null?g1(t):null}function g1(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=g1(t);if(e!==null)return e;t=t.sibling}return null}var m1=qe.unstable_scheduleCallback,v1=qe.unstable_cancelCallback,JS=qe.unstable_shouldYield,tE=qe.unstable_requestPaint,zt=qe.unstable_now,eE=qe.unstable_getCurrentPriorityLevel,Jl=qe.unstable_ImmediatePriority,$1=qe.unstable_UserBlockingPriority,ea=qe.unstable_NormalPriority,nE=qe.unstable_LowPriority,y1=qe.unstable_IdlePriority,na=null,fn=null;function rE(t){if(fn&&typeof fn.onCommitFiberRoot=="function")try{fn.onCommitFiberRoot(na,t,void 0,(t.current.flags&128)===128)}catch{}}var We=Math.clz32?Math.clz32:iE,oE=Math.log,sE=Math.LN2;function iE(t){return t>>>=0,t===0?32:31-(oE(t)/sE|0)|0}var ra=64,oa=4194304;function ss(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function sa(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,o=t.suspendedLanes,s=t.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=ss(a):(s&=i,s!==0&&(r=ss(s)))}else i=n&~o,i!==0?r=ss(i):s!==0&&(r=ss(s));if(r===0)return 0;if(e!==0&&e!==r&&!(e&o)&&(o=r&-r,s=e&-e,o>=s||o===16&&(s&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0<e;)n=31-We(e),o=1<<n,r|=t[n],e&=~o;return r}function aE(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function cE(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,o=t.expirationTimes,s=t.pendingLanes;0<s;){var i=31-We(s),a=1<<i,c=o[i];c===-1?(!(a&n)||a&r)&&(o[i]=aE(a,e)):c<=e&&(t.expiredLanes|=a),s&=~a}}function tu(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function b1(){var t=ra;return ra<<=1,!(ra&4194240)&&(ra=64),t}function eu(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function is(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-We(e),t[e]=n}function lE(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var o=31-We(n),s=1<<o;e[o]=0,r[o]=-1,t[o]=-1,n&=~s}}function nu(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-We(n),o=1<<r;o&e|t[r]&e&&(t[r]|=e),n&=~o}}var yt=0;function w1(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var x1,ru,S1,E1,_1,ou=!1,ia=[],jn=null,zn=null,Hn=null,as=new Map,cs=new Map,Gn=[],uE="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function T1(t,e){switch(t){case"focusin":case"focusout":jn=null;break;case"dragenter":case"dragleave":zn=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":as.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":cs.delete(e.pointerId)}}function ls(t,e,n,r,o,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[o]},e!==null&&(e=Ss(e),e!==null&&ru(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function fE(t,e,n,r,o){switch(e){case"focusin":return jn=ls(jn,t,e,n,r,o),!0;case"dragenter":return zn=ls(zn,t,e,n,r,o),!0;case"mouseover":return Hn=ls(Hn,t,e,n,r,o),!0;case"pointerover":var s=o.pointerId;return as.set(s,ls(as.get(s)||null,t,e,n,r,o)),!0;case"gotpointercapture":return s=o.pointerId,cs.set(s,ls(cs.get(s)||null,t,e,n,r,o)),!0}return!1}function C1(t){var e=Sr(t.target);if(e!==null){var n=xr(e);if(n!==null){if(e=n.tag,e===13){if(e=d1(n),e!==null){t.blockedOn=e,_1(t.priority,function(){S1(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function aa(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=iu(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(n===null){n=t.nativeEvent;var r=new n.constructor(n.type,n);Wl=r,n.target.dispatchEvent(r),Wl=null}else return e=Ss(n),e!==null&&ru(e),t.blockedOn=n,!1;e.shift()}return!0}function k1(t,e,n){aa(t)&&n.delete(e)}function dE(){ou=!1,jn!==null&&aa(jn)&&(jn=null),zn!==null&&aa(zn)&&(zn=null),Hn!==null&&aa(Hn)&&(Hn=null),as.forEach(k1),cs.forEach(k1)}function us(t,e){t.blockedOn===e&&(t.blockedOn=null,ou||(ou=!0,qe.unstable_scheduleCallback(qe.unstable_NormalPriority,dE)))}function fs(t){function e(o){return us(o,t)}if(0<ia.length){us(ia[0],t);for(var n=1;n<ia.length;n++){var r=ia[n];r.blockedOn===t&&(r.blockedOn=null)}}for(jn!==null&&us(jn,t),zn!==null&&us(zn,t),Hn!==null&&us(Hn,t),as.forEach(e),cs.forEach(e),n=0;n<Gn.length;n++)r=Gn[n],r.blockedOn===t&&(r.blockedOn=null);for(;0<Gn.length&&(n=Gn[0],n.blockedOn===null);)C1(n),n.blockedOn===null&&Gn.shift()}var so=wn.ReactCurrentBatchConfig,ca=!0;function pE(t,e,n,r){var o=yt,s=so.transition;so.transition=null;try{yt=1,su(t,e,n,r)}finally{yt=o,so.transition=s}}function hE(t,e,n,r){var o=yt,s=so.transition;so.transition=null;try{yt=4,su(t,e,n,r)}finally{yt=o,so.transition=s}}function su(t,e,n,r){if(ca){var o=iu(t,e,n,r);if(o===null)Su(t,e,r,la,n),T1(t,r);else if(fE(o,t,e,n,r))r.stopPropagation();else if(T1(t,r),e&4&&-1<uE.indexOf(t)){for(;o!==null;){var s=Ss(o);if(s!==null&&x1(s),s=iu(t,e,n,r),s===null&&Su(t,e,r,la,n),s===o)break;o=s}o!==null&&r.stopPropagation()}else Su(t,e,r,null,n)}}var la=null;function iu(t,e,n,r){if(la=null,t=Yl(r),t=Sr(t),t!==null)if(e=xr(t),e===null)t=null;else if(n=e.tag,n===13){if(t=d1(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return la=t,null}function A1(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(eE()){case Jl:return 1;case $1:return 4;case ea:case nE:return 16;case y1:return 536870912;default:return 16}default:return 16}}var Wn=null,au=null,ua=null;function L1(){if(ua)return ua;var t,e=au,n=e.length,r,o="value"in Wn?Wn.value:Wn.textContent,s=o.length;for(t=0;t<n&&e[t]===o[t];t++);var i=n-t;for(r=1;r<=i&&e[n-r]===o[s-r];r++);return ua=o.slice(t,1<r?1-r:void 0)}function fa(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function da(){return!0}function q1(){return!1}function Re(t){function e(n,r,o,s,i){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in t)t.hasOwnProperty(a)&&(n=t[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?da:q1,this.isPropagationStopped=q1,this}return Ot(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=da)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=da)},persist:function(){},isPersistent:da}),e}var io={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cu=Re(io),ds=Ot({},io,{view:0,detail:0}),gE=Re(ds),lu,uu,ps,pa=Ot({},ds,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:du,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ps&&(ps&&t.type==="mousemove"?(lu=t.screenX-ps.screenX,uu=t.screenY-ps.screenY):uu=lu=0,ps=t),lu)},movementY:function(t){return"movementY"in t?t.movementY:uu}}),R1=Re(pa),mE=Ot({},pa,{dataTransfer:0}),vE=Re(mE),$E=Ot({},ds,{relatedTarget:0}),fu=Re($E),yE=Ot({},io,{animationName:0,elapsedTime:0,pseudoElement:0}),bE=Re(yE),wE=Ot({},io,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),xE=Re(wE),SE=Ot({},io,{data:0}),D1=Re(SE),EE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_E={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},TE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function CE(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=TE[t])?!!e[t]:!1}function du(){return CE}var kE=Ot({},ds,{key:function(t){if(t.key){var e=EE[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=fa(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?_E[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:du,charCode:function(t){return t.type==="keypress"?fa(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?fa(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),AE=Re(kE),LE=Ot({},pa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),N1=Re(LE),qE=Ot({},ds,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:du}),RE=Re(qE),DE=Ot({},io,{propertyName:0,elapsedTime:0,pseudoElement:0}),NE=Re(DE),IE=Ot({},pa,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),PE=Re(IE),OE=[9,13,27,32],pu=bn&&"CompositionEvent"in window,hs=null;bn&&"documentMode"in document&&(hs=document.documentMode);var ME=bn&&"TextEvent"in window&&!hs,I1=bn&&(!pu||hs&&8<hs&&11>=hs),P1=" ",O1=!1;function M1(t,e){switch(t){case"keyup":return OE.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function B1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ao=!1;function BE(t,e){switch(t){case"compositionend":return B1(e);case"keypress":return e.which!==32?null:(O1=!0,P1);case"textInput":return t=e.data,t===P1&&O1?null:t;default:return null}}function VE(t,e){if(ao)return t==="compositionend"||!pu&&M1(t,e)?(t=L1(),ua=au=Wn=null,ao=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return I1&&e.locale!=="ko"?null:e.data;default:return null}}var UE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function V1(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!UE[t.type]:e==="textarea"}function U1(t,e,n,r){a1(r),e=$a(e,"onChange"),0<e.length&&(n=new cu("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var gs=null,ms=null;function FE(t){sg(t,0)}function ha(t){var e=po(t);if(Kh(e))return t}function jE(t,e){if(t==="change")return e}var F1=!1;if(bn){var hu;if(bn){var gu="oninput"in document;if(!gu){var j1=document.createElement("div");j1.setAttribute("oninput","return;"),gu=typeof j1.oninput=="function"}hu=gu}else hu=!1;F1=hu&&(!document.documentMode||9<document.documentMode)}function z1(){gs&&(gs.detachEvent("onpropertychange",H1),ms=gs=null)}function H1(t){if(t.propertyName==="value"&&ha(ms)){var e=[];U1(e,ms,t,Yl(t)),f1(FE,e)}}function zE(t,e,n){t==="focusin"?(z1(),gs=e,ms=n,gs.attachEvent("onpropertychange",H1)):t==="focusout"&&z1()}function HE(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ha(ms)}function GE(t,e){if(t==="click")return ha(e)}function WE(t,e){if(t==="input"||t==="change")return ha(e)}function YE(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ye=typeof Object.is=="function"?Object.is:YE;function vs(t,e){if(Ye(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Tl.call(e,o)||!Ye(t[o],e[o]))return!1}return!0}function G1(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function W1(t,e){var n=G1(t);t=0;for(var r;n;){if(n.nodeType===3){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=G1(n)}}function Y1(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Y1(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function K1(){for(var t=window,e=Qi();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Qi(t.document)}return e}function mu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function KE(t){var e=K1(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&Y1(n.ownerDocument.documentElement,n)){if(r!==null&&mu(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!t.extend&&s>r&&(o=r,r=s,s=o),o=W1(n,s);var i=W1(n,r);o&&i&&(t.rangeCount!==1||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==i.node||t.focusOffset!==i.offset)&&(e=e.createRange(),e.setStart(o.node,o.offset),t.removeAllRanges(),s>r?(t.addRange(e),t.extend(i.node,i.offset)):(e.setEnd(i.node,i.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<e.length;n++)t=e[n],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var ZE=bn&&"documentMode"in document&&11>=document.documentMode,co=null,vu=null,$s=null,$u=!1;function Z1(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$u||co==null||co!==Qi(r)||(r=co,"selectionStart"in r&&mu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),$s&&vs($s,r)||($s=r,r=$a(vu,"onSelect"),0<r.length&&(e=new cu("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=co)))}function ga(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var lo={animationend:ga("Animation","AnimationEnd"),animationiteration:ga("Animation","AnimationIteration"),animationstart:ga("Animation","AnimationStart"),transitionend:ga("Transition","TransitionEnd")},yu={},Q1={};bn&&(Q1=document.createElement("div").style,"AnimationEvent"in window||(delete lo.animationend.animation,delete lo.animationiteration.animation,delete lo.animationstart.animation),"TransitionEvent"in window||delete lo.transitionend.transition);function ma(t){if(yu[t])return yu[t];if(!lo[t])return t;var e=lo[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Q1)return yu[t]=e[n];return t}var X1=ma("animationend"),J1=ma("animationiteration"),tg=ma("animationstart"),eg=ma("transitionend"),ng=new Map,rg="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Yn(t,e){ng.set(t,e),wr(e,[t])}for(var bu=0;bu<rg.length;bu++){var wu=rg[bu],QE=wu.toLowerCase(),XE=wu[0].toUpperCase()+wu.slice(1);Yn(QE,"on"+XE)}Yn(X1,"onAnimationEnd"),Yn(J1,"onAnimationIteration"),Yn(tg,"onAnimationStart"),Yn("dblclick","onDoubleClick"),Yn("focusin","onFocus"),Yn("focusout","onBlur"),Yn(eg,"onTransitionEnd"),Jr("onMouseEnter",["mouseout","mouseover"]),Jr("onMouseLeave",["mouseout","mouseover"]),Jr("onPointerEnter",["pointerout","pointerover"]),Jr("onPointerLeave",["pointerout","pointerover"]),wr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wr("onBeforeInput",["compositionend","keypress","textInput","paste"]),wr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ys="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),JE=new Set("cancel close invalid load scroll toggle".split(" ").concat(ys));function og(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,QS(r,e,void 0,t),t.currentTarget=null}function sg(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var r=t[n],o=r.event;r=r.listeners;t:{var s=void 0;if(e)for(var i=r.length-1;0<=i;i--){var a=r[i],c=a.instance,l=a.currentTarget;if(a=a.listener,c!==s&&o.isPropagationStopped())break t;og(o,a,l),s=c}else for(i=0;i<r.length;i++){if(a=r[i],c=a.instance,l=a.currentTarget,a=a.listener,c!==s&&o.isPropagationStopped())break t;og(o,a,l),s=c}}}if(ta)throw t=Xl,ta=!1,Xl=null,t}function At(t,e){var n=e[Au];n===void 0&&(n=e[Au]=new Set);var r=t+"__bubble";n.has(r)||(ig(e,t,2,!1),n.add(r))}function xu(t,e,n){var r=0;e&&(r|=4),ig(n,t,r,e)}var va="_reactListening"+Math.random().toString(36).slice(2);function bs(t){if(!t[va]){t[va]=!0,Uh.forEach(function(n){n!=="selectionchange"&&(JE.has(n)||xu(n,!1,t),xu(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[va]||(e[va]=!0,xu("selectionchange",!1,e))}}function ig(t,e,n,r){switch(A1(e)){case 1:var o=pE;break;case 4:o=hE;break;default:o=su}n=o.bind(null,e,n,t),o=void 0,!Ql||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),r?o!==void 0?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):o!==void 0?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function Su(t,e,n,r,o){var s=r;if(!(e&1)&&!(e&2)&&r!==null)t:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=r.return;i!==null;){var c=i.tag;if((c===3||c===4)&&(c=i.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;i=i.return}for(;a!==null;){if(i=Sr(a),i===null)return;if(c=i.tag,c===5||c===6){r=s=i;continue t}a=a.parentNode}}r=r.return}f1(function(){var l=s,u=Yl(n),f=[];t:{var p=ng.get(t);if(p!==void 0){var d=cu,m=t;switch(t){case"keypress":if(fa(n)===0)break t;case"keydown":case"keyup":d=AE;break;case"focusin":m="focus",d=fu;break;case"focusout":m="blur",d=fu;break;case"beforeblur":case"afterblur":d=fu;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":d=R1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=vE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=RE;break;case X1:case J1:case tg:d=bE;break;case eg:d=NE;break;case"scroll":d=gE;break;case"wheel":d=PE;break;case"copy":case"cut":case"paste":d=xE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=N1}var y=(e&4)!==0,x=!y&&t==="scroll",h=y?p!==null?p+"Capture":null:p;y=[];for(var $=l,b;$!==null;){b=$;var S=b.stateNode;if(b.tag===5&&S!==null&&(b=S,h!==null&&(S=ns($,h),S!=null&&y.push(ws($,S,b)))),x)break;$=$.return}0<y.length&&(p=new d(p,m,null,n,u),f.push({event:p,listeners:y}))}}if(!(e&7)){t:{if(p=t==="mouseover"||t==="pointerover",d=t==="mouseout"||t==="pointerout",p&&n!==Wl&&(m=n.relatedTarget||n.fromElement)&&(Sr(m)||m[xn]))break t;if((d||p)&&(p=u.window===u?u:(p=u.ownerDocument)?p.defaultView||p.parentWindow:window,d?(m=n.relatedTarget||n.toElement,d=l,m=m?Sr(m):null,m!==null&&(x=xr(m),m!==x||m.tag!==5&&m.tag!==6)&&(m=null)):(d=null,m=l),d!==m)){if(y=R1,S="onMouseLeave",h="onMouseEnter",$="mouse",(t==="pointerout"||t==="pointerover")&&(y=N1,S="onPointerLeave",h="onPointerEnter",$="pointer"),x=d==null?p:po(d),b=m==null?p:po(m),p=new y(S,$+"leave",d,n,u),p.target=x,p.relatedTarget=b,S=null,Sr(u)===l&&(y=new y(h,$+"enter",m,n,u),y.target=b,y.relatedTarget=x,S=y),x=S,d&&m)e:{for(y=d,h=m,$=0,b=y;b;b=uo(b))$++;for(b=0,S=h;S;S=uo(S))b++;for(;0<$-b;)y=uo(y),$--;for(;0<b-$;)h=uo(h),b--;for(;$--;){if(y===h||h!==null&&y===h.alternate)break e;y=uo(y),h=uo(h)}y=null}else y=null;d!==null&&ag(f,p,d,y,!1),m!==null&&x!==null&&ag(f,x,m,y,!0)}}t:{if(p=l?po(l):window,d=p.nodeName&&p.nodeName.toLowerCase(),d==="select"||d==="input"&&p.type==="file")var _=jE;else if(V1(p))if(F1)_=WE;else{_=HE;var k=zE}else(d=p.nodeName)&&d.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(_=GE);if(_&&(_=_(t,l))){U1(f,_,n,u);break t}k&&k(t,p,l),t==="focusout"&&(k=p._wrapperState)&&k.controlled&&p.type==="number"&&Fl(p,"number",p.value)}switch(k=l?po(l):window,t){case"focusin":(V1(k)||k.contentEditable==="true")&&(co=k,vu=l,$s=null);break;case"focusout":$s=vu=co=null;break;case"mousedown":$u=!0;break;case"contextmenu":case"mouseup":case"dragend":$u=!1,Z1(f,n,u);break;case"selectionchange":if(ZE)break;case"keydown":case"keyup":Z1(f,n,u)}var C;if(pu)t:{switch(t){case"compositionstart":var R="onCompositionStart";break t;case"compositionend":R="onCompositionEnd";break t;case"compositionupdate":R="onCompositionUpdate";break t}R=void 0}else ao?M1(t,n)&&(R="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(I1&&n.locale!=="ko"&&(ao||R!=="onCompositionStart"?R==="onCompositionEnd"&&ao&&(C=L1()):(Wn=u,au="value"in Wn?Wn.value:Wn.textContent,ao=!0)),k=$a(l,R),0<k.length&&(R=new D1(R,t,null,n,u),f.push({event:R,listeners:k}),C?R.data=C:(C=B1(n),C!==null&&(R.data=C)))),(C=ME?BE(t,n):VE(t,n))&&(l=$a(l,"onBeforeInput"),0<l.length&&(u=new D1("onBeforeInput","beforeinput",null,n,u),f.push({event:u,listeners:l}),u.data=C))}sg(f,e)})}function ws(t,e,n){return{instance:t,listener:e,currentTarget:n}}function $a(t,e){for(var n=e+"Capture",r=[];t!==null;){var o=t,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=ns(t,n),s!=null&&r.unshift(ws(t,s,o)),s=ns(t,e),s!=null&&r.push(ws(t,s,o))),t=t.return}return r}function uo(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function ag(t,e,n,r,o){for(var s=e._reactName,i=[];n!==null&&n!==r;){var a=n,c=a.alternate,l=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&l!==null&&(a=l,o?(c=ns(n,s),c!=null&&i.unshift(ws(n,c,a))):o||(c=ns(n,s),c!=null&&i.push(ws(n,c,a)))),n=n.return}i.length!==0&&t.push({event:e,listeners:i})}var t_=/\r\n?/g,e_=/\u0000|\uFFFD/g;function cg(t){return(typeof t=="string"?t:""+t).replace(t_,` `).replace(e_,"")}function ya(t,e,n){if(e=cg(e),cg(t)!==e&&n)throw Error(V(425))}function ba(){}var Eu=null,_u=null;function Tu(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Cu=typeof setTimeout=="function"?setTimeout:void 0,n_=typeof clearTimeout=="function"?clearTimeout:void 0,lg=typeof Promise=="function"?Promise:void 0,r_=typeof queueMicrotask=="function"?queueMicrotask:typeof lg<"u"?function(t){return lg.resolve(null).then(t).catch(o_)}:Cu;function o_(t){setTimeout(function(){throw t})}function ku(t,e){var n=e,r=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){t.removeChild(o),fs(e);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);fs(e)}function Kn(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function ug(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}var fo=Math.random().toString(36).slice(2),dn="__reactFiber$"+fo,xs="__reactProps$"+fo,xn="__reactContainer$"+fo,Au="__reactEvents$"+fo,s_="__reactListeners$"+fo,i_="__reactHandles$"+fo;function Sr(t){var e=t[dn];if(e)return e;for(var n=t.parentNode;n;){if(e=n[xn]||n[dn]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=ug(t);t!==null;){if(n=t[dn])return n;t=ug(t)}return e}t=n,n=t.parentNode}return null}function Ss(t){return t=t[dn]||t[xn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function po(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(V(33))}function wa(t){return t[xs]||null}var Lu=[],ho=-1;function Zn(t){return{current:t}}function Lt(t){0>ho||(t.current=Lu[ho],Lu[ho]=null,ho--)}function Tt(t,e){ho++,Lu[ho]=t.current,t.current=e}var Qn={},ce=Zn(Qn),be=Zn(!1),Er=Qn;function go(t,e){var n=t.type.contextTypes;if(!n)return Qn;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=e[s];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function we(t){return t=t.childContextTypes,t!=null}function xa(){Lt(be),Lt(ce)}function fg(t,e,n){if(ce.current!==Qn)throw Error(V(168));Tt(ce,e),Tt(be,n)}function dg(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in e))throw Error(V(108,zS(t)||"Unknown",o));return Ot({},n,r)}function Sa(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Qn,Er=ce.current,Tt(ce,t),Tt(be,be.current),!0}function pg(t,e,n){var r=t.stateNode;if(!r)throw Error(V(169));n?(t=dg(t,e,Er),r.__reactInternalMemoizedMergedChildContext=t,Lt(be),Lt(ce),Tt(ce,t)):Lt(be),Tt(be,n)}var Sn=null,Ea=!1,qu=!1;function hg(t){Sn===null?Sn=[t]:Sn.push(t)}function a_(t){Ea=!0,hg(t)}function Xn(){if(!qu&&Sn!==null){qu=!0;var t=0,e=yt;try{var n=Sn;for(yt=1;t<n.length;t++){var r=n[t];do r=r(!0);while(r!==null)}Sn=null,Ea=!1}catch(o){throw Sn!==null&&(Sn=Sn.slice(t+1)),m1(Jl,Xn),o}finally{yt=e,qu=!1}}return null}var mo=[],vo=0,_a=null,Ta=0,Be=[],Ve=0,_r=null,En=1,_n="";function Tr(t,e){mo[vo++]=Ta,mo[vo++]=_a,_a=t,Ta=e}function gg(t,e,n){Be[Ve++]=En,Be[Ve++]=_n,Be[Ve++]=_r,_r=t;var r=En;t=_n;var o=32-We(r)-1;r&=~(1<<o),n+=1;var s=32-We(e)+o;if(30<s){var i=o-o%5;s=(r&(1<<i)-1).toString(32),r>>=i,o-=i,En=1<<32-We(e)+o|n<<o|r,_n=s+t}else En=1<<s|n<<o|r,_n=t}function Ru(t){t.return!==null&&(Tr(t,1),gg(t,1,0))}function Du(t){for(;t===_a;)_a=mo[--vo],mo[vo]=null,Ta=mo[--vo],mo[vo]=null;for(;t===_r;)_r=Be[--Ve],Be[Ve]=null,_n=Be[--Ve],Be[Ve]=null,En=Be[--Ve],Be[Ve]=null}var De=null,Ne=null,Dt=!1,Ke=null;function mg(t,e){var n=ze(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,e=t.deletions,e===null?(t.deletions=[n],t.flags|=16):e.push(n)}function vg(t,e){switch(t.tag){case 5:var n=t.type;return e=e.nodeType!==1||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,De=t,Ne=Kn(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,De=t,Ne=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(n=_r!==null?{id:En,overflow:_n}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},n=ze(18,null,null,0),n.stateNode=e,n.return=t,t.child=n,De=t,Ne=null,!0):!1;default:return!1}}function Nu(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Iu(t){if(Dt){var e=Ne;if(e){var n=e;if(!vg(t,e)){if(Nu(t))throw Error(V(418));e=Kn(n.nextSibling);var r=De;e&&vg(t,e)?mg(r,n):(t.flags=t.flags&-4097|2,Dt=!1,De=t)}}else{if(Nu(t))throw Error(V(418));t.flags=t.flags&-4097|2,Dt=!1,De=t}}}function $g(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;De=t}function Ca(t){if(t!==De)return!1;if(!Dt)return $g(t),Dt=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!Tu(t.type,t.memoizedProps)),e&&(e=Ne)){if(Nu(t))throw yg(),Error(V(418));for(;e;)mg(t,e),e=Kn(e.nextSibling)}if($g(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(V(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"){if(e===0){Ne=Kn(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++}t=t.nextSibling}Ne=null}}else Ne=De?Kn(t.stateNode.nextSibling):null;return!0}function yg(){for(var t=Ne;t;)t=Kn(t.nextSibling)}function $o(){Ne=De=null,Dt=!1}function Pu(t){Ke===null?Ke=[t]:Ke.push(t)}var c_=wn.ReactCurrentBatchConfig;function Es(t,e,n){if(t=n.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(V(309));var r=n.stateNode}if(!r)throw Error(V(147,t));var o=r,s=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===s?e.ref:(e=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},e._stringRef=s,e)}if(typeof t!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,t))}return t}function ka(t,e){throw t=Object.prototype.toString.call(e),Error(V(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function bg(t){var e=t._init;return e(t._payload)}function wg(t){function e(h,$){if(t){var b=h.deletions;b===null?(h.deletions=[$],h.flags|=16):b.push($)}}function n(h,$){if(!t)return null;for(;$!==null;)e(h,$),$=$.sibling;return null}function r(h,$){for(h=new Map;$!==null;)$.key!==null?h.set($.key,$):h.set($.index,$),$=$.sibling;return h}function o(h,$){return h=ir(h,$),h.index=0,h.sibling=null,h}function s(h,$,b){return h.index=b,t?(b=h.alternate,b!==null?(b=b.index,b<$?(h.flags|=2,$):b):(h.flags|=2,$)):(h.flags|=1048576,$)}function i(h){return t&&h.alternate===null&&(h.flags|=2),h}function a(h,$,b,S){return $===null||$.tag!==6?($=kf(b,h.mode,S),$.return=h,$):($=o($,b),$.return=h,$)}function c(h,$,b,S){var _=b.type;return _===eo?u(h,$,b.props.children,S,b.key):$!==null&&($.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Un&&bg(_)===$.type)?(S=o($,b.props),S.ref=Es(h,$,b),S.return=h,S):(S=Xa(b.type,b.key,b.props,null,h.mode,S),S.ref=Es(h,$,b),S.return=h,S)}function l(h,$,b,S){return $===null||$.tag!==4||$.stateNode.containerInfo!==b.containerInfo||$.stateNode.implementation!==b.implementation?($=Af(b,h.mode,S),$.return=h,$):($=o($,b.children||[]),$.return=h,$)}function u(h,$,b,S,_){return $===null||$.tag!==7?($=Nr(b,h.mode,S,_),$.return=h,$):($=o($,b),$.return=h,$)}function f(h,$,b){if(typeof $=="string"&&$!==""||typeof $=="number")return $=kf(""+$,h.mode,b),$.return=h,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case Ki:return b=Xa($.type,$.key,$.props,null,h.mode,b),b.ref=Es(h,null,$),b.return=h,b;case to:return $=Af($,h.mode,b),$.return=h,$;case Un:var S=$._init;return f(h,S($._payload),b)}if(Jo($)||Qo($))return $=Nr($,h.mode,b,null),$.return=h,$;ka(h,$)}return null}function p(h,$,b,S){var _=$!==null?$.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return _!==null?null:a(h,$,""+b,S);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ki:return b.key===_?c(h,$,b,S):null;case to:return b.key===_?l(h,$,b,S):null;case Un:return _=b._init,p(h,$,_(b._payload),S)}if(Jo(b)||Qo(b))return _!==null?null:u(h,$,b,S,null);ka(h,b)}return null}function d(h,$,b,S,_){if(typeof S=="string"&&S!==""||typeof S=="number")return h=h.get(b)||null,a($,h,""+S,_);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Ki:return h=h.get(S.key===null?b:S.key)||null,c($,h,S,_);case to:return h=h.get(S.key===null?b:S.key)||null,l($,h,S,_);case Un:var k=S._init;return d(h,$,b,k(S._payload),_)}if(Jo(S)||Qo(S))return h=h.get(b)||null,u($,h,S,_,null);ka($,S)}return null}function m(h,$,b,S){for(var _=null,k=null,C=$,R=$=0,D=null;C!==null&&R<b.length;R++){C.index>R?(D=C,C=null):D=C.sibling;var I=p(h,C,b[R],S);if(I===null){C===null&&(C=D);break}t&&C&&I.alternate===null&&e(h,C),$=s(I,$,R),k===null?_=I:k.sibling=I,k=I,C=D}if(R===b.length)return n(h,C),Dt&&Tr(h,R),_;if(C===null){for(;R<b.length;R++)C=f(h,b[R],S),C!==null&&($=s(C,$,R),k===null?_=C:k.sibling=C,k=C);return Dt&&Tr(h,R),_}for(C=r(h,C);R<b.length;R++)D=d(C,h,R,b[R],S),D!==null&&(t&&D.alternate!==null&&C.delete(D.key===null?R:D.key),$=s(D,$,R),k===null?_=D:k.sibling=D,k=D);return t&&C.forEach(function(Z){return e(h,Z)}),Dt&&Tr(h,R),_}function y(h,$,b,S){var _=Qo(b);if(typeof _!="function")throw Error(V(150));if(b=_.call(b),b==null)throw Error(V(151));for(var k=_=null,C=$,R=$=0,D=null,I=b.next();C!==null&&!I.done;R++,I=b.next()){C.index>R?(D=C,C=null):D=C.sibling;var Z=p(h,C,I.value,S);if(Z===null){C===null&&(C=D);break}t&&C&&Z.alternate===null&&e(h,C),$=s(Z,$,R),k===null?_=Z:k.sibling=Z,k=Z,C=D}if(I.done)return n(h,C),Dt&&Tr(h,R),_;if(C===null){for(;!I.done;R++,I=b.next())I=f(h,I.value,S),I!==null&&($=s(I,$,R),k===null?_=I:k.sibling=I,k=I);return Dt&&Tr(h,R),_}for(C=r(h,C);!I.done;R++,I=b.next())I=d(C,h,R,I.value,S),I!==null&&(t&&I.alternate!==null&&C.delete(I.key===null?R:I.key),$=s(I,$,R),k===null?_=I:k.sibling=I,k=I);return t&&C.forEach(function(st){return e(h,st)}),Dt&&Tr(h,R),_}function x(h,$,b,S){if(typeof b=="object"&&b!==null&&b.type===eo&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Ki:t:{for(var _=b.key,k=$;k!==null;){if(k.key===_){if(_=b.type,_===eo){if(k.tag===7){n(h,k.sibling),$=o(k,b.props.children),$.return=h,h=$;break t}}else if(k.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Un&&bg(_)===k.type){n(h,k.sibling),$=o(k,b.props),$.ref=Es(h,k,b),$.return=h,h=$;break t}n(h,k);break}else e(h,k);k=k.sibling}b.type===eo?($=Nr(b.props.children,h.mode,S,b.key),$.return=h,h=$):(S=Xa(b.type,b.key,b.props,null,h.mode,S),S.ref=Es(h,$,b),S.return=h,h=S)}return i(h);case to:t:{for(k=b.key;$!==null;){if($.key===k)if($.tag===4&&$.stateNode.containerInfo===b.containerInfo&&$.stateNode.implementation===b.implementation){n(h,$.sibling),$=o($,b.children||[]),$.return=h,h=$;break t}else{n(h,$);break}else e(h,$);$=$.sibling}$=Af(b,h.mode,S),$.return=h,h=$}return i(h);case Un:return k=b._init,x(h,$,k(b._payload),S)}if(Jo(b))return m(h,$,b,S);if(Qo(b))return y(h,$,b,S);ka(h,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,$!==null&&$.tag===6?(n(h,$.sibling),$=o($,b),$.return=h,h=$):(n(h,$),$=kf(b,h.mode,S),$.return=h,h=$),i(h)):n(h,$)}return x}var yo=wg(!0),xg=wg(!1),Aa=Zn(null),La=null,bo=null,Ou=null;function Mu(){Ou=bo=La=null}function Bu(t){var e=Aa.current;Lt(Aa),t._currentValue=e}function Vu(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function wo(t,e){La=t,Ou=bo=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(xe=!0),t.firstContext=null)}function Ue(t){var e=t._currentValue;if(Ou!==t)if(t={context:t,memoizedValue:e,next:null},bo===null){if(La===null)throw Error(V(308));bo=t,La.dependencies={lanes:0,firstContext:t}}else bo=bo.next=t;return e}var Cr=null;function Uu(t){Cr===null?Cr=[t]:Cr.push(t)}function Sg(t,e,n,r){var o=e.interleaved;return o===null?(n.next=n,Uu(e)):(n.next=o.next,o.next=n),e.interleaved=n,Tn(t,r)}function Tn(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var Jn=!1;function Fu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Eg(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Cn(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function tr(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,dt&2){var o=r.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),r.pending=e,Tn(t,n)}return o=r.interleaved,o===null?(e.next=e,Uu(r)):(e.next=o.next,o.next=e),r.interleaved=e,Tn(t,n)}function qa(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,nu(t,n)}}function _g(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=i:s=s.next=i,n=n.next}while(n!==null);s===null?o=s=e:s=s.next=e}else o=s=e;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function Ra(t,e,n,r){var o=t.updateQueue;Jn=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var c=a,l=c.next;c.next=null,i===null?s=l:i.next=l,i=c;var u=t.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==i&&(a===null?u.firstBaseUpdate=l:a.next=l,u.lastBaseUpdate=c))}if(s!==null){var f=o.baseState;i=0,u=l=c=null,a=s;do{var p=a.lane,d=a.eventTime;if((r&p)===p){u!==null&&(u=u.next={eventTime:d,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});t:{var m=t,y=a;switch(p=e,d=n,y.tag){case 1:if(m=y.payload,typeof m=="function"){f=m.call(d,f,p);break t}f=m;break t;case 3:m.flags=m.flags&-65537|128;case 0:if(m=y.payload,p=typeof m=="function"?m.call(d,f,p):m,p==null)break t;f=Ot({},f,p);break t;case 2:Jn=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else d={eventTime:d,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(l=u=d,c=f):u=u.next=d,i|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(u===null&&(c=f),o.baseState=c,o.firstBaseUpdate=l,o.lastBaseUpdate=u,e=o.shared.interleaved,e!==null){o=e;do i|=o.lane,o=o.next;while(o!==e)}else s===null&&(o.shared.lanes=0);Lr|=i,t.lanes=i,t.memoizedState=f}}function Tg(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var r=t[e],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(V(191,o));o.call(r)}}}var _s={},pn=Zn(_s),Ts=Zn(_s),Cs=Zn(_s);function kr(t){if(t===_s)throw Error(V(174));return t}function ju(t,e){switch(Tt(Cs,e),Tt(Ts,t),Tt(pn,_s),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:zl(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=zl(e,t)}Lt(pn),Tt(pn,e)}function xo(){Lt(pn),Lt(Ts),Lt(Cs)}function Cg(t){kr(Cs.current);var e=kr(pn.current),n=zl(e,t.type);e!==n&&(Tt(Ts,t),Tt(pn,n))}function zu(t){Ts.current===t&&(Lt(pn),Lt(Ts))}var Mt=Zn(0);function Da(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Hu=[];function Gu(){for(var t=0;t<Hu.length;t++)Hu[t]._workInProgressVersionPrimary=null;Hu.length=0}var Na=wn.ReactCurrentDispatcher,Wu=wn.ReactCurrentBatchConfig,Ar=0,Bt=null,Yt=null,Xt=null,Ia=!1,ks=!1,As=0,l_=0;function le(){throw Error(V(321))}function Yu(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Ye(t[n],e[n]))return!1;return!0}function Ku(t,e,n,r,o,s){if(Ar=s,Bt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Na.current=t===null||t.memoizedState===null?p_:h_,t=n(r,o),ks){s=0;do{if(ks=!1,As=0,25<=s)throw Error(V(301));s+=1,Xt=Yt=null,e.updateQueue=null,Na.current=g_,t=n(r,o)}while(ks)}if(Na.current=Ma,e=Yt!==null&&Yt.next!==null,Ar=0,Xt=Yt=Bt=null,Ia=!1,e)throw Error(V(300));return t}function Zu(){var t=As!==0;return As=0,t}function hn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?Bt.memoizedState=Xt=t:Xt=Xt.next=t,Xt}function Fe(){if(Yt===null){var t=Bt.alternate;t=t!==null?t.memoizedState:null}else t=Yt.next;var e=Xt===null?Bt.memoizedState:Xt.next;if(e!==null)Xt=e,Yt=t;else{if(t===null)throw Error(V(310));Yt=t,t={memoizedState:Yt.memoizedState,baseState:Yt.baseState,baseQueue:Yt.baseQueue,queue:Yt.queue,next:null},Xt===null?Bt.memoizedState=Xt=t:Xt=Xt.next=t}return Xt}function Ls(t,e){return typeof e=="function"?e(t):e}function Qu(t){var e=Fe(),n=e.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=t;var r=Yt,o=r.baseQueue,s=n.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}r.baseQueue=o=s,n.pending=null}if(o!==null){s=o.next,r=r.baseState;var a=i=null,c=null,l=s;do{var u=l.lane;if((Ar&u)===u)c!==null&&(c=c.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:t(r,l.action);else{var f={lane:u,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};c===null?(a=c=f,i=r):c=c.next=f,Bt.lanes|=u,Lr|=u}l=l.next}while(l!==null&&l!==s);c===null?i=r:c.next=a,Ye(r,e.memoizedState)||(xe=!0),e.memoizedState=r,e.baseState=i,e.baseQueue=c,n.lastRenderedState=r}if(t=n.interleaved,t!==null){o=t;do s=o.lane,Bt.lanes|=s,Lr|=s,o=o.next;while(o!==t)}else o===null&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function Xu(t){var e=Fe(),n=e.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=t;var r=n.dispatch,o=n.pending,s=e.memoizedState;if(o!==null){n.pending=null;var i=o=o.next;do s=t(s,i.action),i=i.next;while(i!==o);Ye(s,e.memoizedState)||(xe=!0),e.memoizedState=s,e.baseQueue===null&&(e.baseState=s),n.lastRenderedState=s}return[s,r]}function kg(){}function Ag(t,e){var n=Bt,r=Fe(),o=e(),s=!Ye(r.memoizedState,o);if(s&&(r.memoizedState=o,xe=!0),r=r.queue,Ju(Rg.bind(null,n,r,t),[t]),r.getSnapshot!==e||s||Xt!==null&&Xt.memoizedState.tag&1){if(n.flags|=2048,qs(9,qg.bind(null,n,r,o,e),void 0,null),Jt===null)throw Error(V(349));Ar&30||Lg(n,e,o)}return o}function Lg(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=Bt.updateQueue,e===null?(e={lastEffect:null,stores:null},Bt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function qg(t,e,n,r){e.value=n,e.getSnapshot=r,Dg(e)&&Ng(t)}function Rg(t,e,n){return n(function(){Dg(e)&&Ng(t)})}function Dg(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Ye(t,n)}catch{return!0}}function Ng(t){var e=Tn(t,1);e!==null&&Je(e,t,1,-1)}function Ig(t){var e=hn();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ls,lastRenderedState:t},e.queue=t,t=t.dispatch=d_.bind(null,Bt,t),[e.memoizedState,t]}function qs(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},e=Bt.updateQueue,e===null?(e={lastEffect:null,stores:null},Bt.updateQueue=e,e.lastEffect=t.next=t):(n=e.lastEffect,n===null?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t)),t}function Pg(){return Fe().memoizedState}function Pa(t,e,n,r){var o=hn();Bt.flags|=t,o.memoizedState=qs(1|e,n,void 0,r===void 0?null:r)}function Oa(t,e,n,r){var o=Fe();r=r===void 0?null:r;var s=void 0;if(Yt!==null){var i=Yt.memoizedState;if(s=i.destroy,r!==null&&Yu(r,i.deps)){o.memoizedState=qs(e,n,s,r);return}}Bt.flags|=t,o.memoizedState=qs(1|e,n,s,r)}function Og(t,e){return Pa(8390656,8,t,e)}function Ju(t,e){return Oa(2048,8,t,e)}function Mg(t,e){return Oa(4,2,t,e)}function Bg(t,e){return Oa(4,4,t,e)}function Vg(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Ug(t,e,n){return n=n!=null?n.concat([t]):null,Oa(4,4,Vg.bind(null,e,t),n)}function tf(){}function Fg(t,e){var n=Fe();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Yu(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function jg(t,e){var n=Fe();e=e===void 0?null:e;var r=n.memoizedState;return r!==null&&e!==null&&Yu(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function zg(t,e,n){return Ar&21?(Ye(n,e)||(n=b1(),Bt.lanes|=n,Lr|=n,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,xe=!0),t.memoizedState=n)}function u_(t,e){var n=yt;yt=n!==0&&4>n?n:4,t(!0);var r=Wu.transition;Wu.transition={};try{t(!1),e()}finally{yt=n,Wu.transition=r}}function Hg(){return Fe().memoizedState}function f_(t,e,n){var r=or(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Gg(t))Wg(e,n);else if(n=Sg(t,e,n,r),n!==null){var o=ve();Je(n,t,r,o),Yg(n,e,r)}}function d_(t,e,n){var r=or(t),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Gg(t))Wg(e,o);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var i=e.lastRenderedState,a=s(i,n);if(o.hasEagerState=!0,o.eagerState=a,Ye(a,i)){var c=e.interleaved;c===null?(o.next=o,Uu(e)):(o.next=c.next,c.next=o),e.interleaved=o;return}}catch{}finally{}n=Sg(t,e,o,r),n!==null&&(o=ve(),Je(n,t,r,o),Yg(n,e,r))}}function Gg(t){var e=t.alternate;return t===Bt||e!==null&&e===Bt}function Wg(t,e){ks=Ia=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Yg(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,nu(t,n)}}var Ma={readContext:Ue,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},p_={readContext:Ue,useCallback:function(t,e){return hn().memoizedState=[t,e===void 0?null:e],t},useContext:Ue,useEffect:Og,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,Pa(4194308,4,Vg.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Pa(4194308,4,t,e)},useInsertionEffect:function(t,e){return Pa(4,2,t,e)},useMemo:function(t,e){var n=hn();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=hn();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=f_.bind(null,Bt,t),[r.memoizedState,t]},useRef:function(t){var e=hn();return t={current:t},e.memoizedState=t},useState:Ig,useDebugValue:tf,useDeferredValue:function(t){return hn().memoizedState=t},useTransition:function(){var t=Ig(!1),e=t[0];return t=u_.bind(null,t[1]),hn().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Bt,o=hn();if(Dt){if(n===void 0)throw Error(V(407));n=n()}else{if(n=e(),Jt===null)throw Error(V(349));Ar&30||Lg(r,e,n)}o.memoizedState=n;var s={value:n,getSnapshot:e};return o.queue=s,Og(Rg.bind(null,r,s,t),[t]),r.flags|=2048,qs(9,qg.bind(null,r,s,n,e),void 0,null),n},useId:function(){var t=hn(),e=Jt.identifierPrefix;if(Dt){var n=_n,r=En;n=(r&~(1<<32-We(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=As++,0<n&&(e+="H"+n.toString(32)),e+=":"}else n=l_++,e=":"+e+"r"+n.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},h_={readContext:Ue,useCallback:Fg,useContext:Ue,useEffect:Ju,useImperativeHandle:Ug,useInsertionEffect:Mg,useLayoutEffect:Bg,useMemo:jg,useReducer:Qu,useRef:Pg,useState:function(){return Qu(Ls)},useDebugValue:tf,useDeferredValue:function(t){var e=Fe();return zg(e,Yt.memoizedState,t)},useTransition:function(){var t=Qu(Ls)[0],e=Fe().memoizedState;return[t,e]},useMutableSource:kg,useSyncExternalStore:Ag,useId:Hg,unstable_isNewReconciler:!1},g_={readContext:Ue,useCallback:Fg,useContext:Ue,useEffect:Ju,useImperativeHandle:Ug,useInsertionEffect:Mg,useLayoutEffect:Bg,useMemo:jg,useReducer:Xu,useRef:Pg,useState:function(){return Xu(Ls)},useDebugValue:tf,useDeferredValue:function(t){var e=Fe();return Yt===null?e.memoizedState=t:zg(e,Yt.memoizedState,t)},useTransition:function(){var t=Xu(Ls)[0],e=Fe().memoizedState;return[t,e]},useMutableSource:kg,useSyncExternalStore:Ag,useId:Hg,unstable_isNewReconciler:!1};function Ze(t,e){if(t&&t.defaultProps){e=Ot({},e),t=t.defaultProps;for(var n in t)e[n]===void 0&&(e[n]=t[n]);return e}return e}function ef(t,e,n,r){e=t.memoizedState,n=n(r,e),n=n==null?e:Ot({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Ba={isMounted:function(t){return(t=t._reactInternals)?xr(t)===t:!1},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=ve(),o=or(t),s=Cn(r,o);s.payload=e,n!=null&&(s.callback=n),e=tr(t,s,o),e!==null&&(Je(e,t,o,r),qa(e,t,o))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=ve(),o=or(t),s=Cn(r,o);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=tr(t,s,o),e!==null&&(Je(e,t,o,r),qa(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=ve(),r=or(t),o=Cn(n,r);o.tag=2,e!=null&&(o.callback=e),e=tr(t,o,r),e!==null&&(Je(e,t,r,n),qa(e,t,r))}};function Kg(t,e,n,r,o,s,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(r,s,i):e.prototype&&e.prototype.isPureReactComponent?!vs(n,r)||!vs(o,s):!0}function Zg(t,e,n){var r=!1,o=Qn,s=e.contextType;return typeof s=="object"&&s!==null?s=Ue(s):(o=we(e)?Er:ce.current,r=e.contextTypes,s=(r=r!=null)?go(t,o):Qn),e=new e(n,s),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=Ba,t.stateNode=e,e._reactInternals=t,r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=o,t.__reactInternalMemoizedMaskedChildContext=s),e}function Qg(t,e,n,r){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,r),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Ba.enqueueReplaceState(e,e.state,null)}function nf(t,e,n,r){var o=t.stateNode;o.props=n,o.state=t.memoizedState,o.refs={},Fu(t);var s=e.contextType;typeof s=="object"&&s!==null?o.context=Ue(s):(s=we(e)?Er:ce.current,o.context=go(t,s)),o.state=t.memoizedState,s=e.getDerivedStateFromProps,typeof s=="function"&&(ef(t,e,s,n),o.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(e=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),e!==o.state&&Ba.enqueueReplaceState(o,o.state,null),Ra(t,n,o,r),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308)}function So(t,e){try{var n="",r=e;do n+=jS(r),r=r.return;while(r);var o=n}catch(s){o=` Error generating stack: `+s.message+` `+s.stack}return{value:t,source:e,stack:o,digest:null}}function rf(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function of(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var m_=typeof WeakMap=="function"?WeakMap:Map;function Xg(t,e,n){n=Cn(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Ga||(Ga=!0,bf=r),of(t,e)},n}function Jg(t,e,n){n=Cn(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var o=e.value;n.payload=function(){return r(o)},n.callback=function(){of(t,e)}}var s=t.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){of(t,e),typeof r!="function"&&(nr===null?nr=new Set([this]):nr.add(this));var i=e.stack;this.componentDidCatch(e.value,{componentStack:i!==null?i:""})}),n}function tm(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new m_;var o=new Set;r.set(e,o)}else o=r.get(e),o===void 0&&(o=new Set,r.set(e,o));o.has(n)||(o.add(n),t=L_.bind(null,t,e,n),e.then(t,t))}function em(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function nm(t,e,n,r,o){return t.mode&1?(t.flags|=65536,t.lanes=o,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=Cn(-1,1),e.tag=2,tr(n,e,1))),n.lanes|=1),t)}var v_=wn.ReactCurrentOwner,xe=!1;function me(t,e,n,r){e.child=t===null?xg(e,null,n,r):yo(e,t.child,n,r)}function rm(t,e,n,r,o){n=n.render;var s=e.ref;return wo(e,o),r=Ku(t,e,n,r,s,o),n=Zu(),t!==null&&!xe?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,kn(t,e,o)):(Dt&&n&&Ru(e),e.flags|=1,me(t,e,r,o),e.child)}function om(t,e,n,r,o){if(t===null){var s=n.type;return typeof s=="function"&&!Cf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=s,sm(t,e,s,r,o)):(t=Xa(n.type,null,r,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!(t.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:vs,n(i,r)&&t.ref===e.ref)return kn(t,e,o)}return e.flags|=1,t=ir(s,r),t.ref=e.ref,t.return=e,e.child=t}function sm(t,e,n,r,o){if(t!==null){var s=t.memoizedProps;if(vs(s,r)&&t.ref===e.ref)if(xe=!1,e.pendingProps=r=s,(t.lanes&o)!==0)t.flags&131072&&(xe=!0);else return e.lanes=t.lanes,kn(t,e,o)}return sf(t,e,n,r,o)}function im(t,e,n){var r=e.pendingProps,o=r.children,s=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tt(_o,Ie),Ie|=n;else{if(!(n&1073741824))return t=s!==null?s.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Tt(_o,Ie),Ie|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Tt(_o,Ie),Ie|=r}else s!==null?(r=s.baseLanes|n,e.memoizedState=null):r=n,Tt(_o,Ie),Ie|=r;return me(t,e,o,n),e.child}function am(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function sf(t,e,n,r,o){var s=we(n)?Er:ce.current;return s=go(e,s),wo(e,o),n=Ku(t,e,n,r,s,o),r=Zu(),t!==null&&!xe?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,kn(t,e,o)):(Dt&&r&&Ru(e),e.flags|=1,me(t,e,n,o),e.child)}function cm(t,e,n,r,o){if(we(n)){var s=!0;Sa(e)}else s=!1;if(wo(e,o),e.stateNode===null)Ua(t,e),Zg(e,n,r),nf(e,n,r,o),r=!0;else if(t===null){var i=e.stateNode,a=e.memoizedProps;i.props=a;var c=i.context,l=n.contextType;typeof l=="object"&&l!==null?l=Ue(l):(l=we(n)?Er:ce.current,l=go(e,l));var u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||c!==l)&&Qg(e,i,r,l),Jn=!1;var p=e.memoizedState;i.state=p,Ra(e,r,i,o),c=e.memoizedState,a!==r||p!==c||be.current||Jn?(typeof u=="function"&&(ef(e,n,u,r),c=e.memoizedState),(a=Jn||Kg(e,n,a,r,p,c,l))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=c),i.props=r,i.state=c,i.context=l,r=a):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{i=e.stateNode,Eg(t,e),a=e.memoizedProps,l=e.type===e.elementType?a:Ze(e.type,a),i.props=l,f=e.pendingProps,p=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=Ue(c):(c=we(n)?Er:ce.current,c=go(e,c));var d=n.getDerivedStateFromProps;(u=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==f||p!==c)&&Qg(e,i,r,c),Jn=!1,p=e.memoizedState,i.state=p,Ra(e,r,i,o);var m=e.memoizedState;a!==f||p!==m||be.current||Jn?(typeof d=="function"&&(ef(e,n,d,r),m=e.memoizedState),(l=Jn||Kg(e,n,l,r,p,m,c)||!1)?(u||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,m,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,m,c)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=m),i.props=r,i.state=m,i.context=c,r=l):(typeof i.componentDidUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),r=!1)}return af(t,e,n,r,s,o)}function af(t,e,n,r,o,s){am(t,e);var i=(e.flags&128)!==0;if(!r&&!i)return o&&pg(e,n,!1),kn(t,e,s);r=e.stateNode,v_.current=e;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&i?(e.child=yo(e,t.child,null,s),e.child=yo(e,null,a,s)):me(t,e,a,s),e.memoizedState=r.state,o&&pg(e,n,!0),e.child}function lm(t){var e=t.stateNode;e.pendingContext?fg(t,e.pendingContext,e.pendingContext!==e.context):e.context&&fg(t,e.context,!1),ju(t,e.containerInfo)}function um(t,e,n,r,o){return $o(),Pu(o),e.flags|=256,me(t,e,n,r),e.child}var cf={dehydrated:null,treeContext:null,retryLane:0};function lf(t){return{baseLanes:t,cachePool:null,transitions:null}}function fm(t,e,n){var r=e.pendingProps,o=Mt.current,s=!1,i=(e.flags&128)!==0,a;if((a=i)||(a=t!==null&&t.memoizedState===null?!1:(o&2)!==0),a?(s=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(o|=1),Tt(Mt,o&1),t===null)return Iu(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(i=r.children,t=r.fallback,s?(r=e.mode,s=e.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=Ja(i,r,0,null),t=Nr(t,r,n,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=lf(n),e.memoizedState=cf,t):uf(e,i));if(o=t.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return $_(t,e,i,r,a,o,n);if(s){s=r.fallback,i=e.mode,o=t.child,a=o.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&e.child!==o?(r=e.child,r.childLanes=0,r.pendingProps=c,e.deletions=null):(r=ir(o,c),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=ir(a,s):(s=Nr(s,i,n,null),s.flags|=2),s.return=e,r.return=e,r.sibling=s,e.child=r,r=s,s=e.child,i=t.child.memoizedState,i=i===null?lf(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=t.childLanes&~n,e.memoizedState=cf,r}return s=t.child,t=s.sibling,r=ir(s,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function uf(t,e){return e=Ja({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Va(t,e,n,r){return r!==null&&Pu(r),yo(e,t.child,null,n),t=uf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function $_(t,e,n,r,o,s,i){if(n)return e.flags&256?(e.flags&=-257,r=rf(Error(V(422))),Va(t,e,i,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(s=r.fallback,o=e.mode,r=Ja({mode:"visible",children:r.children},o,0,null),s=Nr(s,o,i,null),s.flags|=2,r.return=e,s.return=e,r.sibling=s,e.child=r,e.mode&1&&yo(e,t.child,null,i),e.child.memoizedState=lf(i),e.memoizedState=cf,s);if(!(e.mode&1))return Va(t,e,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(V(419)),r=rf(s,r,void 0),Va(t,e,i,r)}if(a=(i&t.childLanes)!==0,xe||a){if(r=Jt,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,Tn(t,o),Je(r,t,o,-1))}return Tf(),r=rf(Error(V(421))),Va(t,e,i,r)}return o.data==="$?"?(e.flags|=128,e.child=t.child,e=q_.bind(null,t),o._reactRetry=e,null):(t=s.treeContext,Ne=Kn(o.nextSibling),De=e,Dt=!0,Ke=null,t!==null&&(Be[Ve++]=En,Be[Ve++]=_n,Be[Ve++]=_r,En=t.id,_n=t.overflow,_r=e),e=uf(e,r.children),e.flags|=4096,e)}function dm(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),Vu(t.return,e,n)}function ff(t,e,n,r,o){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function pm(t,e,n){var r=e.pendingProps,o=r.revealOrder,s=r.tail;if(me(t,e,r.children,n),r=Mt.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&dm(t,n,e);else if(t.tag===19)dm(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Tt(Mt,r),!(e.mode&1))e.memoizedState=null;else switch(o){case"forwards":for(n=e.child,o=null;n!==null;)t=n.alternate,t!==null&&Da(t)===null&&(o=n),n=n.sibling;n=o,n===null?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),ff(e,!1,o,n,s);break;case"backwards":for(n=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&Da(t)===null){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}ff(e,!0,n,null,s);break;case"together":ff(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Ua(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function kn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Lr|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(V(153));if(e.child!==null){for(t=e.child,n=ir(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=ir(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function y_(t,e,n){switch(e.tag){case 3:lm(e),$o();break;case 5:Cg(e);break;case 1:we(e.type)&&Sa(e);break;case 4:ju(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,o=e.memoizedProps.value;Tt(Aa,r._currentValue),r._currentValue=o;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(Tt(Mt,Mt.current&1),e.flags|=128,null):n&e.child.childLanes?fm(t,e,n):(Tt(Mt,Mt.current&1),t=kn(t,e,n),t!==null?t.sibling:null);Tt(Mt,Mt.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return pm(t,e,n);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Tt(Mt,Mt.current),r)break;return null;case 22:case 23:return e.lanes=0,im(t,e,n)}return kn(t,e,n)}var hm,df,gm,mm;hm=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},df=function(){},gm=function(t,e,n,r){var o=t.memoizedProps;if(o!==r){t=e.stateNode,kr(pn.current);var s=null;switch(n){case"input":o=Vl(t,o),r=Vl(t,r),s=[];break;case"select":o=Ot({},o,{value:void 0}),r=Ot({},r,{value:void 0}),s=[];break;case"textarea":o=jl(t,o),r=jl(t,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=ba)}Hl(n,r);var i;n=null;for(l in o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&o[l]!=null)if(l==="style"){var a=o[l];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else l!=="dangerouslySetInnerHTML"&&l!=="children"&&l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(Zo.hasOwnProperty(l)?s||(s=[]):(s=s||[]).push(l,null));for(l in r){var c=r[l];if(a=o?.[l],r.hasOwnProperty(l)&&c!==a&&(c!=null||a!=null))if(l==="style")if(a){for(i in a)!a.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&a[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(l,n)),n=c;else l==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(s=s||[]).push(l,c)):l==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(l,""+c):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&(Zo.hasOwnProperty(l)?(c!=null&&l==="onScroll"&&At("scroll",t),s||a===c||(s=[])):(s=s||[]).push(l,c))}n&&(s=s||[]).push("style",n);var l=s;(e.updateQueue=l)&&(e.flags|=4)}},mm=function(t,e,n,r){n!==r&&(e.flags|=4)};function Rs(t,e){if(!Dt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function ue(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var o=t.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function b_(t,e,n){var r=e.pendingProps;switch(Du(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ue(e),null;case 1:return we(e.type)&&xa(),ue(e),null;case 3:return r=e.stateNode,xo(),Lt(be),Lt(ce),Gu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(Ca(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Ke!==null&&(Sf(Ke),Ke=null))),df(t,e),ue(e),null;case 5:zu(e);var o=kr(Cs.current);if(n=e.type,t!==null&&e.stateNode!=null)gm(t,e,n,r,o),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(V(166));return ue(e),null}if(t=kr(pn.current),Ca(e)){r=e.stateNode,n=e.type;var s=e.memoizedProps;switch(r[dn]=e,r[xs]=s,t=(e.mode&1)!==0,n){case"dialog":At("cancel",r),At("close",r);break;case"iframe":case"object":case"embed":At("load",r);break;case"video":case"audio":for(o=0;o<ys.length;o++)At(ys[o],r);break;case"source":At("error",r);break;case"img":case"image":case"link":At("error",r),At("load",r);break;case"details":At("toggle",r);break;case"input":Zh(r,s),At("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},At("invalid",r);break;case"textarea":Jh(r,s),At("invalid",r)}Hl(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&ya(r.textContent,a,t),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&ya(r.textContent,a,t),o=["children",""+a]):Zo.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&At("scroll",r)}switch(n){case"input":Zi(r),Xh(r,s,!0);break;case"textarea":Zi(r),e1(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=ba)}r=o,e.updateQueue=r,r!==null&&(e.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=n1(n)),t==="http://www.w3.org/1999/xhtml"?n==="script"?(t=i.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=i.createElement(n,{is:r.is}):(t=i.createElement(n),n==="select"&&(i=t,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):t=i.createElementNS(t,n),t[dn]=e,t[xs]=r,hm(t,e,!1,!1),e.stateNode=t;t:{switch(i=Gl(n,r),n){case"dialog":At("cancel",t),At("close",t),o=r;break;case"iframe":case"object":case"embed":At("load",t),o=r;break;case"video":case"audio":for(o=0;o<ys.length;o++)At(ys[o],t);o=r;break;case"source":At("error",t),o=r;break;case"img":case"image":case"link":At("error",t),At("load",t),o=r;break;case"details":At("toggle",t),o=r;break;case"input":Zh(t,r),o=Vl(t,r),At("invalid",t);break;case"option":o=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},o=Ot({},r,{value:void 0}),At("invalid",t);break;case"textarea":Jh(t,r),o=jl(t,r),At("invalid",t);break;default:o=r}Hl(n,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var c=a[s];s==="style"?s1(t,c):s==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&r1(t,c)):s==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&ts(t,c):typeof c=="number"&&ts(t,""+c):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Zo.hasOwnProperty(s)?c!=null&&s==="onScroll"&&At("scroll",t):c!=null&&Al(t,s,c,i))}switch(n){case"input":Zi(t),Xh(t,r,!1);break;case"textarea":Zi(t),e1(t);break;case"option":r.value!=null&&t.setAttribute("value",""+Fn(r.value));break;case"select":t.multiple=!!r.multiple,s=r.value,s!=null?no(t,!!r.multiple,s,!1):r.defaultValue!=null&&no(t,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(t.onclick=ba)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}}r&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return ue(e),null;case 6:if(t&&e.stateNode!=null)mm(t,e,t.memoizedProps,r);else{if(typeof r!="string"&&e.stateNode===null)throw Error(V(166));if(n=kr(Cs.current),kr(pn.current),Ca(e)){if(r=e.stateNode,n=e.memoizedProps,r[dn]=e,(s=r.nodeValue!==n)&&(t=De,t!==null))switch(t.tag){case 3:ya(r.nodeValue,n,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&ya(r.nodeValue,n,(t.mode&1)!==0)}s&&(e.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[dn]=e,e.stateNode=r}return ue(e),null;case 13:if(Lt(Mt),r=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Dt&&Ne!==null&&e.mode&1&&!(e.flags&128))yg(),$o(),e.flags|=98560,s=!1;else if(s=Ca(e),r!==null&&r.dehydrated!==null){if(t===null){if(!s)throw Error(V(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(V(317));s[dn]=e}else $o(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;ue(e),s=!1}else Ke!==null&&(Sf(Ke),Ke=null),s=!0;if(!s)return e.flags&65536?e:null}return e.flags&128?(e.lanes=n,e):(r=r!==null,r!==(t!==null&&t.memoizedState!==null)&&r&&(e.child.flags|=8192,e.mode&1&&(t===null||Mt.current&1?Kt===0&&(Kt=3):Tf())),e.updateQueue!==null&&(e.flags|=4),ue(e),null);case 4:return xo(),df(t,e),t===null&&bs(e.stateNode.containerInfo),ue(e),null;case 10:return Bu(e.type._context),ue(e),null;case 17:return we(e.type)&&xa(),ue(e),null;case 19:if(Lt(Mt),s=e.memoizedState,s===null)return ue(e),null;if(r=(e.flags&128)!==0,i=s.rendering,i===null)if(r)Rs(s,!1);else{if(Kt!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(i=Da(t),i!==null){for(e.flags|=128,Rs(s,!1),r=i.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;n!==null;)s=n,t=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=t,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,t=i.dependencies,s.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return Tt(Mt,Mt.current&1|2),e.child}t=t.sibling}s.tail!==null&&zt()>To&&(e.flags|=128,r=!0,Rs(s,!1),e.lanes=4194304)}else{if(!r)if(t=Da(i),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Rs(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!Dt)return ue(e),null}else 2*zt()-s.renderingStartTime>To&&n!==1073741824&&(e.flags|=128,r=!0,Rs(s,!1),e.lanes=4194304);s.isBackwards?(i.sibling=e.child,e.child=i):(n=s.last,n!==null?n.sibling=i:e.child=i,s.last=i)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=zt(),e.sibling=null,n=Mt.current,Tt(Mt,r?n&1|2:n&1),e):(ue(e),null);case 22:case 23:return _f(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Ie&1073741824&&(ue(e),e.subtreeFlags&6&&(e.flags|=8192)):ue(e),null;case 24:return null;case 25:return null}throw Error(V(156,e.tag))}function w_(t,e){switch(Du(e),e.tag){case 1:return we(e.type)&&xa(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return xo(),Lt(be),Lt(ce),Gu(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return zu(e),null;case 13:if(Lt(Mt),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(V(340));$o()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Lt(Mt),null;case 4:return xo(),null;case 10:return Bu(e.type._context),null;case 22:case 23:return _f(),null;case 24:return null;default:return null}}var Fa=!1,fe=!1,x_=typeof WeakSet=="function"?WeakSet:Set,tt=null;function Eo(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ut(t,e,r)}else n.current=null}function pf(t,e,n){try{n()}catch(r){Ut(t,e,r)}}var vm=!1;function S_(t,e){if(Eu=ca,t=K1(),mu(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break t}var i=0,a=-1,c=-1,l=0,u=0,f=t,p=null;e:for(;;){for(var d;f!==n||o!==0&&f.nodeType!==3||(a=i+o),f!==s||r!==0&&f.nodeType!==3||(c=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(d=f.firstChild)!==null;)p=f,f=d;for(;;){if(f===t)break e;if(p===n&&++l===o&&(a=i),p===s&&++u===r&&(c=i),(d=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=d}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(_u={focusedElem:t,selectionRange:n},ca=!1,tt=e;tt!==null;)if(e=tt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,tt=t;else for(;tt!==null;){e=tt;try{var m=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,x=m.memoizedState,h=e.stateNode,$=h.getSnapshotBeforeUpdate(e.elementType===e.type?y:Ze(e.type,y),x);h.__reactInternalSnapshotBeforeUpdate=$}break;case 3:var b=e.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(S){Ut(e,e.return,S)}if(t=e.sibling,t!==null){t.return=e.return,tt=t;break}tt=e.return}return m=vm,vm=!1,m}function Ds(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&t)===t){var s=o.destroy;o.destroy=void 0,s!==void 0&&pf(e,n,s)}o=o.next}while(o!==r)}}function ja(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function hf(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function $m(t){var e=t.alternate;e!==null&&(t.alternate=null,$m(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[dn],delete e[xs],delete e[Au],delete e[s_],delete e[i_])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function ym(t){return t.tag===5||t.tag===3||t.tag===4}function bm(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||ym(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function gf(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=ba));else if(r!==4&&(t=t.child,t!==null))for(gf(t,e,n),t=t.sibling;t!==null;)gf(t,e,n),t=t.sibling}function mf(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(mf(t,e,n),t=t.sibling;t!==null;)mf(t,e,n),t=t.sibling}var ne=null,Qe=!1;function er(t,e,n){for(n=n.child;n!==null;)wm(t,e,n),n=n.sibling}function wm(t,e,n){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(na,n)}catch{}switch(n.tag){case 5:fe||Eo(n,e);case 6:var r=ne,o=Qe;ne=null,er(t,e,n),ne=r,Qe=o,ne!==null&&(Qe?(t=ne,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Qe?(t=ne,n=n.stateNode,t.nodeType===8?ku(t.parentNode,n):t.nodeType===1&&ku(t,n),fs(t)):ku(ne,n.stateNode));break;case 4:r=ne,o=Qe,ne=n.stateNode.containerInfo,Qe=!0,er(t,e,n),ne=r,Qe=o;break;case 0:case 11:case 14:case 15:if(!fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&pf(n,e,i),o=o.next}while(o!==r)}er(t,e,n);break;case 1:if(!fe&&(Eo(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ut(n,e,a)}er(t,e,n);break;case 21:er(t,e,n);break;case 22:n.mode&1?(fe=(r=fe)||n.memoizedState!==null,er(t,e,n),fe=r):er(t,e,n);break;default:er(t,e,n)}}function xm(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new x_),e.forEach(function(r){var o=R_.bind(null,t,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Xe(t,e){var n=e.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var s=t,i=e,a=i;t:for(;a!==null;){switch(a.tag){case 5:ne=a.stateNode,Qe=!1;break t;case 3:ne=a.stateNode.containerInfo,Qe=!0;break t;case 4:ne=a.stateNode.containerInfo,Qe=!0;break t}a=a.return}if(ne===null)throw Error(V(160));wm(s,i,o),ne=null,Qe=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(l){Ut(o,e,l)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)Sm(e,t),e=e.sibling}function Sm(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Xe(e,t),gn(t),r&4){try{Ds(3,t,t.return),ja(3,t)}catch(y){Ut(t,t.return,y)}try{Ds(5,t,t.return)}catch(y){Ut(t,t.return,y)}}break;case 1:Xe(e,t),gn(t),r&512&&n!==null&&Eo(n,n.return);break;case 5:if(Xe(e,t),gn(t),r&512&&n!==null&&Eo(n,n.return),t.flags&32){var o=t.stateNode;try{ts(o,"")}catch(y){Ut(t,t.return,y)}}if(r&4&&(o=t.stateNode,o!=null)){var s=t.memoizedProps,i=n!==null?n.memoizedProps:s,a=t.type,c=t.updateQueue;if(t.updateQueue=null,c!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Qh(o,s),Gl(a,i);var l=Gl(a,s);for(i=0;i<c.length;i+=2){var u=c[i],f=c[i+1];u==="style"?s1(o,f):u==="dangerouslySetInnerHTML"?r1(o,f):u==="children"?ts(o,f):Al(o,u,f,l)}switch(a){case"input":Ul(o,s);break;case"textarea":t1(o,s);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var d=s.value;d!=null?no(o,!!s.multiple,d,!1):p!==!!s.multiple&&(s.defaultValue!=null?no(o,!!s.multiple,s.defaultValue,!0):no(o,!!s.multiple,s.multiple?[]:"",!1))}o[xs]=s}catch(y){Ut(t,t.return,y)}}break;case 6:if(Xe(e,t),gn(t),r&4){if(t.stateNode===null)throw Error(V(162));o=t.stateNode,s=t.memoizedProps;try{o.nodeValue=s}catch(y){Ut(t,t.return,y)}}break;case 3:if(Xe(e,t),gn(t),r&4&&n!==null&&n.memoizedState.isDehydrated)try{fs(e.containerInfo)}catch(y){Ut(t,t.return,y)}break;case 4:Xe(e,t),gn(t);break;case 13:Xe(e,t),gn(t),o=t.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(yf=zt())),r&4&&xm(t);break;case 22:if(u=n!==null&&n.memoizedState!==null,t.mode&1?(fe=(l=fe)||u,Xe(e,t),fe=l):Xe(e,t),gn(t),r&8192){if(l=t.memoizedState!==null,(t.stateNode.isHidden=l)&&!u&&t.mode&1)for(tt=t,u=t.child;u!==null;){for(f=tt=u;tt!==null;){switch(p=tt,d=p.child,p.tag){case 0:case 11:case 14:case 15:Ds(4,p,p.return);break;case 1:Eo(p,p.return);var m=p.stateNode;if(typeof m.componentWillUnmount=="function"){r=p,n=p.return;try{e=r,m.props=e.memoizedProps,m.state=e.memoizedState,m.componentWillUnmount()}catch(y){Ut(r,n,y)}}break;case 5:Eo(p,p.return);break;case 22:if(p.memoizedState!==null){Tm(f);continue}}d!==null?(d.return=p,tt=d):Tm(f)}u=u.sibling}t:for(u=null,f=t;;){if(f.tag===5){if(u===null){u=f;try{o=f.stateNode,l?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,c=f.memoizedProps.style,i=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=o1("display",i))}catch(y){Ut(t,t.return,y)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=l?"":f.memoizedProps}catch(y){Ut(t,t.return,y)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===t)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break t;for(;f.sibling===null;){if(f.return===null||f.return===t)break t;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Xe(e,t),gn(t),r&4&&xm(t);break;case 21:break;default:Xe(e,t),gn(t)}}function gn(t){var e=t.flags;if(e&2){try{t:{for(var n=t.return;n!==null;){if(ym(n)){var r=n;break t}n=n.return}throw Error(V(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ts(o,""),r.flags&=-33);var s=bm(t);mf(t,s,o);break;case 3:case 4:var i=r.stateNode.containerInfo,a=bm(t);gf(t,a,i);break;default:throw Error(V(161))}}catch(c){Ut(t,t.return,c)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function E_(t,e,n){tt=t,Em(t)}function Em(t,e,n){for(var r=(t.mode&1)!==0;tt!==null;){var o=tt,s=o.child;if(o.tag===22&&r){var i=o.memoizedState!==null||Fa;if(!i){var a=o.alternate,c=a!==null&&a.memoizedState!==null||fe;a=Fa;var l=fe;if(Fa=i,(fe=c)&&!l)for(tt=o;tt!==null;)i=tt,c=i.child,i.tag===22&&i.memoizedState!==null?Cm(o):c!==null?(c.return=i,tt=c):Cm(o);for(;s!==null;)tt=s,Em(s),s=s.sibling;tt=o,Fa=a,fe=l}_m(t)}else o.subtreeFlags&8772&&s!==null?(s.return=o,tt=s):_m(t)}}function _m(t){for(;tt!==null;){var e=tt;if(e.flags&8772){var n=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:fe||ja(5,e);break;case 1:var r=e.stateNode;if(e.flags&4&&!fe)if(n===null)r.componentDidMount();else{var o=e.elementType===e.type?n.memoizedProps:Ze(e.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=e.updateQueue;s!==null&&Tg(e,s,r);break;case 3:var i=e.updateQueue;if(i!==null){if(n=null,e.child!==null)switch(e.child.tag){case 5:n=e.child.stateNode;break;case 1:n=e.child.stateNode}Tg(e,i,n)}break;case 5:var a=e.stateNode;if(n===null&&e.flags&4){n=a;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var l=e.alternate;if(l!==null){var u=l.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&fs(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}fe||e.flags&512&&hf(e)}catch(p){Ut(e,e.return,p)}}if(e===t){tt=null;break}if(n=e.sibling,n!==null){n.return=e.return,tt=n;break}tt=e.return}}function Tm(t){for(;tt!==null;){var e=tt;if(e===t){tt=null;break}var n=e.sibling;if(n!==null){n.return=e.return,tt=n;break}tt=e.return}}function Cm(t){for(;tt!==null;){var e=tt;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{ja(4,e)}catch(c){Ut(e,n,c)}break;case 1:var r=e.stateNode;if(typeof r.componentDidMount=="function"){var o=e.return;try{r.componentDidMount()}catch(c){Ut(e,o,c)}}var s=e.return;try{hf(e)}catch(c){Ut(e,s,c)}break;case 5:var i=e.return;try{hf(e)}catch(c){Ut(e,i,c)}}}catch(c){Ut(e,e.return,c)}if(e===t){tt=null;break}var a=e.sibling;if(a!==null){a.return=e.return,tt=a;break}tt=e.return}}var __=Math.ceil,za=wn.ReactCurrentDispatcher,vf=wn.ReactCurrentOwner,je=wn.ReactCurrentBatchConfig,dt=0,Jt=null,Gt=null,re=0,Ie=0,_o=Zn(0),Kt=0,Ns=null,Lr=0,Ha=0,$f=0,Is=null,Se=null,yf=0,To=1/0,An=null,Ga=!1,bf=null,nr=null,Wa=!1,rr=null,Ya=0,Ps=0,wf=null,Ka=-1,Za=0;function ve(){return dt&6?zt():Ka!==-1?Ka:Ka=zt()}function or(t){return t.mode&1?dt&2&&re!==0?re&-re:c_.transition!==null?(Za===0&&(Za=b1()),Za):(t=yt,t!==0||(t=window.event,t=t===void 0?16:A1(t.type)),t):1}function Je(t,e,n,r){if(50<Ps)throw Ps=0,wf=null,Error(V(185));is(t,n,r),(!(dt&2)||t!==Jt)&&(t===Jt&&(!(dt&2)&&(Ha|=n),Kt===4&&sr(t,re)),Ee(t,r),n===1&&dt===0&&!(e.mode&1)&&(To=zt()+500,Ea&&Xn()))}function Ee(t,e){var n=t.callbackNode;cE(t,e);var r=sa(t,t===Jt?re:0);if(r===0)n!==null&&v1(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(n!=null&&v1(n),e===1)t.tag===0?a_(Am.bind(null,t)):hg(Am.bind(null,t)),r_(function(){!(dt&6)&&Xn()}),n=null;else{switch(w1(r)){case 1:n=Jl;break;case 4:n=$1;break;case 16:n=ea;break;case 536870912:n=y1;break;default:n=ea}n=Om(n,km.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function km(t,e){if(Ka=-1,Za=0,dt&6)throw Error(V(327));var n=t.callbackNode;if(Co()&&t.callbackNode!==n)return null;var r=sa(t,t===Jt?re:0);if(r===0)return null;if(r&30||r&t.expiredLanes||e)e=Qa(t,r);else{e=r;var o=dt;dt|=2;var s=qm();(Jt!==t||re!==e)&&(An=null,To=zt()+500,Rr(t,e));do try{k_();break}catch(a){Lm(t,a)}while(!0);Mu(),za.current=s,dt=o,Gt!==null?e=0:(Jt=null,re=0,e=Kt)}if(e!==0){if(e===2&&(o=tu(t),o!==0&&(r=o,e=xf(t,o))),e===1)throw n=Ns,Rr(t,0),sr(t,r),Ee(t,zt()),n;if(e===6)sr(t,r);else{if(o=t.current.alternate,!(r&30)&&!T_(o)&&(e=Qa(t,r),e===2&&(s=tu(t),s!==0&&(r=s,e=xf(t,s))),e===1))throw n=Ns,Rr(t,0),sr(t,r),Ee(t,zt()),n;switch(t.finishedWork=o,t.finishedLanes=r,e){case 0:case 1:throw Error(V(345));case 2:Dr(t,Se,An);break;case 3:if(sr(t,r),(r&130023424)===r&&(e=yf+500-zt(),10<e)){if(sa(t,0)!==0)break;if(o=t.suspendedLanes,(o&r)!==r){ve(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=Cu(Dr.bind(null,t,Se,An),e);break}Dr(t,Se,An);break;case 4:if(sr(t,r),(r&4194240)===r)break;for(e=t.eventTimes,o=-1;0<r;){var i=31-We(r);s=1<<i,i=e[i],i>o&&(o=i),r&=~s}if(r=o,r=zt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*__(r/1960))-r,10<r){t.timeoutHandle=Cu(Dr.bind(null,t,Se,An),r);break}Dr(t,Se,An);break;case 5:Dr(t,Se,An);break;default:throw Error(V(329))}}}return Ee(t,zt()),t.callbackNode===n?km.bind(null,t):null}function xf(t,e){var n=Is;return t.current.memoizedState.isDehydrated&&(Rr(t,e).flags|=256),t=Qa(t,e),t!==2&&(e=Se,Se=n,e!==null&&Sf(e)),t}function Sf(t){Se===null?Se=t:Se.push.apply(Se,t)}function T_(t){for(var e=t;;){if(e.flags&16384){var n=e.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],s=o.getSnapshot;o=o.value;try{if(!Ye(s(),o))return!1}catch{return!1}}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function sr(t,e){for(e&=~$f,e&=~Ha,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-We(e),r=1<<n;t[n]=-1,e&=~r}}function Am(t){if(dt&6)throw Error(V(327));Co();var e=sa(t,0);if(!(e&1))return Ee(t,zt()),null;var n=Qa(t,e);if(t.tag!==0&&n===2){var r=tu(t);r!==0&&(e=r,n=xf(t,r))}if(n===1)throw n=Ns,Rr(t,0),sr(t,e),Ee(t,zt()),n;if(n===6)throw Error(V(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Dr(t,Se,An),Ee(t,zt()),null}function Ef(t,e){var n=dt;dt|=1;try{return t(e)}finally{dt=n,dt===0&&(To=zt()+500,Ea&&Xn())}}function qr(t){rr!==null&&rr.tag===0&&!(dt&6)&&Co();var e=dt;dt|=1;var n=je.transition,r=yt;try{if(je.transition=null,yt=1,t)return t()}finally{yt=r,je.transition=n,dt=e,!(dt&6)&&Xn()}}function _f(){Ie=_o.current,Lt(_o)}function Rr(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(n!==-1&&(t.timeoutHandle=-1,n_(n)),Gt!==null)for(n=Gt.return;n!==null;){var r=n;switch(Du(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&xa();break;case 3:xo(),Lt(be),Lt(ce),Gu();break;case 5:zu(r);break;case 4:xo();break;case 13:Lt(Mt);break;case 19:Lt(Mt);break;case 10:Bu(r.type._context);break;case 22:case 23:_f()}n=n.return}if(Jt=t,Gt=t=ir(t.current,null),re=Ie=e,Kt=0,Ns=null,$f=Ha=Lr=0,Se=Is=null,Cr!==null){for(e=0;e<Cr.length;e++)if(n=Cr[e],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,s=n.pending;if(s!==null){var i=s.next;s.next=o,r.next=i}n.pending=r}Cr=null}return t}function Lm(t,e){do{var n=Gt;try{if(Mu(),Na.current=Ma,Ia){for(var r=Bt.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Ia=!1}if(Ar=0,Xt=Yt=Bt=null,ks=!1,As=0,vf.current=null,n===null||n.return===null){Kt=1,Ns=e,Gt=null;break}t:{var s=t,i=n.return,a=n,c=e;if(e=re,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var l=c,u=a,f=u.tag;if(!(u.mode&1)&&(f===0||f===11||f===15)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var d=em(i);if(d!==null){d.flags&=-257,nm(d,i,a,s,e),d.mode&1&&tm(s,l,e),e=d,c=l;var m=e.updateQueue;if(m===null){var y=new Set;y.add(c),e.updateQueue=y}else m.add(c);break t}else{if(!(e&1)){tm(s,l,e),Tf();break t}c=Error(V(426))}}else if(Dt&&a.mode&1){var x=em(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),nm(x,i,a,s,e),Pu(So(c,a));break t}}s=c=So(c,a),Kt!==4&&(Kt=2),Is===null?Is=[s]:Is.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,e&=-e,s.lanes|=e;var h=Xg(s,c,e);_g(s,h);break t;case 1:a=c;var $=s.type,b=s.stateNode;if(!(s.flags&128)&&(typeof $.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(nr===null||!nr.has(b)))){s.flags|=65536,e&=-e,s.lanes|=e;var S=Jg(s,a,e);_g(s,S);break t}}s=s.return}while(s!==null)}Dm(n)}catch(_){e=_,Gt===n&&n!==null&&(Gt=n=n.return);continue}break}while(!0)}function qm(){var t=za.current;return za.current=Ma,t===null?Ma:t}function Tf(){(Kt===0||Kt===3||Kt===2)&&(Kt=4),Jt===null||!(Lr&268435455)&&!(Ha&268435455)||sr(Jt,re)}function Qa(t,e){var n=dt;dt|=2;var r=qm();(Jt!==t||re!==e)&&(An=null,Rr(t,e));do try{C_();break}catch(o){Lm(t,o)}while(!0);if(Mu(),dt=n,za.current=r,Gt!==null)throw Error(V(261));return Jt=null,re=0,Kt}function C_(){for(;Gt!==null;)Rm(Gt)}function k_(){for(;Gt!==null&&!JS();)Rm(Gt)}function Rm(t){var e=Pm(t.alternate,t,Ie);t.memoizedProps=t.pendingProps,e===null?Dm(t):Gt=e,vf.current=null}function Dm(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&32768){if(n=w_(n,e),n!==null){n.flags&=32767,Gt=n;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Kt=6,Gt=null;return}}else if(n=b_(n,e,Ie),n!==null){Gt=n;return}if(e=e.sibling,e!==null){Gt=e;return}Gt=e=t}while(e!==null);Kt===0&&(Kt=5)}function Dr(t,e,n){var r=yt,o=je.transition;try{je.transition=null,yt=1,A_(t,e,n,r)}finally{je.transition=o,yt=r}return null}function A_(t,e,n,r){do Co();while(rr!==null);if(dt&6)throw Error(V(327));n=t.finishedWork;var o=t.finishedLanes;if(n===null)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(V(177));t.callbackNode=null,t.callbackPriority=0;var s=n.lanes|n.childLanes;if(lE(t,s),t===Jt&&(Gt=Jt=null,re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Wa||(Wa=!0,Om(ea,function(){return Co(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=je.transition,je.transition=null;var i=yt;yt=1;var a=dt;dt|=4,vf.current=null,S_(t,n),Sm(n,t),KE(_u),ca=!!Eu,_u=Eu=null,t.current=n,E_(n),tE(),dt=a,yt=i,je.transition=s}else t.current=n;if(Wa&&(Wa=!1,rr=t,Ya=o),s=t.pendingLanes,s===0&&(nr=null),rE(n.stateNode),Ee(t,zt()),e!==null)for(r=t.onRecoverableError,n=0;n<e.length;n++)o=e[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ga)throw Ga=!1,t=bf,bf=null,t;return Ya&1&&t.tag!==0&&Co(),s=t.pendingLanes,s&1?t===wf?Ps++:(Ps=0,wf=t):Ps=0,Xn(),null}function Co(){if(rr!==null){var t=w1(Ya),e=je.transition,n=yt;try{if(je.transition=null,yt=16>t?16:t,rr===null)var r=!1;else{if(t=rr,rr=null,Ya=0,dt&6)throw Error(V(331));var o=dt;for(dt|=4,tt=t.current;tt!==null;){var s=tt,i=s.child;if(tt.flags&16){var a=s.deletions;if(a!==null){for(var c=0;c<a.length;c++){var l=a[c];for(tt=l;tt!==null;){var u=tt;switch(u.tag){case 0:case 11:case 15:Ds(8,u,s)}var f=u.child;if(f!==null)f.return=u,tt=f;else for(;tt!==null;){u=tt;var p=u.sibling,d=u.return;if($m(u),u===l){tt=null;break}if(p!==null){p.return=d,tt=p;break}tt=d}}}var m=s.alternate;if(m!==null){var y=m.child;if(y!==null){m.child=null;do{var x=y.sibling;y.sibling=null,y=x}while(y!==null)}}tt=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,tt=i;else t:for(;tt!==null;){if(s=tt,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Ds(9,s,s.return)}var h=s.sibling;if(h!==null){h.return=s.return,tt=h;break t}tt=s.return}}var $=t.current;for(tt=$;tt!==null;){i=tt;var b=i.child;if(i.subtreeFlags&2064&&b!==null)b.return=i,tt=b;else t:for(i=$;tt!==null;){if(a=tt,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ja(9,a)}}catch(_){Ut(a,a.return,_)}if(a===i){tt=null;break t}var S=a.sibling;if(S!==null){S.return=a.return,tt=S;break t}tt=a.return}}if(dt=o,Xn(),fn&&typeof fn.onPostCommitFiberRoot=="function")try{fn.onPostCommitFiberRoot(na,t)}catch{}r=!0}return r}finally{yt=n,je.transition=e}}return!1}function Nm(t,e,n){e=So(n,e),e=Xg(t,e,1),t=tr(t,e,1),e=ve(),t!==null&&(is(t,1,e),Ee(t,e))}function Ut(t,e,n){if(t.tag===3)Nm(t,t,n);else for(;e!==null;){if(e.tag===3){Nm(e,t,n);break}else if(e.tag===1){var r=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(nr===null||!nr.has(r))){t=So(n,t),t=Jg(e,t,1),e=tr(e,t,1),t=ve(),e!==null&&(is(e,1,t),Ee(e,t));break}}e=e.return}}function L_(t,e,n){var r=t.pingCache;r!==null&&r.delete(e),e=ve(),t.pingedLanes|=t.suspendedLanes&n,Jt===t&&(re&n)===n&&(Kt===4||Kt===3&&(re&130023424)===re&&500>zt()-yf?Rr(t,0):$f|=n),Ee(t,e)}function Im(t,e){e===0&&(t.mode&1?(e=oa,oa<<=1,!(oa&130023424)&&(oa=4194304)):e=1);var n=ve();t=Tn(t,e),t!==null&&(is(t,e,n),Ee(t,n))}function q_(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Im(t,n)}function R_(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,o=t.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(V(314))}r!==null&&r.delete(e),Im(t,n)}var Pm;Pm=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||be.current)xe=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return xe=!1,y_(t,e,n);xe=!!(t.flags&131072)}else xe=!1,Dt&&e.flags&1048576&&gg(e,Ta,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Ua(t,e),t=e.pendingProps;var o=go(e,ce.current);wo(e,n),o=Ku(null,e,r,t,o,n);var s=Zu();return e.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,we(r)?(s=!0,Sa(e)):s=!1,e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Fu(e),o.updater=Ba,e.stateNode=o,o._reactInternals=e,nf(e,r,t,n),e=af(null,e,r,!0,s,n)):(e.tag=0,Dt&&s&&Ru(e),me(null,e,o,n),e=e.child),e;case 16:r=e.elementType;t:{switch(Ua(t,e),t=e.pendingProps,o=r._init,r=o(r._payload),e.type=r,o=e.tag=N_(r),t=Ze(r,t),o){case 0:e=sf(null,e,r,t,n);break t;case 1:e=cm(null,e,r,t,n);break t;case 11:e=rm(null,e,r,t,n);break t;case 14:e=om(null,e,r,Ze(r.type,t),n);break t}throw Error(V(306,r,""))}return e;case 0:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Ze(r,o),sf(t,e,r,o,n);case 1:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Ze(r,o),cm(t,e,r,o,n);case 3:t:{if(lm(e),t===null)throw Error(V(387));r=e.pendingProps,s=e.memoizedState,o=s.element,Eg(t,e),Ra(e,r,null,n);var i=e.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){o=So(Error(V(423)),e),e=um(t,e,r,n,o);break t}else if(r!==o){o=So(Error(V(424)),e),e=um(t,e,r,n,o);break t}else for(Ne=Kn(e.stateNode.containerInfo.firstChild),De=e,Dt=!0,Ke=null,n=xg(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($o(),r===o){e=kn(t,e,n);break t}me(t,e,r,n)}e=e.child}return e;case 5:return Cg(e),t===null&&Iu(e),r=e.type,o=e.pendingProps,s=t!==null?t.memoizedProps:null,i=o.children,Tu(r,o)?i=null:s!==null&&Tu(r,s)&&(e.flags|=32),am(t,e),me(t,e,i,n),e.child;case 6:return t===null&&Iu(e),null;case 13:return fm(t,e,n);case 4:return ju(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=yo(e,null,r,n):me(t,e,r,n),e.child;case 11:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Ze(r,o),rm(t,e,r,o,n);case 7:return me(t,e,e.pendingProps,n),e.child;case 8:return me(t,e,e.pendingProps.children,n),e.child;case 12:return me(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(r=e.type._context,o=e.pendingProps,s=e.memoizedProps,i=o.value,Tt(Aa,r._currentValue),r._currentValue=i,s!==null)if(Ye(s.value,i)){if(s.children===o.children&&!be.current){e=kn(t,e,n);break t}}else for(s=e.child,s!==null&&(s.return=e);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=Cn(-1,n&-n),c.tag=2;var l=s.updateQueue;if(l!==null){l=l.shared;var u=l.pending;u===null?c.next=c:(c.next=u.next,u.next=c),l.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Vu(s.return,n,e),a.lanes|=n;break}c=c.next}}else if(s.tag===10)i=s.type===e.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(V(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Vu(i,n,e),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===e){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}me(t,e,o.children,n),e=e.child}return e;case 9:return o=e.type,r=e.pendingProps.children,wo(e,n),o=Ue(o),r=r(o),e.flags|=1,me(t,e,r,n),e.child;case 14:return r=e.type,o=Ze(r,e.pendingProps),o=Ze(r.type,o),om(t,e,r,o,n);case 15:return sm(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Ze(r,o),Ua(t,e),e.tag=1,we(r)?(t=!0,Sa(e)):t=!1,wo(e,n),Zg(e,r,o),nf(e,r,o,n),af(null,e,r,!0,t,n);case 19:return pm(t,e,n);case 22:return im(t,e,n)}throw Error(V(156,e.tag))};function Om(t,e){return m1(t,e)}function D_(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ze(t,e,n,r){return new D_(t,e,n,r)}function Cf(t){return t=t.prototype,!(!t||!t.isReactComponent)}function N_(t){if(typeof t=="function")return Cf(t)?1:0;if(t!=null){if(t=t.$$typeof,t===Rl)return 11;if(t===Il)return 14}return 2}function ir(t,e){var n=t.alternate;return n===null?(n=ze(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Xa(t,e,n,r,o,s){var i=2;if(r=t,typeof t=="function")Cf(t)&&(i=1);else if(typeof t=="string")i=5;else t:switch(t){case eo:return Nr(n.children,o,s,e);case Ll:i=8,o|=8;break;case ql:return t=ze(12,n,e,o|2),t.elementType=ql,t.lanes=s,t;case Dl:return t=ze(13,n,e,o),t.elementType=Dl,t.lanes=s,t;case Nl:return t=ze(19,n,e,o),t.elementType=Nl,t.lanes=s,t;case Gh:return Ja(n,o,s,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case zh:i=10;break t;case Hh:i=9;break t;case Rl:i=11;break t;case Il:i=14;break t;case Un:i=16,r=null;break t}throw Error(V(130,t==null?t:typeof t,""))}return e=ze(i,n,e,o),e.elementType=t,e.type=r,e.lanes=s,e}function Nr(t,e,n,r){return t=ze(7,t,r,e),t.lanes=n,t}function Ja(t,e,n,r){return t=ze(22,t,r,e),t.elementType=Gh,t.lanes=n,t.stateNode={isHidden:!1},t}function kf(t,e,n){return t=ze(6,t,null,e),t.lanes=n,t}function Af(t,e,n){return e=ze(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function I_(t,e,n,r,o){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=eu(0),this.expirationTimes=eu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Lf(t,e,n,r,o,s,i,a,c){return t=new I_(t,e,n,a,c),e===1?(e=1,s===!0&&(e|=8)):e=0,s=ze(3,null,null,e),t.current=s,s.stateNode=t,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fu(s),t}function P_(t,e,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:to,key:r==null?null:""+r,children:t,containerInfo:e,implementation:n}}function Mm(t){if(!t)return Qn;t=t._reactInternals;t:{if(xr(t)!==t||t.tag!==1)throw Error(V(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break t;case 1:if(we(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break t}}e=e.return}while(e!==null);throw Error(V(171))}if(t.tag===1){var n=t.type;if(we(n))return dg(t,n,e)}return e}function Bm(t,e,n,r,o,s,i,a,c){return t=Lf(n,r,!0,t,o,s,i,a,c),t.context=Mm(null),n=t.current,r=ve(),o=or(n),s=Cn(r,o),s.callback=e??null,tr(n,s,o),t.current.lanes=o,is(t,o,r),Ee(t,r),t}function tc(t,e,n,r){var o=e.current,s=ve(),i=or(o);return n=Mm(n),e.context===null?e.context=n:e.pendingContext=n,e=Cn(s,i),e.payload={element:t},r=r===void 0?null:r,r!==null&&(e.callback=r),t=tr(o,e,i),t!==null&&(Je(t,o,i,s),qa(t,o,i)),i}function ec(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function Vm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function qf(t,e){Vm(t,e),(t=t.alternate)&&Vm(t,e)}function O_(){return null}var Um=typeof reportError=="function"?reportError:function(t){console.error(t)};function Rf(t){this._internalRoot=t}nc.prototype.render=Rf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(V(409));tc(t,e,null,null)},nc.prototype.unmount=Rf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;qr(function(){tc(null,t,null,null)}),e[xn]=null}};function nc(t){this._internalRoot=t}nc.prototype.unstable_scheduleHydration=function(t){if(t){var e=E1();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Gn.length&&e!==0&&e<Gn[n].priority;n++);Gn.splice(n,0,t),n===0&&C1(t)}};function Df(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function rc(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Fm(){}function M_(t,e,n,r,o){if(o){if(typeof r=="function"){var s=r;r=function(){var l=ec(i);s.call(l)}}var i=Bm(e,r,t,0,null,!1,!1,"",Fm);return t._reactRootContainer=i,t[xn]=i.current,bs(t.nodeType===8?t.parentNode:t),qr(),i}for(;o=t.lastChild;)t.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var l=ec(c);a.call(l)}}var c=Lf(t,0,!1,null,null,!1,!1,"",Fm);return t._reactRootContainer=c,t[xn]=c.current,bs(t.nodeType===8?t.parentNode:t),qr(function(){tc(e,c,n,r)}),c}function oc(t,e,n,r,o){var s=n._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var c=ec(i);a.call(c)}}tc(e,i,t,o)}else i=M_(n,e,t,o,r);return ec(i)}x1=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=ss(e.pendingLanes);n!==0&&(nu(e,n|1),Ee(e,zt()),!(dt&6)&&(To=zt()+500,Xn()))}break;case 13:qr(function(){var r=Tn(t,1);if(r!==null){var o=ve();Je(r,t,1,o)}}),qf(t,1)}},ru=function(t){if(t.tag===13){var e=Tn(t,134217728);if(e!==null){var n=ve();Je(e,t,134217728,n)}qf(t,134217728)}},S1=function(t){if(t.tag===13){var e=or(t),n=Tn(t,e);if(n!==null){var r=ve();Je(n,t,e,r)}qf(t,e)}},E1=function(){return yt},_1=function(t,e){var n=yt;try{return yt=t,e()}finally{yt=n}},Kl=function(t,e,n){switch(e){case"input":if(Ul(t,n),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var o=wa(r);if(!o)throw Error(V(90));Kh(r),Ul(r,o)}}}break;case"textarea":t1(t,n);break;case"select":e=n.value,e!=null&&no(t,!!n.multiple,e,!1)}},l1=Ef,u1=qr;var B_={usingClientEntryPoint:!1,Events:[Ss,po,wa,a1,c1,Ef]},Os={findFiberByHostInstance:Sr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},V_={bundleType:Os.bundleType,version:Os.version,rendererPackageName:Os.rendererPackageName,rendererConfig:Os.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wn.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=h1(t),t===null?null:t.stateNode},findFiberByHostInstance:Os.findFiberByHostInstance||O_,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{na=sc.inject(V_),fn=sc}catch{}}Le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B_,Le.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Df(e))throw Error(V(200));return P_(t,e,null,n)},Le.createRoot=function(t,e){if(!Df(t))throw Error(V(299));var n=!1,r="",o=Um;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(r=e.identifierPrefix),e.onRecoverableError!==void 0&&(o=e.onRecoverableError)),e=Lf(t,1,!1,null,null,n,!1,r,o),t[xn]=e.current,bs(t.nodeType===8?t.parentNode:t),new Rf(e)},Le.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(V(188)):(t=Object.keys(t).join(","),Error(V(268,t)));return t=h1(e),t=t===null?null:t.stateNode,t},Le.flushSync=function(t){return qr(t)},Le.hydrate=function(t,e,n){if(!rc(e))throw Error(V(200));return oc(null,t,e,!0,n)},Le.hydrateRoot=function(t,e,n){if(!Df(t))throw Error(V(405));var r=n!=null&&n.hydratedSources||null,o=!1,s="",i=Um;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),e=Bm(e,null,t,1,n??null,o,!1,s,i),t[xn]=e.current,bs(t),r)for(t=0;t<r.length;t++)n=r[t],o=n._getVersion,o=o(n._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[n,o]:e.mutableSourceEagerHydrationData.push(n,o);return new nc(e)},Le.render=function(t,e,n){if(!rc(e))throw Error(V(200));return oc(null,t,e,!1,n)},Le.unmountComponentAtNode=function(t){if(!rc(t))throw Error(V(40));return t._reactRootContainer?(qr(function(){oc(null,null,t,!1,function(){t._reactRootContainer=null,t[xn]=null})}),!0):!1},Le.unstable_batchedUpdates=Ef,Le.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!rc(n))throw Error(V(200));if(t==null||t._reactInternals===void 0)throw Error(V(38));return oc(t,e,n,!1,r)},Le.version="18.3.1-next-f1338f8080-20240426";function jm(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jm)}catch(t){console.error(t)}}jm(),Mh.exports=Le;var Nf=Mh.exports;const zm=T.createContext({}),U_=T.forwardRef(function({children:e,initialSettings:n},r){const[o,s]=T.useState(n);return T.useImperativeHandle(r,()=>({setSettings:i=>s(a=>({...a,...i}))}),[]),q.jsx(zm.Provider,{value:o,children:T.cloneElement(e,{...e.props,...o})})});function F_(){const t=T.useContext(zm);if(t===null)throw new Error("useSettings should be used within SettingsContext");return t}function j_(t,e,n={}){let r=null;if(Nf.render(q.jsx(T.StrictMode,{children:q.jsx(LS,{shouldForwardProp:o=>!o.startsWith("_"),children:q.jsx(U_,{initialSettings:n,ref:o=>r=o,children:q.jsx(e,{})})})}),t),!r)throw new Error("Widget API not initialized");return r}class z_{constructor(e,n){this.api=null,this.createWidget=async(r,o={})=>(this.api=await j_(r,this.WidgetComponent,o),this.api),this.meta=e,this.WidgetComponent=n,this.registerProviders()}static init(e,n){return new this(e,n)}registerProviders(){fx(this.createWidget,this.meta.alias)}}const H_=(t,e)=>z_.init(t,e),Hm=T.createContext(null),G_="__EAAPS_PORTAL",W_="es-portal-root";function Y_({children:t,className:e,customCSSClassName:n,font:r}){const o=[W_,n,e].filter(Boolean).join(" "),[s,i]=T.useState(null);return q.jsxs(Hm.Provider,{value:s,children:[t,Nf.createPortal(q.jsx(K_,{_font:r,id:G_,className:o,ref:i}),document.body)]})}const K_=Q.div.withConfig({displayName:"portal-nest-provider__ElfsightPortalNest",componentId:"sc-161fpzp-0"})(["-webkit-font-smoothing:antialiased;font-family:",";"],({_font:t})=>t?.value),Z_=()=>T.useContext(Hm);function Gm({children:t,containerElement:e}){const n=Z_(),r=T.useRef(!1);return T.useEffect(()=>{r.current&&!(n||e)&&console.warn('containerElement for Portal fallback to "document.body" that can occur a problems with custom CSS. Is it wrapped with PortalNestProvider?'),r.current=!0},[n]),Nf.createPortal(t,e||n||document.body)}var If=function(t,e){return If=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},If(t,e)};function Wm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");If(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var j=function(){return j=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},j.apply(this,arguments)};function He(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function Q_(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ft(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,s=[],i;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(a){i={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return s}function _e(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,s;r<o;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var X_="production",Pf=typeof process>"u"||process.env===void 0?X_:"production",Ln=function(t){return{isEnabled:function(e){return t.some(function(n){return!!e[n]})}}},Ms={measureLayout:Ln(["layout","layoutId","drag"]),animation:Ln(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Ln(["exit"]),drag:Ln(["drag","dragControls"]),focus:Ln(["whileFocus"]),hover:Ln(["whileHover","onHoverStart","onHoverEnd"]),tap:Ln(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Ln(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Ln(["whileInView","onViewportEnter","onViewportLeave"])};function J_(t){for(var e in t)t[e]!==null&&(e==="projectionNodeConstructor"?Ms.projectionNodeConstructor=t[e]:Ms[e].Component=t[e])}var Bs=function(){},Ym=T.createContext({strict:!1}),Km=Object.keys(Ms),tT=Km.length;function eT(t,e,n){var r=[],o=T.useContext(Ym);if(!e)return null;Pf!=="production"&&n&&o.strict;for(var s=0;s<tT;s++){var i=Km[s],a=Ms[i],c=a.isEnabled,l=a.Component;c(t)&&l&&r.push(T.createElement(l,j({key:i},t,{visualElement:e})))}return r}var Of=T.createContext({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"}),ic=T.createContext({});function nT(){return T.useContext(ic).visualElement}var Vs=T.createContext(null),ko=typeof document<"u",ac=ko?T.useLayoutEffect:T.useEffect,Mf={current:null},Zm=!1;function rT(){if(Zm=!0,!!ko)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return Mf.current=t.matches};t.addListener(e),e()}else Mf.current=!1}function oT(){!Zm&&rT();var t=Ft(T.useState(Mf.current),1),e=t[0];return e}function sT(){var t=oT(),e=T.useContext(Of).reducedMotion;return e==="never"?!1:e==="always"?!0:t}function iT(t,e,n,r){var o=T.useContext(Ym),s=nT(),i=T.useContext(Vs),a=sT(),c=T.useRef(void 0);r||(r=o.renderer),!c.current&&r&&(c.current=r(t,{visualState:e,parent:s,props:n,presenceId:i?.id,blockInitialAnimation:i?.initial===!1,shouldReduceMotion:a}));var l=c.current;return ac(function(){l?.syncRender()}),T.useEffect(function(){var u;(u=l?.animationState)===null||u===void 0||u.animateChanges()}),ac(function(){return function(){return l?.notifyUnmount()}},[]),l}function Ao(t){return typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function aT(t,e,n){return T.useCallback(function(r){var o;r&&((o=t.mount)===null||o===void 0||o.call(t,r)),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):Ao(n)&&(n.current=r))},[e])}function Qm(t){return Array.isArray(t)}function tn(t){return typeof t=="string"||Qm(t)}function cT(t){var e={};return t.forEachValue(function(n,r){return e[r]=n.get()}),e}function lT(t){var e={};return t.forEachValue(function(n,r){return e[r]=n.getVelocity()}),e}function Xm(t,e,n,r,o){var s;return r===void 0&&(r={}),o===void 0&&(o={}),typeof e=="function"&&(e=e(n??t.custom,r,o)),typeof e=="string"&&(e=(s=t.variants)===null||s===void 0?void 0:s[e]),typeof e=="function"&&(e=e(n??t.custom,r,o)),e}function cc(t,e,n){var r=t.getProps();return Xm(r,e,n??r.custom,cT(t),lT(t))}function lc(t){var e;return typeof((e=t.animate)===null||e===void 0?void 0:e.start)=="function"||tn(t.initial)||tn(t.animate)||tn(t.whileHover)||tn(t.whileDrag)||tn(t.whileTap)||tn(t.whileFocus)||tn(t.exit)}function Jm(t){return!!(lc(t)||t.variants)}function uT(t,e){if(lc(t)){var n=t.initial,r=t.animate;return{initial:n===!1||tn(n)?n:void 0,animate:tn(r)?r:void 0}}return t.inherit!==!1?e:{}}function fT(t){var e=uT(t,T.useContext(ic)),n=e.initial,r=e.animate;return T.useMemo(function(){return{initial:n,animate:r}},[tv(n),tv(r)])}function tv(t){return Array.isArray(t)?t.join(" "):t}function Us(t){var e=T.useRef(null);return e.current===null&&(e.current=t()),e.current}var Fs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},dT=1;function pT(){return Us(function(){if(Fs.hasEverUpdated)return dT++})}var Bf=T.createContext({}),ev=T.createContext({});function hT(t,e,n,r){var o,s=e.layoutId,i=e.layout,a=e.drag,c=e.dragConstraints,l=e.layoutScroll,u=T.useContext(ev);!r||!n||n?.projection||(n.projection=new r(t,n.getLatestValues(),(o=n.parent)===null||o===void 0?void 0:o.projection),n.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!a||c&&Ao(c),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:typeof i=="string"?i:"both",initialPromotionConfig:u,layoutScroll:l}))}var gT=function(t){Wm(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var n=this.props,r=n.visualElement,o=n.props;r&&r.setProps(o)},e.prototype.render=function(){return this.props.children},e}(ie.Component);function mT(t){var e=t.preloadedFeatures,n=t.createVisualElement,r=t.projectionNodeConstructor,o=t.useRender,s=t.useVisualState,i=t.Component;e&&J_(e);function a(c,l){var u=vT(c);c=j(j({},c),{layoutId:u});var f=T.useContext(Of),p=null,d=fT(c),m=f.isStatic?void 0:pT(),y=s(c,f.isStatic);return!f.isStatic&&ko&&(d.visualElement=iT(i,y,j(j({},f),c),n),hT(m,c,d.visualElement,r||Ms.projectionNodeConstructor),p=eT(c,d.visualElement,e)),T.createElement(gT,{visualElement:d.visualElement,props:j(j({},f),c)},p,T.createElement(ic.Provider,{value:d},o(i,c,m,aT(y,d.visualElement,l),y,f.isStatic,d.visualElement)))}return T.forwardRef(a)}function vT(t){var e,n=t.layoutId,r=(e=T.useContext(Bf))===null||e===void 0?void 0:e.id;return r&&n!==void 0?r+"-"+n:n}function $T(t){function e(r,o){return o===void 0&&(o={}),mT(t(r,o))}if(typeof Proxy>"u")return e;var n=new Map;return new Proxy(e,{get:function(r,o){return n.has(o)||n.set(o,e(o)),n.get(o)}})}var yT=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Vf(t){return typeof t!="string"||t.includes("-")?!1:!!(yT.indexOf(t)>-1||/[A-Z]/.test(t))}var uc={};function bT(t){Object.assign(uc,t)}var Uf=["","X","Y","Z"],wT=["translate","scale","rotate","skew"],js=["transformPerspective","x","y","z"];wT.forEach(function(t){return Uf.forEach(function(e){return js.push(t+e)})});function xT(t,e){return js.indexOf(t)-js.indexOf(e)}var ST=new Set(js);function zs(t){return ST.has(t)}var ET=new Set(["originX","originY","originZ"]);function nv(t){return ET.has(t)}function rv(t,e){var n=e.layout,r=e.layoutId;return zs(t)||nv(t)||(n||r!==void 0)&&(!!uc[t]||t==="opacity")}var qn=function(t){return!!(t!==null&&typeof t=="object"&&t.getVelocity)},_T={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function TT(t,e,n,r){var o=t.transform,s=t.transformKeys,i=e.enableHardwareAcceleration,a=i===void 0?!0:i,c=e.allowTransformNone,l=c===void 0?!0:c,u="";s.sort(xT);for(var f=!1,p=s.length,d=0;d<p;d++){var m=s[d];u+="".concat(_T[m]||m,"(").concat(o[m],") "),m==="z"&&(f=!0)}return!f&&a?u+="translateZ(0)":u=u.trim(),r?u=r(o,n?"":u):l&&n&&(u="none"),u}function CT(t){var e=t.originX,n=e===void 0?"50%":e,r=t.originY,o=r===void 0?"50%":r,s=t.originZ,i=s===void 0?0:s;return"".concat(n," ").concat(o," ").concat(i)}function ov(t){return t.startsWith("--")}var kT=function(t,e){return e&&typeof t=="number"?e.transform(t):t};const sv=(t,e)=>n=>Math.max(Math.min(n,e),t),Hs=t=>t%1?Number(t.toFixed(5)):t,Gs=/(-)?([\d]*\.?[\d])+/g,Ff=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,AT=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ws(t){return typeof t=="string"}const Ir={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ys=Object.assign(Object.assign({},Ir),{transform:sv(0,1)}),fc=Object.assign(Object.assign({},Ir),{default:1}),Ks=t=>({test:e=>Ws(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),ar=Ks("deg"),mn=Ks("%"),rt=Ks("px"),LT=Ks("vh"),qT=Ks("vw"),iv=Object.assign(Object.assign({},mn),{parse:t=>mn.parse(t)/100,transform:t=>mn.transform(t*100)}),jf=(t,e)=>n=>!!(Ws(n)&&AT.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),av=(t,e,n)=>r=>{if(!Ws(r))return r;const[o,s,i,a]=r.match(Gs);return{[t]:parseFloat(o),[e]:parseFloat(s),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},Pr={test:jf("hsl","hue"),parse:av("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+mn.transform(Hs(e))+", "+mn.transform(Hs(n))+", "+Hs(Ys.transform(r))+")"},RT=sv(0,255),zf=Object.assign(Object.assign({},Ir),{transform:t=>Math.round(RT(t))}),cr={test:jf("rgb","red"),parse:av("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+zf.transform(t)+", "+zf.transform(e)+", "+zf.transform(n)+", "+Hs(Ys.transform(r))+")"};function DT(t){let e="",n="",r="",o="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),o=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),o=t.substr(4,1),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Hf={test:jf("#"),parse:DT,transform:cr.transform},$e={test:t=>cr.test(t)||Hf.test(t)||Pr.test(t),parse:t=>cr.test(t)?cr.parse(t):Pr.test(t)?Pr.parse(t):Hf.parse(t),transform:t=>Ws(t)?t:t.hasOwnProperty("red")?cr.transform(t):Pr.transform(t)},cv="${c}",lv="${n}";function NT(t){var e,n,r,o;return isNaN(t)&&Ws(t)&&((n=(e=t.match(Gs))===null||e===void 0?void 0:e.length)!==null&&n!==void 0?n:0)+((o=(r=t.match(Ff))===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0)>0}function uv(t){typeof t=="number"&&(t=`${t}`);const e=[];let n=0;const r=t.match(Ff);r&&(n=r.length,t=t.replace(Ff,cv),e.push(...r.map($e.parse)));const o=t.match(Gs);return o&&(t=t.replace(Gs,lv),e.push(...o.map(Ir.parse))),{values:e,numColors:n,tokenised:t}}function fv(t){return uv(t).values}function dv(t){const{values:e,numColors:n,tokenised:r}=uv(t),o=e.length;return s=>{let i=r;for(let a=0;a<o;a++)i=i.replace(a<n?cv:lv,a<n?$e.transform(s[a]):Hs(s[a]));return i}}const IT=t=>typeof t=="number"?0:t;function PT(t){const e=fv(t);return dv(t)(e.map(IT))}const Rn={test:NT,parse:fv,createTransformer:dv,getAnimatableNone:PT},OT=new Set(["brightness","contrast","saturate","opacity"]);function MT(t){let[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match(Gs)||[];if(!r)return t;const o=n.replace(r,"");let s=OT.has(e)?1:0;return r!==n&&(s*=100),e+"("+s+o+")"}const BT=/([a-z-]*)\(.*?\)/g,Gf=Object.assign(Object.assign({},Rn),{getAnimatableNone:t=>{const e=t.match(BT);return e?e.map(MT).join(" "):t}});var pv=j(j({},Ir),{transform:Math.round}),hv={borderWidth:rt,borderTopWidth:rt,borderRightWidth:rt,borderBottomWidth:rt,borderLeftWidth:rt,borderRadius:rt,radius:rt,borderTopLeftRadius:rt,borderTopRightRadius:rt,borderBottomRightRadius:rt,borderBottomLeftRadius:rt,width:rt,maxWidth:rt,height:rt,maxHeight:rt,size:rt,top:rt,right:rt,bottom:rt,left:rt,padding:rt,paddingTop:rt,paddingRight:rt,paddingBottom:rt,paddingLeft:rt,margin:rt,marginTop:rt,marginRight:rt,marginBottom:rt,marginLeft:rt,rotate:ar,rotateX:ar,rotateY:ar,rotateZ:ar,scale:fc,scaleX:fc,scaleY:fc,scaleZ:fc,skew:ar,skewX:ar,skewY:ar,distance:rt,translateX:rt,translateY:rt,translateZ:rt,x:rt,y:rt,z:rt,perspective:rt,transformPerspective:rt,opacity:Ys,originX:iv,originY:iv,originZ:rt,zIndex:pv,fillOpacity:Ys,strokeOpacity:Ys,numOctaves:pv};function Wf(t,e,n,r){var o,s=t.style,i=t.vars,a=t.transform,c=t.transformKeys,l=t.transformOrigin;c.length=0;var u=!1,f=!1,p=!0;for(var d in e){var m=e[d];if(ov(d)){i[d]=m;continue}var y=hv[d],x=kT(m,y);if(zs(d)){if(u=!0,a[d]=x,c.push(d),!p)continue;m!==((o=y.default)!==null&&o!==void 0?o:0)&&(p=!1)}else nv(d)?(l[d]=x,f=!0):s[d]=x}u?s.transform=TT(t,n,p,r):r?s.transform=r({},""):!e.transform&&s.transform&&(s.transform="none"),f&&(s.transformOrigin=CT(l))}var Yf=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function gv(t,e,n){for(var r in e)!qn(e[r])&&!rv(r,n)&&(t[r]=e[r])}function VT(t,e,n){var r=t.transformTemplate;return T.useMemo(function(){var o=Yf();Wf(o,e,{enableHardwareAcceleration:!n},r);var s=o.vars,i=o.style;return j(j({},s),i)},[e])}function UT(t,e,n){var r=t.style||{},o={};return gv(o,r,t),Object.assign(o,VT(t,e,n)),t.transformValues&&(o=t.transformValues(o)),o}function FT(t,e,n){var r={},o=UT(t,e,n);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=t.drag===!0?"none":"pan-".concat(t.drag==="x"?"y":"x")),r.style=o,r}var jT=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function dc(t){return jT.has(t)}var mv=function(t){return!dc(t)};function zT(t){t&&(mv=function(e){return e.startsWith("on")?!dc(e):t(e)})}try{zT(require("@emotion/is-prop-valid").default)}catch{}function HT(t,e,n){var r={};for(var o in t)(mv(o)||n===!0&&dc(o)||!e&&!dc(o)||t.draggable&&o.startsWith("onDrag"))&&(r[o]=t[o]);return r}function vv(t,e,n){return typeof t=="string"?t:rt.transform(e+n*t)}function GT(t,e,n){var r=vv(e,t.x,t.width),o=vv(n,t.y,t.height);return"".concat(r," ").concat(o)}var WT={offset:"strokeDashoffset",array:"strokeDasharray"};function YT(t,e,n,r,o){n===void 0&&(n=1),r===void 0&&(r=0),t.pathLength=1;var s=WT;t[s.offset]=rt.transform(-r);var i=rt.transform(e),a=rt.transform(n);t[s.array]="".concat(i," ").concat(a)}function Kf(t,e,n,r){var o=e.attrX,s=e.attrY,i=e.originX,a=e.originY,c=e.pathLength,l=e.pathSpacing,u=l===void 0?1:l,f=e.pathOffset,p=f===void 0?0:f,d=He(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Wf(t,d,n,r),t.attrs=t.style,t.style={};var m=t.attrs,y=t.style,x=t.dimensions;m.transform&&(x&&(y.transform=m.transform),delete m.transform),x&&(i!==void 0||a!==void 0||y.transform)&&(y.transformOrigin=GT(x,i!==void 0?i:.5,a!==void 0?a:.5)),o!==void 0&&(m.x=o),s!==void 0&&(m.y=s),c!==void 0&&YT(m,c,u,p)}var $v=function(){return j(j({},Yf()),{attrs:{}})};function KT(t,e){var n=T.useMemo(function(){var o=$v();return Kf(o,e,{enableHardwareAcceleration:!1},t.transformTemplate),j(j({},o.attrs),{style:j({},o.style)})},[e]);if(t.style){var r={};gv(r,t.style,t),n.style=j(j({},r),n.style)}return n}function ZT(t){t===void 0&&(t=!1);var e=function(n,r,o,s,i,a){var c=i.latestValues,l=Vf(n)?KT:FT,u=l(r,c,a),f=HT(r,typeof n=="string",t),p=j(j(j({},f),u),{ref:s});return o&&(p["data-projection-id"]=o),T.createElement(n,p)};return e}var QT=/([a-z])([A-Z])/g,XT="$1-$2",yv=function(t){return t.replace(QT,XT).toLowerCase()};function bv(t,e,n,r){var o=e.style,s=e.vars;Object.assign(t.style,o,r&&r.getProjectionStyles(n));for(var i in s)t.style.setProperty(i,s[i])}var wv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function xv(t,e,n,r){bv(t,e,void 0,r);for(var o in e.attrs)t.setAttribute(wv.has(o)?o:yv(o),e.attrs[o])}function Zf(t){var e=t.style,n={};for(var r in e)(qn(e[r])||rv(r,t))&&(n[r]=e[r]);return n}function Sv(t){var e=Zf(t);for(var n in t)if(qn(t[n])){var r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;e[r]=t[n]}return e}function Qf(t){return typeof t=="object"&&typeof t.start=="function"}var Zs=function(t){return Array.isArray(t)},JT=function(t){return!!(t&&typeof t=="object"&&t.mix&&t.toValue)},Ev=function(t){return Zs(t)?t[t.length-1]||0:t};function pc(t){var e=qn(t)?t.get():t;return JT(e)?e.toValue():e}function _v(t,e,n,r){var o=t.scrapeMotionValuesFromProps,s=t.createRenderState,i=t.onMount,a={latestValues:tC(e,n,r,o),renderState:s()};return i&&(a.mount=function(c){return i(e,c,a)}),a}var Tv=function(t){return function(e,n){var r=T.useContext(ic),o=T.useContext(Vs);return n?_v(t,e,r,o):Us(function(){return _v(t,e,r,o)})}};function tC(t,e,n,r){var o={},s=n?.initial===!1,i=r(t);for(var a in i)o[a]=pc(i[a]);var c=t.initial,l=t.animate,u=lc(t),f=Jm(t);e&&f&&!u&&t.inherit!==!1&&(c??(c=e.initial),l??(l=e.animate));var p=s||c===!1,d=p?l:c;if(d&&typeof d!="boolean"&&!Qf(d)){var m=Array.isArray(d)?d:[d];m.forEach(function(y){var x=Xm(t,y);if(x){var h=x.transitionEnd;x.transition;var $=He(x,["transitionEnd","transition"]);for(var b in $){var S=$[b];if(Array.isArray(S)){var _=p?S.length-1:0;S=S[_]}S!==null&&(o[b]=S)}for(var b in h)o[b]=h[b]}})}return o}var eC={useVisualState:Tv({scrapeMotionValuesFromProps:Sv,createRenderState:$v,onMount:function(t,e,n){var r=n.renderState,o=n.latestValues;try{r.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}Kf(r,o,{enableHardwareAcceleration:!1},t.transformTemplate),xv(e,r)}})},nC={useVisualState:Tv({scrapeMotionValuesFromProps:Zf,createRenderState:Yf})};function rC(t,e,n,r,o){var s=e.forwardMotionProps,i=s===void 0?!1:s,a=Vf(t)?eC:nC;return j(j({},a),{preloadedFeatures:n,useRender:ZT(i),createVisualElement:r,projectionNodeConstructor:o,Component:t})}var Ct;(function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"})(Ct||(Ct={}));function hc(t,e,n,r){return r===void 0&&(r={passive:!0}),t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function Xf(t,e,n,r){T.useEffect(function(){var o=t.current;if(n&&o)return hc(o,e,n,r)},[t,e,n,r])}function oC(t){var e=t.whileFocus,n=t.visualElement,r=function(){var s;(s=n.animationState)===null||s===void 0||s.setActive(Ct.Focus,!0)},o=function(){var s;(s=n.animationState)===null||s===void 0||s.setActive(Ct.Focus,!1)};Xf(n,"focus",e?r:void 0),Xf(n,"blur",e?o:void 0)}function Cv(t){return typeof PointerEvent<"u"&&t instanceof PointerEvent?t.pointerType==="mouse":t instanceof MouseEvent}function kv(t){var e=!!t.touches;return e}function sC(t){return function(e){var n=e instanceof MouseEvent,r=!n||n&&e.button===0;r&&t(e)}}var iC={pageX:0,pageY:0};function aC(t,e){e===void 0&&(e="page");var n=t.touches[0]||t.changedTouches[0],r=n||iC;return{x:r[e+"X"],y:r[e+"Y"]}}function cC(t,e){return e===void 0&&(e="page"),{x:t[e+"X"],y:t[e+"Y"]}}function Jf(t,e){return e===void 0&&(e="page"),{point:kv(t)?aC(t,e):cC(t,e)}}var Av=function(t,e){e===void 0&&(e=!1);var n=function(r){return t(r,Jf(r))};return e?sC(n):n},lC=function(){return ko&&window.onpointerdown===null},uC=function(){return ko&&window.ontouchstart===null},fC=function(){return ko&&window.onmousedown===null},dC={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},pC={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Lv(t){return lC()?t:uC()?pC[t]:fC()?dC[t]:t}function Lo(t,e,n,r){return hc(t,Lv(e),Av(n,e==="pointerdown"),r)}function gc(t,e,n,r){return Xf(t,Lv(e),n&&Av(n,e==="pointerdown"),r)}function qv(t){var e=null;return function(){var n=function(){e=null};return e===null?(e=t,n):!1}}var Rv=qv("dragHorizontal"),Dv=qv("dragVertical");function Nv(t){var e=!1;if(t==="y")e=Dv();else if(t==="x")e=Rv();else{var n=Rv(),r=Dv();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function Iv(){var t=Nv(!0);return t?(t(),!1):!0}function Pv(t,e,n){return function(r,o){var s;!Cv(r)||Iv()||((s=t.animationState)===null||s===void 0||s.setActive(Ct.Hover,e),n?.(r,o))}}function hC(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,o=t.visualElement;gc(o,"pointerenter",e||r?Pv(o,!0,e):void 0,{passive:!e}),gc(o,"pointerleave",n||r?Pv(o,!1,n):void 0,{passive:!n})}var Ov=function(t,e){return e?t===e?!0:Ov(t,e.parentElement):!1};function td(t){return T.useEffect(function(){return function(){return t()}},[])}const mc=(t,e,n)=>Math.min(Math.max(n,t),e),ed=.001,gC=.01,mC=10,vC=.05,$C=1;function yC({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let o,s,i=1-e;i=mc(vC,$C,i),t=mc(gC,mC,t/1e3),i<1?(o=l=>{const u=l*i,f=u*t,p=u-n,d=nd(l,i),m=Math.exp(-f);return ed-p/d*m},s=l=>{const f=l*i*t,p=f*n+n,d=Math.pow(i,2)*Math.pow(l,2)*t,m=Math.exp(-f),y=nd(Math.pow(l,2),i);return(-o(l)+ed>0?-1:1)*((p-d)*m)/y}):(o=l=>{const u=Math.exp(-l*t),f=(l-n)*t+1;return-ed+u*f},s=l=>{const u=Math.exp(-l*t),f=(n-l)*(t*t);return u*f});const a=5/t,c=wC(o,s,a);if(t=t*1e3,isNaN(c))return{stiffness:100,damping:10,duration:t};{const l=Math.pow(c,2)*r;return{stiffness:l,damping:i*2*Math.sqrt(r*l),duration:t}}}const bC=12;function wC(t,e,n){let r=n;for(let o=1;o<bC;o++)r=r-t(r)/e(r);return r}function nd(t,e){return t*Math.sqrt(1-e*e)}const xC=["duration","bounce"],SC=["stiffness","damping","mass"];function Mv(t,e){return e.some(n=>t[n]!==void 0)}function EC(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Mv(t,SC)&&Mv(t,xC)){const n=yC(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function rd(t){var{from:e=0,to:n=1,restSpeed:r=2,restDelta:o}=t,s=He(t,["from","to","restSpeed","restDelta"]);const i={done:!1,value:e};let{stiffness:a,damping:c,mass:l,velocity:u,duration:f,isResolvedFromDuration:p}=EC(s),d=Bv,m=Bv;function y(){const x=u?-(u/1e3):0,h=n-e,$=c/(2*Math.sqrt(a*l)),b=Math.sqrt(a/l)/1e3;if(o===void 0&&(o=Math.min(Math.abs(n-e)/100,.4)),$<1){const S=nd(b,$);d=_=>{const k=Math.exp(-$*b*_);return n-k*((x+$*b*h)/S*Math.sin(S*_)+h*Math.cos(S*_))},m=_=>{const k=Math.exp(-$*b*_);return $*b*k*(Math.sin(S*_)*(x+$*b*h)/S+h*Math.cos(S*_))-k*(Math.cos(S*_)*(x+$*b*h)-S*h*Math.sin(S*_))}}else if($===1)d=S=>n-Math.exp(-b*S)*(h+(x+b*h)*S);else{const S=b*Math.sqrt($*$-1);d=_=>{const k=Math.exp(-$*b*_),C=Math.min(S*_,300);return n-k*((x+$*b*h)*Math.sinh(C)+S*h*Math.cosh(C))/S}}}return y(),{next:x=>{const h=d(x);if(p)i.done=x>=f;else{const $=m(x)*1e3,b=Math.abs($)<=r,S=Math.abs(n-h)<=o;i.done=b&&S}return i.value=i.done?n:h,i},flipTarget:()=>{u=-u,[e,n]=[n,e],y()}}}rd.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";const Bv=t=>0,Qs=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r},jt=(t,e,n)=>-n*t+n*e+t;function od(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<.16666666666666666?t+(e-t)*6*n:n<.5?e:n<.6666666666666666?t+(e-t)*(.6666666666666666-n)*6:t}function Vv({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let o=0,s=0,i=0;if(!e)o=s=i=n;else{const a=n<.5?n*(1+e):n+e-n*e,c=2*n-a;o=od(c,a,t+.3333333333333333),s=od(c,a,t),i=od(c,a,t-.3333333333333333)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}const _C=(t,e,n)=>{const r=t*t,o=e*e;return Math.sqrt(Math.max(0,n*(o-r)+r))},TC=[Hf,cr,Pr],Uv=t=>TC.find(e=>e.test(t)),Fv=(t,e)=>{let n=Uv(t),r=Uv(e),o=n.parse(t),s=r.parse(e);n===Pr&&(o=Vv(o),n=cr),r===Pr&&(s=Vv(s),r=cr);const i=Object.assign({},o);return a=>{for(const c in i)c!=="alpha"&&(i[c]=_C(o[c],s[c],a));return i.alpha=jt(o.alpha,s.alpha,a),n.transform(i)}},sd=t=>typeof t=="number",CC=(t,e)=>n=>e(t(n)),vc=(...t)=>t.reduce(CC);function jv(t,e){return sd(t)?n=>jt(t,e,n):$e.test(t)?Fv(t,e):Gv(t,e)}const zv=(t,e)=>{const n=[...t],r=n.length,o=t.map((s,i)=>jv(s,e[i]));return s=>{for(let i=0;i<r;i++)n[i]=o[i](s);return n}},kC=(t,e)=>{const n=Object.assign(Object.assign({},t),e),r={};for(const o in n)t[o]!==void 0&&e[o]!==void 0&&(r[o]=jv(t[o],e[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}};function Hv(t){const e=Rn.parse(t),n=e.length;let r=0,o=0,s=0;for(let i=0;i<n;i++)r||typeof e[i]=="number"?r++:e[i].hue!==void 0?s++:o++;return{parsed:e,numNumbers:r,numRGB:o,numHSL:s}}const Gv=(t,e)=>{const n=Rn.createTransformer(e),r=Hv(t),o=Hv(e);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?vc(zv(r.parsed,o.parsed),n):i=>`${i>0?e:t}`},AC=(t,e)=>n=>jt(t,e,n);function LC(t){if(typeof t=="number")return AC;if(typeof t=="string")return $e.test(t)?Fv:Gv;if(Array.isArray(t))return zv;if(typeof t=="object")return kC}function qC(t,e,n){const r=[],o=n||LC(t[0]),s=t.length-1;for(let i=0;i<s;i++){let a=o(t[i],t[i+1]);if(e){const c=Array.isArray(e)?e[i]:e;a=vc(c,a)}r.push(a)}return r}function RC([t,e],[n]){return r=>n(Qs(t,e,r))}function DC(t,e){const n=t.length,r=n-1;return o=>{let s=0,i=!1;if(o<=t[0]?i=!0:o>=t[r]&&(s=r-1,i=!0),!i){let c=1;for(;c<n&&!(t[c]>o||c===r);c++);s=c-1}const a=Qs(t[s],t[s+1],o);return e[s](a)}}function Wv(t,e,{clamp:n=!0,ease:r,mixer:o}={}){const s=t.length;Bs(s===e.length),Bs(!r||!Array.isArray(r)||r.length===s-1),t[0]>t[s-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const i=qC(e,r,o),a=s===2?RC(t,i):DC(t,i);return n?c=>a(mc(t[0],t[s-1],c)):a}const $c=t=>e=>1-t(1-e),id=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,NC=t=>e=>Math.pow(e,t),Yv=t=>e=>e*e*((t+1)*e-t),IC=t=>{const e=Yv(t);return n=>(n*=2)<1?.5*e(n):.5*(2-Math.pow(2,-10*(n-1)))},Kv=1.525,PC=4/11,OC=8/11,MC=9/10,ad=t=>t,cd=NC(2),BC=$c(cd),Zv=id(cd),Qv=t=>1-Math.sin(Math.acos(t)),ld=$c(Qv),VC=id(ld),ud=Yv(Kv),UC=$c(ud),FC=id(ud),jC=IC(Kv),zC=4356/361,HC=35442/1805,GC=16061/1805,yc=t=>{if(t===1||t===0)return t;const e=t*t;return t<PC?7.5625*e:t<OC?9.075*e-9.9*t+3.4:t<MC?zC*e-HC*t+GC:10.8*t*t-20.52*t+10.72},WC=$c(yc),YC=t=>t<.5?.5*(1-yc(1-t*2)):.5*yc(t*2-1)+.5;function KC(t,e){return t.map(()=>e||Zv).splice(0,t.length-1)}function ZC(t){const e=t.length;return t.map((n,r)=>r!==0?r/(e-1):0)}function QC(t,e){return t.map(n=>n*e)}function bc({from:t=0,to:e=1,ease:n,offset:r,duration:o=300}){const s={done:!1,value:t},i=Array.isArray(e)?e:[t,e],a=QC(r&&r.length===i.length?r:ZC(i),o);function c(){return Wv(a,i,{ease:Array.isArray(n)?n:KC(i,n)})}let l=c();return{next:u=>(s.value=l(u),s.done=u>=o,s),flipTarget:()=>{i.reverse(),l=c()}}}function XC({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:s}){const i={done:!1,value:e};let a=n*t;const c=e+a,l=s===void 0?c:s(c);return l!==c&&(a=l-e),{next:u=>{const f=-a*Math.exp(-u/r);return i.done=!(f>o||f<-o),i.value=i.done?l:l+f,i},flipTarget:()=>{}}}const Xv={keyframes:bc,spring:rd,decay:XC};function JC(t){if(Array.isArray(t.to))return bc;if(Xv[t.type])return Xv[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?bc:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?rd:bc}const Jv=1/60*1e3,tk=typeof performance<"u"?()=>performance.now():()=>Date.now(),t$=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(tk()),Jv);function ek(t){let e=[],n=[],r=0,o=!1,s=!1;const i=new WeakSet,a={schedule:(c,l=!1,u=!1)=>{const f=u&&o,p=f?e:n;return l&&i.add(c),p.indexOf(c)===-1&&(p.push(c),f&&o&&(r=e.length)),c},cancel:c=>{const l=n.indexOf(c);l!==-1&&n.splice(l,1),i.delete(c)},process:c=>{if(o){s=!0;return}if(o=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let l=0;l<r;l++){const u=e[l];u(c),i.has(u)&&(a.schedule(u),t())}o=!1,s&&(s=!1,a.process(c))}};return a}const nk=40;let fd=!0,Xs=!1,dd=!1;const qo={delta:0,timestamp:0},Js=["read","update","preRender","render","postRender"],wc=Js.reduce((t,e)=>(t[e]=ek(()=>Xs=!0),t),{}),en=Js.reduce((t,e)=>{const n=wc[e];return t[e]=(r,o=!1,s=!1)=>(Xs||ok(),n.schedule(r,o,s)),t},{}),Ro=Js.reduce((t,e)=>(t[e]=wc[e].cancel,t),{}),pd=Js.reduce((t,e)=>(t[e]=()=>wc[e].process(qo),t),{}),rk=t=>wc[t].process(qo),e$=t=>{Xs=!1,qo.delta=fd?Jv:Math.max(Math.min(t-qo.timestamp,nk),1),qo.timestamp=t,dd=!0,Js.forEach(rk),dd=!1,Xs&&(fd=!1,t$(e$))},ok=()=>{Xs=!0,fd=!0,dd||t$(e$)},xc=()=>qo;function n$(t,e,n=0){return t-e-n}function sk(t,e,n=0,r=!0){return r?n$(e+-t,e,n):e-(t-e)+n}function ik(t,e,n,r){return r?t>=e+n:t<=-n}const ak=t=>{const e=({delta:n})=>t(n);return{start:()=>en.update(e,!0),stop:()=>Ro.update(e)}};function r$(t){var e,n,{from:r,autoplay:o=!0,driver:s=ak,elapsed:i=0,repeat:a=0,repeatType:c="loop",repeatDelay:l=0,onPlay:u,onStop:f,onComplete:p,onRepeat:d,onUpdate:m}=t,y=He(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:x}=y,h,$=0,b=y.duration,S,_=!1,k=!0,C;const R=JC(y);!((n=(e=R).needsInterpolation)===null||n===void 0)&&n.call(e,r,x)&&(C=Wv([0,100],[r,x],{clamp:!1}),r=0,x=100);const D=R(Object.assign(Object.assign({},y),{from:r,to:x}));function I(){$++,c==="reverse"?(k=$%2===0,i=sk(i,b,l,k)):(i=n$(i,b,l),c==="mirror"&&D.flipTarget()),_=!1,d&&d()}function Z(){h.stop(),p&&p()}function st(X){if(k||(X=-X),i+=X,!_){const U=D.next(Math.max(0,i));S=U.value,C&&(S=C(S)),_=k?U.done:i<=0}m?.(S),_&&($===0&&(b??(b=i)),$<a?ik(i,b,l,k)&&I():Z())}function ct(){u?.(),h=s(st),h.start()}return o&&ct(),{stop:()=>{f?.(),h.stop()}}}function o$(t,e){return e?t*(1e3/e):0}function ck({from:t=0,velocity:e=0,min:n,max:r,power:o=.8,timeConstant:s=750,bounceStiffness:i=500,bounceDamping:a=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:f,onComplete:p,onStop:d}){let m;function y(b){return n!==void 0&&b<n||r!==void 0&&b>r}function x(b){return n===void 0?r:r===void 0||Math.abs(n-b)<Math.abs(r-b)?n:r}function h(b){m?.stop(),m=r$(Object.assign(Object.assign({},b),{driver:u,onUpdate:S=>{var _;f?.(S),(_=b.onUpdate)===null||_===void 0||_.call(b,S)},onComplete:p,onStop:d}))}function $(b){h(Object.assign({type:"spring",stiffness:i,damping:a,restDelta:c},b))}if(y(t))$({from:t,velocity:e,to:x(t)});else{let b=o*e+t;typeof l<"u"&&(b=l(b));const S=x(b),_=S===n?-1:1;let k,C;const R=D=>{k=C,C=D,e=o$(D-k,xc().delta),(_===1&&D>S||_===-1&&D<S)&&$({from:D,to:S,velocity:e})};h({type:"decay",from:t,velocity:e,timeConstant:s,power:o,restDelta:c,modifyTarget:l,onUpdate:y(b)?R:void 0})}return{stop:()=>m?.stop()}}const hd=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),s$=t=>hd(t)&&t.hasOwnProperty("z"),Sc=(t,e)=>Math.abs(t-e);function i$(t,e){if(sd(t)&&sd(e))return Sc(t,e);if(hd(t)&&hd(e)){const n=Sc(t.x,e.x),r=Sc(t.y,e.y),o=s$(t)&&s$(e)?Sc(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}const a$=(t,e)=>1-3*e+3*t,c$=(t,e)=>3*e-6*t,l$=t=>3*t,Ec=(t,e,n)=>((a$(e,n)*t+c$(e,n))*t+l$(e))*t,u$=(t,e,n)=>3*a$(e,n)*t*t+2*c$(e,n)*t+l$(e),lk=1e-7,uk=10;function fk(t,e,n,r,o){let s,i,a=0;do i=e+(n-e)/2,s=Ec(i,r,o)-t,s>0?n=i:e=i;while(Math.abs(s)>lk&&++a<uk);return i}const dk=8,pk=.001;function hk(t,e,n,r){for(let o=0;o<dk;++o){const s=u$(e,n,r);if(s===0)return e;const i=Ec(e,n,r)-t;e-=i/s}return e}const _c=11,Tc=1/(_c-1);function gk(t,e,n,r){if(t===e&&n===r)return ad;const o=new Float32Array(_c);for(let i=0;i<_c;++i)o[i]=Ec(i*Tc,t,n);function s(i){let a=0,c=1;const l=_c-1;for(;c!==l&&o[c]<=i;++c)a+=Tc;--c;const u=(i-o[c])/(o[c+1]-o[c]),f=a+u*Tc,p=u$(f,t,n);return p>=pk?hk(i,f,t,n):p===0?f:fk(i,a,a+Tc,t,n)}return i=>i===0||i===1?i:Ec(s(i),e,r)}function mk(t){var e=t.onTap,n=t.onTapStart,r=t.onTapCancel,o=t.whileTap,s=t.visualElement,i=e||n||r||o,a=T.useRef(!1),c=T.useRef(null),l={passive:!(n||e||r||m)};function u(){var y;(y=c.current)===null||y===void 0||y.call(c),c.current=null}function f(){var y;return u(),a.current=!1,(y=s.animationState)===null||y===void 0||y.setActive(Ct.Tap,!1),!Iv()}function p(y,x){f()&&(Ov(s.getInstance(),y.target)?e?.(y,x):r?.(y,x))}function d(y,x){f()&&r?.(y,x)}function m(y,x){var h;u(),!a.current&&(a.current=!0,c.current=vc(Lo(window,"pointerup",p,l),Lo(window,"pointercancel",d,l)),(h=s.animationState)===null||h===void 0||h.setActive(Ct.Tap,!0),n?.(y,x))}gc(s,"pointerdown",i?m:void 0,l),td(u)}var f$=new Set;function vk(t,e,n){f$.has(e)||(console.warn(e),f$.add(e))}var gd=new WeakMap,md=new WeakMap,$k=function(t){var e;(e=gd.get(t.target))===null||e===void 0||e(t)},yk=function(t){t.forEach($k)};function bk(t){var e=t.root,n=He(t,["root"]),r=e||document;md.has(r)||md.set(r,{});var o=md.get(r),s=JSON.stringify(n);return o[s]||(o[s]=new IntersectionObserver(yk,j({root:e},n))),o[s]}function wk(t,e,n){var r=bk(e);return gd.set(t,n),r.observe(t),function(){gd.delete(t),r.unobserve(t)}}function xk(t){var e=t.visualElement,n=t.whileInView,r=t.onViewportEnter,o=t.onViewportLeave,s=t.viewport,i=s===void 0?{}:s,a=T.useRef({hasEnteredView:!1,isInView:!1}),c=!!(n||r||o);i.once&&a.current.hasEnteredView&&(c=!1);var l=typeof IntersectionObserver>"u"?_k:Ek;l(c,a.current,e,i)}var Sk={some:0,all:1};function Ek(t,e,n,r){var o=r.root,s=r.margin,i=r.amount,a=i===void 0?"some":i,c=r.once;T.useEffect(function(){if(t){var l={root:o?.current,rootMargin:s,threshold:typeof a=="number"?a:Sk[a]},u=function(f){var p,d=f.isIntersecting;if(e.isInView!==d&&(e.isInView=d,!(c&&!d&&e.hasEnteredView))){d&&(e.hasEnteredView=!0),(p=n.animationState)===null||p===void 0||p.setActive(Ct.InView,d);var m=n.getProps(),y=d?m.onViewportEnter:m.onViewportLeave;y?.(f)}};return wk(n.getInstance(),l,u)}},[t,o,s,a])}function _k(t,e,n,r){var o=r.fallback,s=o===void 0?!0:o;T.useEffect(function(){!t||!s||(Pf!=="production"&&vk(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var i;e.hasEnteredView=!0;var a=n.getProps().onViewportEnter;a?.(null),(i=n.animationState)===null||i===void 0||i.setActive(Ct.InView,!0)}))},[t])}var lr=function(t){return function(e){return t(e),null}},Tk={inView:lr(xk),tap:lr(mk),focus:lr(oC),hover:lr(hC)},Ck=0,kk=function(){return Ck++},d$=function(){return Us(kk)};function p$(){var t=T.useContext(Vs);if(t===null)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,o=d$();T.useEffect(function(){return r(o)},[]);var s=function(){return n?.(o)};return!e&&n?[!1,s]:[!0]}function h$(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var Cc=function(t){return t*1e3},g$={linear:ad,easeIn:cd,easeInOut:Zv,easeOut:BC,circIn:Qv,circInOut:VC,circOut:ld,backIn:ud,backInOut:FC,backOut:UC,anticipate:jC,bounceIn:WC,bounceInOut:YC,bounceOut:yc},m$=function(t){if(Array.isArray(t)){Bs(t.length===4);var e=Ft(t,4),n=e[0],r=e[1],o=e[2],s=e[3];return gk(n,r,o,s)}else if(typeof t=="string")return Bs(g$[t]!==void 0),g$[t];return t},Ak=function(t){return Array.isArray(t)&&typeof t[0]!="number"},v$=function(t,e){return t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&Rn.test(e)&&!e.startsWith("url("))},Or=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},kc=function(t){return{type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}},vd=function(){return{type:"keyframes",ease:"linear",duration:.3}},Lk=function(t){return{type:"keyframes",duration:.8,values:t}},$$={x:Or,y:Or,z:Or,rotate:Or,rotateX:Or,rotateY:Or,rotateZ:Or,scaleX:kc,scaleY:kc,scale:kc,opacity:vd,backgroundColor:vd,color:vd,default:kc},qk=function(t,e){var n;return Zs(e)?n=Lk:n=$$[t]||$$.default,j({to:e},n(e))},Rk=j(j({},hv),{color:$e,backgroundColor:$e,outlineColor:$e,fill:$e,stroke:$e,borderColor:$e,borderTopColor:$e,borderRightColor:$e,borderBottomColor:$e,borderLeftColor:$e,filter:Gf,WebkitFilter:Gf}),$d=function(t){return Rk[t]};function yd(t,e){var n,r=$d(t);return r!==Gf&&(r=Rn),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,e)}function Dk(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=He(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}function Nk(t){var e=t.ease,n=t.times,r=t.yoyo,o=t.flip,s=t.loop,i=He(t,["ease","times","yoyo","flip","loop"]),a=j({},i);return n&&(a.offset=n),i.duration&&(a.duration=Cc(i.duration)),i.repeatDelay&&(a.repeatDelay=Cc(i.repeatDelay)),e&&(a.ease=Ak(e)?e.map(m$):m$(e)),i.type==="tween"&&(a.type="keyframes"),(r||s||o)&&(r?a.repeatType="reverse":s?a.repeatType="loop":o&&(a.repeatType="mirror"),a.repeat=s||r||o||i.repeat),i.type!=="spring"&&(a.type="keyframes"),a}function Ik(t,e){var n,r,o=bd(t,e)||{};return(r=(n=o.delay)!==null&&n!==void 0?n:t.delay)!==null&&r!==void 0?r:0}function Pk(t){return Array.isArray(t.to)&&t.to[0]===null&&(t.to=_e([],Ft(t.to),!1),t.to[0]=t.from),t}function Ok(t,e,n){var r;return Array.isArray(e.to)&&((r=t.duration)!==null&&r!==void 0||(t.duration=.8)),Pk(e),Dk(t)||(t=j(j({},t),qk(n,e.to))),j(j({},e),Nk(t))}function Mk(t,e,n,r,o){var s,i=bd(r,t),a=(s=i.from)!==null&&s!==void 0?s:e.get(),c=v$(t,n);a==="none"&&c&&typeof n=="string"?a=yd(t,n):y$(a)&&typeof n=="string"?a=b$(n):!Array.isArray(n)&&y$(n)&&typeof a=="string"&&(n=b$(a));var l=v$(t,a);function u(){var p={from:a,to:n,velocity:e.getVelocity(),onComplete:o,onUpdate:function(d){return e.set(d)}};return i.type==="inertia"||i.type==="decay"?ck(j(j({},p),i)):r$(j(j({},Ok(i,p,t)),{onUpdate:function(d){var m;p.onUpdate(d),(m=i.onUpdate)===null||m===void 0||m.call(i,d)},onComplete:function(){var d;p.onComplete(),(d=i.onComplete)===null||d===void 0||d.call(i)}}))}function f(){var p,d,m=Ev(n);return e.set(m),o(),(p=i?.onUpdate)===null||p===void 0||p.call(i,m),(d=i?.onComplete)===null||d===void 0||d.call(i),{stop:function(){}}}return!l||!c||i.type===!1?f:u}function y$(t){return t===0||typeof t=="string"&&parseFloat(t)===0&&t.indexOf(" ")===-1}function b$(t){return typeof t=="number"?0:yd("",t)}function bd(t,e){return t[e]||t.default||t}function wd(t,e,n,r){return r===void 0&&(r={}),e.start(function(o){var s,i,a=Mk(t,e,n,r,o),c=Ik(r,t),l=function(){return i=a()};return c?s=window.setTimeout(l,Cc(c)):l(),function(){clearTimeout(s),i?.stop()}})}var Bk=function(t){return/^\-?\d*\.?\d+$/.test(t)},Vk=function(t){return/^0[^.\s]+$/.test(t)};function xd(t,e){t.indexOf(e)===-1&&t.push(e)}function Sd(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var ti=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(e){var n=this;return xd(this.subscriptions,e),function(){return Sd(n.subscriptions,e)}},t.prototype.notify=function(e,n,r){var o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](e,n,r);else for(var s=0;s<o;s++){var i=this.subscriptions[s];i&&i(e,n,r)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),Uk=function(t){return!isNaN(parseFloat(t))},Fk=function(){function t(e){var n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new ti,this.velocityUpdateSubscribers=new ti,this.renderSubscribers=new ti,this.canTrackVelocity=!1,this.updateAndNotify=function(r,o){o===void 0&&(o=!0),n.prev=n.current,n.current=r;var s=xc(),i=s.delta,a=s.timestamp;n.lastUpdated!==a&&(n.timeDelta=i,n.lastUpdated=a,en.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),o&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return en.postRender(n.velocityCheck)},this.velocityCheck=function(r){var o=r.timestamp;o!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=Uk(this.current)}return t.prototype.onChange=function(e){return this.updateSubscribers.add(e)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},t.prototype.attach=function(e){this.passiveEffect=e},t.prototype.set=function(e,n){n===void 0&&(n=!0),!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?o$(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(e){var n=this;return this.stop(),new Promise(function(r){n.hasAnimated=!0,n.stopAnimation=e(r)}).then(function(){return n.clearAnimation()})},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function Do(t){return new Fk(t)}var w$=function(t){return function(e){return e.test(t)}},jk={test:function(t){return t==="auto"},parse:function(t){return t}},x$=[Ir,rt,mn,ar,qT,LT,jk],ei=function(t){return x$.find(w$(t))},zk=_e(_e([],Ft(x$),!1),[$e,Rn],!1),Hk=function(t){return zk.find(w$(t))};function Gk(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Do(n))}function Wk(t,e){var n=cc(t,e),r=n?t.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,s=o===void 0?{}:o;r.transition;var i=He(r,["transitionEnd","transition"]);i=j(j({},i),s);for(var a in i){var c=Ev(i[a]);Gk(t,a,c)}}function Yk(t,e,n){var r,o,s,i,a=Object.keys(e).filter(function(d){return!t.hasValue(d)}),c=a.length;if(c)for(var l=0;l<c;l++){var u=a[l],f=e[u],p=null;Array.isArray(f)&&(p=f[0]),p===null&&(p=(o=(r=n[u])!==null&&r!==void 0?r:t.readValue(u))!==null&&o!==void 0?o:e[u]),p!=null&&(typeof p=="string"&&(Bk(p)||Vk(p))?p=parseFloat(p):!Hk(p)&&Rn.test(f)&&(p=yd(u,f)),t.addValue(u,Do(p)),(s=(i=n)[u])!==null&&s!==void 0||(i[u]=p),t.setBaseTarget(u,p))}}function Kk(t,e){if(e){var n=e[t]||e.default||e;return n.from}}function Zk(t,e,n){var r,o,s={};for(var i in t)s[i]=(r=Kk(i,e))!==null&&r!==void 0?r:(o=n.getValue(i))===null||o===void 0?void 0:o.get();return s}function Qk(t,e,n){n===void 0&&(n={}),t.notifyAnimationStart(e);var r;if(Array.isArray(e)){var o=e.map(function(i){return Ed(t,i,n)});r=Promise.all(o)}else if(typeof e=="string")r=Ed(t,e,n);else{var s=typeof e=="function"?cc(t,e,n.custom):e;r=S$(t,s,n)}return r.then(function(){return t.notifyAnimationComplete(e)})}function Ed(t,e,n){var r;n===void 0&&(n={});var o=cc(t,e,n.custom),s=(o||{}).transition,i=s===void 0?t.getDefaultTransition()||{}:s;n.transitionOverride&&(i=n.transitionOverride);var a=o?function(){return S$(t,o,n)}:function(){return Promise.resolve()},c=!((r=t.variantChildren)===null||r===void 0)&&r.size?function(d){d===void 0&&(d=0);var m=i.delayChildren,y=m===void 0?0:m,x=i.staggerChildren,h=i.staggerDirection;return Xk(t,e,y+d,x,h,n)}:function(){return Promise.resolve()},l=i.when;if(l){var u=Ft(l==="beforeChildren"?[a,c]:[c,a],2),f=u[0],p=u[1];return f().then(p)}else return Promise.all([a(),c(n.delay)])}function S$(t,e,n){var r,o=n===void 0?{}:n,s=o.delay,i=s===void 0?0:s,a=o.transitionOverride,c=o.type,l=t.makeTargetAnimatable(e),u=l.transition,f=u===void 0?t.getDefaultTransition():u,p=l.transitionEnd,d=He(l,["transition","transitionEnd"]);a&&(f=a);var m=[],y=c&&((r=t.animationState)===null||r===void 0?void 0:r.getState()[c]);for(var x in d){var h=t.getValue(x),$=d[x];if(!(!h||$===void 0||y&&tA(y,x))){var b=j({delay:i},f);t.shouldReduceMotion&&zs(x)&&(b=j(j({},b),{type:!1,delay:0}));var S=wd(x,h,$,b);m.push(S)}}return Promise.all(m).then(function(){p&&Wk(t,p)})}function Xk(t,e,n,r,o,s){n===void 0&&(n=0),r===void 0&&(r=0),o===void 0&&(o=1);var i=[],a=(t.variantChildren.size-1)*r,c=o===1?function(l){return l===void 0&&(l=0),l*r}:function(l){return l===void 0&&(l=0),a-l*r};return Array.from(t.variantChildren).sort(Jk).forEach(function(l,u){i.push(Ed(l,e,j(j({},s),{delay:n+c(u)})).then(function(){return l.notifyAnimationComplete(e)}))}),Promise.all(i)}function Jk(t,e){return t.sortNodePosition(e)}function tA(t,e){var n=t.protectedKeys,r=t.needsAnimating,o=n.hasOwnProperty(e)&&r[e]!==!0;return r[e]=!1,o}var _d=[Ct.Animate,Ct.InView,Ct.Focus,Ct.Hover,Ct.Tap,Ct.Drag,Ct.Exit],eA=_e([],Ft(_d),!1).reverse(),nA=_d.length;function rA(t){return function(e){return Promise.all(e.map(function(n){var r=n.animation,o=n.options;return Qk(t,r,o)}))}}function oA(t){var e=rA(t),n=iA(),r={},o=!0,s=function(u,f){var p=cc(t,f);if(p){p.transition;var d=p.transitionEnd,m=He(p,["transition","transitionEnd"]);u=j(j(j({},u),m),d)}return u};function i(u){return r[u]!==void 0}function a(u){e=u(t)}function c(u,f){for(var p,d=t.getProps(),m=t.getVariantContext(!0)||{},y=[],x=new Set,h={},$=1/0,b=function(C){var R=eA[C],D=n[R],I=(p=d[R])!==null&&p!==void 0?p:m[R],Z=tn(I),st=R===f?D.isActive:null;st===!1&&($=C);var ct=I===m[R]&&I!==d[R]&&Z;if(ct&&o&&t.manuallyAnimateOnMount&&(ct=!1),D.protectedKeys=j({},h),!D.isActive&&st===null||!I&&!D.prevProp||Qf(I)||typeof I=="boolean")return"continue";var X=sA(D.prevProp,I),U=X||R===f&&D.isActive&&!ct&&Z||C>$&&Z,B=Array.isArray(I)?I:[I],W=B.reduce(s,{});st===!1&&(W={});var L=D.prevResolvedValues,N=L===void 0?{}:L,O=j(j({},N),W),z=function(Y){U=!0,x.delete(Y),D.needsAnimating[Y]=!0};for(var H in O){var J=W[H],P=N[H];h.hasOwnProperty(H)||(J!==P?Zs(J)&&Zs(P)?!h$(J,P)||X?z(H):D.protectedKeys[H]=!0:J!==void 0?z(H):x.add(H):J!==void 0&&x.has(H)?z(H):D.protectedKeys[H]=!0)}D.prevProp=I,D.prevResolvedValues=W,D.isActive&&(h=j(j({},h),W)),o&&t.blockInitialAnimation&&(U=!1),U&&!ct&&y.push.apply(y,_e([],Ft(B.map(function(Y){return{animation:Y,options:j({type:R},u)}})),!1))},S=0;S<nA;S++)b(S);if(r=j({},h),x.size){var _={};x.forEach(function(C){var R=t.getBaseTarget(C);R!==void 0&&(_[C]=R)}),y.push({animation:_})}var k=!!y.length;return o&&d.initial===!1&&!t.manuallyAnimateOnMount&&(k=!1),o=!1,k?e(y):Promise.resolve()}function l(u,f,p){var d;if(n[u].isActive===f)return Promise.resolve();(d=t.variantChildren)===null||d===void 0||d.forEach(function(x){var h;return(h=x.animationState)===null||h===void 0?void 0:h.setActive(u,f)}),n[u].isActive=f;var m=c(p,u);for(var y in n)n[y].protectedKeys={};return m}return{isAnimated:i,animateChanges:c,setActive:l,setAnimateFunction:a,getState:function(){return n}}}function sA(t,e){return typeof e=="string"?e!==t:Qm(e)?!h$(e,t):!1}function Mr(t){return t===void 0&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function iA(){var t;return t={},t[Ct.Animate]=Mr(!0),t[Ct.InView]=Mr(),t[Ct.Hover]=Mr(),t[Ct.Tap]=Mr(),t[Ct.Drag]=Mr(),t[Ct.Focus]=Mr(),t[Ct.Exit]=Mr(),t}var aA={animation:lr(function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=oA(e)),Qf(n)&&T.useEffect(function(){return n.subscribe(e)},[n])}),exit:lr(function(t){var e=t.custom,n=t.visualElement,r=Ft(p$(),2),o=r[0],s=r[1],i=T.useContext(Vs);T.useEffect(function(){var a,c;n.isPresent=o;var l=(a=n.animationState)===null||a===void 0?void 0:a.setActive(Ct.Exit,!o,{custom:(c=i?.custom)!==null&&c!==void 0?c:e});!o&&l?.then(s)},[o])})},E$=function(){function t(e,n,r){var o=this,s=r===void 0?{}:r,i=s.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(o.lastMoveEvent&&o.lastMoveEventInfo){var p=Cd(o.lastMoveEventInfo,o.history),d=o.startEvent!==null,m=i$(p.offset,{x:0,y:0})>=3;if(!(!d&&!m)){var y=p.point,x=xc().timestamp;o.history.push(j(j({},y),{timestamp:x}));var h=o.handlers,$=h.onStart,b=h.onMove;d||($&&$(o.lastMoveEvent,p),o.startEvent=o.lastMoveEvent),b&&b(o.lastMoveEvent,p)}}},this.handlePointerMove=function(p,d){if(o.lastMoveEvent=p,o.lastMoveEventInfo=Td(d,o.transformPagePoint),Cv(p)&&p.buttons===0){o.handlePointerUp(p,d);return}en.update(o.updatePoint,!0)},this.handlePointerUp=function(p,d){o.end();var m=o.handlers,y=m.onEnd,x=m.onSessionEnd,h=Cd(Td(d,o.transformPagePoint),o.history);o.startEvent&&y&&y(p,h),x&&x(p,h)},!(kv(e)&&e.touches.length>1)){this.handlers=n,this.transformPagePoint=i;var a=Jf(e),c=Td(a,this.transformPagePoint),l=c.point,u=xc().timestamp;this.history=[j(j({},l),{timestamp:u})];var f=n.onSessionStart;f&&f(e,Cd(c,this.history)),this.removeListeners=vc(Lo(window,"pointermove",this.handlePointerMove),Lo(window,"pointerup",this.handlePointerUp),Lo(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(e){this.handlers=e},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),Ro.update(this.updatePoint)},t}();function Td(t,e){return e?{point:e(t.point)}:t}function _$(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Cd(t,e){var n=t.point;return{point:n,delta:_$(n,T$(e)),offset:_$(n,cA(e)),velocity:lA(e,.1)}}function cA(t){return t[0]}function T$(t){return t[t.length-1]}function lA(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,o=T$(t);n>=0&&(r=t[n],!(o.timestamp-r.timestamp>Cc(e)));)n--;if(!r)return{x:0,y:0};var s=(o.timestamp-r.timestamp)/1e3;if(s===0)return{x:0,y:0};var i={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Dn(t){return t.max-t.min}function C$(t,e,n){return e===void 0&&(e=0),n===void 0&&(n=.01),i$(t,e)<n}function k$(t,e,n,r){r===void 0&&(r=.5),t.origin=r,t.originPoint=jt(e.min,e.max,t.origin),t.scale=Dn(n)/Dn(e),(C$(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=jt(n.min,n.max,t.origin)-t.originPoint,(C$(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ni(t,e,n,r){k$(t.x,e.x,n.x,r?.originX),k$(t.y,e.y,n.y,r?.originY)}function A$(t,e,n){t.min=n.min+e.min,t.max=t.min+Dn(e)}function uA(t,e,n){A$(t.x,e.x,n.x),A$(t.y,e.y,n.y)}function L$(t,e,n){t.min=e.min-n.min,t.max=t.min+Dn(e)}function ri(t,e,n){L$(t.x,e.x,n.x),L$(t.y,e.y,n.y)}function fA(t,e,n){var r=e.min,o=e.max;return r!==void 0&&t<r?t=n?jt(r,t,n.min):Math.max(t,r):o!==void 0&&t>o&&(t=n?jt(o,t,n.max):Math.min(t,o)),t}function q$(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function dA(t,e){var n=e.top,r=e.left,o=e.bottom,s=e.right;return{x:q$(t.x,r,s),y:q$(t.y,n,o)}}function R$(t,e){var n,r=e.min-t.min,o=e.max-t.max;return e.max-e.min<t.max-t.min&&(n=Ft([o,r],2),r=n[0],o=n[1]),{min:r,max:o}}function pA(t,e){return{x:R$(t.x,e.x),y:R$(t.y,e.y)}}function hA(t,e){var n=.5,r=Dn(t),o=Dn(e);return o>r?n=Qs(e.min,e.max-r,t.min):r>o&&(n=Qs(t.min,t.max-o,e.min)),mc(0,1,n)}function gA(t,e){var n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}var kd=.35;function mA(t){return t===void 0&&(t=kd),t===!1?t=0:t===!0&&(t=kd),{x:D$(t,"left","right"),y:D$(t,"top","bottom")}}function D$(t,e,n){return{min:N$(t,e),max:N$(t,n)}}function N$(t,e){var n;return typeof t=="number"?t:(n=t[e])!==null&&n!==void 0?n:0}var I$=function(){return{translate:0,scale:1,origin:0,originPoint:0}},oi=function(){return{x:I$(),y:I$()}},P$=function(){return{min:0,max:0}},de=function(){return{x:P$(),y:P$()}};function vn(t){return[t("x"),t("y")]}function O$(t){var e=t.top,n=t.left,r=t.right,o=t.bottom;return{x:{min:n,max:r},y:{min:e,max:o}}}function vA(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function $A(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ad(t){return t===void 0||t===1}function M$(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!Ad(e)||!Ad(n)||!Ad(r)}function ur(t){return M$(t)||B$(t.x)||B$(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function B$(t){return t&&t!=="0%"}function Ac(t,e,n){var r=t-n,o=e*r;return n+o}function V$(t,e,n,r,o){return o!==void 0&&(t=Ac(t,o,r)),Ac(t,n,r)+e}function Ld(t,e,n,r,o){e===void 0&&(e=0),n===void 0&&(n=1),t.min=V$(t.min,e,n,r,o),t.max=V$(t.max,e,n,r,o)}function U$(t,e){var n=e.x,r=e.y;Ld(t.x,n.translate,n.scale,n.originPoint),Ld(t.y,r.translate,r.scale,r.originPoint)}function yA(t,e,n,r){var o,s;r===void 0&&(r=!1);var i=n.length;if(i){e.x=e.y=1;for(var a,c,l=0;l<i;l++)a=n[l],c=a.projectionDelta,((s=(o=a.instance)===null||o===void 0?void 0:o.style)===null||s===void 0?void 0:s.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&No(t,{x:-a.scroll.x,y:-a.scroll.y}),c&&(e.x*=c.x.scale,e.y*=c.y.scale,U$(t,c)),r&&ur(a.latestValues)&&No(t,a.latestValues))}}function fr(t,e){t.min=t.min+e,t.max=t.max+e}function F$(t,e,n){var r=Ft(n,3),o=r[0],s=r[1],i=r[2],a=e[i]!==void 0?e[i]:.5,c=jt(t.min,t.max,a);Ld(t,e[o],e[s],c,e.scale)}var bA=["x","scaleX","originX"],wA=["y","scaleY","originY"];function No(t,e){F$(t.x,e,bA),F$(t.y,e,wA)}function j$(t,e){return O$($A(t.getBoundingClientRect(),e))}function xA(t,e,n){var r=j$(t,n),o=e.scroll;return o&&(fr(r.x,o.x),fr(r.y,o.y)),r}var SA=new WeakMap,EA=function(){function t(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=de(),this.visualElement=e}return t.prototype.start=function(e,n){var r=this,o=n===void 0?{}:n,s=o.snapToCursor,i=s===void 0?!1:s;if(this.visualElement.isPresent!==!1){var a=function(f){r.stopAnimation(),i&&r.snapToCursor(Jf(f,"page").point)},c=function(f,p){var d,m=r.getProps(),y=m.drag,x=m.dragPropagation,h=m.onDragStart;y&&!x&&(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=Nv(y),!r.openGlobalLock)||(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),vn(function($){var b,S,_=r.getAxisMotionValue($).get()||0;if(mn.test(_)){var k=(S=(b=r.visualElement.projection)===null||b===void 0?void 0:b.layout)===null||S===void 0?void 0:S.actual[$];if(k){var C=Dn(k);_=C*(parseFloat(_)/100)}}r.originPoint[$]=_}),h?.(f,p),(d=r.visualElement.animationState)===null||d===void 0||d.setActive(Ct.Drag,!0))},l=function(f,p){var d=r.getProps(),m=d.dragPropagation,y=d.dragDirectionLock,x=d.onDirectionLock,h=d.onDrag;if(!(!m&&!r.openGlobalLock)){var $=p.offset;if(y&&r.currentDirection===null){r.currentDirection=_A($),r.currentDirection!==null&&x?.(r.currentDirection);return}r.updateAxis("x",p.point,$),r.updateAxis("y",p.point,$),r.visualElement.syncRender(),h?.(f,p)}},u=function(f,p){return r.stop(f,p)};this.panSession=new E$(e,{onSessionStart:a,onStart:c,onMove:l,onSessionEnd:u},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},t.prototype.stop=function(e,n){var r=this.isDragging;if(this.cancel(),!!r){var o=n.velocity;this.startAnimation(o);var s=this.getProps().onDragEnd;s?.(e,n)}},t.prototype.cancel=function(){var e,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(e=this.panSession)===null||e===void 0||e.end(),this.panSession=void 0;var r=this.getProps().dragPropagation;!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(Ct.Drag,!1)},t.prototype.updateAxis=function(e,n,r){var o=this.getProps().drag;if(!(!r||!Lc(e,o,this.currentDirection))){var s=this.getAxisMotionValue(e),i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=fA(i,this.constraints[e],this.elastic[e])),s.set(i)}},t.prototype.resolveConstraints=function(){var e=this,n=this.getProps(),r=n.dragConstraints,o=n.dragElastic,s=(this.visualElement.projection||{}).layout,i=this.constraints;r&&Ao(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&s?this.constraints=dA(s.actual,r):this.constraints=!1,this.elastic=mA(o),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&vn(function(a){e.getAxisMotionValue(a)&&(e.constraints[a]=gA(s.actual[a],e.constraints[a]))})},t.prototype.resolveRefConstraints=function(){var e=this.getProps(),n=e.dragConstraints,r=e.onMeasureDragConstraints;if(!n||!Ao(n))return!1;var o=n.current,s=this.visualElement.projection;if(!s||!s.layout)return!1;var i=xA(o,s.root,this.visualElement.getTransformPagePoint()),a=pA(s.layout.actual,i);if(r){var c=r(vA(a));this.hasMutatedConstraints=!!c,c&&(a=O$(c))}return a},t.prototype.startAnimation=function(e){var n=this,r=this.getProps(),o=r.drag,s=r.dragMomentum,i=r.dragElastic,a=r.dragTransition,c=r.dragSnapToOrigin,l=r.onDragTransitionEnd,u=this.constraints||{},f=vn(function(p){var d;if(Lc(p,o,n.currentDirection)){var m=(d=u?.[p])!==null&&d!==void 0?d:{};c&&(m={min:0,max:0});var y=i?200:1e6,x=i?40:1e7,h=j(j({type:"inertia",velocity:s?e[p]:0,bounceStiffness:y,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10},a),m);return n.startAxisValueAnimation(p,h)}});return Promise.all(f).then(l)},t.prototype.startAxisValueAnimation=function(e,n){var r=this.getAxisMotionValue(e);return wd(e,r,0,n)},t.prototype.stopAnimation=function(){var e=this;vn(function(n){return e.getAxisMotionValue(n).stop()})},t.prototype.getAxisMotionValue=function(e){var n,r,o="_drag"+e.toUpperCase(),s=this.visualElement.getProps()[o];return s||this.visualElement.getValue(e,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[e])!==null&&r!==void 0?r:0)},t.prototype.snapToCursor=function(e){var n=this;vn(function(r){var o=n.getProps().drag;if(Lc(r,o,n.currentDirection)){var s=n.visualElement.projection,i=n.getAxisMotionValue(r);if(s&&s.layout){var a=s.layout.actual[r],c=a.min,l=a.max;i.set(e[r]-jt(c,l,.5))}}})},t.prototype.scalePositionWithinConstraints=function(){var e=this,n,r=this.getProps(),o=r.drag,s=r.dragConstraints,i=this.visualElement.projection;if(!(!Ao(s)||!i||!this.constraints)){this.stopAnimation();var a={x:0,y:0};vn(function(l){var u=e.getAxisMotionValue(l);if(u){var f=u.get();a[l]=hA({min:f,max:f},e.constraints[l])}});var c=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=c?c({},""):"none",(n=i.root)===null||n===void 0||n.updateScroll(),i.updateLayout(),this.resolveConstraints(),vn(function(l){if(Lc(l,o,null)){var u=e.getAxisMotionValue(l),f=e.constraints[l],p=f.min,d=f.max;u.set(jt(p,d,a[l]))}})}},t.prototype.addListeners=function(){var e=this,n;SA.set(this.visualElement,this);var r=this.visualElement.getInstance(),o=Lo(r,"pointerdown",function(l){var u=e.getProps(),f=u.drag,p=u.dragListener,d=p===void 0?!0:p;f&&d&&e.start(l)}),s=function(){var l=e.getProps().dragConstraints;Ao(l)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,a=i.addEventListener("measure",s);i&&!i.layout&&((n=i.root)===null||n===void 0||n.updateScroll(),i.updateLayout()),s();var c=hc(window,"resize",function(){return e.scalePositionWithinConstraints()});return i.addEventListener("didUpdate",function(l){var u=l.delta,f=l.hasLayoutChanged;e.isDragging&&f&&(vn(function(p){var d=e.getAxisMotionValue(p);d&&(e.originPoint[p]+=u[p].translate,d.set(d.get()+u[p].translate))}),e.visualElement.syncRender())}),function(){c(),o(),a()}},t.prototype.getProps=function(){var e=this.visualElement.getProps(),n=e.drag,r=n===void 0?!1:n,o=e.dragDirectionLock,s=o===void 0?!1:o,i=e.dragPropagation,a=i===void 0?!1:i,c=e.dragConstraints,l=c===void 0?!1:c,u=e.dragElastic,f=u===void 0?kd:u,p=e.dragMomentum,d=p===void 0?!0:p;return j(j({},e),{drag:r,dragDirectionLock:s,dragPropagation:a,dragConstraints:l,dragElastic:f,dragMomentum:d})},t}();function Lc(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function _A(t,e){e===void 0&&(e=10);var n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}function TA(t){var e=t.dragControls,n=t.visualElement,r=Us(function(){return new EA(n)});T.useEffect(function(){return e&&e.subscribe(r)},[r,e]),T.useEffect(function(){return r.addListeners()},[r])}function CA(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,o=t.onPanSessionStart,s=t.visualElement,i=e||n||r||o,a=T.useRef(null),c=T.useContext(Of).transformPagePoint,l={onSessionStart:o,onStart:n,onMove:e,onEnd:function(f,p){a.current=null,r&&r(f,p)}};T.useEffect(function(){a.current!==null&&a.current.updateHandlers(l)});function u(f){a.current=new E$(f,l,{transformPagePoint:c})}gc(s,"pointerdown",i&&u),td(function(){return a.current&&a.current.end()})}var kA={pan:lr(CA),drag:lr(TA)},qc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function AA(){var t=qc.map(function(){return new ti}),e={},n={clearAllListeners:function(){return t.forEach(function(r){return r.clear()})},updatePropListeners:function(r){qc.forEach(function(o){var s,i="on"+o,a=r[i];(s=e[o])===null||s===void 0||s.call(e),a&&(e[o]=n[i](a))})}};return t.forEach(function(r,o){n["on"+qc[o]]=function(s){return r.add(s)},n["notify"+qc[o]]=function(){for(var s=[],i=0;i<arguments.length;i++)s[i]=arguments[i];return r.notify.apply(r,_e([],Ft(s),!1))}}),n}function LA(t,e,n){var r;for(var o in e){var s=e[o],i=n[o];if(qn(s))t.addValue(o,s);else if(qn(i))t.addValue(o,Do(s));else if(i!==s)if(t.hasValue(o)){var a=t.getValue(o);!a.hasAnimated&&a.set(s)}else t.addValue(o,Do((r=t.getStaticValue(o))!==null&&r!==void 0?r:s))}for(var o in n)e[o]===void 0&&t.removeValue(o);return e}var z$=function(t){var e=t.treeType,n=e===void 0?"":e,r=t.build,o=t.getBaseTarget,s=t.makeTargetAnimatable,i=t.measureViewportBox,a=t.render,c=t.readValueFromInstance,l=t.removeValueFromRenderState,u=t.sortNodePosition,f=t.scrapeMotionValuesFromProps;return function(p,d){var m=p.parent,y=p.props,x=p.presenceId,h=p.blockInitialAnimation,$=p.visualState,b=p.shouldReduceMotion;d===void 0&&(d={});var S=!1,_=$.latestValues,k=$.renderState,C,R=AA(),D=new Map,I=new Map,Z={},st=j({},_),ct;function X(){!C||!S||(U(),a(C,k,y.style,J.projection))}function U(){r(J,k,_,d,y)}function B(){R.notifyUpdate(_)}function W(P,Y){var ot=Y.onChange(function(mt){_[P]=mt,y.onUpdate&&en.update(B,!1,!0)}),ft=Y.onRenderRequest(J.scheduleRender);I.set(P,function(){ot(),ft()})}var L=f(y);for(var N in L){var O=L[N];_[N]!==void 0&&qn(O)&&O.set(_[N],!1)}var z=lc(y),H=Jm(y),J=j(j({treeType:n,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:x,shouldReduceMotion:b,variantChildren:H?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!m?.isMounted(),blockInitialAnimation:h,isMounted:function(){return!!C},mount:function(P){S=!0,C=J.current=P,J.projection&&J.projection.mount(P),H&&m&&!z&&(ct=m?.addVariantChild(J)),D.forEach(function(Y,ot){return W(ot,Y)}),m?.children.add(J),J.setProps(y)},unmount:function(){var P;(P=J.projection)===null||P===void 0||P.unmount(),Ro.update(B),Ro.render(X),I.forEach(function(Y){return Y()}),ct?.(),m?.children.delete(J),R.clearAllListeners(),C=void 0,S=!1},addVariantChild:function(P){var Y,ot=J.getClosestVariantNode();if(ot)return(Y=ot.variantChildren)===null||Y===void 0||Y.add(P),function(){return ot.variantChildren.delete(P)}},sortNodePosition:function(P){return!u||n!==P.treeType?0:u(J.getInstance(),P.getInstance())},getClosestVariantNode:function(){return H?J:m?.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return C},getStaticValue:function(P){return _[P]},setStaticValue:function(P,Y){return _[P]=Y},getLatestValues:function(){return _},setVisibility:function(P){J.isVisible!==P&&(J.isVisible=P,J.scheduleRender())},makeTargetAnimatable:function(P,Y){return Y===void 0&&(Y=!0),s(J,P,y,Y)},measureViewportBox:function(){return i(C,y)},addValue:function(P,Y){J.hasValue(P)&&J.removeValue(P),D.set(P,Y),_[P]=Y.get(),W(P,Y)},removeValue:function(P){var Y;D.delete(P),(Y=I.get(P))===null||Y===void 0||Y(),I.delete(P),delete _[P],l(P,k)},hasValue:function(P){return D.has(P)},getValue:function(P,Y){var ot=D.get(P);return ot===void 0&&Y!==void 0&&(ot=Do(Y),J.addValue(P,ot)),ot},forEachValue:function(P){return D.forEach(P)},readValue:function(P){var Y;return(Y=_[P])!==null&&Y!==void 0?Y:c(C,P,d)},setBaseTarget:function(P,Y){st[P]=Y},getBaseTarget:function(P){if(o){var Y=o(y,P);if(Y!==void 0&&!qn(Y))return Y}return st[P]}},R),{build:function(){return U(),k},scheduleRender:function(){en.render(X,!1,!0)},syncRender:X,setProps:function(P){(P.transformTemplate||y.transformTemplate)&&J.scheduleRender(),y=P,R.updatePropListeners(P),Z=LA(J,f(y),Z)},getProps:function(){return y},getVariant:function(P){var Y;return(Y=y.variants)===null||Y===void 0?void 0:Y[P]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function(P){if(P===void 0&&(P=!1),P)return m?.getVariantContext();if(!z){var Y=m?.getVariantContext()||{};return y.initial!==void 0&&(Y.initial=y.initial),Y}for(var ot={},ft=0;ft<qA;ft++){var mt=H$[ft],xt=y[mt];(tn(xt)||xt===!1)&&(ot[mt]=xt)}return ot}});return J}},H$=_e(["initial"],Ft(_d),!1),qA=H$.length;function qd(t){return typeof t=="string"&&t.startsWith("var(--")}var G$=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function RA(t){var e=G$.exec(t);if(!e)return[,];var n=Ft(e,3),r=n[1],o=n[2];return[r,o]}function Rd(t,e,n){var r=Ft(RA(t),2),o=r[0],s=r[1];if(o){var i=window.getComputedStyle(e).getPropertyValue(o);return i?i.trim():qd(s)?Rd(s,e):s}}function DA(t,e,n){var r,o=He(e,[]),s=t.getInstance();if(!(s instanceof Element))return{target:o,transitionEnd:n};n&&(n=j({},n)),t.forEachValue(function(l){var u=l.get();if(qd(u)){var f=Rd(u,s);f&&l.set(f)}});for(var i in o){var a=o[i];if(qd(a)){var c=Rd(a,s);c&&(o[i]=c,n&&((r=n[i])!==null&&r!==void 0||(n[i]=a)))}}return{target:o,transitionEnd:n}}var NA=new Set(["width","height","top","left","right","bottom","x","y"]),W$=function(t){return NA.has(t)},IA=function(t){return Object.keys(t).some(W$)},Y$=function(t,e){t.set(e,!1),t.set(e)},K$=function(t){return t===Ir||t===rt},Z$;(function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"})(Z$||(Z$={}));var Q$=function(t,e){return parseFloat(t.split(", ")[e])},X$=function(t,e){return function(n,r){var o=r.transform;if(o==="none"||!o)return 0;var s=o.match(/^matrix3d\((.+)\)$/);if(s)return Q$(s[1],e);var i=o.match(/^matrix\((.+)\)$/);return i?Q$(i[1],t):0}},PA=new Set(["x","y","z"]),OA=js.filter(function(t){return!PA.has(t)});function MA(t){var e=[];return OA.forEach(function(n){var r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.syncRender(),e}var J$={width:function(t,e){var n=t.x,r=e.paddingLeft,o=r===void 0?"0":r,s=e.paddingRight,i=s===void 0?"0":s;return n.max-n.min-parseFloat(o)-parseFloat(i)},height:function(t,e){var n=t.y,r=e.paddingTop,o=r===void 0?"0":r,s=e.paddingBottom,i=s===void 0?"0":s;return n.max-n.min-parseFloat(o)-parseFloat(i)},top:function(t,e){var n=e.top;return parseFloat(n)},left:function(t,e){var n=e.left;return parseFloat(n)},bottom:function(t,e){var n=t.y,r=e.top;return parseFloat(r)+(n.max-n.min)},right:function(t,e){var n=t.x,r=e.left;return parseFloat(r)+(n.max-n.min)},x:X$(4,13),y:X$(5,14)},BA=function(t,e,n){var r=e.measureViewportBox(),o=e.getInstance(),s=getComputedStyle(o),i=s.display,a={};i==="none"&&e.setStaticValue("display",t.display||"block"),n.forEach(function(l){a[l]=J$[l](r,s)}),e.syncRender();var c=e.measureViewportBox();return n.forEach(function(l){var u=e.getValue(l);Y$(u,a[l]),t[l]=J$[l](c,s)}),t},VA=function(t,e,n,r){n===void 0&&(n={}),r===void 0&&(r={}),e=j({},e),r=j({},r);var o=Object.keys(e).filter(W$),s=[],i=!1,a=[];if(o.forEach(function(u){var f=t.getValue(u);if(t.hasValue(u)){var p=n[u],d=ei(p),m=e[u],y;if(Zs(m)){var x=m.length,h=m[0]===null?1:0;p=m[h],d=ei(p);for(var $=h;$<x;$++)y?Bs(ei(m[$])===y):y=ei(m[$])}else y=ei(m);if(d!==y)if(K$(d)&&K$(y)){var b=f.get();typeof b=="string"&&f.set(parseFloat(b)),typeof m=="string"?e[u]=parseFloat(m):Array.isArray(m)&&y===rt&&(e[u]=m.map(parseFloat))}else d?.transform&&y?.transform&&(p===0||m===0)?p===0?f.set(y.transform(p)):e[u]=d.transform(m):(i||(s=MA(t),i=!0),a.push(u),r[u]=r[u]!==void 0?r[u]:e[u],Y$(f,m))}}),a.length){var c=a.indexOf("height")>=0?window.pageYOffset:null,l=BA(e,t,a);return s.length&&s.forEach(function(u){var f=Ft(u,2),p=f[0],d=f[1];t.getValue(p).set(d)}),t.syncRender(),c!==null&&window.scrollTo({top:c}),{target:l,transitionEnd:r}}else return{target:e,transitionEnd:r}};function UA(t,e,n,r){return IA(e)?VA(t,e,n,r):{target:e,transitionEnd:r}}var FA=function(t,e,n,r){var o=DA(t,e,r);return e=o.target,r=o.transitionEnd,UA(t,e,n,r)};function jA(t){return window.getComputedStyle(t)}var t0={treeType:"dom",readValueFromInstance:function(t,e){if(zs(e)){var n=$d(e);return n&&n.default||0}else{var r=jA(t);return(ov(e)?r.getPropertyValue(e):r[e])||0}},sortNodePosition:function(t,e){return t.compareDocumentPosition(e)&2?1:-1},getBaseTarget:function(t,e){var n;return(n=t.style)===null||n===void 0?void 0:n[e]},measureViewportBox:function(t,e){var n=e.transformPagePoint;return j$(t,n)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,r){var o=n.transformValues;r===void 0&&(r=!0);var s=e.transition,i=e.transitionEnd,a=He(e,["transition","transitionEnd"]),c=Zk(a,s||{},t);if(o&&(i&&(i=o(i)),a&&(a=o(a)),c&&(c=o(c))),r){Yk(t,a,c);var l=FA(t,a,c,i);i=l.transitionEnd,a=l.target}return j({transition:s,transitionEnd:i},a)},scrapeMotionValuesFromProps:Zf,build:function(t,e,n,r,o){t.isVisible!==void 0&&(e.style.visibility=t.isVisible?"visible":"hidden"),Wf(e,n,r,o.transformTemplate)},render:bv},zA=z$(t0),HA=z$(j(j({},t0),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return zs(e)?((n=$d(e))===null||n===void 0?void 0:n.default)||0:(e=wv.has(e)?e:yv(e),t.getAttribute(e))},scrapeMotionValuesFromProps:Sv,build:function(t,e,n,r,o){Kf(e,n,r,o.transformTemplate)},render:xv})),GA=function(t,e){return Vf(t)?HA(e,{enableHardwareAcceleration:!1}):zA(e,{enableHardwareAcceleration:!0})};function e0(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var si={correct:function(t,e){if(!e.target)return t;if(typeof t=="string")if(rt.test(t))t=parseFloat(t);else return t;var n=e0(t,e.target.x),r=e0(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},n0="_$css",WA={correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,o=t,s=t.includes("var("),i=[];s&&(t=t.replace(G$,function(y){return i.push(y),n0}));var a=Rn.parse(t);if(a.length>5)return o;var c=Rn.createTransformer(t),l=typeof a[0]!="number"?1:0,u=r.x.scale*n.x,f=r.y.scale*n.y;a[0+l]/=u,a[1+l]/=f;var p=jt(u,f,.5);typeof a[2+l]=="number"&&(a[2+l]/=p),typeof a[3+l]=="number"&&(a[3+l]/=p);var d=c(a);if(s){var m=0;d=d.replace(n0,function(){var y=i[m];return m++,y})}return d}},YA=function(t){Wm(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){var n=this,r=this.props,o=r.visualElement,s=r.layoutGroup,i=r.switchLayoutGroup,a=r.layoutId,c=o.projection;bT(ZA),c&&(s?.group&&s.group.add(c),i?.register&&a&&i.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",function(){n.safeToRemove()}),c.setOptions(j(j({},c.options),{onExitComplete:function(){return n.safeToRemove()}}))),Fs.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(n){var r=this,o=this.props,s=o.layoutDependency,i=o.visualElement,a=o.drag,c=o.isPresent,l=i.projection;return l&&(l.isPresent=c,a||n.layoutDependency!==s||s===void 0?l.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?l.promote():l.relegate()||en.postRender(function(){var u;!((u=l.getStack())===null||u===void 0)&&u.members.length||r.safeToRemove()}))),null},e.prototype.componentDidUpdate=function(){var n=this.props.visualElement.projection;n&&(n.root.didUpdate(),!n.currentAnimation&&n.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var n=this.props,r=n.visualElement,o=n.layoutGroup,s=n.switchLayoutGroup,i=r.projection;i&&(i.scheduleCheckAfterUnmount(),o?.group&&o.group.remove(i),s?.deregister&&s.deregister(i))},e.prototype.safeToRemove=function(){var n=this.props.safeToRemove;n?.()},e.prototype.render=function(){return null},e}(ie.Component);function KA(t){var e=Ft(p$(),2),n=e[0],r=e[1],o=T.useContext(Bf);return ie.createElement(YA,j({},t,{layoutGroup:o,switchLayoutGroup:T.useContext(ev),isPresent:n,safeToRemove:r}))}var ZA={borderRadius:j(j({},si),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:si,borderTopRightRadius:si,borderBottomLeftRadius:si,borderBottomRightRadius:si,boxShadow:WA},QA={measureLayout:KA};function XA(t,e,n){n===void 0&&(n={});var r=qn(t)?t:Do(t);return wd("",r,e,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}var r0=["TopLeft","TopRight","BottomLeft","BottomRight"],JA=r0.length,o0=function(t){return typeof t=="string"?parseFloat(t):t},s0=function(t){return typeof t=="number"||rt.test(t)};function tL(t,e,n,r,o,s){var i,a,c,l;o?(t.opacity=jt(0,(i=n.opacity)!==null&&i!==void 0?i:1,eL(r)),t.opacityExit=jt((a=e.opacity)!==null&&a!==void 0?a:1,0,nL(r))):s&&(t.opacity=jt((c=e.opacity)!==null&&c!==void 0?c:1,(l=n.opacity)!==null&&l!==void 0?l:1,r));for(var u=0;u<JA;u++){var f="border".concat(r0[u],"Radius"),p=i0(e,f),d=i0(n,f);if(!(p===void 0&&d===void 0)){p||(p=0),d||(d=0);var m=p===0||d===0||s0(p)===s0(d);m?(t[f]=Math.max(jt(o0(p),o0(d),r),0),(mn.test(d)||mn.test(p))&&(t[f]+="%")):t[f]=d}}(e.rotate||n.rotate)&&(t.rotate=jt(e.rotate||0,n.rotate||0,r))}function i0(t,e){var n;return(n=t[e])!==null&&n!==void 0?n:t.borderRadius}var eL=a0(0,.5,ld),nL=a0(.5,.95,ad);function a0(t,e,n){return function(r){return r<t?0:r>e?1:n(Qs(t,e,r))}}function c0(t,e){t.min=e.min,t.max=e.max}function nn(t,e){c0(t.x,e.x),c0(t.y,e.y)}function l0(t,e,n,r,o){return t-=e,t=Ac(t,1/n,r),o!==void 0&&(t=Ac(t,1/o,r)),t}function rL(t,e,n,r,o,s,i){if(e===void 0&&(e=0),n===void 0&&(n=1),r===void 0&&(r=.5),s===void 0&&(s=t),i===void 0&&(i=t),mn.test(e)){e=parseFloat(e);var a=jt(i.min,i.max,e/100);e=a-i.min}if(typeof e=="number"){var c=jt(s.min,s.max,r);t===s&&(c-=e),t.min=l0(t.min,e,n,c,o),t.max=l0(t.max,e,n,c,o)}}function u0(t,e,n,r,o){var s=Ft(n,3),i=s[0],a=s[1],c=s[2];rL(t,e[i],e[a],e[c],e.scale,r,o)}var oL=["x","scaleX","originX"],sL=["y","scaleY","originY"];function f0(t,e,n,r){u0(t.x,e,oL,n?.x,r?.x),u0(t.y,e,sL,n?.y,r?.y)}function d0(t){return t.translate===0&&t.scale===1}function p0(t){return d0(t.x)&&d0(t.y)}function h0(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var iL=function(){function t(){this.members=[]}return t.prototype.add=function(e){xd(this.members,e),e.scheduleRender()},t.prototype.remove=function(e){if(Sd(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var n=this.members[this.members.length-1];n&&this.promote(n)}},t.prototype.relegate=function(e){var n=this.members.findIndex(function(i){return e===i});if(n===0)return!1;for(var r,o=n;o>=0;o--){var s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1},t.prototype.promote=function(e,n){var r,o=this.lead;if(e!==o&&(this.prevLead=o,this.lead=e,e.show(),o)){o.instance&&o.scheduleRender(),e.scheduleRender(),e.resumeFrom=o,n&&(e.resumeFrom.preserveOpacity=!0),o.snapshot&&(e.snapshot=o.snapshot,e.snapshot.latestValues=o.animationValues||o.latestValues,e.snapshot.isShared=!0),!((r=e.root)===null||r===void 0)&&r.isUpdating&&(e.isLayoutDirty=!0);var s=e.options.crossfade;s===!1&&o.hide()}},t.prototype.exitAnimationComplete=function(){this.members.forEach(function(e){var n,r,o,s,i;(r=(n=e.options).onExitComplete)===null||r===void 0||r.call(n),(i=(o=e.resumingFrom)===null||o===void 0?void 0:(s=o.options).onExitComplete)===null||i===void 0||i.call(s)})},t.prototype.scheduleRender=function(){this.members.forEach(function(e){e.instance&&e.scheduleRender(!1)})},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}(),aL="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function g0(t,e,n){var r=t.x.translate/e.x,o=t.y.translate/e.y,s="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(s+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var i=n.rotate,a=n.rotateX,c=n.rotateY;i&&(s+="rotate(".concat(i,"deg) ")),a&&(s+="rotateX(".concat(a,"deg) ")),c&&(s+="rotateY(".concat(c,"deg) "))}var l=t.x.scale*e.x,u=t.y.scale*e.y;return s+="scale(".concat(l,", ").concat(u,")"),s===aL?"none":s}var cL=function(t,e){return t.depth-e.depth},lL=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(e){xd(this.children,e),this.isDirty=!0},t.prototype.remove=function(e){Sd(this.children,e),this.isDirty=!0},t.prototype.forEach=function(e){this.isDirty&&this.children.sort(cL),this.isDirty=!1,this.children.forEach(e)},t}(),m0=1e3;function v0(t){var e=t.attachResizeListener,n=t.defaultParent,r=t.measureScroll,o=t.checkIsScrollRoot,s=t.resetTransform;return function(){function i(a,c,l){var u=this;c===void 0&&(c={}),l===void 0&&(l=n?.()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(gL),u.nodes.forEach(mL)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=c,this.root=l?l.root||l:this,this.path=l?_e(_e([],Ft(l.path),!1),[l],!1):[],this.parent=l,this.depth=l?l.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new lL)}return i.prototype.addEventListener=function(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new ti),this.eventHandlers.get(a).add(c)},i.prototype.notifyListeners=function(a){for(var c=[],l=1;l<arguments.length;l++)c[l-1]=arguments[l];var u=this.eventHandlers.get(a);u?.notify.apply(u,_e([],Ft(c),!1))},i.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},i.prototype.registerPotentialNode=function(a,c){this.potentialNodes.set(a,c)},i.prototype.mount=function(a,c){var l=this,u;if(c===void 0&&(c=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var f=this.options,p=f.layoutId,d=f.layout,m=f.visualElement;if(m&&!m.getInstance()&&m.mount(a),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),c&&(d||p)&&(this.isLayoutDirty=!0),e){var y,x=function(){return l.root.updateBlockedByResize=!1};e(a,function(){l.root.updateBlockedByResize=!0,clearTimeout(y),y=window.setTimeout(x,250),Fs.hasAnimatedSinceResize&&(Fs.hasAnimatedSinceResize=!1,l.nodes.forEach(hL))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&m&&(p||d)&&this.addEventListener("didUpdate",function(h){var $,b,S,_,k,C=h.delta,R=h.hasLayoutChanged,D=h.hasRelativeTargetChanged,I=h.layout;if(l.isTreeAnimationBlocked()){l.target=void 0,l.relativeTarget=void 0;return}var Z=(b=($=l.options.transition)!==null&&$!==void 0?$:m.getDefaultTransition())!==null&&b!==void 0?b:wL,st=m.getProps(),ct=st.onLayoutAnimationStart,X=st.onLayoutAnimationComplete,U=!l.targetLayout||!h0(l.targetLayout,I)||D,B=!R&&D;if(!((S=l.resumeFrom)===null||S===void 0)&&S.instance||B||R&&(U||!l.currentAnimation)){l.resumeFrom&&(l.resumingFrom=l.resumeFrom,l.resumingFrom.resumingFrom=void 0),l.setAnimationOrigin(C,B);var W=j(j({},bd(Z,"layout")),{onPlay:ct,onComplete:X});m.shouldReduceMotion&&(W.delay=0,W.type=!1),l.startAnimation(W)}else!R&&l.animationProgress===0&&l.finishAnimation(),l.isLead()&&((k=(_=l.options).onExitComplete)===null||k===void 0||k.call(_));l.targetLayout=I})}},i.prototype.unmount=function(){var a,c;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(c=this.parent)===null||c===void 0||c.children.delete(this),this.instance=void 0,Ro.preRender(this.updateProjection)},i.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},i.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},i.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},i.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},i.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(vL))},i.prototype.willUpdate=function(a){var c,l,u;if(a===void 0&&(a=!0),this.root.isUpdateBlocked()){(l=(c=this.options).onExitComplete)===null||l===void 0||l.call(c);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var f=0;f<this.path.length;f++){var p=this.path[f];p.shouldResetTransform=!0,p.updateScroll()}var d=this.options,m=d.layoutId,y=d.layout;if(!(m===void 0&&!y)){var x=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=x?.(this.latestValues,""),this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}}},i.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($0);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(xL),this.potentialNodes.clear()),this.nodes.forEach(pL),this.nodes.forEach(uL),this.nodes.forEach(fL),this.clearAllSnapshots(),pd.update(),pd.preRender(),pd.render())},i.prototype.clearAllSnapshots=function(){this.nodes.forEach(dL),this.sharedNodes.forEach($L)},i.prototype.scheduleUpdateProjection=function(){en.preRender(this.updateProjection,!1,!0)},i.prototype.scheduleCheckAfterUnmount=function(){var a=this;en.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},i.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),c=this.removeTransform(this.removeElementScroll(a));x0(c),this.snapshot={measured:a,layout:c,latestValues:{}}}},i.prototype.updateLayout=function(){var a;if(this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var c=0;c<this.path.length;c++){var l=this.path[c];l.updateScroll()}var u=this.measure();x0(u);var f=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=de(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,f?.actual)}},i.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},i.prototype.resetTransform=function(){var a;if(s){var c=this.isLayoutDirty||this.shouldResetTransform,l=this.projectionDelta&&!p0(this.projectionDelta),u=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,f=u?.(this.latestValues,""),p=f!==this.prevTransformTemplateValue;c&&(l||ur(this.latestValues)||p)&&(s(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}},i.prototype.measure=function(){var a=this.options.visualElement;if(!a)return de();var c=a.measureViewportBox(),l=this.root.scroll;return l&&(fr(c.x,l.x),fr(c.y,l.y)),c},i.prototype.removeElementScroll=function(a){var c=de();nn(c,a);for(var l=0;l<this.path.length;l++){var u=this.path[l],f=u.scroll,p=u.options,d=u.isScrollRoot;if(u!==this.root&&f&&p.layoutScroll){if(d){nn(c,a);var m=this.root.scroll;m&&(fr(c.x,-m.x),fr(c.y,-m.y))}fr(c.x,f.x),fr(c.y,f.y)}}return c},i.prototype.applyTransform=function(a,c){c===void 0&&(c=!1);var l=de();nn(l,a);for(var u=0;u<this.path.length;u++){var f=this.path[u];!c&&f.options.layoutScroll&&f.scroll&&f!==f.root&&No(l,{x:-f.scroll.x,y:-f.scroll.y}),ur(f.latestValues)&&No(l,f.latestValues)}return ur(this.latestValues)&&No(l,this.latestValues),l},i.prototype.removeTransform=function(a){var c,l=de();nn(l,a);for(var u=0;u<this.path.length;u++){var f=this.path[u];if(f.instance&&ur(f.latestValues)){M$(f.latestValues)&&f.updateSnapshot();var p=de(),d=f.measure();nn(p,d),f0(l,f.latestValues,(c=f.snapshot)===null||c===void 0?void 0:c.layout,p)}}return ur(this.latestValues)&&f0(l,this.latestValues),l},i.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},i.prototype.setOptions=function(a){var c;this.options=j(j(j({},this.options),a),{crossfade:(c=a.crossfade)!==null&&c!==void 0?c:!0})},i.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},i.prototype.resolveTargetDelta=function(){var a,c=this.options,l=c.layout,u=c.layoutId;!this.layout||!(l||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=de(),this.relativeTargetOrigin=de(),ri(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),nn(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=de(),this.targetWithTransforms=de()),this.relativeTarget&&this.relativeTargetOrigin&&(!((a=this.relativeParent)===null||a===void 0)&&a.target)?uA(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.actual):nn(this.target,this.layout.actual),U$(this.target,this.targetDelta)):nn(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&!!this.relativeParent.resumingFrom==!!this.resumingFrom&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=de(),this.relativeTargetOrigin=de(),ri(this.relativeTargetOrigin,this.target,this.relativeParent.target),nn(this.relativeTarget,this.relativeTargetOrigin)))))},i.prototype.getClosestProjectingParent=function(){if(!(!this.parent||ur(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},i.prototype.calcProjection=function(){var a,c=this.options,l=c.layout,u=c.layoutId;if(this.isTreeAnimating=!!(!((a=this.parent)===null||a===void 0)&&a.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(l||u))){var f=this.getLead();nn(this.layoutCorrected,this.layout.actual),yA(this.layoutCorrected,this.treeScale,this.path,!!this.resumingFrom||this!==f);var p=f.target;if(p){this.projectionDelta||(this.projectionDelta=oi(),this.projectionDeltaWithTransform=oi());var d=this.treeScale.x,m=this.treeScale.y,y=this.projectionTransform;ni(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=g0(this.projectionDelta,this.treeScale),(this.projectionTransform!==y||this.treeScale.x!==d||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},i.prototype.hide=function(){this.isVisible=!1},i.prototype.show=function(){this.isVisible=!0},i.prototype.scheduleRender=function(a){var c,l,u;a===void 0&&(a=!0),(l=(c=this.options).scheduleRender)===null||l===void 0||l.call(c),a&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},i.prototype.setAnimationOrigin=function(a,c){var l=this,u;c===void 0&&(c=!1);var f=this.snapshot,p=f?.latestValues||{},d=j({},this.latestValues),m=oi();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!c;var y=de(),x=f?.isShared,h=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,$=!!(x&&!h&&this.options.crossfade===!0&&!this.path.some(bL));this.animationProgress=0,this.mixTargetDelta=function(b){var S,_=b/1e3;y0(m.x,a.x,_),y0(m.y,a.y,_),l.setTargetDelta(m),l.relativeTarget&&l.relativeTargetOrigin&&l.layout&&(!((S=l.relativeParent)===null||S===void 0)&&S.layout)&&(ri(y,l.layout.actual,l.relativeParent.layout.actual),yL(l.relativeTarget,l.relativeTargetOrigin,y,_)),x&&(l.animationValues=d,tL(d,p,l.latestValues,_,$,h)),l.root.scheduleUpdateProjection(),l.scheduleRender(),l.animationProgress=_},this.mixTargetDelta(0)},i.prototype.startAnimation=function(a){var c=this,l,u;this.notifyListeners("animationStart"),(l=this.currentAnimation)===null||l===void 0||l.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(Ro.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=en.update(function(){Fs.hasAnimatedSinceResize=!0,c.currentAnimation=XA(0,m0,j(j({},a),{onUpdate:function(f){var p;c.mixTargetDelta(f),(p=a.onUpdate)===null||p===void 0||p.call(a,f)},onComplete:function(){var f;(f=a.onComplete)===null||f===void 0||f.call(a),c.completeAnimation()}})),c.resumingFrom&&(c.resumingFrom.currentAnimation=c.currentAnimation),c.pendingAnimation=void 0})},i.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},i.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,m0),this.currentAnimation.stop()),this.completeAnimation()},i.prototype.applyTransformsToTarget=function(){var a=this.getLead(),c=a.targetWithTransforms,l=a.target,u=a.layout,f=a.latestValues;!c||!l||!u||(nn(c,l),No(c,f),ni(this.projectionDeltaWithTransform,this.layoutCorrected,c,f))},i.prototype.registerSharedNode=function(a,c){var l,u,f;this.sharedNodes.has(a)||this.sharedNodes.set(a,new iL);var p=this.sharedNodes.get(a);p.add(c),c.promote({transition:(l=c.options.initialPromotionConfig)===null||l===void 0?void 0:l.transition,preserveFollowOpacity:(f=(u=c.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||f===void 0?void 0:f.call(u,c)})},i.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},i.prototype.getLead=function(){var a,c=this.options.layoutId;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},i.prototype.getPrevLead=function(){var a,c=this.options.layoutId;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},i.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},i.prototype.promote=function(a){var c=a===void 0?{}:a,l=c.needsReset,u=c.transition,f=c.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,f),l&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},i.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},i.prototype.resetRotation=function(){var a=this.options.visualElement;if(a){for(var c=!1,l={},u=0;u<Uf.length;u++){var f=Uf[u],p="rotate"+f;a.getStaticValue(p)&&(c=!0,l[p]=a.getStaticValue(p),a.setStaticValue(p,0))}if(c){a?.syncRender();for(var p in l)a.setStaticValue(p,l[p]);a.scheduleRender()}}},i.prototype.getProjectionStyles=function(a){var c,l,u,f,p,d;a===void 0&&(a={});var m={};if(!this.instance||this.isSVG)return m;if(this.isVisible)m.visibility="";else return{visibility:"hidden"};var y=(c=this.options.visualElement)===null||c===void 0?void 0:c.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=pc(a.pointerEvents)||"",m.transform=y?y(this.latestValues,""):"none",m;var x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){var h={};return this.options.layoutId&&(h.opacity=(l=this.latestValues.opacity)!==null&&l!==void 0?l:1,h.pointerEvents=pc(a.pointerEvents)||""),this.hasProjected&&!ur(this.latestValues)&&(h.transform=y?y({},""):"none",this.hasProjected=!1),h}var $=x.animationValues||x.latestValues;this.applyTransformsToTarget(),m.transform=g0(this.projectionDeltaWithTransform,this.treeScale,$),y&&(m.transform=y($,m.transform));var b=this.projectionDelta,S=b.x,_=b.y;m.transformOrigin="".concat(S.origin*100,"% ").concat(_.origin*100,"% 0"),x.animationValues?m.opacity=x===this?(f=(u=$.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:$.opacityExit:m.opacity=x===this?(p=$.opacity)!==null&&p!==void 0?p:"":(d=$.opacityExit)!==null&&d!==void 0?d:0;for(var k in uc)if($[k]!==void 0){var C=uc[k],R=C.correct,D=C.applyTo,I=R($[k],x);if(D)for(var Z=D.length,st=0;st<Z;st++)m[D[st]]=I;else m[k]=I}return this.options.layoutId&&(m.pointerEvents=x===this?pc(a.pointerEvents)||"":"none"),m},i.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},i.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach($0),this.root.sharedNodes.clear()},i}()}function uL(t){t.updateLayout()}function fL(t){var e,n,r,o,s=(n=(e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)!==null&&n!==void 0?n:t.snapshot;if(t.isLead()&&t.layout&&s&&t.hasListeners("didUpdate")){var i=t.layout,a=i.actual,c=i.measured;t.options.animationType==="size"?vn(function($){var b=s.isShared?s.measured[$]:s.layout[$],S=Dn(b);b.min=a[$].min,b.max=b.min+S}):t.options.animationType==="position"&&vn(function($){var b=s.isShared?s.measured[$]:s.layout[$],S=Dn(a[$]);b.max=b.min+S});var l=oi();ni(l,a,s.layout);var u=oi();s.isShared?ni(u,t.applyTransform(c,!0),s.measured):ni(u,a,s.layout);var f=!p0(l),p=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var d=t.relativeParent,m=d.snapshot,y=d.layout;if(m&&y){var x=de();ri(x,s.layout,m.layout);var h=de();ri(h,a,y.actual),h0(x,h)||(p=!0)}}t.notifyListeners("didUpdate",{layout:a,snapshot:s,delta:u,layoutDelta:l,hasLayoutChanged:f,hasRelativeTargetChanged:p})}else t.isLead()&&((o=(r=t.options).onExitComplete)===null||o===void 0||o.call(r));t.options.transition=void 0}function dL(t){t.clearSnapshot()}function $0(t){t.clearMeasurements()}function pL(t){var e=t.options.visualElement;e?.getProps().onBeforeLayoutMeasure&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function hL(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function gL(t){t.resolveTargetDelta()}function mL(t){t.calcProjection()}function vL(t){t.resetRotation()}function $L(t){t.removeLeadSnapshot()}function y0(t,e,n){t.translate=jt(e.translate,0,n),t.scale=jt(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function b0(t,e,n,r){t.min=jt(e.min,n.min,r),t.max=jt(e.max,n.max,r)}function yL(t,e,n,r){b0(t.x,e.x,n.x,r),b0(t.y,e.y,n.y,r)}function bL(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}var wL={duration:.45,ease:[.4,0,.1,1]};function xL(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(t.path[r].instance){n=t.path[r];break}var o=n&&n!==t.root?n.instance:document,s=o.querySelector('[data-projection-id="'.concat(e,'"]'));s&&t.mount(s,!0)}function w0(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function x0(t){w0(t.x),w0(t.y)}var SL=v0({attachResizeListener:function(t,e){return hc(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Dd={current:void 0},EL=v0({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!Dd.current){var t=new SL(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),Dd.current=t}return Dd.current},resetTransform:function(t,e){t.style.transform=e??"none"},checkIsScrollRoot:function(t){return window.getComputedStyle(t).position==="fixed"}}),_L=j(j(j(j({},aA),Tk),kA),QA),rn=$T(function(t,e){return rC(t,e,_L,GA,EL)});function S0(){var t=T.useRef(!1);return ac(function(){return t.current=!0,function(){t.current=!1}},[]),t}function TL(){var t=S0(),e=Ft(T.useState(0),2),n=e[0],r=e[1],o=T.useCallback(function(){t.current&&r(n+1)},[n]),s=T.useCallback(function(){return en.postRender(o)},[o]);return[s,n]}var Nd=function(t){var e=t.children,n=t.initial,r=t.isPresent,o=t.onExitComplete,s=t.custom,i=t.presenceAffectsLayout,a=Us(CL),c=d$(),l=T.useMemo(function(){return{id:c,initial:n,isPresent:r,custom:s,onExitComplete:function(u){var f,p;a.set(u,!0);try{for(var d=Q_(a.values()),m=d.next();!m.done;m=d.next()){var y=m.value;if(!y)return}}catch(x){f={error:x}}finally{try{m&&!m.done&&(p=d.return)&&p.call(d)}finally{if(f)throw f.error}}o?.()},register:function(u){return a.set(u,!1),function(){return a.delete(u)}}}},i?void 0:[r]);return T.useMemo(function(){a.forEach(function(u,f){return a.set(f,!1)})},[r]),T.useEffect(function(){!r&&!a.size&&o?.()},[r]),T.createElement(Vs.Provider,{value:l},e)};function CL(){return new Map}var Io=function(t){return t.key||""};function kL(t,e){t.forEach(function(n){var r=Io(n);e.set(r,n)})}function AL(t){var e=[];return T.Children.forEach(t,function(n){T.isValidElement(n)&&e.push(n)}),e}var LL=function(t){var e=t.children,n=t.custom,r=t.initial,o=r===void 0?!0:r,s=t.onExitComplete,i=t.exitBeforeEnter,a=t.presenceAffectsLayout,c=a===void 0?!0:a,l=Ft(TL(),1),u=l[0],f=T.useContext(Bf).forceRender;f&&(u=f);var p=S0(),d=AL(e),m=d,y=new Set,x=T.useRef(m),h=T.useRef(new Map).current,$=T.useRef(!0);if(ac(function(){$.current=!1,kL(d,h),x.current=m}),td(function(){$.current=!0,h.clear(),y.clear()}),$.current)return T.createElement(T.Fragment,null,m.map(function(R){return T.createElement(Nd,{key:Io(R),isPresent:!0,initial:o?void 0:!1,presenceAffectsLayout:c},R)}));m=_e([],Ft(m),!1);for(var b=x.current.map(Io),S=d.map(Io),_=b.length,k=0;k<_;k++){var C=b[k];S.indexOf(C)===-1&&y.add(C)}return i&&y.size&&(m=[]),y.forEach(function(R){if(S.indexOf(R)===-1){var D=h.get(R);if(D){var I=b.indexOf(R),Z=function(){h.delete(R),y.delete(R);var st=x.current.findIndex(function(ct){return ct.key===R});if(x.current.splice(st,1),!y.size){if(x.current=d,p.current===!1)return;u(),s&&s()}};m.splice(I,0,T.createElement(Nd,{key:Io(D),isPresent:!1,onExitComplete:Z,custom:n,presenceAffectsLayout:c},D))}}}),m=m.map(function(R){var D=R.key;return y.has(D)?R:T.createElement(Nd,{key:Io(R),isPresent:!0,presenceAffectsLayout:c},R)}),Pf!=="production"&&i&&m.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),T.createElement(T.Fragment,null,y.size?m:m.map(function(R){return T.cloneElement(R)}))};function qL(t,{resize:e=!1}={}){const n=T.useRef(t);T.useEffect(()=>{n.current=t},[t]);const r=T.useRef(e);T.useEffect(()=>{r.current=e,l()},[e]);const o=T.useRef(null),s=T.useCallback(u=>{u!==o.current&&(o.current=u,a(),l())},[]),i=T.useRef(null),a=T.useCallback(({force:u=!1}={})=>{if(!o.current)return;const f=o.current.getBoundingClientRect();if(u||DL(i.current,f)){i.current=f;const{bottom:p,height:d,left:m,right:y,top:x,width:h,x:$,y:b}=f;n.current({bottom:p,height:d,left:m,right:y,top:x,width:h,x:$,y:b})}},[]),c=T.useRef(null),l=T.useCallback(()=>{c.current&&(c.current.disconnect(),c.current=null),o.current&&r.current&&(c.current=new ResizeObserver(()=>a()),c.current.observe(o.current))},[]);return T.useEffect(a),[s,a]}var RL=["bottom","height","left","right","top","width","x","y"];function DL(t,e){return!t||t!==e&&RL.some(n=>t[n]!==e[n])}var NL=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,IL=NL,PL=IL,OL=typeof self=="object"&&self&&self.Object===Object&&self,ML=PL||OL||Function("return this")(),BL=ML,VL=BL,UL=VL.Symbol,Id=UL;function FL(t,e){for(var n=-1,r=t==null?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}var jL=FL,zL=Array.isArray,HL=zL,E0=Id,_0=Object.prototype,GL=_0.hasOwnProperty,WL=_0.toString,ii=E0?E0.toStringTag:void 0;function YL(t){var e=GL.call(t,ii),n=t[ii];try{t[ii]=void 0;var r=!0}catch{}var o=WL.call(t);return r&&(e?t[ii]=n:delete t[ii]),o}var KL=YL,ZL=Object.prototype,QL=ZL.toString;function XL(t){return QL.call(t)}var JL=XL,T0=Id,t2=KL,e2=JL,n2="[object Null]",r2="[object Undefined]",C0=T0?T0.toStringTag:void 0;function o2(t){return t==null?t===void 0?r2:n2:C0&&C0 in Object(t)?t2(t):e2(t)}var s2=o2;function i2(t){return t!=null&&typeof t=="object"}var a2=i2,c2=s2,l2=a2,u2="[object Symbol]";function f2(t){return typeof t=="symbol"||l2(t)&&c2(t)==u2}var k0=f2,A0=Id,d2=jL,p2=HL,h2=k0,g2=1/0,L0=A0?A0.prototype:void 0,q0=L0?L0.toString:void 0;function R0(t){if(typeof t=="string")return t;if(p2(t))return d2(t,R0)+"";if(h2(t))return q0?q0.call(t):"";var e=t+"";return e=="0"&&1/t==-g2?"-0":e}var m2=R0,v2=m2;function $2(t){return t==null?"":v2(t)}var D0=$2;function y2(t,e,n,r){var o=-1,s=t==null?0:t.length;for(r&&s&&(n=t[++o]);++o<s;)n=e(n,t[o],o,t);return n}var b2=y2;function w2(t){return function(e){return t?.[e]}}var x2=w2,S2=x2,E2={À:"A",Ã:"A",Â:"A",Ã:"A",Ä:"A",Ã…:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ç:"C",ç:"c",Ã:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",ÃŒ:"I",Ã:"I",ÃŽ:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ã’:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ãœ:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ä€:"A",Ä‚:"A",Ä„:"A",Ä:"a",ă:"a",Ä…:"a",Ć:"C",Ĉ:"C",ÄŠ:"C",ÄŒ:"C",ć:"c",ĉ:"c",Ä‹:"c",Ä:"c",ÄŽ:"D",Ä:"D",Ä:"d",Ä‘:"d",Ä’:"E",Ä”:"E",Ä–:"E",Ę:"E",Äš:"E",Ä“:"e",Ä•:"e",Ä—:"e",Ä™:"e",Ä›:"e",Äœ:"G",Äž:"G",Ä :"G",Ä¢:"G",Ä:"g",ÄŸ:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",Ä°:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å€:"l",Å‚:"l",Ń:"N",Å…:"N",Ň:"N",ÅŠ:"N",Å„:"n",ņ:"n",ň:"n",Å‹:"n",ÅŒ:"O",ÅŽ:"O",Å:"O",Å:"o",Å:"o",Å‘:"o",Å”:"R",Å–:"R",Ř:"R",Å•:"r",Å—:"r",Å™:"r",Åš:"S",Åœ:"S",Åž:"S",Å :"S",Å›:"s",Å:"s",ÅŸ:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Å°:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å’:"Oe",Å“:"oe",ʼn:"'n",Å¿:"s"},_2=S2(E2),T2=_2,C2=T2,k2=D0,A2=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,L2="\\u0300-\\u036f",q2="\\ufe20-\\ufe2f",R2="\\u20d0-\\u20ff",D2=L2+q2+R2,N2="["+D2+"]",I2=RegExp(N2,"g");function P2(t){return t=k2(t),t&&t.replace(A2,C2).replace(I2,"")}var O2=P2,M2=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function B2(t){return t.match(M2)||[]}var V2=B2,U2=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function F2(t){return U2.test(t)}var j2=F2,N0="\\ud800-\\udfff",z2="\\u0300-\\u036f",H2="\\ufe20-\\ufe2f",G2="\\u20d0-\\u20ff",W2=z2+H2+G2,I0="\\u2700-\\u27bf",P0="a-z\\xdf-\\xf6\\xf8-\\xff",Y2="\\xac\\xb1\\xd7\\xf7",K2="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Z2="\\u2000-\\u206f",Q2=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",O0="A-Z\\xc0-\\xd6\\xd8-\\xde",X2="\\ufe0e\\ufe0f",M0=Y2+K2+Z2+Q2,B0="['’]",V0="["+M0+"]",J2="["+W2+"]",U0="\\d+",tq="["+I0+"]",F0="["+P0+"]",j0="[^"+N0+M0+U0+I0+P0+O0+"]",eq="\\ud83c[\\udffb-\\udfff]",nq="(?:"+J2+"|"+eq+")",rq="[^"+N0+"]",z0="(?:\\ud83c[\\udde6-\\uddff]){2}",H0="[\\ud800-\\udbff][\\udc00-\\udfff]",Po="["+O0+"]",oq="\\u200d",G0="(?:"+F0+"|"+j0+")",sq="(?:"+Po+"|"+j0+")",W0="(?:"+B0+"(?:d|ll|m|re|s|t|ve))?",Y0="(?:"+B0+"(?:D|LL|M|RE|S|T|VE))?",K0=nq+"?",Z0="["+X2+"]?",iq="(?:"+oq+"(?:"+[rq,z0,H0].join("|")+")"+Z0+K0+")*",aq="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",cq="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",lq=Z0+K0+iq,uq="(?:"+[tq,z0,H0].join("|")+")"+lq,fq=RegExp([Po+"?"+F0+"+"+W0+"(?="+[V0,Po,"$"].join("|")+")",sq+"+"+Y0+"(?="+[V0,Po+G0,"$"].join("|")+")",Po+"?"+G0+"+"+W0,Po+"+"+Y0,cq,aq,U0,uq].join("|"),"g");function dq(t){return t.match(fq)||[]}var pq=dq,hq=V2,gq=j2,mq=D0,vq=pq;function $q(t,e,n){return t=mq(t),e=n?void 0:e,e===void 0?gq(t)?vq(t):hq(t):t.match(e)||[]}var yq=$q,bq=b2,wq=O2,xq=yq,Sq="['’]",Eq=RegExp(Sq,"g");function _q(t){return function(e){return bq(xq(wq(e).replace(Eq,"")),t,"")}}var Tq=_q;const Q0=()=>window.innerWidth||document.documentElement.clientWidth,X0=(t=!1)=>{const[e,n]=T.useState(0);return T.useEffect(()=>{n(Q0())},[]),T.useEffect(()=>{const r=new ResizeObserver(()=>{t&&n(Q0())});return r.observe(document.body,{}),()=>{r.disconnect()}},[t]),e};function Cq(t,e){const n=T.useRef(t);T.useEffect(()=>{n.current=t},[t]),T.useEffect(()=>{const r=()=>n.current();if(e===null)return;const o=setInterval(r,e);return()=>clearInterval(o)},[e])}var kq=Tq,Aq=kq(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Lq=Aq;const Pd=ln(Lq),Od={default:{default:{type:"spring",...{default:{stiffness:420,damping:40,mass:1}}.default}},disabled:{default:{duration:0}}};function Md(t,e){return Md=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Md(t,e)}var Bd=(t=>(t.DATETIME="datetime",t.DATE="date",t.TIME="time",t))(Bd||{});function Rc(t){"@babel/helpers - typeof";return Rc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rc(t)}var qq=/^\s+/,Rq=/\s+$/;function et(t,e){if(t=t||"",e=e||{},t instanceof et)return t;if(!(this instanceof et))return new et(t,e);var n=Dq(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=n.ok}et.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},getLuminance:function(){var e=this.toRgb(),n,r,o,s,i,a;return n=e.r/255,r=e.g/255,o=e.b/255,n<=.03928?s=n/12.92:s=Math.pow((n+.055)/1.055,2.4),r<=.03928?i=r/12.92:i=Math.pow((r+.055)/1.055,2.4),o<=.03928?a=o/12.92:a=Math.pow((o+.055)/1.055,2.4),.2126*s+.7152*i+.0722*a},setAlpha:function(e){return this._a=oy(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=ty(this._r,this._g,this._b);return{h:e.h*360,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=ty(this._r,this._g,this._b),n=Math.round(e.h*360),r=Math.round(e.s*100),o=Math.round(e.v*100);return this._a==1?"hsv("+n+", "+r+"%, "+o+"%)":"hsva("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var e=J0(this._r,this._g,this._b);return{h:e.h*360,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=J0(this._r,this._g,this._b),n=Math.round(e.h*360),r=Math.round(e.s*100),o=Math.round(e.l*100);return this._a==1?"hsl("+n+", "+r+"%, "+o+"%)":"hsla("+n+", "+r+"%, "+o+"%, "+this._roundA+")"},toHex:function(e){return ey(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return Oq(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Nt(this._r,255)*100)+"%",g:Math.round(Nt(this._g,255)*100)+"%",b:Math.round(Nt(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Nt(this._r,255)*100)+"%, "+Math.round(Nt(this._g,255)*100)+"%, "+Math.round(Nt(this._b,255)*100)+"%)":"rgba("+Math.round(Nt(this._r,255)*100)+"%, "+Math.round(Nt(this._g,255)*100)+"%, "+Math.round(Nt(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:Kq[ey(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var n="#"+ny(this._r,this._g,this._b,this._a),r=n,o=this._gradientType?"GradientType = 1, ":"";if(e){var s=et(e);r="#"+ny(s._r,s._g,s._b,s._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+n+",endColorstr="+r+")"},toString:function(e){var n=!!e;e=e||this._format;var r=!1,o=this._a<1&&this._a>=0,s=!n&&o&&(e==="hex"||e==="hex6"||e==="hex3"||e==="hex4"||e==="hex8"||e==="name");return s?e==="name"&&this._a===0?this.toName():this.toRgbString():(e==="rgb"&&(r=this.toRgbString()),e==="prgb"&&(r=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(r=this.toHexString()),e==="hex3"&&(r=this.toHexString(!0)),e==="hex4"&&(r=this.toHex8String(!0)),e==="hex8"&&(r=this.toHex8String()),e==="name"&&(r=this.toName()),e==="hsl"&&(r=this.toHslString()),e==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return et(this.toString())},_applyModification:function(e,n){var r=e.apply(null,[this].concat([].slice.call(n)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(Uq,arguments)},brighten:function(){return this._applyModification(Fq,arguments)},darken:function(){return this._applyModification(jq,arguments)},desaturate:function(){return this._applyModification(Mq,arguments)},saturate:function(){return this._applyModification(Bq,arguments)},greyscale:function(){return this._applyModification(Vq,arguments)},spin:function(){return this._applyModification(zq,arguments)},_applyCombination:function(e,n){return e.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(Wq,arguments)},complement:function(){return this._applyCombination(Hq,arguments)},monochromatic:function(){return this._applyCombination(Yq,arguments)},splitcomplement:function(){return this._applyCombination(Gq,arguments)},triad:function(){return this._applyCombination(ry,[3])},tetrad:function(){return this._applyCombination(ry,[4])}},et.fromRatio=function(t,e){if(Rc(t)=="object"){var n={};for(var r in t)t.hasOwnProperty(r)&&(r==="a"?n[r]=t[r]:n[r]=ai(t[r]));t=n}return et(t,e)};function Dq(t){var e={r:0,g:0,b:0},n=1,r=null,o=null,s=null,i=!1,a=!1;return typeof t=="string"&&(t=Jq(t)),Rc(t)=="object"&&(Nn(t.r)&&Nn(t.g)&&Nn(t.b)?(e=Nq(t.r,t.g,t.b),i=!0,a=String(t.r).substr(-1)==="%"?"prgb":"rgb"):Nn(t.h)&&Nn(t.s)&&Nn(t.v)?(r=ai(t.s),o=ai(t.v),e=Pq(t.h,r,o),i=!0,a="hsv"):Nn(t.h)&&Nn(t.s)&&Nn(t.l)&&(r=ai(t.s),s=ai(t.l),e=Iq(t.h,r,s),i=!0,a="hsl"),t.hasOwnProperty("a")&&(n=t.a)),n=oy(n),{ok:i,format:t.format||a,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}function Nq(t,e,n){return{r:Nt(t,255)*255,g:Nt(e,255)*255,b:Nt(n,255)*255}}function J0(t,e,n){t=Nt(t,255),e=Nt(e,255),n=Nt(n,255);var r=Math.max(t,e,n),o=Math.min(t,e,n),s,i,a=(r+o)/2;if(r==o)s=i=0;else{var c=r-o;switch(i=a>.5?c/(2-r-o):c/(r+o),r){case t:s=(e-n)/c+(e<n?6:0);break;case e:s=(n-t)/c+2;break;case n:s=(t-e)/c+4;break}s/=6}return{h:s,s:i,l:a}}function Iq(t,e,n){var r,o,s;t=Nt(t,360),e=Nt(e,100),n=Nt(n,100);function i(l,u,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(u-l)*6*f:f<.5?u:f<.6666666666666666?l+(u-l)*(.6666666666666666-f)*6:l}if(e===0)r=o=s=n;else{var a=n<.5?n*(1+e):n+e-n*e,c=2*n-a;r=i(c,a,t+.3333333333333333),o=i(c,a,t),s=i(c,a,t-.3333333333333333)}return{r:r*255,g:o*255,b:s*255}}function ty(t,e,n){t=Nt(t,255),e=Nt(e,255),n=Nt(n,255);var r=Math.max(t,e,n),o=Math.min(t,e,n),s,i,a=r,c=r-o;if(i=r===0?0:c/r,r==o)s=0;else{switch(r){case t:s=(e-n)/c+(e<n?6:0);break;case e:s=(n-t)/c+2;break;case n:s=(t-e)/c+4;break}s/=6}return{h:s,s:i,v:a}}function Pq(t,e,n){t=Nt(t,360)*6,e=Nt(e,100),n=Nt(n,100);var r=Math.floor(t),o=t-r,s=n*(1-e),i=n*(1-o*e),a=n*(1-(1-o)*e),c=r%6,l=[n,i,s,s,a,n][c],u=[a,n,n,i,s,s][c],f=[s,s,a,n,n,i][c];return{r:l*255,g:u*255,b:f*255}}function ey(t,e,n,r){var o=[on(Math.round(t).toString(16)),on(Math.round(e).toString(16)),on(Math.round(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Oq(t,e,n,r,o){var s=[on(Math.round(t).toString(16)),on(Math.round(e).toString(16)),on(Math.round(n).toString(16)),on(sy(r))];return o&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)&&s[3].charAt(0)==s[3].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function ny(t,e,n,r){var o=[on(sy(r)),on(Math.round(t).toString(16)),on(Math.round(e).toString(16)),on(Math.round(n).toString(16))];return o.join("")}et.equals=function(t,e){return!t||!e?!1:et(t).toRgbString()==et(e).toRgbString()},et.random=function(){return et.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function Mq(t,e){e=e===0?0:e||10;var n=et(t).toHsl();return n.s-=e/100,n.s=Dc(n.s),et(n)}function Bq(t,e){e=e===0?0:e||10;var n=et(t).toHsl();return n.s+=e/100,n.s=Dc(n.s),et(n)}function Vq(t){return et(t).desaturate(100)}function Uq(t,e){e=e===0?0:e||10;var n=et(t).toHsl();return n.l+=e/100,n.l=Dc(n.l),et(n)}function Fq(t,e){e=e===0?0:e||10;var n=et(t).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(e/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(e/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(e/100)))),et(n)}function jq(t,e){e=e===0?0:e||10;var n=et(t).toHsl();return n.l-=e/100,n.l=Dc(n.l),et(n)}function zq(t,e){var n=et(t).toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,et(n)}function Hq(t){var e=et(t).toHsl();return e.h=(e.h+180)%360,et(e)}function ry(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var n=et(t).toHsl(),r=[et(t)],o=360/e,s=1;s<e;s++)r.push(et({h:(n.h+s*o)%360,s:n.s,l:n.l}));return r}function Gq(t){var e=et(t).toHsl(),n=e.h;return[et(t),et({h:(n+72)%360,s:e.s,l:e.l}),et({h:(n+216)%360,s:e.s,l:e.l})]}function Wq(t,e,n){e=e||6,n=n||30;var r=et(t).toHsl(),o=360/n,s=[et(t)];for(r.h=(r.h-(o*e>>1)+720)%360;--e;)r.h=(r.h+o)%360,s.push(et(r));return s}function Yq(t,e){e=e||6;for(var n=et(t).toHsv(),r=n.h,o=n.s,s=n.v,i=[],a=1/e;e--;)i.push(et({h:r,s:o,v:s})),s=(s+a)%1;return i}et.mix=function(t,e,n){n=n===0?0:n||50;var r=et(t).toRgb(),o=et(e).toRgb(),s=n/100,i={r:(o.r-r.r)*s+r.r,g:(o.g-r.g)*s+r.g,b:(o.b-r.b)*s+r.b,a:(o.a-r.a)*s+r.a};return et(i)},et.readability=function(t,e){var n=et(t),r=et(e);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},et.isReadable=function(t,e,n){var r=et.readability(t,e),o,s;switch(s=!1,o=tR(n),o.level+o.size){case"AAsmall":case"AAAlarge":s=r>=4.5;break;case"AAlarge":s=r>=3;break;case"AAAsmall":s=r>=7;break}return s},et.mostReadable=function(t,e,n){var r=null,o=0,s,i,a,c;n=n||{},i=n.includeFallbackColors,a=n.level,c=n.size;for(var l=0;l<e.length;l++)s=et.readability(t,e[l]),s>o&&(o=s,r=et(e[l]));return et.isReadable(t,r,{level:a,size:c})||!i?r:(n.includeFallbackColors=!1,et.mostReadable(t,["#fff","#000"],n))};var Vd=et.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Kq=et.hexNames=Zq(Vd);function Zq(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}function oy(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Nt(t,e){Qq(t)&&(t="100%");var n=Xq(t);return t=Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function Dc(t){return Math.min(1,Math.max(0,t))}function Pe(t){return parseInt(t,16)}function Qq(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function Xq(t){return typeof t=="string"&&t.indexOf("%")!=-1}function on(t){return t.length==1?"0"+t:""+t}function ai(t){return t<=1&&(t=t*100+"%"),t}function sy(t){return Math.round(parseFloat(t)*255).toString(16)}function iy(t){return Pe(t)/255}var sn=function(){var t="[-\\+]?\\d+%?",e="[-\\+]?\\d*\\.\\d+%?",n="(?:"+e+")|(?:"+t+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Nn(t){return!!sn.CSS_UNIT.exec(t)}function Jq(t){t=t.replace(qq,"").replace(Rq,"").toLowerCase();var e=!1;if(Vd[t])t=Vd[t],e=!0;else if(t=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=sn.rgb.exec(t))?{r:n[1],g:n[2],b:n[3]}:(n=sn.rgba.exec(t))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=sn.hsl.exec(t))?{h:n[1],s:n[2],l:n[3]}:(n=sn.hsla.exec(t))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=sn.hsv.exec(t))?{h:n[1],s:n[2],v:n[3]}:(n=sn.hsva.exec(t))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=sn.hex8.exec(t))?{r:Pe(n[1]),g:Pe(n[2]),b:Pe(n[3]),a:iy(n[4]),format:e?"name":"hex8"}:(n=sn.hex6.exec(t))?{r:Pe(n[1]),g:Pe(n[2]),b:Pe(n[3]),format:e?"name":"hex"}:(n=sn.hex4.exec(t))?{r:Pe(n[1]+""+n[1]),g:Pe(n[2]+""+n[2]),b:Pe(n[3]+""+n[3]),a:iy(n[4]+""+n[4]),format:e?"name":"hex8"}:(n=sn.hex3.exec(t))?{r:Pe(n[1]+""+n[1]),g:Pe(n[2]+""+n[2]),b:Pe(n[3]+""+n[3]),format:e?"name":"hex"}:!1}function tR(t){var e,n;return t=t||{level:"AA",size:"small"},e=(t.level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),e!=="AA"&&e!=="AAA"&&(e="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:e,size:n}}function Nc(t,e){return et(t).setAlpha(e).toRgbString()}function Ic(t,e=["rgb(255, 255, 255)","rgb(17, 17, 17)"],n=128){const[r,o]=e;return et(t).getBrightness()<n?r:o}function ay(t,e){if(!t)throw new Error(e)}const eR=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,nR=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function Ud(){const t=navigator.userAgent||navigator.vendor;return eR.test(t)||nR.test(t.substr(0,4))}function In(t,e){if(e===void 0)return Object.entries(t).reduce((n,[,r])=>({...n,...r}),{});if(typeof e=="string")return t[e]??{};if(Array.isArray(e))return e.reduce((n,r)=>t[r]?{...n,...t[r]}:n,{});throw new Error("Expected the appliedVariant to be a string or string[]")}function rR(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var oR=rR,sR=/\s/;function iR(t){for(var e=t.length;e--&&sR.test(t.charAt(e)););return e}var aR=iR,cR=aR,lR=/^\s+/;function uR(t){return t&&t.slice(0,cR(t)+1).replace(lR,"")}var fR=uR,dR=fR,cy=oR,pR=k0,ly=NaN,hR=/^[-+]0x[0-9a-f]+$/i,gR=/^0b[01]+$/i,mR=/^0o[0-7]+$/i,vR=parseInt;function $R(t){if(typeof t=="number")return t;if(pR(t))return ly;if(cy(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=cy(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=dR(t);var n=gR.test(t);return n||mR.test(t)?vR(t.slice(2),n?2:8):hR.test(t)?ly:+t}var yR=$R;function bR(t){return 4*Math.round(t/4)}function ci(t){if(!Array.isArray(t))return Array(4).fill(t);const{length:e}=t;ay(e>0&&e<5,"Expected the input to be from 1 till 4 values long.");const n=t[0],r=e>1?t[1]:n,o=e>2?t[2]:n,s=e===4?t[3]:r;return[n,r,o,s]}const wR=t=>q.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 500 500",...t,children:[q.jsx("path",{fill:"#B5B5B5",fillOpacity:.5,d:"M346.336 226.557c0 54.236-42.415 108.789-96.923 108.789-54.509 0-97.514-54.553-97.514-108.789 0-54.237 41.823-100.557 96.332-100.557 54.508 0 98.105 46.32 98.105 100.557ZM84 476.119C84 403 143.951 344.571 217.535 353.69c13.995 1.734 25.55 2.826 32.469 2.826 6.902 0 18.418-1.086 32.369-2.814 73.636-9.117 133.473 48.08 133.473 122.298l.154 24H84v-23.881Z"}),q.jsx("path",{fill:"#CBCBCB",fillOpacity:.15,d:"M0 0h500v500H0V0Z"})]});function Pc(){return Pc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Pc.apply(null,arguments)}function uy(t,e){if(t==null)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}function xR(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Md(t,e)}/*! * content-type * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */var fy=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,SR=/\\([\u000b\u0020-\u00ff])/g,ER=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,_R=TR;function TR(t){if(!t)throw new TypeError("argument string is required");var e=typeof t=="object"?CR(t):t;if(typeof e!="string")throw new TypeError("argument string is required to be a string");var n=e.indexOf(";"),r=n!==-1?e.slice(0,n).trim():e.trim();if(!ER.test(r))throw new TypeError("invalid media type");var o=new kR(r.toLowerCase());if(n!==-1){var s,i,a;for(fy.lastIndex=n;i=fy.exec(e);){if(i.index!==n)throw new TypeError("invalid parameter format");n+=i[0].length,s=i[1].toLowerCase(),a=i[2],a.charCodeAt(0)===34&&(a=a.slice(1,-1),a.indexOf("\\")!==-1&&(a=a.replace(SR,"$1"))),o.parameters[s]=a}if(n!==e.length)throw new TypeError("invalid parameter format")}return o}function CR(t){var e;if(typeof t.getHeader=="function"?e=t.getHeader("content-type"):typeof t.headers=="object"&&(e=t.headers&&t.headers["content-type"]),typeof e!="string")throw new TypeError("content-type header is missing from object");return e}function kR(t){this.parameters=Object.create(null),this.type=t}var Oo=new Map,dy=function(e){return e.cloneNode(!0)},py=function(){return window.location.protocol==="file:"},hy=function(e,n,r){var o=new XMLHttpRequest;o.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&o.readyState===2){var s=o.getResponseHeader("Content-Type");if(!s)throw new Error("Content type not found");var i=_R(s).type;if(!(i==="image/svg+xml"||i==="text/plain"))throw new Error("Invalid content type: ".concat(i))}if(o.readyState===4){if(o.status===404||o.responseXML===null)throw new Error(py()?"Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(o.status===200||py()&&o.status===0)r(null,o);else throw new Error("There was a problem injecting the SVG: "+o.status+" "+o.statusText)}}catch(a){if(o.abort(),a instanceof Error)r(a,o);else throw a}},o.open("GET",e),o.withCredentials=n,o.overrideMimeType&&o.overrideMimeType("text/xml"),o.send()},dr={},gy=function(e,n){dr[e]=dr[e]||[],dr[e].push(n)},AR=function(e){for(var n=function(i,a){setTimeout(function(){if(Array.isArray(dr[e])){var c=Oo.get(e),l=dr[e][i];c instanceof SVGSVGElement&&l(null,dy(c)),c instanceof Error&&l(c),i===dr[e].length-1&&delete dr[e]}},0)},r=0,o=dr[e].length;r<o;r++)n(r)},LR=function(e,n,r){if(Oo.has(e)){var o=Oo.get(e);if(o===void 0){gy(e,r);return}if(o instanceof SVGSVGElement){r(null,dy(o));return}}Oo.set(e,void 0),gy(e,r),hy(e,n,function(s,i){var a;s?Oo.set(e,s):((a=i.responseXML)===null||a===void 0?void 0:a.documentElement)instanceof SVGSVGElement&&Oo.set(e,i.responseXML.documentElement),AR(e)})},qR=function(e,n,r){hy(e,n,function(o,s){var i;o?r(o):((i=s.responseXML)===null||i===void 0?void 0:i.documentElement)instanceof SVGSVGElement&&r(null,s.responseXML.documentElement)})},RR=0,DR=function(){return++RR},$n=[],my={},NR="http://www.w3.org/2000/svg",Fd="http://www.w3.org/1999/xlink",vy=function(e,n,r,o,s,i,a){var c=e.getAttribute("data-src")||e.getAttribute("src");if(!c){a(new Error("Invalid data-src or src attribute"));return}if($n.indexOf(e)!==-1){$n.splice($n.indexOf(e),1),e=null;return}$n.push(e),e.setAttribute("src","");var l=o?LR:qR;l(c,s,function(u,f){if(!f){$n.splice($n.indexOf(e),1),e=null,a(u);return}var p=e.getAttribute("id");p&&f.setAttribute("id",p);var d=e.getAttribute("title");d&&f.setAttribute("title",d);var m=e.getAttribute("width");m&&f.setAttribute("width",m);var y=e.getAttribute("height");y&&f.setAttribute("height",y);var x=Array.from(new Set(_e(_e(_e([],(f.getAttribute("class")||"").split(" "),!0),["injected-svg"],!1),(e.getAttribute("class")||"").split(" "),!0))).join(" ").trim();f.setAttribute("class",x);var h=e.getAttribute("style");h&&f.setAttribute("style",h),f.setAttribute("data-src",c);var $=[].filter.call(e.attributes,function(L){return/^data-\w[\w-]*$/.test(L.name)});if(Array.prototype.forEach.call($,function(L){L.name&&L.value&&f.setAttribute(L.name,L.value)}),r){var b={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],path:[],pattern:["fill","stroke"],radialGradient:["fill","stroke"]},S,_,k,C,R;Object.keys(b).forEach(function(L){S=L,k=b[L],_=f.querySelectorAll(S+"[id]");for(var N=function(J,P){C=_[J].id,R=C+"-"+DR();var Y;Array.prototype.forEach.call(k,function(Vt){Y=f.querySelectorAll("["+Vt+'*="'+C+'"]');for(var pe=0,pt=Y.length;pe<pt;pe++){var w=Y[pe].getAttribute(Vt);w&&!w.match(new RegExp('url\\("?#'+C+'"?\\)'))||Y[pe].setAttribute(Vt,"url(#"+R+")")}});for(var ot=f.querySelectorAll("[*|href]"),ft=[],mt=0,xt=ot.length;mt<xt;mt++){var St=ot[mt].getAttributeNS(Fd,"href");St&&St.toString()==="#"+_[J].id&&ft.push(ot[mt])}for(var It=0,qt=ft.length;It<qt;It++)ft[It].setAttributeNS(Fd,"href","#"+R);_[J].id=R},O=0,z=_.length;O<z;O++)N(O)})}f.removeAttribute("xmlns:a");for(var D=f.querySelectorAll("script"),I=[],Z,st,ct=0,X=D.length;ct<X;ct++)st=D[ct].getAttribute("type"),(!st||st==="application/ecmascript"||st==="application/javascript"||st==="text/javascript")&&(Z=D[ct].innerText||D[ct].textContent,Z&&I.push(Z),f.removeChild(D[ct]));if(I.length>0&&(n==="always"||n==="once"&&!my[c])){for(var U=0,B=I.length;U<B;U++)new Function(I[U])(window);my[c]=!0}var W=f.querySelectorAll("style");if(Array.prototype.forEach.call(W,function(L){L.textContent+=""}),f.setAttribute("xmlns",NR),f.setAttribute("xmlns:xlink",Fd),i(f),!e.parentNode){$n.splice($n.indexOf(e),1),e=null,a(new Error("Parent node is null"));return}e.parentNode.replaceChild(f,e),$n.splice($n.indexOf(e),1),e=null,a(null,f)})},IR=function(e,n){var r=n===void 0?{}:n,o=r.afterAll,s=o===void 0?function(){}:o,i=r.afterEach,a=i===void 0?function(){}:i,c=r.beforeEach,l=c===void 0?function(){}:c,u=r.cacheRequests,f=u===void 0?!0:u,p=r.evalScripts,d=p===void 0?"never":p,m=r.httpRequestWithCredentials,y=m===void 0?!1:m,x=r.renumerateIRIElements,h=x===void 0?!0:x;if(e&&"length"in e)for(var $=0,b=0,S=e.length;b<S;b++)vy(e[b],d,h,f,y,l,function(_,k){a(_,k),e&&"length"in e&&e.length===++$&&s($)});else e?vy(e,d,h,f,y,l,function(_,k){a(_,k),s(1),e=null}):s(0)},$y={exports:{}},PR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",OR=PR,MR=OR;function yy(){}function by(){}by.resetWarningCache=yy;var BR=function(){function t(r,o,s,i,a,c){if(c!==MR){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:by,resetWarningCache:yy};return n.PropTypes=n,n};$y.exports=BR();var oe=$y.exports;const Mo=ln(oe);var VR=function(e,n){for(var r in e)if(!(r in n))return!0;for(var o in n)if(e[o]!==n[o])return!0;return!1},UR=["afterInjection","beforeInjection","evalScripts","fallback","httpRequestWithCredentials","loading","renumerateIRIElements","src","useRequestCache","wrapper"],Oc="http://www.w3.org/2000/svg",wy="http://www.w3.org/1999/xlink",jd=function(t){xR(e,t);function e(){for(var r,o=arguments.length,s=new Array(o),i=0;i<o;i++)s[i]=arguments[i];return r=t.call.apply(t,[this].concat(s))||this,r.initialState={hasError:!1,isLoading:!0},r.state=r.initialState,r._isMounted=!1,r.reactWrapper=void 0,r.nonReactWrapper=void 0,r.refCallback=function(a){r.reactWrapper=a},r}var n=e.prototype;return n.renderSVG=function(){var o=this;if(this.reactWrapper instanceof Node){var s=this.props,i=s.beforeInjection,a=s.evalScripts,c=s.httpRequestWithCredentials,l=s.renumerateIRIElements,u=s.src,f=s.useRequestCache,p=this.props.afterInjection,d=this.props.wrapper,m,y;d==="svg"?(m=document.createElementNS(Oc,d),m.setAttribute("xmlns",Oc),m.setAttribute("xmlns:xlink",wy),y=document.createElementNS(Oc,d)):(m=document.createElement(d),y=document.createElement(d)),m.appendChild(y),y.dataset.src=u,this.nonReactWrapper=this.reactWrapper.appendChild(m);var x=function($,b){if($&&(o.removeSVG(),!o._isMounted)){p($);return}o._isMounted&&o.setState(function(){return{hasError:!!$,isLoading:!1}},function(){p($,b)})};IR(y,{afterEach:x,beforeEach:i,cacheRequests:f,evalScripts:a,httpRequestWithCredentials:c,renumerateIRIElements:l})}},n.removeSVG=function(){var o;(o=this.nonReactWrapper)!=null&&o.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(o){var s=this;VR(o,this.props)&&this.setState(function(){return s.initialState},function(){s.removeSVG(),s.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var o=this.props;o.afterInjection,o.beforeInjection,o.evalScripts;var s=o.fallback;o.httpRequestWithCredentials;var i=o.loading;o.renumerateIRIElements,o.src,o.useRequestCache;var a=o.wrapper,c=uy(o,UR),l=a;return T.createElement(l,Pc({},c,{ref:this.refCallback},a==="svg"?{xmlns:Oc,xmlnsXlink:wy}:{}),this.state.isLoading&&i&&T.createElement(i,null),this.state.hasError&&s&&T.createElement(s,null))},e}(T.Component);jd.defaultProps={afterInjection:function(){},beforeInjection:function(){},evalScripts:"never",fallback:null,httpRequestWithCredentials:!1,loading:null,renumerateIRIElements:!0,useRequestCache:!0,wrapper:"div"},jd.propTypes={afterInjection:oe.func,beforeInjection:oe.func,evalScripts:oe.oneOf(["always","once","never"]),fallback:oe.oneOfType([oe.func,oe.object,oe.string]),httpRequestWithCredentials:oe.bool,loading:oe.oneOfType([oe.func,oe.object,oe.string]),renumerateIRIElements:oe.bool,src:oe.string.isRequired,useRequestCache:oe.bool,wrapper:oe.oneOf(["div","span","svg"])};function FR(){const t=window,{MooTools:e,Prototype:n}=t;return T.useMemo(()=>!!(e||n),[e,n])}const jR=T.forwardRef(function({component:e,src:n,fallbackSvgSrc:r,size:o,fill:s,stroke:i,loading:a,afterInjection:c,style:l,...u},f){if(e&&n||!e&&!n)return console.warn("Expected either component or src to be specified."),null;const p=FR(),d=n&&n.split(".").pop(),m=p&&r?r:n;let y,x;return Array.isArray(o)?(ay(o.length===2,"If an array passed the size is expected to be exactly 2 values long which the first value defines width and the second defines height."),[y,x]=o):(y=o,x=o),q.jsxs(zR,{ref:f,_width:y,_height:x,_fill:s,style:{stroke:i,...l},...u,children:[e&&q.jsx("div",{children:q.jsx(e,{})}),n&&(p||d!=="svg"?q.jsx("img",{src:m}):q.jsx(jd,{src:n,loading:a,afterInjection:c}))]})}),zR=Q.div.withConfig({displayName:"Icon__IconContainer",componentId:"sc-11wrh3u-0"})(["",""],({_width:t,_height:e,_fill:n})=>` ${t?`width: ${t}px;`:""} ${e?`height: ${e}px;`:""} & > div { display: flex; align-items: center; justify-content: center; width: inherit; height: inherit; } img, svg { display: block; object-fit: contain; ${t?`width: ${t}px;`:""} ${e?`height: ${e}px;`:""} ${n?`fill: ${n};`:""} } `);function HR(t,e,n){return t===t&&(n!==void 0&&(t=t<=n?t:n),e!==void 0&&(t=t>=e?t:e)),t}var GR=HR,WR=GR,zd=yR;function YR(t,e,n){return n===void 0&&(n=e,e=void 0),n!==void 0&&(n=zd(n),n=n===n?n:0),e!==void 0&&(e=zd(e),e=e===e?e:0),WR(zd(t),e,n)}var KR=YR;const ZR=ln(KR),xy="rgb(17, 17, 17)",QR="rgb(255, 255, 255)",li="rgba(0, 0, 0, 0)",Sy=1.32,XR=T.forwardRef(({children:t,iconLeft:e,iconRight:n,iconOnly:r=!1,backgroundColor:o=li,lineHeight:s=Sy,fontSize:i=14,fontWeight:a,fontUppercase:c=!1,fontColor:l=xy,fontFamily:u="inherit",fontStyle:f,width:p,height:d,borderWidth:m=1,borderColor:y=li,borderRadius:x=4,padding:h,disabled:$,onClick:b,onFocus:S,onBlur:_,variants:k={},overlayVariants:C={},style:R,disableEllipsis:D=!1,...I},Z)=>{const[st,ct]=T.useState(!1),[X,U]=T.useState(!1),[B,W]=T.useState(!1),L=["initial",st&&"hover",X&&"tap",B&&"focus"].filter(Boolean),N=h||(r?i/1.5:[i/1.5,i*1.5]),O=Array.isArray(N)&&N.every(pt=>pt&&pt>0)?N.map(pt=>pt-m):N,[z,H,J,P]=ci(O),Y=(()=>{if(!d)return;const pt=typeof d=="string"?parseInt(d):d;return ZR(pt,i*s+(z&&J?z+J:0),pt)})(),[ot,ft,mt,xt]=ci(x),St=(pt,w)=>{if(!w)return null;let g=pt==="left"?JR:tD;return r&&(g=Hd),q.jsx(g,{src:typeof w=="object"?w.url:void 0,component:typeof w!="object"?w:void 0,size:bR(i)+4,fill:"currentColor"})},It=pt=>{pt.stopPropagation(),pt.detail>0&&pt.currentTarget.blur(),b&&!$&&b(pt)},qt=pt=>{W(!0),S&&S(pt)},Vt=pt=>{W(!1),_&&_(pt)},pe=pt=>`calc(${typeof pt=="number"||String(parseInt(pt))===pt?`${pt}px`:pt} - ${m}px)`;return q.jsx(eD,{...I,ref:Z,type:"button",tabIndex:0,style:{borderTopLeftRadius:ot,borderTopRightRadius:ft,borderBottomRightRadius:mt,borderBottomLeftRadius:xt,borderColor:y,width:p,height:Y,lineHeight:s,color:l,fontFamily:u,fontWeight:a,fontSize:r?0:i,fontStyle:f,backgroundColor:o,textTransform:c?"uppercase":void 0,borderWidth:m,...R},disabled:$,onHoverStart:()=>ct(!0),onHoverEnd:()=>ct(!1),onTapStart:()=>U(!0),onTapCancel:()=>U(!1),onTap:()=>U(!1),onFocus:qt,onBlur:Vt,onClick:It,initial:!1,animate:In(k,L),transition:Od.default,children:q.jsxs(nD,{animate:In(C,L),transition:Od.default,style:{paddingTop:z,paddingRight:H,paddingBottom:J,paddingLeft:P,borderTopLeftRadius:pe(ot),borderTopRightRadius:pe(ft),borderBottomRightRadius:pe(mt),borderBottomLeftRadius:pe(xt)},children:[St("left",e),D?q.jsx("span",{children:t}):q.jsx(rD,{children:t}),St("right",n)]})})}),Hd=Q(jR).withConfig({displayName:"ButtonBase__ButtonIcon",componentId:"sc-p43e7i-0"})([""]),JR=Q(Hd).withConfig({displayName:"ButtonBase__LeftIcon",componentId:"sc-p43e7i-1"})(["margin-right:8px;margin-left:-4px;"]),tD=Q(Hd).withConfig({displayName:"ButtonBase__RightIcon",componentId:"sc-p43e7i-2"})(["margin-left:8px;margin-right:-4px;"]),eD=Q(rn.button).withConfig({displayName:"ButtonBase__ButtonContainer",componentId:"sc-p43e7i-3"})(["position:relative;height:fit-content;width:fit-content;max-width:100%;padding:0;line-height:",";cursor:",";"," box-sizing:border-box;background:none;outline:none;-webkit-tap-highlight-color:transparent;border-style:solid;"],Sy,({disabled:t,onClick:e})=>t?"not-allowed":e?"pointer":"default",({disabled:t})=>t&&Rt(["opacity:0.3;pointer-events:none;"])),nD=Q(rn.span).withConfig({displayName:"ButtonBase__Overlay",componentId:"sc-p43e7i-4"})(["display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%;"]),rD=Q.span.withConfig({displayName:"ButtonBase__Ellipsis",componentId:"sc-p43e7i-5"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),oD=1,sD=2,iD=20,aD=14;function cD({fontWeight:t,fontSize:e}){const n=t==="normal"&&e>=iD,r=t==="bold"&&e>=aD;return n||r?sD:oD}const lD={width:"100%",horizontalPadding:8},Mc=T.forwardRef(({children:t,text:e,mode:n="contain",color:r=xy,font:o={fontStyle:"normal",fontWeight:"normal",fontSize:13},fontFamily:s,fontColor:i=QR,borderWidth:a,borderColor:c,fullWidth:l=!1,horizontalPadding:u,verticalPadding:f,overlayOpacityOnHover:p=.1,overlayOpacityOnClick:d=.1,variants:m,overlayVariants:y,style:x,...h},$)=>{const{fontSize:b,fontWeight:S,fontStyle:_}=o,k=n==="contain",C=n==="outline",R=k?i:r,D=a??cD(o),I=f&&u?[f,u]:void 0;return q.jsx(XR,{...h,ref:$,fontSize:b,fontWeight:S,fontStyle:_,fontColor:R,fontFamily:s?.value,borderWidth:D,borderColor:c,padding:I,style:{...l?{minWidth:lD.width}:{},...x},variants:{...m??{},initial:{backgroundColor:k?r:li,borderColor:C?c||r:li,...m?.initial??{}},hover:{borderColor:C?c||r:Nc(R,p),...m?.hover??{}},tap:{borderColor:C?c||r:Nc(Ic(R),d),...m?.tap??{}},focus:m?.focus??{}},overlayVariants:{...y??{},initial:{backgroundColor:li,...y?.initial??{}},hover:{backgroundColor:Nc(R,p),...y?.hover??{}},tap:{backgroundColor:Nc(Ic(R),d),...y?.tap??{}},focus:y?.focus??{}},children:e||t})}),uD=dx(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var fD=T.useLayoutEffect,dD=function(e){var n=T.useRef(e);return fD(function(){n.current=e}),n},Ey=function(e,n){if(typeof e=="function"){e(n);return}e.current=n},pD=function(e,n){var r=T.useRef();return T.useCallback(function(o){e.current=o,r.current&&Ey(r.current,null),r.current=n,n&&Ey(n,o)},[n])},_y={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},hD=function(e){Object.keys(_y).forEach(function(n){e.style.setProperty(n,_y[n],"important")})},Ty=hD,ye=null,Cy=function(e,n){var r=e.scrollHeight;return n.sizingStyle.boxSizing==="border-box"?r+n.borderSize:r-n.paddingSize};function gD(t,e,n,r){n===void 0&&(n=1),r===void 0&&(r=1/0),ye||(ye=document.createElement("textarea"),ye.setAttribute("tabindex","-1"),ye.setAttribute("aria-hidden","true"),Ty(ye)),ye.parentNode===null&&document.body.appendChild(ye);var o=t.paddingSize,s=t.borderSize,i=t.sizingStyle,a=i.boxSizing;Object.keys(i).forEach(function(p){var d=p;ye.style[d]=i[d]}),Ty(ye),ye.value=e;var c=Cy(ye,t);ye.value=e,c=Cy(ye,t),ye.value="x";var l=ye.scrollHeight-o,u=l*n;a==="border-box"&&(u=u+o+s),c=Math.max(u,c);var f=l*r;return a==="border-box"&&(f=f+o+s),c=Math.min(f,c),[c,l]}var ky=function(){},mD=function(e,n){return e.reduce(function(r,o){return r[o]=n[o],r},{})},vD=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],$D=!!document.documentElement.currentStyle,yD=function(e){var n=window.getComputedStyle(e);if(n===null)return null;var r=mD(vD,n),o=r.boxSizing;if(o==="")return null;$D&&o==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var s=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),i=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:s,borderSize:i}},bD=yD;function Ay(t,e,n){var r=dD(n);T.useLayoutEffect(function(){var o=function(i){return r.current(i)};if(t)return t.addEventListener(e,o),function(){return t.removeEventListener(e,o)}},[])}var wD=function(e){Ay(window,"resize",e)},xD=function(e){Ay(document.fonts,"loadingdone",e)},SD=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],ED=function(e,n){var r=e.cacheMeasurements,o=e.maxRows,s=e.minRows,i=e.onChange,a=i===void 0?ky:i,c=e.onHeightChange,l=c===void 0?ky:c,u=uy(e,SD),f=u.value!==void 0,p=T.useRef(null),d=pD(p,n),m=T.useRef(0),y=T.useRef(),x=function(){var b=p.current,S=r&&y.current?y.current:bD(b);if(S){y.current=S;var _=gD(S,b.value||b.placeholder||"x",s,o),k=_[0],C=_[1];m.current!==k&&(m.current=k,b.style.setProperty("height",k+"px","important"),l(k,{rowHeight:C}))}},h=function(b){f||x(),a(b)};return T.useLayoutEffect(x),wD(x),xD(x),T.createElement("textarea",Pc({},u,{onChange:h,ref:d}))},_D=T.forwardRef(ED);const TD=({src:t,srcSet:e,altText:n="",size:r=40,...o})=>{const[s,i]=T.useState(!1),[a,c]=T.useState(!1),l=a||!t,u=()=>i(!0),f=()=>c(!0);return q.jsx(kD,{...o,_size:r,children:l?q.jsx(qD,{}):q.jsx(AD,{_loaded:s,children:q.jsx(LD,{_loaded:s,src:t,srcSet:e,alt:n,onLoad:u,onError:f})})})},Ly=Rt(["border-radius:50%;overflow:hidden;"]),qy=Rt(["display:inline-block !important;position:static !important;margin:0 !important;padding:0 !important;max-width:none !important;height:inherit !important;width:inherit !important;"]),CD=Rt(["animation:blinker 1s linear infinite;@keyframes blinker{50%{opacity:1;}}"]),kD=Q.div.withConfig({displayName:"Avatar__Container",componentId:"sc-9uf7h8-0"})(["position:relative;width:","px;height:","px;box-shadow:inset 0 0 2px rgba(17,17,17,0.1);"," &::after{content:'';position:absolute;top:0;display:block;width:inherit;height:inherit;border-radius:50%;box-shadow:inset 0 0 2px rgba(17,17,17,0.1);}"],({_size:t})=>t,({_size:t})=>t,Ly),AD=Q.div.withConfig({displayName:"Avatar__Background",componentId:"sc-9uf7h8-1"})(["width:inherit;height:inherit;transition:opacity 1s ease-out;background-color:rgb(210,210,210);opacity:",";"," ",""],({_loaded:t})=>t?1:0,({_loaded:t})=>!t&&CD,Ly),LD=Q.img.withConfig({displayName:"Avatar__StyledAvatar",componentId:"sc-9uf7h8-2"})(["",";visibility:"," !important;"],qy,({_loaded:t})=>t?"visible":"hidden"),qD=Q(wR).withConfig({displayName:"Avatar__StyledAvatarStub",componentId:"sc-9uf7h8-3"})(["",""],qy),RD=({top:t="auto",left:e="auto",right:n="auto",bottom:r="auto"})=>()=>Rt` top: ${t}; left: ${e}; right: ${n}; bottom: ${r}; `,DD={"top-left":{top:0,left:0},top:{top:0,right:"50%"},"top-right":{top:0,right:0},right:{right:0,bottom:"50%"},"bottom-right":{right:0,bottom:0},bottom:{right:"50%",bottom:0},"bottom-left":{bottom:0,left:0},left:{bottom:"50%",left:0}},ND=({_position:t})=>RD(DD[t]),ID=({_position:t,_verticalOffset:e,_horizontalOffset:n,_iconOnly:r})=>{if((t==="top-left"||t==="top-right"||t==="bottom-right"||t==="bottom-left")&&!r&&e!==0&&n===0)return PD[t];if(t==="left"||t==="right")return r?Rt` transform: translateY(50%); `:OD[t];if(t==="top"||t==="bottom")return MD[t]},PD={"top-left":Rt` transform-origin: top left; transform: rotate(270deg) translateX(-100%); `,"top-right":Rt` transform-origin: top right; transform: rotate(270deg) translateY(-100%); `,"bottom-right":Rt` transform-origin: bottom right; transform: rotate(270deg) translateX(100%); `,"bottom-left":Rt` transform-origin: bottom left; transform: rotate(270deg) translateY(100%); `},OD={left:Rt` transform: rotate(270deg) translate(-50%, 100%); transform-origin: bottom left; `,right:Rt` transform: rotate(270deg) translateX(50%); transform-origin: bottom right; `},MD={top:Rt` transform: translateX(50%); `,bottom:Rt` transform: translateX(50%); `};function BD(t,e,n,r,o){const s=["bottom-right","bottom-left","top-left","top-right"].includes(e),i=["top-left","top","top-right"].includes(e),a=["top-right","right","bottom-right"].includes(e),c=["bottom-left","left","top-left"].includes(e),l=!n&&!r,u=n===0||r===0,[f,p,d,m]=ci(t),y={all:[f,p,d,m],"top-left":[0,0,d,0],top:[0,0,d,m],"top-right":[0,0,0,m],right:[f,0,0,m],"bottom-right":[f,0,0,0],bottom:[f,p,0,0],"bottom-left":[0,p,0,0],left:[0,p,d,0]};if(s&&l)return y[e];if(o&&r===0){if(c)return y.left;if(a)return y.right}return!s&&(n!==0||r!==0)?y.all:u?i&&n===0||c&&r===0?y.top:y.bottom:y.all}const VD=(t,e,n)=>{if(n){const r=["top-left","left","bottom-left"].includes(t),o=["top-right","right","bottom-right"].includes(t);return e&&r?"bottom-left":e&&o?"bottom-right":"bottom"}return t};function UD({ref:t,triggered:e,interval:n}){const[r,o]=T.useState(e);return T.useEffect(()=>{const{current:s}=t;if(!s)return;const i=()=>o(!1);return s.addEventListener("animationend",i),()=>{s&&s.removeEventListener("animationend",i)}},[]),Cq(()=>o(!0),r?null:n),r}function FD({triggerAnimation:t=!0,animationInterval:e=10,color:n,borderRadius:r}){const o=T.useRef(null),s=UD({ref:o,triggered:t,interval:e*1e3}),[i,a,c,l]=ci(r),u={_animate:s,_color:n,_borderRadius:`${i}px ${a}px ${c}px ${l}px`};return q.jsxs(q.Fragment,{children:[q.jsx(Ry,{ref:o,...u,_iterationCount:3}),q.jsx(Ry,{...u,_withDelay:!0,_iterationCount:2})]})}const Ry=Q.div.withConfig({displayName:"AnimationFrame__Frame",componentId:"sc-nad8iw-0"})(["position:absolute;inset:0px;opacity:0;z-index:0;width:100%;height:100%;box-sizing:border-box;border-radius:",";border:1px solid ",";"," "," @keyframes floating-button-pulse{0%{transform:scale(1);opacity:0;}50%{opacity:1;}100%{transform:scale(1.2);opacity:0;}}"],({_borderRadius:t})=>t,({_color:t})=>t,({_animate:t,_iterationCount:e})=>t&&`animation: floating-button-pulse 1s linear ${e};`,({_withDelay:t})=>t&&"animation-delay: 0.5s;"),ui={floatingButtonText:"Button",floatingButtonPosition:{position:"bottom-right",verticalOffset:20,horizontalOffset:20},floatingButtonMode:"contain",floatingButtonColor:"rgb(25, 123, 255)",floatingButtonFontColor:"rgb(255, 255, 255)",floatingButtonCornerRadius:32,floatingButtonFontStyle:{fontSize:24,fontWeight:"bold",fontStyle:"normal"},floatingButtonHorizontalPadding:23,floatingButtonVerticalPadding:12,floatingButtonAnimationEnabled:!1,floatingButtonAnimationInterval:10,floatingButtonSize:24},jD="0 4px 12px 0 rgba(0, 0, 0, 0.3)",zD=T.forwardRef(({position:t=ui.floatingButtonPosition,mode:e=ui.floatingButtonMode,color:n=ui.floatingButtonColor,verticalOffsetOnMobile:r=20,horizontalOffsetOnMobile:o=20,borderRadius:s=ui.floatingButtonCornerRadius,withShadow:i=!0,iconOnly:a=!1,isMobile:c=!1,portalContainerElement:l=document.body,font:u=ui.floatingButtonFontStyle,slot:f,animationEnabled:p,triggerAnimation:d,animationInterval:m,containerStyle:y,style:x,...h},$)=>{const{position:b,verticalOffset:S,horizontalOffset:_}=t,k=VD(b,a,c);let[C,R]=c?[r,o]:[S,_];k==="right"||k==="left"?C=0:(k==="top"||k==="bottom")&&(R=0);const D=BD(s,k,C,R,a);return q.jsx(Gm,{containerElement:l,children:q.jsxs(HD,{ref:$,_position:k,_verticalOffset:C,_horizontalOffset:R,_iconOnly:a,style:y,children:[p&&q.jsx(FD,{triggerAnimation:d,animationInterval:m,color:n,borderRadius:D}),q.jsx(Mc,{...h,mode:e,color:n,iconOnly:a,borderRadius:D,font:u,style:{...x,boxShadow:i?jD:void 0}}),!!f&&f]})})}),HD=Q.div.withConfig({displayName:"FloatingButton__FloatingButtonContainer",componentId:"sc-q5md4t-0"})(["position:fixed;z-index:99999999;"," "," ",""],({_verticalOffset:t,_horizontalOffset:e})=>Rt(["margin:","px ","px;"],t,e),ND,ID);function GD(t=[]){const e=t.filter(Boolean).filter(n=>n.googleFont&&n.value).map(n=>n.value+":400,b,i").join("|");return T.useEffect(()=>{if(!e)return;const n=document.createElement("link");return n.rel="stylesheet",n.href=`https://fonts.googleapis.com/css?family=${e}`,document.head.appendChild(n),()=>{document.head.removeChild(n)}},[e])}var WD=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,o,s;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(o=r;o--!==0;)if(!t(e[o],n[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(s=Object.keys(e),r=s.length,r!==Object.keys(n).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(n,s[o]))return!1;for(o=r;o--!==0;){var i=s[o];if(!t(e[i],n[i]))return!1}return!0}return e!==e&&n!==n};const YD=ln(WD),KD=({_textStyle:t})=>t&&Object.entries(t).reduce((e,[n,r])=>e+`${Pd(n)}: ${r}${n==="fontSize"?"px":""};`,"");function ZD({text:t,children:e,textStyle:n}){const[r,o]=T.useState(),[s]=qL(o,{resize:!0});return q.jsxs(q.Fragment,{children:[q.jsx(QD,{ref:s,_textStyle:n,children:t}),r&&e(r)]})}const QD=Q.span.withConfig({displayName:"TextMeasure__TextMeasureComponent",componentId:"sc-bpafkg-0"})(["",";position:absolute;z-index:-999;height:0;overflow:hidden;white-space:pre;"],KD),Dy=.75,XD="rgba(0, 0, 0, 0)",JD=.8,tN=T.memo(T.forwardRef(function({value:e,initialValue:n="",label:r,placeholder:o,leftSlot:s,rightSlot:i,limit:a,multiline:c=!1,minVisibleRows:l=3,maxVisibleRows:u=1/0,autoFocus:f=!1,padding:p=[10,0],variants:d={},background:m="rgba(255, 255, 255, 0)",fontStyle:y="normal",fontWeight:x=400,fontSize:h=16,lineHeight:$=1.32,fitContentWidth:b,color:S="rgb(17, 17, 17)",borderType:_,borderColor:k="rgba(17, 17, 17, 0.3)",borderWidth:C=1,borderRadius:R,underlineVariants:D={},labelVariants:I={},labelFontStyle:Z="normal",labelFontWeight:st=400,labelFontSize:ct,labelTextTransform:X,labelColor:U="rgba(17, 17, 17, 0.5)",placeholderVariants:B={},placeholderFontStyle:W="normal",placeholderFontWeight:L=400,placeholderColor:N="rgba(17, 17, 17, 0.3)",limitMessageVariants:O={},limitMessageBackground:z="rgb(255, 255, 255)",customVariant:H,id:J,name:P,type:Y="text",disabled:ot=!1,required:ft=!1,className:mt,withoutTransition:xt,minLength:St,maxLength:It,inputMode:qt="text",style:Vt,onValueChange:pe,onFocus:pt,onClick:w,onKeyDown:g,onBlur:v,onKeyUp:E,onDoubleClick:A},M){const F=e!==void 0,[ut,vt]=T.useState(n),$t=F?e:ut;T.useEffect(()=>{vt(n)},[n]);const[te,Pt]=T.useState(!0),jo=!!$t||!$t&&!te,zo=!!r,EM=!!o,_M=_==="outline",TM=_==="underline",tx=a!==void 0,ex=T.useRef(null),_i=T.useRef(null),Ip=T.useCallback(Zt=>{_i.current&&_i.current.focus(Zt)},[]);T.useImperativeHandle(M,()=>({containerRef:ex,inputRef:_i,focusInput:Ip}),[Ip]);const nx=Zt=>(c?Zt:Zt.replace(/\r?\n|\r/g,"")).slice(0,a),CM=Zt=>{const{value:el}=Zt.target,ux=nx(el);e!==el&&(F||vt(ux),pe&&pe(ux,Zt))},kM=({target:Zt})=>{const el=Zt.validity.valid;Pt(el)},[rx,ox]=T.useState(!1),AM=Zt=>{ox(!0),pt&&pt(Zt)},LM=Zt=>{ox(!1),v&&v(Zt)},sx={id:J,name:P,disabled:ot,"aria-required":ft,autoFocus:f,value:nx($t),placeholder:o,onChange:CM,onInput:kM,onFocus:AM,onBlur:LM,onClick:w,onKeyDown:g,onKeyUp:E,onDoubleClick:A,maxLength:It,minLength:St,inputMode:qt},{length:Pp}=$t,ix=tx&&Pp/a>=JD,qM=tx&&Pp>=a,vr=["initial",(jo||rx)&&"touched",jo&&"filled",rx&&"focused",ix&&"limitAlmostReached",qM&&"limitReached",ot&&"disabled",...Array.isArray(H)?H:[H]].filter(Boolean),$r=xt?Od.disabled:{type:"spring",stiffness:600,damping:45,mass:1},[RM,Op,DM,ax]=ci(p),Mp=Math.round(h*$),cx=zo?Mp*Dy/2:0,NM=Ic(z),lx=Zt=>q.jsx(rN,{style:{height:Mp},children:q.jsx("div",{children:typeof Zt=="function"?Zt(vr):Zt})});return q.jsx(ZD,{text:$t,textStyle:{fontSize:h,fontWeight:x},children:({width:Zt})=>q.jsxs(eN,{ref:ex,className:mt,style:{paddingTop:RM,paddingRight:Op,paddingBottom:DM,paddingLeft:ax,borderWidth:C,borderRadius:R,fontStyle:y,fontWeight:x,fontSize:h,lineHeight:`${Mp}px`,width:b?Zt+ax+Op+4:void 0,...Vt},transition:$r,initial:!1,animate:In({...d,initial:{borderColor:_M?k:XD,background:m,color:S,opacity:1,...d?.initial??{}},disabled:{opacity:.3,...d?.disabled??{}}},vr),onClick:()=>Ip(),children:[q.jsx(LL,{initial:!1,children:ix&&q.jsx(uN,{style:{right:Op},transition:$r,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:q.jsxs(fN,{transition:$r,initial:!1,animate:In({...O,initial:{background:z,color:NM,...O?.initial??{}}},vr),children:[Pp,"/",a]})})}),!!s&&lx(s),q.jsxs(nN,{children:[zo&&q.jsx(aN,{transition:$r,initial:!1,animate:In({initial:{y:0,scale:1},touched:{y:-cx,scale:Dy}},vr),children:q.jsx(cN,{htmlFor:J,style:{fontStyle:Z,fontWeight:st,fontSize:ct,textTransform:X},transition:$r,initial:!1,animate:In({...I,initial:{color:U,...I?.initial??{}}},vr),children:r})}),q.jsxs(oN,{transition:$r,initial:!1,animate:In(zo?{initial:{y:cx,opacity:0},touched:{opacity:1}}:{initial:{y:0,opacity:1},touched:{opacity:1}},vr),children:[EM&&!jo&&q.jsx(lN,{style:{fontStyle:W,fontWeight:L},transition:$r,initial:!1,animate:In({...B,initial:{color:N,...B?.initial??{}}},vr),children:o}),c&&q.jsx(iN,{...sx,ref:_i,minRows:l,maxRows:u}),!c&&q.jsx(sN,{...sx,ref:_i,type:Y,autoComplete:"off"})]})]}),!!i&&lx(i),TM&&q.jsx(dN,{style:{top:-C,right:-C,bottom:-C,left:-C,borderWidth:C},transition:$r,initial:!1,animate:In({...D,initial:{borderColor:k,...D?.initial??{}}},vr)})]})})}),(t,e)=>{const{leftSlot:n,rightSlot:r,...o}=t,{leftSlot:s,rightSlot:i,...a}=e;return YD(o,a)&&n===s&&r===i}),Gd=Rt(["font-style:inherit;font-variant:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;font-family:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;"]),Ny=Rt(["",";display:block;box-sizing:border-box;width:100%;margin:0;padding:0;border:none;outline:none;box-shadow:none;background:transparent;transform:translate3d(0,0,0);&::placeholder{opacity:0;}"],Gd),eN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBaseContainer",componentId:"sc-1s66zih-0"})(["position:relative;display:flex;border:1px solid;cursor:text;"]),nN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBaseInner",componentId:"sc-1s66zih-1"})(["position:relative;flex:1;"]),rN=Q.div.withConfig({displayName:"TextControlBase__TextControlBaseSlot",componentId:"sc-1s66zih-2"})(["display:flex;align-items:center;flex:0;&:first-child{margin-right:8px;}&:last-child{margin-left:8px;}"]),oN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBaseInputWrapper",componentId:"sc-1s66zih-3"})(["position:relative;z-index:1;"]),sN=Q.input.withConfig({displayName:"TextControlBase__TextControlBaseInput",componentId:"sc-1s66zih-4"})(["",""],Ny),iN=Q(_D).withConfig({displayName:"TextControlBase__TextControlBaseTextarea",componentId:"sc-1s66zih-5"})(["",";resize:none;"],Ny),aN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBaseLabelWrapper",componentId:"sc-1s66zih-6"})(["position:absolute;top:auto;left:auto;max-width:100%;transform-origin:2px 25%;pointer-events:none;"]),cN=Q(rn.label).withConfig({displayName:"TextControlBase__TextControlBaseLabel",componentId:"sc-1s66zih-7"})(["",";display:block;overflow:hidden;max-width:100%;white-space:nowrap;text-overflow:ellipsis;"],Gd),lN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBasePlaceholder",componentId:"sc-1s66zih-8"})(["",";position:absolute;overflow:hidden;top:0;right:0;left:0;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;"],Gd),uN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBaseLimitMessageWrapper",componentId:"sc-1s66zih-9"})(["position:absolute;z-index:3;top:-14px;pointer-events:none;"]),fN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBaseLimitMessage",componentId:"sc-1s66zih-10"})(["padding:5px 8px;font-size:13px;line-height:1.38;border-radius:4px;box-shadow:0 4px 8px 0 rgba(0,0,0,0.3);"]),dN=Q(rn.div).withConfig({displayName:"TextControlBase__TextControlBaseUnderline",componentId:"sc-1s66zih-11"})(["position:absolute;z-index:2;border-bottom:solid;border-radius:inherit;pointer-events:none;"]),Iy=12,Py=.66,Oy=.82;function pN(t,e,n,r){const o=r?0:t;return e?[t,n==="right"?Iy:o,t,n==="left"?Iy:o]:[Math.round(t*Py),n==="right"?Math.round(Oy*t):o,Math.round(t*Py),n==="left"?Math.round(Oy*t):o]}const hN=T.forwardRef(function({font:e={fontSize:16},labelFont:n={fontSize:16},padding:r,label:o,leftSlot:s,rightSlot:i,background:a,borderType:c,...l},u){const{fontWeight:f,fontStyle:p,fontSize:d}=e,{fontWeight:m,fontStyle:y,fontSize:x,textTransform:h}=n,_=r||pN(d,!!o,!!s&&"left"||!!i&&"right"||!1,c==="underline"&&(a==="transparent"||!a));return q.jsx(tN,{...l,ref:u,padding:_,fontWeight:f,fontStyle:p,fontSize:d,background:a,borderType:c,label:o,labelFontStyle:y,labelFontWeight:m,labelFontSize:x,labelTextTransform:h,leftSlot:s,rightSlot:i})}),gN="global-styles";function My(t,e){const n=[];for(const r of Object.values(t))if(r instanceof CSSMediaRule){const o=r.conditionText?r.conditionText:r.media.mediaText,s=My(r.cssRules,e);n.push(`@media ${o} {\r ${s}\r}`)}else r instanceof CSSStyleRule?r.selectorText.includes(gN)?n.push(r.cssText):n.push(`${e} ${r.cssText}`):r instanceof CSSImportRule&&n.push(r.cssText);return n.join(`\r `)}const mN=(t,e)=>["eapps",t,e,"custom-css-root"].filter(Boolean).join("-");function vN({customCSS:t,prefixClassName:e}){const[n,r]=T.useState(""),o=T.useMemo(()=>{const s=document.createElement("style");return document.implementation.createHTMLDocument().body.insertBefore(s,null)},[]);return T.useEffect(()=>{if(o.innerHTML=t,o?.sheet){const s=My(o.sheet.cssRules,`.${e}`);r(s)}},[o,t]),t?q.jsx($N,{customCSS:n}):null}const $N=PS(["",""],({customCSS:t})=>Rt(["",""],t)),fi="_global",By="_apiReady";class yN extends Error{constructor(e){super(`Service '${e}' is immutable`)}}class bN extends Error{constructor(e){super(`Unknown API service: ${e}`)}}class wN extends Error{constructor(e){super(`Endpoint '${e}' not defined in widget endpoints schema.`)}}class xN extends Error{constructor(){super("Widget API schema was not defined. Ensure that schema data is provided using the defineSchemaAPI method.")}}class SN{get(e,n){const r=e.get(n);if(!r)throw new bN(n);return r}set(e,n){throw new yN(n)}}let EN=class{constructor(){this.servicesListeners={[fi]:{}}}on(e,n,r=fi){let o={};return this.servicesListeners[r]?o=this.servicesListeners[r]:this.servicesListeners[r]=o,o[e]||(o[e]=[]),o[e].push(n),()=>{const s=o[e].indexOf(n);s>-1&&o[e].splice(s,1)}}emit(e,n=[],r=fi){const o=this.servicesListeners[r];if(!o)return;const s=o[e];if(s?.length)for(const i of s)try{i(...n)}catch(a){console.error(a)}}unsubscribeEvent(e,n=fi){const r=this.servicesListeners[n];r&&(r[e]=[])}unsubscribeAllEvents(e=fi){const n=this.servicesListeners[e];if(n)for(const r of Object.getOwnPropertyNames(n))n[r]=[]}};class _N extends EN{constructor(){super(),this.container=new Map,this.get=this.container.get.bind(this.container),this.set=this.container.set.bind(this.container),this.delete=this.container.delete.bind(this.container),this.container.set("on",this.on.bind(this)),this.container.set("emit",this.emit.bind(this)),this.container.set("unsubscribeEvent",this.unsubscribeEvent.bind(this)),this.container.set("unsubscribeAllEvents",this.unsubscribeAllEvents.bind(this))}}const TN=3e3;class CN{constructor(e){this.schema=new Set,this.registry=new Set,this.status="WAITING_FOR_SCHEMA",this.registrationCompletionHandler=e}throwIfNotDefinedInSchema(e){if(!this.schema.has(e))throw new wN(e)}throwIfSchemaWasNotDefined(){if(this.status==="WAITING_FOR_SCHEMA")throw new xN}isRegistrationComplete(){return this.status==="REGISTRATION_COMPLETED"}isRegistrationFailed(){return this.status==="REGISTRATION_FAILED"}wasRegistered(e){return!this.registry.has(e)}_checkRegistrationCompletion(){this.registry.size===0&&(clearTimeout(this.timeout),this.status="REGISTRATION_COMPLETED",this.registrationCompletionHandler())}defineSchema(e={},n=!0){if(this.status==="WAITING_FOR_SCHEMA"){n&&(this.timeout=setTimeout(()=>{this.registry.size!==0&&(this.status="REGISTRATION_FAILED",console.error(`Failed to fully define Widget API schema. CustomJS code will not be executed. Here are the endpoints whose registration failed: ${Array.from(this.registry)}`))},TN));for(const r in e)this.schema.add(r),e[r]&&this.registry.add(r);this.status="PENDING_REGISTRATION",this._checkRegistrationCompletion()}}handleEndpointRegistration(e){this.registry.delete(e),this._checkRegistrationCompletion()}}class kN{constructor(e){this.container=e}registerService(e,n){const r=this.container.get(e);r?Object.assign(r,n):this.container.set(e,n)}registerMethod(e,n){this.container.set(e,n)}unregisterEndpoint(e){this.container.delete(e)}}const AN=()=>{const t=new _N,e=new Proxy(t,new SN),n=new kN(t),r=new CN(()=>{e.emit(By)});return{apiAccessor:e,apiManager:n,apiSchema:r}},{apiAccessor:LN,apiManager:MM,apiSchema:Vy}=AN(),qN=()=>LN,RN=(t={},e=!0)=>{Vy.defineSchema(t,e)},DN=()=>Vy.isRegistrationComplete(),Bc=qN();function NN(t,e){return T.useEffect(()=>{if(!(!t||e))try{Bc.unsubscribeAllEvents();const n=new Function("widget",t);DN()?n(Bc):Bc.on(By,()=>{n(Bc)})}catch(n){console.error(n)}},[t])}var it=(t=>(t.all="all",t.whatsapp="whatsapp",t.telegram="telegram",t.instagram="instagram",t.viber="viber",t.line="line",t.discord="discord",t.facebook="facebook",t))(it||{}),G=(t=>(t.whatsapp="whatsApp",t.email="email",t.call="call",t.instagram="instagram",t.telegram="telegram",t.facebook="facebook",t.custom="custom",t.getdirection="getDirections",t.kakaotalk="kakaoTalk",t.line="line",t.googlemaps="googleMaps",t.savecontact="saveContact",t.sms="SMS",t.snapchat="snapchat",t.viber="viber",t.twitter="twitter",t.discord="discord",t.wechat="weChat",t.rumbletalk="rumbleTalk",t))(G||{});const IN=[{appTitle:"Viber",appLink:"https://www.viber.com/en/download/"},{appTitle:"WeChat",appLink:"https://www.wechat.com/en/"}],PN=t=>IN.find(({appTitle:e})=>e.toLowerCase()===t?.toLowerCase())??{};var di={alias:"whatsapp-chat",name:"Whatsapp Chat",provider:"whatsapp"};const Et="https://static.elfsight.com/icons/",ON=t=>{const e=/^\w|[A-Z]|\b\w/g,n=/(-|\s)+/g;return t.replace(e,(r,o)=>o===0?r.toLowerCase():r.toUpperCase()).replace(n,"")},MN=!1;if(!di||!di.provider)throw new Error("APP_MANIFEST is required");const Te={alias:di.alias,name:di.name,camelCaseAlias:ON("all"),version:"0.0.0",stage:MN,provider:di.provider},Uy={welcomeMessage:"Hi there!👋 <br><br> How can I help you?",buttonText:"Start Chat with:",bubbleIcon:{url:"https://static.elfsight.com/icons/app-chats-message-bubble-multicolor.svg"},buttonsColor:{type:"native",color:"rgb(0, 132, 255)"}},BN={accountId:"",bubbleIcon:{url:"https://static.elfsight.com/icons/chats-discord.svg"},buttonText:"Chat on Discord",buttonBorderRadius:8,welcomeMessage:"Did you know that this widget can help you provide support, consult customers, do sales, collect feedback and build customer relationships?<br><br>Drop me a line and I'll tell you how 🤩",bubbleBackgroundColor:"rgb(255, 255, 255)",bubbleIconColor:"#7289da",headerBackgroundColor:"rgb(255, 255, 255)"},VN={bubbleIcon:{url:"https://static.elfsight.com/icons/facebook-messenger.svg"},buttonText:"Chat on Facebook",welcomeMessage:"Hi there!👋 <br><br> How can I help you?",headerBackgroundColor:"rgb(250, 250, 250)",buttonColor:{type:"native",color:"rgb(0, 132, 255)"},bubbleBackgroundColor:"rgb(10, 124, 255)",bubbleIconColor:"rgb(255, 255, 255)",buttonBorderRadius:16,messageBackgroundColor:"rgb(239, 239, 239)",align:"right",infoFromFacebook:!0},UN={bubbleIcon:{url:"https://static.elfsight.com/icons/chats-instagram-chat.svg"},buttonText:"Chat on Instagram",buttonBorderRadius:16,buttonColor:{type:"native",color:"rgb(1, 149, 246)"},welcomeMessage:"Hi there!👋 <br><br> How can I help you?",bubbleBackgroundColor:"rgb(255, 255, 255)",bubbleIconColor:"rgb(0,0,0)",headerBackgroundColor:"rgb(250, 250, 250)",messageBackgroundColor:"rgb(239, 239, 239)",align:"right"},FN={bubbleIcon:{url:"https://static.elfsight.com/icons/line.svg"},buttonText:"Chat on Line",bubbleBackgroundColor:"rgba(7, 181, 59, 1)",buttonBorderRadius:24,buttonColor:{type:"native",color:"rgb(0, 185, 0)"},welcomeMessage:"Hi there 👋 <br><br>How can I help you?",bubbleIconColor:"rgb(255, 255, 255)",headerBackgroundColor:"rgb(132, 158, 191)",chatWallpaperMulticolor:{type:"native",color:"rgb(255, 255, 255)"},messageBackgroundColor:"rgb(255, 255, 255)",align:"right"},jN={buttonBorderRadius:24,bubbleIcon:{url:"https://static.elfsight.com/icons/app-chats-telegram-chat.svg"},welcomeMessage:"Hi there 👋 <br><br>How can I help you?",buttonText:"Chat on Telegram",headerBackgroundColor:"rgb(255, 255, 255)",buttonColor:{type:"native",color:"rgb(0, 136, 204)"},bubbleBackgroundColor:"rgb(0, 136, 204)",bubbleIconColor:"rgb(255, 255, 255)",chatWallpaperMulticolor:{type:"native",color:"rgb(255, 255, 255)"},messageBackgroundColor:"rgb(255, 255, 255)",align:"right"},zN={bubbleIcon:{url:"https://static.elfsight.com/icons/app-chats-viber.svg"},buttonText:"Chat on Viber",welcomeMessage:"Hi there 👋 <br><br>How can I help you?",bubbleBackgroundColor:"rgb(255, 255, 255)",bubbleIconColor:"rgb(104, 90, 176)",headerBackgroundColor:"rgb(97, 72, 196)",messageBackgroundColor:"rgb(238, 245, 250)",buttonColor:{type:"native",color:"rgb(102, 184, 33)"},buttonBorderRadius:16,align:"right"},HN={phone:"",bubbleIcon:{url:"https://static.elfsight.com/icons/app-chats-whatsapp-chat-multicolor.svg"},welcomeMessage:"Hi there 👋 <br><br>How can I help you?",buttonText:"Chat on WhatsApp",headerBackgroundColor:"rgb(0, 128, 105)",bubbleBackgroundColor:"rgb(37, 211, 102)",bubbleIconColor:"rgb(255, 255, 255)",buttonBorderRadius:24,chatMethod:"startChat",messageBackgroundColor:"rgb(255, 255, 255)",messageFieldColor:"rgb(255, 255, 255)",messageButtonColor:"rgba(37, 211, 102, 1)",chatWallpaperMulticolor:{type:"native",color:"rgb(255, 255, 255)"},align:"right",buttonColor:{type:"native",color:"#197BFF"}},{provider:GN}=Te,WN={[it.all]:Uy,[it.whatsapp]:HN,[it.telegram]:jN,[it.instagram]:UN,[it.viber]:zN,[it.line]:FN,[it.discord]:BN,[it.facebook]:VN},pi={name:"John Doe",nameCaptionType:"replyTime",nameCaptionReplyTime:"Typically replies within a day",nameCaptionCustom:"",align:"left",bubbleText:"",welcomeMessage:"Did you know that this widget can help you provide support, consult customers, do sales, collect feedback and build customer relationships?<br><br>Drop me a line, and I'll tell you how 🤩",buttonIconVisible:!0,position:"floating",whereToDisplayChat:"allPages",excludedPages:[],specificPages:[],timeOnPage:0,scrollPosition:0,onPageLoad:!1,displayDays:[0,1,2,3,4,5,6],timeSchedule:!1,displayStartTime:{type:Bd.TIME,time:"09:00"},displayEndTime:{type:Bd.TIME,time:"17:00"},rememberVisitor:1,buttonText:"Start Chat",windowWidth:"360px",devicesToDisplay:["mobile","desktop"],showChatTo:"allVisitors",timeOnSite:0,notifications:["bubbleBadge","tabTitle"],buttonBorderRadius:4,bubbleAnimationInterval:10,bubbleAnimationEnabled:!0,messageBackgroundColor:"rgb(239, 239, 239)",chatWallpaper:"rgb(255, 255, 255)",bubbleBackgroundColor:"rgb(255, 255, 255)",bubbleIconColor:"rgb(0, 132, 255)",headerBackgroundColor:"rgb(250, 250, 250)",notificationBadgeColor:"rgb(255, 0, 0)",userOnlinePoint:"rgb(74, 213, 4)",customCSS:"",customJS:"",floatingVerticalOffset:20,floatingHorizontalOffset:20,...WN[GN]??Uy},YN=Te.provider!=="all",Fy=Te.provider==="instagram",KN=Te.provider==="facebook",ZN={[G.whatsapp]:`${Et}app-chats-whatsapp-chat-multicolor.svg`,[G.telegram]:`${Et}app-chats-telegram-chat.svg`,[G.instagram]:`${Et}instagram.svg`,[G.wechat]:`${Et}chats-wechat-chat.svg`,[G.viber]:`${Et}app-chats-viber.svg`,[G.line]:`${Et}line.svg`,[G.discord]:`${Et}discord.svg`,[G.facebook]:`${Et}facebook-messenger.svg`,[G.rumbletalk]:`${Et}rumbletalk.svg`,[G.call]:`${Et}phone.svg`,[G.email]:`${Et}email.svg`,[G.getdirection]:`${Et}directions.svg`,[G.kakaotalk]:`${Et}app-chats-kakao-talk.svg`,[G.googlemaps]:`${Et}location.svg`,[G.savecontact]:`${Et}floating-button-invite.svg`,[G.sms]:`${Et}app-chats-message.svg`,[G.snapchat]:`${Et}snapchat.svg`,[G.twitter]:`${Et}twitter-x.svg`,[G.custom]:"",sendMessage:`${Et}app-chats-send-message.svg`},Wt=(t,e)=>({url:e||ZN[t]}),QN={[it.whatsapp]:`${Et}app-chats-whatsapp-chat-multicolor.svg`,[it.telegram]:`${Et}app-chats-telegram-chat.svg`,[it.instagram]:`${Et}chats-instagram-chat.svg`,[it.viber]:`${Et}app-chats-viber.svg`,[it.line]:`${Et}line.svg`,[it.discord]:`${Et}chats-discord.svg`,[it.facebook]:`${Et}app-chats-facebook-messenger.svg`,[it.all]:""},XN=()=>({url:QN[Te.provider]||`${Et}app-chats-message-bubble-multicolor.svg`}),JN=t=>{const e=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([01](\.\d+)?)\s*\)$/,n=t?.match(e);return n?parseFloat(n[4])<.5:t==="transparent"},an=({color:t,opacity:e=1})=>{if(!t)return;if(JN(t))return"rgba(17, 17, 17, 1)";const r=Ic(t,["rgb(255, 255, 255)","rgb(17, 17, 17)"],172).match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(!r)return;const[o=0,s=0,i=0]=r?.slice(1),a=Math.min(1,Math.max(0,e));return`rgba(${o}, ${s}, ${i}, ${a})`},tI=()=>{const t=document.title,e=` (1 New message) ${t} `;let n=0;const r=setInterval(()=>{document.title=t===document.title?e:t,n===5&&(document.title=t,clearInterval(r)),n++},1e3)};class eI{storage=new Map;setItem(e,n){this.storage.set(e,n)}getItem(e){return this.storage.get(e)}removeItem(){this.storage.delete(key)}clear(){this.storage.clear()}}function nI(){const t="ElfsightAppCore.storageTest";try{try{return localStorage.setItem(t,!0),localStorage.getItem(t),localStorage}catch{return sessionStorage.setItem(t,!0),sessionStorage.setItem(t),sessionStorage}}catch{return new eI}}const Vc=nI();class rI{prefix=null;constructor(e=null){this.prefix=e}getPrefixedKey(e){return this.prefix?`${this.prefix}.${e}`:e}getItem(e,n=void 0){const r=Vc.getItem(this.getPrefixedKey(e));return r?JSON.parse(r):n}setItem(e,n){return Vc.setItem(this.getPrefixedKey(e),JSON.stringify(n)),n}removeItem(e){Vc.removeItem(this.getPrefixedKey(e))}clear(){Vc.clear()}}const{camelCaseAlias:oI}=Te,Wd=new rI(oI),Br=t=>Wd.getItem(t),Uc=(t,e)=>Wd.setItem(t,e),sI=t=>Wd.removeItem(t),jy=(t,e)=>{const[n,r]=T.useState(!1);return T.useEffect(()=>{const o=s=>{s.key===t&&(s.preventDefault(),r(!0),e())};return window.addEventListener("keydown",o),()=>{window.removeEventListener("keydown",o)}},[t,e]),n},Yd=t=>t?.replace(/\D/g,""),iI=({callNumber:t})=>{if(!t)return null;const e=`tel:${Yd(t)}`;return{provider:G.call,title:"Call",link:{url:e,options:{openCurrentPage:!0}},icon:Wt(G.call),color:"rgb(1, 214, 19)"}},aI=({customButtonLink:t,customButtonIcon:e,customButtonText:n})=>{if(!t)return null;const{rawValue:r,target:o}=t,s=e?.url?Wt(G.custom,e.url):null;return{provider:G.custom,title:n||"Custom Contact",link:{url:r,options:{target:o,withFeatures:!1}},icon:s,color:"rgb(10, 49, 102)"}},cI="https://www.google.com/maps/dir/Your+Location",lI=({getDirections:t})=>{if(!t)return null;const e=`${cI}/${t}`;return{provider:G.getdirection,title:"Get Directions",link:{url:e,options:{withFeatures:!1}},color:"rgb(25, 123, 255)",icon:Wt(G.getdirection)}},uI=({discordAccountId:t})=>{if(!t)return null;const e=`https://discord.com/users/${t}`;return{provider:G.discord,link:{url:e},title:"Discord",icon:Wt(G.discord)}},fI=({email:t})=>{if(!t)return null;const e=`mailto:${t}`;return{provider:G.email,link:{url:e,options:{openCurrentPage:!0}},title:"Email",icon:Wt(G.email),color:"rgb(21, 136, 255)"}},dI=({facebookPage:t})=>{if(!t)return null;const o=`https://www.messenger.com/t/${t?.data?.link?.replace("https://www.facebook.com/","")?.replace("/","")}`;return{provider:G.facebook,link:{url:o},title:"Messenger",icon:Wt(G.facebook),color:"rgb(0, 132, 255)"}},pI="https://www.google.com/maps/place",hI=({googleMaps:t})=>{if(!t)return null;const e=`${pI}/${t}`;return{provider:G.googlemaps,link:{url:e,options:{withFeatures:!1}},title:"Open in Google Maps",icon:Wt(G.googlemaps),color:"rgb(25, 123, 255"}},gI=({instagramAccountId:t})=>{if(!t)return null;const n=`https://ig.me/m/${t?.replace(/@/gm,"")}`;return{provider:G.instagram,link:{url:n},title:"Instagram",icon:Wt(G.instagram),color:"rgb(1, 149, 246)"}},mI=({kakaoTalkId:t})=>{if(!t)return null;const e=`https://pf.kakao.com/${t}/chat`;return{provider:G.kakaotalk,link:{url:e},title:"KakaoTalk",icon:Wt(G.kakaotalk),color:"rgb(255, 235, 59)"}},vI=({lineAccountId:t})=>{if(!t)return null;const e=`https://line.me/R/ti/p/${t}`;return{provider:G.line,link:{url:e},title:"Line",icon:Wt(G.line),color:"rgb(7, 181, 59)"}},$I=({rumbletalkChatId:t})=>{if(!t)return null;const e=`https://p.rumbletalk.com/?h=${t}`;return{provider:G.rumbletalk,link:{url:e},title:"RumbleTalk",icon:Wt(G.rumbletalk),color:"rgb(116, 172, 0)"}},yI=t=>!Object.values(t).filter(Boolean).length,bI=({saveContactFullName:t,saveContactJobTitle:e,saveContactCompany:n,saveContactPhoneNumber:r,saveContactEmail:o,saveContactWebSite:s,saveContactAddress:i,saveContactImage:a})=>{const c={name:t,job:e,company:n,image:a?.url,phone:r,address:i,email:o,website:s};return yI(c)?null:{provider:G.savecontact,link:{vcardSettings:c,options:{openCurrentPage:!0}},title:"Save Contact",icon:Wt(G.savecontact),color:"rgb(0, 0, 0)"}},wI=({sms:t})=>{if(!t)return null;const e=`sms://${t}`;return{provider:G.sms,link:{url:e,options:{openCurrentPage:!0}},title:"SMS",icon:Wt(G.sms),color:"rgb(1, 214, 19)"}},xI=({snapchatUsername:t})=>{if(!t)return null;const e=`https://www.snapchat.com/add/${t}`;return{provider:G.snapchat,link:{url:e},title:"Snapchat",icon:Wt(G.snapchat),color:"rgb(255, 252, 0)"}},SI=t=>[/https?:\/\/(www.)?/,/\.?t(elegram)?\.me\/?/,"@"].reduce((n,r)=>n.replace(r,""),t),EI=({telegramLink:t})=>{if(!t)return null;const e=`https://t.me/${SI(t)}`;return{provider:G.telegram,link:{url:e},title:"Telegram",icon:Wt(G.telegram),color:"rgb(29, 152, 220)"}},_I=({twitterUsername:t})=>{if(!t)return null;const e=`https://twitter.com/${t}`;return{provider:G.twitter,link:{url:e},title:"X",icon:Wt(G.twitter),color:"rgb(0, 0, 0)"}},TI=({viberPhone:t})=>{if(!t)return null;const n=/^viber:\/\/p[au]/.test(t)?t:`viber://chat?number=%2B${Yd(t)}`;return{provider:G.viber,link:{url:n,options:{openCurrentPage:!0}},title:"Viber",icon:Wt(G.viber),withCaption:!0,color:"rgba(102, 184, 33, 1)"}},CI=({weChatAccountId:t})=>{if(!t)return null;const e=`weixin://dl/chat?${t}`;return{provider:G.wechat,link:{url:e,options:{openCurrentPage:!0}},title:"WeChat",icon:Wt(G.wechat),withCaption:!0,color:"rgb(45, 193, 0)"}},kI=/(https?:\/\/)?([\w.-]+)\.([\w.]{2,6})(([\w\-._~:/?#[\]@!$&'()*+,;=]|(%[0-9a-fA-F]{2}))*)\/?$/,AI=t=>kI.test(t)?t.startsWith("http")?t:`https://${t}`:`https://wa.me/${Yd(t)}`,LI=({whatsappPhone:t})=>{if(!t)return null;const e=t.trim();return{provider:G.whatsapp,link:{url:AI(e)},title:"WhatsApp",icon:Wt(G.whatsapp),color:"rgb(37, 211, 102)"}},gt=F_,qI=()=>{const{page:t,accountId:e,phone:n,link:r,facebookPage:o,callNumber:s,customButtonLink:i,discordAccountId:a,email:c,getDirections:l,googleMaps:u,instagramAccountId:f,kakaoTalkId:p,lineAccountId:d,rumbletalkChatId:m,sms:y,snapchatUsername:x,telegramLink:h,twitterUsername:$,viberPhone:b,weChatAccountId:S,whatsappPhone:_,saveContactFullName:k,saveContactPhoneNumber:C,channels:R}=gt();return{channels:[{[it.whatsapp]:{type:G.whatsapp,whatsappPhone:n},[it.facebook]:{type:G.facebook,facebookPage:t},[it.instagram]:{type:G.instagram,instagramAccountId:e},[it.telegram]:{type:G.telegram,telegramLink:r},[it.viber]:{type:G.viber,viberPhone:n},[it.line]:{type:G.line,lineAccountId:e},[it.discord]:{type:G.discord,discordAccountId:e},[it.all]:{}}[Te.provider]],defaultChannels:{whatsappPhone:_,facebookPage:o,instagramAccountId:f,telegramLink:h,viberPhone:b,lineAccountId:d,discordAccountId:a,callNumber:s,customButtonLink:i,email:c,getDirections:l,googleMaps:u,kakaoTalkId:p,rumbletalkChatId:m,sms:y,snapchatUsername:x,twitterUsername:$,weChatAccountId:S,saveContactFullName:k,saveContactPhoneNumber:C}}},RI={[G.whatsapp]:LI,[G.facebook]:dI,[G.instagram]:gI,[G.telegram]:EI,[G.viber]:TI,[G.line]:vI,[G.discord]:uI,[G.call]:iI,[G.custom]:aI,[G.email]:fI,[G.getdirection]:lI,[G.googlemaps]:hI,[G.kakaotalk]:mI,[G.rumbletalk]:$I,[G.sms]:wI,[G.snapchat]:xI,[G.twitter]:_I,[G.wechat]:CI,[G.savecontact]:bI},zy=T.createContext(null),DI=t=>t,Hy=(t,e)=>{for(const n in t){const r=n;if(typeof t[r]=="object"&&t[r]!==null){const o=e[r];if(!o)return t;const s=t[r];Hy(s,o)}!t[r]&&e.hasOwnProperty(r)&&(t[r]=e[r])}return t},NI=({children:t})=>{const{channels:e,defaultChannels:n}=qI(),r=T.useMemo(()=>DI(e).reduce((s,i)=>{const a=RI[i.type];if(a){const c=Hy(i,n),l=a({...n,...c});l&&s.push(l)}return s},[]),[e,n]);return q.jsx(zy.Provider,{value:r,children:t})},hi=()=>T.useContext(zy);function Kd({children:t,onActivate:e,use:n}){const[r,o]=T.useState(null),[s,i]=T.useState();return T.useEffect(()=>{if(r!==null||!n||n.length===0)return;const a=n.map(c=>{if(typeof c!="function")throw new Error("Trigger must be a function");return c(o,i)});return()=>{a.forEach(c=>{typeof c=="function"&&c()})}},[n,r]),T.useEffect(()=>{r!==null&&e(r,s)},[r,s]),typeof t=="function"?t():t}Kd.propTypes={use:Mo.arrayOf(Mo.func),children:Mo.oneOfType([Mo.func,Mo.node]),onActivate:Mo.func},Kd.defaultProps={children:null,onActivate:()=>{}};function II(t,e=300){const n=parseInt(e,10);if(typeof t!="function")throw new Error('Argument "fn" must be a function');if(Number.isNaN(n))throw new Error(`Cannot cast argument "duration" value type of "${typeof e}" to a number`);let r=null,o=null;const s=(...i)=>{r?o=i:(t(...i),r=setTimeout(()=>{r=null,o&&(s(...o),o=null)},e))};return s.cancel=()=>{clearTimeout(r),r=null},s}function Gy(t,e="timeOnPageOver"){const n=parseFloat(t);if(Number.isNaN(n))throw new Error(`Cannot cast argument "duration" value type of "${typeof t}" to a number`);return r=>{const o=Date.now();let s=setInterval(()=>{(Date.now()-o)/1e3>n&&(clearInterval(s),s=null,r(e))},100);return()=>{clearInterval(s),s=null}}}function PI(t,e="documentScrollOver",n=!0){const{documentElement:r}=document;return(o,s)=>{const i=II(()=>{const a=window.pageYOffset||r.scrollTop,c=Math.max(r.scrollHeight,r.offsetHeight)-window.innerHeight;if(n){a/c>t&&(o(e,!0),i.cancel(),window.removeEventListener("scroll",i));return}a/c>t?(o(e,!0),s(!0)):(o(e,!1),s(!1))},1e3);return window.addEventListener("scroll",i,{passive:!0}),()=>{n&&(i.cancel(),window.removeEventListener("scroll",i),o(e,!1))}}}function OI(t="exitIntent"){const{documentElement:e}=document;return n=>{const r=o=>{(o.pageY<0||o.clientY<0)&&n(t)};return e.addEventListener("mouseleave",r,{passive:!0}),()=>{e.removeEventListener("mouseleave",r)}}}const MI="timeOnPage",BI="timeOnSite",VI="scrollPosition",UI="onPageLoad",FI="exitIntent",jI=t=>e=>{const n=()=>setTimeout(()=>e(t),300);document.readyState==="complete"?n():window.addEventListener("load",n)},zI=()=>{const{editMode:t,timeOnPage:e,timeOnSite:n,scrollPosition:r,exitIntent:o,onPageLoad:s,position:i}=gt(),a=Math.floor(Date.now()/1e3),c=Br("firstVisit")||a,[l,u]=T.useState(c),[f,p,d,m,y]=T.useMemo(()=>[Number(e),Number(n),Number(r),!!o,!!s],[o,s,r,e,n]);T.useEffect(()=>{Br("rememberVisitor")<a&&sI("rememberVisitor")},[a]),T.useEffect(()=>{const h=Br("rememberVisitor"),$=Br("firstVisit");if(!p)return;(!!$&&$+p<a||!$&&!h)&&(Uc("firstVisit",a),u(a))},[a,p]);const x=T.useMemo(()=>{const h=a,$=l+p;return Math.max($-h,0)},[a,l,p]);return T.useMemo(()=>{const h=Br("rememberVisitor");return t||h||i==="embed-chat"?null:[y&&jI(UI),d>0&&PI(d/100,VI),f>0&&Gy(f,MI),p>0&&x>=0&&Gy(x,BI),m&&OI(FI)].filter(Boolean)},[t,i,y,d,f,p,x,m])},Wy=86400,HI={targetChatButton:{},setTargetChatButton:()=>{},messageShowed:!1,setMessageShowed:()=>{},openChatWindow:!1,setOpenChatWindow:()=>{},handleToggleWindow:()=>{}},Yy=T.createContext(HI),GI=({children:t})=>{const e=T.useRef(!0),{rememberVisitor:n=1,editMode:r,notifications:o}=gt(),[s,i]=T.useState(!1),[a,c]=T.useState({}),[l,u]=T.useState(!1),f=zI();T.useEffect(()=>{!r&&o.includes("tabTitle")&&s&&tI()},[r,s,o]);const p=T.useCallback(()=>u(!0),[]),d=T.useCallback(()=>{u(y=>{if(y){const x=Math.floor(Date.now()/1e3)+n*Wy;Uc("rememberVisitor",x)}return!y}),c({})},[n]);T.useEffect(()=>{if(!r||!e.current)return;const y=setTimeout(()=>{e.current=!1,u(!0)},300);return()=>clearTimeout(y)},[r,l]);const m=T.useMemo(()=>({targetChatButton:a,setTargetChatButton:c,messageShowed:s,setMessageShowed:i,openChatWindow:l,setOpenChatWindow:u,handleToggleWindow:d}),[a,s,l,d]);return q.jsx(Yy.Provider,{value:m,children:q.jsx(Kd,{use:f,onActivate:p,children:t})})},pr=()=>T.useContext(Yy),WI=({children:t})=>{const{devicesToDisplay:e,editMode:n}=gt(),r={mobile:Ud(),desktop:!Ud()};return e?.some(s=>r[s])||n?t:null},YI=({children:t})=>{const{whereToDisplayChat:e,excludedPages:n,specificPages:r,editMode:o}=gt(),s={specificPages:r,excludedPages:n,allPages:[]},i=d=>d.replace(/((http|https):\/\/)|(www\.)|(\/)$/g,"").replace(/\/$/,""),a=d=>d.replace(/[/.*+?^${}()|[\]\\]/g,m=>m==="*"?"(.+)":`\\${m}`)+"$",c=d=>{const m=i(document.location.host),y={homepage:"(\\/)?(index\\.(.*))?($|\\?)"};return d in y?`${m}${y[d]}`:a(d)},l=(d,m)=>{if(!d||!m)return!1;const y=c(m);return new RegExp(y).test(d)},u=s[e],f=i(window.location.href);return(u.find(d=>l(f,i(d.url)))?e!=="excludedPages":e==="excludedPages")||o||!u.length?t:null};var Ky={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Ae,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",c="hour",l="day",u="week",f="month",p="quarter",d="year",m="date",y="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(X){var U=["th","st","nd","rd"],B=X%100;return"["+X+(U[(B-20)%10]||U[B]||U[0])+"]"}},b=function(X,U,B){var W=String(X);return!W||W.length>=U?X:""+Array(U+1-W.length).join(B)+X},S={s:b,z:function(X){var U=-X.utcOffset(),B=Math.abs(U),W=Math.floor(B/60),L=B%60;return(U<=0?"+":"-")+b(W,2,"0")+":"+b(L,2,"0")},m:function X(U,B){if(U.date()<B.date())return-X(B,U);var W=12*(B.year()-U.year())+(B.month()-U.month()),L=U.clone().add(W,f),N=B-L<0,O=U.clone().add(W+(N?-1:1),f);return+(-(W+(B-L)/(N?L-O:O-L))||0)},a:function(X){return X<0?Math.ceil(X)||0:Math.floor(X)},p:function(X){return{M:f,y:d,w:u,d:l,D:m,h:c,m:a,s:i,ms:s,Q:p}[X]||String(X||"").toLowerCase().replace(/s$/,"")},u:function(X){return X===void 0}},_="en",k={};k[_]=$;var C="$isDayjsObject",R=function(X){return X instanceof st||!(!X||!X[C])},D=function X(U,B,W){var L;if(!U)return _;if(typeof U=="string"){var N=U.toLowerCase();k[N]&&(L=N),B&&(k[N]=B,L=N);var O=U.split("-");if(!L&&O.length>1)return X(O[0])}else{var z=U.name;k[z]=U,L=z}return!W&&L&&(_=L),L||!W&&_},I=function(X,U){if(R(X))return X.clone();var B=typeof U=="object"?U:{};return B.date=X,B.args=arguments,new st(B)},Z=S;Z.l=D,Z.i=R,Z.w=function(X,U){return I(X,{locale:U.$L,utc:U.$u,x:U.$x,$offset:U.$offset})};var st=function(){function X(B){this.$L=D(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[C]=!0}var U=X.prototype;return U.parse=function(B){this.$d=function(W){var L=W.date,N=W.utc;if(L===null)return new Date(NaN);if(Z.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var O=L.match(x);if(O){var z=O[2]-1||0,H=(O[7]||"0").substring(0,3);return N?new Date(Date.UTC(O[1],z,O[3]||1,O[4]||0,O[5]||0,O[6]||0,H)):new Date(O[1],z,O[3]||1,O[4]||0,O[5]||0,O[6]||0,H)}}return new Date(L)}(B),this.init()},U.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},U.$utils=function(){return Z},U.isValid=function(){return this.$d.toString()!==y},U.isSame=function(B,W){var L=I(B);return this.startOf(W)<=L&&L<=this.endOf(W)},U.isAfter=function(B,W){return I(B)<this.startOf(W)},U.isBefore=function(B,W){return this.endOf(W)<I(B)},U.$g=function(B,W,L){return Z.u(B)?this[W]:this.set(L,B)},U.unix=function(){return Math.floor(this.valueOf()/1e3)},U.valueOf=function(){return this.$d.getTime()},U.startOf=function(B,W){var L=this,N=!!Z.u(W)||W,O=Z.p(B),z=function(xt,St){var It=Z.w(L.$u?Date.UTC(L.$y,St,xt):new Date(L.$y,St,xt),L);return N?It:It.endOf(l)},H=function(xt,St){return Z.w(L.toDate()[xt].apply(L.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(St)),L)},J=this.$W,P=this.$M,Y=this.$D,ot="set"+(this.$u?"UTC":"");switch(O){case d:return N?z(1,0):z(31,11);case f:return N?z(1,P):z(0,P+1);case u:var ft=this.$locale().weekStart||0,mt=(J<ft?J+7:J)-ft;return z(N?Y-mt:Y+(6-mt),P);case l:case m:return H(ot+"Hours",0);case c:return H(ot+"Minutes",1);case a:return H(ot+"Seconds",2);case i:return H(ot+"Milliseconds",3);default:return this.clone()}},U.endOf=function(B){return this.startOf(B,!1)},U.$set=function(B,W){var L,N=Z.p(B),O="set"+(this.$u?"UTC":""),z=(L={},L[l]=O+"Date",L[m]=O+"Date",L[f]=O+"Month",L[d]=O+"FullYear",L[c]=O+"Hours",L[a]=O+"Minutes",L[i]=O+"Seconds",L[s]=O+"Milliseconds",L)[N],H=N===l?this.$D+(W-this.$W):W;if(N===f||N===d){var J=this.clone().set(m,1);J.$d[z](H),J.init(),this.$d=J.set(m,Math.min(this.$D,J.daysInMonth())).$d}else z&&this.$d[z](H);return this.init(),this},U.set=function(B,W){return this.clone().$set(B,W)},U.get=function(B){return this[Z.p(B)]()},U.add=function(B,W){var L,N=this;B=Number(B);var O=Z.p(W),z=function(P){var Y=I(N);return Z.w(Y.date(Y.date()+Math.round(P*B)),N)};if(O===f)return this.set(f,this.$M+B);if(O===d)return this.set(d,this.$y+B);if(O===l)return z(1);if(O===u)return z(7);var H=(L={},L[a]=r,L[c]=o,L[i]=n,L)[O]||1,J=this.$d.getTime()+B*H;return Z.w(J,this)},U.subtract=function(B,W){return this.add(-1*B,W)},U.format=function(B){var W=this,L=this.$locale();if(!this.isValid())return L.invalidDate||y;var N=B||"YYYY-MM-DDTHH:mm:ssZ",O=Z.z(this),z=this.$H,H=this.$m,J=this.$M,P=L.weekdays,Y=L.months,ot=L.meridiem,ft=function(St,It,qt,Vt){return St&&(St[It]||St(W,N))||qt[It].slice(0,Vt)},mt=function(St){return Z.s(z%12||12,St,"0")},xt=ot||function(St,It,qt){var Vt=St<12?"AM":"PM";return qt?Vt.toLowerCase():Vt};return N.replace(h,function(St,It){return It||function(qt){switch(qt){case"YY":return String(W.$y).slice(-2);case"YYYY":return Z.s(W.$y,4,"0");case"M":return J+1;case"MM":return Z.s(J+1,2,"0");case"MMM":return ft(L.monthsShort,J,Y,3);case"MMMM":return ft(Y,J);case"D":return W.$D;case"DD":return Z.s(W.$D,2,"0");case"d":return String(W.$W);case"dd":return ft(L.weekdaysMin,W.$W,P,2);case"ddd":return ft(L.weekdaysShort,W.$W,P,3);case"dddd":return P[W.$W];case"H":return String(z);case"HH":return Z.s(z,2,"0");case"h":return mt(1);case"hh":return mt(2);case"a":return xt(z,H,!0);case"A":return xt(z,H,!1);case"m":return String(H);case"mm":return Z.s(H,2,"0");case"s":return String(W.$s);case"ss":return Z.s(W.$s,2,"0");case"SSS":return Z.s(W.$ms,3,"0");case"Z":return O}return null}(St)||O.replace(":","")})},U.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},U.diff=function(B,W,L){var N,O=this,z=Z.p(W),H=I(B),J=(H.utcOffset()-this.utcOffset())*r,P=this-H,Y=function(){return Z.m(O,H)};switch(z){case d:N=Y()/12;break;case f:N=Y();break;case p:N=Y()/3;break;case u:N=(P-J)/6048e5;break;case l:N=(P-J)/864e5;break;case c:N=P/o;break;case a:N=P/r;break;case i:N=P/n;break;default:N=P}return L?N:Z.a(N)},U.daysInMonth=function(){return this.endOf(f).$D},U.$locale=function(){return k[this.$L]},U.locale=function(B,W){if(!B)return this.$L;var L=this.clone(),N=D(B,W,!0);return N&&(L.$L=N),L},U.clone=function(){return Z.w(this.$d,this)},U.toDate=function(){return new Date(this.valueOf())},U.toJSON=function(){return this.isValid()?this.toISOString():null},U.toISOString=function(){return this.$d.toISOString()},U.toString=function(){return this.$d.toUTCString()},X}(),ct=st.prototype;return I.prototype=ct,[["$ms",s],["$s",i],["$m",a],["$H",c],["$W",l],["$M",f],["$y",d],["$D",m]].forEach(function(X){ct[X[1]]=function(U){return this.$g(U,X[0],X[1])}}),I.extend=function(X,U){return X.$i||(X(U,st,I),X.$i=!0),I},I.locale=D,I.isDayjs=R,I.unix=function(X){return I(1e3*X)},I.en=k[_],I.Ls=k,I.p={},I})})(Ky);var KI=Ky.exports;const gi=ln(KI);var Zy={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Ae,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(o,s,i){var a,c=function(p,d,m){m===void 0&&(m={});var y=new Date(p),x=function(h,$){$===void 0&&($={});var b=$.timeZoneName||"short",S=h+"|"+b,_=r[S];return _||(_=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:h,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:b}),r[S]=_),_}(d,m);return x.formatToParts(y)},l=function(p,d){for(var m=c(p,d),y=[],x=0;x<m.length;x+=1){var h=m[x],$=h.type,b=h.value,S=n[$];S>=0&&(y[S]=parseInt(b,10))}var _=y[3],k=_===24?0:_,C=y[0]+"-"+y[1]+"-"+y[2]+" "+k+":"+y[4]+":"+y[5]+":000",R=+p;return(i.utc(C).valueOf()-(R-=R%1e3))/6e4},u=s.prototype;u.tz=function(p,d){p===void 0&&(p=a);var m,y=this.utcOffset(),x=this.toDate(),h=x.toLocaleString("en-US",{timeZone:p}),$=Math.round((x-new Date(h))/1e3/60),b=15*-Math.round(x.getTimezoneOffset()/15)-$;if(!Number(b))m=this.utcOffset(0,d);else if(m=i(h,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(b,!0),d){var S=m.utcOffset();m=m.add(y-S,"minute")}return m.$x.$timezone=p,m},u.offsetName=function(p){var d=this.$x.$timezone||i.tz.guess(),m=c(this.valueOf(),d,{timeZoneName:p}).find(function(y){return y.type.toLowerCase()==="timezonename"});return m&&m.value};var f=u.startOf;u.startOf=function(p,d){if(!this.$x||!this.$x.$timezone)return f.call(this,p,d);var m=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,p,d).tz(this.$x.$timezone,!0)},i.tz=function(p,d,m){var y=m&&d,x=m||d||a,h=l(+i(),x);if(typeof p!="string")return i(p).tz(x);var $=function(k,C,R){var D=k-60*C*1e3,I=l(D,R);if(C===I)return[D,C];var Z=l(D-=60*(I-C)*1e3,R);return I===Z?[D,I]:[k-60*Math.min(I,Z)*1e3,Math.max(I,Z)]}(i.utc(p,y).valueOf(),h,x),b=$[0],S=$[1],_=i(b).utcOffset(S);return _.$x.$timezone=x,_},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(p){a=p}}})})(Zy);var ZI=Zy.exports;const QI=ln(ZI);var Qy={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Ae,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(s,i,a){var c=i.prototype;a.utc=function(y){var x={date:y,utc:!0,args:arguments};return new i(x)},c.utc=function(y){var x=a(this.toDate(),{locale:this.$L,utc:!0});return y?x.add(this.utcOffset(),n):x},c.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var l=c.parse;c.parse=function(y){y.utc&&(this.$u=!0),this.$utils().u(y.$offset)||(this.$offset=y.$offset),l.call(this,y)};var u=c.init;c.init=function(){if(this.$u){var y=this.$d;this.$y=y.getUTCFullYear(),this.$M=y.getUTCMonth(),this.$D=y.getUTCDate(),this.$W=y.getUTCDay(),this.$H=y.getUTCHours(),this.$m=y.getUTCMinutes(),this.$s=y.getUTCSeconds(),this.$ms=y.getUTCMilliseconds()}else u.call(this)};var f=c.utcOffset;c.utcOffset=function(y,x){var h=this.$utils().u;if(h(y))return this.$u?0:h(this.$offset)?f.call(this):this.$offset;if(typeof y=="string"&&(y=function(_){_===void 0&&(_="");var k=_.match(r);if(!k)return null;var C=(""+k[0]).match(o)||["-",0,0],R=C[0],D=60*+C[1]+ +C[2];return D===0?0:R==="+"?D:-D}(y),y===null))return this;var $=Math.abs(y)<=16?60*y:y,b=this;if(x)return b.$offset=$,b.$u=y===0,b;if(y!==0){var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(b=this.local().add($+S,n)).$offset=$,b.$x.$localOffset=S}else b=this.utc();return b};var p=c.format;c.format=function(y){var x=y||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,x)},c.valueOf=function(){var y=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*y},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var d=c.toDate;c.toDate=function(y){return y==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var m=c.diff;c.diff=function(y,x,h){if(y&&this.$u===y.$u)return m.call(this,y,x,h);var $=this.local(),b=a(y).local();return m.call($,b,x,h)}}})})(Qy);var XI=Qy.exports;const JI=ln(XI);gi.extend(JI),gi.extend(QI);const Xy=t=>{let e=["0","0"];return t?(typeof t=="string"&&(e=t.split(":")),typeof t=="object"&&(e=t.time.split(":")),e.map(n=>Number(n))):e},Fc=(t,{h:e=0,m:n=0,s:r=0,ms:o=0})=>t.clone().set("h",Number(e)).set("m",Number(n)).set("s",Number(r)).set("ms",Number(o)).valueOf(),t3=({children:t})=>{const{displayDays:e,timeSchedule:n,displayStartTime:r,displayEndTime:o,timeZone:s,editMode:i}=gt();let a=e?.includes(gi().day());if(n){const[c,l]=Xy(r),[u,f]=Xy(o),p=u<c||u===c&&f<=l,d=s||gi.tz.guess(),m=gi().tz(d),y=m.day(),x=m.valueOf(),h=Fc(m,{h:c,m:l}),$=Fc(m,{h:u,m:f}),b=Fc(m,{h:0,m:0}),S=Fc(m,{h:23,m:59,s:59,ms:999});if(p){const _=(y+6)%7;a=e?.includes(y)&&x>=h&&x<=S||e?.includes(_)&&x>=b&&x<=$}else a=e?.includes(y)&&x>=h&&x<=$}return i||a?t:null},e3=({children:t})=>{const{showChatTo:e,editMode:n}=gt(),r=new Date,o=Br("newUserTime"),s=new Date(o).getTime()/1e3+Wy>r.getTime()/1e3,i=e==="newVisitors"&&!s||e==="returningVisitors"&&s||e==="allVisitors"||!e;return window.addEventListener("beforeunload",()=>{!o&&!n&&Uc("newUserTime",r)}),n||i?t:null},Jy=76,tb=50,eb=20,jc=(t,e)=>({verticalOffset:t,horizontalOffset:e}),Zd=()=>{const{position:t,floatingVerticalOffset:e,floatingHorizontalOffset:n,renderThumbnailMode:r}=gt();return r&&t==="embed-chat"?jc(tb,tb):t==="floating"?jc(r?Jy:e,r?Jy:n):t==="embed-bubble"?jc(eb,eb):jc(0,0)},n3=({text:t})=>{const{notificationBadgeColor:e,notifications:n,font:r}=gt(),o=n.includes("bubbleBadge");return q.jsxs(q.Fragment,{children:[q.jsx(r3,{_showBadge:o,_badgeColor:e}),q.jsx(o3,{_font:r?.value,children:t})]})},r3=Q.div.withConfig({displayName:"BubbleContent__NotificationBadge",componentId:"sc-57eff-0"})(["width:10px;height:10px;background-color:",";display:"," !important;position:absolute;z-index:1;border-radius:50%;right:4px;top:4px;"],({_badgeColor:t})=>t,({_showBadge:t})=>t?"block":"none"),o3=Q.span.withConfig({displayName:"BubbleContent__BubbleContentText",componentId:"sc-57eff-1"})(["",""],({_font:t})=>t&&` font-family: ${t}; `),s3=64,nb=2e3,i3=({portalContainerElement:t})=>{const[e,n]=T.useState(!1),{bubbleBackgroundColor:r,bubbleIconColor:o,bubbleText:s,bubbleIcon:i,position:a,bubbleAnimationEnabled:c,bubbleAnimationInterval:l,align:u,renderThumbnailMode:f}=gt(),p=T.useRef(null),{verticalOffset:d,horizontalOffset:m}=Zd(),y=Fy,{openChatWindow:x,handleToggleWindow:h}=pr(),b=X0(!0)-2*m,S=Math.max(s3,b),_=T.useCallback(()=>{p.current&&clearInterval(p.current)},[]),k=T.useCallback(()=>{n(!0),setTimeout(()=>{n(!1)},nb)},[]);T.useEffect(()=>{if(!c||x){n(!1),_();return}return c&&!l?k():p.current=setInterval(()=>{k()},l*1e3+nb),()=>{_()}},[x,c,l,_,k]);const C={right:"bottom-right",center:"bottom",left:"bottom-left"}[u],R=r==="rgb(255, 255, 255)"?o:r,D={role:"button",tabIndex:0,color:r,borderRadius:100,borderWidth:0,fontColor:o,font:{fontSize:s?16:28,fontWeight:"bold"},horizontalPadding:s?25:16,verticalPadding:s?10:16,iconOnly:!s,iconLeft:i||XN(),style:{maxWidth:S,padding:0},onClick:h};return a==="floating"&&(D.position={position:C,verticalOffset:d||1,horizontalOffset:m||1},D.withShadow=!1,D.containerStyle={maxWidth:S},D.portalContainerElement=t),q.jsx(u3,{...D,bubbleType:a,_showBubble:x,_animate:e,_animateColor:R,_slideAnimation:y,_thumbnailMode:f,children:q.jsx(n3,{text:s})})},a3=(t,e,n)=>t&&` transform: ${e?"translateY(150%)":"translateY(0)"}; opacity: ${e?0:1}; transition: ${n?"none":"opacity 0.2s, transform 0.3s"}; `,c3=t=>t&&` ::before, ::after { animation: es-chats-pulse 1s linear infinite; } ::after { animation-delay: 0.5s; } @keyframes es-chats-pulse { 0% { transform: scale(1); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } } `,l3=({_animateColor:t="#fff",_slideAnimation:e,_showBubble:n,_animate:r,_thumbnailMode:o})=>` position: relative; ::before, ::after { content: ''; position: absolute; border: 1px solid ${t}; left: -2px; right: -2px; top: -2px; bottom: -2px; border-radius: 500px; opacity: 0; z-index: 0; } ${a3(e,n,o)||""} ${c3(r)||""} `,u3=Q(({bubbleType:t,...e})=>t==="floating"?q.jsx(zD,{...e}):q.jsx(Mc,{...e})).withConfig({displayName:"Bubble__BubbleComponent",componentId:"sc-45ukei-0"})(["box-shadow:",";"," html[dir='rtl'] && span > div{margin-left:",";margin-right:",";}"],({_thumbnailMode:t})=>t?"0 6px 30px 0 rgba(0, 0, 0, 0.1)":"0 3px 12px 0 rgba(0, 0, 0, 0.15)",l3,({iconOnly:t})=>!t&&"8px",({iconOnly:t})=>!t&&"-4px");var Qd={exports:{}},rb={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},f3=d3;function d3(t){if(t>=55296&&t<=57343||t>1114111)return"�";t in rb&&(t=rb[t]);var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e}const p3={Aacute:"Ã",aacute:"á",Abreve:"Ä‚",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"Ð",acy:"а",AElig:"Æ",aelig:"æ",af:"â¡",Afr:"ð”„",afr:"ð”ž",Agrave:"À",agrave:"à ",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ä€",amacr:"Ä",amalg:"⨿",amp:"&",AMP:"&",andand:"â©•",And:"â©“",and:"∧",andd:"â©œ",andslope:"⩘",andv:"â©š",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"â¦",angsph:"∢",angst:"Ã…",angzarr:"â¼",Aogon:"Ä„",aogon:"Ä…",Aopf:"ð”¸",aopf:"ð•’",apacir:"⩯",ap:"≈",apE:"â©°",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"â¡",approx:"≈",approxeq:"≊",Aring:"Ã…",aring:"Ã¥",Ascr:"ð’œ",ascr:"ð’¶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"â‰",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"â‹",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Î’",beta:"β",beth:"ℶ",between:"≬",Bfr:"ð”…",bfr:"ð”Ÿ",bigcap:"â‹‚",bigcirc:"â—¯",bigcup:"⋃",bigodot:"⨀",bigoplus:"â¨",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"â–½",bigtriangleup:"â–³",biguplus:"⨄",bigvee:"â‹",bigwedge:"â‹€",bkarow:"â¤",blacklozenge:"⧫",blacksquare:"â–ª",blacktriangle:"â–´",blacktriangledown:"â–¾",blacktriangleleft:"â—‚",blacktriangleright:"â–¸",blank:"â£",blk12:"â–’",blk14:"â–‘",blk34:"â–“",block:"â–ˆ",bne:"=⃥",bnequiv:"≡⃥",bNot:"â«",bnot:"âŒ",Bopf:"ð”¹",bopf:"ð•“",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"â”",boxdL:"â••",boxDl:"â•–",boxDL:"â•—",boxdr:"┌",boxdR:"â•’",boxDr:"â•“",boxDR:"â•”",boxh:"─",boxH:"â•",boxhd:"┬",boxHd:"╤",boxhD:"â•¥",boxHD:"╦",boxhu:"â”´",boxHu:"╧",boxhU:"╨",boxHU:"â•©",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"â•›",boxUl:"â•œ",boxUL:"â•",boxur:"â””",boxuR:"╘",boxUr:"â•™",boxUR:"â•š",boxv:"│",boxV:"â•‘",boxvh:"┼",boxvH:"╪",boxVh:"â•«",boxVH:"╬",boxvl:"┤",boxvL:"â•¡",boxVl:"â•¢",boxVL:"â•£",boxvr:"├",boxvR:"â•ž",boxVr:"â•Ÿ",boxVR:"â• ",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"ð’·",Bscr:"ℬ",bsemi:"â",bsim:"∽",bsime:"â‹",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"â‰",Bumpeq:"≎",bumpeq:"â‰",Cacute:"Ć",cacute:"ć",capand:"â©„",capbrcup:"⩉",capcap:"â©‹",cap:"∩",Cap:"â‹’",capcup:"⩇",capdot:"â©€",CapitalDifferentialD:"â……",caps:"∩︀",caret:"â",caron:"ˇ",Cayleys:"â„",ccaps:"â©",Ccaron:"ÄŒ",ccaron:"Ä",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"â©Œ",ccupssm:"â©",Cdot:"ÄŠ",cdot:"Ä‹",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"ð” ",Cfr:"â„",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"âŠ",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"â—‹",cirE:"⧃",cire:"≗",cirfnint:"â¨",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"â€",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"â©´",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"âˆ",compfn:"∘",complement:"âˆ",complexes:"â„‚",cong:"≅",congdot:"â©",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"ð•”",Copf:"â„‚",coprod:"âˆ",Coproduct:"âˆ",copy:"©",COPY:"©",copysr:"â„—",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"ð’ž",cscr:"ð’¸",csub:"â«",csube:"â«‘",csup:"â«",csupe:"â«’",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â‹ž",cuesc:"â‹Ÿ",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"â‰",cup:"∪",Cup:"â‹“",cupcup:"â©Š",cupdot:"âŠ",cupor:"â©…",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"â‹ž",curlyeqsucc:"â‹Ÿ",curlyvee:"â‹Ž",curlywedge:"â‹",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"â‹Ž",cuwed:"â‹",cwconint:"∲",cwint:"∱",cylcty:"âŒ",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"â€",Dashv:"⫤",dashv:"⊣",dbkarow:"â¤",dblac:"Ë",Dcaron:"ÄŽ",dcaron:"Ä",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"â……",dd:"â…†",DDotrahd:"⤑",ddotseq:"â©·",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"ð”‡",dfr:"ð”¡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"Ë™",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ëœ",diam:"â‹„",diamond:"â‹„",Diamond:"â‹„",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"â…†",digamma:"Ï",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"Ñ’",dlcorn:"⌞",dlcrop:"âŒ",dollar:"$",Dopf:"ð”»",dopf:"ð••",Dot:"¨",dot:"Ë™",DotDot:"⃜",doteq:"â‰",doteqdot:"≑",DotEqual:"â‰",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"â‡",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"Ì‘",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"â¥",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"â‡",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"â¤",drcorn:"⌟",drcrop:"⌌",Dscr:"ð’Ÿ",dscr:"ð’¹",DScy:"Ð…",dscy:"Ñ•",dsol:"⧶",Dstrok:"Ä",dstrok:"Ä‘",dtdot:"⋱",dtri:"â–¿",dtrif:"â–¾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"ÑŸ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"â©®",Ecaron:"Äš",ecaron:"Ä›",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä–",edot:"Ä—",eDot:"≑",ee:"â…‡",efDot:"≒",Efr:"ð”ˆ",efr:"ð”¢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"â§",ell:"â„“",els:"⪕",elsdot:"⪗",Emacr:"Ä’",emacr:"Ä“",empty:"∅",emptyset:"∅",EmptySmallSquare:"â—»",emptyv:"∅",EmptyVerySmallSquare:"â–«",emsp13:" ",emsp14:" ",emsp:" ",ENG:"ÅŠ",eng:"Å‹",ensp:" ",Eogon:"Ę",eogon:"Ä™",Eopf:"ð”¼",eopf:"ð•–",epar:"â‹•",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"â„°",esdot:"â‰",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ã",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"â„°",exponentiale:"â…‡",ExponentialE:"â…‡",fallingdotseq:"≒",Fcy:"Ф",fcy:"Ñ„",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"ð”‰",ffr:"ð”£",filig:"ï¬",FilledSmallSquare:"â—¼",FilledVerySmallSquare:"â–ª",fjlig:"fj",flat:"â™",fllig:"fl",fltns:"â–±",fnof:"Æ’",Fopf:"ð”½",fopf:"ð•—",forall:"∀",ForAll:"∀",fork:"â‹”",forkv:"â«™",Fouriertrf:"ℱ",fpartint:"â¨",frac12:"½",frac13:"â…“",frac14:"¼",frac15:"â…•",frac16:"â…™",frac18:"â…›",frac23:"â…”",frac25:"â…–",frac34:"¾",frac35:"â…—",frac38:"â…œ",frac45:"â…˜",frac56:"â…š",frac58:"â…",frac78:"â…ž",frasl:"â„",frown:"⌢",fscr:"ð’»",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ïœ",gammad:"Ï",gap:"⪆",Gbreve:"Äž",gbreve:"ÄŸ",Gcedil:"Ä¢",Gcirc:"Äœ",gcirc:"Ä",Gcy:"Г",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",ge:"≥",gE:"≧",gEl:"⪌",gel:"â‹›",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"ð”Š",gfr:"ð”¤",gg:"≫",Gg:"â‹™",ggg:"â‹™",gimel:"â„·",GJcy:"Ѓ",gjcy:"Ñ“",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"ð”¾",gopf:"ð•˜",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"â‹›",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"ð’¢",gscr:"â„Š",gsim:"≳",gsime:"⪎",gsiml:"âª",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"â‹—",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"â‹—",gtreqless:"â‹›",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"â„‹",HARDcy:"Ъ",hardcy:"ÑŠ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"â†",Hat:"^",hbar:"â„",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"ð”¥",Hfr:"â„Œ",HilbertSpace:"â„‹",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"ð•™",Hopf:"â„",horbar:"―",HorizontalLine:"─",hscr:"ð’½",Hscr:"â„‹",hslash:"â„",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"â‰",hybull:"âƒ",hyphen:"â€",Iacute:"Ã",iacute:"Ã",ic:"â£",Icirc:"ÃŽ",icirc:"î",Icy:"И",icy:"и",Idot:"Ä°",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"ð”¦",Ifr:"â„‘",Igrave:"ÃŒ",igrave:"ì",ii:"â…ˆ",iiiint:"⨌",iiint:"âˆ",iinfin:"⧜",iiota:"â„©",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"Ä«",image:"â„‘",ImaginaryI:"â…ˆ",imagline:"â„",imagpart:"â„‘",imath:"ı",Im:"â„‘",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"â„…",in:"∈",infin:"∞",infintie:"â§",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"â‹‚",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",IOcy:"Ð",iocy:"Ñ‘",Iogon:"Ä®",iogon:"į",Iopf:"ð•€",iopf:"ð•š",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"ð’¾",Iscr:"â„",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"â‹´",isinsv:"⋳",isinv:"∈",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"І",iukcy:"Ñ–",Iuml:"Ã",iuml:"ï",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"ð”",jfr:"ð”§",jmath:"È·",Jopf:"ð•",jopf:"ð•›",Jscr:"ð’¥",jscr:"ð’¿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"Ñ”",Kappa:"Κ",kappa:"κ",kappav:"Ï°",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"К",kcy:"к",Kfr:"ð”Ž",kfr:"ð”¨",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ…",KJcy:"ÐŒ",kjcy:"Ñœ",Kopf:"ð•‚",kopf:"ð•œ",Kscr:"ð’¦",kscr:"ð“€",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â„’",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"â„’",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"â†",Larr:"↞",lArr:"â‡",larrfs:"â¤",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"âª",lates:"âªï¸€",lbarr:"⤌",lBarr:"⤎",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"â¦",lbrkslu:"â¦",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ä»",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"â†",LeftArrow:"â†",Leftarrow:"â‡",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"â†",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"â‹‹",LeftTriangleBar:"â§",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"â‹š",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"â©¿",lesdoto:"âª",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"â‹–",lesseqgtr:"â‹š",lesseqqgtr:"⪋",LessEqualGreater:"â‹š",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"ð”",lfr:"ð”©",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"â–„",LJcy:"Љ",ljcy:"Ñ™",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"â—º",Lmidot:"Ä¿",lmidot:"Å€",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"ð•ƒ",lopf:"ð•",loplus:"â¨",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"â—Š",lozenge:"â—Š",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"â¥",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"ð“",Lscr:"â„’",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Å",lstrok:"Å‚",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"â‹–",lthree:"â‹‹",ltimes:"⋉",ltlarr:"⥶",ltquest:"â©»",ltri:"â—ƒ",ltrie:"⊴",ltrif:"â—‚",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"â–®",mcomma:"⨩",Mcy:"Ðœ",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"âŸ",Mellintrf:"ℳ",Mfr:"ð”",mfr:"ð”ª",mho:"℧",micro:"µ",midast:"*",midcir:"â«°",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"â«›",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"ð•„",mopf:"ð•ž",mp:"∓",mscr:"ð“‚",Mscr:"ℳ",mstpos:"∾",Mu:"Îœ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"Å„",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"â™®",naturals:"â„•",natur:"â™®",nbsp:" ",nbump:"≎̸",nbumpe:"â‰Ì¸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Å…",ncedil:"ņ",ncong:"≇",ncongdot:"â©Ì¸",ncup:"â©‚",Ncy:"Ð",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"â‰Ì¸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` `,nexist:"∄",nexists:"∄",Nfr:"ð”‘",nfr:"ð”«",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"Ñš",nlarr:"↚",nlArr:"â‡",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"â‡",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"â ",NonBreakingSpace:" ",nopf:"ð•Ÿ",Nopf:"â„•",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"â‰",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"â‰Ì¸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"â‹·",notinvc:"⋶",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â‹ ",NotReverseElement:"∌",NotRightTriangleBar:"â§Ì¸",NotRightTriangle:"â‹«",NotRightTriangleEqual:"â‹",NotSquareSubset:"âŠÌ¸",NotSquareSubsetEqual:"â‹¢",NotSquareSuperset:"âŠÌ¸",NotSquareSupersetEqual:"â‹£",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"âŠ",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â‹¡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"â‰",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"â‹ ",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"â‡",nrarrw:"â†Ì¸",nrightarrow:"↛",nRightarrow:"â‡",nrtri:"â‹«",nrtrie:"â‹",nsc:"âŠ",nsccue:"â‹¡",nsce:"⪰̸",Nscr:"ð’©",nscr:"ð“ƒ",nshortmid:"∤",nshortparallel:"∦",nsim:"â‰",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"â‹¢",nsqsupe:"â‹£",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"âŠ",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"â‹«",ntrianglerighteq:"â‹",Nu:"Î",nu:"ν",num:"#",numero:"â„–",numsp:" ",nvap:"â‰âƒ’",nvdash:"⊬",nvDash:"âŠ",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"âŠ",Odblac:"Å",odblac:"Å‘",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Å’",oelig:"Å“",ofcir:"⦿",Ofr:"ð”’",ofr:"ð”¬",ogon:"Ë›",Ograve:"Ã’",ograve:"ò",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"ÅŒ",omacr:"Å",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"ð•†",oopf:"ð• ",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"â©”",or:"∨",ord:"â©",order:"â„´",orderof:"â„´",ordf:"ª",ordm:"º",origof:"⊶",oror:"â©–",orslope:"â©—",orv:"â©›",oS:"Ⓢ",Oscr:"ð’ª",oscr:"â„´",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"âž",OverBracket:"⎴",OverParenthesis:"âœ",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"ð”“",pfr:"ð”",Phi:"Φ",phi:"φ",phiv:"Ï•",phmmat:"ℳ",phone:"☎",Pi:"Î ",pi:"Ï€",pitchfork:"â‹”",piv:"Ï–",planck:"â„",planckh:"â„Ž",plankv:"â„",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"â„Œ",pointint:"⨕",popf:"ð•¡",Popf:"â„™",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"â„™",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"âˆ",Product:"âˆ",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"âˆ",Proportional:"âˆ",Proportion:"∷",propto:"âˆ",prsim:"≾",prurel:"⊰",Pscr:"ð’«",pscr:"ð“…",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"ð””",qfr:"ð”®",qint:"⨌",qopf:"ð•¢",Qopf:"â„š",qprime:"â—",Qscr:"ð’¬",qscr:"ð“†",quaternions:"â„",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Å”",racute:"Å•",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"â†",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"â„š",rbarr:"â¤",rBarr:"â¤",RBarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"â¦",Rcaron:"Ř",rcaron:"Å™",Rcedil:"Å–",rcedil:"Å—",rceil:"⌉",rcub:"}",Rcy:"Ð ",rcy:"Ñ€",rdca:"⤷",rdldhar:"⥩",rdquo:"â€",rdquor:"â€",rdsh:"↳",real:"â„œ",realine:"â„›",realpart:"â„œ",reals:"â„",Re:"â„œ",rect:"â–",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"ð”¯",Rfr:"â„œ",rHar:"⥤",rhard:"â‡",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"â¥",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"â‡",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"â†",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"â‹Œ",RightTriangleBar:"â§",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"â¥",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"Ëš",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"â€",rmoustache:"⎱",rmoust:"⎱",rnmid:"â«®",roang:"âŸ",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"ð•£",Ropf:"â„",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"ð“‡",Rscr:"â„›",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"â‹Œ",rtimes:"â‹Š",rtri:"â–¹",rtrie:"⊵",rtrif:"â–¸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"â„ž",Sacute:"Åš",sacute:"Å›",sbquo:"‚",scap:"⪸",Scaron:"Å ",scaron:"Å¡",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Åž",scedil:"ÅŸ",Scirc:"Åœ",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â‹©",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"Ñ",sdotb:"⊡",sdot:"â‹…",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"ð”–",sfr:"ð”°",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"â†",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"Â",Sigma:"Σ",sigma:"σ",sigmaf:"Ï‚",sigmav:"Ï‚",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"âª",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"â†",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ÑŒ",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"ð•Š",sopf:"ð•¤",spades:"â™ ",spadesuit:"â™ ",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"âŠ",sqsube:"⊑",sqsubset:"âŠ",sqsubseteq:"⊑",sqsup:"âŠ",sqsupe:"⊒",sqsupset:"âŠ",sqsupseteq:"⊒",square:"â–¡",Square:"â–¡",SquareIntersection:"⊓",SquareSubset:"âŠ",SquareSubsetEqual:"⊑",SquareSuperset:"âŠ",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"â–ª",squ:"â–¡",squf:"â–ª",srarr:"→",Sscr:"ð’®",sscr:"ð“ˆ",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"Ï•",strns:"¯",sub:"⊂",Sub:"â‹",subdot:"⪽",subE:"â«…",sube:"⊆",subedot:"⫃",submult:"â«",subnE:"â«‹",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"â‹",subseteq:"⊆",subseteqq:"â«…",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"â«‹",subsim:"⫇",subsub:"â«•",subsup:"â«“",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â‹©",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"â‹‘",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"â«„",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"â«—",suplarr:"⥻",supmult:"â«‚",supnE:"â«Œ",supne:"⊋",supplus:"â«€",supset:"⊃",Supset:"â‹‘",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"â«Œ",supsim:"⫈",supsub:"â«”",supsup:"â«–",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"Ï„",tbrk:"⎴",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ‚",tdot:"⃛",telrec:"⌕",Tfr:"ð”—",tfr:"ð”±",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"Ï‘",thetav:"Ï‘",thickapprox:"≈",thicksim:"∼",ThickSpace:"âŸâ€Š",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"Ëœ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"âˆ",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"ð•‹",topf:"ð•¥",topfork:"â«š",tosa:"⤩",tprime:"‴",trade:"â„¢",TRADE:"â„¢",triangle:"â–µ",triangledown:"â–¿",triangleleft:"â—ƒ",trianglelefteq:"⊴",triangleq:"≜",triangleright:"â–¹",trianglerighteq:"⊵",tridot:"â—¬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"ð’¯",tscr:"ð“‰",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"Ñ›",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"ÐŽ",ubrcy:"Ñž",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Å°",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"ð”˜",ufr:"ð”²",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"â–€",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"âŒ",ultri:"â—¸",Umacr:"Ū",umacr:"Å«",uml:"¨",UnderBar:"_",UnderBrace:"âŸ",UnderBracket:"⎵",UnderParenthesis:"â",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"ð•Œ",uopf:"ð•¦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"Ï…",Upsi:"Ï’",upsih:"Ï’",Upsilon:"Î¥",upsilon:"Ï…",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"âŒ",urcorner:"âŒ",urcrop:"⌎",Uring:"Å®",uring:"ů",urtri:"â—¹",Uscr:"ð’°",uscr:"ð“Š",utdot:"â‹°",Utilde:"Ũ",utilde:"Å©",utri:"â–µ",utrif:"â–´",uuarr:"⇈",Uuml:"Ãœ",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"Ï°",varnothing:"∅",varphi:"Ï•",varpi:"Ï–",varpropto:"âˆ",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"Ï‚",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"Ï‘",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"â««",vBarv:"â«©",Vcy:"Ð’",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"â‹",veeeq:"≚",vellip:"â‹®",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"â˜",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"ð”™",vfr:"ð”³",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"ð•",vopf:"ð•§",vprop:"âˆ",vrtri:"⊳",Vscr:"ð’±",vscr:"ð“‹",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©Ÿ",wedge:"∧",Wedge:"â‹€",wedgeq:"≙",weierp:"℘",Wfr:"ð”š",wfr:"ð”´",Wopf:"ð•Ž",wopf:"ð•¨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"ð’²",wscr:"ð“Œ",xcap:"â‹‚",xcirc:"â—¯",xcup:"⋃",xdtri:"â–½",Xfr:"ð”›",xfr:"ð”µ",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"â‹»",xodot:"⨀",Xopf:"ð•",xopf:"ð•©",xoplus:"â¨",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"ð’³",xscr:"ð“",xsqcup:"⨆",xuplus:"⨄",xutri:"â–³",xvee:"â‹",xwedge:"â‹€",Yacute:"Ã",yacute:"ý",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ‹",yen:"Â¥",Yfr:"ð”œ",yfr:"ð”¶",YIcy:"Ї",yicy:"Ñ—",Yopf:"ð•",yopf:"ð•ª",Yscr:"ð’´",yscr:"ð“Ž",YUcy:"Ю",yucy:"ÑŽ",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"ð”·",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"â‡",zopf:"ð•«",Zopf:"ℤ",Zscr:"ð’µ",zscr:"ð“",zwj:"â€",zwnj:"‌"},h3={Aacute:"Ã",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à ",amp:"&",AMP:"&",Aring:"Ã…",aring:"Ã¥",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ã",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Ã",iacute:"Ã",Icirc:"ÃŽ",icirc:"î",iexcl:"¡",Igrave:"ÃŒ",igrave:"ì",iquest:"¿",Iuml:"Ã",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ã’",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"Â",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ãœ",uuml:"ü",Yacute:"Ã",yacute:"ý",yen:"Â¥",yuml:"ÿ"},g3={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};var ob=K,m3=f3,v3=p3,sb=h3,$3=g3,nt=0,_t=nt++,ib=nt++,Vr=nt++,ab=nt++,cb=nt++,mi=nt++,lb=nt++,hr=nt++,zc=nt++,Xd=nt++,Jd=nt++,tp=nt++,ep=nt++,np=nt++,ub=nt++,Pn=nt++,fb=nt++,db=nt++,vi=nt++,rp=nt++,op=nt++,pb=nt++,hb=nt++,gb=nt++,mb=nt++,vb=nt++,$b=nt++,$i=nt++,sp=nt++,ip=nt++,yb=nt++,bb=nt++,wb=nt++,xb=nt++,Sb=nt++,Eb=nt++,_b=nt++,Tb=nt++,Cb=nt++,kb=nt++,Ab=nt++,Lb=nt++,qb=nt++,Rb=nt++,Db=nt++,Nb=nt++,Ib=nt++,Pb=nt++,Ob=nt++,Mb=nt++,yi=nt++,Bb=nt++,ap=nt++,cp=nt++,lp=nt++,up=0,Bo=up++,Vb=up++,Ub=up++;function Ce(t){return t===" "||t===` `||t===" "||t==="\f"||t==="\r"}function ke(t,e,n){var r=t.toLowerCase();return t===r?function(o){o===r?this._state=e:(this._state=n,this._index--)}:function(o){o===r||o===t?this._state=e:(this._state=n,this._index--)}}function Ur(t,e){var n=t.toLowerCase();return function(r){r===n||r===t?this._state=e:(this._state=Vr,this._index--)}}function K(t,e){this._state=_t,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=_t,this._special=Bo,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!!(t&&t.xmlMode),this._decodeEntities=!!(t&&t.decodeEntities)}K.prototype._stateText=function(t){t==="<"?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=ib,this._sectionStart=this._index):this._decodeEntities&&this._special===Bo&&t==="&"&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=_t,this._state=yi,this._sectionStart=this._index)},K.prototype._stateBeforeTagName=function(t){t==="/"?this._state=cb:t==="<"?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):t===">"||this._special!==Bo||Ce(t)?this._state=_t:t==="!"?(this._state=ub,this._sectionStart=this._index+1):t==="?"?(this._state=fb,this._sectionStart=this._index+1):(this._state=!this._xmlMode&&(t==="s"||t==="S")?yb:Vr,this._sectionStart=this._index)},K.prototype._stateInTagName=function(t){(t==="/"||t===">"||Ce(t))&&(this._emitToken("onopentagname"),this._state=hr,this._index--)},K.prototype._stateBeforeCloseingTagName=function(t){Ce(t)||(t===">"?this._state=_t:this._special!==Bo?t==="s"||t==="S"?this._state=bb:(this._state=_t,this._index--):(this._state=mi,this._sectionStart=this._index))},K.prototype._stateInCloseingTagName=function(t){(t===">"||Ce(t))&&(this._emitToken("onclosetag"),this._state=lb,this._index--)},K.prototype._stateAfterCloseingTagName=function(t){t===">"&&(this._state=_t,this._sectionStart=this._index+1)},K.prototype._stateBeforeAttributeName=function(t){t===">"?(this._cbs.onopentagend(),this._state=_t,this._sectionStart=this._index+1):t==="/"?this._state=ab:Ce(t)||(this._state=zc,this._sectionStart=this._index)},K.prototype._stateInSelfClosingTag=function(t){t===">"?(this._cbs.onselfclosingtag(),this._state=_t,this._sectionStart=this._index+1):Ce(t)||(this._state=hr,this._index--)},K.prototype._stateInAttributeName=function(t){(t==="="||t==="/"||t===">"||Ce(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=Xd,this._index--)},K.prototype._stateAfterAttributeName=function(t){t==="="?this._state=Jd:t==="/"||t===">"?(this._cbs.onattribend(),this._state=hr,this._index--):Ce(t)||(this._cbs.onattribend(),this._state=zc,this._sectionStart=this._index)},K.prototype._stateBeforeAttributeValue=function(t){t==='"'?(this._state=tp,this._sectionStart=this._index+1):t==="'"?(this._state=ep,this._sectionStart=this._index+1):Ce(t)||(this._state=np,this._sectionStart=this._index,this._index--)},K.prototype._stateInAttributeValueDoubleQuotes=function(t){t==='"'?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=hr):this._decodeEntities&&t==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=yi,this._sectionStart=this._index)},K.prototype._stateInAttributeValueSingleQuotes=function(t){t==="'"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=hr):this._decodeEntities&&t==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=yi,this._sectionStart=this._index)},K.prototype._stateInAttributeValueNoQuotes=function(t){Ce(t)||t===">"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=hr,this._index--):this._decodeEntities&&t==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=yi,this._sectionStart=this._index)},K.prototype._stateBeforeDeclaration=function(t){this._state=t==="["?pb:t==="-"?db:Pn},K.prototype._stateInDeclaration=function(t){t===">"&&(this._cbs.ondeclaration(this._getSection()),this._state=_t,this._sectionStart=this._index+1)},K.prototype._stateInProcessingInstruction=function(t){t===">"&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=_t,this._sectionStart=this._index+1)},K.prototype._stateBeforeComment=function(t){t==="-"?(this._state=vi,this._sectionStart=this._index+1):this._state=Pn},K.prototype._stateInComment=function(t){t==="-"&&(this._state=rp)},K.prototype._stateAfterComment1=function(t){t==="-"?this._state=op:this._state=vi},K.prototype._stateAfterComment2=function(t){t===">"?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=_t,this._sectionStart=this._index+1):t!=="-"&&(this._state=vi)},K.prototype._stateBeforeCdata1=ke("C",hb,Pn),K.prototype._stateBeforeCdata2=ke("D",gb,Pn),K.prototype._stateBeforeCdata3=ke("A",mb,Pn),K.prototype._stateBeforeCdata4=ke("T",vb,Pn),K.prototype._stateBeforeCdata5=ke("A",$b,Pn),K.prototype._stateBeforeCdata6=function(t){t==="["?(this._state=$i,this._sectionStart=this._index+1):(this._state=Pn,this._index--)},K.prototype._stateInCdata=function(t){t==="]"&&(this._state=sp)},K.prototype._stateAfterCdata1=function(t){t==="]"?this._state=ip:this._state=$i},K.prototype._stateAfterCdata2=function(t){t===">"?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=_t,this._sectionStart=this._index+1):t!=="]"&&(this._state=$i)},K.prototype._stateBeforeSpecial=function(t){t==="c"||t==="C"?this._state=wb:t==="t"||t==="T"?this._state=qb:(this._state=Vr,this._index--)},K.prototype._stateBeforeSpecialEnd=function(t){this._special===Vb&&(t==="c"||t==="C")?this._state=Tb:this._special===Ub&&(t==="t"||t==="T")?this._state=Ib:this._state=_t},K.prototype._stateBeforeScript1=Ur("R",xb),K.prototype._stateBeforeScript2=Ur("I",Sb),K.prototype._stateBeforeScript3=Ur("P",Eb),K.prototype._stateBeforeScript4=Ur("T",_b),K.prototype._stateBeforeScript5=function(t){(t==="/"||t===">"||Ce(t))&&(this._special=Vb),this._state=Vr,this._index--},K.prototype._stateAfterScript1=ke("R",Cb,_t),K.prototype._stateAfterScript2=ke("I",kb,_t),K.prototype._stateAfterScript3=ke("P",Ab,_t),K.prototype._stateAfterScript4=ke("T",Lb,_t),K.prototype._stateAfterScript5=function(t){t===">"||Ce(t)?(this._special=Bo,this._state=mi,this._sectionStart=this._index-6,this._index--):this._state=_t},K.prototype._stateBeforeStyle1=Ur("Y",Rb),K.prototype._stateBeforeStyle2=Ur("L",Db),K.prototype._stateBeforeStyle3=Ur("E",Nb),K.prototype._stateBeforeStyle4=function(t){(t==="/"||t===">"||Ce(t))&&(this._special=Ub),this._state=Vr,this._index--},K.prototype._stateAfterStyle1=ke("Y",Pb,_t),K.prototype._stateAfterStyle2=ke("L",Ob,_t),K.prototype._stateAfterStyle3=ke("E",Mb,_t),K.prototype._stateAfterStyle4=function(t){t===">"||Ce(t)?(this._special=Bo,this._state=mi,this._sectionStart=this._index-5,this._index--):this._state=_t},K.prototype._stateBeforeEntity=ke("#",Bb,ap),K.prototype._stateBeforeNumericEntity=ke("X",lp,cp),K.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?$3:v3;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},K.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){var n=this._buffer.substr(t,e);if(sb.hasOwnProperty(n)){this._emitPartial(sb[n]),this._sectionStart+=e+1;return}else e--}},K.prototype._stateInNamedEntity=function(t){t===";"?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==_t?t!=="="&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},K.prototype._decodeNumericEntity=function(t,e){var n=this._sectionStart+t;if(n!==this._index){var r=this._buffer.substring(n,this._index),o=parseInt(r,e);this._emitPartial(m3(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},K.prototype._stateInNumericEntity=function(t){t===";"?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},K.prototype._stateInHexEntity=function(t){t===";"?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},K.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===_t?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},K.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},K.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===_t?this._stateText(t):this._state===ib?this._stateBeforeTagName(t):this._state===Vr?this._stateInTagName(t):this._state===cb?this._stateBeforeCloseingTagName(t):this._state===mi?this._stateInCloseingTagName(t):this._state===lb?this._stateAfterCloseingTagName(t):this._state===ab?this._stateInSelfClosingTag(t):this._state===hr?this._stateBeforeAttributeName(t):this._state===zc?this._stateInAttributeName(t):this._state===Xd?this._stateAfterAttributeName(t):this._state===Jd?this._stateBeforeAttributeValue(t):this._state===tp?this._stateInAttributeValueDoubleQuotes(t):this._state===ep?this._stateInAttributeValueSingleQuotes(t):this._state===np?this._stateInAttributeValueNoQuotes(t):this._state===ub?this._stateBeforeDeclaration(t):this._state===Pn?this._stateInDeclaration(t):this._state===fb?this._stateInProcessingInstruction(t):this._state===db?this._stateBeforeComment(t):this._state===vi?this._stateInComment(t):this._state===rp?this._stateAfterComment1(t):this._state===op?this._stateAfterComment2(t):this._state===pb?this._stateBeforeCdata1(t):this._state===hb?this._stateBeforeCdata2(t):this._state===gb?this._stateBeforeCdata3(t):this._state===mb?this._stateBeforeCdata4(t):this._state===vb?this._stateBeforeCdata5(t):this._state===$b?this._stateBeforeCdata6(t):this._state===$i?this._stateInCdata(t):this._state===sp?this._stateAfterCdata1(t):this._state===ip?this._stateAfterCdata2(t):this._state===yb?this._stateBeforeSpecial(t):this._state===bb?this._stateBeforeSpecialEnd(t):this._state===wb?this._stateBeforeScript1(t):this._state===xb?this._stateBeforeScript2(t):this._state===Sb?this._stateBeforeScript3(t):this._state===Eb?this._stateBeforeScript4(t):this._state===_b?this._stateBeforeScript5(t):this._state===Tb?this._stateAfterScript1(t):this._state===Cb?this._stateAfterScript2(t):this._state===kb?this._stateAfterScript3(t):this._state===Ab?this._stateAfterScript4(t):this._state===Lb?this._stateAfterScript5(t):this._state===qb?this._stateBeforeStyle1(t):this._state===Rb?this._stateBeforeStyle2(t):this._state===Db?this._stateBeforeStyle3(t):this._state===Nb?this._stateBeforeStyle4(t):this._state===Ib?this._stateAfterStyle1(t):this._state===Pb?this._stateAfterStyle2(t):this._state===Ob?this._stateAfterStyle3(t):this._state===Mb?this._stateAfterStyle4(t):this._state===yi?this._stateBeforeEntity(t):this._state===Bb?this._stateBeforeNumericEntity(t):this._state===ap?this._stateInNamedEntity(t):this._state===cp?this._stateInNumericEntity(t):this._state===lp?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},K.prototype.pause=function(){this._running=!1},K.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},K.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},K.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},K.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===$i||this._state===sp||this._state===ip?this._cbs.oncdata(t):this._state===vi||this._state===rp||this._state===op?this._cbs.oncomment(t):this._state===ap&&!this._xmlMode?(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):this._state===cp&&!this._xmlMode?(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):this._state===lp&&!this._xmlMode?(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):this._state!==Vr&&this._state!==hr&&this._state!==Jd&&this._state!==Xd&&this._state!==zc&&this._state!==ep&&this._state!==tp&&this._state!==np&&this._state!==mi&&this._cbs.ontext(t)},K.prototype.reset=function(){K.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},K.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},K.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},K.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},K.prototype._emitPartial=function(t){this._baseState!==_t?this._cbs.onattribdata(t):this._cbs.ontext(t)};var fp={exports:{}};typeof Object.create=="function"?fp.exports=function(e,n){n&&(e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:fp.exports=function(e,n){if(n){e.super_=n;var r=function(){};r.prototype=n.prototype,e.prototype=new r,e.prototype.constructor=e}};var Hc=fp.exports,dp={exports:{}},Vo=typeof Reflect=="object"?Reflect:null,Fb=Vo&&typeof Vo.apply=="function"?Vo.apply:function(e,n,r){return Function.prototype.apply.call(e,n,r)},Gc;Vo&&typeof Vo.ownKeys=="function"?Gc=Vo.ownKeys:Object.getOwnPropertySymbols?Gc=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Gc=function(e){return Object.getOwnPropertyNames(e)};function y3(t){console&&console.warn&&console.warn(t)}var jb=Number.isNaN||function(e){return e!==e};function wt(){wt.init.call(this)}dp.exports=wt,dp.exports.once=S3,wt.EventEmitter=wt,wt.prototype._events=void 0,wt.prototype._eventsCount=0,wt.prototype._maxListeners=void 0;var zb=10;function Wc(t){if(typeof t!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}Object.defineProperty(wt,"defaultMaxListeners",{enumerable:!0,get:function(){return zb},set:function(t){if(typeof t!="number"||t<0||jb(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");zb=t}}),wt.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},wt.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||jb(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Hb(t){return t._maxListeners===void 0?wt.defaultMaxListeners:t._maxListeners}wt.prototype.getMaxListeners=function(){return Hb(this)},wt.prototype.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var o=e==="error",s=this._events;if(s!==void 0)o=o&&s.error===void 0;else if(!o)return!1;if(o){var i;if(n.length>0&&(i=n[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var c=s[e];if(c===void 0)return!1;if(typeof c=="function")Fb(c,this,n);else for(var l=c.length,u=Zb(c,l),r=0;r<l;++r)Fb(u[r],this,n);return!0};function Gb(t,e,n,r){var o,s,i;if(Wc(n),s=t._events,s===void 0?(s=t._events=Object.create(null),t._eventsCount=0):(s.newListener!==void 0&&(t.emit("newListener",e,n.listener?n.listener:n),s=t._events),i=s[e]),i===void 0)i=s[e]=n,++t._eventsCount;else if(typeof i=="function"?i=s[e]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),o=Hb(t),o>0&&i.length>o&&!i.warned){i.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=i.length,y3(a)}return t}wt.prototype.addListener=function(e,n){return Gb(this,e,n,!1)},wt.prototype.on=wt.prototype.addListener,wt.prototype.prependListener=function(e,n){return Gb(this,e,n,!0)};function b3(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function Wb(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=b3.bind(r);return o.listener=n,r.wrapFn=o,o}wt.prototype.once=function(e,n){return Wc(n),this.on(e,Wb(this,e,n)),this},wt.prototype.prependOnceListener=function(e,n){return Wc(n),this.prependListener(e,Wb(this,e,n)),this},wt.prototype.removeListener=function(e,n){var r,o,s,i,a;if(Wc(n),o=this._events,o===void 0)return this;if(r=o[e],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete o[e],o.removeListener&&this.emit("removeListener",e,r.listener||n));else if(typeof r!="function"){for(s=-1,i=r.length-1;i>=0;i--)if(r[i]===n||r[i].listener===n){a=r[i].listener,s=i;break}if(s<0)return this;s===0?r.shift():w3(r,s),r.length===1&&(o[e]=r[0]),o.removeListener!==void 0&&this.emit("removeListener",e,a||n)}return this},wt.prototype.off=wt.prototype.removeListener,wt.prototype.removeAllListeners=function(e){var n,r,o;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[e]),this;if(arguments.length===0){var s=Object.keys(r),i;for(o=0;o<s.length;++o)i=s[o],i!=="removeListener"&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[e],typeof n=="function")this.removeListener(e,n);else if(n!==void 0)for(o=n.length-1;o>=0;o--)this.removeListener(e,n[o]);return this};function Yb(t,e,n){var r=t._events;if(r===void 0)return[];var o=r[e];return o===void 0?[]:typeof o=="function"?n?[o.listener||o]:[o]:n?x3(o):Zb(o,o.length)}wt.prototype.listeners=function(e){return Yb(this,e,!0)},wt.prototype.rawListeners=function(e){return Yb(this,e,!1)},wt.listenerCount=function(t,e){return typeof t.listenerCount=="function"?t.listenerCount(e):Kb.call(t,e)},wt.prototype.listenerCount=Kb;function Kb(t){var e=this._events;if(e!==void 0){var n=e[t];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}wt.prototype.eventNames=function(){return this._eventsCount>0?Gc(this._events):[]};function Zb(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function w3(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function x3(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}function S3(t,e){return new Promise(function(n,r){function o(i){t.removeListener(e,s),r(i)}function s(){typeof t.removeListener=="function"&&t.removeListener("error",o),n([].slice.call(arguments))}Qb(t,e,s,{once:!0}),e!=="error"&&E3(t,o,{once:!0})})}function E3(t,e,n){typeof t.on=="function"&&Qb(t,"error",e,n)}function Qb(t,e,n,r){if(typeof t.on=="function")r.once?t.once(e,n):t.on(e,n);else if(typeof t.addEventListener=="function")t.addEventListener(e,function o(s){r.once&&t.removeEventListener(e,o),n(s)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t)}var _3=dp.exports,Xb=ob,Uo={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},Jb={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:Uo,input:Uo,output:Uo,button:Uo,datalist:Uo,textarea:Uo,option:{option:!0},optgroup:{optgroup:!0}},pp={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},tw={__proto__:null,math:!0,svg:!0},ew={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},T3=/\s|\//;function bt(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(Xb=this._options.Tokenizer),this._tokenizer=new Xb(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}Hc(bt,_3.EventEmitter),bt.prototype._updatePosition=function(t){this.endIndex===null?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},bt.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},bt.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in Jb)for(var e;(e=this._stack[this._stack.length-1])in Jb[t];this.onclosetag(e));(this._options.xmlMode||!(t in pp))&&(this._stack.push(t),t in tw?this._foreignContext.push(!0):t in ew&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},bt.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in pp&&this._cbs.onclosetag(this._tagname),this._tagname=""},bt.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in tw||t in ew)&&this._foreignContext.pop(),this._stack.length&&(!(t in pp)||this._options.xmlMode)){var e=this._stack.lastIndexOf(t);if(e!==-1)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else t==="p"&&!this._options.xmlMode&&(this.onopentagname(t),this._closeCurrentTag())}else!this._options.xmlMode&&(t==="br"||t==="p")&&(this.onopentagname(t),this._closeCurrentTag())},bt.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},bt.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},bt.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},bt.prototype.onattribdata=function(t){this._attribvalue+=t},bt.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},bt.prototype._getInstructionName=function(t){var e=t.search(T3),n=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},bt.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},bt.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},bt.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},bt.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},bt.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},bt.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},bt.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},bt.prototype.parseComplete=function(t){this.reset(),this.end(t)},bt.prototype.write=function(t){this._tokenizer.write(t)},bt.prototype.end=function(t){this._tokenizer.end(t)},bt.prototype.pause=function(){this._tokenizer.pause()},bt.prototype.resume=function(){this._tokenizer.resume()},bt.prototype.parseChunk=bt.prototype.write,bt.prototype.done=bt.prototype.end;var nw=bt,bi={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return t.type==="tag"||t.type==="script"||t.type==="style"}},rw={exports:{}};rw.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return ow[this.type]||ow.element}};var C3={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},ow={element:1,text:3,cdata:4,comment:8};Object.keys(C3).forEach(function(t){});var sw=rw.exports,iw={exports:{}},k3=sw,A3=iw.exports=Object.create(k3),aw={tagName:"name"};Object.keys(aw).forEach(function(t){var e=aw[t];Object.defineProperty(A3,t,{get:function(){return this[e]||null},set:function(n){return this[e]=n,n}})});var L3=iw.exports,cn=bi,hp=/\s+/g,q3=sw,R3=L3;function se(t,e,n){typeof t=="object"?(n=e,e=t,t=null):typeof e=="function"&&(n=e,e=cw),this._callback=t,this._options=e||cw,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var cw={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};se.prototype.onparserinit=function(t){this._parser=t},se.prototype.onreset=function(){se.call(this,this._callback,this._options,this._elementCB)},se.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},se.prototype._handleCallback=se.prototype.onerror=function(t){if(typeof this._callback=="function")this._callback(t,this.dom);else if(t)throw t},se.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},se.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;t.type==="tag"?e=Object.create(R3):e=Object.create(q3);for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},se.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],n=e?e.children:this.dom,r=n[n.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),r?(t.prev=r,r.next=t):t.prev=null,n.push(t),t.parent=e||null},se.prototype.onopentag=function(t,e){var n={type:t==="script"?cn.Script:t==="style"?cn.Style:cn.Tag,name:t,attribs:e,children:[]},r=this._createDomElement(n);this._addDomElement(r),this._tagStack.push(r)},se.prototype.ontext=function(t){var e=this._options.normalizeWhitespace||this._options.ignoreWhitespace,n;if(!this._tagStack.length&&this.dom.length&&(n=this.dom[this.dom.length-1]).type===cn.Text)e?n.data=(n.data+t).replace(hp," "):n.data+=t;else if(this._tagStack.length&&(n=this._tagStack[this._tagStack.length-1])&&(n=n.children[n.children.length-1])&&n.type===cn.Text)e?n.data=(n.data+t).replace(hp," "):n.data+=t;else{e&&(t=t.replace(hp," "));var r=this._createDomElement({data:t,type:cn.Text});this._addDomElement(r)}},se.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===cn.Comment){e.data+=t;return}var n={data:t,type:cn.Comment},r=this._createDomElement(n);this._addDomElement(r),this._tagStack.push(r)},se.prototype.oncdatastart=function(){var t={children:[{data:"",type:cn.Text}],type:cn.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},se.prototype.oncommentend=se.prototype.oncdataend=function(){this._tagStack.pop()},se.prototype.onprocessinginstruction=function(t,e){var n=this._createDomElement({name:t,data:e,type:cn.Directive});this._addDomElement(n)};var lw=se,gp={exports:{}},mp={exports:{}},vp={},uw;function D3(){return uw||(uw=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0;var e;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(e=t.ElementType||(t.ElementType={}));function n(r){return r.type===e.Tag||r.type===e.Script||r.type===e.Style}t.isTag=n,t.Root=e.Root,t.Text=e.Text,t.Directive=e.Directive,t.Comment=e.Comment,t.Script=e.Script,t.Style=e.Style,t.Tag=e.Tag,t.CDATA=e.CDATA,t.Doctype=e.Doctype}(vp)),vp}var $p={},On={};const fw={Aacute:"Ã",aacute:"á",Abreve:"Ä‚",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"Ð",acy:"а",AElig:"Æ",aelig:"æ",af:"â¡",Afr:"ð”„",afr:"ð”ž",Agrave:"À",agrave:"à ",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ä€",amacr:"Ä",amalg:"⨿",amp:"&",AMP:"&",andand:"â©•",And:"â©“",and:"∧",andd:"â©œ",andslope:"⩘",andv:"â©š",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"â¦",angsph:"∢",angst:"Ã…",angzarr:"â¼",Aogon:"Ä„",aogon:"Ä…",Aopf:"ð”¸",aopf:"ð•’",apacir:"⩯",ap:"≈",apE:"â©°",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"â¡",approx:"≈",approxeq:"≊",Aring:"Ã…",aring:"Ã¥",Ascr:"ð’œ",ascr:"ð’¶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"â‰",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"â‹",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Î’",beta:"β",beth:"ℶ",between:"≬",Bfr:"ð”…",bfr:"ð”Ÿ",bigcap:"â‹‚",bigcirc:"â—¯",bigcup:"⋃",bigodot:"⨀",bigoplus:"â¨",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"â–½",bigtriangleup:"â–³",biguplus:"⨄",bigvee:"â‹",bigwedge:"â‹€",bkarow:"â¤",blacklozenge:"⧫",blacksquare:"â–ª",blacktriangle:"â–´",blacktriangledown:"â–¾",blacktriangleleft:"â—‚",blacktriangleright:"â–¸",blank:"â£",blk12:"â–’",blk14:"â–‘",blk34:"â–“",block:"â–ˆ",bne:"=⃥",bnequiv:"≡⃥",bNot:"â«",bnot:"âŒ",Bopf:"ð”¹",bopf:"ð•“",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"â”",boxdL:"â••",boxDl:"â•–",boxDL:"â•—",boxdr:"┌",boxdR:"â•’",boxDr:"â•“",boxDR:"â•”",boxh:"─",boxH:"â•",boxhd:"┬",boxHd:"╤",boxhD:"â•¥",boxHD:"╦",boxhu:"â”´",boxHu:"╧",boxhU:"╨",boxHU:"â•©",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"â•›",boxUl:"â•œ",boxUL:"â•",boxur:"â””",boxuR:"╘",boxUr:"â•™",boxUR:"â•š",boxv:"│",boxV:"â•‘",boxvh:"┼",boxvH:"╪",boxVh:"â•«",boxVH:"╬",boxvl:"┤",boxvL:"â•¡",boxVl:"â•¢",boxVL:"â•£",boxvr:"├",boxvR:"â•ž",boxVr:"â•Ÿ",boxVR:"â• ",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"ð’·",Bscr:"ℬ",bsemi:"â",bsim:"∽",bsime:"â‹",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"â‰",Bumpeq:"≎",bumpeq:"â‰",Cacute:"Ć",cacute:"ć",capand:"â©„",capbrcup:"⩉",capcap:"â©‹",cap:"∩",Cap:"â‹’",capcup:"⩇",capdot:"â©€",CapitalDifferentialD:"â……",caps:"∩︀",caret:"â",caron:"ˇ",Cayleys:"â„",ccaps:"â©",Ccaron:"ÄŒ",ccaron:"Ä",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"â©Œ",ccupssm:"â©",Cdot:"ÄŠ",cdot:"Ä‹",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"ð” ",Cfr:"â„",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"âŠ",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"â—‹",cirE:"⧃",cire:"≗",cirfnint:"â¨",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"â€",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"â©´",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"âˆ",compfn:"∘",complement:"âˆ",complexes:"â„‚",cong:"≅",congdot:"â©",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"ð•”",Copf:"â„‚",coprod:"âˆ",Coproduct:"âˆ",copy:"©",COPY:"©",copysr:"â„—",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"ð’ž",cscr:"ð’¸",csub:"â«",csube:"â«‘",csup:"â«",csupe:"â«’",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â‹ž",cuesc:"â‹Ÿ",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"â‰",cup:"∪",Cup:"â‹“",cupcup:"â©Š",cupdot:"âŠ",cupor:"â©…",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"â‹ž",curlyeqsucc:"â‹Ÿ",curlyvee:"â‹Ž",curlywedge:"â‹",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"â‹Ž",cuwed:"â‹",cwconint:"∲",cwint:"∱",cylcty:"âŒ",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"â€",Dashv:"⫤",dashv:"⊣",dbkarow:"â¤",dblac:"Ë",Dcaron:"ÄŽ",dcaron:"Ä",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"â……",dd:"â…†",DDotrahd:"⤑",ddotseq:"â©·",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"ð”‡",dfr:"ð”¡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"Ë™",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ëœ",diam:"â‹„",diamond:"â‹„",Diamond:"â‹„",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"â…†",digamma:"Ï",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"Ñ’",dlcorn:"⌞",dlcrop:"âŒ",dollar:"$",Dopf:"ð”»",dopf:"ð••",Dot:"¨",dot:"Ë™",DotDot:"⃜",doteq:"â‰",doteqdot:"≑",DotEqual:"â‰",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"â‡",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"Ì‘",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"â¥",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"â‡",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"â¤",drcorn:"⌟",drcrop:"⌌",Dscr:"ð’Ÿ",dscr:"ð’¹",DScy:"Ð…",dscy:"Ñ•",dsol:"⧶",Dstrok:"Ä",dstrok:"Ä‘",dtdot:"⋱",dtri:"â–¿",dtrif:"â–¾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"ÑŸ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"â©®",Ecaron:"Äš",ecaron:"Ä›",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä–",edot:"Ä—",eDot:"≑",ee:"â…‡",efDot:"≒",Efr:"ð”ˆ",efr:"ð”¢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"â§",ell:"â„“",els:"⪕",elsdot:"⪗",Emacr:"Ä’",emacr:"Ä“",empty:"∅",emptyset:"∅",EmptySmallSquare:"â—»",emptyv:"∅",EmptyVerySmallSquare:"â–«",emsp13:" ",emsp14:" ",emsp:" ",ENG:"ÅŠ",eng:"Å‹",ensp:" ",Eogon:"Ę",eogon:"Ä™",Eopf:"ð”¼",eopf:"ð•–",epar:"â‹•",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"â„°",esdot:"â‰",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ã",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"â„°",exponentiale:"â…‡",ExponentialE:"â…‡",fallingdotseq:"≒",Fcy:"Ф",fcy:"Ñ„",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"ð”‰",ffr:"ð”£",filig:"ï¬",FilledSmallSquare:"â—¼",FilledVerySmallSquare:"â–ª",fjlig:"fj",flat:"â™",fllig:"fl",fltns:"â–±",fnof:"Æ’",Fopf:"ð”½",fopf:"ð•—",forall:"∀",ForAll:"∀",fork:"â‹”",forkv:"â«™",Fouriertrf:"ℱ",fpartint:"â¨",frac12:"½",frac13:"â…“",frac14:"¼",frac15:"â…•",frac16:"â…™",frac18:"â…›",frac23:"â…”",frac25:"â…–",frac34:"¾",frac35:"â…—",frac38:"â…œ",frac45:"â…˜",frac56:"â…š",frac58:"â…",frac78:"â…ž",frasl:"â„",frown:"⌢",fscr:"ð’»",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ïœ",gammad:"Ï",gap:"⪆",Gbreve:"Äž",gbreve:"ÄŸ",Gcedil:"Ä¢",Gcirc:"Äœ",gcirc:"Ä",Gcy:"Г",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",ge:"≥",gE:"≧",gEl:"⪌",gel:"â‹›",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"ð”Š",gfr:"ð”¤",gg:"≫",Gg:"â‹™",ggg:"â‹™",gimel:"â„·",GJcy:"Ѓ",gjcy:"Ñ“",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"ð”¾",gopf:"ð•˜",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"â‹›",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"ð’¢",gscr:"â„Š",gsim:"≳",gsime:"⪎",gsiml:"âª",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"â‹—",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"â‹—",gtreqless:"â‹›",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"â„‹",HARDcy:"Ъ",hardcy:"ÑŠ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"â†",Hat:"^",hbar:"â„",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"ð”¥",Hfr:"â„Œ",HilbertSpace:"â„‹",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"ð•™",Hopf:"â„",horbar:"―",HorizontalLine:"─",hscr:"ð’½",Hscr:"â„‹",hslash:"â„",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"â‰",hybull:"âƒ",hyphen:"â€",Iacute:"Ã",iacute:"Ã",ic:"â£",Icirc:"ÃŽ",icirc:"î",Icy:"И",icy:"и",Idot:"Ä°",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"ð”¦",Ifr:"â„‘",Igrave:"ÃŒ",igrave:"ì",ii:"â…ˆ",iiiint:"⨌",iiint:"âˆ",iinfin:"⧜",iiota:"â„©",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"Ä«",image:"â„‘",ImaginaryI:"â…ˆ",imagline:"â„",imagpart:"â„‘",imath:"ı",Im:"â„‘",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"â„…",in:"∈",infin:"∞",infintie:"â§",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"â‹‚",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",IOcy:"Ð",iocy:"Ñ‘",Iogon:"Ä®",iogon:"į",Iopf:"ð•€",iopf:"ð•š",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"ð’¾",Iscr:"â„",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"â‹´",isinsv:"⋳",isinv:"∈",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"І",iukcy:"Ñ–",Iuml:"Ã",iuml:"ï",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"ð”",jfr:"ð”§",jmath:"È·",Jopf:"ð•",jopf:"ð•›",Jscr:"ð’¥",jscr:"ð’¿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"Ñ”",Kappa:"Κ",kappa:"κ",kappav:"Ï°",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"К",kcy:"к",Kfr:"ð”Ž",kfr:"ð”¨",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ…",KJcy:"ÐŒ",kjcy:"Ñœ",Kopf:"ð•‚",kopf:"ð•œ",Kscr:"ð’¦",kscr:"ð“€",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â„’",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"â„’",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"â†",Larr:"↞",lArr:"â‡",larrfs:"â¤",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"âª",lates:"âªï¸€",lbarr:"⤌",lBarr:"⤎",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"â¦",lbrkslu:"â¦",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ä»",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"â†",LeftArrow:"â†",Leftarrow:"â‡",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"â†",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"â‹‹",LeftTriangleBar:"â§",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"â‹š",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"â©¿",lesdoto:"âª",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"â‹–",lesseqgtr:"â‹š",lesseqqgtr:"⪋",LessEqualGreater:"â‹š",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"ð”",lfr:"ð”©",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"â–„",LJcy:"Љ",ljcy:"Ñ™",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"â—º",Lmidot:"Ä¿",lmidot:"Å€",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"ð•ƒ",lopf:"ð•",loplus:"â¨",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"â—Š",lozenge:"â—Š",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"â¥",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"ð“",Lscr:"â„’",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Å",lstrok:"Å‚",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"â‹–",lthree:"â‹‹",ltimes:"⋉",ltlarr:"⥶",ltquest:"â©»",ltri:"â—ƒ",ltrie:"⊴",ltrif:"â—‚",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"â–®",mcomma:"⨩",Mcy:"Ðœ",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"âŸ",Mellintrf:"ℳ",Mfr:"ð”",mfr:"ð”ª",mho:"℧",micro:"µ",midast:"*",midcir:"â«°",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"â«›",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"ð•„",mopf:"ð•ž",mp:"∓",mscr:"ð“‚",Mscr:"ℳ",mstpos:"∾",Mu:"Îœ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"Å„",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"â™®",naturals:"â„•",natur:"â™®",nbsp:" ",nbump:"≎̸",nbumpe:"â‰Ì¸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Å…",ncedil:"ņ",ncong:"≇",ncongdot:"â©Ì¸",ncup:"â©‚",Ncy:"Ð",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"â‰Ì¸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` `,nexist:"∄",nexists:"∄",Nfr:"ð”‘",nfr:"ð”«",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"Ñš",nlarr:"↚",nlArr:"â‡",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"â‡",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"â ",NonBreakingSpace:" ",nopf:"ð•Ÿ",Nopf:"â„•",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"â‰",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"â‰Ì¸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"â‹·",notinvc:"⋶",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â‹ ",NotReverseElement:"∌",NotRightTriangleBar:"â§Ì¸",NotRightTriangle:"â‹«",NotRightTriangleEqual:"â‹",NotSquareSubset:"âŠÌ¸",NotSquareSubsetEqual:"â‹¢",NotSquareSuperset:"âŠÌ¸",NotSquareSupersetEqual:"â‹£",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"âŠ",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â‹¡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"â‰",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"â‹ ",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"â‡",nrarrw:"â†Ì¸",nrightarrow:"↛",nRightarrow:"â‡",nrtri:"â‹«",nrtrie:"â‹",nsc:"âŠ",nsccue:"â‹¡",nsce:"⪰̸",Nscr:"ð’©",nscr:"ð“ƒ",nshortmid:"∤",nshortparallel:"∦",nsim:"â‰",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"â‹¢",nsqsupe:"â‹£",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"âŠ",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"â‹«",ntrianglerighteq:"â‹",Nu:"Î",nu:"ν",num:"#",numero:"â„–",numsp:" ",nvap:"â‰âƒ’",nvdash:"⊬",nvDash:"âŠ",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"âŠ",Odblac:"Å",odblac:"Å‘",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Å’",oelig:"Å“",ofcir:"⦿",Ofr:"ð”’",ofr:"ð”¬",ogon:"Ë›",Ograve:"Ã’",ograve:"ò",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"ÅŒ",omacr:"Å",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"ð•†",oopf:"ð• ",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"â©”",or:"∨",ord:"â©",order:"â„´",orderof:"â„´",ordf:"ª",ordm:"º",origof:"⊶",oror:"â©–",orslope:"â©—",orv:"â©›",oS:"Ⓢ",Oscr:"ð’ª",oscr:"â„´",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"âž",OverBracket:"⎴",OverParenthesis:"âœ",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"ð”“",pfr:"ð”",Phi:"Φ",phi:"φ",phiv:"Ï•",phmmat:"ℳ",phone:"☎",Pi:"Î ",pi:"Ï€",pitchfork:"â‹”",piv:"Ï–",planck:"â„",planckh:"â„Ž",plankv:"â„",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"â„Œ",pointint:"⨕",popf:"ð•¡",Popf:"â„™",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"â„™",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"âˆ",Product:"âˆ",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"âˆ",Proportional:"âˆ",Proportion:"∷",propto:"âˆ",prsim:"≾",prurel:"⊰",Pscr:"ð’«",pscr:"ð“…",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"ð””",qfr:"ð”®",qint:"⨌",qopf:"ð•¢",Qopf:"â„š",qprime:"â—",Qscr:"ð’¬",qscr:"ð“†",quaternions:"â„",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Å”",racute:"Å•",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"â†",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"â„š",rbarr:"â¤",rBarr:"â¤",RBarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"â¦",Rcaron:"Ř",rcaron:"Å™",Rcedil:"Å–",rcedil:"Å—",rceil:"⌉",rcub:"}",Rcy:"Ð ",rcy:"Ñ€",rdca:"⤷",rdldhar:"⥩",rdquo:"â€",rdquor:"â€",rdsh:"↳",real:"â„œ",realine:"â„›",realpart:"â„œ",reals:"â„",Re:"â„œ",rect:"â–",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"ð”¯",Rfr:"â„œ",rHar:"⥤",rhard:"â‡",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"â¥",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"â‡",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"â†",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"â‹Œ",RightTriangleBar:"â§",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"â¥",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"Ëš",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"â€",rmoustache:"⎱",rmoust:"⎱",rnmid:"â«®",roang:"âŸ",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"ð•£",Ropf:"â„",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"ð“‡",Rscr:"â„›",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"â‹Œ",rtimes:"â‹Š",rtri:"â–¹",rtrie:"⊵",rtrif:"â–¸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"â„ž",Sacute:"Åš",sacute:"Å›",sbquo:"‚",scap:"⪸",Scaron:"Å ",scaron:"Å¡",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Åž",scedil:"ÅŸ",Scirc:"Åœ",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â‹©",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"Ñ",sdotb:"⊡",sdot:"â‹…",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"ð”–",sfr:"ð”°",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"â†",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"Â",Sigma:"Σ",sigma:"σ",sigmaf:"Ï‚",sigmav:"Ï‚",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"âª",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"â†",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ÑŒ",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"ð•Š",sopf:"ð•¤",spades:"â™ ",spadesuit:"â™ ",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"âŠ",sqsube:"⊑",sqsubset:"âŠ",sqsubseteq:"⊑",sqsup:"âŠ",sqsupe:"⊒",sqsupset:"âŠ",sqsupseteq:"⊒",square:"â–¡",Square:"â–¡",SquareIntersection:"⊓",SquareSubset:"âŠ",SquareSubsetEqual:"⊑",SquareSuperset:"âŠ",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"â–ª",squ:"â–¡",squf:"â–ª",srarr:"→",Sscr:"ð’®",sscr:"ð“ˆ",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"Ï•",strns:"¯",sub:"⊂",Sub:"â‹",subdot:"⪽",subE:"â«…",sube:"⊆",subedot:"⫃",submult:"â«",subnE:"â«‹",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"â‹",subseteq:"⊆",subseteqq:"â«…",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"â«‹",subsim:"⫇",subsub:"â«•",subsup:"â«“",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â‹©",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"â‹‘",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"â«„",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"â«—",suplarr:"⥻",supmult:"â«‚",supnE:"â«Œ",supne:"⊋",supplus:"â«€",supset:"⊃",Supset:"â‹‘",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"â«Œ",supsim:"⫈",supsub:"â«”",supsup:"â«–",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"Ï„",tbrk:"⎴",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ‚",tdot:"⃛",telrec:"⌕",Tfr:"ð”—",tfr:"ð”±",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"Ï‘",thetav:"Ï‘",thickapprox:"≈",thicksim:"∼",ThickSpace:"âŸâ€Š",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"Ëœ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"âˆ",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"ð•‹",topf:"ð•¥",topfork:"â«š",tosa:"⤩",tprime:"‴",trade:"â„¢",TRADE:"â„¢",triangle:"â–µ",triangledown:"â–¿",triangleleft:"â—ƒ",trianglelefteq:"⊴",triangleq:"≜",triangleright:"â–¹",trianglerighteq:"⊵",tridot:"â—¬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"ð’¯",tscr:"ð“‰",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"Ñ›",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"ÐŽ",ubrcy:"Ñž",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Å°",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"ð”˜",ufr:"ð”²",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"â–€",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"âŒ",ultri:"â—¸",Umacr:"Ū",umacr:"Å«",uml:"¨",UnderBar:"_",UnderBrace:"âŸ",UnderBracket:"⎵",UnderParenthesis:"â",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"ð•Œ",uopf:"ð•¦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"Ï…",Upsi:"Ï’",upsih:"Ï’",Upsilon:"Î¥",upsilon:"Ï…",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"âŒ",urcorner:"âŒ",urcrop:"⌎",Uring:"Å®",uring:"ů",urtri:"â—¹",Uscr:"ð’°",uscr:"ð“Š",utdot:"â‹°",Utilde:"Ũ",utilde:"Å©",utri:"â–µ",utrif:"â–´",uuarr:"⇈",Uuml:"Ãœ",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"Ï°",varnothing:"∅",varphi:"Ï•",varpi:"Ï–",varpropto:"âˆ",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"Ï‚",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"Ï‘",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"â««",vBarv:"â«©",Vcy:"Ð’",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"â‹",veeeq:"≚",vellip:"â‹®",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"â˜",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"ð”™",vfr:"ð”³",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"ð•",vopf:"ð•§",vprop:"âˆ",vrtri:"⊳",Vscr:"ð’±",vscr:"ð“‹",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©Ÿ",wedge:"∧",Wedge:"â‹€",wedgeq:"≙",weierp:"℘",Wfr:"ð”š",wfr:"ð”´",Wopf:"ð•Ž",wopf:"ð•¨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"ð’²",wscr:"ð“Œ",xcap:"â‹‚",xcirc:"â—¯",xcup:"⋃",xdtri:"â–½",Xfr:"ð”›",xfr:"ð”µ",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"â‹»",xodot:"⨀",Xopf:"ð•",xopf:"ð•©",xoplus:"â¨",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"ð’³",xscr:"ð“",xsqcup:"⨆",xuplus:"⨄",xutri:"â–³",xvee:"â‹",xwedge:"â‹€",Yacute:"Ã",yacute:"ý",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ‹",yen:"Â¥",Yfr:"ð”œ",yfr:"ð”¶",YIcy:"Ї",yicy:"Ñ—",Yopf:"ð•",yopf:"ð•ª",Yscr:"ð’´",yscr:"ð“Ž",YUcy:"Ю",yucy:"ÑŽ",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"ð”·",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"â‡",zopf:"ð•«",Zopf:"ℤ",Zscr:"ð’µ",zscr:"ð“",zwj:"â€",zwnj:"‌"},N3={Aacute:"Ã",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à ",amp:"&",AMP:"&",Aring:"Ã…",aring:"Ã¥",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ã",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Ã",iacute:"Ã",Icirc:"ÃŽ",icirc:"î",iexcl:"¡",Igrave:"ÃŒ",igrave:"ì",iquest:"¿",Iuml:"Ã",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ã’",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"Â",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ãœ",uuml:"ü",Yacute:"Ã",yacute:"ý",yen:"Â¥",yuml:"ÿ"},dw={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};var Yc={};const I3={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var pw;function P3(){if(pw)return Yc;pw=1;var t=Ae&&Ae.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Yc,"__esModule",{value:!0});var e=t(I3),n=String.fromCodePoint||function(o){var s="";return o>65535&&(o-=65536,s+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),s+=String.fromCharCode(o),s};function r(o){return o>=55296&&o<=57343||o>1114111?"�":(o in e.default&&(o=e.default[o]),n(o))}return Yc.default=r,Yc}var hw;function gw(){if(hw)return On;hw=1;var t=Ae&&Ae.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(On,"__esModule",{value:!0}),On.decodeHTML=On.decodeHTMLStrict=On.decodeXML=void 0;var e=t(fw),n=t(N3),r=t(dw),o=t(P3()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;On.decodeXML=i(r.default),On.decodeHTMLStrict=i(e.default);function i(l){var u=c(l);return function(f){return String(f).replace(s,u)}}var a=function(l,u){return l<u?1:-1};On.decodeHTML=function(){for(var l=Object.keys(n.default).sort(a),u=Object.keys(e.default).sort(a),f=0,p=0;f<u.length;f++)l[p]===u[f]?(u[f]+=";?",p++):u[f]+=";";var d=new RegExp("&(?:"+u.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),m=c(e.default);function y(x){return x.substr(-1)!==";"&&(x+=";"),m(x)}return function(x){return String(x).replace(d,y)}}();function c(l){return function(f){if(f.charAt(1)==="#"){var p=f.charAt(2);return p==="X"||p==="x"?o.default(parseInt(f.substr(3),16)):o.default(parseInt(f.substr(2),10))}return l[f.slice(1,-1)]||f}}return On}var Oe={},mw;function vw(){if(mw)return Oe;mw=1;var t=Ae&&Ae.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.escapeUTF8=Oe.escape=Oe.encodeNonAsciiHTML=Oe.encodeHTML=Oe.encodeXML=void 0;var e=t(dw),n=a(e.default),r=c(n);Oe.encodeXML=x(n);var o=t(fw),s=a(o.default),i=c(s);Oe.encodeHTML=p(s,i),Oe.encodeNonAsciiHTML=x(s);function a(h){return Object.keys(h).sort().reduce(function($,b){return $[h[b]]="&"+b+";",$},{})}function c(h){for(var $=[],b=[],S=0,_=Object.keys(h);S<_.length;S++){var k=_[S];k.length===1?$.push("\\"+k):b.push(k)}$.sort();for(var C=0;C<$.length-1;C++){for(var R=C;R<$.length-1&&$[R].charCodeAt(1)+1===$[R+1].charCodeAt(1);)R+=1;var D=1+R-C;D<3||$.splice(C,D,$[C]+"-"+$[R])}return b.unshift("["+$.join("")+"]"),new RegExp(b.join("|"),"g")}var l=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,u=String.prototype.codePointAt!=null?function(h){return h.codePointAt(0)}:function(h){return(h.charCodeAt(0)-55296)*1024+h.charCodeAt(1)-56320+65536};function f(h){return"&#x"+(h.length>1?u(h):h.charCodeAt(0)).toString(16).toUpperCase()+";"}function p(h,$){return function(b){return b.replace($,function(S){return h[S]}).replace(l,f)}}var d=new RegExp(r.source+"|"+l.source,"g");function m(h){return h.replace(d,f)}Oe.escape=m;function y(h){return h.replace(r,f)}Oe.escapeUTF8=y;function x(h){return function($){return $.replace(d,function(b){return h[b]||f(b)})}}return Oe}var $w;function O3(){return $w||($w=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=gw(),n=vw();function r(c,l){return(!l||l<=0?e.decodeXML:e.decodeHTML)(c)}t.decode=r;function o(c,l){return(!l||l<=0?e.decodeXML:e.decodeHTMLStrict)(c)}t.decodeStrict=o;function s(c,l){return(!l||l<=0?n.encodeXML:n.encodeHTML)(c)}t.encode=s;var i=vw();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=gw();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})}($p)),$p}const M3={elementNames:{altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},attributeNames:{definitionurl:"definitionURL",attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"}};var yw;function B3(){if(yw)return mp.exports;yw=1;var t=D3(),e=O3(),n=M3;n.elementNames.__proto__=null,n.attributeNames.__proto__=null;var r={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};function o(d,m){if(d){var y="",x;for(var h in d)x=d[h],y&&(y+=" "),m.xmlMode==="foreign"&&(h=n.attributeNames[h]||h),y+=h,(x!==null&&x!==""||m.xmlMode)&&(y+='="'+(m.decodeEntities?e.encodeXML(x):x.replace(/\"/g,"""))+'"');return y}}var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},i=mp.exports=function(d,m){!Array.isArray(d)&&!d.cheerio&&(d=[d]),m=m||{};for(var y="",x=0;x<d.length;x++){var h=d[x];h.type==="root"?y+=i(h.children,m):t.isTag(h)?y+=c(h,m):h.type===t.Directive?y+=l(h):h.type===t.Comment?y+=p(h):h.type===t.CDATA?y+=f(h):y+=u(h,m)}return y},a=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function c(d,m){m.xmlMode==="foreign"&&(d.name=n.elementNames[d.name]||d.name,d.parent&&a.indexOf(d.parent.name)>=0&&(m=Object.assign({},m,{xmlMode:!1}))),!m.xmlMode&&["svg","math"].indexOf(d.name)>=0&&(m=Object.assign({},m,{xmlMode:"foreign"}));var y="<"+d.name,x=o(d.attribs,m);return x&&(y+=" "+x),m.xmlMode&&(!d.children||d.children.length===0)?y+="/>":(y+=">",d.children&&(y+=i(d.children,m)),(!s[d.name]||m.xmlMode)&&(y+="</"+d.name+">")),y}function l(d){return"<"+d.data+">"}function u(d,m){var y=d.data||"";return m.decodeEntities&&!(d.parent&&d.parent.name in r)&&(y=e.encodeXML(y)),y}function f(d){return"<![CDATA["+d.children[0].data+"]]>"}function p(d){return"<!--"+d.data+"-->"}return mp.exports}var yp,bw;function V3(){if(bw)return yp;bw=1;var t=bi,e=B3(),n=t.isTag;yp={getInnerHTML:r,getOuterHTML:e,getText:o};function r(s,i){return s.children?s.children.map(function(a){return e(a,i)}).join(""):""}function o(s){return Array.isArray(s)?s.map(o).join(""):n(s)?s.name==="br"?` `:o(s.children):s.type===t.CDATA?o(s.children):s.type===t.Text?s.data:""}return yp}var gr={},ww;function U3(){if(ww)return gr;ww=1;var t=gr.getChildren=function(n){return n.children},e=gr.getParent=function(n){return n.parent};return gr.getSiblings=function(n){var r=e(n);return r?t(r):[n]},gr.getAttributeValue=function(n,r){return n.attribs&&n.attribs[r]},gr.hasAttrib=function(n,r){return!!n.attribs&&hasOwnProperty.call(n.attribs,r)},gr.getName=function(n){return n.name},gr}var Fr={},xw;function F3(){return xw||(xw=1,Fr.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},Fr.replaceElement=function(t,e){var n=e.prev=t.prev;n&&(n.next=e);var r=e.next=t.next;r&&(r.prev=e);var o=e.parent=t.parent;if(o){var s=o.children;s[s.lastIndexOf(t)]=e}},Fr.appendChild=function(t,e){if(e.parent=t,t.children.push(e)!==1){var n=t.children[t.children.length-2];n.next=e,e.prev=n,e.next=null}},Fr.append=function(t,e){var n=t.parent,r=t.next;if(e.next=r,e.prev=t,t.next=e,e.parent=n,r){if(r.prev=e,n){var o=n.children;o.splice(o.lastIndexOf(r),0,e)}}else n&&n.children.push(e)},Fr.prepend=function(t,e){var n=t.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e}),Fr}var bp,Sw;function j3(){if(Sw)return bp;Sw=1;var t=bi.isTag;bp={filter:e,find:n,findOneChild:r,findOne:o,existsOne:s,findAll:i};function e(a,c,l,u){return Array.isArray(c)||(c=[c]),(typeof u!="number"||!isFinite(u))&&(u=1/0),n(a,c,l!==!1,u)}function n(a,c,l,u){for(var f=[],p,d=0,m=c.length;d<m&&!(a(c[d])&&(f.push(c[d]),--u<=0)||(p=c[d].children,l&&p&&p.length>0&&(p=n(a,p,l,u),f=f.concat(p),u-=p.length,u<=0)));d++);return f}function r(a,c){for(var l=0,u=c.length;l<u;l++)if(a(c[l]))return c[l];return null}function o(a,c){for(var l=null,u=0,f=c.length;u<f&&!l;u++)if(t(c[u]))a(c[u])?l=c[u]:c[u].children.length>0&&(l=o(a,c[u].children));else continue;return l}function s(a,c){for(var l=0,u=c.length;l<u;l++)if(t(c[l])&&(a(c[l])||c[l].children.length>0&&s(a,c[l].children)))return!0;return!1}function i(a,c){for(var l=[],u=c.slice();u.length;){var f=u.shift();t(f)&&(f.children&&f.children.length>0&&u.unshift.apply(u,f.children),a(f)&&l.push(f))}return l}return bp}var mr={},Ew;function z3(){if(Ew)return mr;Ew=1;var t=bi,e=mr.isTag=t.isTag;mr.testElement=function(s,i){for(var a in s)if(s.hasOwnProperty(a)){if(a==="tag_name"){if(!e(i)||!s.tag_name(i.name))return!1}else if(a==="tag_type"){if(!s.tag_type(i.type))return!1}else if(a==="tag_contains"){if(e(i)||!s.tag_contains(i.data))return!1}else if(!i.attribs||!s[a](i.attribs[a]))return!1}return!0};var n={tag_name:function(s){return typeof s=="function"?function(i){return e(i)&&s(i.name)}:s==="*"?e:function(i){return e(i)&&i.name===s}},tag_type:function(s){return typeof s=="function"?function(i){return s(i.type)}:function(i){return i.type===s}},tag_contains:function(s){return typeof s=="function"?function(i){return!e(i)&&s(i.data)}:function(i){return!e(i)&&i.data===s}}};function r(s,i){return typeof i=="function"?function(a){return a.attribs&&i(a.attribs[s])}:function(a){return a.attribs&&a.attribs[s]===i}}function o(s,i){return function(a){return s(a)||i(a)}}return mr.getElements=function(s,i,a,c){var l=Object.keys(s).map(function(u){var f=s[u];return u in n?n[u](f):r(u,f)});return l.length===0?[]:this.filter(l.reduce(o),i,a,c)},mr.getElementById=function(s,i,a){return Array.isArray(i)||(i=[i]),this.findOne(r("id",s),i,a!==!1)},mr.getElementsByTagName=function(s,i,a,c){return this.filter(n.tag_name(s),i,a,c)},mr.getElementsByTagType=function(s,i,a,c){return this.filter(n.tag_type(s),i,a,c)},mr}var wi={},_w;function H3(){if(_w)return wi;_w=1,wi.removeSubsets=function(n){for(var r=n.length,o,s,i;--r>-1;){for(o=s=n[r],n[r]=null,i=!0;s;){if(n.indexOf(s)>-1){i=!1,n.splice(r,1);break}s=s.parent}i&&(n[r]=o)}return n};var t={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},e=wi.compareDocumentPosition=function(n,r){var o=[],s=[],i,a,c,l,u,f;if(n===r)return 0;for(i=n;i;)o.unshift(i),i=i.parent;for(i=r;i;)s.unshift(i),i=i.parent;for(f=0;o[f]===s[f];)f++;return f===0?t.DISCONNECTED:(a=o[f-1],c=a.children,l=o[f],u=s[f],c.indexOf(l)>c.indexOf(u)?a===r?t.FOLLOWING|t.CONTAINED_BY:t.FOLLOWING:a===n?t.PRECEDING|t.CONTAINS:t.PRECEDING)};return wi.uniqueSort=function(n){var r=n.length,o,s;for(n=n.slice();--r>-1;)o=n[r],s=n.indexOf(o),s>-1&&s<r&&n.splice(r,1);return n.sort(function(i,a){var c=e(i,a);return c&t.PRECEDING?-1:c&t.FOLLOWING?1:0}),n},wi}var Tw;function Cw(){return Tw||(Tw=1,function(t){var e=t.exports;[V3(),U3(),F3(),j3(),z3(),H3()].forEach(function(n){Object.keys(n).forEach(function(r){e[r]=n[r].bind(e)})})}(gp)),gp.exports}var wp,kw;function G3(){if(kw)return wp;kw=1;var t=lw,e=Cw();function n(c,l){this.init(c,l)}Hc(n,t),n.prototype.init=t;function r(c,l){return e.getElementsByTagName(c,l,!0)}function o(c,l){return e.getElementsByTagName(c,l,!0,1)[0]}function s(c,l,u){return e.getText(e.getElementsByTagName(c,l,u,1)).trim()}function i(c,l,u,f,p){var d=s(u,f,p);d&&(c[l]=d)}var a=function(c){return c==="rss"||c==="feed"||c==="rdf:RDF"};return n.prototype.onend=function(){var c={},l=o(a,this.dom),u,f;l&&(l.name==="feed"?(f=l.children,c.type="atom",i(c,"id","id",f),i(c,"title","title",f),(u=o("link",f))&&(u=u.attribs)&&(u=u.href)&&(c.link=u),i(c,"description","subtitle",f),(u=s("updated",f))&&(c.updated=new Date(u)),i(c,"author","email",f,!0),c.items=r("entry",f).map(function(p){var d={},m;return p=p.children,i(d,"id","id",p),i(d,"title","title",p),(m=o("link",p))&&(m=m.attribs)&&(m=m.href)&&(d.link=m),(m=s("summary",p)||s("content",p))&&(d.description=m),(m=s("updated",p))&&(d.pubDate=new Date(m)),d})):(f=o("channel",l.children).children,c.type=l.name.substr(0,3),c.id="",i(c,"title","title",f),i(c,"link","link",f),i(c,"description","description",f),(u=s("lastBuildDate",f))&&(c.updated=new Date(u)),i(c,"author","managingEditor",f,!0),c.items=r("item",l.children).map(function(p){var d={},m;return p=p.children,i(d,"id","guid",p),i(d,"title","title",p),i(d,"link","link",p),i(d,"description","description",p),(m=s("pubDate",p))&&(d.pubDate=new Date(m)),d}))),this.dom=c,t.prototype._handleCallback.call(this,l?null:Error("couldn't find root of feed"))},wp=n,wp}var xp={},Kc={exports:{}},Sp={},xi={},Aw;function W3(){if(Aw)return xi;Aw=1,xi.byteLength=a,xi.toByteArray=l,xi.fromByteArray=p;for(var t=[],e=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=r.length;o<s;++o)t[o]=r[o],e[r.charCodeAt(o)]=o;e[45]=62,e[95]=63;function i(d){var m=d.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=d.indexOf("=");y===-1&&(y=m);var x=y===m?0:4-y%4;return[y,x]}function a(d){var m=i(d),y=m[0],x=m[1];return(y+x)*3/4-x}function c(d,m,y){return(m+y)*3/4-y}function l(d){var m,y=i(d),x=y[0],h=y[1],$=new n(c(d,x,h)),b=0,S=h>0?x-4:x,_;for(_=0;_<S;_+=4)m=e[d.charCodeAt(_)]<<18|e[d.charCodeAt(_+1)]<<12|e[d.charCodeAt(_+2)]<<6|e[d.charCodeAt(_+3)],$[b++]=m>>16&255,$[b++]=m>>8&255,$[b++]=m&255;return h===2&&(m=e[d.charCodeAt(_)]<<2|e[d.charCodeAt(_+1)]>>4,$[b++]=m&255),h===1&&(m=e[d.charCodeAt(_)]<<10|e[d.charCodeAt(_+1)]<<4|e[d.charCodeAt(_+2)]>>2,$[b++]=m>>8&255,$[b++]=m&255),$}function u(d){return t[d>>18&63]+t[d>>12&63]+t[d>>6&63]+t[d&63]}function f(d,m,y){for(var x,h=[],$=m;$<y;$+=3)x=(d[$]<<16&16711680)+(d[$+1]<<8&65280)+(d[$+2]&255),h.push(u(x));return h.join("")}function p(d){for(var m,y=d.length,x=y%3,h=[],$=16383,b=0,S=y-x;b<S;b+=$)h.push(f(d,b,b+$>S?S:b+$));return x===1?(m=d[y-1],h.push(t[m>>2]+t[m<<4&63]+"==")):x===2&&(m=(d[y-2]<<8)+d[y-1],h.push(t[m>>10]+t[m>>4&63]+t[m<<2&63]+"=")),h.join("")}return xi}var Zc={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var Lw;function Y3(){return Lw||(Lw=1,Zc.read=function(t,e,n,r,o){var s,i,a=o*8-r-1,c=(1<<a)-1,l=c>>1,u=-7,f=n?o-1:0,p=n?-1:1,d=t[e+f];for(f+=p,s=d&(1<<-u)-1,d>>=-u,u+=a;u>0;s=s*256+t[e+f],f+=p,u-=8);for(i=s&(1<<-u)-1,s>>=-u,u+=r;u>0;i=i*256+t[e+f],f+=p,u-=8);if(s===0)s=1-l;else{if(s===c)return i?NaN:(d?-1:1)*(1/0);i=i+Math.pow(2,r),s=s-l}return(d?-1:1)*i*Math.pow(2,s-r)},Zc.write=function(t,e,n,r,o,s){var i,a,c,l=s*8-o-1,u=(1<<l)-1,f=u>>1,p=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:s-1,m=r?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,i=u):(i=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-i))<1&&(i--,c*=2),i+f>=1?e+=p/c:e+=p*Math.pow(2,1-f),e*c>=2&&(i++,c/=2),i+f>=u?(a=0,i=u):i+f>=1?(a=(e*c-1)*Math.pow(2,o),i=i+f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;t[n+d]=a&255,d+=m,a/=256,o-=8);for(i=i<<o|a,l+=o;l>0;t[n+d]=i&255,d+=m,i/=256,l-=8);t[n+d-m]|=y*128}),Zc}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */var qw;function Rw(){return qw||(qw=1,function(t){var e=W3(),n=Y3(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=a,t.SlowBuffer=$,t.INSPECT_MAX_BYTES=50;var o=2147483647;t.kMaxLength=o,a.TYPED_ARRAY_SUPPORT=s(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function s(){try{var w=new Uint8Array(1),g={foo:function(){return 42}};return Object.setPrototypeOf(g,Uint8Array.prototype),Object.setPrototypeOf(w,g),w.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function i(w){if(w>o)throw new RangeError('The value "'+w+'" is invalid for option "size"');var g=new Uint8Array(w);return Object.setPrototypeOf(g,a.prototype),g}function a(w,g,v){if(typeof w=="number"){if(typeof g=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(w)}return c(w,g,v)}a.poolSize=8192;function c(w,g,v){if(typeof w=="string")return p(w,g);if(ArrayBuffer.isView(w))return m(w);if(w==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w);if(Vt(w,ArrayBuffer)||w&&Vt(w.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Vt(w,SharedArrayBuffer)||w&&Vt(w.buffer,SharedArrayBuffer)))return y(w,g,v);if(typeof w=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var E=w.valueOf&&w.valueOf();if(E!=null&&E!==w)return a.from(E,g,v);var A=x(w);if(A)return A;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof w[Symbol.toPrimitive]=="function")return a.from(w[Symbol.toPrimitive]("string"),g,v);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof w)}a.from=function(w,g,v){return c(w,g,v)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function l(w){if(typeof w!="number")throw new TypeError('"size" argument must be of type number');if(w<0)throw new RangeError('The value "'+w+'" is invalid for option "size"')}function u(w,g,v){return l(w),w<=0?i(w):g!==void 0?typeof v=="string"?i(w).fill(g,v):i(w).fill(g):i(w)}a.alloc=function(w,g,v){return u(w,g,v)};function f(w){return l(w),i(w<0?0:h(w)|0)}a.allocUnsafe=function(w){return f(w)},a.allocUnsafeSlow=function(w){return f(w)};function p(w,g){if((typeof g!="string"||g==="")&&(g="utf8"),!a.isEncoding(g))throw new TypeError("Unknown encoding: "+g);var v=b(w,g)|0,E=i(v),A=E.write(w,g);return A!==v&&(E=E.slice(0,A)),E}function d(w){for(var g=w.length<0?0:h(w.length)|0,v=i(g),E=0;E<g;E+=1)v[E]=w[E]&255;return v}function m(w){if(Vt(w,Uint8Array)){var g=new Uint8Array(w);return y(g.buffer,g.byteOffset,g.byteLength)}return d(w)}function y(w,g,v){if(g<0||w.byteLength<g)throw new RangeError('"offset" is outside of buffer bounds');if(w.byteLength<g+(v||0))throw new RangeError('"length" is outside of buffer bounds');var E;return g===void 0&&v===void 0?E=new Uint8Array(w):v===void 0?E=new Uint8Array(w,g):E=new Uint8Array(w,g,v),Object.setPrototypeOf(E,a.prototype),E}function x(w){if(a.isBuffer(w)){var g=h(w.length)|0,v=i(g);return v.length===0||w.copy(v,0,0,g),v}if(w.length!==void 0)return typeof w.length!="number"||pe(w.length)?i(0):d(w);if(w.type==="Buffer"&&Array.isArray(w.data))return d(w.data)}function h(w){if(w>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return w|0}function $(w){return+w!=w&&(w=0),a.alloc(+w)}a.isBuffer=function(g){return g!=null&&g._isBuffer===!0&&g!==a.prototype},a.compare=function(g,v){if(Vt(g,Uint8Array)&&(g=a.from(g,g.offset,g.byteLength)),Vt(v,Uint8Array)&&(v=a.from(v,v.offset,v.byteLength)),!a.isBuffer(g)||!a.isBuffer(v))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(g===v)return 0;for(var E=g.length,A=v.length,M=0,F=Math.min(E,A);M<F;++M)if(g[M]!==v[M]){E=g[M],A=v[M];break}return E<A?-1:A<E?1:0},a.isEncoding=function(g){switch(String(g).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(g,v){if(!Array.isArray(g))throw new TypeError('"list" argument must be an Array of Buffers');if(g.length===0)return a.alloc(0);var E;if(v===void 0)for(v=0,E=0;E<g.length;++E)v+=g[E].length;var A=a.allocUnsafe(v),M=0;for(E=0;E<g.length;++E){var F=g[E];if(Vt(F,Uint8Array))M+F.length>A.length?a.from(F).copy(A,M):Uint8Array.prototype.set.call(A,F,M);else if(a.isBuffer(F))F.copy(A,M);else throw new TypeError('"list" argument must be an Array of Buffers');M+=F.length}return A};function b(w,g){if(a.isBuffer(w))return w.length;if(ArrayBuffer.isView(w)||Vt(w,ArrayBuffer))return w.byteLength;if(typeof w!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof w);var v=w.length,E=arguments.length>2&&arguments[2]===!0;if(!E&&v===0)return 0;for(var A=!1;;)switch(g){case"ascii":case"latin1":case"binary":return v;case"utf8":case"utf-8":return mt(w).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v*2;case"hex":return v>>>1;case"base64":return It(w).length;default:if(A)return E?-1:mt(w).length;g=(""+g).toLowerCase(),A=!0}}a.byteLength=b;function S(w,g,v){var E=!1;if((g===void 0||g<0)&&(g=0),g>this.length||((v===void 0||v>this.length)&&(v=this.length),v<=0)||(v>>>=0,g>>>=0,v<=g))return"";for(w||(w="utf8");;)switch(w){case"hex":return N(this,g,v);case"utf8":case"utf-8":return X(this,g,v);case"ascii":return W(this,g,v);case"latin1":case"binary":return L(this,g,v);case"base64":return ct(this,g,v);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,g,v);default:if(E)throw new TypeError("Unknown encoding: "+w);w=(w+"").toLowerCase(),E=!0}}a.prototype._isBuffer=!0;function _(w,g,v){var E=w[g];w[g]=w[v],w[v]=E}a.prototype.swap16=function(){var g=this.length;if(g%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var v=0;v<g;v+=2)_(this,v,v+1);return this},a.prototype.swap32=function(){var g=this.length;if(g%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var v=0;v<g;v+=4)_(this,v,v+3),_(this,v+1,v+2);return this},a.prototype.swap64=function(){var g=this.length;if(g%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var v=0;v<g;v+=8)_(this,v,v+7),_(this,v+1,v+6),_(this,v+2,v+5),_(this,v+3,v+4);return this},a.prototype.toString=function(){var g=this.length;return g===0?"":arguments.length===0?X(this,0,g):S.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(g){if(!a.isBuffer(g))throw new TypeError("Argument must be a Buffer");return this===g?!0:a.compare(this,g)===0},a.prototype.inspect=function(){var g="",v=t.INSPECT_MAX_BYTES;return g=this.toString("hex",0,v).replace(/(.{2})/g,"$1 ").trim(),this.length>v&&(g+=" ... "),"<Buffer "+g+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(g,v,E,A,M){if(Vt(g,Uint8Array)&&(g=a.from(g,g.offset,g.byteLength)),!a.isBuffer(g))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof g);if(v===void 0&&(v=0),E===void 0&&(E=g?g.length:0),A===void 0&&(A=0),M===void 0&&(M=this.length),v<0||E>g.length||A<0||M>this.length)throw new RangeError("out of range index");if(A>=M&&v>=E)return 0;if(A>=M)return-1;if(v>=E)return 1;if(v>>>=0,E>>>=0,A>>>=0,M>>>=0,this===g)return 0;for(var F=M-A,ut=E-v,vt=Math.min(F,ut),$t=this.slice(A,M),te=g.slice(v,E),Pt=0;Pt<vt;++Pt)if($t[Pt]!==te[Pt]){F=$t[Pt],ut=te[Pt];break}return F<ut?-1:ut<F?1:0};function k(w,g,v,E,A){if(w.length===0)return-1;if(typeof v=="string"?(E=v,v=0):v>2147483647?v=2147483647:v<-2147483648&&(v=-2147483648),v=+v,pe(v)&&(v=A?0:w.length-1),v<0&&(v=w.length+v),v>=w.length){if(A)return-1;v=w.length-1}else if(v<0)if(A)v=0;else return-1;if(typeof g=="string"&&(g=a.from(g,E)),a.isBuffer(g))return g.length===0?-1:C(w,g,v,E,A);if(typeof g=="number")return g=g&255,typeof Uint8Array.prototype.indexOf=="function"?A?Uint8Array.prototype.indexOf.call(w,g,v):Uint8Array.prototype.lastIndexOf.call(w,g,v):C(w,[g],v,E,A);throw new TypeError("val must be string, number or Buffer")}function C(w,g,v,E,A){var M=1,F=w.length,ut=g.length;if(E!==void 0&&(E=String(E).toLowerCase(),E==="ucs2"||E==="ucs-2"||E==="utf16le"||E==="utf-16le")){if(w.length<2||g.length<2)return-1;M=2,F/=2,ut/=2,v/=2}function vt(jo,zo){return M===1?jo[zo]:jo.readUInt16BE(zo*M)}var $t;if(A){var te=-1;for($t=v;$t<F;$t++)if(vt(w,$t)===vt(g,te===-1?0:$t-te)){if(te===-1&&(te=$t),$t-te+1===ut)return te*M}else te!==-1&&($t-=$t-te),te=-1}else for(v+ut>F&&(v=F-ut),$t=v;$t>=0;$t--){for(var Pt=!0,Ei=0;Ei<ut;Ei++)if(vt(w,$t+Ei)!==vt(g,Ei)){Pt=!1;break}if(Pt)return $t}return-1}a.prototype.includes=function(g,v,E){return this.indexOf(g,v,E)!==-1},a.prototype.indexOf=function(g,v,E){return k(this,g,v,E,!0)},a.prototype.lastIndexOf=function(g,v,E){return k(this,g,v,E,!1)};function R(w,g,v,E){v=Number(v)||0;var A=w.length-v;E?(E=Number(E),E>A&&(E=A)):E=A;var M=g.length;E>M/2&&(E=M/2);for(var F=0;F<E;++F){var ut=parseInt(g.substr(F*2,2),16);if(pe(ut))return F;w[v+F]=ut}return F}function D(w,g,v,E){return qt(mt(g,w.length-v),w,v,E)}function I(w,g,v,E){return qt(xt(g),w,v,E)}function Z(w,g,v,E){return qt(It(g),w,v,E)}function st(w,g,v,E){return qt(St(g,w.length-v),w,v,E)}a.prototype.write=function(g,v,E,A){if(v===void 0)A="utf8",E=this.length,v=0;else if(E===void 0&&typeof v=="string")A=v,E=this.length,v=0;else if(isFinite(v))v=v>>>0,isFinite(E)?(E=E>>>0,A===void 0&&(A="utf8")):(A=E,E=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var M=this.length-v;if((E===void 0||E>M)&&(E=M),g.length>0&&(E<0||v<0)||v>this.length)throw new RangeError("Attempt to write outside buffer bounds");A||(A="utf8");for(var F=!1;;)switch(A){case"hex":return R(this,g,v,E);case"utf8":case"utf-8":return D(this,g,v,E);case"ascii":case"latin1":case"binary":return I(this,g,v,E);case"base64":return Z(this,g,v,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return st(this,g,v,E);default:if(F)throw new TypeError("Unknown encoding: "+A);A=(""+A).toLowerCase(),F=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ct(w,g,v){return g===0&&v===w.length?e.fromByteArray(w):e.fromByteArray(w.slice(g,v))}function X(w,g,v){v=Math.min(w.length,v);for(var E=[],A=g;A<v;){var M=w[A],F=null,ut=M>239?4:M>223?3:M>191?2:1;if(A+ut<=v){var vt,$t,te,Pt;switch(ut){case 1:M<128&&(F=M);break;case 2:vt=w[A+1],(vt&192)===128&&(Pt=(M&31)<<6|vt&63,Pt>127&&(F=Pt));break;case 3:vt=w[A+1],$t=w[A+2],(vt&192)===128&&($t&192)===128&&(Pt=(M&15)<<12|(vt&63)<<6|$t&63,Pt>2047&&(Pt<55296||Pt>57343)&&(F=Pt));break;case 4:vt=w[A+1],$t=w[A+2],te=w[A+3],(vt&192)===128&&($t&192)===128&&(te&192)===128&&(Pt=(M&15)<<18|(vt&63)<<12|($t&63)<<6|te&63,Pt>65535&&Pt<1114112&&(F=Pt))}}F===null?(F=65533,ut=1):F>65535&&(F-=65536,E.push(F>>>10&1023|55296),F=56320|F&1023),E.push(F),A+=ut}return B(E)}var U=4096;function B(w){var g=w.length;if(g<=U)return String.fromCharCode.apply(String,w);for(var v="",E=0;E<g;)v+=String.fromCharCode.apply(String,w.slice(E,E+=U));return v}function W(w,g,v){var E="";v=Math.min(w.length,v);for(var A=g;A<v;++A)E+=String.fromCharCode(w[A]&127);return E}function L(w,g,v){var E="";v=Math.min(w.length,v);for(var A=g;A<v;++A)E+=String.fromCharCode(w[A]);return E}function N(w,g,v){var E=w.length;(!g||g<0)&&(g=0),(!v||v<0||v>E)&&(v=E);for(var A="",M=g;M<v;++M)A+=pt[w[M]];return A}function O(w,g,v){for(var E=w.slice(g,v),A="",M=0;M<E.length-1;M+=2)A+=String.fromCharCode(E[M]+E[M+1]*256);return A}a.prototype.slice=function(g,v){var E=this.length;g=~~g,v=v===void 0?E:~~v,g<0?(g+=E,g<0&&(g=0)):g>E&&(g=E),v<0?(v+=E,v<0&&(v=0)):v>E&&(v=E),v<g&&(v=g);var A=this.subarray(g,v);return Object.setPrototypeOf(A,a.prototype),A};function z(w,g,v){if(w%1!==0||w<0)throw new RangeError("offset is not uint");if(w+g>v)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(g,v,E){g=g>>>0,v=v>>>0,E||z(g,v,this.length);for(var A=this[g],M=1,F=0;++F<v&&(M*=256);)A+=this[g+F]*M;return A},a.prototype.readUintBE=a.prototype.readUIntBE=function(g,v,E){g=g>>>0,v=v>>>0,E||z(g,v,this.length);for(var A=this[g+--v],M=1;v>0&&(M*=256);)A+=this[g+--v]*M;return A},a.prototype.readUint8=a.prototype.readUInt8=function(g,v){return g=g>>>0,v||z(g,1,this.length),this[g]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(g,v){return g=g>>>0,v||z(g,2,this.length),this[g]|this[g+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(g,v){return g=g>>>0,v||z(g,2,this.length),this[g]<<8|this[g+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(g,v){return g=g>>>0,v||z(g,4,this.length),(this[g]|this[g+1]<<8|this[g+2]<<16)+this[g+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(g,v){return g=g>>>0,v||z(g,4,this.length),this[g]*16777216+(this[g+1]<<16|this[g+2]<<8|this[g+3])},a.prototype.readIntLE=function(g,v,E){g=g>>>0,v=v>>>0,E||z(g,v,this.length);for(var A=this[g],M=1,F=0;++F<v&&(M*=256);)A+=this[g+F]*M;return M*=128,A>=M&&(A-=Math.pow(2,8*v)),A},a.prototype.readIntBE=function(g,v,E){g=g>>>0,v=v>>>0,E||z(g,v,this.length);for(var A=v,M=1,F=this[g+--A];A>0&&(M*=256);)F+=this[g+--A]*M;return M*=128,F>=M&&(F-=Math.pow(2,8*v)),F},a.prototype.readInt8=function(g,v){return g=g>>>0,v||z(g,1,this.length),this[g]&128?(255-this[g]+1)*-1:this[g]},a.prototype.readInt16LE=function(g,v){g=g>>>0,v||z(g,2,this.length);var E=this[g]|this[g+1]<<8;return E&32768?E|4294901760:E},a.prototype.readInt16BE=function(g,v){g=g>>>0,v||z(g,2,this.length);var E=this[g+1]|this[g]<<8;return E&32768?E|4294901760:E},a.prototype.readInt32LE=function(g,v){return g=g>>>0,v||z(g,4,this.length),this[g]|this[g+1]<<8|this[g+2]<<16|this[g+3]<<24},a.prototype.readInt32BE=function(g,v){return g=g>>>0,v||z(g,4,this.length),this[g]<<24|this[g+1]<<16|this[g+2]<<8|this[g+3]},a.prototype.readFloatLE=function(g,v){return g=g>>>0,v||z(g,4,this.length),n.read(this,g,!0,23,4)},a.prototype.readFloatBE=function(g,v){return g=g>>>0,v||z(g,4,this.length),n.read(this,g,!1,23,4)},a.prototype.readDoubleLE=function(g,v){return g=g>>>0,v||z(g,8,this.length),n.read(this,g,!0,52,8)},a.prototype.readDoubleBE=function(g,v){return g=g>>>0,v||z(g,8,this.length),n.read(this,g,!1,52,8)};function H(w,g,v,E,A,M){if(!a.isBuffer(w))throw new TypeError('"buffer" argument must be a Buffer instance');if(g>A||g<M)throw new RangeError('"value" argument is out of bounds');if(v+E>w.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(g,v,E,A){if(g=+g,v=v>>>0,E=E>>>0,!A){var M=Math.pow(2,8*E)-1;H(this,g,v,E,M,0)}var F=1,ut=0;for(this[v]=g&255;++ut<E&&(F*=256);)this[v+ut]=g/F&255;return v+E},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(g,v,E,A){if(g=+g,v=v>>>0,E=E>>>0,!A){var M=Math.pow(2,8*E)-1;H(this,g,v,E,M,0)}var F=E-1,ut=1;for(this[v+F]=g&255;--F>=0&&(ut*=256);)this[v+F]=g/ut&255;return v+E},a.prototype.writeUint8=a.prototype.writeUInt8=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,1,255,0),this[v]=g&255,v+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,2,65535,0),this[v]=g&255,this[v+1]=g>>>8,v+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,2,65535,0),this[v]=g>>>8,this[v+1]=g&255,v+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,4,4294967295,0),this[v+3]=g>>>24,this[v+2]=g>>>16,this[v+1]=g>>>8,this[v]=g&255,v+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,4,4294967295,0),this[v]=g>>>24,this[v+1]=g>>>16,this[v+2]=g>>>8,this[v+3]=g&255,v+4},a.prototype.writeIntLE=function(g,v,E,A){if(g=+g,v=v>>>0,!A){var M=Math.pow(2,8*E-1);H(this,g,v,E,M-1,-M)}var F=0,ut=1,vt=0;for(this[v]=g&255;++F<E&&(ut*=256);)g<0&&vt===0&&this[v+F-1]!==0&&(vt=1),this[v+F]=(g/ut>>0)-vt&255;return v+E},a.prototype.writeIntBE=function(g,v,E,A){if(g=+g,v=v>>>0,!A){var M=Math.pow(2,8*E-1);H(this,g,v,E,M-1,-M)}var F=E-1,ut=1,vt=0;for(this[v+F]=g&255;--F>=0&&(ut*=256);)g<0&&vt===0&&this[v+F+1]!==0&&(vt=1),this[v+F]=(g/ut>>0)-vt&255;return v+E},a.prototype.writeInt8=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,1,127,-128),g<0&&(g=255+g+1),this[v]=g&255,v+1},a.prototype.writeInt16LE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,2,32767,-32768),this[v]=g&255,this[v+1]=g>>>8,v+2},a.prototype.writeInt16BE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,2,32767,-32768),this[v]=g>>>8,this[v+1]=g&255,v+2},a.prototype.writeInt32LE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,4,2147483647,-2147483648),this[v]=g&255,this[v+1]=g>>>8,this[v+2]=g>>>16,this[v+3]=g>>>24,v+4},a.prototype.writeInt32BE=function(g,v,E){return g=+g,v=v>>>0,E||H(this,g,v,4,2147483647,-2147483648),g<0&&(g=4294967295+g+1),this[v]=g>>>24,this[v+1]=g>>>16,this[v+2]=g>>>8,this[v+3]=g&255,v+4};function J(w,g,v,E,A,M){if(v+E>w.length)throw new RangeError("Index out of range");if(v<0)throw new RangeError("Index out of range")}function P(w,g,v,E,A){return g=+g,v=v>>>0,A||J(w,g,v,4),n.write(w,g,v,E,23,4),v+4}a.prototype.writeFloatLE=function(g,v,E){return P(this,g,v,!0,E)},a.prototype.writeFloatBE=function(g,v,E){return P(this,g,v,!1,E)};function Y(w,g,v,E,A){return g=+g,v=v>>>0,A||J(w,g,v,8),n.write(w,g,v,E,52,8),v+8}a.prototype.writeDoubleLE=function(g,v,E){return Y(this,g,v,!0,E)},a.prototype.writeDoubleBE=function(g,v,E){return Y(this,g,v,!1,E)},a.prototype.copy=function(g,v,E,A){if(!a.isBuffer(g))throw new TypeError("argument should be a Buffer");if(E||(E=0),!A&&A!==0&&(A=this.length),v>=g.length&&(v=g.length),v||(v=0),A>0&&A<E&&(A=E),A===E||g.length===0||this.length===0)return 0;if(v<0)throw new RangeError("targetStart out of bounds");if(E<0||E>=this.length)throw new RangeError("Index out of range");if(A<0)throw new RangeError("sourceEnd out of bounds");A>this.length&&(A=this.length),g.length-v<A-E&&(A=g.length-v+E);var M=A-E;return this===g&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(v,E,A):Uint8Array.prototype.set.call(g,this.subarray(E,A),v),M},a.prototype.fill=function(g,v,E,A){if(typeof g=="string"){if(typeof v=="string"?(A=v,v=0,E=this.length):typeof E=="string"&&(A=E,E=this.length),A!==void 0&&typeof A!="string")throw new TypeError("encoding must be a string");if(typeof A=="string"&&!a.isEncoding(A))throw new TypeError("Unknown encoding: "+A);if(g.length===1){var M=g.charCodeAt(0);(A==="utf8"&&M<128||A==="latin1")&&(g=M)}}else typeof g=="number"?g=g&255:typeof g=="boolean"&&(g=Number(g));if(v<0||this.length<v||this.length<E)throw new RangeError("Out of range index");if(E<=v)return this;v=v>>>0,E=E===void 0?this.length:E>>>0,g||(g=0);var F;if(typeof g=="number")for(F=v;F<E;++F)this[F]=g;else{var ut=a.isBuffer(g)?g:a.from(g,A),vt=ut.length;if(vt===0)throw new TypeError('The value "'+g+'" is invalid for argument "value"');for(F=0;F<E-v;++F)this[F+v]=ut[F%vt]}return this};var ot=/[^+/0-9A-Za-z-_]/g;function ft(w){if(w=w.split("=")[0],w=w.trim().replace(ot,""),w.length<2)return"";for(;w.length%4!==0;)w=w+"=";return w}function mt(w,g){g=g||1/0;for(var v,E=w.length,A=null,M=[],F=0;F<E;++F){if(v=w.charCodeAt(F),v>55295&&v<57344){if(!A){if(v>56319){(g-=3)>-1&&M.push(239,191,189);continue}else if(F+1===E){(g-=3)>-1&&M.push(239,191,189);continue}A=v;continue}if(v<56320){(g-=3)>-1&&M.push(239,191,189),A=v;continue}v=(A-55296<<10|v-56320)+65536}else A&&(g-=3)>-1&&M.push(239,191,189);if(A=null,v<128){if((g-=1)<0)break;M.push(v)}else if(v<2048){if((g-=2)<0)break;M.push(v>>6|192,v&63|128)}else if(v<65536){if((g-=3)<0)break;M.push(v>>12|224,v>>6&63|128,v&63|128)}else if(v<1114112){if((g-=4)<0)break;M.push(v>>18|240,v>>12&63|128,v>>6&63|128,v&63|128)}else throw new Error("Invalid code point")}return M}function xt(w){for(var g=[],v=0;v<w.length;++v)g.push(w.charCodeAt(v)&255);return g}function St(w,g){for(var v,E,A,M=[],F=0;F<w.length&&!((g-=2)<0);++F)v=w.charCodeAt(F),E=v>>8,A=v%256,M.push(A),M.push(E);return M}function It(w){return e.toByteArray(ft(w))}function qt(w,g,v,E){for(var A=0;A<E&&!(A+v>=g.length||A>=w.length);++A)g[A+v]=w[A];return A}function Vt(w,g){return w instanceof g||w!=null&&w.constructor!=null&&w.constructor.name!=null&&w.constructor.name===g.name}function pe(w){return w!==w}var pt=function(){for(var w="0123456789abcdef",g=new Array(256),v=0;v<16;++v)for(var E=v*16,A=0;A<16;++A)g[E+A]=w[v]+w[A];return g}()}(Sp)),Sp}/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Dw;function K3(){return Dw||(Dw=1,function(t,e){var n=Rw(),r=n.Buffer;function o(i,a){for(var c in i)a[c]=i[c]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=s);function s(i,a,c){return r(i,a,c)}s.prototype=Object.create(r.prototype),o(r,s),s.from=function(i,a,c){if(typeof i=="number")throw new TypeError("Argument must not be a number");return r(i,a,c)},s.alloc=function(i,a,c){if(typeof i!="number")throw new TypeError("Argument must be a number");var l=r(i);return a!==void 0?typeof c=="string"?l.fill(a,c):l.fill(a):l.fill(0),l},s.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return r(i)},s.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(i)}}(Kc,Kc.exports)),Kc.exports}var Nw;function Z3(){if(Nw)return xp;Nw=1;var t=K3().Buffer,e=t.isEncoding||function(h){switch(h=""+h,h&&h.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function n(h){if(!h)return"utf8";for(var $;;)switch(h){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return h;default:if($)return;h=(""+h).toLowerCase(),$=!0}}function r(h){var $=n(h);if(typeof $!="string"&&(t.isEncoding===e||!e(h)))throw new Error("Unknown encoding: "+h);return $||h}xp.StringDecoder=o;function o(h){this.encoding=r(h);var $;switch(this.encoding){case"utf16le":this.text=f,this.end=p,$=4;break;case"utf8":this.fillLast=c,$=4;break;case"base64":this.text=d,this.end=m,$=3;break;default:this.write=y,this.end=x;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe($)}o.prototype.write=function(h){if(h.length===0)return"";var $,b;if(this.lastNeed){if($=this.fillLast(h),$===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<h.length?$?$+this.text(h,b):this.text(h,b):$||""},o.prototype.end=u,o.prototype.text=l,o.prototype.fillLast=function(h){if(this.lastNeed<=h.length)return h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,this.lastTotal-this.lastNeed,0,h.length),this.lastNeed-=h.length};function s(h){return h<=127?0:h>>5===6?2:h>>4===14?3:h>>3===30?4:h>>6===2?-1:-2}function i(h,$,b){var S=$.length-1;if(S<b)return 0;var _=s($[S]);return _>=0?(_>0&&(h.lastNeed=_-1),_):--S<b||_===-2?0:(_=s($[S]),_>=0?(_>0&&(h.lastNeed=_-2),_):--S<b||_===-2?0:(_=s($[S]),_>=0?(_>0&&(_===2?_=0:h.lastNeed=_-3),_):0))}function a(h,$,b){if(($[0]&192)!==128)return h.lastNeed=0,"�";if(h.lastNeed>1&&$.length>1){if(($[1]&192)!==128)return h.lastNeed=1,"�";if(h.lastNeed>2&&$.length>2&&($[2]&192)!==128)return h.lastNeed=2,"�"}}function c(h){var $=this.lastTotal-this.lastNeed,b=a(this,h);if(b!==void 0)return b;if(this.lastNeed<=h.length)return h.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);h.copy(this.lastChar,$,0,h.length),this.lastNeed-=h.length}function l(h,$){var b=i(this,h,$);if(!this.lastNeed)return h.toString("utf8",$);this.lastTotal=b;var S=h.length-(b-this.lastNeed);return h.copy(this.lastChar,0,S),h.toString("utf8",$,S)}function u(h){var $=h&&h.length?this.write(h):"";return this.lastNeed?$+"�":$}function f(h,$){if((h.length-$)%2===0){var b=h.toString("utf16le",$);if(b){var S=b.charCodeAt(b.length-1);if(S>=55296&&S<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=h[h.length-1],h.toString("utf16le",$,h.length-1)}function p(h){var $=h&&h.length?this.write(h):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return $+this.lastChar.toString("utf16le",0,b)}return $}function d(h,$){var b=(h.length-$)%3;return b===0?h.toString("base64",$):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=h[h.length-1]:(this.lastChar[0]=h[h.length-2],this.lastChar[1]=h[h.length-1]),h.toString("base64",$,h.length-b))}function m(h){var $=h&&h.length?this.write(h):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function y(h){return h.toString(this.encoding)}function x(h){return h&&h.length?this.write(h):""}return xp}var Ep,Iw;function Pw(){if(Iw)return Ep;Iw=1,Ep=o;var t=nw,e=uD.Writable,n=Z3().StringDecoder,r=Rw().Buffer;function o(s,i){var a=this._parser=new t(s,i),c=this._decoder=new n;e.call(this,{decodeStrings:!1}),this.once("finish",function(){a.end(c.end())})}return Hc(o,e),o.prototype._write=function(s,i,a){s instanceof r&&(s=this._decoder.write(s)),this._parser.write(s),a()},Ep}var _p,Ow;function Q3(){if(Ow)return _p;Ow=1,_p=e;var t=Pw();function e(o){t.call(this,new n(this),o)}Hc(e,t),e.prototype.readable=!0;function n(o){this.scope=o}var r=Qc().EVENTS;return Object.keys(r).forEach(function(o){if(r[o]===0)n.prototype["on"+o]=function(){this.scope.emit(o)};else if(r[o]===1)n.prototype["on"+o]=function(s){this.scope.emit(o,s)};else if(r[o]===2)n.prototype["on"+o]=function(s,i){this.scope.emit(o,s,i)};else throw Error("wrong number of arguments!")}),_p}var Tp,Mw;function X3(){if(Mw)return Tp;Mw=1,Tp=t;function t(n){this._cbs=n||{}}var e=Qc().EVENTS;return Object.keys(e).forEach(function(n){if(e[n]===0)n="on"+n,t.prototype[n]=function(){this._cbs[n]&&this._cbs[n]()};else if(e[n]===1)n="on"+n,t.prototype[n]=function(r){this._cbs[n]&&this._cbs[n](r)};else if(e[n]===2)n="on"+n,t.prototype[n]=function(r,o){this._cbs[n]&&this._cbs[n](r,o)};else throw Error("wrong number of arguments")}),Tp}var Cp,Bw;function J3(){if(Bw)return Cp;Bw=1,Cp=t;function t(n){this._cbs=n||{},this.events=[]}var e=Qc().EVENTS;return Object.keys(e).forEach(function(n){if(e[n]===0)n="on"+n,t.prototype[n]=function(){this.events.push([n]),this._cbs[n]&&this._cbs[n]()};else if(e[n]===1)n="on"+n,t.prototype[n]=function(r){this.events.push([n,r]),this._cbs[n]&&this._cbs[n](r)};else if(e[n]===2)n="on"+n,t.prototype[n]=function(r,o){this.events.push([n,r,o]),this._cbs[n]&&this._cbs[n](r,o)};else throw Error("wrong number of arguments")}),t.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},t.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var n=0,r=this.events.length;n<r;n++)if(this._cbs[this.events[n][0]]){var o=this.events[n].length;o===1?this._cbs[this.events[n][0]]():o===2?this._cbs[this.events[n][0]](this.events[n][1]):this._cbs[this.events[n][0]](this.events[n][1],this.events[n][2])}},Cp}var Vw;function Qc(){return Vw||(Vw=1,function(t){var e=nw,n=lw;function r(o,s){return delete t.exports[o],t.exports[o]=s,s}t.exports={Parser:e,Tokenizer:ob,ElementType:bi,DomHandler:n,get FeedHandler(){return r("FeedHandler",G3())},get Stream(){return r("Stream",Q3())},get WritableStream(){return r("WritableStream",Pw())},get ProxyHandler(){return r("ProxyHandler",X3())},get DomUtils(){return r("DomUtils",Cw())},get CollectingHandler(){return r("CollectingHandler",J3())},DefaultHandler:n,get RssHandler(){return r("RssHandler",this.FeedHandler)},parseDOM:function(o,s){var i=new n(s);return new e(i,s).end(o),i.dom},parseFeed:function(o,s){var i=new t.exports.FeedHandler(s);return new e(i,s).end(o),i.dom},createDomStream:function(o,s,i){var a=new n(o,s,i);return new e(a,s)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}}(Qd)),Qd.exports}var Mn=Qc();const tP=ln(Mn);function eP(t){return t.type==="text"&&/\r?\n/.test(t.data)&&t.data.trim()===""}function nP(t){return t.data}const rP=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"],oP={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"},sP=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,kp={};function Uw(t){return kp.hasOwnProperty(t)||(kp[t]=sP.test(t)),kp[t]}const iP=function(t,e){return rP.map(r=>r.toLowerCase()).indexOf(t.toLowerCase())>=0&&(e=t),e};function aP(t){return Object.keys(t).filter(e=>Uw(e)).reduce((e,n)=>{const r=n.toLowerCase(),o=oP[r]||r;return e[o]=iP(o,t[n]),e},{})}function cP(t=""){return t===""?{}:t.split(";").reduce((e,n)=>{let[r,o]=n.split(/^([^:]+):/).filter((s,i)=>i>0).map(s=>s.trim().toLowerCase());return o===void 0||(r=r.replace(/^-ms-/,"ms-").replace(/-(.)/g,(s,i)=>i.toUpperCase()),e[r]=o),e},{})}function Fw(t,e){const n=Object.assign({},aP(t),{key:e});return typeof n.style=="string"||n.style instanceof String?n.style=cP(n.style):delete n.style,n}const lP=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function uP(t,e,n){const r=t.name;if(!Uw(r))return null;const o=Fw(t.attribs,e);let s=null;return lP.indexOf(r)===-1&&(s=jw(t.children,n)),ie.createElement(r,o,s)}function fP(t,e){let n;t.children.length>0&&(n=t.children[0].data);const r=Fw(t.attribs,e);return ie.createElement("style",r,n)}function Si(){return null}const dP={[Mn.ElementType.Text]:nP,[Mn.ElementType.Tag]:uP,[Mn.ElementType.Style]:fP,[Mn.ElementType.Directive]:Si,[Mn.ElementType.Comment]:Si,[Mn.ElementType.Script]:Si,[Mn.ElementType.CDATA]:Si,[Mn.ElementType.Doctype]:Si};function pP(t,e,n){return dP[t.type](t,e,n)}function jw(t,e){return t.filter(n=>!eP(n)).map((n,r)=>{let o;return typeof e=="function"&&(o=e(n,r),o===null||o)?o:pP(n,r,e)})}function Ap(t,{decodeEntities:e=!0,transform:n,preprocessNodes:r=o=>o}={}){const o=r(tP.parseDOM(t,{decodeEntities:e}));return jw(o,n)}const zw=(t,e)=>{if(!t)return{};const n=new URL(t);return e&&n.searchParams.set("text",e),{url:n.toString()}},hP=()=>{const t=new Date,e=`${t.getHours()}:${(t.getMinutes()<10?"0":"")+t.getMinutes()}`;return Br("startTime")||Uc("startTime",e),e},gP=({name:t,job:e,company:n,phone:r,image:o,address:s,email:i,website:a})=>` BEGIN:VCARD VERSION:3.0 N:${t??""} FN:${t??""} TITLE:${e??""} ORG:${n??""} PHOTO;TYPE=image/jpeg;ENCODING=b:${o} TEL;TYPE=WORK:${r??""} ADR;TYPE=WORK:${s??""} EMAIL:${i??""} URL;TYPE=WEBSITE:${a??""} END:VCARD `.replace(/^\s+/gm,""),mP=t=>new Promise(e=>{const n=new FileReader;n.readAsDataURL(t),n.onloadend=()=>{const r=n.result;e(r?.replace(/(data:image\/(png|jpeg);base64,)/g,""))}}),vP=async t=>{if(!t)return null;const n=await(await fetch(t)).blob();return mP(n)},$P=t=>{const{image:e}=t||{},[n,r]=T.useState(""),[o,s]=T.useState("");return T.useEffect(()=>{(async()=>{if(e){const a=await vP(e);s(a);return}s("")})()},[e]),T.useEffect(()=>{if(!t){r("");return}const i=gP({...t,image:o||""}),a=new Blob([i],{type:"text/vcard"}),c=URL.createObjectURL(a);return r(c),()=>URL.revokeObjectURL(c)},[o,t]),n},yP="width=800px,height=700px,menubar=no,toolbar=no,resizable=yes,scrollbars=yes",bP=t=>{window.location.href=t},Lp=({title:t,url:e,options:n,vcardSettings:r=null})=>{const{editMode:o}=gt(),{target:s="_blank",withFeatures:i=!0,openCurrentPage:a=!1}=n??{},c=o?"_blank":s,l=i&&!Ud(),u=$P(r),f=T.useMemo(()=>!e&&r?u:e,[e,r,u]),p=T.useCallback((d,m)=>{window.open(d,l?t:c,m)},[c,l,t]);return T.useCallback(()=>f?a?bP(f):p(f,l?yP:""):void 0,[f,a,l,p])},wP=24,Hw=16,xP=1.33,SP="auto",EP="100%",qp=48,_P=qp/2,TP=(qp-wP)/2,CP=(qp-Hw*xP)/2,kP=t=>SP,AP=(t,e,n)=>e?TP:t&&!n?CP:_P,LP=({icon:t,color:e,title:n})=>{const{targetChatButton:{appTitle:r}}=pr(),{chatWallpaperMulticolor:o,buttonsColor:s,buttonColor:i,buttonBorderRadius:a,buttonIconVisible:c,buttonText:l}=gt(),f=hi().length,p=c&&!!t,d=f>2,m=i,y=T.useMemo(()=>({custom:m?.color,native:e})[m?.type],[m,e]),x=an({color:y}),h=l,$=!!h.trim(),b=AP($,p,d),S=f===1?27:12,_=c&&(d||!$),k=p&&t,C=r?"20px 20px 0":"20px";return{color:y,font:{fontSize:Hw,fontWeight:"bold"},borderWidth:0,text:h,fontColor:x,iconOnly:_,iconLeft:k,horizontalPadding:S,verticalPadding:b,borderRadius:a,width:kP(),style:{padding:0,margin:C,maxWidth:EP,boxShadow:o?.type==="native"&&"0 1px 0 0 rgba(0, 0, 0, 0.25)"}}},qP="https://phosphor.utils.elfsightcdn.com/",Gw=t=>{if(!t)return"";if(/https?:\/\//.test(t)){const e=new URL(qP);return e.searchParams.set("url",t),e.toString()}return t},Ww=()=>{const{page:t,facebookPage:e={},infoFromFacebook:n}=gt();if(!n||!KN)return{};const r=t?.data||e?.data;if(r){const{name:i,pictureURL:a}=r;return{name:i,image:Gw(a)}}const{name:o,picture:s}=t||e;return{name:o,image:Gw(s?.data?.url)}},RP="https://elfsight.com",Yw=({message:t="",withTags:e=!1})=>{const{editMode:n,includePageURL:r}=gt(),o=t.trim(),s=n?RP:window.location.href;return e?o.replace("[page_url]",s):r?o?`${o} ${s}`:s:o},DP=()=>{const{position:t,renderThumbnailMode:e}=gt(),{openChatWindow:n,messageShowed:r,setMessageShowed:o}=pr(),[s,i]=T.useState(!0),a=T.useRef(null);return T.useEffect(()=>{o(!1)},[t,o]),T.useEffect(()=>{if(e){o(!0),i(!1);return}return n&&!r&&s&&(a.current=setTimeout(()=>{i(!1),o(!0)},3e3)),t==="embed-chat"&&s&&i(!1),()=>{a.current&&(clearTimeout(a.current),a.current=null)}},[n,r,s,t,e,o]),s},Fo=20,Rp=56,NP=({hasBubbleText:t,verticalOffset:e,bottomSpacing:n})=>t?n-Fo:n,Xc=()=>{const{align:t,position:e,displayFreeLink:n,bubbleText:r,windowWidth:o=pi.windowWidth}=gt(),{verticalOffset:s,horizontalOffset:i}=Zd(),a=X0(!0),c=T.useMemo(()=>{const l=parseInt(o,10),u=e==="floating"&&t!=="center"?i+Fo:2*Fo,f=a-u>l,p=a===0?l:a-u;return f?l:p},[t,i,e,a,o]);return T.useMemo(()=>{const l={top:0,right:0,bottom:0,left:0,width:o},u=s+Rp,f=n?u+Fo:u,p=n?Fo+Rp:Rp;if(e==="floating"&&(t==="left"&&(l.left=i,l.right="auto"),t==="right"&&(l.right=i,l.left="auto"),l.bottom=NP({hasBubbleText:!!r,verticalOffset:s,bottomSpacing:f}),l.top="auto"),e==="embed-bubble"){t==="left"&&(l.right="auto"),t==="right"&&(l.left="auto");const d=r?p-Fo:p;l.bottom=d,l.top=d}return["embed-bubble","floating"].includes(e)&&t==="center"&&(l.right="50%",l.left="auto",l.options={transform:"translateX(50%)"}),{...l,width:c}},[o,s,n,e,t,c,r,i])},IP=({link:t,title:e,withCaption:n,icon:r,color:o})=>{const{setTargetChatButton:s}=pr(),i=LP({title:e,icon:r,color:o}),a=Lp({...t,title:e}),c=l=>{l.preventDefault(),a(),n&&s(PN(e))};return q.jsx(PP,{...i,role:"button",title:e,href:t?.url||"",onClick:c})},PP=Q(Mc).withConfig({displayName:"ChatButton__DefaultButtonComponent",componentId:"sc-4utv0f-0"})(["backface-visibility:hidden;overflow:hidden;& span > div,& svg{width:24px;height:24px;}html[dir='rtl'] && span > div{margin-left:",";margin-right:",";}"],({iconOnly:t})=>!t&&"8px",({iconOnly:t})=>!t&&"-4px"),OP=()=>{const{prefilledMessage:t}=gt(),e=t?.replace(/(<([^>]+)>)/gi,""),[n]=hi(),r=Yw({message:e,withTags:!0}),o=zw(n.link?.url,r);return q.jsx(MP,{children:q.jsx(IP,{...n,link:o})})},MP=Q.div.withConfig({displayName:"StandaloneButton__ButtonContainer",componentId:"sc-wb2bux-0"})(["display:flex;justify-content:center;"]),BP=15,Dp=28,Kw=(Dp-16)/2,VP=1.33,UP=()=>{const{messageButtonColor:t,messagePlaceholder:e,messageFieldColor:n}=gt(),[{link:r}]=hi(),[o,s]=T.useState(!1),[i,a]=T.useState(""),c=Yw({message:i}),l=t==="object"?t.color:t,u=r?.url.includes("wa.me/message"),f=zw(r?.url,u?"":c),p=an({color:n,opacity:.3}),d=an({color:n,opacity:.1}),m=an({color:n}),y=an({color:l}),x=e||"Enter Your Message...",h=Lp({...f,title:Te.name});return jy("Enter",()=>{o&&h()}),q.jsxs(FP,{_backgroundColor:n,_borderColor:d,children:[q.jsx(jP,{_scrollBarColor:d,_hasPlaceholder:!i,children:q.jsx(hN,{placeholder:x,placeholderColor:p,color:m,font:{fontSize:BP},lineHeight:VP,padding:[3,0],minVisibleRows:1,onFocus:()=>s(!0),onBlur:()=>s(!1),onValueChange:$=>a($),multiline:!0})}),q.jsx(zP,{children:q.jsx(Mc,{width:Dp,horizontalPadding:Kw,verticalPadding:Kw,borderRadius:Dp/2,iconRight:Wt("sendMessage"),color:l,onClick:h,fontColor:y,borderWidth:0,iconOnly:!0,style:{overflow:"hidden"}})})]})},FP=Q.div.withConfig({displayName:"MessageField__MessageContainer",componentId:"sc-sdaw80-0"})(["display:flex;padding:12px 2px 12px 20px;overflow:hidden;border-top:",";background-color:",";"],({_borderColor:t})=>`1px solid ${t}`,({_backgroundColor:t})=>t),jP=Q.div.withConfig({displayName:"MessageField__MessageTextContainer",componentId:"sc-sdaw80-1"})(["overflow:scroll;min-height:28px;max-height:64px;padding-right:42px;width:100%;&::-webkit-scrollbar{width:6px;height:100%;}&::-webkit-scrollbar-track{display:none;}&::-webkit-scrollbar-thumb{border-radius:3px;background-color:",";}",""],({_scrollBarColor:t})=>t,({_hasPlaceholder:t})=>t&&Rt(["& textarea{max-height:20px;overflow:hidden;}"])),zP=Q.div.withConfig({displayName:"MessageField__MessageButtonContainer",componentId:"sc-sdaw80-2"})(["position:absolute;bottom:12px;right:12px;transition:right 0.3s;& svg{transform:scale(1.8);}"]),HP="No messengers are connected. Connect a messenger to enable the chat button.",GP="No messengers are connected. Connect a messenger to enable the ability to write a message.",WP=()=>q.jsx(OP,{}),YP=()=>{const{chatMethod:t,chatWallpaper:e=pi.chatWallpaper}=gt(),n=hi(),{targetChatButton:{appTitle:r,appLink:o}}=pr(),s=t==="sendMessage",i=s,a=!n.length,c=an({color:e,opacity:.5});return a?q.jsx(ZP,{children:s?GP:HP}):q.jsxs(q.Fragment,{children:[i?q.jsx(UP,{}):q.jsx(WP,{}),!!r&&q.jsxs(KP,{_color:c,children:["To start a chat the ",r," app is required. You can download it here:",q.jsxs("a",{href:o,rel:"noreferrer",target:"_blank",children:["Download ",r]})]})]})},KP=Q.div.withConfig({displayName:"ActionBlock__Message",componentId:"sc-18z0orw-0"})(["font-size:13px;line-height:16px;color:",";padding:10px 20px 20px;& a{color:inherit;margin:0 3px;border-bottom:",";text-decoration:none;}"],({_color:t})=>t,({_color:t})=>`1px solid ${t}`),ZP=Q.div.withConfig({displayName:"ActionBlock__NoButtons",componentId:"sc-18z0orw-1"})(["width:100%;height:100%;display:flex;justify-content:center;text-align:center;font-size:15px;line-height:1.39;color:#f00;padding:20px;"]),Zw=({size:t,alt:e,showDot:n,showBorder:r})=>{const{headerBackgroundColor:o,customPicture:s,userOnlinePoint:i}=gt(),[a]=hi(),c={title:a?.title,...a?.link},l=Lp(c),{image:u}=Ww(),f=u||s?.url;if(!f)return null;const p=d=>{d.preventDefault(),l?.()};return q.jsx(QP,{src:f,size:t,altText:e,_borderSize:t,_showDot:n&&f,_showBorder:!!r,_borderColor:o,_onlinePoint:i,_cursor:YN,onClick:p})},QP=Q(TD).withConfig({displayName:"Avatar__Component",componentId:"sc-1u0i9fz-0"})(["display:block;flex-shrink:0;overflow:inherit;& img{object-fit:cover;}& svg{border-radius:inherit;}& > div{position:relative;z-index:1;}&::before{content:'';bottom:0;right:0;width:12px;height:12px;box-sizing:border-box;position:absolute;z-index:2;border-radius:50%;}"," ",""],({_cursor:t,_onlinePoint:e,_showDot:n,_borderColor:r})=>Rt(["cursor:",";&::before{background-color:",";display:",";border:2px solid ",";}"],t?"pointer":"auto",e,n?"block":"none",r),({_showBorder:t,_borderSize:e,_borderColor:n})=>t&&Rt(["&::after{content:'';position:absolute;width:","px;height:","px;top:50%;left:50%;transform:translate(-50%,-50%);border:double 2px transparent;border-radius:50%;background-image:linear-gradient(",",","),radial-gradient(circle at top right,#c82f9c,#ef4e49,#fecd68);background-origin:border-box;background-clip:padding-box,border-box;}"],e&&e+4,e&&e+4,n,n)),XP=()=>{const{headerBackgroundColor:t}=gt(),{openChatWindow:e,handleToggleWindow:n}=pr();return jy("Escape",()=>{e&&n()}),q.jsx(JP,{_color:an({color:t}),role:"button",tabIndex:0,onClick:n})},JP=Q.div.withConfig({displayName:"Close__Component",componentId:"sc-nt9k4b-0"})(["position:absolute;top:8px;right:8px;width:20px;height:20px;opacity:0.4;cursor:pointer;transition:0.3s ease all;outline:transparent;display:flex !important;justify-content:center;align-items:center;&:hover{opacity:0.8;}&::before,&::after{content:'';position:absolute;width:12px;height:2px;background-color:",";display:block;border-radius:2px;}&::before{transform:rotate(45deg);}&::after{transform:rotate(-45deg);}html[dir='rtl'] &{left:8px;right:unset;}"],({_color:t})=>t),tO={alignContent:"center",alignItems:"center",animation:"none",background:"rgba(251, 251, 251, 0.9)",border:"none",borderRadius:"2px",bottom:"0",boxSizing:"border-box",color:"#333333",display:"flex",float:"none",fontFamily:"Roboto,Arial,Sans-serif",fontSize:"12px",height:"auto",left:"0",lineHeight:"16px",margin:"0",opacity:"1",padding:"0",position:"absolute",right:"0",textAlign:"left",textDecoration:"none",textIndent:"0",top:"0",transform:"none",justifyContent:"center",visibility:"visible",zoom:"1",zIndex:"999999998"};function eO(t){return Object.fromEntries(Object.entries(t).map(([e,n])=>[e,`${n}!important`]))}function nO(t){return Object.entries(t).map(([e,n])=>`${Pd(e)}:${n}`).join(";")}function rO(t,e){t&&t.setAttribute("style",nO(eO(e)))}function oO(t,e){const n=new URL(t||`https://dash.elfsight.com/apps/${e}/pricing`);return sO(n,e)}function sO(t,e){const n={utm_source:"websites",utm_medium:"clients",utm_campaign:"deactivated-widget",utm_term:iO(),utm_content:e};return Object.entries(n).map(([r,o])=>{o&&t.searchParams.set(r,o)}),t}function iO(){try{const t=window.location!=window.parent.location;return new URL(t?document.referrer:document.location.href).hostname}catch{return}}const aO="Widget is deactivated. Please, visit Elfsight Apps.";function cO({appAlias:t,displayDeactivation:e=!1,deactivationURL:n,text:r=aO,style:o}){const s=oO(n,t);return e?q.jsx("a",{href:s.toString(),target:"_blank",rel:"noreferrer",ref:i=>rO(i,{...tO,...o}),children:r}):null}const{alias:lO}=Te,uO=()=>{const t=gt();return q.jsx(cO,{appAlias:lO,text:"Widget is deactivated. Please, visit Elfsight Apps.",...t})},fO=()=>{const{headerBackgroundColor:t,nameCaptionType:e,nameCaptionCustom:n,nameCaptionReplyTime:r,name:o}=gt(),{name:s}=Ww(),i=s||o,a={replyTime:r,custom:n,online:"Online"}[e]??"",c=an({color:t}),l=an({color:t,opacity:.1});return q.jsxs(dO,{_background:t,_borderColor:l,children:[q.jsx(Zw,{size:52,alt:i,showDot:!0,showBorder:Fy}),q.jsxs(pO,{children:[q.jsx(hO,{_textColor:c,children:i}),q.jsx(gO,{_textColor:c,children:Ap(a)})]})]})},dO=Q.div.withConfig({displayName:"Header__Component",componentId:"sc-f0txsr-0"})(["color:#111;display:flex;align-items:center;padding:20px;background:",";border-bottom:",";"],({_background:t})=>t,({_borderColor:t})=>`1px solid ${t};`),pO=Q.div.withConfig({displayName:"Header__Info",componentId:"sc-f0txsr-1"})(["margin-left:16px;margin-right:16px;width:100%;overflow:hidden;"]),hO=Q.div.withConfig({displayName:"Header__Name",componentId:"sc-f0txsr-2"})(["font-size:16px;font-weight:700;line-height:20px;max-height:60px;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;color:",";"],({_textColor:t})=>t),gO=Q.div.withConfig({displayName:"Header__AnswerTime",componentId:"sc-f0txsr-3"})(["font-size:13px;line-height:18px;margin-top:4px;color:",";p{margin:0;}"],({_textColor:t})=>t),mO={animation:"none",backgroundColor:"rgba(238,238,238,0.9)",border:"none",bottom:"auto",color:"rgba(0,0,0,.5)",display:"inline-flex",alignItems:"center",gap:"6px",float:"none",height:"28px",left:"50%",margin:"8px auto",opacity:"1",padding:"6px",position:"relative",right:"auto",top:"auto",transform:"translateX(-50%)",zoom:"1",visibility:"visible",boxSizing:"border-box",borderRadius:"6px",fontFamily:"Roboto,Arial,Sans-serif",fontSize:"12px",fontWeight:"700",lineHeight:"16px",textAlign:"left",textDecoration:"none",maxWidth:"240px",textIndent:"0",zIndex:"99999"},vO={display:"block",width:"18px",height:"18px",fill:"currentColor"},$O={display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"12px",boxShadow:" 0 2px 2px rgba(0, 0, 0, 0.2)",width:"20px",height:"20px",overflow:"hidden",position:"absolute",right:"-10px",top:"-10px",background:"#f93262"},yO={display:"block",width:"8px",height:"8px",fill:"#fff"};function bO(t){return Object.fromEntries(Object.entries(t).map(([e,n])=>[e,`${n}!important`]))}function wO(t){return Object.entries(t).map(([e,n])=>`${Pd(e)}:${n}`).join(";")}function Jc(t,e){t&&t.setAttribute("style",wO(bO(e)))}function xO(t,e){const n=new URL(t||"https://elfsight.com");return Qw(n,"free-widget",e)}function SO(t,e){const n=new URL(t||`https://dash.elfsight.com/apps/${e}/pricing`);return Qw(n,"remove-link",e)}function Qw(t,e,n){const r={utm_source:"websites",utm_medium:"clients",utm_term:EO(),utm_content:n,utm_campaign:e};return Object.entries(r).map(([o,s])=>{s&&t.searchParams.set(o,s)}),t}function EO(){try{const t=window.location!=window.parent.location;return new URL(t?document.referrer:document.location.href).hostname}catch{return}}function _O({appAlias:t,appName:e,freeLinkAnchor:n,freeLinkURL:r,freeLinkRemoveURL:o,displayFreeLink:s=!1,displayFreeLinkRemove:i=!0,iconOnly:a=!1,style:c}){const l=n||`Free ${e} Widget`,u=xO(r,t),f=SO(o,t),p=d=>{d.preventDefault(),window.open(f,"_blank")};return s?q.jsxs("a",{href:u.toString(),target:"_blank",rel:"noreferrer",ref:d=>Jc(d,{...mO,...c?.link}),children:[q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 26",ref:d=>Jc(d,{...vO,...c?.linkIcon}),children:q.jsx("path",{d:"M14.98.15c7.035.248 12.559 6.206 12.313 13.284-.246 7.077-6.169 12.633-13.203 12.386-7.035-.247-12.558-6.206-12.313-13.283.012-.34.029-.678.068-1.011.02-.17.283-1.455 1.431-1.302.861.115 1.133.873 1.07 1.45-.012.111-.037.404-.037.404-.016.181-.027.364-.034.547-.197 5.691 4.245 10.483 9.902 10.682 5.657.199 10.42-4.27 10.618-9.961.198-5.692-4.244-10.483-9.901-10.682a10.224 10.224 0 00-1.514.059l-.37.049s-1.48.246-1.809-.76c-.319-.972.426-1.535.93-1.64.92-.178 1.875-.256 2.85-.221zM1.412 1.162c.12 0 .231.033.328.09l13.466 6.944.119.061.05.026v.001c1.204.66 2 1.796 2 3.088l-.001.028.001 4.954v.786l.002.016a.66.66 0 01-.655.665.644.644 0 01-.307-.078l-3.129-1.583c-1.264-.596-2.124-1.72-2.136-3.01 0-.968-.153-2.093-1.693-3.427-.79-.685-1.708-1.483-2.642-2.297l-.701-.612a3239.267 3239.267 0 01-5.145-4.5l-.01-.008-.068-.079a.667.667 0 01.521-1.065z"})}),a?null:l,i&&q.jsx("div",{title:"Remove Elfsight logo",ref:d=>Jc(d,{...$O,...c?.remove}),onClick:p,children:q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 10",ref:d=>Jc(d,{...yO,...c?.removeIcon}),children:q.jsx("path",{d:"M6.01 5l3.78 3.78a.714.714 0 1 1-1.01 1.01L5 6.01 1.22 9.79A.714.714 0 1 1 .21 8.78L3.99 5 .21 1.22A.714.714 0 0 1 1.22.21L5 3.99 8.78.21a.714.714 0 0 1 1.01 1.01L6.01 5z"})})})]}):null}const{name:Xw,alias:TO}=Te,CO=()=>{const{position:t,align:e,displayFreeLink:n,freeLinkURL:r,freeLinkRemoveURL:o,freeLinkAnchor:s,displayFreeLinkRemove:i}=gt(),a=`Free ${Xw} button`,c=T.useMemo(()=>t==="embed-chat"||e==="right"||e==="center"?{left:"0px",right:"auto"}:{left:"auto",right:"0px"},[t,e]);return q.jsx(_O,{displayFreeLink:n,displayFreeLinkRemove:i,freeLinkAnchor:a,freeLinkURL:r,freeLinkRemoveURL:o,appAlias:TO,appName:Xw,style:{link:{position:"absolute",fontSize:"11px",lineHeight:"12px",color:"#b1b1b1",background:"none",bottom:"-32px",padding:0,margin:0,height:"32px",transform:"none",...c},linkIcon:{height:"16px",width:"16px"},remove:{display:"none"},removeIcon:{display:"none"}}})},kO=()=>q.jsx(AO,{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"17",viewBox:"0 0 9 17",fill:"currentColor",children:q.jsx("path",{d:"M0.772965 3.01404C-0.0113096 1.68077 0.950002 0 2.49683 0H9V17L0.772965 3.01404Z",fill:"currentColor"})}),AO=Q.svg.withConfig({displayName:"BubbleDetail__StyledSvg",componentId:"sc-qqwfdh-0"})(["position:absolute;top:0;left:-9px;html[dir='rtl'] &{right:-9px;left:unset;transform:scale(-1,1);}"]),LO=({background:t,color:e,count:n=3})=>q.jsx(RO,{_backgroundColor:t,children:q.jsx(DO,{children:Array.from({length:n},(r,o)=>[`${o*10}%`,`${o*10+15}%`,`${o*10+25}%`]).map(r=>q.jsx(NO,{_frames:r,_color:e},r.toString()))})}),qO=([t,e,n])=>Oh(["","{top:0;}","{top:-4px;}","{top:0;}"],t,e,n),RO=Q.div.withConfig({displayName:"DefaultDots__Component",componentId:"sc-15yymi9-0"})(["position:absolute;top:inherit;left:inherit;background-color:",";opacity:0.5;width:53px;height:32px;border-radius:16px;display:flex;justify-content:center;align-items:center;transition:0.1s ease all;z-index:1;"],({_backgroundColor:t})=>t),DO=Q.div.withConfig({displayName:"DefaultDots__ComponentInner",componentId:"sc-15yymi9-1"})(["position:relative;display:flex;"]),NO=Q.div.withConfig({displayName:"DefaultDots__Dot",componentId:"sc-15yymi9-2"})(["height:5px;width:5px;margin:0 2px;border-radius:50%;display:inline-block !important;position:relative;background-color:",";animation:"," 1.2s linear infinite;"],({_color:t})=>t,({_frames:t})=>qO(t)),IO=({background:t,color:e,count:n=3})=>q.jsx(OO,{_backgroundColor:t,children:q.jsx(MO,{children:Array.from({length:n},(r,o)=>`0.${o}s`).map(r=>q.jsx(BO,{delay:r,_color:e},r))})}),PO=Oh(["0%,100%{opacity:0.4;}50%{opacity:0.75;}"]),OO=Q.div.withConfig({displayName:"WhatsAppDots__Component",componentId:"sc-ra4u2a-0"})(["position:absolute;top:inherit;left:inherit;background-color:",";width:53px;height:32px;border-radius:16px;display:flex;justify-content:center;align-items:center;transition:0.1s ease all;z-index:1;box-shadow:0 1px 0 0 rgba(0,0,0,0.15);"],({_backgroundColor:t})=>t),MO=Q.div.withConfig({displayName:"WhatsAppDots__ComponentInner",componentId:"sc-ra4u2a-1"})(["position:relative;display:flex;"]),BO=Q.div.withConfig({displayName:"WhatsAppDots__Dot",componentId:"sc-ra4u2a-2"})(["height:5px;width:5px;margin:0 2px;background-color:",";border-radius:50%;display:inline-block !important;position:relative;animation:"," 1.2s linear infinite;animation-delay:",";"],({_color:t})=>t,PO,({delay:t})=>t),VO={whatsapp:IO,default:LO},UO=200,FO=(t,e)=>e?"10px 20px 12px 20px":`20px 20px ${t==="sendMessage"?32:12}px 20px`,jO=(t,e)=>t<UO?"100%":e?"calc(100% - 36px)":"calc(100% - 66px)",zO=({timeOnHeader:t=!1,isAvatar:e=!1,avatarSize:n,dotType:r="default",messageShadow:o=!0})=>{const{chatMethod:s,welcomeMessage:i,chatWallpaper:a=pi.chatWallpaper,messageBackgroundColor:c=pi.messageBackgroundColor}=gt(),{width:l}=Xc(),u=hP(),f=DP(),p=e?"16px":"0 16px 16px 16px",d=FO(s,t),m=jO(l,e),y=an({color:c}),x=an({color:a}),h=VO[r];return q.jsxs(HO,{_spacing:d,children:[t&&q.jsx(GO,{children:q.jsx(WO,{children:q.jsx(YO,{_color:x,children:u})})}),q.jsxs(KO,{children:[e&&q.jsx(ZO,{children:q.jsx(Zw,{size:n})}),q.jsx(nM,{_show:f,children:q.jsx(h,{background:c,color:y})}),q.jsxs(QO,{_borderRadius:p,_width:m,_shadow:o,_backgroundColor:c,_show:!f,_isAvatar:e,children:[!e&&q.jsx(kO,{}),q.jsx(XO,{_color:y,children:t?Ap(i):q.jsxs(eM,{children:[q.jsx(JO,{children:Ap(i)}),q.jsx(tM,{children:u})]})})]})]})]})},HO=Q.div.withConfig({displayName:"ChatLayout__Component",componentId:"sc-1ho7a7y-0"})(["position:relative;padding:",";overflow:auto;max-height:382px;"],({_spacing:t})=>t),GO=Q.div.withConfig({displayName:"ChatLayout__Time",componentId:"sc-1ho7a7y-1"})(["text-align:center;margin-bottom:12px;display:flex;justify-content:center;align-items:center;z-index:1;"]),WO=Q.div.withConfig({displayName:"ChatLayout__TimeInner",componentId:"sc-1ho7a7y-2"})(["padding:4px;border-radius:5px;z-index:1;"]),YO=Q.div.withConfig({displayName:"ChatLayout__TimeValue",componentId:"sc-1ho7a7y-3"})(["font-size:10px;position:relative;opacity:0.3;color:",";"],({_color:t})=>t),KO=Q.div.withConfig({displayName:"ChatLayout__MessageContainer",componentId:"sc-1ho7a7y-4"})(["position:relative;display:flex;z-index:1;transition:0.3s ease opacity;"]),ZO=Q.div.withConfig({displayName:"ChatLayout__MessageUser",componentId:"sc-1ho7a7y-5"})(["min-height:100%;margin-right:10px;html[dir='rtl'] &{margin-right:0;margin-left:10px;}"]),QO=Q.div.withConfig({displayName:"ChatLayout__Message",componentId:"sc-1ho7a7y-6"})(["box-sizing:border-box;padding:6px 14px;position:relative;transform-origin:top;z-index:2;color:",";font-size:15px;line-height:1.39;max-width:",";border-radius:",";background-color:",";opacity:",";hyphens:auto;html[dir='rtl'] &{margin-right:0;border-radius:",";}& p{margin:0;}",""],({_backgroundColor:t})=>t,({_width:t})=>t,({_borderRadius:t})=>t,({_backgroundColor:t})=>t,({_show:t})=>t?1:0,({_isAvatar:t})=>t?"16px":"16px 0 16px 16px",({_shadow:t})=>t&&"box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.15);"),XO=Q.div.withConfig({displayName:"ChatLayout__MessageContent",componentId:"sc-1ho7a7y-7"})(["color:",";"],({_color:t})=>t),JO=Q.div.withConfig({displayName:"ChatLayout__Text",componentId:"sc-1ho7a7y-8"})(["font-size:14px;line-height:19px;overflow:hidden;"]),tM=Q.div.withConfig({displayName:"ChatLayout__TimeBottom",componentId:"sc-1ho7a7y-9"})(["text-align:right;margin-left:12px;font-size:12px;line-height:14px;opacity:0.5;html[dir='rtl'] &{margin-left:0;margin-right:12px;}"]),eM=Q.div.withConfig({displayName:"ChatLayout__MessageGroup",componentId:"sc-1ho7a7y-10"})(["display:flex;align-items:flex-end;color:inherit;&:first-child{flex:1;}&:last-child{flex:0;}"]),nM=Q.div.withConfig({displayName:"ChatLayout__DotsContainer",componentId:"sc-1ho7a7y-11"})(["opacity:",";pointer-events:",";"],({_show:t})=>t?1:0,({_show:t})=>t?"all":"none"),{provider:rM}=Te,tl={isAvatar:!0,timeOnHeader:!0,messageShadow:!1},oM={[it.facebook]:{avatarSize:30,...tl},[it.whatsapp]:{dotType:"whatsapp"},[it.telegram]:{dotType:"whatsapp"},[it.instagram]:{avatarSize:30,...tl},[it.viber]:{avatarSize:28,...tl},[it.all]:{avatarSize:28,...tl},[it.line]:{},[it.discord]:{}}[rM],sM=()=>q.jsx(zO,{...oM}),iM={[it.whatsapp]:"https://static.elfsight.com/apps/all-in-one-chat/patterns/background-whatsapp.jpg",[it.line]:"https://static.elfsight.com/apps/all-in-one-chat/patterns/background-line.jpg",[it.telegram]:"https://static.elfsight.com/apps/all-in-one-chat/patterns/background-telegram.jpg",[it.instagram]:"",[it.viber]:"",[it.discord]:"",[it.facebook]:"",[it.all]:""},aM=({children:t})=>{const{width:e}=Xc(),{verticalOffset:n,horizontalOffset:r}=Zd();return q.jsx(cM,{_width:e,_verticalSpacing:n,_horizontalSpacing:r,children:t})},cM=Q.div.withConfig({displayName:"EmbedChat__Container",componentId:"sc-7lr3a4-0"})(["position:relative;width:","px;margin:",";"],({_width:t})=>t,({_verticalSpacing:t,_horizontalSpacing:e})=>`${t}px ${e}px`),lM=({children:t})=>{const{openChatWindow:e}=pr(),{right:n,top:r,left:o,width:s,options:i}=Xc(),{displayFreeLink:a,renderThumbnailMode:c}=gt(),l=T.useRef(null),[u,f]=T.useState({}),p=T.useCallback(()=>{if(!l.current)return;const{height:m}=l?.current?.getBoundingClientRect(),{top:y}=l?.current?.parentNode?.getBoundingClientRect(),x=y>m;f({bottom:x?a?12:0:"auto",top:x?"auto":r})},[a,r]),d=T.useCallback(()=>{d?.timer||(p(),d.timer=setTimeout(()=>{delete d.timer},100))},[p]);return T.useEffect(()=>(p(),window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}),[p,d]),T.useEffect(()=>{e&&p()},[p,e]),q.jsx(uM,{ref:l,_width:s,_openWindow:e,_thumbnailMode:c,style:{right:n,left:o,...i,...u},children:t})},uM=Q.div.withConfig({displayName:"EmbedWindow__Container",componentId:"sc-2iisia-0"})(["position:absolute;width:","px;transition:",";",""],({_width:t})=>t,({_thumbnailMode:t})=>t?"none":"0.3s ease opacity, 0.3s ease margin, 0.3s ease visibility",({_openWindow:t})=>t?` pointer-events: all; touch-action: auto; visibility: visible; margin: 20px 0; opacity: 1; `:` pointer-events: none; touch-action: none; visibility: hidden; margin: 0; opacity: 0; `),fM=({children:t})=>{const{openChatWindow:e}=pr(),{renderThumbnailMode:n}=gt(),{top:r,right:o,bottom:s,left:i,width:a,options:c}=Xc();return q.jsx(dM,{_width:a,_openWindow:e,_thumbnailMode:n,style:{top:r,right:o,bottom:s,left:i,...c},children:t})},dM=Q.div.withConfig({displayName:"FloatingWindow__Container",componentId:"sc-4iiipo-0"})(["position:fixed;z-index:99999999999;width:","px;transition:",";",""],({_width:t})=>t,({_thumbnailMode:t})=>t?"none":"0.3s ease opacity, 0.3s ease margin, 0.3s ease visibility",({_openWindow:t})=>t?` pointer-events: all; touch-action: auto; visibility: visible; margin-bottom: 20px; opacity: 1; `:` pointer-events: none; touch-action: none; visibility: hidden; margin-bottom: 0; opacity: 0; `),pM={floating:fM,"embed-bubble":lM,"embed-chat":aM},hM=()=>{const{position:t,chatWallpaperMulticolor:e,renderThumbnailMode:n,chatWallpaper:r=pi.chatWallpaper}=gt(),o=pM[t],s=T.useMemo(()=>["whatsapp","line","telegram"].includes(Te.provider)?e?.type==="native"?`url(${iM[Te.provider]})`:e?.color:r,[e,r]);return q.jsx(gM,{children:q.jsxs(o,{children:[q.jsxs(mM,{_thumbnailMode:n,children:[q.jsx(uO,{}),t!=="embed-chat"&&q.jsx(XP,{}),q.jsx(fO,{}),q.jsxs(vM,{_background:s,children:[q.jsx(sM,{}),q.jsx(YP,{})]})]}),q.jsx(CO,{})]})})},gM=Q.div.withConfig({displayName:"Window__Container",componentId:"sc-zn3tdr-0"})(["position:relative;width:100%;height:100%;"]),mM=Q.div.withConfig({displayName:"Window__Content",componentId:"sc-zn3tdr-1"})(["border-radius:16px;overflow:hidden;position:relative;box-shadow:",";"],({_thumbnailMode:t})=>t?"0 6px 50px 0 rgba(0, 0, 0, 0.1)":"0 4px 30px 0 rgba(0, 0, 0, 0.3)"),vM=Q.div.withConfig({displayName:"Window__ChatGroup",componentId:"sc-zn3tdr-2"})(["background:"," center / cover no-repeat;"],({_background:t})=>t),Jw=()=>{const{position:t,font:e}=gt(),[n,r]=T.useState(null);return q.jsx(yM,{children:q.jsxs($M,{ref:r,_font:e?.value,children:[q.jsx(hM,{}),t!=="embed-chat"&&q.jsx(i3,{portalContainerElement:n||document.body})]})})},$M=Q.div.withConfig({displayName:"Main__Container",componentId:"sc-1nlcdkx-0"})(["position:relative;width:100%;height:100%;& *{box-sizing:border-box;}",""],({_font:t})=>!!t&&`font-family: ${t};`),yM=Q.div.withConfig({displayName:"Main__MainComponent",componentId:"sc-1nlcdkx-1"})([""]),bM=({customCSSPrefixClassName:t,customCSS:e})=>q.jsx(Y_,{customCSSClassName:t,children:q.jsxs(Gm,{children:[q.jsx(Jw,{}),q.jsx(vN,{customCSS:e,prefixClassName:t})]})}),wM=()=>{const{widgetId:t,position:e,font:n,customCSS:r,customJS:o,editMode:s,renderThumbnailMode:i}=gt(),a=mN(Te.alias,t);return RN(),GD([n]),NN(o,s||i),q.jsx(YI,{children:q.jsx(WI,{children:q.jsx(t3,{children:q.jsx(e3,{children:q.jsx(GI,{children:q.jsx(NI,{children:e==="floating"?q.jsx(bM,{customCSS:r,customCSSPrefixClassName:a}):q.jsx(Jw,{})})})})})})})},xM=t=>H_(t,wM);var Np={alias:"whatsapp-chat",name:"Whatsapp Chat",provider:"whatsapp"};if(!Np)throw new Error("APP_MANIFEST is required");const SM={alias:Np.alias,name:Np.name};return xM(SM)}();