vendor: 4,315 bytes, lines 1-9
1function Y2(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in e)){const l=Object.getOwnPropertyDescriptor(i,o);l&&Object.defineProperty(e,o,l.get?l:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&i(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function i(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function q2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ch={exports:{}},Qa={},dh={exports:{}},_e={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Zy;function X2(){if(Zy)return _e;Zy=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),S=Symbol.iterator;function b(z){return z===null||typeof z!="object"?null:(z=S&&z[S]||z["@@iterator"],typeof z=="function"?z:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,C={};function L(z,Z,ae){this.props=z,this.context=Z,this.refs=C,this.updater=ae||A}L.prototype.isReactComponent={},L.prototype.setState=function(z,Z){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,Z,"setState")},L.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function M(){}M.prototype=L.prototype;function U(z,Z,ae){this.props=z,this.context=Z,this.refs=C,this.updater=ae||A}var $=U.prototype=new M;$.constructor=U,P($,L.prototype),$.isPureReactComponent=!0;var q=Array.isArray,J=Object.prototype.hasOwnProperty,ee={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function T(z,Z,ae){var ye,Te={},Pe=null,xe=null;if(Z!=null)for(ye in Z.ref!==void 0&&(xe=Z.ref),Z.key!==void 0&&(Pe=""+Z.key),Z)J.call(Z,ye)&&!R.hasOwnProperty(ye)&&(Te[ye]=Z[ye]);var Re=arguments.length-2;if(Re===1)Te.children=ae;else if(1<Re){for(var je=Array(Re),Ze=0;Ze<Re;Ze++)je[Ze]=arguments[Ze+2];Te.children=je}if(z&&z.defaultProps)for(ye in Re=z.defaultProps,Re)Te[ye]===void 0&&(Te[ye]=Re[ye]);return{$$typeof:e,type:z,key:Pe,ref:xe,props:Te,_owner:ee.current}}function I(z,Z){return{$$typeof:e,type:z.type,key:Z,ref:z.ref,props:z.props,_owner:z._owner}}function x(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function O(z){var Z={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(ae){return Z[ae]})}var j=/\/+/g;function N(z,Z){return typeof z=="object"&&z!==null&&z.key!=null?O(""+z.key):Z.toString(36)}function Ee(z,Z,ae,ye,Te){var Pe=typeof z;(Pe==="undefined"||Pe==="boolean")&&(z=null);var xe=!1;if(z===null)xe=!0;else switch(Pe){case"string":case"number":xe=!0;break;case"object":switch(z.$$typeof){case e:case t:xe=!0}}if(xe)return xe=z,Te=Te(xe),z=ye===""?"."+N(xe,0):ye,q(Te)?(ae="",z!=null&&(ae=z.replace(j,"$&/")+"/"),Ee(Te,Z,ae,"",function(Ze){return Ze})):Te!=null&&(x(Te)&&(Te=I(Te,ae+(!Te.key||xe&&xe.key===Te.key?"":(""+Te.key).replace(j,"$&/")+"/")+z)),Z.push(Te)),1;if(xe=0,ye=ye===""?".":ye+":",q(z))for(var Re=0;Re<z.length;Re++){Pe=z[Re];var je=ye+N(Pe,Re);xe+=Ee(Pe,Z,ae,je,Te)}
vendor: 3,817 bytes, line 9
9else if(je=b(z),typeof je=="function")for(z=je.call(z),Re=0;!(Pe=z.next()).done;)Pe=Pe.value,je=ye+N(Pe,Re++),xe+=Ee(Pe,Z,ae,je,Te);else if(Pe==="object")throw Z=String(z),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.");return xe}function Ae(z,Z,ae){if(z==null)return z;var ye=[],Te=0;return Ee(z,ye,"","",function(Pe){return Z.call(ae,Pe,Te++)}),ye}function De(z){if(z._status===-1){var Z=z._result;Z=Z(),Z.then(function(ae){(z._status===0||z._status===-1)&&(z._status=1,z._result=ae)},function(ae){(z._status===0||z._status===-1)&&(z._status=2,z._result=ae)}),z._status===-1&&(z._status=0,z._result=Z)}if(z._status===1)return z._result.default;throw z._result}var ge={current:null},Y={transition:null},pe={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:Y,ReactCurrentOwner:ee};function oe(){throw Error("act(...) is not supported in production builds of React.")}return _e.Children={map:Ae,forEach:function(z,Z,ae){Ae(z,function(){Z.apply(this,arguments)},ae)},count:function(z){var Z=0;return Ae(z,function(){Z++}),Z},toArray:function(z){return Ae(z,function(Z){return Z})||[]},only:function(z){if(!x(z))throw Error("React.Children.only expected to receive a single React element child.");return z}},_e.Component=L,_e.Fragment=n,_e.Profiler=o,_e.PureComponent=U,_e.StrictMode=i,_e.Suspense=h,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pe,_e.act=oe,_e.cloneElement=function(z,Z,ae){if(z==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+z+".");var ye=P({},z.props),Te=z.key,Pe=z.ref,xe=z._owner;if(Z!=null){if(Z.ref!==void 0&&(Pe=Z.ref,xe=ee.current),Z.key!==void 0&&(Te=""+Z.key),z.type&&z.type.defaultProps)var Re=z.type.defaultProps;for(je in Z)J.call(Z,je)&&!R.hasOwnProperty(je)&&(ye[je]=Z[je]===void 0&&Re!==void 0?Re[je]:Z[je])}var je=arguments.length-2;if(je===1)ye.children=ae;else if(1<je){Re=Array(je);for(var Ze=0;Ze<je;Ze++)Re[Ze]=arguments[Ze+2];ye.children=Re}return{$$typeof:e,type:z.type,key:Te,ref:Pe,props:ye,_owner:xe}},_e.createContext=function(z){return z={$$typeof:c,_currentValue:z,_currentValue2:z,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},z.Provider={$$typeof:l,_context:z},z.Consumer=z},_e.createElement=T,_e.createFactory=function(z){var Z=T.bind(null,z);return Z.type=z,Z},_e.createRef=function(){return{current:null}},_e.forwardRef=function(z){return{$$typeof:f,render:z}},_e.isValidElement=x,_e.lazy=function(z){return{$$typeof:v,_payload:{_status:-1,_result:z},_init:De}},_e.memo=function(z,Z){return{$$typeof:m,type:z,compare:Z===void 0?null:Z}},_e.startTransition=function(z){var Z=Y.transition;Y.transition={};try{z()}finally{Y.transition=Z}},_e.unstable_act=oe,_e.useCallback=function(z,Z){return ge.current.useCallback(z,Z)},_e.useContext=function(z){return ge.current.useContext(z)},_e.useDebugValue=function(){},_e.useDeferredValue=function(z){return ge.current.useDeferredValue(z)},_e.useEffect=function(z,Z){return ge.current.useEffect(z,Z)},_e.useId=function(){return ge.current.useId()},_e.useImperativeHandle=function(z,Z,ae){return ge.current.useImperativeHandle(z,Z,ae)},_e.useInsertionEffect=function(z,Z){return ge.current.useInsertionEffect(z,Z)},_e.useLayoutEffect=function(z,Z){return ge.current.useLayoutEffect(z,Z)},_e.useMemo=function(z,Z){return ge.current.useMemo(z,Z)},_e.useReducer=function(z,Z,ae){return ge.current.useReducer(z,Z,ae)},_e.useRef=function(z){return ge.current.useRef(z)},_e.useState=function(z){return ge.current.useState(z)},_e.useSyncExternalStore=function(z,Z,ae){return ge.current.useSyncExternalStore(z,Z,ae)},_e.useTransition=function(){return ge.current.useTransition()}
vendor: 7,032 bytes, lines 9-33
9,_e.version="18.3.1",_e}var e0;function Op(){return e0||(e0=1,dh.exports=X2()),dh.exports}/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var t0;function J2(){if(t0)return Qa;t0=1;var e=Op(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(f,h,m){var v,S={},b=null,A=null;m!==void 0&&(b=""+m),h.key!==void 0&&(b=""+h.key),h.ref!==void 0&&(A=h.ref);for(v in h)i.call(h,v)&&!l.hasOwnProperty(v)&&(S[v]=h[v]);if(f&&f.defaultProps)for(v in h=f.defaultProps,h)S[v]===void 0&&(S[v]=h[v]);return{$$typeof:t,type:f,key:b,ref:A,props:S,_owner:o.current}}return Qa.Fragment=n,Qa.jsx=c,Qa.jsxs=c,Qa}var n0;function Q2(){return n0||(n0=1,ch.exports=J2()),ch.exports}var E=Q2(),F=Op();const Hr=q2(F),r0=Y2({__proto__:null,default:Hr},[F]);var vc={},fh={exports:{}},tn={},hh={exports:{}},ph={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var i0;function Z2(){return i0||(i0=1,function(e){function t(Y,pe){var oe=Y.length;Y.push(pe);e:for(;0<oe;){var z=oe-1>>>1,Z=Y[z];if(0<o(Z,pe))Y[z]=pe,Y[oe]=Z,oe=z;else break e}}function n(Y){return Y.length===0?null:Y[0]}function i(Y){if(Y.length===0)return null;var pe=Y[0],oe=Y.pop();if(oe!==pe){Y[0]=oe;e:for(var z=0,Z=Y.length,ae=Z>>>1;z<ae;){var ye=2*(z+1)-1,Te=Y[ye],Pe=ye+1,xe=Y[Pe];if(0>o(Te,oe))Pe<Z&&0>o(xe,Te)?(Y[z]=xe,Y[Pe]=oe,z=Pe):(Y[z]=Te,Y[ye]=oe,z=ye);else if(Pe<Z&&0>o(xe,oe))Y[z]=xe,Y[Pe]=oe,z=Pe;else break e}}return pe}function o(Y,pe){var oe=Y.sortIndex-pe.sortIndex;return oe!==0?oe:Y.id-pe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,f=c.now();e.unstable_now=function(){return c.now()-f}}var h=[],m=[],v=1,S=null,b=3,A=!1,P=!1,C=!1,L=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(Y){for(var pe=n(m);pe!==null;){if(pe.callback===null)i(m);else if(pe.startTime<=Y)i(m),pe.sortIndex=pe.expirationTime,t(h,pe);else break;pe=n(m)}}function q(Y){if(C=!1,$(Y),!P)if(n(h)!==null)P=!0,De(J);else{var pe=n(m);pe!==null&&ge(q,pe.startTime-Y)}}function J(Y,pe){P=!1,C&&(C=!1,M(T),T=-1),A=!0;var oe=b;try{for($(pe),S=n(h);S!==null&&(!(S.expirationTime>pe)||Y&&!O());){var z=S.callback;if(typeof z=="function"){S.callback=null,b=S.priorityLevel;var Z=z(S.expirationTime<=pe);pe=e.unstable_now(),typeof Z=="function"?S.callback=Z:S===n(h)&&i(h),$(pe)}else i(h);S=n(h)}if(S!==null)var ae=!0;else{var ye=n(m);ye!==null&&ge(q,ye.startTime-pe),ae=!1}return ae}finally{S=null,b=oe,A=!1}}var ee=!1,R=null,T=-1,I=5,x=-1;function O(){return!(e.unstable_now()-x<I)}function j(){if(R!==null){var Y=e.unstable_now();x=Y;var pe=!0;try{pe=R(!0,Y)}finally{pe?N():(ee=!1,R=null)}}else ee=!1}var N;if(typeof U=="function")N=function(){U(j)};else if(typeof MessageChannel<"u"){var Ee=new MessageChannel,Ae=Ee.port2;Ee.port1.onmessage=j,N=function(){Ae.postMessage(null)}}else N=function(){L(j,0)};function De(Y){R=Y,ee||(ee=!0,N())}function ge(Y,pe){T=L(function(){Y(e.unstable_now())},pe)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Y){Y.callback=null},e.unstable_continueExecution=function(){P||A||(P=!0,De(J))},e.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<Y?Math.floor(1e3/Y):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_getFirstCallbackNode=function(){return n(h)},e.unstable_next=function(Y){switch(b){case 1:case 2:case 3:var pe=3;break;default:pe=b}var oe=b;b=pe;try{return Y()}finally{b=oe}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(Y,pe){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var oe=b;b=Y;try{return pe()}finally{b=oe}},e.unstable_scheduleCallback=function(Y,pe,oe){var z=e.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?z+oe:z):oe=z,Y){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=oe+Z,Y={id:v++,callback:pe,priorityLevel:Y,startTime:oe,expirationTime:Z,sortIndex:-1},oe>z?(Y.sortIndex=oe,t(m,Y),n(h)===null&&Y===n(m)&&(C?(M(T),T=-1):C=!0,ge(q,oe-z))):(Y.sortIndex=Z,t(h,Y),P||A||(P=!0,De(J))),Y},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(Y){var pe=b;return function(){var oe=b;b=pe;try{return Y.apply(this,arguments)}finally{b=oe}}}}(ph)),ph}var s0;function ek(){return s0||(s0=1,hh.exports=Z2()),hh.exports}/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var o0;function tk(){if(o0)return tn;o0=1;var e=Op(),t=ek();function n(r){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+r,a=1;a<arguments.length;a++)s+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+r+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,o={};function l(r,s){c(r,s),c(r+"Capture",s)}function c(r,s){for(o[r]=s,r=0;r<s.length;r++)i.add(s[r])}var f=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[: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]*$/,v={},S={};function b(r){return h.call(S,r)?!0:h.call(v,r)?!1:m.test(r)?S[r]=!0:(v[r]=!0,!1)}function A(r,s,a,d){if(a!==null&&a.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return d?!1:a!==null?!a.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function P(r,s,a,d){if(s===null||typeof s>"u"||A(r,s,a,d))return!0;
vendor: 5,137 bytes, lines 33-34
33if(d)return!1;if(a!==null)switch(a.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function C(r,s,a,d,p,y,k){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=d,this.attributeNamespace=p,this.mustUseProperty=a,this.propertyName=r,this.type=s,this.sanitizeURL=y,this.removeEmptyString=k}var L={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){L[r]=new C(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var s=r[0];L[s]=new C(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){L[r]=new C(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){L[r]=new C(r,2,!1,r,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(r){L[r]=new C(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){L[r]=new C(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){L[r]=new C(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){L[r]=new C(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){L[r]=new C(r,5,!1,r.toLowerCase(),null,!1,!1)});var M=/[\-:]([a-z])/g;function U(r){return r[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(r){var s=r.replace(M,U);L[s]=new C(s,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var s=r.replace(M,U);L[s]=new C(s,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var s=r.replace(M,U);L[s]=new C(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){L[r]=new C(r,1,!1,r.toLowerCase(),null,!1,!1)}),L.xlinkHref=new C("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){L[r]=new C(r,1,!1,r.toLowerCase(),null,!0,!0)});function $(r,s,a,d){var p=L.hasOwnProperty(s)?L[s]:null;(p!==null?p.type!==0:d||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(P(s,a,p,d)&&(a=null),d||p===null?b(s)&&(a===null?r.removeAttribute(s):r.setAttribute(s,""+a)):p.mustUseProperty?r[p.propertyName]=a===null?p.type===3?!1:"":a:(s=p.attributeName,d=p.attributeNamespace,a===null?r.removeAttribute(s):(p=p.type,a=p===3||p===4&&a===!0?"":""+a,d?r.setAttributeNS(d,s,a):r.setAttribute(s,a))))}var q=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,J=Symbol.for("react.element"),ee=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),O=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),Ee=Symbol.for("react.suspense_list"),Ae=Symbol.for("react.memo"),De=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),Y=Symbol.iterator;function pe(r){return r===null||typeof r!="object"?null:(r=Y&&r[Y]||r["@@iterator"],typeof r=="function"?r:null)}var oe=Object.assign,z;function Z(r){if(z===void 0)try{throw Error()}catch(a){var s=a.stack.trim().match(/\n( *(at )?)/);z=s&&s[1]||""}return` 34`+z+r}var ae=!1;function ye(r,s){if(!r||ae)return"";ae=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(K){var d=K}Reflect.construct(r,[],s)}else{try{s.call()}catch(K){d=K}r.call(s.prototype)}else{try{throw Error()}catch(K){d=K}r()}}
vendor: 7,471 bytes, lines 34-37
34catch(K){if(K&&d&&typeof K.stack=="string"){for(var p=K.stack.split(` 35`),y=d.stack.split(` 36`),k=p.length-1,D=y.length-1;1<=k&&0<=D&&p[k]!==y[D];)D--;for(;1<=k&&0<=D;k--,D--)if(p[k]!==y[D]){if(k!==1||D!==1)do if(k--,D--,0>D||p[k]!==y[D]){var V=` 37`+p[k].replace(" at new "," at ");return r.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",r.displayName)),V}while(1<=k&&0<=D);break}}}finally{ae=!1,Error.prepareStackTrace=a}return(r=r?r.displayName||r.name:"")?Z(r):""}function Te(r){switch(r.tag){case 5:return Z(r.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return r=ye(r.type,!1),r;case 11:return r=ye(r.type.render,!1),r;case 1:return r=ye(r.type,!0),r;default:return""}}function Pe(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case R:return"Fragment";case ee:return"Portal";case I:return"Profiler";case T:return"StrictMode";case N:return"Suspense";case Ee:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case O:return(r.displayName||"Context")+".Consumer";case x:return(r._context.displayName||"Context")+".Provider";case j:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ae:return s=r.displayName||null,s!==null?s:Pe(r.type)||"Memo";case De:s=r._payload,r=r._init;try{return Pe(r(s))}catch{}}return null}function xe(r){var s=r.type;switch(r.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=s.render,r=r.displayName||r.name||"",s.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pe(s);case 8:return s===T?"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 s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function Re(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function je(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Ze(r){var s=je(r)?"checked":"value",a=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),d=""+r[s];if(!r.hasOwnProperty(s)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var p=a.get,y=a.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return p.call(this)},set:function(k){d=""+k,y.call(this,k)}}),Object.defineProperty(r,s,{enumerable:a.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function on(r){r._valueTracker||(r._valueTracker=Ze(r))}function Rn(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var a=s.getValue(),d="";return r&&(d=je(r)?r.checked?"true":"false":r.value),r=d,r!==a?(s.setValue(r),!0):!1}function Zr(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function $i(r,s){var a=s.checked;return oe({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??r._wrapperState.initialChecked})}function Os(r,s){var a=s.defaultValue==null?"":s.defaultValue,d=s.checked!=null?s.checked:s.defaultChecked;a=Re(s.value!=null?s.value:a),r._wrapperState={initialChecked:d,initialValue:a,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function na(r,s){s=s.checked,s!=null&&$(r,"checked",s,!1)}function ra(r,s){na(r,s);var a=Re(s.value),d=s.type;if(a!=null)d==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+a):r.value!==""+a&&(r.value=""+a);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?Ds(r,s.type,a):s.hasOwnProperty("defaultValue")&&Ds(r,s.type,Re(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function iu(r,s,a){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var d=s.type;if(!(d!=="submit"&&d!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+r._wrapperState.initialValue,a||s===r.value||(r.value=s),r.defaultValue=s}a=r.name,a!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,a!==""&&(r.name=a)}function Ds(r,s,a){(s!=="number"||Zr(r.ownerDocument)!==r)&&(a==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+a&&(r.defaultValue=""+a))}var Sr=Array.isArray;function br(r,s,a,d){if(r=r.options,s){s={};for(var p=0;p<a.length;p++)s["$"+a[p]]=!0;for(a=0;a<r.length;a++)p=s.hasOwnProperty("$"+r[a].value),r[a].selected!==p&&(r[a].selected=p),p&&d&&(r[a].defaultSelected=!0)}else{for(a=""+Re(a),s=null,p=0;p<r.length;p++){if(r[p].value===a){r[p].selected=!0,d&&(r[p].defaultSelected=!0);return}s!==null||r[p].disabled||(s=r[p])}s!==null&&(s.selected=!0)}}function ia(r,s){if(s.dangerouslySetInnerHTML!=null)throw Error(n(91));return oe({},s,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Ls(r,s){var a=s.value;if(a==null){if(a=s.children,s=s.defaultValue,a!=null){if(s!=null)throw Error(n(92));if(Sr(a)){if(1<a.length)throw Error(n(93));a=a[0]}s=a}s==null&&(s=""),a=s}r._wrapperState={initialValue:Re(a)}}function Ms(r,s){var a=Re(s.value),d=Re(s.defaultValue);a!=null&&(a=""+a,a!==r.value&&(r.value=a),s.defaultValue==null&&r.defaultValue!==a&&(r.defaultValue=a)),d!=null&&(r.defaultValue=""+d)}function sa(r){var s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function mt(r){switch(r){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 gt(r,s){return r==null||r==="http://www.w3.org/1999/xhtml"?mt(s):r==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var kr,oa=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,a,d,p){MSApp.execUnsafeLocalFunction(function(){return r(s,a,d,p)})}:r}(function(r,s){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=s;else{for(kr=kr||document.createElement("div"),kr.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=kr.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function ei(r,s){if(s){var a=r.firstChild;if(a&&a===r.lastChild&&a.nodeType===3){a.nodeValue=s;return}}r.textContent=s}var zi={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},Hi=["Webkit","ms","Moz","O"];
vendor: 28,255 bytes, line 37
37Object.keys(zi).forEach(function(r){Hi.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),zi[s]=zi[r]})});function aa(r,s,a){return s==null||typeof s=="boolean"||s===""?"":a||typeof s!="number"||s===0||zi.hasOwnProperty(r)&&zi[r]?(""+s).trim():s+"px"}function la(r,s){r=r.style;for(var a in s)if(s.hasOwnProperty(a)){var d=a.indexOf("--")===0,p=aa(a,s[a],d);a==="float"&&(a="cssFloat"),d?r.setProperty(a,p):r[a]=p}}var ua=oe({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 ca(r,s){if(s){if(ua[r]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(n(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(n(61))}if(s.style!=null&&typeof s.style!="object")throw Error(n(62))}}function da(r,s){if(r.indexOf("-")===-1)return typeof s.is=="string";switch(r){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 Wi=null;function js(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var fa=null,gn=null,Qn=null;function Fs(r){if(r=ja(r)){if(typeof fa!="function")throw Error(n(280));var s=r.stateNode;s&&(s=Ou(s),fa(r.stateNode,r.type,s))}}function Er(r){gn?Qn?Qn.push(r):Qn=[r]:gn=r}function ha(){if(gn){var r=gn,s=Qn;if(Qn=gn=null,Fs(r),s)for(r=0;r<s.length;r++)Fs(s[r])}}function Vs(r,s){return r(s)}function pa(){}var Tr=!1;function ma(r,s,a){if(Tr)return r(s,a);Tr=!0;try{return Vs(r,s,a)}finally{Tr=!1,(gn!==null||Qn!==null)&&(pa(),ha())}}function ut(r,s){var a=r.stateNode;if(a===null)return null;var d=Ou(a);if(d===null)return null;a=d[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(r=r.type,d=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!d;break e;default:r=!1}if(r)return null;if(a&&typeof a!="function")throw Error(n(231,s,typeof a));return a}var Bs=!1;if(f)try{var Nn={};Object.defineProperty(Nn,"passive",{get:function(){Bs=!0}}),window.addEventListener("test",Nn,Nn),window.removeEventListener("test",Nn,Nn)}catch{Bs=!1}function Gi(r,s,a,d,p,y,k,D,V){var K=Array.prototype.slice.call(arguments,3);try{s.apply(a,K)}catch(ne){this.onError(ne)}}var Ki=!1,Us=null,On=!1,ga=null,Md={onError:function(r){Ki=!0,Us=r}};function ya(r,s,a,d,p,y,k,D,V){Ki=!1,Us=null,Gi.apply(Md,arguments)}function jd(r,s,a,d,p,y,k,D,V){if(ya.apply(this,arguments),Ki){if(Ki){var K=Us;Ki=!1,Us=null}else throw Error(n(198));On||(On=!0,ga=K)}}function Dn(r){var s=r,a=r;if(r.alternate)for(;s.return;)s=s.return;else{r=s;do s=r,(s.flags&4098)!==0&&(a=s.return),r=s.return;while(r)}return s.tag===3?a:null}function Yi(r){if(r.tag===13){var s=r.memoizedState;if(s===null&&(r=r.alternate,r!==null&&(s=r.memoizedState)),s!==null)return s.dehydrated}return null}function Ln(r){if(Dn(r)!==r)throw Error(n(188))}function su(r){var s=r.alternate;if(!s){if(s=Dn(r),s===null)throw Error(n(188));return s!==r?null:r}for(var a=r,d=s;;){var p=a.return;if(p===null)break;var y=p.alternate;if(y===null){if(d=p.return,d!==null){a=d;continue}break}if(p.child===y.child){for(y=p.child;y;){if(y===a)return Ln(p),r;if(y===d)return Ln(p),s;y=y.sibling}throw Error(n(188))}if(a.return!==d.return)a=p,d=y;else{for(var k=!1,D=p.child;D;){if(D===a){k=!0,a=p,d=y;break}if(D===d){k=!0,d=p,a=y;break}D=D.sibling}if(!k){for(D=y.child;D;){if(D===a){k=!0,a=y,d=p;break}if(D===d){k=!0,d=y,a=p;break}D=D.sibling}if(!k)throw Error(n(189))}}if(a.alternate!==d)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?r:s}function va(r){return r=su(r),r!==null?$s(r):null}function $s(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var s=$s(r);if(s!==null)return s;r=r.sibling}return null}var zs=t.unstable_scheduleCallback,wa=t.unstable_cancelCallback,ou=t.unstable_shouldYield,Fd=t.unstable_requestPaint,Ge=t.unstable_now,au=t.unstable_getCurrentPriorityLevel,qi=t.unstable_ImmediatePriority,ti=t.unstable_UserBlockingPriority,yn=t.unstable_NormalPriority,xa=t.unstable_LowPriority,lu=t.unstable_IdlePriority,Xi=null,an=null;function uu(r){if(an&&typeof an.onCommitFiberRoot=="function")try{an.onCommitFiberRoot(Xi,r,void 0,(r.current.flags&128)===128)}catch{}}var Bt=Math.clz32?Math.clz32:du,Sa=Math.log,cu=Math.LN2;function du(r){return r>>>=0,r===0?32:31-(Sa(r)/cu|0)|0}var Hs=64,Ws=4194304;function ni(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ji(r,s){var a=r.pendingLanes;if(a===0)return 0;var d=0,p=r.suspendedLanes,y=r.pingedLanes,k=a&268435455;if(k!==0){var D=k&~p;D!==0?d=ni(D):(y&=k,y!==0&&(d=ni(y)))}else k=a&~p,k!==0?d=ni(k):y!==0&&(d=ni(y));if(d===0)return 0;if(s!==0&&s!==d&&(s&p)===0&&(p=d&-d,y=s&-s,p>=y||p===16&&(y&4194240)!==0))return s;if((d&4)!==0&&(d|=a&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=d;0<s;)a=31-Bt(s),p=1<<a,d|=r[a],s&=~p;return d}function Vd(r,s){switch(r){case 1:case 2:case 4:return s+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 s+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 Cr(r,s){for(var a=r.suspendedLanes,d=r.pingedLanes,p=r.expirationTimes,y=r.pendingLanes;0<y;){var k=31-Bt(y),D=1<<k,V=p[k];V===-1?((D&a)===0||(D&d)!==0)&&(p[k]=Vd(D,s)):V<=s&&(r.expiredLanes|=D),y&=~D}}function ln(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Qi(){var r=Hs;return Hs<<=1,(Hs&4194240)===0&&(Hs=64),r}function ri(r){for(var s=[],a=0;31>a;a++)s.push(r);return s}function ii(r,s,a){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-Bt(s),r[s]=a}function ze(r,s){var a=r.pendingLanes&~s;r.pendingLanes=s,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=s,r.mutableReadLanes&=s,r.entangledLanes&=s,s=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0<a;){var p=31-Bt(a),y=1<<p;s[p]=0,d[p]=-1,r[p]=-1,a&=~y}}function si(r,s){var a=r.entangledLanes|=s;for(r=r.entanglements;a;){var d=31-Bt(a),p=1<<d;p&s|r[d]&s&&(r[d]|=s),a&=~p}}var Ie=0;function oi(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var fu,Gs,hu,pu,mu,ba=!1,Zn=[],Ct=null,Mn=null,jn=null,ai=new Map,vn=new Map,er=[],Bd="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 gu(r,s){switch(r){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":jn=null;break;case"pointerover":case"pointerout":ai.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":vn.delete(s.pointerId)}}function Kt(r,s,a,d,p,y){return r===null||r.nativeEvent!==y?(r={blockedOn:s,domEventName:a,eventSystemFlags:d,nativeEvent:y,targetContainers:[p]},s!==null&&(s=ja(s),s!==null&&Gs(s)),r):(r.eventSystemFlags|=d,s=r.targetContainers,p!==null&&s.indexOf(p)===-1&&s.push(p),r)}function Ud(r,s,a,d,p){switch(s){case"focusin":return Ct=Kt(Ct,r,s,a,d,p),!0;case"dragenter":return Mn=Kt(Mn,r,s,a,d,p),!0;case"mouseover":return jn=Kt(jn,r,s,a,d,p),!0;case"pointerover":var y=p.pointerId;return ai.set(y,Kt(ai.get(y)||null,r,s,a,d,p)),!0;case"gotpointercapture":return y=p.pointerId,vn.set(y,Kt(vn.get(y)||null,r,s,a,d,p)),!0}return!1}function yu(r){var s=ns(r.target);if(s!==null){var a=Dn(s);if(a!==null){if(s=a.tag,s===13){if(s=Yi(a),s!==null){r.blockedOn=s,mu(r.priority,function(){hu(a)});return}}else if(s===3&&a.stateNode.current.memoizedState.isDehydrated){r.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}r.blockedOn=null}function _r(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var a=Ks(r.domEventName,r.eventSystemFlags,s[0],r.nativeEvent);if(a===null){a=r.nativeEvent;var d=new a.constructor(a.type,a);Wi=d,a.target.dispatchEvent(d),Wi=null}else return s=ja(a),s!==null&&Gs(s),r.blockedOn=a,!1;s.shift()}return!0}function Zi(r,s,a){_r(r)&&a.delete(s)}function vu(){ba=!1,Ct!==null&&_r(Ct)&&(Ct=null),Mn!==null&&_r(Mn)&&(Mn=null),jn!==null&&_r(jn)&&(jn=null),ai.forEach(Zi),vn.forEach(Zi)}function Fn(r,s){r.blockedOn===s&&(r.blockedOn=null,ba||(ba=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,vu)))}function Vn(r){function s(p){return Fn(p,r)}if(0<Zn.length){Fn(Zn[0],r);for(var a=1;a<Zn.length;a++){var d=Zn[a];d.blockedOn===r&&(d.blockedOn=null)}}for(Ct!==null&&Fn(Ct,r),Mn!==null&&Fn(Mn,r),jn!==null&&Fn(jn,r),ai.forEach(s),vn.forEach(s),a=0;a<er.length;a++)d=er[a],d.blockedOn===r&&(d.blockedOn=null);for(;0<er.length&&(a=er[0],a.blockedOn===null);)yu(a),a.blockedOn===null&&er.shift()}var Pr=q.ReactCurrentBatchConfig,li=!0;function et(r,s,a,d){var p=Ie,y=Pr.transition;Pr.transition=null;try{Ie=1,ka(r,s,a,d)}finally{Ie=p,Pr.transition=y}}function $d(r,s,a,d){var p=Ie,y=Pr.transition;Pr.transition=null;try{Ie=4,ka(r,s,a,d)}finally{Ie=p,Pr.transition=y}}function ka(r,s,a,d){if(li){var p=Ks(r,s,a,d);if(p===null)Zd(r,s,d,es,a),gu(r,d);else if(Ud(p,r,s,a,d))d.stopPropagation();else if(gu(r,d),s&4&&-1<Bd.indexOf(r)){for(;p!==null;){var y=ja(p);if(y!==null&&fu(y),y=Ks(r,s,a,d),y===null&&Zd(r,s,d,es,a),y===p)break;p=y}p!==null&&d.stopPropagation()}else Zd(r,s,d,null,a)}}var es=null;function Ks(r,s,a,d){if(es=null,r=js(d),r=ns(r),r!==null)if(s=Dn(r),s===null)r=null;else if(a=s.tag,a===13){if(r=Yi(s),r!==null)return r;r=null}else if(a===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;r=null}else s!==r&&(r=null);return es=r,null}function Ea(r){switch(r){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(au()){case qi:return 1;case ti:return 4;case yn:case xa:return 16;case lu:return 536870912;default:return 16}default:return 16}}var un=null,Ys=null,Yt=null;function Ta(){if(Yt)return Yt;var r,s=Ys,a=s.length,d,p="value"in un?un.value:un.textContent,y=p.length;for(r=0;r<a&&s[r]===p[r];r++);var k=a-r;for(d=1;d<=k&&s[a-d]===p[y-d];d++);return Yt=p.slice(r,1<d?1-d:void 0)}function qs(r){var s=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&s===13&&(r=13)):r=s,r===10&&(r=13),32<=r||r===13?r:0}function tr(){return!0}function Ca(){return!1}function _t(r){function s(a,d,p,y,k){this._reactName=a,this._targetInst=p,this.type=d,this.nativeEvent=y,this.target=k,this.currentTarget=null;for(var D in r)r.hasOwnProperty(D)&&(a=r[D],this[D]=a?a(y):y[D]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?tr:Ca,this.isPropagationStopped=Ca,this}return oe(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=tr)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=tr)},persist:function(){},isPersistent:tr}),s}var Bn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xs=_t(Bn),nr=oe({},Bn,{view:0,detail:0}),zd=_t(nr),Js,Ar,ui,ts=oe({},nr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:u,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==ui&&(ui&&r.type==="mousemove"?(Js=r.screenX-ui.screenX,Ar=r.screenY-ui.screenY):Ar=Js=0,ui=r),Js)},movementY:function(r){return"movementY"in r?r.movementY:Ar}}),Qs=_t(ts),_a=oe({},ts,{dataTransfer:0}),wu=_t(_a),Zs=oe({},nr,{relatedTarget:0}),eo=_t(Zs),xu=oe({},Bn,{animationName:0,elapsedTime:0,pseudoElement:0}),Ir=_t(xu),Su=oe({},Bn,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),bu=_t(Su),ku=oe({},Bn,{data:0}),Pa=_t(ku),qt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Eu={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"},Tu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ci(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=Tu[r])?!!s[r]:!1}function u(){return ci}var g=oe({},nr,{key:function(r){if(r.key){var s=qt[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=qs(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Eu[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:u,charCode:function(r){return r.type==="keypress"?qs(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?qs(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),w=_t(g),_=oe({},ts,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),H=_t(_),X=oe({},nr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:u}),se=_t(X),Ue=oe({},Bn,{propertyName:0,elapsedTime:0,pseudoElement:0}),yt=_t(Ue),Ne=oe({},ts,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),St=_t(Ne),bt=[9,13,27,32],rr=f&&"CompositionEvent"in window,Pt=null;f&&"documentMode"in document&&(Pt=document.documentMode);var to=f&&"TextEvent"in window&&!Pt,no=f&&(!rr||Pt&&8<Pt&&11>=Pt),Gm=" ",Km=!1;function Ym(r,s){switch(r){case"keyup":return bt.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qm(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ro=!1;function Wb(r,s){switch(r){case"compositionend":return qm(s);case"keypress":return s.which!==32?null:(Km=!0,Gm);case"textInput":return r=s.data,r===Gm&&Km?null:r;default:return null}}function Gb(r,s){if(ro)return r==="compositionend"||!rr&&Ym(r,s)?(r=Ta(),Yt=Ys=un=null,ro=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return no&&s.locale!=="ko"?null:s.data;default:return null}}var Kb={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 Xm(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!Kb[r.type]:s==="textarea"}function Jm(r,s,a,d){Er(d),s=Iu(s,"onChange"),0<s.length&&(a=new Xs("onChange","change",null,a,d),r.push({event:a,listeners:s}))}var Aa=null,Ia=null;function Yb(r){mg(r,0)}function Cu(r){var s=lo(r);if(Rn(s))return r}function qb(r,s){if(r==="change")return s}var Qm=!1;if(f){var Hd;if(f){var Wd="oninput"in document;if(!Wd){var Zm=document.createElement("div");Zm.setAttribute("oninput","return;"),Wd=typeof Zm.oninput=="function"}Hd=Wd}else Hd=!1;Qm=Hd&&(!document.documentMode||9<document.documentMode)}function eg(){Aa&&(Aa.detachEvent("onpropertychange",tg),Ia=Aa=null)}function tg(r){if(r.propertyName==="value"&&Cu(Ia)){var s=[];Jm(s,Ia,r,js(r)),ma(Yb,s)}}function Xb(r,s,a){r==="focusin"?(eg(),Aa=s,Ia=a,Aa.attachEvent("onpropertychange",tg)):r==="focusout"&&eg()}function Jb(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Cu(Ia)}function Qb(r,s){if(r==="click")return Cu(s)}function Zb(r,s){if(r==="input"||r==="change")return Cu(s)}function e2(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var Un=typeof Object.is=="function"?Object.is:e2;function Ra(r,s){if(Un(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var a=Object.keys(r),d=Object.keys(s);if(a.length!==d.length)return!1;for(d=0;d<a.length;d++){var p=a[d];if(!h.call(s,p)||!Un(r[p],s[p]))return!1}return!0}function ng(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function rg(r,s){var a=ng(r);r=0;for(var d;a;){if(a.nodeType===3){if(d=r+a.textContent.length,r<=s&&d>=s)return{node:a,offset:s-r};r=d}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=ng(a)}}function ig(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?ig(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function sg(){for(var r=window,s=Zr();s instanceof r.HTMLIFrameElement;){try{var a=typeof s.contentWindow.location.href=="string"}catch{a=!1}if(a)r=s.contentWindow;else break;s=Zr(r.document)}return s}function Gd(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s&&(s==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||s==="textarea"||r.contentEditable==="true")}function t2(r){var s=sg(),a=r.focusedElem,d=r.selectionRange;if(s!==a&&a&&a.ownerDocument&&ig(a.ownerDocument.documentElement,a)){if(d!==null&&Gd(a)){if(s=d.start,r=d.end,r===void 0&&(r=s),"selectionStart"in a)a.selectionStart=s,a.selectionEnd=Math.min(r,a.value.length);else if(r=(s=a.ownerDocument||document)&&s.defaultView||window,r.getSelection){r=r.getSelection();var p=a.textContent.length,y=Math.min(d.start,p);d=d.end===void 0?y:Math.min(d.end,p),!r.extend&&y>d&&(p=d,d=y,y=p),p=rg(a,y);var k=rg(a,d);p&&k&&(r.rangeCount!==1||r.anchorNode!==p.node||r.anchorOffset!==p.offset||r.focusNode!==k.node||r.focusOffset!==k.offset)&&(s=s.createRange(),s.setStart(p.node,p.offset),r.removeAllRanges(),y>d?(r.addRange(s),r.extend(k.node,k.offset)):(s.setEnd(k.node,k.offset),r.addRange(s)))}}for(s=[],r=a;r=r.parentNode;)r.nodeType===1&&s.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<s.length;a++)r=s[a],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var n2=f&&"documentMode"in document&&11>=document.documentMode,io=null,Kd=null,Na=null,Yd=!1;function og(r,s,a){var d=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Yd||io==null||io!==Zr(d)||(d=io,"selectionStart"in d&&Gd(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Na&&Ra(Na,d)||(Na=d,d=Iu(Kd,"onSelect"),0<d.length&&(s=new Xs("onSelect","select",null,s,a),r.push({event:s,listeners:d}),s.target=io)))}function _u(r,s){var a={};return a[r.toLowerCase()]=s.toLowerCase(),a["Webkit"+r]="webkit"+s,a["Moz"+r]="moz"+s,a}var so={animationend:_u("Animation","AnimationEnd"),animationiteration:_u("Animation","AnimationIteration"),animationstart:_u("Animation","AnimationStart"),transitionend:_u("Transition","TransitionEnd")},qd={},ag={};f&&(ag=document.createElement("div").style,"AnimationEvent"in window||(delete so.animationend.animation,delete so.animationiteration.animation,delete so.animationstart.animation),"TransitionEvent"in window||delete so.transitionend.transition);function Pu(r){if(qd[r])return qd[r];if(!so[r])return r;var s=so[r],a;for(a in s)if(s.hasOwnProperty(a)&&a in ag)return qd[r]=s[a];return r}var lg=Pu("animationend"),ug=Pu("animationiteration"),cg=Pu("animationstart"),dg=Pu("transitionend"),fg=new Map,hg="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 di(r,s){fg.set(r,s),l(s,[r])}for(var Xd=0;Xd<hg.length;Xd++){var Jd=hg[Xd],r2=Jd.toLowerCase(),i2=Jd[0].toUpperCase()+Jd.slice(1);di(r2,"on"+i2)}di(lg,"onAnimationEnd"),di(ug,"onAnimationIteration"),di(cg,"onAnimationStart"),di("dblclick","onDoubleClick"),di("focusin","onFocus"),di("focusout","onBlur"),di(dg,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Oa="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(" "),s2=new Set("cancel close invalid load scroll toggle".split(" ").concat(Oa));function pg(r,s,a){var d=r.type||"unknown-event";r.currentTarget=a,jd(d,s,void 0,r),r.currentTarget=null}function mg(r,s){s=(s&4)!==0;for(var a=0;a<r.length;a++){var d=r[a],p=d.event;d=d.listeners;e:{var y=void 0;if(s)for(var k=d.length-1;0<=k;k--){var D=d[k],V=D.instance,K=D.currentTarget;if(D=D.listener,V!==y&&p.isPropagationStopped())break e;pg(p,D,K),y=V}else for(k=0;k<d.length;k++){if(D=d[k],V=D.instance,K=D.currentTarget,D=D.listener,V!==y&&p.isPropagationStopped())break e;pg(p,D,K),y=V}}}if(On)throw r=ga,On=!1,ga=null,r}function qe(r,s){var a=s[of];a===void 0&&(a=s[of]=new Set);var d=r+"__bubble";a.has(d)||(gg(s,r,2,!1),a.add(d))}function Qd(r,s,a){var d=0;s&&(d|=4),gg(a,r,d,s)}var Au="_reactListening"+Math.random().toString(36).slice(2);function Da(r){if(!r[Au]){r[Au]=!0,i.forEach(function(a){a!=="selectionchange"&&(s2.has(a)||Qd(a,!1,r),Qd(a,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[Au]||(s[Au]=!0,Qd("selectionchange",!1,s))}}function gg(r,s,a,d){switch(Ea(s)){case 1:var p=et;break;case 4:p=$d;break;default:p=ka}a=p.bind(null,s,a,r),p=void 0,!Bs||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(p=!0),d?p!==void 0?r.addEventListener(s,a,{capture:!0,passive:p}):r.addEventListener(s,a,!0):p!==void 0?r.addEventListener(s,a,{passive:p}):r.addEventListener(s,a,!1)}function Zd(r,s,a,d,p){var y=d;if((s&1)===0&&(s&2)===0&&d!==null)e:for(;;){if(d===null)return;var k=d.tag;if(k===3||k===4){var D=d.stateNode.containerInfo;if(D===p||D.nodeType===8&&D.parentNode===p)break;if(k===4)for(k=d.return;k!==null;){var V=k.tag;if((V===3||V===4)&&(V=k.stateNode.containerInfo,V===p||V.nodeType===8&&V.parentNode===p))return;k=k.return}for(;D!==null;){if(k=ns(D),k===null)return;if(V=k.tag,V===5||V===6){d=y=k;continue e}D=D.parentNode}}d=d.return}ma(function(){var K=y,ne=js(a),re=[];e:{var te=fg.get(r);if(te!==void 0){var le=Xs,ce=r;switch(r){case"keypress":if(qs(a)===0)break e;case"keydown":case"keyup":le=w;break;case"focusin":ce="focus",le=eo;break;case"focusout":ce="blur",le=eo;break;case"beforeblur":case"afterblur":le=eo;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":le=Qs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":le=wu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":le=se;break;case lg:case ug:case cg:le=Ir;break;case dg:le=yt;break;case"scroll":le=zd;break;case"wheel":le=St;break;case"copy":case"cut":case"paste":le=bu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":le=H}var he=(s&4)!==0,ct=!he&&r==="scroll",W=he?te!==null?te+"Capture":null:te;he=[];for(var B=K,G;B!==null;){G=B;var ie=G.stateNode;if(G.tag===5&&ie!==null&&(G=ie,W!==null&&(ie=ut(B,W),ie!=null&&he.push(La(B,ie,G)))),ct)break;B=B.return}0<he.length&&(te=new le(te,ce,null,a,ne),re.push({event:te,listeners:he}))}}if((s&7)===0){e:{if(te=r==="mouseover"||r==="pointerover",le=r==="mouseout"||r==="pointerout",te&&a!==Wi&&(ce=a.relatedTarget||a.fromElement)&&(ns(ce)||ce[Rr]))break e;if((le||te)&&(te=ne.window===ne?ne:(te=ne.ownerDocument)?te.defaultView||te.parentWindow:window,le?(ce=a.relatedTarget||a.toElement,le=K,ce=ce?ns(ce):null,ce!==null&&(ct=Dn(ce),ce!==ct||ce.tag!==5&&ce.tag!==6)&&(ce=null)):(le=null,ce=K),le!==ce)){if(he=Qs,ie="onMouseLeave",W="onMouseEnter",B="mouse",(r==="pointerout"||r==="pointerover")&&(he=H,ie="onPointerLeave",W="onPointerEnter",B="pointer"),ct=le==null?te:lo(le),G=ce==null?te:lo(ce),te=new he(ie,B+"leave",le,a,ne),te.target=ct,te.relatedTarget=G,ie=null,ns(ne)===K&&(he=new he(W,B+"enter",ce,a,ne),he.target=G,he.relatedTarget=ct,ie=he),ct=ie,le&&ce)t:{for(he=le,W=ce,B=0,G=he;G;G=oo(G))B++;for(G=0,ie=W;ie;ie=oo(ie))G++;for(;0<B-G;)he=oo(he),B--;for(;0<G-B;)W=oo(W),G--;for(;B--;){if(he===W||W!==null&&he===W.alternate)break t;he=oo(he),W=oo(W)}he=null}else he=null;le!==null&&yg(re,te,le,he,!1),ce!==null&&ct!==null&&yg(re,ct,ce,he,!0)}}
vendor: 4,394 bytes, lines 37-38
37e:{if(te=K?lo(K):window,le=te.nodeName&&te.nodeName.toLowerCase(),le==="select"||le==="input"&&te.type==="file")var me=qb;else if(Xm(te))if(Qm)me=Zb;else{me=Jb;var ve=Xb}else(le=te.nodeName)&&le.toLowerCase()==="input"&&(te.type==="checkbox"||te.type==="radio")&&(me=Qb);if(me&&(me=me(r,K))){Jm(re,me,a,ne);break e}ve&&ve(r,te,K),r==="focusout"&&(ve=te._wrapperState)&&ve.controlled&&te.type==="number"&&Ds(te,"number",te.value)}switch(ve=K?lo(K):window,r){case"focusin":(Xm(ve)||ve.contentEditable==="true")&&(io=ve,Kd=K,Na=null);break;case"focusout":Na=Kd=io=null;break;case"mousedown":Yd=!0;break;case"contextmenu":case"mouseup":case"dragend":Yd=!1,og(re,a,ne);break;case"selectionchange":if(n2)break;case"keydown":case"keyup":og(re,a,ne)}var we;if(rr)e:{switch(r){case"compositionstart":var ke="onCompositionStart";break e;case"compositionend":ke="onCompositionEnd";break e;case"compositionupdate":ke="onCompositionUpdate";break e}ke=void 0}else ro?Ym(r,a)&&(ke="onCompositionEnd"):r==="keydown"&&a.keyCode===229&&(ke="onCompositionStart");ke&&(no&&a.locale!=="ko"&&(ro||ke!=="onCompositionStart"?ke==="onCompositionEnd"&&ro&&(we=Ta()):(un=ne,Ys="value"in un?un.value:un.textContent,ro=!0)),ve=Iu(K,ke),0<ve.length&&(ke=new Pa(ke,r,null,a,ne),re.push({event:ke,listeners:ve}),we?ke.data=we:(we=qm(a),we!==null&&(ke.data=we)))),(we=to?Wb(r,a):Gb(r,a))&&(K=Iu(K,"onBeforeInput"),0<K.length&&(ne=new Pa("onBeforeInput","beforeinput",null,a,ne),re.push({event:ne,listeners:K}),ne.data=we))}mg(re,s)})}function La(r,s,a){return{instance:r,listener:s,currentTarget:a}}function Iu(r,s){for(var a=s+"Capture",d=[];r!==null;){var p=r,y=p.stateNode;p.tag===5&&y!==null&&(p=y,y=ut(r,a),y!=null&&d.unshift(La(r,y,p)),y=ut(r,s),y!=null&&d.push(La(r,y,p))),r=r.return}return d}function oo(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function yg(r,s,a,d,p){for(var y=s._reactName,k=[];a!==null&&a!==d;){var D=a,V=D.alternate,K=D.stateNode;if(V!==null&&V===d)break;D.tag===5&&K!==null&&(D=K,p?(V=ut(a,y),V!=null&&k.unshift(La(a,V,D))):p||(V=ut(a,y),V!=null&&k.push(La(a,V,D)))),a=a.return}k.length!==0&&r.push({event:s,listeners:k})}var o2=/\r\n?/g,a2=/\u0000|\uFFFD/g;function vg(r){return(typeof r=="string"?r:""+r).replace(o2,` 38`).replace(a2,"")}function Ru(r,s,a){if(s=vg(s),vg(r)!==s&&a)throw Error(n(425))}function Nu(){}var ef=null,tf=null;function nf(r,s){return r==="textarea"||r==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var rf=typeof setTimeout=="function"?setTimeout:void 0,l2=typeof clearTimeout=="function"?clearTimeout:void 0,wg=typeof Promise=="function"?Promise:void 0,u2=typeof queueMicrotask=="function"?queueMicrotask:typeof wg<"u"?function(r){return wg.resolve(null).then(r).catch(c2)}:rf;function c2(r){setTimeout(function(){throw r})}function sf(r,s){var a=s,d=0;do{var p=a.nextSibling;if(r.removeChild(a),p&&p.nodeType===8)if(a=p.data,a==="/$"){if(d===0){r.removeChild(p),Vn(s);return}d--}else a!=="$"&&a!=="$?"&&a!=="$!"||d++;a=p}while(a);Vn(s)}function fi(r){for(;r!=null;r=r.nextSibling){var s=r.nodeType;if(s===1||s===3)break;if(s===8){if(s=r.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return r}function xg(r){r=r.previousSibling;for(var s=0;r;){if(r.nodeType===8){var a=r.data;if(a==="$"||a==="$!"||a==="$?"){if(s===0)return r;s--}else a==="/$"&&s++}r=r.previousSibling}return null}var ao=Math.random().toString(36).slice(2),ir="__reactFiber$"+ao,Ma="__reactProps$"+ao,Rr="__reactContainer$"+ao,of="__reactEvents$"+ao,d2="__reactListeners$"+ao,f2="__reactHandles$"+ao;function ns(r){var s=r[ir];if(s)return s;for(var a=r.parentNode;a;){if(s=a[Rr]||a[ir]){if(a=s.alternate,s.child!==null||a!==null&&a.child!==null)for(r=xg(r);r!==null;){if(a=r[ir])return a;r=xg(r)}return s}r=a,a=r.parentNode}return null}function ja(r){return r=r[ir]||r[Rr],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function lo(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function Ou(r){return r[Ma]||null}var af=[],uo=-1;function hi(r){return{current:r}}function Xe(r){0>uo||(r.current=af[uo],af[uo]=null,uo--)}function Ke(r,s){uo++,af[uo]=r.current,r.current=s}var pi={},Ot=hi(pi),Xt=hi(!1),rs=pi;function co(r,s){var a=r.type.contextTypes;if(!a)return pi;var d=r.stateNode;
vendor: 5,583 bytes, line 38
38if(d&&d.__reactInternalMemoizedUnmaskedChildContext===s)return d.__reactInternalMemoizedMaskedChildContext;var p={},y;for(y in a)p[y]=s[y];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=p),p}function Jt(r){return r=r.childContextTypes,r!=null}function Du(){Xe(Xt),Xe(Ot)}function Sg(r,s,a){if(Ot.current!==pi)throw Error(n(168));Ke(Ot,s),Ke(Xt,a)}function bg(r,s,a){var d=r.stateNode;if(s=s.childContextTypes,typeof d.getChildContext!="function")return a;d=d.getChildContext();for(var p in d)if(!(p in s))throw Error(n(108,xe(r)||"Unknown",p));return oe({},a,d)}function Lu(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||pi,rs=Ot.current,Ke(Ot,r),Ke(Xt,Xt.current),!0}function kg(r,s,a){var d=r.stateNode;if(!d)throw Error(n(169));a?(r=bg(r,s,rs),d.__reactInternalMemoizedMergedChildContext=r,Xe(Xt),Xe(Ot),Ke(Ot,r)):Xe(Xt),Ke(Xt,a)}var Nr=null,Mu=!1,lf=!1;function Eg(r){Nr===null?Nr=[r]:Nr.push(r)}function h2(r){Mu=!0,Eg(r)}function mi(){if(!lf&&Nr!==null){lf=!0;var r=0,s=Ie;try{var a=Nr;for(Ie=1;r<a.length;r++){var d=a[r];do d=d(!0);while(d!==null)}Nr=null,Mu=!1}catch(p){throw Nr!==null&&(Nr=Nr.slice(r+1)),zs(qi,mi),p}finally{Ie=s,lf=!1}}return null}var fo=[],ho=0,ju=null,Fu=0,wn=[],xn=0,is=null,Or=1,Dr="";function ss(r,s){fo[ho++]=Fu,fo[ho++]=ju,ju=r,Fu=s}function Tg(r,s,a){wn[xn++]=Or,wn[xn++]=Dr,wn[xn++]=is,is=r;var d=Or;r=Dr;var p=32-Bt(d)-1;d&=~(1<<p),a+=1;var y=32-Bt(s)+p;if(30<y){var k=p-p%5;y=(d&(1<<k)-1).toString(32),d>>=k,p-=k,Or=1<<32-Bt(s)+p|a<<p|d,Dr=y+r}else Or=1<<y|a<<p|d,Dr=r}function uf(r){r.return!==null&&(ss(r,1),Tg(r,1,0))}function cf(r){for(;r===ju;)ju=fo[--ho],fo[ho]=null,Fu=fo[--ho],fo[ho]=null;for(;r===is;)is=wn[--xn],wn[xn]=null,Dr=wn[--xn],wn[xn]=null,Or=wn[--xn],wn[xn]=null}var cn=null,dn=null,Je=!1,$n=null;function Cg(r,s){var a=En(5,null,null,0);a.elementType="DELETED",a.stateNode=s,a.return=r,s=r.deletions,s===null?(r.deletions=[a],r.flags|=16):s.push(a)}function _g(r,s){switch(r.tag){case 5:var a=r.type;return s=s.nodeType!==1||a.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(r.stateNode=s,cn=r,dn=fi(s.firstChild),!0):!1;case 6:return s=r.pendingProps===""||s.nodeType!==3?null:s,s!==null?(r.stateNode=s,cn=r,dn=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(a=is!==null?{id:Or,overflow:Dr}:null,r.memoizedState={dehydrated:s,treeContext:a,retryLane:1073741824},a=En(18,null,null,0),a.stateNode=s,a.return=r,r.child=a,cn=r,dn=null,!0):!1;default:return!1}}function df(r){return(r.mode&1)!==0&&(r.flags&128)===0}function ff(r){if(Je){var s=dn;if(s){var a=s;if(!_g(r,s)){if(df(r))throw Error(n(418));s=fi(a.nextSibling);var d=cn;s&&_g(r,s)?Cg(d,a):(r.flags=r.flags&-4097|2,Je=!1,cn=r)}}else{if(df(r))throw Error(n(418));r.flags=r.flags&-4097|2,Je=!1,cn=r}}}function Pg(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;cn=r}function Vu(r){if(r!==cn)return!1;if(!Je)return Pg(r),Je=!0,!1;var s;if((s=r.tag!==3)&&!(s=r.tag!==5)&&(s=r.type,s=s!=="head"&&s!=="body"&&!nf(r.type,r.memoizedProps)),s&&(s=dn)){if(df(r))throw Ag(),Error(n(418));for(;s;)Cg(r,s),s=fi(s.nextSibling)}if(Pg(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,s=0;r;){if(r.nodeType===8){var a=r.data;if(a==="/$"){if(s===0){dn=fi(r.nextSibling);break e}s--}else a!=="$"&&a!=="$!"&&a!=="$?"||s++}r=r.nextSibling}dn=null}}else dn=cn?fi(r.stateNode.nextSibling):null;return!0}function Ag(){for(var r=dn;r;)r=fi(r.nextSibling)}function po(){dn=cn=null,Je=!1}function hf(r){$n===null?$n=[r]:$n.push(r)}var p2=q.ReactCurrentBatchConfig;function Fa(r,s,a){if(r=a.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var d=a.stateNode}if(!d)throw Error(n(147,r));var p=d,y=""+r;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===y?s.ref:(s=function(k){var D=p.refs;k===null?delete D[y]:D[y]=k},s._stringRef=y,s)}if(typeof r!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,r))}return r}function Bu(r,s){throw r=Object.prototype.toString.call(s),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r))}function Ig(r){var s=r._init;return s(r._payload)}function Rg(r){function s(W,B){if(r){var G=W.deletions;G===null?(W.deletions=[B],W.flags|=16):G.push(B)}}function a(W,B){if(!r)return null;for(;B!==null;)s(W,B),B=B.sibling;return null}function d(W,B){for(W=new Map;B!==null;)B.key!==null?W.set(B.key,B):W.set(B.index,B),B=B.sibling;return W}function p(W,B){return W=ki(W,B),W.index=0,W.sibling=null,W}function y(W,B,G){return W.index=G,r?(G=W.alternate,G!==null?(G=G.index,G<B?(W.flags|=2,B):G):(W.flags|=2,B)):(W.flags|=1048576,B)}function k(W){return r&&W.alternate===null&&(W.flags|=2),W}function D(W,B,G,ie){return B===null||B.tag!==6?(B=ih(G,W.mode,ie),B.return=W,B):(B=p(B,G),B.return=W,B)}function V(W,B,G,ie){var me=G.type;return me===R?ne(W,B,G.props.children,ie,G.key):B!==null&&(B.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===De&&Ig(me)===B.type)?(ie=p(B,G.props),ie.ref=Fa(W,B,G),ie.return=W,ie):(ie=cc(G.type,G.key,G.props,null,W.mode,ie),ie.ref=Fa(W,B,G),ie.return=W,ie)}function K(W,B,G,ie){return B===null||B.tag!==4||B.stateNode.containerInfo!==G.containerInfo||B.stateNode.implementation!==G.implementation?(B=sh(G,W.mode,ie),B.return=W,B):(B=p(B,G.children||[]),B.return=W,B)}function ne(W,B,G,ie,me){return B===null||B.tag!==7?(B=hs(G,W.mode,ie,me),B.return=W,B):(B=p(B,G),B.return=W,B)}
vendor: 11,507 bytes, line 38
38function re(W,B,G){if(typeof B=="string"&&B!==""||typeof B=="number")return B=ih(""+B,W.mode,G),B.return=W,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case J:return G=cc(B.type,B.key,B.props,null,W.mode,G),G.ref=Fa(W,null,B),G.return=W,G;case ee:return B=sh(B,W.mode,G),B.return=W,B;case De:var ie=B._init;return re(W,ie(B._payload),G)}if(Sr(B)||pe(B))return B=hs(B,W.mode,G,null),B.return=W,B;Bu(W,B)}return null}function te(W,B,G,ie){var me=B!==null?B.key:null;if(typeof G=="string"&&G!==""||typeof G=="number")return me!==null?null:D(W,B,""+G,ie);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case J:return G.key===me?V(W,B,G,ie):null;case ee:return G.key===me?K(W,B,G,ie):null;case De:return me=G._init,te(W,B,me(G._payload),ie)}if(Sr(G)||pe(G))return me!==null?null:ne(W,B,G,ie,null);Bu(W,G)}return null}function le(W,B,G,ie,me){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return W=W.get(G)||null,D(B,W,""+ie,me);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case J:return W=W.get(ie.key===null?G:ie.key)||null,V(B,W,ie,me);case ee:return W=W.get(ie.key===null?G:ie.key)||null,K(B,W,ie,me);case De:var ve=ie._init;return le(W,B,G,ve(ie._payload),me)}if(Sr(ie)||pe(ie))return W=W.get(G)||null,ne(B,W,ie,me,null);Bu(B,ie)}return null}function ce(W,B,G,ie){for(var me=null,ve=null,we=B,ke=B=0,Tt=null;we!==null&&ke<G.length;ke++){we.index>ke?(Tt=we,we=null):Tt=we.sibling;var Me=te(W,we,G[ke],ie);if(Me===null){we===null&&(we=Tt);break}r&&we&&Me.alternate===null&&s(W,we),B=y(Me,B,ke),ve===null?me=Me:ve.sibling=Me,ve=Me,we=Tt}if(ke===G.length)return a(W,we),Je&&ss(W,ke),me;if(we===null){for(;ke<G.length;ke++)we=re(W,G[ke],ie),we!==null&&(B=y(we,B,ke),ve===null?me=we:ve.sibling=we,ve=we);return Je&&ss(W,ke),me}for(we=d(W,we);ke<G.length;ke++)Tt=le(we,W,ke,G[ke],ie),Tt!==null&&(r&&Tt.alternate!==null&&we.delete(Tt.key===null?ke:Tt.key),B=y(Tt,B,ke),ve===null?me=Tt:ve.sibling=Tt,ve=Tt);return r&&we.forEach(function(Ei){return s(W,Ei)}),Je&&ss(W,ke),me}function he(W,B,G,ie){var me=pe(G);if(typeof me!="function")throw Error(n(150));if(G=me.call(G),G==null)throw Error(n(151));for(var ve=me=null,we=B,ke=B=0,Tt=null,Me=G.next();we!==null&&!Me.done;ke++,Me=G.next()){we.index>ke?(Tt=we,we=null):Tt=we.sibling;var Ei=te(W,we,Me.value,ie);if(Ei===null){we===null&&(we=Tt);break}r&&we&&Ei.alternate===null&&s(W,we),B=y(Ei,B,ke),ve===null?me=Ei:ve.sibling=Ei,ve=Ei,we=Tt}if(Me.done)return a(W,we),Je&&ss(W,ke),me;if(we===null){for(;!Me.done;ke++,Me=G.next())Me=re(W,Me.value,ie),Me!==null&&(B=y(Me,B,ke),ve===null?me=Me:ve.sibling=Me,ve=Me);return Je&&ss(W,ke),me}for(we=d(W,we);!Me.done;ke++,Me=G.next())Me=le(we,W,ke,Me.value,ie),Me!==null&&(r&&Me.alternate!==null&&we.delete(Me.key===null?ke:Me.key),B=y(Me,B,ke),ve===null?me=Me:ve.sibling=Me,ve=Me);return r&&we.forEach(function(K2){return s(W,K2)}),Je&&ss(W,ke),me}function ct(W,B,G,ie){if(typeof G=="object"&&G!==null&&G.type===R&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case J:e:{for(var me=G.key,ve=B;ve!==null;){if(ve.key===me){if(me=G.type,me===R){if(ve.tag===7){a(W,ve.sibling),B=p(ve,G.props.children),B.return=W,W=B;break e}}else if(ve.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===De&&Ig(me)===ve.type){a(W,ve.sibling),B=p(ve,G.props),B.ref=Fa(W,ve,G),B.return=W,W=B;break e}a(W,ve);break}else s(W,ve);ve=ve.sibling}G.type===R?(B=hs(G.props.children,W.mode,ie,G.key),B.return=W,W=B):(ie=cc(G.type,G.key,G.props,null,W.mode,ie),ie.ref=Fa(W,B,G),ie.return=W,W=ie)}return k(W);case ee:e:{for(ve=G.key;B!==null;){if(B.key===ve)if(B.tag===4&&B.stateNode.containerInfo===G.containerInfo&&B.stateNode.implementation===G.implementation){a(W,B.sibling),B=p(B,G.children||[]),B.return=W,W=B;break e}else{a(W,B);break}else s(W,B);B=B.sibling}B=sh(G,W.mode,ie),B.return=W,W=B}return k(W);case De:return ve=G._init,ct(W,B,ve(G._payload),ie)}if(Sr(G))return ce(W,B,G,ie);if(pe(G))return he(W,B,G,ie);Bu(W,G)}return typeof G=="string"&&G!==""||typeof G=="number"?(G=""+G,B!==null&&B.tag===6?(a(W,B.sibling),B=p(B,G),B.return=W,W=B):(a(W,B),B=ih(G,W.mode,ie),B.return=W,W=B),k(W)):a(W,B)}return ct}var mo=Rg(!0),Ng=Rg(!1),Uu=hi(null),$u=null,go=null,pf=null;function mf(){pf=go=$u=null}function gf(r){var s=Uu.current;Xe(Uu),r._currentValue=s}function yf(r,s,a){for(;r!==null;){var d=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,d!==null&&(d.childLanes|=s)):d!==null&&(d.childLanes&s)!==s&&(d.childLanes|=s),r===a)break;r=r.return}}function yo(r,s){$u=r,pf=go=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&s)!==0&&(Qt=!0),r.firstContext=null)}function Sn(r){var s=r._currentValue;if(pf!==r)if(r={context:r,memoizedValue:s,next:null},go===null){if($u===null)throw Error(n(308));go=r,$u.dependencies={lanes:0,firstContext:r}}else go=go.next=r;return s}var os=null;function vf(r){os===null?os=[r]:os.push(r)}function Og(r,s,a,d){var p=s.interleaved;return p===null?(a.next=a,vf(s)):(a.next=p.next,p.next=a),s.interleaved=a,Lr(r,d)}function Lr(r,s){r.lanes|=s;var a=r.alternate;for(a!==null&&(a.lanes|=s),a=r,r=r.return;r!==null;)r.childLanes|=s,a=r.alternate,a!==null&&(a.childLanes|=s),a=r,r=r.return;return a.tag===3?a.stateNode:null}var gi=!1;function wf(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dg(r,s){r=r.updateQueue,s.updateQueue===r&&(s.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Mr(r,s){return{eventTime:r,lane:s,tag:0,payload:null,callback:null,next:null}}function yi(r,s,a){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,(Le&2)!==0){var p=d.pending;return p===null?s.next=s:(s.next=p.next,p.next=s),d.pending=s,Lr(r,a)}return p=d.interleaved,p===null?(s.next=s,vf(d)):(s.next=p.next,p.next=s),d.interleaved=s,Lr(r,a)}function zu(r,s,a){if(s=s.updateQueue,s!==null&&(s=s.shared,(a&4194240)!==0)){var d=s.lanes;d&=r.pendingLanes,a|=d,s.lanes=a,si(r,a)}}function Lg(r,s){var a=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,a===d)){var p=null,y=null;if(a=a.firstBaseUpdate,a!==null){do{var k={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};y===null?p=y=k:y=y.next=k,a=a.next}while(a!==null);y===null?p=y=s:y=y.next=s}else p=y=s;a={baseState:d.baseState,firstBaseUpdate:p,lastBaseUpdate:y,shared:d.shared,effects:d.effects},r.updateQueue=a;return}r=a.lastBaseUpdate,r===null?a.firstBaseUpdate=s:r.next=s,a.lastBaseUpdate=s}function Hu(r,s,a,d){var p=r.updateQueue;gi=!1;var y=p.firstBaseUpdate,k=p.lastBaseUpdate,D=p.shared.pending;if(D!==null){p.shared.pending=null;var V=D,K=V.next;V.next=null,k===null?y=K:k.next=K,k=V;var ne=r.alternate;ne!==null&&(ne=ne.updateQueue,D=ne.lastBaseUpdate,D!==k&&(D===null?ne.firstBaseUpdate=K:D.next=K,ne.lastBaseUpdate=V))}if(y!==null){var re=p.baseState;k=0,ne=K=V=null,D=y;do{var te=D.lane,le=D.eventTime;if((d&te)===te){ne!==null&&(ne=ne.next={eventTime:le,lane:0,tag:D.tag,payload:D.payload,callback:D.callback,next:null});e:{var ce=r,he=D;switch(te=s,le=a,he.tag){case 1:if(ce=he.payload,typeof ce=="function"){re=ce.call(le,re,te);break e}re=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=he.payload,te=typeof ce=="function"?ce.call(le,re,te):ce,te==null)break e;re=oe({},re,te);break e;case 2:gi=!0}}D.callback!==null&&D.lane!==0&&(r.flags|=64,te=p.effects,te===null?p.effects=[D]:te.push(D))}else le={eventTime:le,lane:te,tag:D.tag,payload:D.payload,callback:D.callback,next:null},ne===null?(K=ne=le,V=re):ne=ne.next=le,k|=te;if(D=D.next,D===null){if(D=p.shared.pending,D===null)break;te=D,D=te.next,te.next=null,p.lastBaseUpdate=te,p.shared.pending=null}}while(!0);if(ne===null&&(V=re),p.baseState=V,p.firstBaseUpdate=K,p.lastBaseUpdate=ne,s=p.shared.interleaved,s!==null){p=s;do k|=p.lane,p=p.next;while(p!==s)}else y===null&&(p.shared.lanes=0);us|=k,r.lanes=k,r.memoizedState=re}}function Mg(r,s,a){if(r=s.effects,s.effects=null,r!==null)for(s=0;s<r.length;s++){var d=r[s],p=d.callback;if(p!==null){if(d.callback=null,d=a,typeof p!="function")throw Error(n(191,p));p.call(d)}}}var Va={},sr=hi(Va),Ba=hi(Va),Ua=hi(Va);function as(r){if(r===Va)throw Error(n(174));return r}function xf(r,s){switch(Ke(Ua,s),Ke(Ba,r),Ke(sr,Va),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:gt(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=gt(s,r)}Xe(sr),Ke(sr,s)}function vo(){Xe(sr),Xe(Ba),Xe(Ua)}function jg(r){as(Ua.current);var s=as(sr.current),a=gt(s,r.type);s!==a&&(Ke(Ba,r),Ke(sr,a))}function Sf(r){Ba.current===r&&(Xe(sr),Xe(Ba))}var tt=hi(0);function Wu(r){for(var s=r;s!==null;){if(s.tag===13){var a=s.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var bf=[];function kf(){for(var r=0;r<bf.length;r++)bf[r]._workInProgressVersionPrimary=null;bf.length=0}var Gu=q.ReactCurrentDispatcher,Ef=q.ReactCurrentBatchConfig,ls=0,nt=null,vt=null,kt=null,Ku=!1,$a=!1,za=0,m2=0;function Dt(){throw Error(n(321))}function Tf(r,s){if(s===null)return!1;for(var a=0;a<s.length&&a<r.length;a++)if(!Un(r[a],s[a]))return!1;return!0}function Cf(r,s,a,d,p,y){if(ls=y,nt=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Gu.current=r===null||r.memoizedState===null?w2:x2,r=a(d,p),$a){y=0;do{if($a=!1,za=0,25<=y)throw Error(n(301));y+=1,kt=vt=null,s.updateQueue=null,Gu.current=S2,r=a(d,p)}while($a)}if(Gu.current=Xu,s=vt!==null&&vt.next!==null,ls=0,kt=vt=nt=null,Ku=!1,s)throw Error(n(300));return r}function _f(){var r=za!==0;return za=0,r}function or(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kt===null?nt.memoizedState=kt=r:kt=kt.next=r,kt}function bn(){if(vt===null){var r=nt.alternate;r=r!==null?r.memoizedState:null}else r=vt.next;var s=kt===null?nt.memoizedState:kt.next;if(s!==null)kt=s,vt=r;else{if(r===null)throw Error(n(310));vt=r,r={memoizedState:vt.memoizedState,baseState:vt.baseState,baseQueue:vt.baseQueue,queue:vt.queue,next:null},kt===null?nt.memoizedState=kt=r:kt=kt.next=r}return kt}function Ha(r,s){return typeof s=="function"?s(r):s}function Pf(r){var s=bn(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var d=vt,p=d.baseQueue,y=a.pending;if(y!==null){if(p!==null){var k=p.next;p.next=y.next,y.next=k}d.baseQueue=p=y,a.pending=null}if(p!==null){y=p.next,d=d.baseState;var D=k=null,V=null,K=y;do{var ne=K.lane;if((ls&ne)===ne)V!==null&&(V=V.next={lane:0,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null}),d=K.hasEagerState?K.eagerState:r(d,K.action);else{var re={lane:ne,action:K.action,hasEagerState:K.hasEagerState,eagerState:K.eagerState,next:null};V===null?(D=V=re,k=d):V=V.next=re,nt.lanes|=ne,us|=ne}K=K.next}while(K!==null&&K!==y);V===null?k=d:V.next=D,Un(d,s.memoizedState)||(Qt=!0),s.memoizedState=d,s.baseState=k,s.baseQueue=V,a.lastRenderedState=d}if(r=a.interleaved,r!==null){p=r;do y=p.lane,nt.lanes|=y,us|=y,p=p.next;while(p!==r)}else p===null&&(a.lanes=0);return[s.memoizedState,a.dispatch]}function Af(r){var s=bn(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;
vendor: 4,790 bytes, line 38
38var d=a.dispatch,p=a.pending,y=s.memoizedState;if(p!==null){a.pending=null;var k=p=p.next;do y=r(y,k.action),k=k.next;while(k!==p);Un(y,s.memoizedState)||(Qt=!0),s.memoizedState=y,s.baseQueue===null&&(s.baseState=y),a.lastRenderedState=y}return[y,d]}function Fg(){}function Vg(r,s){var a=nt,d=bn(),p=s(),y=!Un(d.memoizedState,p);if(y&&(d.memoizedState=p,Qt=!0),d=d.queue,If($g.bind(null,a,d,r),[r]),d.getSnapshot!==s||y||kt!==null&&kt.memoizedState.tag&1){if(a.flags|=2048,Wa(9,Ug.bind(null,a,d,p,s),void 0,null),Et===null)throw Error(n(349));(ls&30)!==0||Bg(a,s,p)}return p}function Bg(r,s,a){r.flags|=16384,r={getSnapshot:s,value:a},s=nt.updateQueue,s===null?(s={lastEffect:null,stores:null},nt.updateQueue=s,s.stores=[r]):(a=s.stores,a===null?s.stores=[r]:a.push(r))}function Ug(r,s,a,d){s.value=a,s.getSnapshot=d,zg(s)&&Hg(r)}function $g(r,s,a){return a(function(){zg(s)&&Hg(r)})}function zg(r){var s=r.getSnapshot;r=r.value;try{var a=s();return!Un(r,a)}catch{return!0}}function Hg(r){var s=Lr(r,1);s!==null&&Gn(s,r,1,-1)}function Wg(r){var s=or();return typeof r=="function"&&(r=r()),s.memoizedState=s.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ha,lastRenderedState:r},s.queue=r,r=r.dispatch=v2.bind(null,nt,r),[s.memoizedState,r]}function Wa(r,s,a,d){return r={tag:r,create:s,destroy:a,deps:d,next:null},s=nt.updateQueue,s===null?(s={lastEffect:null,stores:null},nt.updateQueue=s,s.lastEffect=r.next=r):(a=s.lastEffect,a===null?s.lastEffect=r.next=r:(d=a.next,a.next=r,r.next=d,s.lastEffect=r)),r}function Gg(){return bn().memoizedState}function Yu(r,s,a,d){var p=or();nt.flags|=r,p.memoizedState=Wa(1|s,a,void 0,d===void 0?null:d)}function qu(r,s,a,d){var p=bn();d=d===void 0?null:d;var y=void 0;if(vt!==null){var k=vt.memoizedState;if(y=k.destroy,d!==null&&Tf(d,k.deps)){p.memoizedState=Wa(s,a,y,d);return}}nt.flags|=r,p.memoizedState=Wa(1|s,a,y,d)}function Kg(r,s){return Yu(8390656,8,r,s)}function If(r,s){return qu(2048,8,r,s)}function Yg(r,s){return qu(4,2,r,s)}function qg(r,s){return qu(4,4,r,s)}function Xg(r,s){if(typeof s=="function")return r=r(),s(r),function(){s(null)};if(s!=null)return r=r(),s.current=r,function(){s.current=null}}function Jg(r,s,a){return a=a!=null?a.concat([r]):null,qu(4,4,Xg.bind(null,s,r),a)}function Rf(){}function Qg(r,s){var a=bn();s=s===void 0?null:s;var d=a.memoizedState;return d!==null&&s!==null&&Tf(s,d[1])?d[0]:(a.memoizedState=[r,s],r)}function Zg(r,s){var a=bn();s=s===void 0?null:s;var d=a.memoizedState;return d!==null&&s!==null&&Tf(s,d[1])?d[0]:(r=r(),a.memoizedState=[r,s],r)}function ey(r,s,a){return(ls&21)===0?(r.baseState&&(r.baseState=!1,Qt=!0),r.memoizedState=a):(Un(a,s)||(a=Qi(),nt.lanes|=a,us|=a,r.baseState=!0),s)}function g2(r,s){var a=Ie;Ie=a!==0&&4>a?a:4,r(!0);var d=Ef.transition;Ef.transition={};try{r(!1),s()}finally{Ie=a,Ef.transition=d}}function ty(){return bn().memoizedState}function y2(r,s,a){var d=Si(r);if(a={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null},ny(r))ry(s,a);else if(a=Og(r,s,a,d),a!==null){var p=$t();Gn(a,r,d,p),iy(a,s,d)}}function v2(r,s,a){var d=Si(r),p={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null};if(ny(r))ry(s,p);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=s.lastRenderedReducer,y!==null))try{var k=s.lastRenderedState,D=y(k,a);if(p.hasEagerState=!0,p.eagerState=D,Un(D,k)){var V=s.interleaved;V===null?(p.next=p,vf(s)):(p.next=V.next,V.next=p),s.interleaved=p;return}}catch{}finally{}a=Og(r,s,p,d),a!==null&&(p=$t(),Gn(a,r,d,p),iy(a,s,d))}}function ny(r){var s=r.alternate;return r===nt||s!==null&&s===nt}function ry(r,s){$a=Ku=!0;var a=r.pending;a===null?s.next=s:(s.next=a.next,a.next=s),r.pending=s}function iy(r,s,a){if((a&4194240)!==0){var d=s.lanes;d&=r.pendingLanes,a|=d,s.lanes=a,si(r,a)}}var Xu={readContext:Sn,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useInsertionEffect:Dt,useLayoutEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useMutableSource:Dt,useSyncExternalStore:Dt,useId:Dt,unstable_isNewReconciler:!1},w2={readContext:Sn,useCallback:function(r,s){return or().memoizedState=[r,s===void 0?null:s],r},useContext:Sn,useEffect:Kg,useImperativeHandle:function(r,s,a){return a=a!=null?a.concat([r]):null,Yu(4194308,4,Xg.bind(null,s,r),a)},useLayoutEffect:function(r,s){return Yu(4194308,4,r,s)},useInsertionEffect:function(r,s){return Yu(4,2,r,s)},useMemo:function(r,s){var a=or();return s=s===void 0?null:s,r=r(),a.memoizedState=[r,s],r},useReducer:function(r,s,a){var d=or();return s=a!==void 0?a(s):s,d.memoizedState=d.baseState=s,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:s},d.queue=r,r=r.dispatch=y2.bind(null,nt,r),[d.memoizedState,r]}
vendor: 4,715 bytes, lines 38-40
38,useRef:function(r){var s=or();return r={current:r},s.memoizedState=r},useState:Wg,useDebugValue:Rf,useDeferredValue:function(r){return or().memoizedState=r},useTransition:function(){var r=Wg(!1),s=r[0];return r=g2.bind(null,r[1]),or().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,a){var d=nt,p=or();if(Je){if(a===void 0)throw Error(n(407));a=a()}else{if(a=s(),Et===null)throw Error(n(349));(ls&30)!==0||Bg(d,s,a)}p.memoizedState=a;var y={value:a,getSnapshot:s};return p.queue=y,Kg($g.bind(null,d,y,r),[r]),d.flags|=2048,Wa(9,Ug.bind(null,d,y,a,s),void 0,null),a},useId:function(){var r=or(),s=Et.identifierPrefix;if(Je){var a=Dr,d=Or;a=(d&~(1<<32-Bt(d)-1)).toString(32)+a,s=":"+s+"R"+a,a=za++,0<a&&(s+="H"+a.toString(32)),s+=":"}else a=m2++,s=":"+s+"r"+a.toString(32)+":";return r.memoizedState=s},unstable_isNewReconciler:!1},x2={readContext:Sn,useCallback:Qg,useContext:Sn,useEffect:If,useImperativeHandle:Jg,useInsertionEffect:Yg,useLayoutEffect:qg,useMemo:Zg,useReducer:Pf,useRef:Gg,useState:function(){return Pf(Ha)},useDebugValue:Rf,useDeferredValue:function(r){var s=bn();return ey(s,vt.memoizedState,r)},useTransition:function(){var r=Pf(Ha)[0],s=bn().memoizedState;return[r,s]},useMutableSource:Fg,useSyncExternalStore:Vg,useId:ty,unstable_isNewReconciler:!1},S2={readContext:Sn,useCallback:Qg,useContext:Sn,useEffect:If,useImperativeHandle:Jg,useInsertionEffect:Yg,useLayoutEffect:qg,useMemo:Zg,useReducer:Af,useRef:Gg,useState:function(){return Af(Ha)},useDebugValue:Rf,useDeferredValue:function(r){var s=bn();return vt===null?s.memoizedState=r:ey(s,vt.memoizedState,r)},useTransition:function(){var r=Af(Ha)[0],s=bn().memoizedState;return[r,s]},useMutableSource:Fg,useSyncExternalStore:Vg,useId:ty,unstable_isNewReconciler:!1};function zn(r,s){if(r&&r.defaultProps){s=oe({},s),r=r.defaultProps;for(var a in r)s[a]===void 0&&(s[a]=r[a]);return s}return s}function Nf(r,s,a,d){s=r.memoizedState,a=a(d,s),a=a==null?s:oe({},s,a),r.memoizedState=a,r.lanes===0&&(r.updateQueue.baseState=a)}var Ju={isMounted:function(r){return(r=r._reactInternals)?Dn(r)===r:!1},enqueueSetState:function(r,s,a){r=r._reactInternals;var d=$t(),p=Si(r),y=Mr(d,p);y.payload=s,a!=null&&(y.callback=a),s=yi(r,y,p),s!==null&&(Gn(s,r,p,d),zu(s,r,p))},enqueueReplaceState:function(r,s,a){r=r._reactInternals;var d=$t(),p=Si(r),y=Mr(d,p);y.tag=1,y.payload=s,a!=null&&(y.callback=a),s=yi(r,y,p),s!==null&&(Gn(s,r,p,d),zu(s,r,p))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var a=$t(),d=Si(r),p=Mr(a,d);p.tag=2,s!=null&&(p.callback=s),s=yi(r,p,d),s!==null&&(Gn(s,r,d,a),zu(s,r,d))}};function sy(r,s,a,d,p,y,k){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(d,y,k):s.prototype&&s.prototype.isPureReactComponent?!Ra(a,d)||!Ra(p,y):!0}function oy(r,s,a){var d=!1,p=pi,y=s.contextType;return typeof y=="object"&&y!==null?y=Sn(y):(p=Jt(s)?rs:Ot.current,d=s.contextTypes,y=(d=d!=null)?co(r,p):pi),s=new s(a,y),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Ju,r.stateNode=s,s._reactInternals=r,d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=p,r.__reactInternalMemoizedMaskedChildContext=y),s}function ay(r,s,a,d){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(a,d),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(a,d),s.state!==r&&Ju.enqueueReplaceState(s,s.state,null)}function Of(r,s,a,d){var p=r.stateNode;p.props=a,p.state=r.memoizedState,p.refs={},wf(r);var y=s.contextType;typeof y=="object"&&y!==null?p.context=Sn(y):(y=Jt(s)?rs:Ot.current,p.context=co(r,y)),p.state=r.memoizedState,y=s.getDerivedStateFromProps,typeof y=="function"&&(Nf(r,s,y,a),p.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(s=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),s!==p.state&&Ju.enqueueReplaceState(p,p.state,null),Hu(r,a,p,d),p.state=r.memoizedState),typeof p.componentDidMount=="function"&&(r.flags|=4194308)}function wo(r,s){try{var a="",d=s;do a+=Te(d),d=d.return;while(d);var p=a}catch(y){p=` 39Error generating stack: `+y.message+` 40`+y.stack}return{value:r,source:s,stack:p,digest:null}}function Df(r,s,a){return{value:r,source:null,stack:a??null,digest:s??null}}function Lf(r,s){try{console.error(s.value)}catch(a){setTimeout(function(){throw a})}}var b2=typeof WeakMap=="function"?WeakMap:Map;function ly(r,s,a){a=Mr(-1,a),a.tag=3,a.payload={element:null};var d=s.value;
vendor: 42,169 bytes, line 40
40return a.callback=function(){ic||(ic=!0,Xf=d),Lf(r,s)},a}function uy(r,s,a){a=Mr(-1,a),a.tag=3;var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var p=s.value;a.payload=function(){return d(p)},a.callback=function(){Lf(r,s)}}var y=r.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(a.callback=function(){Lf(r,s),typeof d!="function"&&(wi===null?wi=new Set([this]):wi.add(this));var k=s.stack;this.componentDidCatch(s.value,{componentStack:k!==null?k:""})}),a}function cy(r,s,a){var d=r.pingCache;if(d===null){d=r.pingCache=new b2;var p=new Set;d.set(s,p)}else p=d.get(s),p===void 0&&(p=new Set,d.set(s,p));p.has(a)||(p.add(a),r=M2.bind(null,r,s,a),s.then(r,r))}function dy(r){do{var s;if((s=r.tag===13)&&(s=r.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return r;r=r.return}while(r!==null);return null}function fy(r,s,a,d,p){return(r.mode&1)===0?(r===s?r.flags|=65536:(r.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(s=Mr(-1,1),s.tag=2,yi(a,s,1))),a.lanes|=1),r):(r.flags|=65536,r.lanes=p,r)}var k2=q.ReactCurrentOwner,Qt=!1;function Ut(r,s,a,d){s.child=r===null?Ng(s,null,a,d):mo(s,r.child,a,d)}function hy(r,s,a,d,p){a=a.render;var y=s.ref;return yo(s,p),d=Cf(r,s,a,d,y,p),a=_f(),r!==null&&!Qt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~p,jr(r,s,p)):(Je&&a&&uf(s),s.flags|=1,Ut(r,s,d,p),s.child)}function py(r,s,a,d,p){if(r===null){var y=a.type;return typeof y=="function"&&!rh(y)&&y.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(s.tag=15,s.type=y,my(r,s,y,d,p)):(r=cc(a.type,null,d,s,s.mode,p),r.ref=s.ref,r.return=s,s.child=r)}if(y=r.child,(r.lanes&p)===0){var k=y.memoizedProps;if(a=a.compare,a=a!==null?a:Ra,a(k,d)&&r.ref===s.ref)return jr(r,s,p)}return s.flags|=1,r=ki(y,d),r.ref=s.ref,r.return=s,s.child=r}function my(r,s,a,d,p){if(r!==null){var y=r.memoizedProps;if(Ra(y,d)&&r.ref===s.ref)if(Qt=!1,s.pendingProps=d=y,(r.lanes&p)!==0)(r.flags&131072)!==0&&(Qt=!0);else return s.lanes=r.lanes,jr(r,s,p)}return Mf(r,s,a,d,p)}function gy(r,s,a){var d=s.pendingProps,p=d.children,y=r!==null?r.memoizedState:null;if(d.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ke(So,fn),fn|=a;else{if((a&1073741824)===0)return r=y!==null?y.baseLanes|a:a,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:r,cachePool:null,transitions:null},s.updateQueue=null,Ke(So,fn),fn|=r,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=y!==null?y.baseLanes:a,Ke(So,fn),fn|=d}else y!==null?(d=y.baseLanes|a,s.memoizedState=null):d=a,Ke(So,fn),fn|=d;return Ut(r,s,p,a),s.child}function yy(r,s){var a=s.ref;(r===null&&a!==null||r!==null&&r.ref!==a)&&(s.flags|=512,s.flags|=2097152)}function Mf(r,s,a,d,p){var y=Jt(a)?rs:Ot.current;return y=co(s,y),yo(s,p),a=Cf(r,s,a,d,y,p),d=_f(),r!==null&&!Qt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~p,jr(r,s,p)):(Je&&d&&uf(s),s.flags|=1,Ut(r,s,a,p),s.child)}function vy(r,s,a,d,p){if(Jt(a)){var y=!0;Lu(s)}else y=!1;if(yo(s,p),s.stateNode===null)Zu(r,s),oy(s,a,d),Of(s,a,d,p),d=!0;else if(r===null){var k=s.stateNode,D=s.memoizedProps;k.props=D;var V=k.context,K=a.contextType;typeof K=="object"&&K!==null?K=Sn(K):(K=Jt(a)?rs:Ot.current,K=co(s,K));var ne=a.getDerivedStateFromProps,re=typeof ne=="function"||typeof k.getSnapshotBeforeUpdate=="function";re||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(D!==d||V!==K)&&ay(s,k,d,K),gi=!1;var te=s.memoizedState;k.state=te,Hu(s,d,k,p),V=s.memoizedState,D!==d||te!==V||Xt.current||gi?(typeof ne=="function"&&(Nf(s,a,ne,d),V=s.memoizedState),(D=gi||sy(s,a,D,d,te,V,K))?(re||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(s.flags|=4194308)):(typeof k.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=d,s.memoizedState=V),k.props=d,k.state=V,k.context=K,d=D):(typeof k.componentDidMount=="function"&&(s.flags|=4194308),d=!1)}else{k=s.stateNode,Dg(r,s),D=s.memoizedProps,K=s.type===s.elementType?D:zn(s.type,D),k.props=K,re=s.pendingProps,te=k.context,V=a.contextType,typeof V=="object"&&V!==null?V=Sn(V):(V=Jt(a)?rs:Ot.current,V=co(s,V));var le=a.getDerivedStateFromProps;(ne=typeof le=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(D!==re||te!==V)&&ay(s,k,d,V),gi=!1,te=s.memoizedState,k.state=te,Hu(s,d,k,p);var ce=s.memoizedState;D!==re||te!==ce||Xt.current||gi?(typeof le=="function"&&(Nf(s,a,le,d),ce=s.memoizedState),(K=gi||sy(s,a,K,d,te,ce,V)||!1)?(ne||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(d,ce,V),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(d,ce,V)),typeof k.componentDidUpdate=="function"&&(s.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof k.componentDidUpdate!="function"||D===r.memoizedProps&&te===r.memoizedState||(s.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||D===r.memoizedProps&&te===r.memoizedState||(s.flags|=1024),s.memoizedProps=d,s.memoizedState=ce),k.props=d,k.state=ce,k.context=V,d=K):(typeof k.componentDidUpdate!="function"||D===r.memoizedProps&&te===r.memoizedState||(s.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||D===r.memoizedProps&&te===r.memoizedState||(s.flags|=1024),d=!1)}return jf(r,s,a,d,y,p)}function jf(r,s,a,d,p,y){yy(r,s);var k=(s.flags&128)!==0;if(!d&&!k)return p&&kg(s,a,!1),jr(r,s,y);d=s.stateNode,k2.current=s;var D=k&&typeof a.getDerivedStateFromError!="function"?null:d.render();return s.flags|=1,r!==null&&k?(s.child=mo(s,r.child,null,y),s.child=mo(s,null,D,y)):Ut(r,s,D,y),s.memoizedState=d.state,p&&kg(s,a,!0),s.child}function wy(r){var s=r.stateNode;s.pendingContext?Sg(r,s.pendingContext,s.pendingContext!==s.context):s.context&&Sg(r,s.context,!1),xf(r,s.containerInfo)}function xy(r,s,a,d,p){return po(),hf(p),s.flags|=256,Ut(r,s,a,d),s.child}var Ff={dehydrated:null,treeContext:null,retryLane:0};function Vf(r){return{baseLanes:r,cachePool:null,transitions:null}}function Sy(r,s,a){var d=s.pendingProps,p=tt.current,y=!1,k=(s.flags&128)!==0,D;if((D=k)||(D=r!==null&&r.memoizedState===null?!1:(p&2)!==0),D?(y=!0,s.flags&=-129):(r===null||r.memoizedState!==null)&&(p|=1),Ke(tt,p&1),r===null)return ff(s),r=s.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((s.mode&1)===0?s.lanes=1:r.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(k=d.children,r=d.fallback,y?(d=s.mode,y=s.child,k={mode:"hidden",children:k},(d&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=k):y=dc(k,d,0,null),r=hs(r,d,a,null),y.return=s,r.return=s,y.sibling=r,s.child=y,s.child.memoizedState=Vf(a),s.memoizedState=Ff,r):Bf(s,k));if(p=r.memoizedState,p!==null&&(D=p.dehydrated,D!==null))return E2(r,s,k,d,D,p,a);if(y){y=d.fallback,k=s.mode,p=r.child,D=p.sibling;var V={mode:"hidden",children:d.children};return(k&1)===0&&s.child!==p?(d=s.child,d.childLanes=0,d.pendingProps=V,s.deletions=null):(d=ki(p,V),d.subtreeFlags=p.subtreeFlags&14680064),D!==null?y=ki(D,y):(y=hs(y,k,a,null),y.flags|=2),y.return=s,d.return=s,d.sibling=y,s.child=d,d=y,y=s.child,k=r.child.memoizedState,k=k===null?Vf(a):{baseLanes:k.baseLanes|a,cachePool:null,transitions:k.transitions},y.memoizedState=k,y.childLanes=r.childLanes&~a,s.memoizedState=Ff,d}return y=r.child,r=y.sibling,d=ki(y,{mode:"visible",children:d.children}),(s.mode&1)===0&&(d.lanes=a),d.return=s,d.sibling=null,r!==null&&(a=s.deletions,a===null?(s.deletions=[r],s.flags|=16):a.push(r)),s.child=d,s.memoizedState=null,d}function Bf(r,s){return s=dc({mode:"visible",children:s},r.mode,0,null),s.return=r,r.child=s}function Qu(r,s,a,d){return d!==null&&hf(d),mo(s,r.child,null,a),r=Bf(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function E2(r,s,a,d,p,y,k){if(a)return s.flags&256?(s.flags&=-257,d=Df(Error(n(422))),Qu(r,s,k,d)):s.memoizedState!==null?(s.child=r.child,s.flags|=128,null):(y=d.fallback,p=s.mode,d=dc({mode:"visible",children:d.children},p,0,null),y=hs(y,p,k,null),y.flags|=2,d.return=s,y.return=s,d.sibling=y,s.child=d,(s.mode&1)!==0&&mo(s,r.child,null,k),s.child.memoizedState=Vf(k),s.memoizedState=Ff,y);if((s.mode&1)===0)return Qu(r,s,k,null);if(p.data==="$!"){if(d=p.nextSibling&&p.nextSibling.dataset,d)var D=d.dgst;return d=D,y=Error(n(419)),d=Df(y,d,void 0),Qu(r,s,k,d)}if(D=(k&r.childLanes)!==0,Qt||D){if(d=Et,d!==null){switch(k&-k){case 4:p=2;break;case 16:p=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:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(d.suspendedLanes|k))!==0?0:p,p!==0&&p!==y.retryLane&&(y.retryLane=p,Lr(r,p),Gn(d,r,p,-1))}return nh(),d=Df(Error(n(421))),Qu(r,s,k,d)}return p.data==="$?"?(s.flags|=128,s.child=r.child,s=j2.bind(null,r),p._reactRetry=s,null):(r=y.treeContext,dn=fi(p.nextSibling),cn=s,Je=!0,$n=null,r!==null&&(wn[xn++]=Or,wn[xn++]=Dr,wn[xn++]=is,Or=r.id,Dr=r.overflow,is=s),s=Bf(s,d.children),s.flags|=4096,s)}function by(r,s,a){r.lanes|=s;var d=r.alternate;d!==null&&(d.lanes|=s),yf(r.return,s,a)}function Uf(r,s,a,d,p){var y=r.memoizedState;y===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:d,tail:a,tailMode:p}:(y.isBackwards=s,y.rendering=null,y.renderingStartTime=0,y.last=d,y.tail=a,y.tailMode=p)}function ky(r,s,a){var d=s.pendingProps,p=d.revealOrder,y=d.tail;if(Ut(r,s,d.children,a),d=tt.current,(d&2)!==0)d=d&1|2,s.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=s.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&by(r,a,s);else if(r.tag===19)by(r,a,s);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===s)break e;for(;r.sibling===null;){if(r.return===null||r.return===s)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}d&=1}if(Ke(tt,d),(s.mode&1)===0)s.memoizedState=null;else switch(p){case"forwards":for(a=s.child,p=null;a!==null;)r=a.alternate,r!==null&&Wu(r)===null&&(p=a),a=a.sibling;a=p,a===null?(p=s.child,s.child=null):(p=a.sibling,a.sibling=null),Uf(s,!1,p,a,y);break;case"backwards":for(a=null,p=s.child,s.child=null;p!==null;){if(r=p.alternate,r!==null&&Wu(r)===null){s.child=p;break}r=p.sibling,p.sibling=a,a=p,p=r}Uf(s,!0,a,null,y);break;case"together":Uf(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Zu(r,s){(s.mode&1)===0&&r!==null&&(r.alternate=null,s.alternate=null,s.flags|=2)}function jr(r,s,a){if(r!==null&&(s.dependencies=r.dependencies),us|=s.lanes,(a&s.childLanes)===0)return null;if(r!==null&&s.child!==r.child)throw Error(n(153));if(s.child!==null){for(r=s.child,a=ki(r,r.pendingProps),s.child=a,a.return=s;r.sibling!==null;)r=r.sibling,a=a.sibling=ki(r,r.pendingProps),a.return=s;a.sibling=null}return s.child}function T2(r,s,a){switch(s.tag){case 3:wy(s),po();break;case 5:jg(s);break;case 1:Jt(s.type)&&Lu(s);break;case 4:xf(s,s.stateNode.containerInfo);break;case 10:var d=s.type._context,p=s.memoizedProps.value;Ke(Uu,d._currentValue),d._currentValue=p;break;case 13:if(d=s.memoizedState,d!==null)return d.dehydrated!==null?(Ke(tt,tt.current&1),s.flags|=128,null):(a&s.child.childLanes)!==0?Sy(r,s,a):(Ke(tt,tt.current&1),r=jr(r,s,a),r!==null?r.sibling:null);Ke(tt,tt.current&1);break;case 19:if(d=(a&s.childLanes)!==0,(r.flags&128)!==0){if(d)return ky(r,s,a);s.flags|=128}if(p=s.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),Ke(tt,tt.current),d)break;return null;case 22:case 23:return s.lanes=0,gy(r,s,a)}return jr(r,s,a)}var Ey,$f,Ty,Cy;Ey=function(r,s){for(var a=s.child;a!==null;){if(a.tag===5||a.tag===6)r.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break;for(;a.sibling===null;){if(a.return===null||a.return===s)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},$f=function(){},Ty=function(r,s,a,d){var p=r.memoizedProps;if(p!==d){r=s.stateNode,as(sr.current);var y=null;switch(a){case"input":p=$i(r,p),d=$i(r,d),y=[];break;case"select":p=oe({},p,{value:void 0}),d=oe({},d,{value:void 0}),y=[];break;case"textarea":p=ia(r,p),d=ia(r,d),y=[];break;default:typeof p.onClick!="function"&&typeof d.onClick=="function"&&(r.onclick=Nu)}ca(a,d);var k;a=null;for(K in p)if(!d.hasOwnProperty(K)&&p.hasOwnProperty(K)&&p[K]!=null)if(K==="style"){var D=p[K];for(k in D)D.hasOwnProperty(k)&&(a||(a={}),a[k]="")}else K!=="dangerouslySetInnerHTML"&&K!=="children"&&K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&K!=="autoFocus"&&(o.hasOwnProperty(K)?y||(y=[]):(y=y||[]).push(K,null));for(K in d){var V=d[K];if(D=p!=null?p[K]:void 0,d.hasOwnProperty(K)&&V!==D&&(V!=null||D!=null))if(K==="style")if(D){for(k in D)!D.hasOwnProperty(k)||V&&V.hasOwnProperty(k)||(a||(a={}),a[k]="");for(k in V)V.hasOwnProperty(k)&&D[k]!==V[k]&&(a||(a={}),a[k]=V[k])}else a||(y||(y=[]),y.push(K,a)),a=V;else K==="dangerouslySetInnerHTML"?(V=V?V.__html:void 0,D=D?D.__html:void 0,V!=null&&D!==V&&(y=y||[]).push(K,V)):K==="children"?typeof V!="string"&&typeof V!="number"||(y=y||[]).push(K,""+V):K!=="suppressContentEditableWarning"&&K!=="suppressHydrationWarning"&&(o.hasOwnProperty(K)?(V!=null&&K==="onScroll"&&qe("scroll",r),y||D===V||(y=[])):(y=y||[]).push(K,V))}a&&(y=y||[]).push("style",a);var K=y;(s.updateQueue=K)&&(s.flags|=4)}},Cy=function(r,s,a,d){a!==d&&(s.flags|=4)};function Ga(r,s){if(!Je)switch(r.tailMode){case"hidden":s=r.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?r.tail=null:a.sibling=null;break;case"collapsed":a=r.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:d.sibling=null}}function Lt(r){var s=r.alternate!==null&&r.alternate.child===r.child,a=0,d=0;if(s)for(var p=r.child;p!==null;)a|=p.lanes|p.childLanes,d|=p.subtreeFlags&14680064,d|=p.flags&14680064,p.return=r,p=p.sibling;else for(p=r.child;p!==null;)a|=p.lanes|p.childLanes,d|=p.subtreeFlags,d|=p.flags,p.return=r,p=p.sibling;return r.subtreeFlags|=d,r.childLanes=a,s}function C2(r,s,a){var d=s.pendingProps;switch(cf(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lt(s),null;case 1:return Jt(s.type)&&Du(),Lt(s),null;case 3:return d=s.stateNode,vo(),Xe(Xt),Xe(Ot),kf(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(r===null||r.child===null)&&(Vu(s)?s.flags|=4:r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,$n!==null&&(Zf($n),$n=null))),$f(r,s),Lt(s),null;case 5:Sf(s);var p=as(Ua.current);if(a=s.type,r!==null&&s.stateNode!=null)Ty(r,s,a,d,p),r.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!d){if(s.stateNode===null)throw Error(n(166));return Lt(s),null}if(r=as(sr.current),Vu(s)){d=s.stateNode,a=s.type;var y=s.memoizedProps;switch(d[ir]=s,d[Ma]=y,r=(s.mode&1)!==0,a){case"dialog":qe("cancel",d),qe("close",d);break;case"iframe":case"object":case"embed":qe("load",d);break;case"video":case"audio":for(p=0;p<Oa.length;p++)qe(Oa[p],d);break;case"source":qe("error",d);break;case"img":case"image":case"link":qe("error",d),qe("load",d);break;case"details":qe("toggle",d);break;case"input":Os(d,y),qe("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!y.multiple},qe("invalid",d);break;case"textarea":Ls(d,y),qe("invalid",d)}ca(a,y),p=null;for(var k in y)if(y.hasOwnProperty(k)){var D=y[k];k==="children"?typeof D=="string"?d.textContent!==D&&(y.suppressHydrationWarning!==!0&&Ru(d.textContent,D,r),p=["children",D]):typeof D=="number"&&d.textContent!==""+D&&(y.suppressHydrationWarning!==!0&&Ru(d.textContent,D,r),p=["children",""+D]):o.hasOwnProperty(k)&&D!=null&&k==="onScroll"&&qe("scroll",d)}switch(a){case"input":on(d),iu(d,y,!0);break;case"textarea":on(d),sa(d);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(d.onclick=Nu)}d=p,s.updateQueue=d,d!==null&&(s.flags|=4)}else{k=p.nodeType===9?p:p.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=mt(a)),r==="http://www.w3.org/1999/xhtml"?a==="script"?(r=k.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=k.createElement(a,{is:d.is}):(r=k.createElement(a),a==="select"&&(k=r,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):r=k.createElementNS(r,a),r[ir]=s,r[Ma]=d,Ey(r,s,!1,!1),s.stateNode=r;e:{switch(k=da(a,d),a){case"dialog":qe("cancel",r),qe("close",r),p=d;break;case"iframe":case"object":case"embed":qe("load",r),p=d;break;case"video":case"audio":for(p=0;p<Oa.length;p++)qe(Oa[p],r);p=d;break;case"source":qe("error",r),p=d;break;case"img":case"image":case"link":qe("error",r),qe("load",r),p=d;break;case"details":qe("toggle",r),p=d;break;case"input":Os(r,d),p=$i(r,d),qe("invalid",r);break;case"option":p=d;break;case"select":r._wrapperState={wasMultiple:!!d.multiple},p=oe({},d,{value:void 0}),qe("invalid",r);break;case"textarea":Ls(r,d),p=ia(r,d),qe("invalid",r);break;default:p=d}ca(a,p),D=p;for(y in D)if(D.hasOwnProperty(y)){var V=D[y];y==="style"?la(r,V):y==="dangerouslySetInnerHTML"?(V=V?V.__html:void 0,V!=null&&oa(r,V)):y==="children"?typeof V=="string"?(a!=="textarea"||V!=="")&&ei(r,V):typeof V=="number"&&ei(r,""+V):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(o.hasOwnProperty(y)?V!=null&&y==="onScroll"&&qe("scroll",r):V!=null&&$(r,y,V,k))}switch(a){case"input":on(r),iu(r,d,!1);break;case"textarea":on(r),sa(r);break;case"option":d.value!=null&&r.setAttribute("value",""+Re(d.value));break;case"select":r.multiple=!!d.multiple,y=d.value,y!=null?br(r,!!d.multiple,y,!1):d.defaultValue!=null&&br(r,!!d.multiple,d.defaultValue,!0);break;default:typeof p.onClick=="function"&&(r.onclick=Nu)}switch(a){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return Lt(s),null;case 6:if(r&&s.stateNode!=null)Cy(r,s,r.memoizedProps,d);else{if(typeof d!="string"&&s.stateNode===null)throw Error(n(166));if(a=as(Ua.current),as(sr.current),Vu(s)){if(d=s.stateNode,a=s.memoizedProps,d[ir]=s,(y=d.nodeValue!==a)&&(r=cn,r!==null))switch(r.tag){case 3:Ru(d.nodeValue,a,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Ru(d.nodeValue,a,(r.mode&1)!==0)}y&&(s.flags|=4)}else d=(a.nodeType===9?a:a.ownerDocument).createTextNode(d),d[ir]=s,s.stateNode=d}return Lt(s),null;case 13:if(Xe(tt),d=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(Je&&dn!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Ag(),po(),s.flags|=98560,y=!1;else if(y=Vu(s),d!==null&&d.dehydrated!==null){if(r===null){if(!y)throw Error(n(318));if(y=s.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(n(317));y[ir]=s}else po(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Lt(s),y=!1}else $n!==null&&(Zf($n),$n=null),y=!0;if(!y)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=a,s):(d=d!==null,d!==(r!==null&&r.memoizedState!==null)&&d&&(s.child.flags|=8192,(s.mode&1)!==0&&(r===null||(tt.current&1)!==0?wt===0&&(wt=3):nh())),s.updateQueue!==null&&(s.flags|=4),Lt(s),null);case 4:return vo(),$f(r,s),r===null&&Da(s.stateNode.containerInfo),Lt(s),null;case 10:return gf(s.type._context),Lt(s),null;case 17:return Jt(s.type)&&Du(),Lt(s),null;case 19:if(Xe(tt),y=s.memoizedState,y===null)return Lt(s),null;if(d=(s.flags&128)!==0,k=y.rendering,k===null)if(d)Ga(y,!1);else{if(wt!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(k=Wu(r),k!==null){for(s.flags|=128,Ga(y,!1),d=k.updateQueue,d!==null&&(s.updateQueue=d,s.flags|=4),s.subtreeFlags=0,d=a,a=s.child;a!==null;)y=a,r=d,y.flags&=14680066,k=y.alternate,k===null?(y.childLanes=0,y.lanes=r,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=k.childLanes,y.lanes=k.lanes,y.child=k.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=k.memoizedProps,y.memoizedState=k.memoizedState,y.updateQueue=k.updateQueue,y.type=k.type,r=k.dependencies,y.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),a=a.sibling;return Ke(tt,tt.current&1|2),s.child}r=r.sibling}y.tail!==null&&Ge()>bo&&(s.flags|=128,d=!0,Ga(y,!1),s.lanes=4194304)}else{if(!d)if(r=Wu(k),r!==null){if(s.flags|=128,d=!0,a=r.updateQueue,a!==null&&(s.updateQueue=a,s.flags|=4),Ga(y,!0),y.tail===null&&y.tailMode==="hidden"&&!k.alternate&&!Je)return Lt(s),null}else 2*Ge()-y.renderingStartTime>bo&&a!==1073741824&&(s.flags|=128,d=!0,Ga(y,!1),s.lanes=4194304);y.isBackwards?(k.sibling=s.child,s.child=k):(a=y.last,a!==null?a.sibling=k:s.child=k,y.last=k)}return y.tail!==null?(s=y.tail,y.rendering=s,y.tail=s.sibling,y.renderingStartTime=Ge(),s.sibling=null,a=tt.current,Ke(tt,d?a&1|2:a&1),s):(Lt(s),null);case 22:case 23:return th(),d=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(s.flags|=8192),d&&(s.mode&1)!==0?(fn&1073741824)!==0&&(Lt(s),s.subtreeFlags&6&&(s.flags|=8192)):Lt(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function _2(r,s){switch(cf(s),s.tag){case 1:return Jt(s.type)&&Du(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return vo(),Xe(Xt),Xe(Ot),kf(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 5:return Sf(s),null;case 13:if(Xe(tt),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(n(340));po()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Xe(tt),null;case 4:return vo(),null;case 10:return gf(s.type._context),null;case 22:case 23:return th(),null;case 24:return null;default:return null}}var ec=!1,Mt=!1,P2=typeof WeakSet=="function"?WeakSet:Set,ue=null;function xo(r,s){var a=r.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(d){st(r,s,d)}else a.current=null}function zf(r,s,a){try{a()}catch(d){st(r,s,d)}}var _y=!1;function A2(r,s){if(ef=li,r=sg(),Gd(r)){if("selectionStart"in r)var a={start:r.selectionStart,end:r.selectionEnd};else e:{a=(a=r.ownerDocument)&&a.defaultView||window;var d=a.getSelection&&a.getSelection();if(d&&d.rangeCount!==0){a=d.anchorNode;var p=d.anchorOffset,y=d.focusNode;d=d.focusOffset;try{a.nodeType,y.nodeType}catch{a=null;break e}var k=0,D=-1,V=-1,K=0,ne=0,re=r,te=null;t:for(;;){for(var le;re!==a||p!==0&&re.nodeType!==3||(D=k+p),re!==y||d!==0&&re.nodeType!==3||(V=k+d),re.nodeType===3&&(k+=re.nodeValue.length),(le=re.firstChild)!==null;)te=re,re=le;for(;;){if(re===r)break t;if(te===a&&++K===p&&(D=k),te===y&&++ne===d&&(V=k),(le=re.nextSibling)!==null)break;re=te,te=re.parentNode}re=le}a=D===-1||V===-1?null:{start:D,end:V}}else a=null}a=a||{start:0,end:0}}else a=null;for(tf={focusedElem:r,selectionRange:a},li=!1,ue=s;ue!==null;)if(s=ue,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,ue=r;else for(;ue!==null;){s=ue;try{var ce=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(ce!==null){var he=ce.memoizedProps,ct=ce.memoizedState,W=s.stateNode,B=W.getSnapshotBeforeUpdate(s.elementType===s.type?he:zn(s.type,he),ct);W.__reactInternalSnapshotBeforeUpdate=B}break;case 3:var G=s.stateNode.containerInfo;G.nodeType===1?G.textContent="":G.nodeType===9&&G.documentElement&&G.removeChild(G.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ie){st(s,s.return,ie)}if(r=s.sibling,r!==null){r.return=s.return,ue=r;break}ue=s.return}return ce=_y,_y=!1,ce}function Ka(r,s,a){var d=s.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var p=d=d.next;do{if((p.tag&r)===r){var y=p.destroy;p.destroy=void 0,y!==void 0&&zf(s,a,y)}p=p.next}while(p!==d)}}function tc(r,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var a=s=s.next;do{if((a.tag&r)===r){var d=a.create;a.destroy=d()}a=a.next}while(a!==s)}}function Hf(r){var s=r.ref;if(s!==null){var a=r.stateNode;switch(r.tag){case 5:r=a;break;default:r=a}typeof s=="function"?s(r):s.current=r}}function Py(r){var s=r.alternate;s!==null&&(r.alternate=null,Py(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[ir],delete s[Ma],delete s[of],delete s[d2],delete s[f2])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Ay(r){return r.tag===5||r.tag===3||r.tag===4}function Iy(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Ay(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Wf(r,s,a){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?a.nodeType===8?a.parentNode.insertBefore(r,s):a.insertBefore(r,s):(a.nodeType===8?(s=a.parentNode,s.insertBefore(r,a)):(s=a,s.appendChild(r)),a=a._reactRootContainer,a!=null||s.onclick!==null||(s.onclick=Nu));else if(d!==4&&(r=r.child,r!==null))for(Wf(r,s,a),r=r.sibling;r!==null;)Wf(r,s,a),r=r.sibling}function Gf(r,s,a){var d=r.tag;if(d===5||d===6)r=r.stateNode,s?a.insertBefore(r,s):a.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(Gf(r,s,a),r=r.sibling;r!==null;)Gf(r,s,a),r=r.sibling}var At=null,Hn=!1;function vi(r,s,a){for(a=a.child;a!==null;)Ry(r,s,a),a=a.sibling}function Ry(r,s,a){if(an&&typeof an.onCommitFiberUnmount=="function")try{an.onCommitFiberUnmount(Xi,a)}catch{}switch(a.tag){case 5:Mt||xo(a,s);case 6:var d=At,p=Hn;At=null,vi(r,s,a),At=d,Hn=p,At!==null&&(Hn?(r=At,a=a.stateNode,r.nodeType===8?r.parentNode.removeChild(a):r.removeChild(a)):At.removeChild(a.stateNode));break;case 18:At!==null&&(Hn?(r=At,a=a.stateNode,r.nodeType===8?sf(r.parentNode,a):r.nodeType===1&&sf(r,a),Vn(r)):sf(At,a.stateNode));break;case 4:d=At,p=Hn,At=a.stateNode.containerInfo,Hn=!0,vi(r,s,a),At=d,Hn=p;break;case 0:case 11:case 14:case 15:if(!Mt&&(d=a.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){p=d=d.next;do{var y=p,k=y.destroy;y=y.tag,k!==void 0&&((y&2)!==0||(y&4)!==0)&&zf(a,s,k),p=p.next}while(p!==d)}vi(r,s,a);break;case 1:if(!Mt&&(xo(a,s),d=a.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(D){st(a,s,D)}vi(r,s,a);break;case 21:vi(r,s,a);break;case 22:a.mode&1?(Mt=(d=Mt)||a.memoizedState!==null,vi(r,s,a),Mt=d):vi(r,s,a);break;default:vi(r,s,a)}}function Ny(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var a=r.stateNode;a===null&&(a=r.stateNode=new P2),s.forEach(function(d){var p=F2.bind(null,r,d);a.has(d)||(a.add(d),d.then(p,p))})}}function Wn(r,s){var a=s.deletions;if(a!==null)for(var d=0;d<a.length;d++){var p=a[d];try{var y=r,k=s,D=k;e:for(;D!==null;){switch(D.tag){case 5:At=D.stateNode,Hn=!1;break e;case 3:At=D.stateNode.containerInfo,Hn=!0;break e;case 4:At=D.stateNode.containerInfo,Hn=!0;break e}D=D.return}if(At===null)throw Error(n(160));Ry(y,k,p),At=null,Hn=!1;var V=p.alternate;V!==null&&(V.return=null),p.return=null}catch(K){st(p,s,K)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Oy(s,r),s=s.sibling}function Oy(r,s){var a=r.alternate,d=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Wn(s,r),ar(r),d&4){try{Ka(3,r,r.return),tc(3,r)}catch(he){st(r,r.return,he)}try{Ka(5,r,r.return)}catch(he){st(r,r.return,he)}}break;case 1:Wn(s,r),ar(r),d&512&&a!==null&&xo(a,a.return);break;case 5:if(Wn(s,r),ar(r),d&512&&a!==null&&xo(a,a.return),r.flags&32){var p=r.stateNode;try{ei(p,"")}catch(he){st(r,r.return,he)}}if(d&4&&(p=r.stateNode,p!=null)){var y=r.memoizedProps,k=a!==null?a.memoizedProps:y,D=r.type,V=r.updateQueue;if(r.updateQueue=null,V!==null)try{D==="input"&&y.type==="radio"&&y.name!=null&&na(p,y),da(D,k);var K=da(D,y);for(k=0;k<V.length;k+=2){var ne=V[k],re=V[k+1];ne==="style"?la(p,re):ne==="dangerouslySetInnerHTML"?oa(p,re):ne==="children"?ei(p,re):$(p,ne,re,K)}switch(D){case"input":ra(p,y);break;case"textarea":Ms(p,y);break;case"select":var te=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!y.multiple;var le=y.value;le!=null?br(p,!!y.multiple,le,!1):te!==!!y.multiple&&(y.defaultValue!=null?br(p,!!y.multiple,y.defaultValue,!0):br(p,!!y.multiple,y.multiple?[]:"",!1))}p[Ma]=y}catch(he){st(r,r.return,he)}}break;case 6:if(Wn(s,r),ar(r),d&4){if(r.stateNode===null)throw Error(n(162));p=r.stateNode,y=r.memoizedProps;try{p.nodeValue=y}catch(he){st(r,r.return,he)}}break;case 3:if(Wn(s,r),ar(r),d&4&&a!==null&&a.memoizedState.isDehydrated)try{Vn(s.containerInfo)}catch(he){st(r,r.return,he)}break;case 4:Wn(s,r),ar(r);break;case 13:Wn(s,r),ar(r),p=r.child,p.flags&8192&&(y=p.memoizedState!==null,p.stateNode.isHidden=y,!y||p.alternate!==null&&p.alternate.memoizedState!==null||(qf=Ge())),d&4&&Ny(r);break;case 22:if(ne=a!==null&&a.memoizedState!==null,r.mode&1?(Mt=(K=Mt)||ne,Wn(s,r),Mt=K):Wn(s,r),ar(r),d&8192){if(K=r.memoizedState!==null,(r.stateNode.isHidden=K)&&!ne&&(r.mode&1)!==0)for(ue=r,ne=r.child;ne!==null;){for(re=ue=ne;ue!==null;){switch(te=ue,le=te.child,te.tag){case 0:case 11:case 14:case 15:Ka(4,te,te.return);break;case 1:xo(te,te.return);var ce=te.stateNode;if(typeof ce.componentWillUnmount=="function"){d=te,a=te.return;try{s=d,ce.props=s.memoizedProps,ce.state=s.memoizedState,ce.componentWillUnmount()}catch(he){st(d,a,he)}}break;case 5:xo(te,te.return);break;case 22:if(te.memoizedState!==null){My(re);continue}}le!==null?(le.return=te,ue=le):My(re)}ne=ne.sibling}e:for(ne=null,re=r;;){if(re.tag===5){if(ne===null){ne=re;try{p=re.stateNode,K?(y=p.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(D=re.stateNode,V=re.memoizedProps.style,k=V!=null&&V.hasOwnProperty("display")?V.display:null,D.style.display=aa("display",k))}catch(he){st(r,r.return,he)}}}else if(re.tag===6){if(ne===null)try{re.stateNode.nodeValue=K?"":re.memoizedProps}catch(he){st(r,r.return,he)}}else if((re.tag!==22&&re.tag!==23||re.memoizedState===null||re===r)&&re.child!==null){re.child.return=re,re=re.child;continue}if(re===r)break e;for(;re.sibling===null;){if(re.return===null||re.return===r)break e;ne===re&&(ne=null),re=re.return}ne===re&&(ne=null),re.sibling.return=re.return,re=re.sibling}}break;case 19:Wn(s,r),ar(r),d&4&&Ny(r);break;case 21:break;default:Wn(s,r),ar(r)}}function ar(r){var s=r.flags;if(s&2){try{e:{for(var a=r.return;a!==null;){if(Ay(a)){var d=a;break e}a=a.return}throw Error(n(160))}switch(d.tag){case 5:var p=d.stateNode;d.flags&32&&(ei(p,""),d.flags&=-33);var y=Iy(r);Gf(r,y,p);break;case 3:case 4:var k=d.stateNode.containerInfo,D=Iy(r);Wf(r,D,k);break;default:throw Error(n(161))}}catch(V){st(r,r.return,V)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function I2(r,s,a){ue=r,Dy(r)}function Dy(r,s,a){for(var d=(r.mode&1)!==0;ue!==null;){var p=ue,y=p.child;if(p.tag===22&&d){var k=p.memoizedState!==null||ec;if(!k){var D=p.alternate,V=D!==null&&D.memoizedState!==null||Mt;D=ec;var K=Mt;if(ec=k,(Mt=V)&&!K)for(ue=p;ue!==null;)k=ue,V=k.child,k.tag===22&&k.memoizedState!==null?jy(p):V!==null?(V.return=k,ue=V):jy(p);for(;y!==null;)ue=y,Dy(y),y=y.sibling;ue=p,ec=D,Mt=K}Ly(r)}else(p.subtreeFlags&8772)!==0&&y!==null?(y.return=p,ue=y):Ly(r)}}function Ly(r){for(;ue!==null;){var s=ue;if((s.flags&8772)!==0){var a=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:Mt||tc(5,s);break;case 1:var d=s.stateNode;if(s.flags&4&&!Mt)if(a===null)d.componentDidMount();else{var p=s.elementType===s.type?a.memoizedProps:zn(s.type,a.memoizedProps);d.componentDidUpdate(p,a.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var y=s.updateQueue;y!==null&&Mg(s,y,d);break;case 3:var k=s.updateQueue;if(k!==null){if(a=null,s.child!==null)switch(s.child.tag){case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}Mg(s,k,a)}break;case 5:var D=s.stateNode;if(a===null&&s.flags&4){a=D;var V=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":V.autoFocus&&a.focus();break;case"img":V.src&&(a.src=V.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var K=s.alternate;if(K!==null){var ne=K.memoizedState;if(ne!==null){var re=ne.dehydrated;re!==null&&Vn(re)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Mt||s.flags&512&&Hf(s)}catch(te){st(s,s.return,te)}}if(s===r){ue=null;break}if(a=s.sibling,a!==null){a.return=s.return,ue=a;break}ue=s.return}}function My(r){for(;ue!==null;){var s=ue;if(s===r){ue=null;break}var a=s.sibling;if(a!==null){a.return=s.return,ue=a;break}ue=s.return}}function jy(r){for(;ue!==null;){var s=ue;try{switch(s.tag){case 0:case 11:case 15:var a=s.return;try{tc(4,s)}catch(V){st(s,a,V)}break;case 1:var d=s.stateNode;if(typeof d.componentDidMount=="function"){var p=s.return;try{d.componentDidMount()}catch(V){st(s,p,V)}}var y=s.return;try{Hf(s)}catch(V){st(s,y,V)}break;case 5:var k=s.return;try{Hf(s)}catch(V){st(s,k,V)}}}catch(V){st(s,s.return,V)}if(s===r){ue=null;break}var D=s.sibling;if(D!==null){D.return=s.return,ue=D;break}ue=s.return}}var R2=Math.ceil,nc=q.ReactCurrentDispatcher,Kf=q.ReactCurrentOwner,kn=q.ReactCurrentBatchConfig,Le=0,Et=null,ht=null,It=0,fn=0,So=hi(0),wt=0,Ya=null,us=0,rc=0,Yf=0,qa=null,Zt=null,qf=0,bo=1/0,Fr=null,ic=!1,Xf=null,wi=null,sc=!1,xi=null,oc=0,Xa=0,Jf=null,ac=-1,lc=0;function $t(){return(Le&6)!==0?Ge():ac!==-1?ac:ac=Ge()}function Si(r){return(r.mode&1)===0?1:(Le&2)!==0&&It!==0?It&-It:p2.transition!==null?(lc===0&&(lc=Qi()),lc):(r=Ie,r!==0||(r=window.event,r=r===void 0?16:Ea(r.type)),r)}function Gn(r,s,a,d){if(50<Xa)throw Xa=0,Jf=null,Error(n(185));ii(r,a,d),((Le&2)===0||r!==Et)&&(r===Et&&((Le&2)===0&&(rc|=a),wt===4&&bi(r,It)),en(r,d),a===1&&Le===0&&(s.mode&1)===0&&(bo=Ge()+500,Mu&&mi()))}function en(r,s){var a=r.callbackNode;Cr(r,s);var d=Ji(r,r===Et?It:0);if(d===0)a!==null&&wa(a),r.callbackNode=null,r.callbackPriority=0;else if(s=d&-d,r.callbackPriority!==s){if(a!=null&&wa(a),s===1)r.tag===0?h2(Vy.bind(null,r)):Eg(Vy.bind(null,r)),u2(function(){(Le&6)===0&&mi()}),a=null;else{switch(oi(d)){case 1:a=qi;break;case 4:a=ti;break;case 16:a=yn;break;case 536870912:a=lu;break;default:a=yn}a=Ky(a,Fy.bind(null,r))}r.callbackPriority=s,r.callbackNode=a}}function Fy(r,s){if(ac=-1,lc=0,(Le&6)!==0)throw Error(n(327));var a=r.callbackNode;if(ko()&&r.callbackNode!==a)return null;var d=Ji(r,r===Et?It:0);if(d===0)return null;if((d&30)!==0||(d&r.expiredLanes)!==0||s)s=uc(r,d);else{s=d;var p=Le;Le|=2;var y=Uy();(Et!==r||It!==s)&&(Fr=null,bo=Ge()+500,ds(r,s));do try{D2();break}catch(D){By(r,D)}while(!0);mf(),nc.current=y,Le=p,ht!==null?s=0:(Et=null,It=0,s=wt)}if(s!==0){if(s===2&&(p=ln(r),p!==0&&(d=p,s=Qf(r,p))),s===1)throw a=Ya,ds(r,0),bi(r,d),en(r,Ge()),a;if(s===6)bi(r,d);else{if(p=r.current.alternate,(d&30)===0&&!N2(p)&&(s=uc(r,d),s===2&&(y=ln(r),y!==0&&(d=y,s=Qf(r,y))),s===1))throw a=Ya,ds(r,0),bi(r,d),en(r,Ge()),a;switch(r.finishedWork=p,r.finishedLanes=d,s){case 0:case 1:throw Error(n(345));case 2:fs(r,Zt,Fr);break;case 3:if(bi(r,d),(d&130023424)===d&&(s=qf+500-Ge(),10<s)){if(Ji(r,0)!==0)break;if(p=r.suspendedLanes,(p&d)!==d){$t(),r.pingedLanes|=r.suspendedLanes&p;break}r.timeoutHandle=rf(fs.bind(null,r,Zt,Fr),s);break}fs(r,Zt,Fr);break;case 4:if(bi(r,d),(d&4194240)===d)break;for(s=r.eventTimes,p=-1;0<d;){var k=31-Bt(d);y=1<<k,k=s[k],k>p&&(p=k),d&=~y}if(d=p,d=Ge()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*R2(d/1960))-d,10<d){r.timeoutHandle=rf(fs.bind(null,r,Zt,Fr),d);break}fs(r,Zt,Fr);break;case 5:fs(r,Zt,Fr);break;default:throw Error(n(329))}}}return en(r,Ge()),r.callbackNode===a?Fy.bind(null,r):null}function Qf(r,s){var a=qa;return r.current.memoizedState.isDehydrated&&(ds(r,s).flags|=256),r=uc(r,s),r!==2&&(s=Zt,Zt=a,s!==null&&Zf(s)),r}function Zf(r){Zt===null?Zt=r:Zt.push.apply(Zt,r)}function N2(r){for(var s=r;;){if(s.flags&16384){var a=s.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var d=0;d<a.length;d++){var p=a[d],y=p.getSnapshot;p=p.value;try{if(!Un(y(),p))return!1}catch{return!1}}}if(a=s.child,s.subtreeFlags&16384&&a!==null)a.return=s,s=a;else{if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function bi(r,s){for(s&=~Yf,s&=~rc,r.suspendedLanes|=s,r.pingedLanes&=~s,r=r.expirationTimes;0<s;){var a=31-Bt(s),d=1<<a;r[a]=-1,s&=~d}}function Vy(r){if((Le&6)!==0)throw Error(n(327));ko();var s=Ji(r,0);if((s&1)===0)return en(r,Ge()),null;var a=uc(r,s);if(r.tag!==0&&a===2){var d=ln(r);d!==0&&(s=d,a=Qf(r,d))}if(a===1)throw a=Ya,ds(r,0),bi(r,s),en(r,Ge()),a;if(a===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=s,fs(r,Zt,Fr),en(r,Ge()),null}function eh(r,s){var a=Le;Le|=1;try{return r(s)}finally{Le=a,Le===0&&(bo=Ge()+500,Mu&&mi())}}function cs(r){xi!==null&&xi.tag===0&&(Le&6)===0&&ko();var s=Le;Le|=1;var a=kn.transition,d=Ie;try{if(kn.transition=null,Ie=1,r)return r()}finally{Ie=d,kn.transition=a,Le=s,(Le&6)===0&&mi()}}function th(){fn=So.current,Xe(So)}function ds(r,s){r.finishedWork=null,r.finishedLanes=0;var a=r.timeoutHandle;if(a!==-1&&(r.timeoutHandle=-1,l2(a)),ht!==null)for(a=ht.return;a!==null;){var d=a;switch(cf(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&Du();break;case 3:vo(),Xe(Xt),Xe(Ot),kf();break;case 5:Sf(d);break;case 4:vo();break;case 13:Xe(tt);break;case 19:Xe(tt);break;case 10:gf(d.type._context);break;case 22:case 23:th()}a=a.return}if(Et=r,ht=r=ki(r.current,null),It=fn=s,wt=0,Ya=null,Yf=rc=us=0,Zt=qa=null,os!==null){for(s=0;s<os.length;s++)if(a=os[s],d=a.interleaved,d!==null){a.interleaved=null;var p=d.next,y=a.pending;if(y!==null){var k=y.next;y.next=p,d.next=k}a.pending=d}os=null}return r}function By(r,s){do{var a=ht;try{if(mf(),Gu.current=Xu,Ku){for(var d=nt.memoizedState;d!==null;){var p=d.queue;p!==null&&(p.pending=null),d=d.next}Ku=!1}if(ls=0,kt=vt=nt=null,$a=!1,za=0,Kf.current=null,a===null||a.return===null){wt=1,Ya=s,ht=null;break}e:{var y=r,k=a.return,D=a,V=s;if(s=It,D.flags|=32768,V!==null&&typeof V=="object"&&typeof V.then=="function"){var K=V,ne=D,re=ne.tag;if((ne.mode&1)===0&&(re===0||re===11||re===15)){var te=ne.alternate;te?(ne.updateQueue=te.updateQueue,ne.memoizedState=te.memoizedState,ne.lanes=te.lanes):(ne.updateQueue=null,ne.memoizedState=null)}var le=dy(k);if(le!==null){le.flags&=-257,fy(le,k,D,y,s),le.mode&1&&cy(y,K,s),s=le,V=K;var ce=s.updateQueue;if(ce===null){var he=new Set;he.add(V),s.updateQueue=he}else ce.add(V);break e}else{if((s&1)===0){cy(y,K,s),nh();break e}V=Error(n(426))}}else if(Je&&D.mode&1){var ct=dy(k);if(ct!==null){(ct.flags&65536)===0&&(ct.flags|=256),fy(ct,k,D,y,s),hf(wo(V,D));break e}}y=V=wo(V,D),wt!==4&&(wt=2),qa===null?qa=[y]:qa.push(y),y=k;do{switch(y.tag){case 3:y.flags|=65536,s&=-s,y.lanes|=s;var W=ly(y,V,s);Lg(y,W);break e;case 1:D=V;var B=y.type,G=y.stateNode;if((y.flags&128)===0&&(typeof B.getDerivedStateFromError=="function"||G!==null&&typeof G.componentDidCatch=="function"&&(wi===null||!wi.has(G)))){y.flags|=65536,s&=-s,y.lanes|=s;var ie=uy(y,D,s);Lg(y,ie);break e}}y=y.return}while(y!==null)}zy(a)}catch(me){s=me,ht===a&&a!==null&&(ht=a=a.return);continue}break}while(!0)}function Uy(){var r=nc.current;return nc.current=Xu,r===null?Xu:r}function nh(){(wt===0||wt===3||wt===2)&&(wt=4),Et===null||(us&268435455)===0&&(rc&268435455)===0||bi(Et,It)}function uc(r,s){var a=Le;Le|=2;var d=Uy();(Et!==r||It!==s)&&(Fr=null,ds(r,s));do try{O2();break}catch(p){By(r,p)}while(!0);if(mf(),Le=a,nc.current=d,ht!==null)throw Error(n(261));return Et=null,It=0,wt}function O2(){for(;ht!==null;)$y(ht)}function D2(){for(;ht!==null&&!ou();)$y(ht)}function $y(r){var s=Gy(r.alternate,r,fn);r.memoizedProps=r.pendingProps,s===null?zy(r):ht=s,Kf.current=null}function zy(r){var s=r;do{var a=s.alternate;if(r=s.return,(s.flags&32768)===0){if(a=C2(a,s,fn),a!==null){ht=a;return}}else{if(a=_2(a,s),a!==null){a.flags&=32767,ht=a;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{wt=6,ht=null;return}}if(s=s.sibling,s!==null){ht=s;return}ht=s=r}while(s!==null);wt===0&&(wt=5)}function fs(r,s,a){var d=Ie,p=kn.transition;try{kn.transition=null,Ie=1,L2(r,s,a,d)}finally{kn.transition=p,Ie=d}return null}function L2(r,s,a,d){do ko();while(xi!==null);if((Le&6)!==0)throw Error(n(327));a=r.finishedWork;var p=r.finishedLanes;if(a===null)return null;if(r.finishedWork=null,r.finishedLanes=0,a===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var y=a.lanes|a.childLanes;if(ze(r,y),r===Et&&(ht=Et=null,It=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||sc||(sc=!0,Ky(yn,function(){return ko(),null})),y=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||y){y=kn.transition,kn.transition=null;var k=Ie;Ie=1;var D=Le;Le|=4,Kf.current=null,A2(r,a),Oy(a,r),t2(tf),li=!!ef,tf=ef=null,r.current=a,I2(a),Fd(),Le=D,Ie=k,kn.transition=y}else r.current=a;if(sc&&(sc=!1,xi=r,oc=p),y=r.pendingLanes,y===0&&(wi=null),uu(a.stateNode),en(r,Ge()),s!==null)for(d=r.onRecoverableError,a=0;a<s.length;a++)p=s[a],d(p.value,{componentStack:p.stack,digest:p.digest});if(ic)throw ic=!1,r=Xf,Xf=null,r;return(oc&1)!==0&&r.tag!==0&&ko(),y=r.pendingLanes,(y&1)!==0?r===Jf?Xa++:(Xa=0,Jf=r):Xa=0,mi(),null}function ko(){if(xi!==null){var r=oi(oc),s=kn.transition,a=Ie;try{if(kn.transition=null,Ie=16>r?16:r,xi===null)var d=!1;else{if(r=xi,xi=null,oc=0,(Le&6)!==0)throw Error(n(331));var p=Le;for(Le|=4,ue=r.current;ue!==null;){var y=ue,k=y.child;if((ue.flags&16)!==0){var D=y.deletions;if(D!==null){for(var V=0;V<D.length;V++){var K=D[V];for(ue=K;ue!==null;){var ne=ue;switch(ne.tag){case 0:case 11:case 15:Ka(8,ne,y)}var re=ne.child;if(re!==null)re.return=ne,ue=re;else for(;ue!==null;){ne=ue;var te=ne.sibling,le=ne.return;if(Py(ne),ne===K){ue=null;break}if(te!==null){te.return=le,ue=te;break}ue=le}}}var ce=y.alternate;if(ce!==null){var he=ce.child;if(he!==null){ce.child=null;do{var ct=he.sibling;he.sibling=null,he=ct}
vendor: 4,125 bytes, line 40
40while(he!==null)}}ue=y}}if((y.subtreeFlags&2064)!==0&&k!==null)k.return=y,ue=k;else e:for(;ue!==null;){if(y=ue,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:Ka(9,y,y.return)}var W=y.sibling;if(W!==null){W.return=y.return,ue=W;break e}ue=y.return}}var B=r.current;for(ue=B;ue!==null;){k=ue;var G=k.child;if((k.subtreeFlags&2064)!==0&&G!==null)G.return=k,ue=G;else e:for(k=B;ue!==null;){if(D=ue,(D.flags&2048)!==0)try{switch(D.tag){case 0:case 11:case 15:tc(9,D)}}catch(me){st(D,D.return,me)}if(D===k){ue=null;break e}var ie=D.sibling;if(ie!==null){ie.return=D.return,ue=ie;break e}ue=D.return}}if(Le=p,mi(),an&&typeof an.onPostCommitFiberRoot=="function")try{an.onPostCommitFiberRoot(Xi,r)}catch{}d=!0}return d}finally{Ie=a,kn.transition=s}}return!1}function Hy(r,s,a){s=wo(a,s),s=ly(r,s,1),r=yi(r,s,1),s=$t(),r!==null&&(ii(r,1,s),en(r,s))}function st(r,s,a){if(r.tag===3)Hy(r,r,a);else for(;s!==null;){if(s.tag===3){Hy(s,r,a);break}else if(s.tag===1){var d=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(wi===null||!wi.has(d))){r=wo(a,r),r=uy(s,r,1),s=yi(s,r,1),r=$t(),s!==null&&(ii(s,1,r),en(s,r));break}}s=s.return}}function M2(r,s,a){var d=r.pingCache;d!==null&&d.delete(s),s=$t(),r.pingedLanes|=r.suspendedLanes&a,Et===r&&(It&a)===a&&(wt===4||wt===3&&(It&130023424)===It&&500>Ge()-qf?ds(r,0):Yf|=a),en(r,s)}function Wy(r,s){s===0&&((r.mode&1)===0?s=1:(s=Ws,Ws<<=1,(Ws&130023424)===0&&(Ws=4194304)));var a=$t();r=Lr(r,s),r!==null&&(ii(r,s,a),en(r,a))}function j2(r){var s=r.memoizedState,a=0;s!==null&&(a=s.retryLane),Wy(r,a)}function F2(r,s){var a=0;switch(r.tag){case 13:var d=r.stateNode,p=r.memoizedState;p!==null&&(a=p.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(s),Wy(r,a)}var Gy;Gy=function(r,s,a){if(r!==null)if(r.memoizedProps!==s.pendingProps||Xt.current)Qt=!0;else{if((r.lanes&a)===0&&(s.flags&128)===0)return Qt=!1,T2(r,s,a);Qt=(r.flags&131072)!==0}else Qt=!1,Je&&(s.flags&1048576)!==0&&Tg(s,Fu,s.index);switch(s.lanes=0,s.tag){case 2:var d=s.type;Zu(r,s),r=s.pendingProps;var p=co(s,Ot.current);yo(s,a),p=Cf(null,s,d,r,p,a);var y=_f();return s.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Jt(d)?(y=!0,Lu(s)):y=!1,s.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,wf(s),p.updater=Ju,s.stateNode=p,p._reactInternals=s,Of(s,d,r,a),s=jf(null,s,d,!0,y,a)):(s.tag=0,Je&&y&&uf(s),Ut(null,s,p,a),s=s.child),s;case 16:d=s.elementType;e:{switch(Zu(r,s),r=s.pendingProps,p=d._init,d=p(d._payload),s.type=d,p=s.tag=B2(d),r=zn(d,r),p){case 0:s=Mf(null,s,d,r,a);break e;case 1:s=vy(null,s,d,r,a);break e;case 11:s=hy(null,s,d,r,a);break e;case 14:s=py(null,s,d,zn(d.type,r),a);break e}throw Error(n(306,d,""))}return s;case 0:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:zn(d,p),Mf(r,s,d,p,a);case 1:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:zn(d,p),vy(r,s,d,p,a);case 3:e:{if(wy(s),r===null)throw Error(n(387));d=s.pendingProps,y=s.memoizedState,p=y.element,Dg(r,s),Hu(s,d,null,a);var k=s.memoizedState;if(d=k.element,y.isDehydrated)if(y={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},s.updateQueue.baseState=y,s.memoizedState=y,s.flags&256){p=wo(Error(n(423)),s),s=xy(r,s,d,a,p);break e}else if(d!==p){p=wo(Error(n(424)),s),s=xy(r,s,d,a,p);break e}else for(dn=fi(s.stateNode.containerInfo.firstChild),cn=s,Je=!0,$n=null,a=Ng(s,null,d,a),s.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(po(),d===p){s=jr(r,s,a);break e}Ut(r,s,d,a)}s=s.child}return s;case 5:return jg(s),r===null&&ff(s),d=s.type,p=s.pendingProps,y=r!==null?r.memoizedProps:null,k=p.children,nf(d,p)?k=null:y!==null&&nf(d,y)&&(s.flags|=32),yy(r,s),Ut(r,s,k,a),s.child;case 6:return r===null&&ff(s),null;case 13:return Sy(r,s,a);case 4:return xf(s,s.stateNode.containerInfo),d=s.pendingProps,r===null?s.child=mo(s,null,d,a):Ut(r,s,d,a),s.child;case 11:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:zn(d,p),hy(r,s,d,p,a);
vendor: 11,758 bytes, line 40
40case 7:return Ut(r,s,s.pendingProps,a),s.child;case 8:return Ut(r,s,s.pendingProps.children,a),s.child;case 12:return Ut(r,s,s.pendingProps.children,a),s.child;case 10:e:{if(d=s.type._context,p=s.pendingProps,y=s.memoizedProps,k=p.value,Ke(Uu,d._currentValue),d._currentValue=k,y!==null)if(Un(y.value,k)){if(y.children===p.children&&!Xt.current){s=jr(r,s,a);break e}}else for(y=s.child,y!==null&&(y.return=s);y!==null;){var D=y.dependencies;if(D!==null){k=y.child;for(var V=D.firstContext;V!==null;){if(V.context===d){if(y.tag===1){V=Mr(-1,a&-a),V.tag=2;var K=y.updateQueue;if(K!==null){K=K.shared;var ne=K.pending;ne===null?V.next=V:(V.next=ne.next,ne.next=V),K.pending=V}}y.lanes|=a,V=y.alternate,V!==null&&(V.lanes|=a),yf(y.return,a,s),D.lanes|=a;break}V=V.next}}else if(y.tag===10)k=y.type===s.type?null:y.child;else if(y.tag===18){if(k=y.return,k===null)throw Error(n(341));k.lanes|=a,D=k.alternate,D!==null&&(D.lanes|=a),yf(k,a,s),k=y.sibling}else k=y.child;if(k!==null)k.return=y;else for(k=y;k!==null;){if(k===s){k=null;break}if(y=k.sibling,y!==null){y.return=k.return,k=y;break}k=k.return}y=k}Ut(r,s,p.children,a),s=s.child}return s;case 9:return p=s.type,d=s.pendingProps.children,yo(s,a),p=Sn(p),d=d(p),s.flags|=1,Ut(r,s,d,a),s.child;case 14:return d=s.type,p=zn(d,s.pendingProps),p=zn(d.type,p),py(r,s,d,p,a);case 15:return my(r,s,s.type,s.pendingProps,a);case 17:return d=s.type,p=s.pendingProps,p=s.elementType===d?p:zn(d,p),Zu(r,s),s.tag=1,Jt(d)?(r=!0,Lu(s)):r=!1,yo(s,a),oy(s,d,p),Of(s,d,p,a),jf(null,s,d,!0,r,a);case 19:return ky(r,s,a);case 22:return gy(r,s,a)}throw Error(n(156,s.tag))};function Ky(r,s){return zs(r,s)}function V2(r,s,a,d){this.tag=r,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function En(r,s,a,d){return new V2(r,s,a,d)}function rh(r){return r=r.prototype,!(!r||!r.isReactComponent)}function B2(r){if(typeof r=="function")return rh(r)?1:0;if(r!=null){if(r=r.$$typeof,r===j)return 11;if(r===Ae)return 14}return 2}function ki(r,s){var a=r.alternate;return a===null?(a=En(r.tag,s,r.key,r.mode),a.elementType=r.elementType,a.type=r.type,a.stateNode=r.stateNode,a.alternate=r,r.alternate=a):(a.pendingProps=s,a.type=r.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=r.flags&14680064,a.childLanes=r.childLanes,a.lanes=r.lanes,a.child=r.child,a.memoizedProps=r.memoizedProps,a.memoizedState=r.memoizedState,a.updateQueue=r.updateQueue,s=r.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},a.sibling=r.sibling,a.index=r.index,a.ref=r.ref,a}function cc(r,s,a,d,p,y){var k=2;if(d=r,typeof r=="function")rh(r)&&(k=1);else if(typeof r=="string")k=5;else e:switch(r){case R:return hs(a.children,p,y,s);case T:k=8,p|=8;break;case I:return r=En(12,a,s,p|2),r.elementType=I,r.lanes=y,r;case N:return r=En(13,a,s,p),r.elementType=N,r.lanes=y,r;case Ee:return r=En(19,a,s,p),r.elementType=Ee,r.lanes=y,r;case ge:return dc(a,p,y,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case x:k=10;break e;case O:k=9;break e;case j:k=11;break e;case Ae:k=14;break e;case De:k=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return s=En(k,a,s,p),s.elementType=r,s.type=d,s.lanes=y,s}function hs(r,s,a,d){return r=En(7,r,d,s),r.lanes=a,r}function dc(r,s,a,d){return r=En(22,r,d,s),r.elementType=ge,r.lanes=a,r.stateNode={isHidden:!1},r}function ih(r,s,a){return r=En(6,r,null,s),r.lanes=a,r}function sh(r,s,a){return s=En(4,r.children!==null?r.children:[],r.key,s),s.lanes=a,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function U2(r,s,a,d,p){this.tag=s,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ri(0),this.expirationTimes=ri(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ri(0),this.identifierPrefix=d,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function oh(r,s,a,d,p,y,k,D,V){return r=new U2(r,s,a,D,V),s===1?(s=1,y===!0&&(s|=8)):s=0,y=En(3,null,null,s),r.current=y,y.stateNode=r,y.memoizedState={element:d,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},wf(y),r}function $2(r,s,a){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ee,key:d==null?null:""+d,children:r,containerInfo:s,implementation:a}}function Yy(r){if(!r)return pi;r=r._reactInternals;e:{if(Dn(r)!==r||r.tag!==1)throw Error(n(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Jt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(n(171))}if(r.tag===1){var a=r.type;if(Jt(a))return bg(r,a,s)}return s}function qy(r,s,a,d,p,y,k,D,V){return r=oh(a,d,!0,r,p,y,k,D,V),r.context=Yy(null),a=r.current,d=$t(),p=Si(a),y=Mr(d,p),y.callback=s??null,yi(a,y,p),r.current.lanes=p,ii(r,p,d),en(r,d),r}function fc(r,s,a,d){var p=s.current,y=$t(),k=Si(p);return a=Yy(a),s.context===null?s.context=a:s.pendingContext=a,s=Mr(y,k),s.payload={element:r},d=d===void 0?null:d,d!==null&&(s.callback=d),r=yi(p,s,k),r!==null&&(Gn(r,p,k,y),zu(r,p,k)),k}function hc(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Xy(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var a=r.retryLane;r.retryLane=a!==0&&a<s?a:s}}function ah(r,s){Xy(r,s),(r=r.alternate)&&Xy(r,s)}function z2(){return null}var Jy=typeof reportError=="function"?reportError:function(r){console.error(r)};function lh(r){this._internalRoot=r}pc.prototype.render=lh.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(n(409));fc(r,s,null,null)},pc.prototype.unmount=lh.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;cs(function(){fc(null,r,null,null)}),s[Rr]=null}};function pc(r){this._internalRoot=r}pc.prototype.unstable_scheduleHydration=function(r){if(r){var s=pu();r={blockedOn:null,target:r,priority:s};for(var a=0;a<er.length&&s!==0&&s<er[a].priority;a++);er.splice(a,0,r),a===0&&yu(r)}};function uh(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function mc(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Qy(){}function H2(r,s,a,d,p){if(p){if(typeof d=="function"){var y=d;d=function(){var K=hc(k);y.call(K)}}var k=qy(s,d,r,0,null,!1,!1,"",Qy);return r._reactRootContainer=k,r[Rr]=k.current,Da(r.nodeType===8?r.parentNode:r),cs(),k}for(;p=r.lastChild;)r.removeChild(p);if(typeof d=="function"){var D=d;d=function(){var K=hc(V);D.call(K)}}var V=oh(r,0,!1,null,null,!1,!1,"",Qy);return r._reactRootContainer=V,r[Rr]=V.current,Da(r.nodeType===8?r.parentNode:r),cs(function(){fc(s,V,a,d)}),V}function gc(r,s,a,d,p){var y=a._reactRootContainer;if(y){var k=y;if(typeof p=="function"){var D=p;p=function(){var V=hc(k);D.call(V)}}fc(s,k,r,p)}else k=H2(a,s,r,p,d);return hc(k)}fu=function(r){switch(r.tag){case 3:var s=r.stateNode;if(s.current.memoizedState.isDehydrated){var a=ni(s.pendingLanes);a!==0&&(si(s,a|1),en(s,Ge()),(Le&6)===0&&(bo=Ge()+500,mi()))}break;case 13:cs(function(){var d=Lr(r,1);if(d!==null){var p=$t();Gn(d,r,1,p)}}),ah(r,1)}},Gs=function(r){if(r.tag===13){var s=Lr(r,134217728);if(s!==null){var a=$t();Gn(s,r,134217728,a)}ah(r,134217728)}},hu=function(r){if(r.tag===13){var s=Si(r),a=Lr(r,s);if(a!==null){var d=$t();Gn(a,r,s,d)}ah(r,s)}},pu=function(){return Ie},mu=function(r,s){var a=Ie;try{return Ie=r,s()}finally{Ie=a}},fa=function(r,s,a){switch(s){case"input":if(ra(r,a),s=a.name,a.type==="radio"&&s!=null){for(a=r;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<a.length;s++){var d=a[s];if(d!==r&&d.form===r.form){var p=Ou(d);if(!p)throw Error(n(90));Rn(d),ra(d,p)}}}break;case"textarea":Ms(r,a);break;case"select":s=a.value,s!=null&&br(r,!!a.multiple,s,!1)}},Vs=eh,pa=cs;var W2={usingClientEntryPoint:!1,Events:[ja,lo,Ou,Er,ha,eh]},Ja={findFiberByHostInstance:ns,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},G2={bundleType:Ja.bundleType,version:Ja.version,rendererPackageName:Ja.rendererPackageName,rendererConfig:Ja.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:q.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=va(r),r===null?null:r.stateNode},findFiberByHostInstance:Ja.findFiberByHostInstance||z2,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 yc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yc.isDisabled&&yc.supportsFiber)try{Xi=yc.inject(G2),an=yc}catch{}}return tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W2,tn.createPortal=function(r,s){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!uh(s))throw Error(n(200));return $2(r,s,null,a)},tn.createRoot=function(r,s){if(!uh(r))throw Error(n(299));var a=!1,d="",p=Jy;return s!=null&&(s.unstable_strictMode===!0&&(a=!0),s.identifierPrefix!==void 0&&(d=s.identifierPrefix),s.onRecoverableError!==void 0&&(p=s.onRecoverableError)),s=oh(r,1,!1,null,null,a,!1,d,p),r[Rr]=s.current,Da(r.nodeType===8?r.parentNode:r),new lh(s)},tn.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var s=r._reactInternals;if(s===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=va(s),r=r===null?null:r.stateNode,r},tn.flushSync=function(r){return cs(r)},tn.hydrate=function(r,s,a){if(!mc(s))throw Error(n(200));return gc(null,r,s,!0,a)},tn.hydrateRoot=function(r,s,a){if(!uh(r))throw Error(n(405));var d=a!=null&&a.hydratedSources||null,p=!1,y="",k=Jy;if(a!=null&&(a.unstable_strictMode===!0&&(p=!0),a.identifierPrefix!==void 0&&(y=a.identifierPrefix),a.onRecoverableError!==void 0&&(k=a.onRecoverableError)),s=qy(s,null,r,1,a??null,p,!1,y,k),r[Rr]=s.current,Da(r),d)for(r=0;r<d.length;r++)a=d[r],p=a._getVersion,p=p(a._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[a,p]:s.mutableSourceEagerHydrationData.push(a,p);return new pc(s)},tn.render=function(r,s,a){if(!mc(s))throw Error(n(200));return gc(null,r,s,!1,a)},tn.unmountComponentAtNode=function(r){if(!mc(r))throw Error(n(40));return r._reactRootContainer?(cs(function(){gc(null,null,r,!1,function(){r._reactRootContainer=null,r[Rr]=null})}),!0):!1},tn.unstable_batchedUpdates=eh,tn.unstable_renderSubtreeIntoContainer=function(r,s,a,d){if(!mc(a))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return gc(r,s,a,!1,d)},tn.version="18.3.1-next-f1338f8080-20240426",tn}var a0;function nk(){if(a0)return fh.exports;a0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),fh.exports=tk(),fh.exports}var l0;function rk(){if(l0)return vc;l0=1;var e=nk();
40return vc.createRoot=e.createRoot,vc.hydrateRoot=e.hydrateRoot,vc}var ik=rk(),Za={},u0;function sk(){if(u0)return Za;u0=1,Object.defineProperty(Za,"__esModule",{value:!0}),Za.parse=c,Za.serialize=m;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString,l=(()=>{const b=function(){};return b.prototype=Object.create(null),b})();function c(b,A){const P=new l,C=b.length;if(C<2)return P;const L=(A==null?void 0:A.decode)||v;let M=0;do{const U=b.indexOf("=",M);if(U===-1)break;const $=b.indexOf(";",M),q=$===-1?C:$;if(U>q){M=b.lastIndexOf(";",U-1)+1;continue}const J=f(b,M,U),ee=h(b,U,J),R=b.slice(J,ee);if(P[R]===void 0){let T=f(b,U+1,q),I=h(b,q,T);const x=L(b.slice(T,I));P[R]=x}M=q+1}while(M<C);return P}function f(b,A,P){do{const C=b.charCodeAt(A);if(C!==32&&C!==9)return A}while(++A<P);return P}function h(b,A,P){for(;A>P;){const C=b.charCodeAt(--A);if(C!==32&&C!==9)return A+1}return P}function m(b,A,P){const C=(P==null?void 0:P.encode)||encodeURIComponent;if(!e.test(b))throw new TypeError(`argument name is invalid: ${b}`);const L=C(A);if(!t.test(L))throw new TypeError(`argument val is invalid: ${A}`);let M=b+"="+L;if(!P)return M;if(P.maxAge!==void 0){if(!Number.isInteger(P.maxAge))throw new TypeError(`option maxAge is invalid: ${P.maxAge}`);M+="; Max-Age="+P.maxAge}if(P.domain){if(!n.test(P.domain))throw new TypeError(`option domain is invalid: ${P.domain}`);M+="; Domain="+P.domain}if(P.path){if(!i.test(P.path))throw new TypeError(`option path is invalid: ${P.path}`);M+="; Path="+P.path}if(P.expires){if(!S(P.expires)||!Number.isFinite(P.expires.valueOf()))throw new TypeError(`option expires is invali
40d: ${P.expires}`);M+="; Expires="+P.expires.toUTCString()}if(P.httpOnly&&(M+="; HttpOnly"),P.secure&&(M+="; Secure"),P.partitioned&&(M+="; Partitioned"),P.priority)switch(typeof P.priority=="string"?P.priority.toLowerCase():void 0){case"low":M+="; Priority=Low";break;case"medium":M+="; Priority=Medium";break;case"high":M+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${P.priority}`)}if(P.sameSite)switch(typeof P.sameSite=="string"?P.sameSite.toLowerCase():P.sameSite){case!0:case"strict":M+="; SameSite=Strict";break;case"lax":M+="; SameSite=Lax";break;case"none":M+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${P.sameSite}`)}return M}function v(b){if(b.indexOf("%")===-1)return b;try{return decodeURIComponent(b)}catch{return b}}function S(b){return o.call(b)==="[object Date]"}return Za}sk();var c0="popstate";function ok(e={}){function t(i,o){let{pathname:l,search:c,hash:f}=i.location;return Wh("",{pathname:l,search:c,hash:f},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(i,o){return typeof o=="string"?o:kl(o)}return lk(t,n,null,e)}function it(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function vr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ak(){return Math.random().toString(36).substring(2,10)}function d0(e,t){return{usr:e.state,key:e.key,idx:t}}function Wh(e,t,n=null,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Go(t):t,state:n,key:t&&t.key||i||ak()}}function kl({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Go(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function lk(e,t,n,i={}){let{window:o=document.defaultView,v5Compat:l=!1}=i,c=o.history,f="POP",h=null,m=v();m==null&&(m=0,c.replaceState({...c.state,idx:m},""));function v(){return(c.state||{idx:null}).idx}function S(){f="POP";let L=v(),M=L==null?null:L-m;m=L,h&&h({action:f,location:C.location,delta:M})}function b(L,M){f="PUSH";let U=Wh(C.location,L,M);m=v()+1;let $=d0(U,m),q=C.createHref(U);try{c.pushState($,"",q)}catch(J){if(J instanceof DOMException&&J.name==="DataCloneError")throw J;o.location.assign(q)}l&&h&&h({action:f,location:C.location,delta:1})}function A(L,M){f="REPLACE";let U=Wh(C.location,L,M);m=v();let $=d0(U,m),q=C.createHref(U);c.replaceState($,"",q),l&&h&&h({action:f,location:C.location,delta:0})}function P(L){return uk(L)}let C={get action(){return f},get location(){return e(o,c)},listen(L){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(c0,S),h=L,()=>{o.removeEventListener(c0,S),h=null}},createHref(L){return t(o,L)},createURL:P,encodeLocation(L){let M=P(L);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:b,replace:A,go(L){return c.go(L)}};return C}function uk(e,t=!1){let n="http://localhost";
40typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),it(n,"No window.location.(origin|href) available to create URL");let i=typeof e=="string"?e:kl(e);return i=i.replace(/ $/,"%20"),!t&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function nw(e,t,n="/"){return ck(e,t,n,!1)}function ck(e,t,n,i){let o=typeof t=="string"?Go(t):t,l=Kr(o.pathname||"/",n);if(l==null)return null;let c=rw(e);dk(c);let f=null;for(let h=0;f==null&&h<c.length;++h){let m=bk(l);f=xk(c[h],m,i)}return f}function rw(e,t=[],n=[],i=""){let o=(l,c,f)=>{let h={relativePath:f===void 0?l.path||"":f,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};h.relativePath.startsWith("/")&&(it(h.relativePath.startsWith(i),`Absolute route path "${h.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(i.length));let m=Wr([i,h.relativePath]),v=n.concat(h);l.children&&l.children.length>0&&(it(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),rw(l.children,t,v,m)),!(l.path==null&&!l.index)&&t.push({path:m,score:vk(m,l.index),routesMeta:v})};return e.forEach((l,c)=>{var f;if(l.path===""||!((f=l.path)!=null&&f.includes("?")))o(l,c);else for(let h of iw(l.path))o(l,c,h)}),t}function iw(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(i.length===0)return o?[l,""]:[l];let c=iw(i.join("/")),f=[];return f.push(...c.map(h=>h===""?l:[l,h].join("/"))),o&&f.push(...c),f.map(h=>e.startsWith("/")&&h===""?"/":h)}function dk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:wk(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var fk=/^:[\w-]+$/,hk=3,pk=2,mk=1,gk=10,yk=-2,f0=e=>e==="*";function vk(e,t){let n=e.split("/"),i=n.length;return n.some(f0)&&(i+=yk),t&&(i+=pk),n.filter(o=>!f0(o)).reduce((o,l)=>o+(fk.test(l)?hk:l===""?mk:gk),i)}function wk(e,t){return e.length===t.length&&e.slice(0,-1).every((i,o)=>i===t[o])?e[e.length-1]-t[t.length-1]:0}function xk(e,t,n=!1){let{routesMeta:i}=e,o={},l="/",c=[];for(let f=0;f<i.length;++f){let h=i[f],m=f===i.length-1,v=l==="/"?t:t.slice(l.length)||"/",S=zc({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},v),b=h.route;if(!S&&m&&n&&!i[i.length-1].route.index&&(S=zc({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},v)),!S)return null;
40Object.assign(o,S.params),c.push({params:o,pathname:Wr([l,S.pathname]),pathnameBase:Ck(Wr([l,S.pathnameBase])),route:b}),S.pathnameBase!=="/"&&(l=Wr([l,S.pathnameBase]))}return c}function zc(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=Sk(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let l=o[0],c=l.replace(/(.)\/+$/,"$1"),f=o.slice(1);return{params:i.reduce((m,{paramName:v,isOptional:S},b)=>{if(v==="*"){let P=f[b]||"";c=l.slice(0,l.length-P.length).replace(/(.)\/+$/,"$1")}const A=f[b];return S&&!A?m[v]=void 0:m[v]=(A||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:c,pattern:e}}function Sk(e,t=!1,n=!0){vr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,f,h)=>(i.push({paramName:f,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),i]}function bk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return vr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Kr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function kk(e,t="/"){let{pathname:n,search:i="",hash:o=""}=typeof e=="string"?Go(e):e;return{pathname:n?n.startsWith("/")?n:Ek(n,t):t,search:_k(i),hash:Pk(o)}}function Ek(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function mh(e,t,n,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Tk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function sw(e){let t=Tk(e);return t.map((n,i)=>i===t.length-1?n.pathname:n.pathnameBase)}function ow(e,t,n,i=!1){let o;typeof e=="string"?o=Go(e):(o={...e},it(!o.pathname||!o.pathname.includes("?"),mh("?","pathname","search",o)),it(!o.pathname||!o.pathname.includes("#"),mh("#","pathname","hash",o)),it(!o.search||!o.search.includes("#"),mh("#","search","hash",o)));let l=e===""||o.pathname==="",c=l?"/":o.pathname,f;if(c==null)f=n;else{let S=t.length-1;if(!i&&c.startsWith("..")){let b=c.split("/");for(;b[0]==="..";)b.shift(),S-=1;o.pathname=b.join("/")}f=S>=0?t[S]:"/"}let h=kk(o,f),m=c&&c!=="/"&&c.endsWith("/"),v=(l||c===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(m||v)&&(h.pathname+="/"),h}var Wr=e=>e.join("/").replace(/\/\/+/g,"/"),Ck=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),_k=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Pk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Ak(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var aw=["POST","PUT","PATCH","DELETE"];new Set(aw);var Ik=["GET",...aw];new Set(Ik);var Ko=F.createContext(null);Ko.displayName="DataRouter";var fd=F.createContext(null);fd.displayName="DataRouterState";var lw=F.createContext({isTransitioning:!1});lw.displayName="ViewTransition";var Rk=F.createContext(new Map);Rk.displayName="Fetchers";var Nk=F.createContext(null);Nk.displayName="Await";var wr=F.createContext(null);wr.displayName="Navigation";var Bl=F.createContext(null);Bl.displayName="Location";var Jr=F.createContext({outlet:null,matches:[],isDataRoute:!1});Jr.displayName="Route";var Dp=F.createContext(null);Dp.displayName="RouteError";function Ok(e,{relative:t}={}){it(Ul(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=F.useContext(wr),{hash:o,pathname:l,search:c}=$l(e,{relative:t}),f=l;return n!=="/"&&(f=l==="/"?n:Wr([n,l])),i.createHref({pathname:f,search:c,hash:o})}function Ul(){return F.useContext(Bl)!=null}function Rs(){return it(Ul(),"useLocation() may be used only in the context of a <Router> component."),F.useContext(Bl).location}var uw="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cw(e){F.useContext(wr).static||F.useLayoutEffect(e)}function Dk(){let{isDataRoute:e}=F.useContext(Jr);return e?Kk():Lk()}function Lk(){it(Ul(),"useNavigate() may be used only in the context of a <Router> component.");let e=F.useContext(Ko),{basename:t,navigator:n}=F.useContext(wr),{matches:i}=F.useContext(Jr),{pathname:o}=Rs(),l=JSON.stringify(sw(i)),c=F.useRef(!1);return cw(()=>{c.current=!0}),F.useCallback((h,m={})=>
40{if(vr(c.current,uw),!c.current)return;if(typeof h=="number"){n.go(h);return}let v=ow(h,JSON.parse(l),o,m.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:Wr([t,v.pathname])),(m.replace?n.replace:n.push)(v,m.state,m)},[t,n,l,o,e])}F.createContext(null);function $l(e,{relative:t}={}){let{matches:n}=F.useContext(Jr),{pathname:i}=Rs(),o=JSON.stringify(sw(n));return F.useMemo(()=>ow(e,JSON.parse(o),i,t==="path"),[e,o,i,t])}function Mk(e,t){return dw(e,t)}function dw(e,t,n,i){var M;it(Ul(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=F.useContext(wr),{matches:l}=F.useContext(Jr),c=l[l.length-1],f=c?c.params:{},h=c?c.pathname:"/",m=c?c.pathnameBase:"/",v=c&&c.route;{let U=v&&v.path||"";fw(h,!v||U.endsWith("*")||U.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${U}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 41 42Please change the parent <Route path="${U}"> to <Route path="${U==="/"?"*":`${U}/*`}">.`)}let S=Rs(),b;if(t){let U=typeof t=="string"?Go(t):t;it(m==="/"||((M=U.pathname)==null?void 0:M.startsWith(m)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${U.pathname}" was given in the \`location\` prop.`),b=U}else b=S;let A=b.pathname||"/",P=A;if(m!=="/"){let U=m.replace(/^\//,"").split("/");P="/"+A.replace(/^\//,"").split("/").slice(U.length).join("/")}let C=nw(e,{pathname:P});vr(v||C!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),vr(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let L=Uk(C&&C.map(U=>Object.assign({},U,{params:Object.assign({},f,U.params),pathname:Wr([m,o.encodeLocation?o.encodeLocation(U.pathname).pathname:U.pathname]),pathnameBase:U.pathnameBase==="/"?m:Wr([m,o.encodeLocation?o.encodeLocation(U.pathnameBase).pathname:U.pathnameBase])})),l,n,i);return t&&L?F.createElement(Bl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},L):L}function jk(){let e=Gk(),t=Ak(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:i},l={padding:"2px 4px",backgroundColor:i},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=F.createElement(F.Fragment,null,F.createElement("p",null,"ð¿ Hey developer ð"),F.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",F.createElement("code",{style:l},"ErrorBoundary")," or"," ",F.createElement("code",{style:l},"errorElement")," prop on your route.")),F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),n?F.createElement("pre",{style:o},n):null,c)}var Fk=F.createElement(jk,null),Vk=class extends F.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?F.createElement(Jr.Provider,{value:this.props.routeContext},F.createElement(Dp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Bk({routeContext:e,match:t,children:n}){let i=F.useContext(Ko);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),F.createElement(Jr.Provider,{value:e},n)}function Uk(e,t=[],n=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=n==null?void 0:n.errors;if(l!=null){let h=o.findIndex(m=>m.route.id&&(l==null?void 0:l[m.route.id])!==void 0);it(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,h+1))}let c=!1,f=-1;if(n)for(let h=0;h<o.length;h++){let m=o[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(f=h),m.route.id){let{loaderData:v,errors:S}
42=n,b=m.route.loader&&!v.hasOwnProperty(m.route.id)&&(!S||S[m.route.id]===void 0);if(m.route.lazy||b){c=!0,f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}return o.reduceRight((h,m,v)=>{let S,b=!1,A=null,P=null;n&&(S=l&&m.route.id?l[m.route.id]:void 0,A=m.route.errorElement||Fk,c&&(f<0&&v===0?(fw("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,P=null):f===v&&(b=!0,P=m.route.hydrateFallbackElement||null)));let C=t.concat(o.slice(0,v+1)),L=()=>{let M;return S?M=A:b?M=P:m.route.Component?M=F.createElement(m.route.Component,null):m.route.element?M=m.route.element:M=h,F.createElement(Bk,{match:m,routeContext:{outlet:h,matches:C,isDataRoute:n!=null},children:M})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?F.createElement(Vk,{location:n.location,revalidation:n.revalidation,component:A,error:S,children:L(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):L()},null)}function Lp(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function $k(e){let t=F.useContext(Ko);return it(t,Lp(e)),t}function zk(e){let t=F.useContext(fd);return it(t,Lp(e)),t}function Hk(e){let t=F.useContext(Jr);return it(t,Lp(e)),t}function Mp(e){let t=Hk(e),n=t.matches[t.matches.length-1];return it(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Wk(){return Mp("useRouteId")}function Gk(){var i;let e=F.useContext(Dp),t=zk("useRouteError"),n=Mp("useRouteError");return e!==void 0?e:(i=t.errors)==null?void 0:i[n]}function Kk(){let{router:e}=$k("useNavigate"),t=Mp("useNavigate"),n=F.useRef(!1);return cw(()=>{n.current=!0}),F.useCallback(async(o,l={})=>{vr(n.current,uw),n.current&&(typeof o=="number"?e.navigate(o):await e.navigate(o,{fromRouteId:t,...l}))},[e,t])}var h0={};function fw(e,t,n){!t&&!h0[e]&&(h0[e]=!0,vr(!1,n))}F.memo(Yk);function Yk({routes:e,future:t,state:n}){return dw(e,void 0,n,t)}function sl(e){it(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function qk({basename:e="/",children:t=null,location:n,navigationType:i="POP",navigator:o,static:l=!1}){it(!Ul(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),f=F.useMemo(()=>({basename:c,navigator:o,static:l,future:{}}),[c,o,l]);typeof n=="string"&&(n=Go(n));let{pathname:h="/",search:m="",hash:v="",state:S=null,key:b="default"}=n,A=F.useMemo(()=>{let P=Kr(h,c);return P==null?null:{location:{pathname:P,search:m,hash:v,state:S,key:b},navigationType:i}},[c,h,m,v,S,b,i]);return vr(A!=null,`<Router basename="${c}"> is not able to match the URL "${h}${m}${v}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:F.createElement(wr.Provider,{value:f},F.createElement(Bl.Provider,{children:t,value:A}))}function Xk({children:e,location:t}){return Mk(Gh(e),t)}function Gh(e,t=[]){let n=[];return F.Children.forEach(e,(i,o)=>{if(!F.isValidElement(i))return;let l=[...t,o];if(i.type===F.Fragment){n.push.apply(n,Gh(i.props.children,l));return}it(i.type===sl,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),it(!i.props.index||!i.props.children,"An index route cannot have child routes.");let c={id:i.props.id||l.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(c.children=Gh(i.props.children,l)),n.push(c)}),n}var Ic="get",Rc="application/x-www-form-urlencoded";function hd(e){return e!=null&&typeof e.tagName=="string"}function Jk(e){return hd(e)&&e.tagName.toLowerCase()==="button"}function Qk(e){return hd(e)&&e.tagName.toLowerCase()==="form"}function Zk(e){return hd(e)&&e.tagName.toLowerCase()==="input"}function eE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function tE(e,t){return e.button===0&&(!t||t==="_self")&&!eE(e)}var wc=null;function nE(){if(wc===null)try{new FormData(document.createElement("form"),0),wc=!1}catch{wc=!0}return wc}var rE=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function gh(e){return e!=null&&!rE.has(e)?(vr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Rc}"`),null):e}function iE(e,t){let n,i,o,l,c;if(Qk(e)){let f=e.getAttribute("action");i=f?Kr(f,t):null,n=e.getAttribute("method")||Ic,o=gh(e.getAttribute("enctype"))||Rc,l=new FormData(e)}else if(Jk(e)||Zk(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=e.getAttribute("formaction")||f.getAttribute("action");if(i=h?Kr(h,t):null,n=e.getAttribute("formmethod")||f.getAttribute("method")||Ic,o=gh(e.getAttribute("formenctype"))||gh(f.getAttribute("enctype"))||Rc,l=new FormData(f,e),!nE()){let{name:m,type:v,value:S}=e;if(v==="image"){let b=m?`${m}.`:"";l.append(`${b}x`,"0"),l.append(`${b}y`,"0")}
42else m&&l.append(m,S)}}else{if(hd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ic,i=null,o=Rc,c=e}return l&&o==="text/plain"&&(c=l,l=void 0),{action:i,method:n.toLowerCase(),encType:o,formData:l,body:c}}function jp(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function sE(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function oE(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function aE(e,t,n){let i=await Promise.all(e.map(async o=>{let l=t.routes[o.route.id];if(l){let c=await sE(l,n);return c.links?c.links():[]}return[]}));return dE(i.flat(1).filter(oE).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function p0(e,t,n,i,o,l){let c=(h,m)=>n[m]?h.route.id!==n[m].route.id:!0,f=(h,m)=>{var v;return n[m].pathname!==h.pathname||((v=n[m].route.path)==null?void 0:v.endsWith("*"))&&n[m].params["*"]!==h.params["*"]};return l==="assets"?t.filter((h,m)=>c(h,m)||f(h,m)):l==="data"?t.filter((h,m)=>{var S;let v=i.routes[h.route.id];if(!v||!v.hasLoader)return!1;if(c(h,m)||f(h,m))return!0;if(h.route.shouldRevalidate){let b=h.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((S=n[0])==null?void 0:S.params)||{},nextUrl:new URL(e,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function lE(e,t,{includeHydrateFallback:n}={}){return uE(e.map(i=>{let o=t.routes[i.route.id];if(!o)return[];let l=[o.module];return o.clientActionModule&&(l=l.concat(o.clientActionModule)),o.clientLoaderModule&&(l=l.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(l=l.concat(o.hydrateFallbackModule)),o.imports&&(l=l.concat(o.imports)),l}).flat(1))}function uE(e){return[...new Set(e)]}function cE(e){let t={},n=Object.keys(e).sort();for(let i of n)t[i]=e[i];return t}function dE(e,t){let n=new Set;return new Set(t),e.reduce((i,o)=>{let l=JSON.stringify(cE(o));return n.has(l)||(n.add(l),i.push({key:l,link:o})),i},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var fE=new Set([100,101,204,205]);function hE(e,t){let n=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n.pathname==="/"?n.pathname="_root.data":t&&Kr(n.pathname,t)==="/"?n.pathname=`${t.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function hw(){let e=F.useContext(Ko);return jp(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function pE(){let e=F.useContext(fd);return jp(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Fp=F.createContext(void 0);Fp.displayName="FrameworkContext";function pw(){let e=F.useContext(Fp);return jp(e,"You must render this element inside a <HydratedRouter> element"),e}function mE(e,t){let n=F.useContext(Fp),[i,o]=F.useState(!1),[l,c]=F.useState(!1),{onFocus:f,onBlur:h,onMouseEnter:m,onMouseLeave:v,onTouchStart:S}=t,b=F.useRef(null);F.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let C=M=>{M.forEach(U=>{c(U.isIntersecting)})},L=new IntersectionObserver(C,{threshold:.5});return b.current&&L.observe(b.current),()=>{L.disconnect()}}},[e]),F.useEffect(()=>{if(i){let C=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(C)}}},[i]);let A=()=>{o(!0)},P=()=>{o(!1),c(!1)};return n?e!=="intent"?[l,b,{}]:[l,b,{onFocus:el(f,A),onBlur:el(h,P),onMouseEnter:el(m,A),onMouseLeave:el(v,P),onTouchStart:el(S,A)}]:[!1,b,{}]}function el(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function gE({page:e,...t}){let{router:n}=hw(),i=F.useMemo(()=>nw(n.routes,e,n.basename),[n.routes,e,n.basename]);return i?F.createElement(vE,{page:e,matches:i,...t}):null}function yE(e){let{manifest:t,routeModules:n}=pw(),[i,o]=F.useState([]);return F.useEffect(()=>{let l=!1;return aE(e,t,n).then(c=>{l||o(c)}),()=>{l=!0}},[e,t,n]),i}function vE({page:e,matches:t,...n}){let i=Rs(),{manifest:o,routeModules:l}=pw(),{basename:c}=hw(),{loaderData:f,matches:h}=pE(),m=F.useMemo(()=>p0(e,t,h,o,i,"data"),[e,t,h,o,i]),v=F.useMemo(()=>p0(e,t,h,o,i,"assets"),[e,t,h,o,i]),S=F.useMemo(()=>
42{if(e===i.pathname+i.search+i.hash)return[];let P=new Set,C=!1;if(t.forEach(M=>{var $;let U=o.routes[M.route.id];!U||!U.hasLoader||(!m.some(q=>q.route.id===M.route.id)&&M.route.id in f&&(($=l[M.route.id])!=null&&$.shouldRevalidate)||U.hasClientLoader?C=!0:P.add(M.route.id))}),P.size===0)return[];let L=hE(e,c);return C&&P.size>0&&L.searchParams.set("_routes",t.filter(M=>P.has(M.route.id)).map(M=>M.route.id).join(",")),[L.pathname+L.search]},[c,f,i,o,m,t,e,l]),b=F.useMemo(()=>lE(v,o),[v,o]),A=yE(v);return F.createElement(F.Fragment,null,S.map(P=>F.createElement("link",{key:P,rel:"prefetch",as:"fetch",href:P,...n})),b.map(P=>F.createElement("link",{key:P,rel:"modulepreload",href:P,...n})),A.map(({key:P,link:C})=>F.createElement("link",{key:P,...C})))}function wE(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var mw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{mw&&(window.__reactRouterVersion="7.6.1")}catch{}function xE({basename:e,children:t,window:n}){let i=F.useRef();i.current==null&&(i.current=ok({window:n,v5Compat:!0}));let o=i.current,[l,c]=F.useState({action:o.action,location:o.location}),f=F.useCallback(h=>{F.startTransition(()=>c(h))},[c]);return F.useLayoutEffect(()=>o.listen(f),[o,f]),F.createElement(qk,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:o})}var gw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hl=F.forwardRef(function({onClick:t,discover:n="render",prefetch:i="none",relative:o,reloadDocument:l,replace:c,state:f,target:h,to:m,preventScrollReset:v,viewTransition:S,...b},A){let{basename:P}=F.useContext(wr),C=typeof m=="string"&&gw.test(m),L,M=!1;if(typeof m=="string"&&C&&(L=m,mw))try{let I=new URL(window.location.href),x=m.startsWith("//")?new URL(I.protocol+m):new URL(m),O=Kr(x.pathname,P);x.origin===I.origin&&O!=null?m=O+x.search+x.hash:M=!0}catch{vr(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let U=Ok(m,{relative:o}),[$,q,J]=mE(i,b),ee=EE(m,{replace:c,state:f,target:h,preventScrollReset:v,relative:o,viewTransition:S});function R(I){t&&t(I),I.defaultPrevented||ee(I)}let T=F.createElement("a",{...b,...J,href:L||U,onClick:M||l?t:R,ref:wE(A,q),target:h,"data-discover":!C&&n==="render"?"true":void 0});return $&&!C?F.createElement(F.Fragment,null,T,F.createElement(gE,{page:U})):T});hl.displayName="Link";var SE=F.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:i="",end:o=!1,style:l,to:c,viewTransition:f,children:h,...m},v){let S=$l(c,{relative:m.relative}),b=Rs(),A=F.useContext(fd),{navigator:P,basename:C}=F.useContext(wr),L=A!=null&&AE(S)&&f===!0,M=P.encodeLocation?P.encodeLocation(S).pathname:S.pathname,U=b.pathname,$=A&&A.navigation&&A.navigation.location?A.navigation.location.pathname:null;n||(U=U.toLowerCase(),$=$?$.toLowerCase():null,M=M.toLowerCase()),$&&C&&($=Kr($,C)||$);const q=M!=="/"&&M.endsWith("/")?M.length-1:M.length;let J=U===M||!o&&U.startsWith(M)&&U.charAt(q)==="/",ee=$!=null&&($===M||!o&&$.startsWith(M)&&$.charAt(M.length)==="/"),R={isActive:J,isPending:ee,isTransitioning:L},T=J?t:void 0,I;typeof i=="function"?I=i(R):I=[i,J?"active":null,ee?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let x=typeof l=="function"?l(R):l;return F.createElement(hl,{...m,"aria-current":T,className:I,ref:v,style:x,to:c,viewTransition:f},typeof h=="function"?h(R):h)});SE.displayName="NavLink";var bE=F.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:i,replace:o,state:l,method:c=Ic,action:f,onSubmit:h,relative:m,preventScrollReset:v,viewTransition:S,...b},A)=>{let P=_E(),C=PE(f,{relative:m}),L=c.toLowerCase()==="get"?"get":"post",M=typeof f=="string"&&gw.test(f),U=$=>{if(h&&h($),$.defaultPrevented)return;$.preventDefault();let q=$.nativeEvent.submitter,J=(q==null?void 0:q.getAttribute("formmethod"))||c;P(q||$.currentTarget,{fetcherKey:t,method:J,navigate:n,replace:o,state:l,relative:m,preventScrollReset:v,viewTransition:S})};return F.createElement("form",{ref:A,method:L,action:C,onSubmit:i?h:U,...b,"data-discover":!M&&e==="render"?"true":void 0})});bE.displayName="Form";function kE(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function yw(e){let t=F.useContext(Ko);return it(t,kE(e)),t}function EE(e,{target:t,replace:n,state:i,preventScrollReset:o,relative:l,viewTransition:c}={}){let f=Dk(),h=Rs(),m=$l(e,{relative:l});return F.useCallback(v=>{if(tE(v,t)){v.preventDefault();let S=n!==void 0?n:kl(h)===kl(m);f(e,{replace:S,state:i,preventScrollReset:o,relative:l,viewTransition:c})}},[h,f,m,n,i,t,e,o,l,c])}var TE=0,CE=()=>`__${String(++TE)}__`;function _E(){let{router:e}=yw("useSubmit"),{basename:t}=F.useContext(wr),n=Wk();return F.useCallback(async(i,o={})=>{let{action:l,method:c,encType:f,formData:h,body:m}=iE(i,t);if(o.navigate===!1){let v=o.fetcherKey||CE();await e.fetch(v,n,o.action||l,{preventScrollReset:o.preventScrollReset,formData:h,body:m,formMethod:o.method||c,formEncType:o.encType||f,flushSync:o.flushSync})}else await e.navigate(o.action||l,{preventScrollReset:o.preventScrollReset,formData:h,body:m,formMethod:o.method||c,formEncType:o.encType||f,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[e,t,n])}function PE(e,{relative:t}={}){let{basename:n}=F.useContext(wr),i=F.useContext(Jr);it(i,"useFormAction must be used inside a RouteContext");
42let[o]=i.matches.slice(-1),l={...$l(e||".",{relative:t})},c=Rs();if(e==null){l.search=c.search;let f=new URLSearchParams(l.search),h=f.getAll("index");if(h.some(v=>v==="")){f.delete("index"),h.filter(S=>S).forEach(S=>f.append("index",S));let v=f.toString();l.search=v?`?${v}`:""}}return(!e||e===".")&&o.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(l.pathname=l.pathname==="/"?n:Wr([n,l.pathname])),kl(l)}function AE(e,t={}){let n=F.useContext(lw);it(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=yw("useViewTransitionState"),o=$l(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Kr(n.currentLocation.pathname,i)||n.currentLocation.pathname,c=Kr(n.nextLocation.pathname,i)||n.nextLocation.pathname;return zc(o.pathname,c)!=null||zc(o.pathname,l)!=null}[...fE];const El={black:"#000",white:"#fff"},Eo={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},To={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Co={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},_o={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Po={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},tl={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},IE={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Es(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(i=>n.searchParams.append("args[]",i)),`Minified MUI error #${e}; visit ${n} for the full message.`}const vw="$$material";function Kh(){return Kh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Kh.apply(null,arguments)}function RE(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function NE(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var OE=function(){function e(n){var i=this;this._insertTag=function(o){var l;i.tags.length===0?i.insertionPoint?l=i.insertionPoint.nextSibling:i.prepend?l=i.container.firstChild:l=i.before:l=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(o,l),i.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(i){i.forEach(this._insertTag)},t.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(NE(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var l=RE(o);try{l.insertRule(i,l.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(i));this.ctr++}
vendor: 5,059 bytes, line 42
42,t.flush=function(){this.tags.forEach(function(i){var o;return(o=i.parentNode)==null?void 0:o.removeChild(i)}),this.tags=[],this.ctr=0},e}(),jt="-ms-",Hc="-moz-",Fe="-webkit-",ww="comm",Vp="rule",Bp="decl",DE="@import",xw="@keyframes",LE="@layer",ME=Math.abs,pd=String.fromCharCode,jE=Object.assign;function FE(e,t){return Nt(e,0)^45?(((t<<2^Nt(e,0))<<2^Nt(e,1))<<2^Nt(e,2))<<2^Nt(e,3):0}function Sw(e){return e.trim()}function VE(e,t){return(e=t.exec(e))?e[0]:e}function Ve(e,t,n){return e.replace(t,n)}function Yh(e,t){return e.indexOf(t)}function Nt(e,t){return e.charCodeAt(t)|0}function Tl(e,t,n){return e.slice(t,n)}function ur(e){return e.length}function Up(e){return e.length}function xc(e,t){return t.push(e),e}function BE(e,t){return e.map(t).join("")}var md=1,Uo=1,bw=0,sn=0,pt=0,Yo="";function gd(e,t,n,i,o,l,c){return{value:e,root:t,parent:n,type:i,props:o,children:l,line:md,column:Uo,length:c,return:""}}function nl(e,t){return jE(gd("",null,null,"",null,null,0),e,{length:-e.length},t)}function UE(){return pt}function $E(){return pt=sn>0?Nt(Yo,--sn):0,Uo--,pt===10&&(Uo=1,md--),pt}function mn(){return pt=sn<bw?Nt(Yo,sn++):0,Uo++,pt===10&&(Uo=1,md++),pt}function fr(){return Nt(Yo,sn)}function Nc(){return sn}function zl(e,t){return Tl(Yo,e,t)}function Cl(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kw(e){return md=Uo=1,bw=ur(Yo=e),sn=0,[]}function Ew(e){return Yo="",e}function Oc(e){return Sw(zl(sn-1,qh(e===91?e+2:e===40?e+1:e)))}function zE(e){for(;(pt=fr())&&pt<33;)mn();return Cl(e)>2||Cl(pt)>3?"":" "}function HE(e,t){for(;--t&&mn()&&!(pt<48||pt>102||pt>57&&pt<65||pt>70&&pt<97););return zl(e,Nc()+(t<6&&fr()==32&&mn()==32))}function qh(e){for(;mn();)switch(pt){case e:return sn;case 34:case 39:e!==34&&e!==39&&qh(pt);break;case 40:e===41&&qh(e);break;case 92:mn();break}return sn}function WE(e,t){for(;mn()&&e+pt!==57;)if(e+pt===84&&fr()===47)break;return"/*"+zl(t,sn-1)+"*"+pd(e===47?e:mn())}function GE(e){for(;!Cl(fr());)mn();return zl(e,sn)}function KE(e){return Ew(Dc("",null,null,null,[""],e=kw(e),0,[0],e))}function Dc(e,t,n,i,o,l,c,f,h){for(var m=0,v=0,S=c,b=0,A=0,P=0,C=1,L=1,M=1,U=0,$="",q=o,J=l,ee=i,R=$;L;)switch(P=U,U=mn()){case 40:if(P!=108&&Nt(R,S-1)==58){Yh(R+=Ve(Oc(U),"&","&\f"),"&\f")!=-1&&(M=-1);break}case 34:case 39:case 91:R+=Oc(U);break;case 9:case 10:case 13:case 32:R+=zE(P);break;case 92:R+=HE(Nc()-1,7);continue;case 47:switch(fr()){case 42:case 47:xc(YE(WE(mn(),Nc()),t,n),h);break;default:R+="/"}break;case 123*C:f[m++]=ur(R)*M;case 125*C:case 59:case 0:switch(U){case 0:case 125:L=0;case 59+v:M==-1&&(R=Ve(R,/\f/g,"")),A>0&&ur(R)-S&&xc(A>32?g0(R+";",i,n,S-1):g0(Ve(R," ","")+";",i,n,S-2),h);break;case 59:R+=";";default:if(xc(ee=m0(R,t,n,m,v,o,f,$,q=[],J=[],S),l),U===123)if(v===0)Dc(R,t,ee,ee,q,l,S,f,J);else switch(b===99&&Nt(R,3)===110?100:b){case 100:case 108:case 109:case 115:Dc(e,ee,ee,i&&xc(m0(e,ee,ee,0,0,o,f,$,o,q=[],S),J),o,J,S,f,i?q:J);break;default:Dc(R,ee,ee,ee,[""],J,0,f,J)}}m=v=A=0,C=M=1,$=R="",S=c;break;case 58:S=1+ur(R),A=P;default:if(C<1){if(U==123)--C;else if(U==125&&C++==0&&$E()==125)continue}switch(R+=pd(U),U*C){case 38:M=v>0?1:(R+="\f",-1);break;case 44:f[m++]=(ur(R)-1)*M,M=1;break;case 64:fr()===45&&(R+=Oc(mn())),b=fr(),v=S=ur($=R+=GE(Nc())),U++;break;case 45:P===45&&ur(R)==2&&(C=0)}}return l}function m0(e,t,n,i,o,l,c,f,h,m,v){for(var S=o-1,b=o===0?l:[""],A=Up(b),P=0,C=0,L=0;P<i;++P)for(var M=0,U=Tl(e,S+1,S=ME(C=c[P])),$=e;M<A;++M)($=Sw(C>0?b[M]+" "+U:Ve(U,/&\f/g,b[M])))&&(h[L++]=$);return gd(e,t,n,o===0?Vp:f,h,m,v)}function YE(e,t,n){return gd(e,t,n,ww,pd(UE()),Tl(e,2,-2),0)}function g0(e,t,n,i){return gd(e,t,n,Bp,Tl(e,0,i),Tl(e,i+1,-1),i)}function Mo(e,t){for(var n="",i=Up(e),o=0;o<i;o++)n+=t(e[o],o,e,t)||"";return n}function qE(e,t,n,i){switch(e.type){case LE:if(e.children.length)break;case DE:case Bp:return e.return=e.return||e.value;case ww:return"";case xw:return e.return=e.value+"{"+Mo(e.children,i)+"}";case Vp:e.value=e.props.join(",")}return ur(n=Mo(e.children,i))?e.return=e.value+"{"+n+"}":""}function XE(e){var t=Up(e);return function(n,i,o,l){for(var c="",f=0;f<t;f++)c+=e[f](n,i,o,l)||"";return c}}function JE(e){return function(t){t.root||(t=t.return)&&e(t)}}function Tw(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var QE=function(t,n,i){for(var o=0,l=0;o=l,l=fr(),o===38&&l===12&&(n[i]=1),!Cl(l);)mn();return zl(t,sn)},ZE=function(t,n){var i=-1,o=44;do switch(Cl(o)){case 0:o===38&&fr()===12&&(n[i]=1),t[i]+=QE(sn-1,n,i);break;case 2:t[i]+=Oc(o);break;case 4:if(o===44){t[++i]=fr()===58?"&\f":"",n[i]=t[i].length;break}default:t[i]+=pd(o)}while(o=mn());return t},eT=function(t,n){return Ew(ZE(kw(t),n))},y0=new WeakMap,tT=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,i=t.parent,o=t.column===i.column&&t.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;
vendor: 4,674 bytes, line 42
42if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!y0.get(i))&&!o){y0.set(t,!0);for(var l=[],c=eT(n,l),f=i.props,h=0,m=0;h<c.length;h++)for(var v=0;v<f.length;v++,m++)t.props[m]=l[h]?c[h].replace(/&\f/g,f[v]):f[v]+" "+c[h]}}},nT=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Cw(e,t){switch(FE(e,t)){case 5103:return Fe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Fe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fe+e+Hc+e+jt+e+e;case 6828:case 4268:return Fe+e+jt+e+e;case 6165:return Fe+e+jt+"flex-"+e+e;case 5187:return Fe+e+Ve(e,/(\w+).+(:[^]+)/,Fe+"box-$1$2"+jt+"flex-$1$2")+e;case 5443:return Fe+e+jt+"flex-item-"+Ve(e,/flex-|-self/,"")+e;case 4675:return Fe+e+jt+"flex-line-pack"+Ve(e,/align-content|flex-|-self/,"")+e;case 5548:return Fe+e+jt+Ve(e,"shrink","negative")+e;case 5292:return Fe+e+jt+Ve(e,"basis","preferred-size")+e;case 6060:return Fe+"box-"+Ve(e,"-grow","")+Fe+e+jt+Ve(e,"grow","positive")+e;case 4554:return Fe+Ve(e,/([^-])(transform)/g,"$1"+Fe+"$2")+e;case 6187:return Ve(Ve(Ve(e,/(zoom-|grab)/,Fe+"$1"),/(image-set)/,Fe+"$1"),e,"")+e;case 5495:case 3959:return Ve(e,/(image-set\([^]*)/,Fe+"$1$`$1");case 4968:return Ve(Ve(e,/(.+:)(flex-)?(.*)/,Fe+"box-pack:$3"+jt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fe+e+e;case 4095:case 3583:case 4068:case 2532:return Ve(e,/(.+)-inline(.+)/,Fe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ur(e)-1-t>6)switch(Nt(e,t+1)){case 109:if(Nt(e,t+4)!==45)break;case 102:return Ve(e,/(.+:)(.+)-([^]+)/,"$1"+Fe+"$2-$3$1"+Hc+(Nt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Yh(e,"stretch")?Cw(Ve(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Nt(e,t+1)!==115)break;case 6444:switch(Nt(e,ur(e)-3-(~Yh(e,"!important")&&10))){case 107:return Ve(e,":",":"+Fe)+e;case 101:return Ve(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fe+(Nt(e,14)===45?"inline-":"")+"box$3$1"+Fe+"$2$3$1"+jt+"$2box$3")+e}break;case 5936:switch(Nt(e,t+11)){case 114:return Fe+e+jt+Ve(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fe+e+jt+Ve(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fe+e+jt+Ve(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fe+e+jt+e+e}return e}var rT=function(t,n,i,o){if(t.length>-1&&!t.return)switch(t.type){case Bp:t.return=Cw(t.value,t.length);break;case xw:return Mo([nl(t,{value:Ve(t.value,"@","@"+Fe)})],o);case Vp:if(t.length)return BE(t.props,function(l){switch(VE(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Mo([nl(t,{props:[Ve(l,/:(read-\w+)/,":"+Hc+"$1")]})],o);case"::placeholder":return Mo([nl(t,{props:[Ve(l,/:(plac\w+)/,":"+Fe+"input-$1")]}),nl(t,{props:[Ve(l,/:(plac\w+)/,":"+Hc+"$1")]}),nl(t,{props:[Ve(l,/:(plac\w+)/,jt+"input-$1")]})],o)}return""})}},iT=[rT],sT=function(t){var n=t.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(C){var L=C.getAttribute("data-emotion");L.indexOf(" ")!==-1&&(document.head.appendChild(C),C.setAttribute("data-s",""))})}var o=t.stylisPlugins||iT,l={},c,f=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(C){for(var L=C.getAttribute("data-emotion").split(" "),M=1;M<L.length;M++)l[L[M]]=!0;f.push(C)});var h,m=[tT,nT];{var v,S=[qE,JE(function(C){v.insert(C)})],b=XE(m.concat(o,S)),A=function(L){return Mo(KE(L),b)};h=function(L,M,U,$){v=U,A(L?L+"{"+M.styles+"}":M.styles),$&&(P.inserted[M.name]=!0)}}var P={key:n,sheet:new OE({key:n,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:l,registered:{},insert:h};return P.sheet.hydrate(f),P},oT=!0;function aT(e,t,n){var i="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(i+=o+" ")}),i}var _w=function(t,n,i){var o=t.key+"-"+n.name;(i===!1||oT===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},lT=function(t,n,i){_w(t,n,i);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var l=n;do t.insert(n===l?"."+o:"",l,t.sheet,!0),l=l.next;while(l!==void 0)}};function uT(e){for(var t=0,n,i=0,o=e.length;o>=4;++i,o-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>
vendor: 4,128 bytes, line 42
42>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var cT={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dT=/[A-Z]|^ms/g,fT=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pw=function(t){return t.charCodeAt(1)===45},v0=function(t){return t!=null&&typeof t!="boolean"},yh=Tw(function(e){return Pw(e)?e:e.replace(dT,"-$&").toLowerCase()}),w0=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(fT,function(i,o,l){return cr={name:o,styles:l,next:cr},o})}return cT[t]!==1&&!Pw(t)&&typeof n=="number"&&n!==0?n+"px":n};function _l(e,t,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return cr={name:o.name,styles:o.styles,next:cr},o.name;var l=n;if(l.styles!==void 0){var c=l.next;if(c!==void 0)for(;c!==void 0;)cr={name:c.name,styles:c.styles,next:cr},c=c.next;var f=l.styles+";";return f}return hT(e,t,n)}case"function":{if(e!==void 0){var h=cr,m=n(e);return cr=h,_l(e,t,m)}break}}var v=n;if(t==null)return v;var S=t[v];return S!==void 0?S:v}function hT(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=_l(e,t,n[o])+";";else for(var l in n){var c=n[l];if(typeof c!="object"){var f=c;t!=null&&t[f]!==void 0?i+=l+"{"+t[f]+"}":v0(f)&&(i+=yh(l)+":"+w0(l,f)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(t==null||t[c[0]]===void 0))for(var h=0;h<c.length;h++)v0(c[h])&&(i+=yh(l)+":"+w0(l,c[h])+";");else{var m=_l(e,t,c);switch(l){case"animation":case"animationName":{i+=yh(l)+":"+m+";";break}default:i+=l+"{"+m+"}"}}}return i}var x0=/label:\s*([^\s;{]+)\s*(;|$)/g,cr;function Aw(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var i=!0,o="";cr=void 0;var l=e[0];if(l==null||l.raw===void 0)i=!1,o+=_l(n,t,l);else{var c=l;o+=c[0]}for(var f=1;f<e.length;f++)if(o+=_l(n,t,e[f]),i){var h=l;o+=h[f]}x0.lastIndex=0;for(var m="",v;(v=x0.exec(o))!==null;)m+="-"+v[1];var S=uT(o)+m;return{name:S,styles:o,next:cr}}var pT=function(t){return t()},mT=r0.useInsertionEffect?r0.useInsertionEffect:!1,gT=mT||pT,Iw=F.createContext(typeof HTMLElement<"u"?sT({key:"css"}):null);Iw.Provider;var yT=function(t){return F.forwardRef(function(n,i){var o=F.useContext(Iw);return t(n,o,i)})},Rw=F.createContext({}),vT=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
vendor: 4,586 bytes, line 42
42ine|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,wT=Tw(function(e){return vT.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),xT=wT,ST=function(t){return t!=="theme"},S0=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?xT:ST},b0=function(t,n,i){var o;if(n){var l=n.shouldForwardProp;o=t.__emotion_forwardProp&&l?function(c){return t.__emotion_forwardProp(c)&&l(c)}:l}return typeof o!="function"&&i&&(o=t.__emotion_forwardProp),o},bT=function(t){var n=t.cache,i=t.serialized,o=t.isStringTag;return _w(n,i,o),gT(function(){return lT(n,i,o)}),null},kT=function e(t,n){var i=t.__emotion_real===t,o=i&&t.__emotion_base||t,l,c;n!==void 0&&(l=n.label,c=n.target);var f=b0(t,n,i),h=f||S0(o),m=!h("as");return function(){var v=arguments,S=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&S.push("label:"+l+";"),v[0]==null||v[0].raw===void 0)S.push.apply(S,v);else{var b=v[0];S.push(b[0]);for(var A=v.length,P=1;P<A;P++)S.push(v[P],b[P])}var C=yT(function(L,M,U){var $=m&&L.as||o,q="",J=[],ee=L;if(L.theme==null){ee={};for(var R in L)ee[R]=L[R];ee.theme=F.useContext(Rw)}typeof L.className=="string"?q=aT(M.registered,J,L.className):L.className!=null&&(q=L.className+" ");var T=Aw(S.concat(J),M.registered,ee);q+=M.key+"-"+T.name,c!==void 0&&(q+=" "+c);var I=m&&f===void 0?S0($):h,x={};for(var O in L)m&&O==="as"||I(O)&&(x[O]=L[O]);return x.className=q,U&&(x.ref=U),F.createElement(F.Fragment,null,F.createElement(bT,{cache:M,serialized:T,isStringTag:typeof $=="string"}),F.createElement($,x))});
42return C.displayName=l!==void 0?l:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=o,C.__emotion_styles=S,C.__emotion_forwardProp=f,Object.defineProperty(C,"toString",{value:function(){return"."+c}}),C.withComponent=function(L,M){var U=e(L,Kh({},n,M,{shouldForwardProp:b0(C,M,!0)}));return U.apply(void 0,S)},C}},ET=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Xh=kT.bind(null);ET.forEach(function(e){Xh[e]=Xh(e)});function Nw(e,t){return Xh(e,t)}function TT(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const k0=[];function E0(e){return k0[0]=e,Aw(k0)}var vh={exports:{}},$e={};/** 43 * @license React 44 * react-is.production.js 45 * 46 * Copyright (c) Meta Platforms, Inc. and affiliates. 47 * 48 * This source code is licensed under the MIT license found in the 49 * LICENSE file in the root directory of this source tree. 50 */var T0;function CT(){if(T0)return $e;T0=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),A=Symbol.for("react.client.reference");function P(C){if(typeof C=="object"&&C!==null){var L=C.$$typeof;switch(L){case e:switch(C=C.type,C){case n:case o:case i:case h:case m:case b:return C;default:switch(C=C&&C.$$typeof,C){case c:case f:case S:case v:return C;case l:return C;default:return L}}case t:return L}}}return $e.ContextConsumer=l,$e.ContextProvider=c,$e.Element=e,$e.ForwardRef=f,$e.Fragment=n,$e.Lazy=S,$e.Memo=v,$e.Portal=t,$e.Profiler=o,$e.StrictMode=i,$e.Suspense=h,$e.SuspenseList=m,$e.isContextConsumer=function(C){return P(C)===l},$e.isContextProvider=function(C){return P(C)===c},$e.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===e},$e.isForwardRef=function(C){return P(C)===f},$e.isFragment=function(C){return P(C)===n},$e.isLazy=function(C){return P(C)===S},$e.isMemo=function(C){return P(C)===v},$e.isPortal=function(C){return P(C)===t},$e.isProfiler=function(C){return P(C)===o},$e.isStrictMode=function(C){return P(C)===i},$e.isSuspense=function(C){return P(C)===h},$e.isSuspenseList=function(C){return P(C)===m},$e.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===o||C===i||C===h||C===m||typeof C=="object"&&C!==null&&(C.$$typeof===S||C.$$typeof===v||C.$$typeof===c||C.$$typeof===l||C.$$typeof===f||C.$$typeof===A||C.getModuleId!==void 0)},$e.typeOf=P,$e}var C0;function _T(){return C0||(C0=1,vh.exports=CT()),vh.exports}var Ow=_T();function dr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Dw(e){if(F.isValidElement(e)||Ow.isValidElementType(e)||!dr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Dw(e[n])}),t}function Wt(e,t,n={clone:!0}){const i=n.clone?{...e}:e;return dr(e)&&dr(t)&&Object.keys(t).forEach(o=>{F.isValidElement(t[o])||Ow.isValidElementType(t[o])?i[o]=t[o]:dr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&dr(e[o])?i[o]=Wt(e[o],t[o],n):n.clone?i[o]=dr(t[o])?Dw(t[o]):t[o]:i[o]=t[o
50]}),i}const PT=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,i)=>n.val-i.val),t.reduce((n,i)=>({...n,[i.key]:i.val}),{})};function AT(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...o}=e,l=PT(t),c=Object.keys(l);function f(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n})`}function h(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-i/100}${n})`}function m(b,A){const P=c.indexOf(A);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n}) and (max-width:${(P!==-1&&typeof t[c[P]]=="number"?t[c[P]]:A)-i/100}${n})`}function v(b){return c.indexOf(b)+1<c.length?m(b,c[c.indexOf(b)+1]):f(b)}function S(b){const A=c.indexOf(b);return A===0?f(c[1]):A===c.length-1?h(c[A]):m(b,c[c.indexOf(b)+1]).replace("@media","@media not all and")}return{keys:c,values:l,up:f,down:h,between:m,only:v,not:S,unit:n,...o}}function IT(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(i=>i.startsWith("@container")).sort((i,o)=>{var c,f;const l=/min-width:\s*([0-9.]+)/;return+(((c=i.match(l))==null?void 0:c[1])||0)-+(((f=o.match(l))==null?void 0:f[1])||0)});return n.length?n.reduce((i,o)=>{const l=t[o];return delete i[o],i[o]=l,i},{...t}):t}function RT(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function NT(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,i,o]=n,l=Number.isNaN(+i)?i||0:+i;return e.containerQueries(o).up(l)}function OT(e){const t=(l,c)=>l.replace("@media",c?`@container ${c}`:"@container");function n(l,c){l.up=(...f)=>t(e.breakpoints.up(...f),c),l.down=(...f)=>t(e.breakpoints.down(...f),c),l.between=(...f)=>t(e.breakpoints.between(...f),c),l.only=(...f)=>t(e.breakpoints.only(...f),c),l.not=(...f)=>{const h=t(e.breakpoints.not(...f),c);return h.includes("not all and")?h.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):h}}const i={},o=l=>(n(i,l),i);return n(o),{...e,containerQueries:o}}const DT={borderRadius:4};function pl(e,t){return t?Wt(e,t,{clone:!1}):e}const yd={xs:0,sm:600,md:900,lg:1200,xl:1536},_0={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${yd[e]}px)`},LT={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:yd[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Jn(e,t,n){const i=e.theme||{};if(Array.isArray(t)){const l=i.breakpoints||_0;return t.reduce((c,f,h)=>(c[l.up(l.keys[h])]=n(t[h]),c),{})}if(typeof t=="object"){const l=i.breakpoints||_0;return Object.keys(t).reduce((c,f)=>{if(RT(l.keys,f)){const h=NT(i.containerQueries?i:LT,f);h&&(c[h]=n(t[f],f))}else if(Object.keys(l.values||yd).includes(f)){const h=l.up(f);c[h]=n(t[f],f)}else{const h=f;c[h]=t[h]}return c},{})}return n(t)}function Lw(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((i,o)=>{const l=e.up(o);return i[l]={},i},{}))||{}}function Mw(e,t){return e.reduce((n,i)=>{const o=n[i];return(!o||Object.keys(o).length===0)&&delete n[i],n},t)}function MT(e,...t){const n=Lw(e),i=[n,...t].reduce((o,l)=>Wt(o,l),{});return Mw(Object.keys(n),i)}function jT(e,t){if(typeof e!="object")return{};const n={},i=Object.keys(t);return Array.isArray(e)?i.forEach((o,l)=>{l<e.length&&(n[o]=!0)}):i.forEach(o=>{e[o]!=null&&(n[o]=!0)}),n}function wh({values:e,breakpoints:t,base:n}){const i=n||jT(e,t),o=Object.keys(i);if(o.length===0)return e;let l;return o.reduce((c,f,h)=>(Array.isArray(e)?(c[f]=e[h]!=null?e[h]:e[l],l=h):typeof e=="object"?(c[f]=e[f]!=null?e[f]:e[l],l=f):c[f]=e,c),{})}function jw(e){if(typeof e!="string")throw new Error(Es(7));return e.charAt(0).toUpperCase()+e.slice(1)}function vd(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const i=`vars.${t}`.split(".").reduce((o,l)=>o&&o[l]?o[l]:null,e);if(i!=null)return i}return t.split(".").reduce((i,o)=>i&&i[o]!=null?i[o]:null,e)}function Wc(e,t,n,i=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||i:o=vd(e,n)||i,t&&(o=t(o,i,e)),o}function ft(e){const{prop:t,cssProperty:n=e.prop,themeKey:i,transform:o}=e,l=c=>{if(c[t]==null)return null;const f=c[t],h=c.theme,m=vd(h,i)||{};
50return Jn(c,f,S=>{let b=Wc(m,o,S);return S===b&&typeof S=="string"&&(b=Wc(m,o,`${t}${S==="default"?"":jw(S)}`,S)),n===!1?b:{[n]:b}})};return l.propTypes={},l.filterProps=[t],l}function FT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const VT={m:"margin",p:"padding"},BT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},P0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},UT=FT(e=>{if(e.length>2)if(P0[e])e=P0[e];else return[e];const[t,n]=e.split(""),i=VT[t],o=BT[n]||"";return Array.isArray(o)?o.map(l=>i+l):[i+o]}),$p=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...$p,...zp];function Hl(e,t,n,i){const o=vd(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?l=>typeof l=="string"?l:typeof o=="string"?o.startsWith("var(")&&l===0?0:o.startsWith("var(")&&l===1?o:`calc(${l} * ${o})`:o*l:Array.isArray(o)?l=>{if(typeof l=="string")return l;const c=Math.abs(l),f=o[c];return l>=0?f:typeof f=="number"?-f:typeof f=="string"&&f.startsWith("var(")?`calc(-1 * ${f})`:`-${f}`}:typeof o=="function"?o:()=>{}}function wd(e){return Hl(e,"spacing",8)}function Ts(e,t){return typeof t=="string"||t==null?t:e(t)}function $T(e,t){return n=>e.reduce((i,o)=>(i[o]=Ts(t,n),i),{})}function zT(e,t,n,i){if(!t.includes(n))return null;const o=UT(n),l=$T(o,i),c=e[n];return Jn(e,c,l)}function Fw(e,t){const n=wd(e.theme);return Object.keys(e).map(i=>zT(e,t,i,n)).reduce(pl,{})}function ot(e){return Fw(e,$p)}ot.propTypes={};ot.filterProps=$p;function at(e){return Fw(e,zp)}at.propTypes={};at.filterProps=zp;function Vw(e=8,t=wd({spacing:e})){if(e.mui)return e;const n=(...i)=>(i.length===0?[1]:i).map(l=>{const c=t(l);return typeof c=="number"?`${c}px`:c}).join(" ");return n.mui=!0,n}function xd(...e){const t=e.reduce((i,o)=>(o.filterProps.forEach(l=>{i[l]=o}),i),{}),n=i=>Object.keys(i).reduce((o,l)=>t[l]?pl(o,t[l](i)):o,{});return n.propTypes={},n.filterProps=e.reduce((i,o)=>i.concat(o.filterProps),[]),n}function _n(e){return typeof e!="number"?e:`${e}px solid`}function In(e,t){return ft({prop:e,themeKey:"borders",transform:t})}const HT=In("border",_n),WT=In("borderTop",_n),GT=In("borderRight",_n),KT=In("borderBottom",_n),YT=In("borderLeft",_n),qT=In("borderColor"),XT=In("borderTopColor"),JT=In("borderRightColor"),QT=In("borderBottomColor"),ZT=In("borderLeftColor"),eC=In("outline",_n),tC=In("outlineColor"),Sd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Hl(e.theme,"shape.borderRadius",4),n=i=>({borderRadius:Ts(t,i)});return Jn(e,e.borderRadius,n)}return null};Sd.propTypes={};Sd.filterProps=["borderRadius"];xd(HT,WT,GT,KT,YT,qT,XT,JT,QT,ZT,Sd,eC,tC);const bd=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Hl(e.theme,"spacing",8),n=i=>({gap:Ts(t,i)});return Jn(e,e.gap,n)}return null};bd.propTypes={};bd.filterProps=["gap"];const kd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Hl(e.theme,"spacing",8),n=i=>({columnGap:Ts(t,i)});return Jn(e,e.columnGap,n)}return null};kd.propTypes={};kd.filterProps=["columnGap"];const Ed=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Hl(e.theme,"spacing",8),n=i=>({rowGap:Ts(t,i)});return Jn(e,e.rowGap,n)}return null};Ed.propTypes={};Ed.filterProps=["rowGap"];const nC=ft({prop:"gridColumn"}),rC=ft({prop:"gridRow"}),iC=ft({prop:"gridAutoFlow"}),sC=ft({prop:"gridAutoColumns"}),oC=ft({prop:"gridAutoRows"}),aC=ft({prop:"gridTemplateColumns"}),lC=ft({prop:"gridTemplateRows"}),uC=ft({prop:"gridTemplateAreas"}),cC=ft({prop:"gridArea"});xd(bd,kd,Ed,nC,rC,iC,sC,oC,aC,lC,uC,cC);function jo(e,t){return t==="grey"?t:e}const dC=ft({prop:"color",themeKey:"palette",transform:jo}),fC=ft({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:jo}),hC=ft({prop:"backgroundColor",themeKey:"palette",transform:jo});xd(dC,fC,hC);function hn(e){return e<=1&&e!==0?`${e*100}%`:e}const pC=ft({prop:"width",transform:hn}),Hp=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,l,c,f,h;const i=((c=(l=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:l.values)==null?void 0:c[n])||yd[n];return i?((h=(f=e.theme)==null?void 0:f.breakpoints)==null?void 0:h.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:hn(n)}};return Jn(e,e.maxWidth,t)}return null};Hp.filterProps=["maxWidth"];const mC=ft({prop:"minWidth",transform:hn}),gC=ft({prop:"height",transform:hn}),yC=ft({prop:"maxHeight",transform:hn}),vC=ft({prop:"minHeight",transform:hn});ft({prop:"size",cssProperty:"width",transform:hn});ft({prop:"size",cssProperty:"height",transform:hn});const wC=ft({prop:"boxSizing"});xd(pC,Hp,mC,gC,yC,vC,wC);const Wl={border:{themeKey:"borders",transform:_n},borderTop:{themeKey:"borders",transform:_n},borderRight:{themeKey:"borders",transform:_n},borderBottom:{themeKey:"borders",transform:_n},borderLeft:{themeKey:"borders",transform:_n},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:_n},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Sd},color:{themeKey:"palette",transform:jo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:jo},backgroundColor:{themeKey:"palette",transform:jo},p:{style:at},pt:{style:at},pr:{style:at},pb:{style:at},pl:{style:at},px:{style:at},py:{style:at},padding:{style:at},paddingTop:{style:at},paddingRight:{style:at}
50,paddingBottom:{style:at},paddingLeft:{style:at},paddingX:{style:at},paddingY:{style:at},paddingInline:{style:at},paddingInlineStart:{style:at},paddingInlineEnd:{style:at},paddingBlock:{style:at},paddingBlockStart:{style:at},paddingBlockEnd:{style:at},m:{style:ot},mt:{style:ot},mr:{style:ot},mb:{style:ot},ml:{style:ot},mx:{style:ot},my:{style:ot},margin:{style:ot},marginTop:{style:ot},marginRight:{style:ot},marginBottom:{style:ot},marginLeft:{style:ot},marginX:{style:ot},marginY:{style:ot},marginInline:{style:ot},marginInlineStart:{style:ot},marginInlineEnd:{style:ot},marginBlock:{style:ot},marginBlockStart:{style:ot},marginBlockEnd:{style:ot},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:bd},rowGap:{style:Ed},columnGap:{style:kd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:hn},maxWidth:{style:Hp},minWidth:{transform:hn},height:{transform:hn},maxHeight:{transform:hn},minHeight:{transform:hn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function xC(...e){const t=e.reduce((i,o)=>i.concat(Object.keys(o)),[]),n=new Set(t);return e.every(i=>n.size===Object.keys(i).length)}function SC(e,t){return typeof e=="function"?e(t):e}function bC(){function e(n,i,o,l){const c={[n]:i,theme:o},f=l[n];if(!f)return{[n]:i};const{cssProperty:h=n,themeKey:m,transform:v,style:S}=f;if(i==null)return null;if(m==="typography"&&i==="inherit")return{[n]:i};const b=vd(o,m)||{};return S?S(c):Jn(c,i,P=>{let C=Wc(b,v,P);return P===C&&typeof P=="string"&&(C=Wc(b,v,`${n}${P==="default"?"":jw(P)}`,P)),h===!1?C:{[h]:C}})}function t(n){const{sx:i,theme:o={}}=n||{};if(!i)return null;const l=o.unstable_sxConfig??Wl;function c(f){let h=f;if(typeof f=="function")h=f(o);else if(typeof f!="object")return f;if(!h)return null;const m=Lw(o.breakpoints),v=Object.keys(m);let S=m;return Object.keys(h).forEach(b=>{const A=SC(h[b],o);if(A!=null)if(typeof A=="object")if(l[b])S=pl(S,e(b,A,o,l));else{const P=Jn({theme:o},A,C=>({[b]:C}));xC(P,A)?S[b]=t({sx:A,theme:o}):S=pl(S,P)}else S=pl(S,e(b,A,o,l))}),IT(o,Mw(v,S))}return Array.isArray(i)?i.map(c):c(i)}return t}const Cs=bC();Cs.filterProps=["sx"];function kC(e,t){var i;const n=this;if(n.vars){if(!((i=n.colorSchemes)!=null&&i[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function Td(e={},...t){const{breakpoints:n={},palette:i={},spacing:o,shape:l={},...c}=e,f=AT(n),h=Vw(o);let m=Wt({breakpoints:f,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:h,shape:{...DT,...l}},c);return m=OT(m),m.applyStyles=kC,m=t.reduce((v,S)=>Wt(v,S),m),m.unstable_sxConfig={...Wl,...c==null?void 0:c.unstable_sxConfig},m.unstable_sx=function(S){return Cs({sx:S,theme:this})},m}function EC(e){return Object.keys(e).length===0}function TC(e=null){const t=F.useContext(Rw);return!t||EC(t)?e:t}const CC=Td();function Bw(e=CC){return TC(e)}const _C=e=>{var i;const t={systemProps:{},otherProps:{}},n=((i=e==null?void 0:e.theme)==null?void 0:i.unstable_sxConfig)??Wl;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Uw(e){const{sx:t,...n}=e,{systemProps:i,otherProps:o}=_C(n);let l;return Array.isArray(t)?l=[i,...t]:typeof t=="function"?l=(...c)=>{const f=t(...c);return dr(f)?{...i,...f}:i}:l={...i,...t},{...o,sx:l}}const A0=e=>e,PC=()=>{let e=A0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=A0}}},$w=PC();function zw(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=zw(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Cd(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=zw(e))&&(i&&(i+=" "),i+=t);return i}function AC(e={}){const{themeId:t,defaultTheme:n,defaultClassName:i="MuiBox-root",generateClassName:o}=e,l=Nw("div",{shouldForwardProp:f=>f!=="theme"&&f!=="sx"&&f!=="as"})(Cs);return F.forwardRef(function(h,m){const v=Bw(n),{className:S,component:b="div",...A}=Uw(h);return E.jsx(l,{as:b,ref:m,className:Cd(S,o?o(i):i),theme:t&&v[t]||v,...A})})}const IC={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Hw(e,t,n="Mui"){const i=IC[t];return i?`${n}-${i}`:`${$w.generate(e)}-${t}`}function RC(e,t,n="Mui"){const i={};return t.forEach(o=>{i[o]=Hw(e,o,n)}),i}function NC(e){const{variants:t,...n}=e,i={variants:t,style:E0(n),isProcessed:!0};return i.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=E0(o.style))}),i}const OC=Td();function xh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function DC(e){return e?(t,n)=>n[e]:null}function LC(e,t,n){e.theme=jC(e.theme)?n:e.theme[t]||e.theme}function Lc(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(i=>Lc(e,i));
50if(Array.isArray(n==null?void 0:n.variants)){let i;if(n.isProcessed)i=n.style;else{const{variants:o,...l}=n;i=l}return Ww(e,n.variants,[i])}return n!=null&&n.isProcessed?n.style:n}function Ww(e,t,n=[]){var o;let i;e:for(let l=0;l<t.length;l+=1){const c=t[l];if(typeof c.props=="function"){if(i??(i={...e,...e.ownerState,ownerState:e.ownerState}),!c.props(i))continue}else for(const f in c.props)if(e[f]!==c.props[f]&&((o=e.ownerState)==null?void 0:o[f])!==c.props[f])continue e;typeof c.style=="function"?(i??(i={...e,...e.ownerState,ownerState:e.ownerState}),n.push(c.style(i))):n.push(c.style)}return n}function Gw(e={}){const{themeId:t,defaultTheme:n=OC,rootShouldForwardProp:i=xh,slotShouldForwardProp:o=xh}=e;function l(f){LC(f,t,n)}return(f,h={})=>{TT(f,J=>J.filter(ee=>ee!==Cs));const{name:m,slot:v,skipVariantsResolver:S,skipSx:b,overridesResolver:A=DC(VC(v)),...P}=h,C=S!==void 0?S:v&&v!=="Root"&&v!=="root"||!1,L=b||!1;let M=xh;v==="Root"||v==="root"?M=i:v?M=o:FC(f)&&(M=void 0);const U=Nw(f,{shouldForwardProp:M,label:MC(),...P}),$=J=>{if(typeof J=="function"&&J.__emotion_real!==J)return function(R){return Lc(R,J)};if(dr(J)){const ee=NC(J);return ee.variants?function(T){return Lc(T,ee)}:ee.style}return J},q=(...J)=>{const ee=[],R=J.map($),T=[];if(ee.push(l),m&&A&&T.push(function(j){var De,ge;const Ee=(ge=(De=j.theme.components)==null?void 0:De[m])==null?void 0:ge.styleOverrides;if(!Ee)return null;const Ae={};for(const Y in Ee)Ae[Y]=Lc(j,Ee[Y]);return A(j,Ae)}),m&&!C&&T.push(function(j){var Ae,De;const N=j.theme,Ee=(De=(Ae=N==null?void 0:N.components)==null?void 0:Ae[m])==null?void 0:De.variants;return Ee?Ww(j,Ee):null}),L||T.push(Cs),Array.isArray(R[0])){const O=R.shift(),j=new Array(ee.length).fill(""),N=new Array(T.length).fill("");let Ee;Ee=[...j,...O,...N],Ee.raw=[...j,...O.raw,...N],ee.unshift(Ee)}const I=[...ee,...R,...T],x=U(...I);return f.muiName&&(x.muiName=f.muiName),x};return U.withConfig&&(q.withConfig=U.withConfig),q}}function MC(e,t){return void 0}function jC(e){for(const t in e)return!1;return!0}function FC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function VC(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const BC=Gw();function Gc(e,t){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=i;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const l=e[o],c=t[o];if(!c)n[o]=l||{};else if(!l)n[o]=c;else{n[o]={...c};for(const f in l)if(Object.prototype.hasOwnProperty.call(l,f)){const h=f;n[o][h]=Gc(l[h],c[h])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function UC(e){const{theme:t,name:n,props:i}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?i:Gc(t.components[n].defaultProps,i)}function $C({props:e,name:t,defaultTheme:n,themeId:i}){let o=Bw(n);return i&&(o=o[i]||o),UC({theme:o,name:t,props:e})}function zC(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}
50function Wp(e,t=0,n=1){return zC(e,t,n)}function HC(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(i=>i+i)),n?`rgb${n.length===4?"a":""}(${n.map((i,o)=>o<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function Li(e){if(e.type)return e;if(e.charAt(0)==="#")return Li(HC(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Es(9,e));let i=e.substring(t+1,e.length-1),o;if(n==="color"){if(i=i.split(" "),o=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Es(10,o))}else i=i.split(",");return i=i.map(l=>parseFloat(l)),{type:n,values:i,colorSpace:o}}const WC=e=>{const t=Li(e);return t.values.slice(0,3).map((n,i)=>t.type.includes("hsl")&&i!==0?`${n}%`:n).join(" ")},ol=(e,t)=>{try{return WC(e)}catch{return e}};function _d(e){const{type:t,colorSpace:n}=e;let{values:i}=e;return t.includes("rgb")?i=i.map((o,l)=>l<3?parseInt(o,10):o):t.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),t.includes("color")?i=`${n} ${i.join(" ")}`:i=`${i.join(", ")}`,`${t}(${i})`}function Kw(e){e=Li(e);const{values:t}=e,n=t[0],i=t[1]/100,o=t[2]/100,l=i*Math.min(o,1-o),c=(m,v=(m+n/30)%12)=>o-l*Math.max(Math.min(v-3,9-v,1),-1);let f="rgb";const h=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(f+="a",h.push(t[3])),_d({type:f,values:h})}function Jh(e){e=Li(e);let t=e.type==="hsl"||e.type==="hsla"?Li(Kw(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function GC(e,t){const n=Jh(e),i=Jh(t);return(Math.max(n,i)+.05)/(Math.min(n,i)+.05)}function KC(e,t){return e=Li(e),t=Wp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,_d(e)}function Sc(e,t,n){try{return KC(e,t)}catch{return e}}function Gp(e,t){if(e=Li(e),t=Wp(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return _d(e)}function He(e,t,n){try{return Gp(e,t)}catch{return e}}function Kp(e,t){if(e=Li(e),t=Wp(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return _d(e)}function We(e,t,n){try{return Kp(e,t)}catch{return e}}function YC(e,t=.15){return Jh(e)>.5?Gp(e,t):Kp(e,t)}function bc(e,t,n){try{return YC(e,t)}catch{return e}}function qC(e,t,n=void 0){const i={};for(const o in e){const l=e[o];let c="",f=!0;for(let h=0;h<l.length;h+=1){const m=l[h];m&&(c+=(f===!0?"":" ")+t(m),f=!1,n&&n[m]&&(c+=" "+n[m]))}i[o]=c}return i}const XC=F.createContext(void 0);function JC(e){const{theme:t,name:n,props:i}=e;if(!t||!t.components||!t.components[n])return i;const o=t.components[n];return o.defaultProps?Gc(o.defaultProps,i):!o.styleOverrides&&!o.variants?Gc(o,i):i}function QC({props:e,name:t}){const n=F.useContext(XC);return JC({props:e,name:t,theme:{components:n}})}function ZC(e=""){function t(...i){if(!i.length)return"";const o=i[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...i.slice(1))})`:`, ${o}`}return(i,...o)=>`var(--${e?`${e}-`:""}${i}${t(...o)})`}const I0=(e,t,n,i=[])=>{let o=e;t.forEach((l,c)=>{c===t.length-1?Array.isArray(o)?o[Number(l)]=n:o&&typeof o=="object"&&(o[l]=n):o&&typeof o=="object"&&(o[l]||(o[l]=i.includes(l)?[]:{}),o=o[l])})},e_=(e,t,n)=>{function i(o,l=[],c=[]){Object.entries(o).forEach(([f,h])=>{(!n||n&&!n([...l,f]))&&h!=null&&(typeof h=="object"&&Object.keys(h).length>0?i(h,[...l,f],Array.isArray(h)?[...c,f]:c):t([...l,f],h,c))})}i(e)},t_=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>e.includes(i))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Sh(e,t){const{prefix:n,shouldSkipGeneratingVar:i}=t||{},o={},l={},c={};return e_(e,(f,h,m)=>{if((typeof h=="string"||typeof h=="number")&&(!i||!i(f,h))){const v=`--${n?`${n}-`:""}${f.join("-")}`,S=t_(f,h);Object.assign(o,{[v]:S}),I0(l,f,`var(${v})`,m),I0(c,f,`var(${v}, ${S})`,m)}},f=>f[0]==="vars"),{css:o,vars:l,varsWithDefaults:c}}function n_(e,t={}){const{getSelector:n=L,disableCssColorScheme:i,colorSchemeSelector:o}=t,{colorSchemes:l={},components:c,defaultColorScheme:f="light",...h}=e,{vars:m,css:v,varsWithDefaults:S}=Sh(h,t);let b=S;const A={},{[f]:P,...C}=l;if(Object.entries(C||{}
50).forEach(([$,q])=>{const{vars:J,css:ee,varsWithDefaults:R}=Sh(q,t);b=Wt(b,R),A[$]={css:ee,vars:J}}),P){const{css:$,vars:q,varsWithDefaults:J}=Sh(P,t);b=Wt(b,J),A[f]={css:$,vars:q}}function L($,q){var ee,R;let J=o;if(o==="class"&&(J=".%s"),o==="data"&&(J="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(J=`[${o}="%s"]`),$){if(J==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((R=(ee=l[$])==null?void 0:ee.palette)==null?void 0:R.mode)||$})`]:{":root":q}};if(J)return e.defaultColorScheme===$?`:root, ${J.replace("%s",String($))}`:J.replace("%s",String($))}return":root"}return{vars:b,generateThemeVars:()=>{let $={...m};return Object.entries(A).forEach(([,{vars:q}])=>{$=Wt($,q)}),$},generateStyleSheets:()=>{var T,I;const $=[],q=e.defaultColorScheme||"light";function J(x,O){Object.keys(O).length&&$.push(typeof x=="string"?{[x]:{...O}}:x)}J(n(void 0,{...v}),v);const{[q]:ee,...R}=A;if(ee){const{css:x}=ee,O=(I=(T=l[q])==null?void 0:T.palette)==null?void 0:I.mode,j=!i&&O?{colorScheme:O,...x}:{...x};J(n(q,{...j}),j)}return Object.entries(R).forEach(([x,{css:O}])=>{var Ee,Ae;const j=(Ae=(Ee=l[x])==null?void 0:Ee.palette)==null?void 0:Ae.mode,N=!i&&j?{colorScheme:j,...O}:{...O};J(n(x,{...N}),N)}),$}}}function r_(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const i_=Td(),s_=BC("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function o_(e){return $C({props:e,name:"MuiStack",defaultTheme:i_})}function a_(e,t){const n=F.Children.toArray(e).filter(Boolean);return n.reduce((i,o,l)=>(i.push(o),l<n.length-1&&i.push(F.cloneElement(t,{key:`separator-${l}`})),i),[])}const l_=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],u_=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...Jn({theme:t},wh({values:e.direction,breakpoints:t.breakpoints.values}),i=>({flexDirection:i}))};if(e.spacing){const i=wd(t),o=Object.keys(t.breakpoints.values).reduce((h,m)=>((typeof e.spacing=="object"&&e.spacing[m]!=null||typeof e.direction=="object"&&e.direction[m]!=null)&&(h[m]=!0),h),{}),l=wh({values:e.direction,base:o}),c=wh({values:e.spacing,base:o});typeof l=="object"&&Object.keys(l).forEach((h,m,v)=>{if(!l[h]){const b=m>0?l[v[m-1]]:"column";l[h]=b}}),n=Wt(n,Jn({theme:t},c,(h,m)=>e.useFlexGap?{gap:Ts(i,h)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${l_(m?l[m]:e.direction)}`]:Ts(i,h)}}))}return n=MT(t.breakpoints,n),n};function c_(e={}){const{createStyledComponent:t=s_,useThemeProps:n=o_,componentName:i="MuiStack"}=e,o=()=>qC({root:["root"]},h=>Hw(i,h),{}),l=t(u_);return F.forwardRef(function(h,m){const v=n(h),S=Uw(v),{component:b="div",direction:A="column",spacing:P=0,divider:C,children:L,className:M,useFlexGap:U=!1,...$}=S,q={direction:A,spacing:P,useFlexGap:U},J=o();return E.jsx(l,{as:b,ownerState:q,ref:m,className:Cd(J.root,M),...$,children:C?a_(L,C):L})})}function Yw(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:El.white,default:El.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const d_=Yw();function qw(){return{text:{primary:El.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:El.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const R0=qw();function N0(e,t,n,i){const o=i.light||i,l=i.dark||i*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Kp(e.main,o):t==="dark"&&(e.dark=Gp(e.main,l)))}function f_(e="light"){return e==="dark"?{main:Co[200],light:Co[50],dark:Co[400]}:{main:Co[700],light:Co[400],dark:Co[800]}}function h_(e="light"){return e==="dark"?{main:To[200],light:To[50],dark:To[400]}:{main:To[500],light:To[300],dark:To[700]}}function p_(e="light"){return e==="dark"?{main:Eo[500],light:Eo[300],dark:Eo[700]}:{main:Eo[700],light:Eo[400],dark:Eo[800]}}function m_(e="light"){return e==="dark"?{main:_o[400],light:_o[300],dark:_o[700]}:{main:_o[700],light:_o[500],dark:_o[900]}}function g_(e="light"){return e==="dark"?{main:Po[400],light:Po[300],dark:Po[700]}:{main:Po[800],light:Po[500],dark:Po[900]}}function y_(e="light"){return e==="dark"?{main:tl[400],light:tl[300],dark:tl[700]}:{main:"#ed6c02",light:tl[500],dark:tl[900]}}function Yp(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:i=.2,...o}=e,l=e.primary||f_(t),c=e.secondary||h_(t),f=e.error||p_(t),h=e.info||m_(t),m=e.success||g_(t),v=e.warning||y_(t);function S(C){return GC(C,R0.text.primary)>=n?R0.text.primary:d_.text.primary}const b=({color:C,name:L,mainShade:M=500,lightShade:U=300,darkShade:$=700})=>{if(C={...C},!C.main&&C[M]&&(C.main=C[M]),!C.hasOwnProperty("main"))throw new Error(Es(11,L?` (${L})`:"",M));if(typeof C.main!="string")throw new Error(Es(12,L?` (${L})`:"",JSON.stringify(C.main)));return N0(C,"light",U,i),N0(C,"dark",$,i),C.contrastText||(C.contrastText=S(C.main)),C};let A;return t==="light"?A=Yw():t==="dark"&&(A=qw()),Wt({common:{...El},mode:t,primary:b({color:l,name:"primary"}
50),secondary:b({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:f,name:"error"}),warning:b({color:v,name:"warning"}),info:b({color:h,name:"info"}),success:b({color:m,name:"success"}),grey:IE,contrastThreshold:n,getContrastText:S,augmentColor:b,tonalOffset:i,...A},o)}function v_(e){const t={};return Object.entries(e).forEach(i=>{const[o,l]=i;typeof l=="object"&&(t[o]=`${l.fontStyle?`${l.fontStyle} `:""}${l.fontVariant?`${l.fontVariant} `:""}${l.fontWeight?`${l.fontWeight} `:""}${l.fontStretch?`${l.fontStretch} `:""}${l.fontSize||""}${l.lineHeight?`/${l.lineHeight} `:""}${l.fontFamily||""}`)}),t}function w_(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function x_(e){return Math.round(e*1e5)/1e5}const O0={textTransform:"uppercase"},D0='"Roboto", "Helvetica", "Arial", sans-serif';function S_(e,t){const{fontFamily:n=D0,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:f=700,htmlFontSize:h=16,allVariants:m,pxToRem:v,...S}=typeof t=="function"?t(e):t,b=i/14,A=v||(L=>`${L/h*b}rem`),P=(L,M,U,$,q)=>({fontFamily:n,fontWeight:L,fontSize:A(M),lineHeight:U,...n===D0?{letterSpacing:`${x_($/M)}em`}:{},...q,...m}),C={h1:P(o,96,1.167,-1.5),h2:P(o,60,1.2,-.5),h3:P(l,48,1.167,0),h4:P(l,34,1.235,.25),h5:P(l,24,1.334,0),h6:P(c,20,1.6,.15),subtitle1:P(l,16,1.75,.15),subtitle2:P(c,14,1.57,.1),body1:P(l,16,1.5,.15),body2:P(l,14,1.43,.15),button:P(c,14,1.75,.4,O0),caption:P(l,12,1.66,.4),overline:P(l,12,2.66,1,O0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Wt({htmlFontSize:h,pxToRem:A,fontFamily:n,fontSize:i,fontWeightLight:o,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:f,...C},S,{clone:!1})}const b_=.2,k_=.14,E_=.12;function Qe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${b_})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${k_})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${E_})`].join(",")}const T_=["none",Qe(0,2,1,-1,0,1,1,0,0,1,3,0),Qe(0,3,1,-2,0,2,2,0,0,1,5,0),Qe(0,3,3,-2,0,3,4,0,0,1,8,0),Qe(0,2,4,-1,0,4,5,0,0,1,10,0),Qe(0,3,5,-1,0,5,8,0,0,1,14,0),Qe(0,3,5,-1,0,6,10,0,0,1,18,0),Qe(0,4,5,-2,0,7,10,1,0,2,16,1),Qe(0,5,5,-3,0,8,10,1,0,3,14,2),Qe(0,5,6,-3,0,9,12,1,0,3,16,2),Qe(0,6,6,-3,0,10,14,1,0,4,18,3),Qe(0,6,7,-4,0,11,15,1,0,4,20,3),Qe(0,7,8,-4,0,12,17,2,0,5,22,4),Qe(0,7,8,-4,0,13,19,2,0,5,24,4),Qe(0,7,9,-4,0,14,21,2,0,5,26,4),Qe(0,8,9,-5,0,15,22,2,0,6,28,5),Qe(0,8,10,-5,0,16,24,2,0,6,30,5),Qe(0,8,11,-5,0,17,26,2,0,6,32,5),Qe(0,9,11,-5,0,18,28,2,0,7,34,6),Qe(0,9,12,-6,0,19,29,2,0,7,36,6),Qe(0,10,13,-6,0,20,31,3,0,8,38,7),Qe(0,10,13,-6,0,21,33,3,0,8,40,7),Qe(0,10,14,-6,0,22,35,3,0,8,42,7),Qe(0,11,14,-7,0,23,36,3,0,9,44,8),Qe(0,11,15,-7,0,24,38,3,0,9,46,8)],C_={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},__={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function L0(e){return`${Math.round(e)}ms`}function P_(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function A_(e){const t={...C_,...e.easing},n={...__,...e.duration};return{getAutoHeightDuration:P_,create:(o=["all"],l={})=>{const{duration:c=n.standard,easing:f=t.easeInOut,delay:h=0,...m}=l;return(Array.isArray(o)?o:[o]).map(v=>`${v} ${typeof c=="string"?c:L0(c)} ${f} ${typeof h=="string"?h:L0(h)}`).join(",")},...e,easing:t,duration:n}}const I_={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function R_(e){return dr(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Xw(e={}){const t={...e};function n(i){const o=Object.entries(i);for(let l=0;l<o.length;l++){const[c,f]=o[l];!R_(f)||c.startsWith("unstable_")?delete i[c]:dr(f)&&(i[c]={...f},n(i[c]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles'; 51 52const theme = ${JSON.stringify(t,null,2)}; 53 54theme.breakpoints = createBreakpoints(theme.breakpoints || {}); 55theme.transitions = createTransitions(theme.transitions || {}); 56 57export default theme;`}function Qh(e={},...t){const{breakpoints:n,mixins:i={},spacing:o,palette:l={},transitions:c={},typography:f={},shape:h,...m}=e;
57if(e.vars&&e.generateThemeVars===void 0)throw new Error(Es(20));const v=Yp(l),S=Td(e);let b=Wt(S,{mixins:w_(S.breakpoints,i),palette:v,shadows:T_.slice(),typography:S_(v,f),transitions:A_(c),zIndex:{...I_}});return b=Wt(b,m),b=t.reduce((A,P)=>Wt(A,P),b),b.unstable_sxConfig={...Wl,...m==null?void 0:m.unstable_sxConfig},b.unstable_sx=function(P){return Cs({sx:P,theme:this})},b.toRuntimeSource=Xw,b}function N_(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const O_=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=N_(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Jw(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Qw(e){return e==="dark"?O_:[]}function D_(e){const{palette:t={mode:"light"},opacity:n,overlays:i,...o}=e,l=Yp(t);return{palette:l,opacity:{...Jw(l.mode),...n},overlays:i||Qw(l.mode),...o}}function L_(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const M_=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],j_=e=>(t,n)=>{const i=e.rootSelector||":root",o=e.colorSchemeSelector;let l=o;if(o==="class"&&(l=".%s"),o==="data"&&(l="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(l=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const c={};return M_(e.cssVarPrefix).forEach(f=>{c[f]=n[f],delete n[f]}),l==="media"?{[i]:n,"@media (prefers-color-scheme: dark)":{[i]:c}}:l?{[l.replace("%s",t)]:c,[`${i}, ${l.replace("%s",t)}`]:n}:{[i]:{...n,...c}}}if(l&&l!=="media")return`${i}, ${l.replace("%s",String(t))}`}else if(t){if(l==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[i]:n}};if(l)return l.replace("%s",String(t))}return i};function F_(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Q(e,t,n){!e[t]&&n&&(e[t]=n)}function al(e){return typeof e!="string"||!e.startsWith("hsl")?e:Kw(e)}function Vr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ol(al(e[t])))}function V_(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const lr=e=>{try{return e()}catch{}},B_=(e="mui")=>ZC(e);function bh(e,t,n,i){if(!t)return;t=t===!0?{}:t;const o=i==="dark"?"dark":"light";if(!n){e[i]=D_({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:l,...c}=Qh({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[i]={...t,palette:l,opacity:{...Jw(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Qw(o)},c}function U_(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:i,disableCssColorScheme:o=!1,cssVarPrefix:l="mui",shouldSkipGeneratingVar:c=L_,colorSchemeSelector:f=n.light&&n.dark?"media":void 0,rootSelector:h=":root",...m}=e,v=Object.keys(n)[0],S=i||(n.light&&v!=="light"?"light":v),b=B_(l),{[S]:A,light:P,dark:C,...L}=n,M={...L};let U=A;if((S==="dark"&&!("dark"in n)||S==="light"&&!("light"in n))&&(U=!0),!U)throw new Error(Es(21,S));const $=bh(M,U,m,S);P&&!M.light&&bh(M,P,void 0,"light"),C&&!M.dark&&bh(M,C,void 0,"dark");let q={defaultColorScheme:S,...$,cssVarPrefix:l,colorSchemeSelector:f,rootSelector:h,getCssVar:b,colorSchemes:M,font:{...v_($.typography),...$.font},spacing:V_(m.spacing)};Object.keys(q.colorSchemes).forEach(I=>{const x=q.colorSchemes[I].palette,O=j=>{const N=j.split("-"),Ee=N[1],Ae=N[2];return b(j,x[Ee][Ae])};if(x.mode==="light"&&(Q(x.common,"background","#fff"),Q(x.common,"onBackground","#000")),x.mode==="dark"&&(Q(x.common,"background","#000"),Q(x.common,"onBackground","#fff")),F_(x,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),x.mode==="light"){Q(x.Alert,"errorColor",He(x.error.light,.6)),Q(x.Alert,"infoColor",He(x.info.light,.6)),Q(x.Alert,"successColor",He(x.success.light,.6)),Q(x.Alert,"warningColor",He(x.warning.light,.6)),Q(x.Alert,"errorFilledBg",O("palette-error-main")),Q(x.Alert,"infoFilledBg",O("palette-info-main")),Q(x.Alert,"successFilledBg",O("palette-success-main")),Q(x.Alert,"warningFilledBg",O("palette-warning-main")),Q(x.Alert,"errorFilledColor",lr(()=>x.getContrastText(x.error.main))),Q(x.Alert,"infoFilledColor",lr(()=>x.getContrastText(x.info.main))),Q(x.Alert,"successFilledColor",lr(()=>x.getContrastText(x.success.main))),Q(x.Alert,"warningFilledColor",lr(()=>x.getContrastText(x.warning.main))),Q(x.Alert,"errorStandardBg",We(x.error.light,.9)),Q(x.Alert,"infoStandardBg",We(x.info.light,.9)),Q(x.Alert,"successStandardBg",We(x.success.light,.9)),Q(x.Alert,"warningStandardBg",We(x.warning.light,.9)),Q(x.Alert,"errorIconColor",O("palette-error-main")),Q(x.Alert,"infoIconColor",O("palette-info-main")),Q(x.Alert,"successIconColor",O("palette-success-main")),Q(x.Alert,"warningIconColor",O("palette-warning-main")),Q(x.AppBar,"defaultBg",O("palette-grey-100")),Q(x.Avatar,"defaultBg",O("palette-grey-400")),Q(x.Button,"inheritContainedBg",O("palette-grey-300")),Q(x.Button,"inheritContainedHoverBg",O("palette-grey-A100")),Q(x.Chip,"defaultBorder",O("palette-grey-400")),Q(x.Chip,"defaultAvatarColor",O("palette-grey-700")),Q(x.Chip,"defaultIconColor",O("palette-grey-700")),Q(x.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Q(x.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Q(x.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Q(x.LinearProgress,"primaryBg",We(x.primary.main,.62)),Q(x.LinearProgress,"secondaryBg",We(x.secondary.main,.62)),Q(x.LinearProgress,"errorBg",We(x.error.main,.62)),Q(x.LinearProgress,"infoBg",We(x.info.main,.62)),Q(x.LinearProgress,"successBg",We(x.success.main,.62)),Q(x.LinearProgress,"warningBg",We(x.warning.main,.62)),Q(x.Skeleton,"bg",`rgba(${O("palette-text-primaryChannel")} / 0.11)`),Q(x.Slider,"primaryTrack",We(x.primary.main,.62)),Q(x.Slider,"secondaryTrack",We(x.secondary.main,.62)),Q(x.Slider,"errorTrack",We(x.error.main,.62)),Q(x.Slider,"infoTrack",We(x.info.main,.62)),Q(x.Slider,"successTrack",We(x.success.main,.62)),Q(x.Slider,"warningTrack",We(x.warning.main,.62));const j=bc(x.background.default,.8);Q(x.SnackbarContent,"bg",j),Q(x.SnackbarContent,"color",lr(()=>x.getContrastText(j))),Q(x.SpeedDialAction,"fabHoverBg",bc(x.background.paper,.15)),Q(x.StepConnector,"border",O("palette-grey-400")),Q(x.StepContent,"border",O("palette-grey-400")),Q(x.Switch,"defaultColor",O("palette-common-white")),Q(x.Switch,"defaultDisabledColor",O("palette-grey-100")),Q(x.Switch,"primaryDisabledColor",We(x.primary.main,.62)),Q(x.Switch,"secondary
57DisabledColor",We(x.secondary.main,.62)),Q(x.Switch,"errorDisabledColor",We(x.error.main,.62)),Q(x.Switch,"infoDisabledColor",We(x.info.main,.62)),Q(x.Switch,"successDisabledColor",We(x.success.main,.62)),Q(x.Switch,"warningDisabledColor",We(x.warning.main,.62)),Q(x.TableCell,"border",We(Sc(x.divider,1),.88)),Q(x.Tooltip,"bg",Sc(x.grey[700],.92))}if(x.mode==="dark"){Q(x.Alert,"errorColor",We(x.error.light,.6)),Q(x.Alert,"infoColor",We(x.info.light,.6)),Q(x.Alert,"successColor",We(x.success.light,.6)),Q(x.Alert,"warningColor",We(x.warning.light,.6)),Q(x.Alert,"errorFilledBg",O("palette-error-dark")),Q(x.Alert,"infoFilledBg",O("palette-info-dark")),Q(x.Alert,"successFilledBg",O("palette-success-dark")),Q(x.Alert,"warningFilledBg",O("palette-warning-dark")),Q(x.Alert,"errorFilledColor",lr(()=>x.getContrastText(x.error.dark))),Q(x.Alert,"infoFilledColor",lr(()=>x.getContrastText(x.info.dark))),Q(x.Alert,"successFilledColor",lr(()=>x.getContrastText(x.success.dark))),Q(x.Alert,"warningFilledColor",lr(()=>x.getContrastText(x.warning.dark))),Q(x.Alert,"errorStandardBg",He(x.error.light,.9)),Q(x.Alert,"infoStandardBg",He(x.info.light,.9)),Q(x.Alert,"successStandardBg",He(x.success.light,.9)),Q(x.Alert,"warningStandardBg",He(x.warning.light,.9)),Q(x.Alert,"errorIconColor",O("palette-error-main")),Q(x.Alert,"infoIconColor",O("palette-info-main")),Q(x.Alert,"successIconColor",O("palette-success-main")),Q(x.Alert,"warningIconColor",O("palette-warning-main")),Q(x.AppBar,"defaultBg",O("palette-grey-900")),Q(x.AppBar,"darkBg",O("palette-background-paper")),Q(x.AppBar,"darkColor",O("palette-text-primary")),Q(x.Avatar,"defaultBg",O("palette-grey-600")),Q(x.Button,"inheritContainedBg",O("palette-grey-800")),Q(x.Button,"inheritContainedHoverBg",O("palette-grey-700")),Q(x.Chip,"defaultBorder",O("palette-grey-700")),Q(x.Chip,"defaultAvatarColor",O("palette-grey-300")),Q(x.Chip,"defaultIconColor",O("palette-grey-300")),Q(x.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Q(x.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Q(x.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Q(x.LinearProgress,"primaryBg",He(x.primary.main,.5)),Q(x.LinearProgress,"secondaryBg",He(x.secondary.main,.5)),Q(x.LinearProgress,"errorBg",He(x.error.main,.5)),Q(x.LinearProgress,"infoBg",He(x.info.main,.5)),Q(x.LinearProgress,"successBg",He(x.success.main,.5)),Q(x.LinearProgress,"warningBg",He(x.warning.main,.5)),Q(x.Skeleton,"bg",`rgba(${O("palette-text-primaryChannel")} / 0.13)`),Q(x.Slider,"primaryTrack",He(x.primary.main,.5)),Q(x.Slider,"secondaryTrack",He(x.secondary.main,.5)),Q(x.Slider,"errorTrack",He(x.error.main,.5)),Q(x.Slider,"infoTrack",He(x.info.main,.5)),Q(x.Slider,"successTrack",He(x.success.main,.5)),Q(x.Slider,"warningTrack",He(x.warning.main,.5));const j=bc(x.background.default,.98);Q(x.SnackbarContent,"bg",j),Q(x.SnackbarContent,"color",lr(()=>x.getContrastText(j))),Q(x.SpeedDialAction,"fabHoverBg",bc(x.background.paper,.15)),Q(x.StepConnector,"border",O("palette-grey-600")),Q(x.StepContent,"border",O("palette-grey-600")),Q(x.Switch,"defaultColor",O("palette-grey-300")),Q(x.Switch,"defaultDisabledColor",O("palette-grey-600")),Q(x.Switch,"primaryDisabledColor",He(x.primary.main,.55)),Q(x.Switch,"secondaryDisabledColor",He(x.secondary.main,.55)),Q(x.Switch,"errorDisabledColor",He(x.error.main,.55)),Q(x.Switch,"infoDisabledColor",He(x.info.main,.55)),Q(x.Switch,"successDisabledColor",He(x.success.main,.55)),Q(x.Switch,"warningDisabledColor",He(x.warning.main,.55)),Q(x.TableCell,"border",He(Sc(x.divider,1),.68)),Q(x.Tooltip,"bg",Sc(x.grey[700],.92))}Vr(x.background,"default"),Vr(x.background,"paper"),Vr(x.common,"background"),Vr(x.common,"onBackground"),Vr(x,"divider"),Object.keys(x).forEach(j=>{const N=x[j];j!=="tonalOffset"&&N&&typeof N=="object"&&(N.main&&Q(x[j],"mainChannel",ol(al(N.main))),N.light&&Q(x[j],"lightChannel",ol(al(N.light))),N.dark&&Q(x[j],"darkChannel",ol(al(N.dark))),N.contrastText&&Q(x[j],"contrastTextChannel",ol(al(N.contrastText))),j==="text"&&(Vr(x[j],"primary"),Vr(x[j],"secondary")),j==="action"&&(N.active&&Vr(x[j],"active"),N.selected&&Vr(x[j],"selected")))})}),q=t.reduce((I,x)=>Wt(I,x),q);const J={prefix:l,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:j_(q)}
57,{vars:ee,generateThemeVars:R,generateStyleSheets:T}=n_(q,J);return q.vars=ee,Object.entries(q.colorSchemes[q.defaultColorScheme]).forEach(([I,x])=>{q[I]=x}),q.generateThemeVars=R,q.generateStyleSheets=T,q.generateSpacing=function(){return Vw(m.spacing,wd(this))},q.getColorSchemeSelector=r_(f),q.spacing=q.generateSpacing(),q.shouldSkipGeneratingVar=c,q.unstable_sxConfig={...Wl,...m==null?void 0:m.unstable_sxConfig},q.unstable_sx=function(x){return Cs({sx:x,theme:this})},q.toRuntimeSource=Xw,q}function M0(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Yp({...n===!0?{}:n.palette,mode:t})})}function Zw(e={},...t){const{palette:n,cssVariables:i=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:l=n==null?void 0:n.mode,...c}=e,f=l||"light",h=o==null?void 0:o[f],m={...o,...n?{[f]:{...typeof h!="boolean"&&h,palette:n}}:void 0};if(i===!1){if(!("colorSchemes"in e))return Qh(e,...t);let v=n;"palette"in e||m[f]&&(m[f]!==!0?v=m[f].palette:f==="dark"&&(v={mode:"dark"}));const S=Qh({...e,palette:v},...t);return S.defaultColorScheme=f,S.colorSchemes=m,S.palette.mode==="light"&&(S.colorSchemes.light={...m.light!==!0&&m.light,palette:S.palette},M0(S,"dark",m.dark)),S.palette.mode==="dark"&&(S.colorSchemes.dark={...m.dark!==!0&&m.dark,palette:S.palette},M0(S,"light",m.light)),S}return!n&&!("light"in m)&&f==="light"&&(m.light=!0),U_({...c,colorSchemes:m,defaultColorScheme:f,...typeof i!="boolean"&&i},...t)}const $_=Zw();function z_(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const H_=e=>z_(e)&&e!=="classes",W_=Gw({themeId:vw,defaultTheme:$_,rootShouldForwardProp:H_});function G_(e){return QC(e)}const K_=RC("MuiBox",["root"]),Y_=Zw(),Pi=AC({themeId:vw,defaultTheme:Y_,defaultClassName:K_.root,generateClassName:$w.generate}),j0=c_({createStyledComponent:W_("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>G_({props:e,name:"MuiStack"})}),ex=F.createContext({});function q_(e){const t=F.useRef(null);return t.current===null&&(t.current=e()),t.current}const qp=typeof window<"u",X_=qp?F.useLayoutEffect:F.useEffect,Xp=F.createContext(null),tx=F.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function J_(e=!0){const t=F.useContext(Xp);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:o}=t,l=F.useId();F.useEffect(()=>{if(e)return o(l)},[e]);const c=F.useCallback(()=>e&&i&&i(l),[l,i,e]);return!n&&i?[!1,c]:[!0]}function Jp(e,t){e.indexOf(t)===-1&&e.push(t)}function Qp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let nx=()=>{};const Zh={useManualTiming:!1};function Zp(e){let t;return()=>(t===void 0&&(t=e()),t)}const Pn=e=>e,Pl=(e,t,n)=>{const i=t-e;return i===0?1:(n-e)/i};class em{constructor(){this.subscriptions=[]}add(t){return Jp(this.subscriptions,t),()=>Qp(this.subscriptions,t)}notify(t,n,i){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,i);else for(let l=0;l<o;l++){const c=this.subscriptions[l];c&&c(t,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const hr=e=>e*1e3,pr=e=>e/1e3;function rx(e,t){return t?e*(1e3/t):0}const Q_=Zp(()=>window.ScrollTimeline!==void 0);class Z_{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=n}attachTimeline(t,n){const i=this.animations.map(o=>{if(Q_()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{i.forEach((o,l)=>{o&&o(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class eP extends Z_{then(t,n){return this.finished.finally(t).then(()=>{})}}const F0={value:null},tm=e=>Array.isArray(e)&&typeof e[0]=="number",tP={};function nP(e,t){const n=Zp(e);return()=>tP[t]??n()}const Al=nP(()=>{try{document.createElement("div").animate({opacity:0}
vendor: 16,324 bytes, line 57
57,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ix=(e,t,n=10)=>{let i="";const o=Math.max(Math.round(t/n),2);for(let l=0;l<o;l++)i+=e(l/(o-1))+", ";return`linear(${i.substring(0,i.length-2)})`},ll=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,ep={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ll([0,.65,.55,1]),circOut:ll([.55,0,1,.45]),backIn:ll([.31,.01,.66,-.59]),backOut:ll([.33,1.53,.69,.99])};function sx(e,t){if(e)return typeof e=="function"&&Al()?ix(e,t):tm(e)?ll(e):Array.isArray(e)?e.map(n=>sx(n,t)||ep.easeOut):ep[e]}function rP(e,t,n,{delay:i=0,duration:o=300,repeat:l=0,repeatType:c="loop",ease:f="easeInOut",times:h}={},m=void 0){const v={[t]:n};h&&(v.offset=h);const S=sx(f,o);return Array.isArray(S)&&(v.easing=S),e.animate(v,{delay:i,duration:o,easing:Array.isArray(S)?"linear":S,fill:"both",iterations:l+1,direction:c==="reverse"?"alternate":"normal",pseudoElement:m})}function nm(e){return typeof e=="function"&&"applyToOptions"in e}function rm(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}const Kc=2e4;function im(e){let t=0;const n=50;let i=e.next(t);for(;!i.done&&t<Kc;)t+=n,i=e.next(t);return t>=Kc?1/0:t}function iP(e,t=100,n){const i=n({...e,keyframes:[0,t]}),o=Math.min(im(i),Kc);return{type:"keyframes",ease:l=>i.next(o*l).value/t,duration:pr(o)}}function ox(e){return!!(typeof e=="function"&&Al()||!e||typeof e=="string"&&(e in ep||Al())||tm(e)||Array.isArray(e)&&e.every(ox))}function V0(e,t){e.timeline=t,e.onfinish=null}const kc=["read","resolveKeyframes","update","preRender","render","postRender"];function sP(e,t){let n=new Set,i=new Set,o=!1,l=!1;const c=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1},h=0;function m(S){c.has(S)&&(v.schedule(S),e()),h++,S(f)}const v={schedule:(S,b=!1,A=!1)=>{const C=A&&o?n:i;return b&&c.add(S),C.has(S)||C.add(S),S},cancel:S=>{i.delete(S),c.delete(S)},process:S=>{if(f=S,o){l=!0;return}o=!0,[n,i]=[i,n],n.forEach(m),t&&F0.value&&F0.value.frameloop[t].push(h),h=0,n.clear(),o=!1,l&&(l=!1,v.process(S))}};return v}const oP=40;function ax(e,t){let n=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,c=kc.reduce((M,U)=>(M[U]=sP(l,t?U:void 0),M),{}),{read:f,resolveKeyframes:h,update:m,preRender:v,render:S,postRender:b}=c,A=()=>{const M=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(M-o.timestamp,oP),1),o.timestamp=M,o.isProcessing=!0,f.process(o),h.process(o),m.process(o),v.process(o),S.process(o),b.process(o),o.isProcessing=!1,n&&t&&(i=!1,e(A))},P=()=>{n=!0,i=!0,o.isProcessing||e(A)};return{schedule:kc.reduce((M,U)=>{const $=c[U];return M[U]=(q,J=!1,ee=!1)=>(n||P(),$.schedule(q,J,ee)),M},{}),cancel:M=>{for(let U=0;U<kc.length;U++)c[kc[U]].cancel(M)},state:o,steps:c}}const{schedule:sm}=ax(queueMicrotask,!1),{schedule:Ye,cancel:Mi,state:Rt,steps:kh}=ax(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pn,!0);let Mc;function aP(){Mc=void 0}const mr={now:()=>(Mc===void 0&&mr.set(Rt.isProcessing||Zh.useManualTiming?Rt.timestamp:performance.now()),Mc),set:e=>{Mc=e,queueMicrotask(aP)}},Kn={x:!1,y:!1};function lx(){return Kn.x||Kn.y}function lP(e){return e==="x"||e==="y"?Kn[e]?null:(Kn[e]=!0,()=>{Kn[e]=!1}):Kn.x||Kn.y?null:(Kn.x=Kn.y=!0,()=>{Kn.x=Kn.y=!1})}function uP(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const o=(n==null?void 0:n[e])??i.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}function ux(e,t){const n=uP(e),i=new AbortController,o={passive:!0,...t,signal:i.signal};return[n,o,()=>i.abort()]}function B0(e){return!(e.pointerType==="touch"||lx())}function cP(e,t,n={}){const[i,o,l]=ux(e,n),c=f=>{if(!B0(f))return;const{target:h}=f,m=t(h,f);if(typeof m!="function"||!h)return;const v=S=>{B0(S)&&(m(S),h.removeEventListener("pointerleave",v))};h.addEventListener("pointerleave",v,o)};return i.forEach(f=>{f.addEventListener("pointerenter",c,o)}),l}const cx=(e,t)=>t?e===t?!0:cx(e,t.parentElement):!1,om=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,dP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function fP(e){return dP.has(e.tagName)||e.tabIndex!==-1}const ul=new WeakSet;function U0(e){return t=>{t.key==="Enter"&&e(t)}}function Eh(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const hP=(e,t)=>{const n=e.currentTarget;if(!n)return;const i=U0(()=>{if(ul.has(n))return;Eh(n,"down");const o=U0(()=>{Eh(n,"up")}),l=()=>Eh(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",l,t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)};function $0(e){return om(e)&&!lx()}function pP(e,t,n={}){const[i,o,l]=ux(e,n),c=f=>{const h=f.currentTarget;if(!$0(f)||ul.has(h))return;ul.add(h);const m=t(h,f),v=(A,P)=>{window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",b),!(!$0(A)||!ul.has(h))&&(ul.delete(h),typeof m=="function"&&m(A,{success:P}))},S=A=>{v(A,h===window||h===document||n.useGlobalTarget||cx(h,A.target))},b=A=>{v(A,!1)};window.addEventListener("pointerup",S,o),window.addEventListener("pointercancel",b,o)};return i.forEach(f=>{(n.useGlobalTarget?window:f).addEventListener("pointerdown",c,o),f instanceof HTMLElement&&(f.addEventListener("focus",m=>hP(m,o)),!fP(f)&&!f.hasAttribute("tabindex")&&(f.tabIndex=0))}),l}const z0=30,mP=e=>!isNaN(parseFloat(e));class gP{constructor(t,n={}){this.version="12.7.4",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,o=!0)=>{const l=mr.now();this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=mr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=mP(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new em);const i=this.events[t].add(n);return t==="change"?()=>{i(),Ye.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=mr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>z0)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,z0);return rx(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Il(e,t){return new gP(e,t)}const dx=F.createContext({strict:!1}),H0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},$o={};for(const e in H0)$o[e]={isEnabled:t=>H0[e].some(n=>!!t[n])};function yP(e){for(const t in e)$o[t]={...$o[t],...e[t]}}const vP=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Yc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||vP.has(e)}let fx=e=>!Yc(e);function wP(e){e&&(fx=t=>t.startsWith("on")?!Yc(t):e(t))}try{wP(require("@emotion/is-prop-valid").default)}catch{}function xP(e,t,n){const i={};for(const o in e)o==="values"&&typeof e.values=="object"||(fx(o)||n===!0&&Yc(o)||!t&&!Yc(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}function SP(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...i)=>e(...i);return new Proxy(n,{get:(i,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const Pd=F.createContext({});function Ad(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Rl(e){return typeof e=="string"||Array.isArray(e)}const am=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],lm=["initial",...am];function Id(e){return Ad(e.animate)||lm.some(t=>Rl(e[t]))}function hx(e){return!!(Id(e)||e.variants)}function bP(e,t){if(Id(e)){const{initial:n,animate:i}=e;return{initial:n===!1||Rl(n)?n:void 0,animate:Rl(i)?i:void 0}}return e.inherit!==!1?t:{}}function kP(e){const{initial:t,animate:n}=bP(e,F.useContext(Pd));return F.useMemo(()=>({initial:t,animate:n}),[W0(t),W0(n)])}function W0(e){return Array.isArray(e)?e.join(" "):e}const EP=Symbol.for("motionComponentSymbol");function Ro(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function TP(e,t,n){return F.useCallback(i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&(typeof n=="function"?n(i):Ro(n)&&(n.current=i))},[t])}const um=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),CP="framerAppearId",px="data-"+um(CP),mx=F.createContext({});function _P(e,t,n,i,o){var C,L;const{visualElement:l}=F.useContext(Pd),c=F.useContext(dx),f=F.useContext(Xp),h=F.useContext(tx).reducedMotion,m=F.useRef(null);i=i||c.renderer,!m.current&&i&&(m.current=i(e,{visualState:t,parent:l,props:n,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:h}));const v=m.current,S=F.useContext(mx);v&&!v.projection&&o&&(v.type==="html"||v.type==="svg")&&PP(m.current,n,o,S);const b=F.useRef(!1);F.useInsertionEffect(()=>{v&&b.current&&v.update(n,f)});const A=n[px],P=F.useRef(!!A&&!((C=window.MotionHandoffIsComplete)!=null&&C.call(window,A))&&((L=window.MotionHasOptimisedAnimation)==null?void 0:L.call(window,A)));return X_(()=>{v&&(b.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),sm.render(v.render),P.current&&v.animationState&&v.animationState.animateChanges())}),F.useEffect(()=>{v&&(!P.current&&v.animationState&&v.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var M;(M=window.MotionHandoffMarkAsComplete)==null||M.call(window,A)}),P.current=!1))}),v}function PP(e,t,n,i){const{layoutId:o,layout:l,drag:c,dragConstraints:f,layoutScroll:h,layoutRoot:m,layoutCrossfade:v}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:gx(e.parent)),e.projection.setOptions({layoutId:o,layout:l,alwaysMeasureLayout:!!c||f&&Ro(f),visualElement:e,animationType:typeof l=="string"?l:"both",initialPromotionConfig:i,crossfade:v,layoutScroll:h,layoutRoot:m})}function gx(e){if(e)return e.options.allowProjection!==!1?e.projection:gx(e.parent)}function AP({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:o}){e&&yP(e);function l(f,h){let m;const v={...F.useContext(tx),...f,layoutId:IP(f)},{isStatic:S}=v,b=kP(f),A=i(f,S);if(!S&&qp){RP();const P=NP(v);m=P.MeasureLayout,b.visualElement=_P(o,A,v,t,P.ProjectionNode)}return E.jsxs(Pd.Provider,{value:b,children:[m&&b.visualElement?E.jsx(m,{visualElement:b.visualElement,...v}):null,n(o,f,TP(A,b.visualElement,h),A,S,b.visualElement)]})}l.displayName=`motion.${typeof o=="string"?o:`create(${o.displayName??o.name??""})`}`;const c=F.forwardRef(l);return c[EP]=o,c}function IP({layoutId:e}){const t=F.useContext(ex).id;return t&&e!==void 0?t+"-"+e:e}function RP(e,t){F.useContext(dx).strict}function NP(e){const{drag:t,layout:n}=$o;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const yx=e=>t=>typeof t=="string"&&t.startsWith(e),cm=yx("--"),OP=yx("var(--"),dm=e=>OP(e)?DP.test(e.split("/*")[0].trim()):!1,DP=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Nl={};function LP(e){for(const t in e)Nl[t]=e[t],cm(t)&&(Nl[t].isCSSVariable=!0)}const qo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ns=new Set(qo);function vx(e,{layout:t,layoutId:n}){return Ns.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Nl[e]||e==="opacity")}const Vt=e=>!!(e&&e.getVelocity),wx=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Yr=(e,t,n)=>n>t?t:n<e?e:n,Xo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ol={...Xo,transform:e=>Yr(0,1,e)},Ec={...Xo,default:1},Gl=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),_i=Gl("deg"),gr=Gl("%"),Se=Gl("px"),MP=Gl("vh"),jP=Gl("vw"),G0={...gr,parse:e=>gr.parse(e)/100,transform:e=>gr.transform(e*100)},FP={borderWidth:Se,borderTopWidth:Se,borderRightWidth:Se,borderBottomWidth:Se,borderLeftWidth:Se,borderRadius:Se,radius:Se,borderTopLeftRadius:Se,borderTopRightRadius:Se,borderBottomRightRadius:Se,borderBottomLeftRadius:Se,width:Se,maxWidth:Se,height:Se,maxHeight:Se,top:Se,right:Se,bottom:Se,left:Se,padding:Se,paddingTop:Se,paddingRight:Se,paddingBottom:Se,paddingLeft:Se,margin:Se,marginTop:Se,marginRight:Se,marginBottom:Se,marginLeft:Se,backgroundPositionX:Se,backgroundPositionY:Se},VP={rotate:_i,rotateX:_i,rotateY:_i,rotateZ:_i,scale:Ec,scaleX:Ec,scaleY:Ec,scaleZ:Ec,skew:_i,skewX:_i,skewY:_i,distance:Se,translateX:Se,translateY:Se,translateZ:Se,x:Se,y:Se,z:Se,perspective:Se,transformPerspective:Se,opacity:Ol,originX:G0,originY:G0,originZ:Se},K0={...Xo,transform:Math.round},fm={...FP,...VP,zIndex:K0,size:Se,fillOpacity:Ol,strokeOpacity:Ol,numOctaves:K0},BP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},UP=qo.length;function $P(e,t,n){let i="",o=!0;for(let l=0;l<UP;l++){const c=qo[l],f=e[c];if(f===void 0)continue;let h=!0;if(typeof f=="number"?h=f===(c.startsWith("scale")?1:0):h=parseFloat(f)===0,!h||n){const m=wx(f,fm[c]);if(!h){o=!1;const v=BP[c]||c;i+=`${v}(${m}) `}n&&(t[c]=m)}}return i=i.trim(),n?i=n(t,o?"":i):o&&(i="none"),i}function hm(e,t,n){const{style:i,vars:o,transformOrigin:l}=e;let c=!1,f=!1;for(const h in t){const m=t[h];if(Ns.has(h)){c=!0;continue}else if(cm(h)){o[h]=m;continue}else{const v=wx(m,fm[h]);h.startsWith("origin")?(f=!0,l[h]=v):i[h]=v}}if(t.transform||(c||n?i.transform=$P(t,e.transform,n):i.transform&&(i.transform="none")),f){const{originX:h="50%",originY:m="50%",originZ:v=0}=l;i.transformOrigin=`${h} ${m} ${v}`}}const pm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function xx(e,t,n){for(const i in t)!Vt(t[i])&&!vx(i,n)&&(e[i]=t[i])}function zP({transformTemplate:e},t){return F.useMemo(()=>{const n=pm();return hm(n,t,e),Object.assign({},n.vars,n.style)},[t])}function HP(e,t){const n=e.style||{},i={};return xx(i,n,e),Object.assign(i,zP(e,t)),i}function WP(e,t){const n={},i=HP(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
57`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const GP=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function mm(e){return typeof e!="string"||e.includes("-")?!1:!!(GP.indexOf(e)>-1||/[A-Z]/u.test(e))}const KP={offset:"stroke-dashoffset",array:"stroke-dasharray"},YP={offset:"strokeDashoffset",array:"strokeDasharray"};function qP(e,t,n=1,i=0,o=!0){e.pathLength=1;const l=o?KP:YP;e[l.offset]=Se.transform(-i);const c=Se.transform(t),f=Se.transform(n);e[l.array]=`${c} ${f}`}function Y0(e,t,n){return typeof e=="string"?e:Se.transform(t+n*e)}function XP(e,t,n){const i=Y0(t,e.x,e.width),o=Y0(n,e.y,e.height);return`${i} ${o}`}function gm(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:l,pathLength:c,pathSpacing:f=1,pathOffset:h=0,...m},v,S){if(hm(e,m,S),v){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:b,style:A,dimensions:P}=e;b.transform&&(P&&(A.transform=b.transform),delete b.transform),P&&(o!==void 0||l!==void 0||A.transform)&&(A.transformOrigin=XP(P,o!==void 0?o:.5,l!==void 0?l:.5)),t!==void 0&&(b.x=t),n!==void 0&&(b.y=n),i!==void 0&&(b.scale=i),c!==void 0&&qP(b,c,f,h,!1)}const Sx=()=>({...pm(),attrs:{}}),ym=e=>typeof e=="string"&&e.toLowerCase()==="svg";function JP(e,t,n,i){const o=F.useMemo(()=>{const l=Sx();return gm(l,t,ym(i),e.transformTemplate),{...l.attrs,style:{...l.style}}},[t]);if(e.style){const l={};xx(l,e.style,e),o.style={...l,...o.style}}return o}function QP(e=!1){return(n,i,o,{latestValues:l},c)=>{const h=(mm(n)?JP:WP)(i,l,c,n),m=xP(i,typeof n=="string",e),v=n!==F.Fragment?{...m,...h,ref:o}:{},{children:S}=i,b=F.useMemo(()=>Vt(S)?S.get():S,[S]);return F.createElement(n,{...v,children:b})}}function q0(e){const t=[{},{}];return e==null||e.values.forEach((n,i)=>{t[0][i]=n.get(),t[1][i]=n.getVelocity()}),t}function vm(e,t,n,i){if(typeof t=="function"){const[o,l]=q0(i);t=t(n!==void 0?n:e.custom,o,l)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,l]=q0(i);t=t(n!==void 0?n:e.custom,o,l)}return t}const tp=e=>Array.isArray(e),ZP=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),eA=e=>tp(e)?e[e.length-1]||0:e;function jc(e){const t=Vt(e)?e.get():e;return ZP(t)?t.toValue():t}function tA({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},i,o,l){const c={latestValues:nA(i,o,l,e),renderState:t()};return n&&(c.onMount=f=>n({props:i,current:f,...c}),c.onUpdate=f=>n(f)),c}const bx=e=>(t,n)=>{const i=F.useContext(Pd),o=F.useContext(Xp),l=()=>tA(e,t,i,o);return n?l():q_(l)};function nA(e,t,n,i){const o={},l=i(e,{});for(const b in l)o[b]=jc(l[b]);let{initial:c,animate:f}=e;const h=Id(e),m=hx(e);t&&m&&!h&&e.inherit!==!1&&(c===void 0&&(c=t.initial),f===void 0&&(f=t.animate));let v=n?n.initial===!1:!1;v=v||c===!1;const S=v?f:c;if(S&&typeof S!="boolean"&&!Ad(S)){const b=Array.isArray(S)?S:[S];for(let A=0;A<b.length;A++){const P=vm(e,b[A]);if(P){const{transitionEnd:C,transition:L,...M}=P;for(const U in M){let $=M[U];if(Array.isArray($)){const q=v?$.length-1:0;$=$[q]}$!==null&&(o[U]=$)}for(const U in C)o[U]=C[U]}}}return o}function wm(e,t,n){var l;const{style:i}=e,o={};for(const c in i)(Vt(i[c])||t.style&&Vt(t.style[c])||vx(c,e)||((l=n==null?void 0:n.getValue(c))==null?void 0:l.liveStyle)!==void 0)&&(o[c]=i[c]);return o}const rA={useVisualState:bx({scrapeMotionValuesFromProps:wm,createRenderState:pm})};function kx(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}function Ex(e,{style:t,vars:n},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const l in n)e.style.setProperty(l,n[l])}const Tx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Cx(e,t,n,i){Ex(e,t,void 0,i);for(const o in t.attrs)e.setAttribute(Tx.has(o)?o:um(o),t.attrs[o])}function _x(e,t,n){const i=wm(e,t,n);for(const o in e)if(Vt(e[o])||Vt(t[o])){const l=qo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;i[l]=e[o]}return i}const X0=["x","y","width","height","cx","cy","r"],iA={useVisualState:bx({scrapeMotionValuesFromProps:_x,createRenderState:Sx,onUpdate:({props:e,prevProps:t,current:n,renderState:i,latestValues:o})=>{if(!n)return;let l=!!e.drag;if(!l){for(const f in o)if(Ns.has(f)){l=!0;break}}if(!l)return;let c=!t;if(t)for(let f=0;f<X0.length;f++){const h=X0[f];e[h]!==t[h]&&(c=!0)}c&&Ye.read(()=>{kx(n,i),Ye.render(()=>{gm(i,o,ym(n.tagName),e.transformTemplate),Cx(n,i)})})}})};function sA(e,t){return function(i,{forwardMotionProps:o}={forwardMotionProps:!1}){const c={...mm(i)?iA:rA,preloadedFeatures:e,useRender:QP(o),createVisualElement:t,Component:i};return AP(c)}}function Dl(e,t,n){const i=e.getProps();return vm(i,t,n!==void 0?n:i.custom,e)}const Px=new Set(["width","height","top","left","right","bottom",...qo]);function oA(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Il(n))}function aA(e,t){const n=Dl(e,t);let{transitionEnd:i={},transition:o={},...l}=n||{};l={...l,...i};for(const c in l){const f=eA(l[c]);oA(e,c,f)}}function lA(e){return!!(Vt(e)&&e.add)}function np(e,t){const n=e.getValue("willChange");if(lA(n))return n.add(t);if(!n&&Zh.WillChange){const i=new Zh.WillChange("auto");
vendor: 47,483 bytes, line 57
57e.addValue("willChange",i),i.add(t)}}function Ax(e){return e.props[px]}const Ix=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,uA=1e-7,cA=12;function dA(e,t,n,i,o){let l,c,f=0;do c=t+(n-t)/2,l=Ix(c,i,o)-e,l>0?n=c:t=c;while(Math.abs(l)>uA&&++f<cA);return c}function Kl(e,t,n,i){if(e===t&&n===i)return Pn;const o=l=>dA(l,0,1,e,n);return l=>l===0||l===1?l:Ix(o(l),t,i)}const Rx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Nx=e=>t=>1-e(1-t),Ox=Kl(.33,1.53,.69,.99),xm=Nx(Ox),Dx=Rx(xm),Lx=e=>(e*=2)<1?.5*xm(e):.5*(2-Math.pow(2,-10*(e-1))),Sm=e=>1-Math.sin(Math.acos(e)),Mx=Nx(Sm),jx=Rx(Sm),Fx=e=>/^0[^.\s]+$/u.test(e);function fA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Fx(e):!0}const ml=e=>Math.round(e*1e5)/1e5,bm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function hA(e){return e==null}const pA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,km=(e,t)=>n=>!!(typeof n=="string"&&pA.test(n)&&n.startsWith(e)||t&&!hA(n)&&Object.prototype.hasOwnProperty.call(n,t)),Vx=(e,t,n)=>i=>{if(typeof i!="string")return i;const[o,l,c,f]=i.match(bm);return{[e]:parseFloat(o),[t]:parseFloat(l),[n]:parseFloat(c),alpha:f!==void 0?parseFloat(f):1}},mA=e=>Yr(0,255,e),Th={...Xo,transform:e=>Math.round(mA(e))},ws={test:km("rgb","red"),parse:Vx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Th.transform(e)+", "+Th.transform(t)+", "+Th.transform(n)+", "+ml(Ol.transform(i))+")"};function gA(e){let t="",n="",i="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}}const rp={test:km("#"),parse:gA,transform:ws.transform},No={test:km("hsl","hue"),parse:Vx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+gr.transform(ml(t))+", "+gr.transform(ml(n))+", "+ml(Ol.transform(i))+")"},Ft={test:e=>ws.test(e)||rp.test(e)||No.test(e),parse:e=>ws.test(e)?ws.parse(e):No.test(e)?No.parse(e):rp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ws.transform(e):No.transform(e)},yA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function vA(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(bm))==null?void 0:t.length)||0)+(((n=e.match(yA))==null?void 0:n.length)||0)>0}const Bx="number",Ux="color",wA="var",xA="var(",J0="${}",SA=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ll(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},o=[];let l=0;const f=t.replace(SA,h=>(Ft.test(h)?(i.color.push(l),o.push(Ux),n.push(Ft.parse(h))):h.startsWith(xA)?(i.var.push(l),o.push(wA),n.push(h)):(i.number.push(l),o.push(Bx),n.push(parseFloat(h))),++l,J0)).split(J0);return{values:n,split:f,indexes:i,types:o}}function $x(e){return Ll(e).values}function zx(e){const{split:t,types:n}=Ll(e),i=t.length;return o=>{let l="";for(let c=0;c<i;c++)if(l+=t[c],o[c]!==void 0){const f=n[c];f===Bx?l+=ml(o[c]):f===Ux?l+=Ft.transform(o[c]):l+=o[c]}return l}}const bA=e=>typeof e=="number"?0:e;function kA(e){const t=$x(e);return zx(e)(t.map(bA))}const ji={test:vA,parse:$x,createTransformer:zx,getAnimatableNone:kA},EA=new Set(["brightness","contrast","saturate","opacity"]);function TA(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[i]=n.match(bm)||[];if(!i)return e;const o=n.replace(i,"");let l=EA.has(t)?1:0;return i!==n&&(l*=100),t+"("+l+o+")"}const CA=/\b([a-z-]*)\(.*?\)/gu,ip={...ji,getAnimatableNone:e=>{const t=e.match(CA);return t?t.map(TA).join(" "):e}},_A={...fm,color:Ft,backgroundColor:Ft,outlineColor:Ft,fill:Ft,stroke:Ft,borderColor:Ft,borderTopColor:Ft,borderRightColor:Ft,borderBottomColor:Ft,borderLeftColor:Ft,filter:ip,WebkitFilter:ip},Hx=e=>_A[e];function Wx(e,t){let n=Hx(e);return n!==ip&&(n=ji),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const PA=new Set(["auto","none","0"]);function AA(e,t,n){let i=0,o;for(;i<e.length&&!o;){const l=e[i];typeof l=="string"&&!PA.has(l)&&Ll(l).values.length&&(o=e[i]),i++}if(o&&n)for(const l of t)e[l]=Wx(n,o)}const xs=e=>e*180/Math.PI,sp=e=>{const t=xs(Math.atan2(e[1],e[0]));return op(t)},IA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:sp,rotateZ:sp,skewX:e=>xs(Math.atan(e[1])),skewY:e=>xs(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},op=e=>(e=e%360,e<0&&(e+=360),e),Q0=sp,Z0=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ev=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),RA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Z0,scaleY:ev,scale:e=>(Z0(e)+ev(e))/2,rotateX:e=>op(xs(Math.atan2(e[6],e[5]))),rotateY:e=>op(xs(Math.atan2(-e[2],e[0]))),rotateZ:Q0,rotate:Q0,skewX:e=>xs(Math.atan(e[4])),skewY:e=>xs(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function tv(e){return e.includes("scale")?1:0}function ap(e,t){if(!e||e==="none")return tv(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,o;if(n)i=RA,o=n;else{const f=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=IA,o=f}if(!o)return tv(t);const l=i[t],c=o[1].split(",").map(OA);return typeof l=="function"?l(c):c[l]}const NA=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return ap(n,t)};function OA(e){return parseFloat(e.trim())}const nv=e=>e===Xo||e===Se,DA=new Set(["x","y","z"]),LA=qo.filter(e=>!DA.has(e));function MA(e){const t=[];return LA.forEach(n=>{const i=e.getValue(n);i!==void 0&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}const zo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>ap(t,"x"),y:(e,{transform:t})=>ap(t,"y")};zo.translateX=zo.x;zo.translateY=zo.y;const ks=new Set;let lp=!1,up=!1;function Gx(){if(up){const e=Array.from(ks).filter(i=>i.needsMeasurement),t=new Set(e.map(i=>i.element)),n=new Map;t.forEach(i=>{const o=MA(i);o.length&&(n.set(i,o),i.render())}),e.forEach(i=>i.measureInitialState()),t.forEach(i=>{i.render();const o=n.get(i);o&&o.forEach(([l,c])=>{var f;(f=i.getValue(l))==null||f.set(c)})}),e.forEach(i=>i.measureEndState()),e.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}up=!1,lp=!1,ks.forEach(e=>e.complete()),ks.clear()}function Kx(){ks.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(up=!0)})}function jA(){Kx(),Gx()}class Em{constructor(t,n,i,o,l,c=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=i,this.motionValue=o,this.element=l,this.isAsync=c}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ks.add(this),lp||(lp=!0,Ye.read(Kx),Ye.resolveKeyframes(Gx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:i,motionValue:o}=this;for(let l=0;l<t.length;l++)if(t[l]===null)if(l===0){const c=o==null?void 0:o.get(),f=t[t.length-1];if(c!==void 0)t[0]=c;else if(i&&n){const h=i.readValue(n,f);h!=null&&(t[0]=h)}t[0]===void 0&&(t[0]=f),o&&c===void 0&&o.set(t[0])}else t[l]=t[l-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ks.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ks.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Yx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),FA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function VA(e){const t=FA.exec(e);if(!t)return[,];const[,n,i,o]=t;return[`--${n??i}`,o]}function qx(e,t,n=1){const[i,o]=VA(e);if(!i)return;const l=window.getComputedStyle(t).getPropertyValue(i);if(l){const c=l.trim();return Yx(c)?parseFloat(c):c}return dm(o)?qx(o,t,n+1):o}const Xx=e=>t=>t.test(e),BA={test:e=>e==="auto",parse:e=>e},Jx=[Xo,Se,gr,_i,jP,MP,BA],rv=e=>Jx.find(Xx(e));class Qx extends Em{constructor(t,n,i,o,l){super(t,n,i,o,l,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let m=t[h];if(typeof m=="string"&&(m=m.trim(),dm(m))){const v=qx(m,n.current);v!==void 0&&(t[h]=v),h===t.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Px.has(i)||t.length!==2)return;const[o,l]=t,c=rv(o),f=rv(l);if(c!==f)if(nv(c)&&nv(f))for(let h=0;h<t.length;h++){const m=t[h];typeof m=="string"&&(t[h]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,i=[];for(let o=0;o<t.length;o++)fA(t[o])&&i.push(o);i.length&&AA(t,i,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:i}=this;if(!t||!t.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zo[i](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(i,o).jump(o,!1)}measureEndState(){var f;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const l=i.length-1,c=i[l];i[l]=zo[n](t.measureViewportBox(),window.getComputedStyle(t.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),(f=this.removedTransforms)!=null&&f.length&&this.removedTransforms.forEach(([h,m])=>{t.getValue(h).set(m)}),this.resolveNoneKeyframes()}}const iv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ji.test(e)||e==="0")&&!e.startsWith("url("));function UA(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function $A(e,t,n,i){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const l=e[e.length-1],c=iv(o,t),f=iv(l,t);return!c||!f?!1:UA(e)||(n==="spring"||nm(n))&&i}const zA=e=>e!==null;function Rd(e,{repeat:t,repeatType:n="loop"},i){const o=e.filter(zA),l=t&&n!=="loop"&&t%2===1?0:o.length-1;return!l||i===void 0?o[l]:i}const HA=40;class Zx{constructor({autoplay:t=!0,delay:n=0,type:i="keyframes",repeat:o=0,repeatDelay:l=0,repeatType:c="loop",...f}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=mr.now(),this.options={autoplay:t,delay:n,type:i,repeat:o,repeatDelay:l,repeatType:c,...f},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>HA?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&jA(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=mr.now(),this.hasAttemptedResolve=!0;const{name:i,type:o,velocity:l,delay:c,onComplete:f,onUpdate:h,isGenerator:m}=this.options;if(!m&&!$A(t,i,o,l))if(c)this.options.duration=0;else{h&&h(Rd(t,this.options,n)),f&&f(),this.resolveFinishedPromise();return}const v=this.initPlayback(t,n);v!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...v},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear")}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const rt=(e,t,n)=>e+(t-e)*n;function Ch(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function WA({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,t/=100,n/=100;let o=0,l=0,c=0;if(!t)o=l=c=n;else{const f=n<.5?n*(1+t):n+t-n*t,h=2*n-f;o=Ch(h,f,e+1/3),l=Ch(h,f,e),c=Ch(h,f,e-1/3)}return{red:Math.round(o*255),green:Math.round(l*255),blue:Math.round(c*255),alpha:i}}function qc(e,t){return n=>n>0?t:e}const _h=(e,t,n)=>{const i=e*e,o=n*(t*t-i)+i;return o<0?0:Math.sqrt(o)},GA=[rp,ws,No],KA=e=>GA.find(t=>t.test(e));function sv(e){const t=KA(e);if(!t)return!1;let n=t.parse(e);return t===No&&(n=WA(n)),n}const ov=(e,t)=>{const n=sv(e),i=sv(t);if(!n||!i)return qc(e,t);const o={...n};return l=>(o.red=_h(n.red,i.red,l),o.green=_h(n.green,i.green,l),o.blue=_h(n.blue,i.blue,l),o.alpha=rt(n.alpha,i.alpha,l),ws.transform(o))},YA=(e,t)=>n=>t(e(n)),Yl=(...e)=>e.reduce(YA),cp=new Set(["none","hidden"]);function qA(e,t){return cp.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function XA(e,t){return n=>rt(e,t,n)}function Tm(e){return typeof e=="number"?XA:typeof e=="string"?dm(e)?qc:Ft.test(e)?ov:ZA:Array.isArray(e)?eS:typeof e=="object"?Ft.test(e)?ov:JA:qc}function eS(e,t){const n=[...e],i=n.length,o=e.map((l,c)=>Tm(l)(l,t[c]));return l=>{for(let c=0;c<i;c++)n[c]=o[c](l);return n}}function JA(e,t){const n={...e,...t},i={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(i[o]=Tm(e[o])(e[o],t[o]));return o=>{for(const l in i)n[l]=i[l](o);return n}}function QA(e,t){const n=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const l=t.types[o],c=e.indexes[l][i[l]],f=e.values[c]??0;n[o]=f,i[l]++}return n}const ZA=(e,t)=>{const n=ji.createTransformer(t),i=Ll(e),o=Ll(t);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?cp.has(e)&&!o.values.length||cp.has(t)&&!i.values.length?qA(e,t):Yl(eS(QA(i,o),o.values),n):qc(e,t)};function tS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?rt(e,t,n):Tm(e)(e,t)}const eI=5;function nS(e,t,n){const i=Math.max(t-eI,0);return rx(n-e(i),t-i)}const lt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},av=.001;function tI({duration:e=lt.duration,bounce:t=lt.bounce,velocity:n=lt.velocity,mass:i=lt.mass}){let o,l,c=1-t;c=Yr(lt.minDamping,lt.maxDamping,c),e=Yr(lt.minDuration,lt.maxDuration,pr(e)),c<1?(o=m=>{const v=m*c,S=v*e,b=v-n,A=dp(m,c),P=Math.exp(-S);return av-b/A*P},l=m=>{const S=m*c*e,b=S*n+n,A=Math.pow(c,2)*Math.pow(m,2)*e,P=Math.exp(-S),C=dp(Math.pow(m,2),c);return(-o(m)+av>0?-1:1)*((b-A)*P)/C}):(o=m=>{const v=Math.exp(-m*e),S=(m-n)*e+1;return-.001+v*S},l=m=>{const v=Math.exp(-m*e),S=(n-m)*(e*e);return v*S});const f=5/e,h=rI(o,l,f);if(e=hr(e),isNaN(h))return{stiffness:lt.stiffness,damping:lt.damping,duration:e};{const m=Math.pow(h,2)*i;return{stiffness:m,damping:c*2*Math.sqrt(i*m),duration:e}}}const nI=12;function rI(e,t,n){let i=n;for(let o=1;o<nI;o++)i=i-e(i)/t(i);return i}function dp(e,t){return e*Math.sqrt(1-t*t)}const iI=["duration","bounce"],sI=["stiffness","damping","mass"];function lv(e,t){return t.some(n=>e[n]!==void 0)}function oI(e){let t={velocity:lt.velocity,stiffness:lt.stiffness,damping:lt.damping,mass:lt.mass,isResolvedFromDuration:!1,...e};if(!lv(e,sI)&&lv(e,iI))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(n*1.2),o=i*i,l=2*Yr(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:lt.mass,stiffness:o,damping:l}}else{const n=tI(e);t={...t,...n,mass:lt.mass},t.isResolvedFromDuration=!0}return t}function Xc(e=lt.visualDuration,t=lt.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:o}=n;const l=n.keyframes[0],c=n.keyframes[n.keyframes.length-1],f={done:!1,value:l},{stiffness:h,damping:m,mass:v,duration:S,velocity:b,isResolvedFromDuration:A}=oI({...n,velocity:-pr(n.velocity||0)}),P=b||0,C=m/(2*Math.sqrt(h*v)),L=c-l,M=pr(Math.sqrt(h/v)),U=Math.abs(L)<5;i||(i=U?lt.restSpeed.granular:lt.restSpeed.default),o||(o=U?lt.restDelta.granular:lt.restDelta.default);let $;if(C<1){const J=dp(M,C);$=ee=>{const R=Math.exp(-C*M*ee);return c-R*((P+C*M*L)/J*Math.sin(J*ee)+L*Math.cos(J*ee))}}else if(C===1)$=J=>c-Math.exp(-M*J)*(L+(P+M*L)*J);else{const J=M*Math.sqrt(C*C-1);$=ee=>{const R=Math.exp(-C*M*ee),T=Math.min(J*ee,300);return c-R*((P+C*M*L)*Math.sinh(T)+J*L*Math.cosh(T))/J}}const q={calculatedDuration:A&&S||null,next:J=>{const ee=$(J);if(A)f.done=J>=S;else{let R=0;C<1&&(R=J===0?hr(P):nS($,J,ee));const T=Math.abs(R)<=i,I=Math.abs(c-ee)<=o;f.done=T&&I}return f.value=f.done?c:ee,f},toString:()=>{const J=Math.min(im(q),Kc),ee=ix(R=>q.next(J*R).value,J,30);return J+"ms "+ee},toTransition:()=>{}};return q}Xc.applyToOptions=e=>{const t=iP(e,100,Xc);return e.ease=Al()?t.ease:"easeOut",e.duration=hr(t.duration),e.type="keyframes",e};function uv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:l=500,modifyTarget:c,min:f,max:h,restDelta:m=.5,restSpeed:v}){const S=e[0],b={done:!1,value:S},A=T=>f!==void 0&&T<f||h!==void 0&&T>h,P=T=>f===void 0?h:h===void 0||Math.abs(f-T)<Math.abs(h-T)?f:h;let C=n*t;const L=S+C,M=c===void 0?L:c(L);M!==L&&(C=M-S);const U=T=>-C*Math.exp(-T/i),$=T=>M+U(T),q=T=>{const I=U(T),x=$(T);b.done=Math.abs(I)<=m,b.value=b.done?M:x};let J,ee;const R=T=>{A(b.value)&&(J=T,ee=Xc({keyframes:[b.value,P(b.value)],velocity:nS($,T,b.value),damping:o,stiffness:l,restDelta:m,restSpeed:v}))};return R(0),{calculatedDuration:null,next:T=>{let I=!1;return!ee&&J===void 0&&(I=!0,q(T),R(T)),J!==void 0&&T>=J?ee.next(T-J):(!I&&q(T),b)}}}const aI=Kl(.42,0,1,1),lI=Kl(0,0,.58,1),rS=Kl(.42,0,.58,1),uI=e=>Array.isArray(e)&&typeof e[0]!="number",cI={linear:Pn,easeIn:aI,easeInOut:rS,easeOut:lI,circIn:Sm,circInOut:jx,circOut:Mx,backIn:xm,backInOut:Dx,backOut:Ox,anticipate:Lx},cv=e=>{if(tm(e)){nx(e.length===4);const[t,n,i,o]=e;return Kl(t,n,i,o)}else if(typeof e=="string")return cI[e];return e};function dI(e,t,n){const i=[],o=n||tS,l=e.length-1;for(let c=0;c<l;c++){let f=o(e[c],e[c+1]);if(t){const h=Array.isArray(t)?t[c]||Pn:t;f=Yl(h,f)}i.push(f)}return i}function fI(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const l=e.length;if(nx(l===t.length),l===1)return()=>t[0];if(l===2&&t[0]===t[1])return()=>t[1];const c=e[0]===e[1];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());const f=dI(t,i,o),h=f.length,m=v=>{if(c&&v<e[0])return t[0];let S=0;if(h>1)for(;S<e.length-2&&!(v<e[S+1]);S++);const b=Pl(e[S],e[S+1],v);return f[S](b)};return n?v=>m(Yr(e[0],e[l-1],v)):m}function hI(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=Pl(0,t,i);e.push(rt(n,1,o))}}function pI(e){const t=[0];return hI(t,e.length-1),t}function mI(e,t){return e.map(n=>n*t)}function gI(e,t){return e.map(()=>t||rS).splice(0,e.length-1)}function Jc({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=uI(i)?i.map(cv):cv(i),l={done:!1,value:t[0]},c=mI(n&&n.length===t.length?n:pI(t),e),f=fI(c,t,{ease:Array.isArray(o)?o:gI(t,o)});return{calculatedDuration:e,next:h=>(l.value=f(h),l.done=h>=e,l)}}const yI=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ye.update(t,!0),stop:()=>Mi(t),now:()=>Rt.isProcessing?Rt.timestamp:mr.now()}},vI={decay:uv,inertia:uv,tween:Jc,keyframes:Jc,spring:Xc},wI=e=>e/100;class Cm extends Zx{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:h}=this.options;h&&h()};const{name:n,motionValue:i,element:o,keyframes:l}=this.options,c=(o==null?void 0:o.KeyframeResolver)||Em,f=(h,m)=>this.onKeyframesResolved(h,m);this.resolver=new c(l,f,n,i,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:l,velocity:c=0}=this.options,f=nm(n)?n:vI[n]||Jc;let h,m;f!==Jc&&typeof t[0]!="number"&&(h=Yl(wI,tS(t[0],t[1])),t=[0,100]);const v=f({...this.options,keyframes:t});l==="mirror"&&(m=f({...this.options,keyframes:[...t].reverse(),velocity:-c})),v.calculatedDuration===null&&(v.calculatedDuration=im(v));const{calculatedDuration:S}=v,b=S+o,A=b*(i+1)-o;return{generator:v,mirroredGenerator:m,mapPercentToKeyframes:h,calculatedDuration:S,resolvedDuration:b,totalDuration:A}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:i}=this;if(!i){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:o,generator:l,mirroredGenerator:c,mapPercentToKeyframes:f,keyframes:h,calculatedDuration:m,totalDuration:v,resolvedDuration:S}=i;if(this.startTime===null)return l.next(0);const{delay:b,repeat:A,repeatType:P,repeatDelay:C,onUpdate:L}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-v/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const M=this.currentTime-b*(this.speed>=0?1:-1),U=this.speed>=0?M<0:M>v;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=v);let $=this.currentTime,q=l;if(A){const T=Math.min(this.currentTime,v)/S;let I=Math.floor(T),x=T%1;!x&&T>=1&&(x=1),x===1&&I--,I=Math.min(I,A+1),!!(I%2)&&(P==="reverse"?(x=1-x,C&&(x-=C/S)):P==="mirror"&&(q=c)),$=Yr(0,1,x)*S}const J=U?{done:!1,value:h[0]}:q.next($);f&&(J.value=f(J.value));let{done:ee}=J;!U&&m!==null&&(ee=this.speed>=0?this.currentTime>=v:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ee);return R&&o!==void 0&&(J.value=Rd(h,this.options,o)),L&&L(J.value),R&&this.finish(),J}get duration(){const{resolved:t}=this;return t?pr(t.calculatedDuration):0}get time(){return pr(this.currentTime)}set time(t){t=hr(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=pr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=yI,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=t(l=>this.tick(l))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=i??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=this.currentTime??0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}get finished(){return this.currentFinishedPromise}}const xI=new Set(["opacity","clipPath","filter","transform"]),SI=Zp(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Qc=10,bI=2e4;function kI(e){return nm(e.type)||e.type==="spring"||!ox(e.ease)}function EI(e,t){const n=new Cm({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const o=[];let l=0;for(;!i.done&&l<bI;)i=n.sample(l),o.push(i.value),l+=Qc;return{times:void 0,keyframes:o,duration:l-Qc,ease:"linear"}}const iS={anticipate:Lx,backInOut:Dx,circInOut:jx};function TI(e){return e in iS}class dv extends Zx{constructor(t){super(t);const{name:n,motionValue:i,element:o,keyframes:l}=this.options;this.resolver=new Qx(l,(c,f)=>this.onKeyframesResolved(c,f),n,i,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:i=300,times:o,ease:l,type:c,motionValue:f,name:h,startTime:m}=this.options;if(!f.owner||!f.owner.current)return!1;if(typeof l=="string"&&Al()&&TI(l)&&(l=iS[l]),kI(this.options)){const{onComplete:S,onUpdate:b,motionValue:A,element:P,...C}=this.options,L=EI(t,C);t=L.keyframes,t.length===1&&(t[1]=t[0]),i=L.duration,o=L.times,l=L.ease,c="keyframes"}const v=rP(f.owner.current,h,t,{...this.options,duration:i,times:o,ease:l});return v.startTime=m??this.calcStartTime(),this.pendingTimeline?(V0(v,this.pendingTimeline),this.pendingTimeline=void 0):v.onfinish=()=>{const{onComplete:S}=this.options;f.set(Rd(t,this.options,n)),S&&S(),this.cancel(),this.resolveFinishedPromise()},{animation:v,duration:i,times:o,type:c,ease:l,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return pr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return pr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=hr(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}get finished(){return this.resolved.animation.finished}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return Pn;const{animation:i}=n;V0(i,t)}return Pn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:i,duration:o,type:l,ease:c,times:f}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:v,onComplete:S,element:b,...A}=this.options,P=new Cm({...A,keyframes:i,duration:o,type:l,ease:c,times:f,isGenerator:!0}),C=hr(this.time);m.setWithVelocity(P.sample(C-Qc).value,P.sample(C).value,Qc)}const{onStop:h}=this.options;h&&h(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:i,repeatDelay:o,repeatType:l,damping:c,type:f}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:m}=n.owner.getProps();return SI()&&i&&xI.has(i)&&(i!=="transform"||!m)&&!h&&!o&&l!=="mirror"&&c!==0&&f!=="inertia"}}const CI={type:"spring",stiffness:500,damping:25,restSpeed:10},_I=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),PI={type:"keyframes",duration:.8},AI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},II=(e,{keyframes:t})=>t.length>2?PI:Ns.has(e)?e.startsWith("scale")?_I(t[1]):CI:AI;function RI({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:l,repeatType:c,repeatDelay:f,from:h,elapsed:m,...v}){return!!Object.keys(v).length}const _m=(e,t,n,i={},o,l)=>c=>{const f=rm(i,e)||{},h=f.delay||i.delay||0;let{elapsed:m=0}=i;m=m-hr(h);let v={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...f,delay:-m,onUpdate:b=>{t.set(b),f.onUpdate&&f.onUpdate(b)},onComplete:()=>{c(),f.onComplete&&f.onComplete()},name:e,motionValue:t,element:l?void 0:o};RI(f)||(v={...v,...II(e,v)}),v.duration&&(v.duration=hr(v.duration)),v.repeatDelay&&(v.repeatDelay=hr(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let S=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(v.duration=0,v.delay===0&&(S=!0)),v.allowFlatten=!f.type&&!f.ease,S&&!l&&t.get()!==void 0){const b=Rd(v.keyframes,f);if(b!==void 0)return Ye.update(()=>{v.onUpdate(b),v.onComplete()}),new eP([])}return!l&&dv.supports(v)?new dv(v):new Cm(v)};function NI({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,i}function sS(e,t,{delay:n=0,transitionOverride:i,type:o}={}){let{transition:l=e.getDefaultTransition(),transitionEnd:c,...f}=t;i&&(l=i);const h=[],m=o&&e.animationState&&e.animationState.getState()[o];for(const v in f){const S=e.getValue(v,e.latestValues[v]??null),b=f[v];if(b===void 0||m&&NI(m,v))continue;const A={delay:n,...rm(l||{},v)};let P=!1;if(window.MotionHandoffAnimation){const L=Ax(e);if(L){const M=window.MotionHandoffAnimation(L,v,Ye);M!==null&&(A.startTime=M,P=!0)}}np(e,v),S.start(_m(v,S,b,e.shouldReduceMotion&&Px.has(v)?{type:!1}:A,e,P));const C=S.animation;C&&h.push(C)}return c&&Promise.all(h).then(()=>{Ye.update(()=>{c&&aA(e,c)})}),h}function fp(e,t,n={}){var h;const i=Dl(e,t,n.type==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const l=i?()=>Promise.all(sS(e,i,n)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(m=0)=>{const{delayChildren:v=0,staggerChildren:S,staggerDirection:b}=o;return OI(e,t,v+m,S,b,n)}:()=>Promise.resolve(),{when:f}=o;if(f){const[m,v]=f==="beforeChildren"?[l,c]:[c,l];return m().then(()=>v())}else return Promise.all([l(),c(n.delay)])}function OI(e,t,n=0,i=0,o=1,l){const c=[],f=(e.variantChildren.size-1)*i,h=o===1?(m=0)=>m*i:(m=0)=>f-m*i;return Array.from(e.variantChildren).sort(DI).forEach((m,v)=>{m.notify("AnimationStart",t),c.push(fp(m,t,{...l,delay:n+h(v)}).then(()=>m.notify("AnimationComplete",t)))}),Promise.all(c)}function DI(e,t){return e.sortNodePosition(t)}function LI(e,t,n={}){e.notify("AnimationStart",t);let i;if(Array.isArray(t)){const o=t.map(l=>fp(e,l,n));i=Promise.all(o)}else if(typeof t=="string")i=fp(e,t,n);else{const o=typeof t=="function"?Dl(e,t,n.custom):t;i=Promise.all(sS(e,o,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}function oS(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}const MI=lm.length;function aS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?aS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<MI;n++){const i=lm[n],o=e.props[i];(Rl(o)||o===!1)&&(t[i]=o)}return t}const jI=[...am].reverse(),FI=am.length;function VI(e){return t=>Promise.all(t.map(({animation:n,options:i})=>LI(e,n,i)))}function BI(e){let t=VI(e),n=fv(),i=!0;const o=h=>(m,v)=>{var b;const S=Dl(e,v,h==="exit"?(b=e.presenceContext)==null?void 0:b.custom:void 0);if(S){const{transition:A,transitionEnd:P,...C}=S;m={...m,...C,...P}}return m};function l(h){t=h(e)}function c(h){const{props:m}=e,v=aS(e.parent)||{},S=[],b=new Set;let A={},P=1/0;for(let L=0;L<FI;L++){const M=jI[L],U=n[M],$=m[M]!==void 0?m[M]:v[M],q=Rl($),J=M===h?U.isActive:null;J===!1&&(P=L);let ee=$===v[M]&&$!==m[M]&&q;if(ee&&i&&e.manuallyAnimateOnMount&&(ee=!1),U.protectedKeys={...A},!U.isActive&&J===null||!$&&!U.prevProp||Ad($)||typeof $=="boolean")continue;const R=UI(U.prevProp,$);let T=R||M===h&&U.isActive&&!ee&&q||L>P&&q,I=!1;const x=Array.isArray($)?$:[$];let O=x.reduce(o(M),{});J===!1&&(O={});const{prevResolvedValues:j={}}=U,N={...j,...O},Ee=ge=>{T=!0,b.has(ge)&&(I=!0,b.delete(ge)),U.needsAnimating[ge]=!0;const Y=e.getValue(ge);Y&&(Y.liveStyle=!1)};for(const ge in N){const Y=O[ge],pe=j[ge];if(A.hasOwnProperty(ge))continue;let oe=!1;tp(Y)&&tp(pe)?oe=!oS(Y,pe):oe=Y!==pe,oe?Y!=null?Ee(ge):b.add(ge):Y!==void 0&&b.has(ge)?Ee(ge):U.protectedKeys[ge]=!0}U.prevProp=$,U.prevResolvedValues=O,U.isActive&&(A={...A,...O}),i&&e.blockInitialAnimation&&(T=!1),T&&(!(ee&&R)||I)&&S.push(...x.map(ge=>({animation:ge,options:{type:M}})))}if(b.size){const L={};if(typeof m.initial!="boolean"){const M=Dl(e,Array.isArray(m.initial)?m.initial[0]:m.initial);M&&M.transition&&(L.transition=M.transition)}b.forEach(M=>{const U=e.getBaseTarget(M),$=e.getValue(M);$&&($.liveStyle=!0),L[M]=U??null}),S.push({animation:L})}let C=!!S.length;return i&&(m.initial===!1||m.initial===m.animate)&&!e.manuallyAnimateOnMount&&(C=!1),i=!1,C?t(S):Promise.resolve()}function f(h,m){var S;if(n[h].isActive===m)return Promise.resolve();(S=e.variantChildren)==null||S.forEach(b=>{var A;return(A=b.animationState)==null?void 0:A.setActive(h,m)}),n[h].isActive=m;const v=c(h);for(const b in n)n[b].protectedKeys={};return v}return{animateChanges:c,setActive:f,setAnimateFunction:l,getState:()=>n,reset:()=>{n=fv(),i=!0}}}function UI(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!oS(t,e):!1}function ps(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function fv(){return{animate:ps(!0),whileInView:ps(),whileHover:ps(),whileTap:ps(),whileDrag:ps(),whileFocus:ps(),exit:ps()}}class Fi{constructor(t){this.isMounted=!1,this.node=t}update(){}}class $I extends Fi{constructor(t){super(t),t.animationState||(t.animationState=BI(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ad(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let zI=0;class HI extends Fi{constructor(){super(...arguments),this.id=zI++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const WI={animation:{Feature:$I},exit:{Feature:HI}};function Ml(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function ql(e){return{point:{x:e.pageX,y:e.pageY}}}const GI=e=>t=>om(t)&&e(t,ql(t));function gl(e,t,n,i){return Ml(e,t,GI(n),i)}function lS({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function KI({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function YI(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}const uS=1e-4,qI=1-uS,XI=1+uS,cS=.01,JI=0-cS,QI=0+cS;function Ht(e){return e.max-e.min}function ZI(e,t,n){return Math.abs(e-t)<=n}function hv(e,t,n,i=.5){e.origin=i,e.originPoint=rt(t.min,t.max,e.origin),e.scale=Ht(n)/Ht(t),e.translate=rt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=qI&&e.scale<=XI||isNaN(e.scale))&&(e.scale=1),(e.translate>=JI&&e.translate<=QI||isNaN(e.translate))&&(e.translate=0)}function yl(e,t,n,i){hv(e.x,t.x,n.x,i?i.originX:void 0),hv(e.y,t.y,n.y,i?i.originY:void 0)}function pv(e,t,n){e.min=n.min+t.min,e.max=e.min+Ht(t)}function e4(e,t,n){pv(e.x,t.x,n.x),pv(e.y,t.y,n.y)}function mv(e,t,n){e.min=t.min-n.min,e.max=e.min+Ht(t)}function vl(e,t,n){mv(e.x,t.x,n.x),mv(e.y,t.y,n.y)}const gv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Oo=()=>({x:gv(),y:gv()}),yv=()=>({min:0,max:0}),dt=()=>({x:yv(),y:yv()});function Cn(e){return[e("x"),e("y")]}function Ph(e){return e===void 0||e===1}function hp({scale:e,scaleX:t,scaleY:n}){return!Ph(e)||!Ph(t)||!Ph(n)}function gs(e){return hp(e)||dS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function dS(e){return vv(e.x)||vv(e.y)}function vv(e){return e&&e!=="0%"}function Zc(e,t,n){const i=e-n,o=t*i;return n+o}function wv(e,t,n,i,o){return o!==void 0&&(e=Zc(e,o,i)),Zc(e,n,i)+t}function pp(e,t=0,n=1,i,o){e.min=wv(e.min,t,n,i,o),e.max=wv(e.max,t,n,i,o)}function fS(e,{x:t,y:n}){pp(e.x,t.translate,t.scale,t.originPoint),pp(e.y,n.translate,n.scale,n.originPoint)}const xv=.999999999999,Sv=1.0000000000001;function t4(e,t,n,i=!1){const o=n.length;if(!o)return;t.x=t.y=1;let l,c;for(let f=0;f<o;f++){l=n[f],c=l.projectionDelta;const{visualElement:h}=l.options;h&&h.props.style&&h.props.style.display==="contents"||(i&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Lo(e,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,fS(e,c)),i&&gs(l.latestValues)&&Lo(e,l.latestValues))}t.x<Sv&&t.x>xv&&(t.x=1),t.y<Sv&&t.y>xv&&(t.y=1)}function Do(e,t){e.min=e.min+t,e.max=e.max+t}function bv(e,t,n,i,o=.5){const l=rt(e.min,e.max,o);pp(e,t,n,l,i)}function Lo(e,t){bv(e.x,t.x,t.scaleX,t.scale,t.originX),bv(e.y,t.y,t.scaleY,t.scale,t.originY)}function hS(e,t){return lS(YI(e.getBoundingClientRect(),t))}function n4(e,t,n){const i=hS(e,n),{scroll:o}=t;return o&&(Do(i.x,o.offset.x),Do(i.y,o.offset.y)),i}const pS=({current:e})=>e?e.ownerDocument.defaultView:null,kv=(e,t)=>Math.abs(e-t);function r4(e,t){const n=kv(e.x,t.x),i=kv(e.y,t.y);return Math.sqrt(n**2+i**2)}class mS{constructor(t,n,{transformPagePoint:i,contextWindow:o,dragSnapToOrigin:l=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Ih(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,A=r4(S.offset,{x:0,y:0})>=3;if(!b&&!A)return;const{point:P}=S,{timestamp:C}=Rt;this.history.push({...P,timestamp:C});const{onStart:L,onMove:M}=this.handlers;b||(L&&L(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),M&&M(this.lastMoveEvent,S)},this.handlePointerMove=(S,b)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=Ah(b,this.transformPagePoint),Ye.update(this.updatePoint,!0)},this.handlePointerUp=(S,b)=>{this.end();const{onEnd:A,onSessionEnd:P,resumeAnimation:C}=this.handlers;if(this.dragSnapToOrigin&&C&&C(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const L=Ih(S.type==="pointercancel"?this.lastMoveEventInfo:Ah(b,this.transformPagePoint),this.history);this.startEvent&&A&&A(S,L),P&&P(S,L)},!om(t))return;this.dragSnapToOrigin=l,this.handlers=n,this.transformPagePoint=i,this.contextWindow=o||window;const c=ql(t),f=Ah(c,this.transformPagePoint),{point:h}=f,{timestamp:m}=Rt;this.history=[{...h,timestamp:m}];const{onSessionStart:v}=n;v&&v(t,Ih(f,this.history)),this.removeListeners=Yl(gl(this.contextWindow,"pointermove",this.handlePointerMove),gl(this.contextWindow,"pointerup",this.handlePointerUp),gl(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Mi(this.updatePoint)}}function Ah(e,t){return t?{point:t(e.point)}:e}function Ev(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ih({point:e},t){return{point:e,delta:Ev(e,gS(t)),offset:Ev(e,i4(t)),velocity:s4(t,.1)}}function i4(e){return e[0]}function gS(e){return e[e.length-1]}function s4(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=gS(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>hr(t)));)n--;if(!i)return{x:0,y:0};const l=pr(o.timestamp-i.timestamp);if(l===0)return{x:0,y:0};const c={x:(o.x-i.x)/l,y:(o.y-i.y)/l};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function o4(e,{min:t,max:n},i){return t!==void 0&&e<t?e=i?rt(t,e,i.min):Math.max(e,t):n!==void 0&&e>n&&(e=i?rt(n,e,i.max):Math.min(e,n)),e}function Tv(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function a4(e,{top:t,left:n,bottom:i,right:o}){return{x:Tv(e.x,n,o),y:Tv(e.y,t,i)}}function Cv(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}function l4(e,t){return{x:Cv(e.x,t.x),y:Cv(e.y,t.y)}}function u4(e,t){let n=.5;const i=Ht(e),o=Ht(t);return o>i?n=Pl(t.min,t.max-i,e.min):i>o&&(n=Pl(e.min,e.max-o,t.min)),Yr(0,1,n)}function c4(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const mp=.35;function d4(e=mp){return e===!1?e=0:e===!0&&(e=mp),{x:_v(e,"left","right"),y:_v(e,"top","bottom")}}function _v(e,t,n){return{min:Pv(e,t),max:Pv(e,n)}}function Pv(e,t){return typeof e=="number"?e:e[t]||0}const f4=new WeakMap;class h4{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=dt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=v=>{const{dragSnapToOrigin:S}=this.getProps();S?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(ql(v).point)},l=(v,S)=>{const{drag:b,dragPropagation:A,onDragStart:P}=this.getProps();if(b&&!A&&(this.openDragLock&&this.openDragLock(),this.openDragLock=lP(b),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Cn(L=>{let M=this.getAxisMotionValue(L).get()||0;if(gr.test(M)){const{projection:U}=this.visualElement;if(U&&U.layout){const $=U.layout.layoutBox[L];$&&(M=Ht($)*(parseFloat(M)/100))}}this.originPoint[L]=M}),P&&Ye.postRender(()=>P(v,S)),np(this.visualElement,"transform");const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},c=(v,S)=>{const{dragPropagation:b,dragDirectionLock:A,onDirectionLock:P,onDrag:C}=this.getProps();if(!b&&!this.openDragLock)return;const{offset:L}=S;if(A&&this.currentDirection===null){this.currentDirection=p4(L),this.currentDirection!==null&&P&&P(this.currentDirection);return}this.updateAxis("x",S.point,L),this.updateAxis("y",S.point,L),this.visualElement.render(),C&&C(v,S)},f=(v,S)=>this.stop(v,S),h=()=>Cn(v=>{var S;return this.getAnimationState(v)==="paused"&&((S=this.getAxisMotionValue(v).animation)==null?void 0:S.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new mS(t,{onSessionStart:o,onStart:l,onMove:c,onSessionEnd:f,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:pS(this.visualElement)})}stop(t,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&Ye.postRender(()=>l(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,i){const{drag:o}=this.getProps();if(!i||!Tc(t,o,this.currentDirection))return;const l=this.getAxisMotionValue(t);let c=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(c=o4(c,this.constraints[t],this.elastic[t])),l.set(c)}resolveConstraints(){var l;const{dragConstraints:t,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(l=this.visualElement.projection)==null?void 0:l.layout,o=this.constraints;t&&Ro(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=a4(i.layoutBox,t):this.constraints=!1,this.elastic=d4(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Cn(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=c4(i.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ro(t))return!1;const i=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const l=n4(i,o.root,this.visualElement.getTransformPagePoint());let c=l4(o.layout.layoutBox,l);if(n){const f=n(KI(c));this.hasMutatedConstraints=!!f,f&&(c=lS(f))}return c}startAnimation(t){const{drag:n,dragMomentum:i,dragElastic:o,dragTransition:l,dragSnapToOrigin:c,onDragTransitionEnd:f}=this.getProps(),h=this.constraints||{},m=Cn(v=>{if(!Tc(v,n,this.currentDirection))return;let S=h&&h[v]||{};c&&(S={min:0,max:0});const b=o?200:1e6,A=o?40:1e7,P={type:"inertia",velocity:i?t[v]:0,bounceStiffness:b,bounceDamping:A,timeConstant:750,restDelta:1,restSpeed:10,...l,...S};return this.startAxisValueAnimation(v,P)});return Promise.all(m).then(f)}startAxisValueAnimation(t,n){const i=this.getAxisMotionValue(t);return np(this.visualElement,t),i.start(_m(t,i,0,n,this.visualElement,!1))}stopAnimation(){Cn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Cn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),o=i[n];return o||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){Cn(n=>{const{drag:i}=this.getProps();if(!Tc(n,i,this.currentDirection))return;const{projection:o}=this.visualElement,l=this.getAxisMotionValue(n);if(o&&o.layout){const{min:c,max:f}=o.layout.layoutBox[n];l.set(t[n]-rt(c,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!Ro(n)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Cn(c=>{const f=this.getAxisMotionValue(c);if(f&&this.constraints!==!1){const h=f.get();o[c]=u4({min:h,max:h},this.constraints[c])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Cn(c=>{if(!Tc(c,t,null))return;const f=this.getAxisMotionValue(c),{min:h,max:m}=this.constraints[c];f.set(rt(h,m,o[c]))})}addListeners(){if(!this.visualElement.current)return;f4.set(this.visualElement,this);const t=this.visualElement.current,n=gl(t,"pointerdown",h=>{const{drag:m,dragListener:v=!0}=this.getProps();m&&v&&this.start(h)}),i=()=>{const{dragConstraints:h}=this.getProps();Ro(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,l=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Ye.read(i);const c=Ml(window,"resize",()=>this.scalePositionWithinConstraints()),f=o.addEventListener("didUpdate",({delta:h,hasLayoutChanged:m})=>{this.isDragging&&m&&(Cn(v=>{const S=this.getAxisMotionValue(v);S&&(this.originPoint[v]+=h[v].translate,S.set(S.get()+h[v].translate))}),this.visualElement.render())});return()=>{c(),n(),l(),f&&f()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:l=!1,dragElastic:c=mp,dragMomentum:f=!0}=t;return{...t,drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:l,dragElastic:c,dragMomentum:f}}}function Tc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function p4(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class m4 extends Fi{constructor(t){super(t),this.removeGroupControls=Pn,this.removeListeners=Pn,this.controls=new h4
vendor: 1,594 bytes, line 57
57(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Av=e=>(t,n)=>{e&&Ye.postRender(()=>e(t,n))};class g4 extends Fi{constructor(){super(...arguments),this.removePointerDownListener=Pn}onPointerDown(t){this.session=new mS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:pS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:Av(t),onStart:Av(n),onMove:i,onEnd:(l,c)=>{delete this.session,o&&Ye.postRender(()=>o(l,c))}}}mount(){this.removePointerDownListener=gl(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Fc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Iv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const rl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Se.test(e))e=parseFloat(e);else return e;const n=Iv(e,t.target.x),i=Iv(e,t.target.y);return`${n}% ${i}%`}},y4={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=ji.parse(e);if(o.length>5)return i;const l=ji.createTransformer(e),c=typeof o[0]!="number"?1:0,f=n.x.scale*t.x,h=n.y.scale*t.y;o[0+c]/=f,o[1+c]/=h;const m=rt(f,h,.5);return typeof o[2+c]=="number"&&(o[2+c]/=m),typeof o[3+c]=="number"&&(o[3+c]/=m),l(o)}};
vendor: 38,649 bytes, line 57
57class v4 extends F.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i,layoutId:o}=this.props,{projection:l}=t;LP(w4),l&&(n.group&&n.group.add(l),i&&i.register&&o&&i.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",()=>{this.safeToRemove()}),l.setOptions({...l.options,onExitComplete:()=>this.safeToRemove()})),Fc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:i,drag:o,isPresent:l}=this.props,c=i.projection;return c&&(c.isPresent=l,o||t.layoutDependency!==n||n===void 0||t.isPresent!==l?c.willUpdate():this.safeToRemove(),t.isPresent!==l&&(l?c.promote():c.relegate()||Ye.postRender(()=>{const f=c.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),sm.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function yS(e){const[t,n]=J_(),i=F.useContext(ex);return E.jsx(v4,{...e,layoutGroup:i,switchLayoutGroup:F.useContext(mx),isPresent:t,safeToRemove:n})}const w4={borderRadius:{...rl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rl,borderTopRightRadius:rl,borderBottomLeftRadius:rl,borderBottomRightRadius:rl,boxShadow:y4};function x4(e,t,n){const i=Vt(e)?e:Il(e);return i.start(_m("",i,t,n)),i.animation}function S4(e){return e instanceof SVGElement&&e.tagName!=="svg"}const b4=(e,t)=>e.depth-t.depth;class k4{constructor(){this.children=[],this.isDirty=!1}add(t){Jp(this.children,t),this.isDirty=!0}remove(t){Qp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(b4),this.isDirty=!1,this.children.forEach(t)}}function E4(e,t){const n=mr.now(),i=({timestamp:o})=>{const l=o-n;l>=t&&(Mi(i),e(l-t))};return Ye.read(i,!0),()=>Mi(i)}const vS=["TopLeft","TopRight","BottomLeft","BottomRight"],T4=vS.length,Rv=e=>typeof e=="string"?parseFloat(e):e,Nv=e=>typeof e=="number"||Se.test(e);function C4(e,t,n,i,o,l){o?(e.opacity=rt(0,n.opacity??1,_4(i)),e.opacityExit=rt(t.opacity??1,0,P4(i))):l&&(e.opacity=rt(t.opacity??1,n.opacity??1,i));for(let c=0;c<T4;c++){const f=`border${vS[c]}Radius`;let h=Ov(t,f),m=Ov(n,f);if(h===void 0&&m===void 0)continue;h||(h=0),m||(m=0),h===0||m===0||Nv(h)===Nv(m)?(e[f]=Math.max(rt(Rv(h),Rv(m),i),0),(gr.test(m)||gr.test(h))&&(e[f]+="%")):e[f]=m}(t.rotate||n.rotate)&&(e.rotate=rt(t.rotate||0,n.rotate||0,i))}function Ov(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const _4=wS(0,.5,Mx),P4=wS(.5,.95,Pn);function wS(e,t,n){return i=>i<e?0:i>t?1:n(Pl(e,t,i))}function Dv(e,t){e.min=t.min,e.max=t.max}function Tn(e,t){Dv(e.x,t.x),Dv(e.y,t.y)}function Lv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Mv(e,t,n,i,o){return e-=t,e=Zc(e,1/n,i),o!==void 0&&(e=Zc(e,1/o,i)),e}function A4(e,t=0,n=1,i=.5,o,l=e,c=e){if(gr.test(t)&&(t=parseFloat(t),t=rt(c.min,c.max,t/100)-c.min),typeof t!="number")return;let f=rt(l.min,l.max,i);e===l&&(f-=t),e.min=Mv(e.min,t,n,f,o),e.max=Mv(e.max,t,n,f,o)}function jv(e,t,[n,i,o],l,c){A4(e,t[n],t[i],t[o],t.scale,l,c)}const I4=["x","scaleX","originX"],R4=["y","scaleY","originY"];function Fv(e,t,n,i){jv(e.x,t,I4,n?n.x:void 0,i?i.x:void 0),jv(e.y,t,R4,n?n.y:void 0,i?i.y:void 0)}function Vv(e){return e.translate===0&&e.scale===1}function xS(e){return Vv(e.x)&&Vv(e.y)}function Bv(e,t){return e.min===t.min&&e.max===t.max}function N4(e,t){return Bv(e.x,t.x)&&Bv(e.y,t.y)}function Uv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function SS(e,t){return Uv(e.x,t.x)&&Uv(e.y,t.y)}function $v(e){return Ht(e.x)/Ht(e.y)}function zv(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class O4{constructor(){this.members=[]}add(t){Jp(this.members,t),t.scheduleRender()}remove(t){if(Qp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let i;for(let o=n;o>=0;o--){const l=this.members[o];if(l.isPresent!==!1){i=l;break}}return i?(this.promote(i),!0):!1}promote(t,n){const i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:i}=t;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function D4(e,t,n){let i="";const o=e.x.translate/t.x,l=e.y.translate/t.y,c=(n==null?void 0:n.z)||0;if((o||l||c)&&(i=`translate3d(${o}px, ${l}px, ${c}px) `),(t.x!==1||t.y!==1)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:m,rotate:v,rotateX:S,rotateY:b,skewX:A,skewY:P}=n;m&&(i=`perspective(${m}px) ${i}`),v&&(i+=`rotate(${v}deg) `),S&&(i+=`rotateX(${S}deg) `),b&&(i+=`rotateY(${b}deg) `),A&&(i+=`skewX(${A}deg) `),P&&(i+=`skewY(${P}deg) `)}const f=e.x.scale*t.x,h=e.y.scale*t.y;return(f!==1||h!==1)&&(i+=`scale(${f}, ${h})`),i||"none"}const Rh=["","X","Y","Z"],L4={visibility:"hidden"},Hv=1e3;let M4=0;function Nh(e,t,n,i){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),i&&(i[e]=0))}function bS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Ax(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:l}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ye,!(o||l))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&bS(i)}function kS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(c={},f=t==null?void 0:t()){this.id=M4++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(V4),this.nodes.forEach(H4),this.nodes.forEach(W4),this.nodes.forEach(B4)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new k4)}addEventListener(c,f){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new em),this.eventHandlers.get(c).add(f)}notifyListeners(c,...f){const h=this.eventHandlers.get(c);h&&h.notify(...f)}hasListeners(c){return this.eventHandlers.has(c)}mount(c,f=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=S4(c),this.instance=c;const{layoutId:h,layout:m,visualElement:v}=this.options;if(v&&!v.current&&v.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),f&&(m||h)&&(this.isLayoutDirty=!0),e){let S;const b=()=>this.root.updateBlockedByResize=!1;e(c,()=>{this.root.updateBlockedByResize=!0,S&&S(),S=E4(b,250),Fc.hasAnimatedSinceResize&&(Fc.hasAnimatedSinceResize=!1,this.nodes.forEach(Gv))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&v&&(h||m)&&this.addEventListener("didUpdate",({delta:S,hasLayoutChanged:b,hasRelativeLayoutChanged:A,layout:P})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||v.getDefaultTransition()||X4,{onLayoutAnimationStart:L,onLayoutAnimationComplete:M}=v.getProps(),U=!this.targetLayout||!SS(this.targetLayout,P),$=!b&&A;if(this.options.layoutRoot||this.resumeFrom||$||b&&(U||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(S,$);const q={...rm(C,"layout"),onPlay:L,onComplete:M};(v.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q)}else b||Gv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=P})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Mi(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(G4),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&bS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const S=this.path[v];S.shouldResetTransform=!0,S.updateScroll("snapshot"),S.options.layoutRoot&&S.willUpdate(!1)}const{layoutId:f,layout:h}=this.options;if(f===void 0&&!h)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Wv);return}this.isUpdating||this.nodes.forEach($4),this.isUpdating=!1,this.nodes.forEach(z4),this.nodes.forEach(j4),this.nodes.forEach(F4),this.clearAllSnapshots();const f=mr.now();Rt.delta=Yr(0,1e3/60,f-Rt.timestamp),Rt.timestamp=f,Rt.isProcessing=!0,kh.update.process(Rt),kh.preRender.process(Rt),kh.render.process(Rt),Rt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(U4),this.sharedNodes.forEach(K4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ye.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ye.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ht(this.snapshot.measuredBox.x)&&!Ht(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h<this.path.length;h++)this.path[h].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutCorrected=dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(f=!1),f){const h=i(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:h,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!o)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!xS(this.projectionDelta),h=this.getTransformTemplate(),m=h?h(this.latestValues,""):void 0,v=m!==this.prevTransformTemplateValue;c&&(f||gs(this.latestValues)||v)&&(o(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const f=this.measurePageBox();let h=this.removeElementScroll(f);return c&&(h=this.removeTransform(h)),J4(h),{animationId:this.root.animationId,measuredBox:f,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var m;const{visualElement:c}=this.options;if(!c)return dt();const f=c.measureViewportBox();if(!(((m=this.scroll)==null?void 0:m.wasRoot)||this.path.some(Q4))){const{scroll:v}=this.root;v&&(Do(f.x,v.offset.x),Do(f.y,v.offset.y))}return f}removeElementScroll(c){var h;const f=dt();if(Tn(f,c),(h=this.scroll)!=null&&h.wasRoot)return f;for(let m=0;m<this.path.length;m++){const v=this.path[m],{scroll:S,options:b}=v;v!==this.root&&S&&b.layoutScroll&&(S.wasRoot&&Tn(f,c),Do(f.x,S.offset.x),Do(f.y,S.offset.y))}return f}applyTransform(c,f=!1){const h=dt();Tn(h,c);for(let m=0;m<this.path.length;m++){const v=this.path[m];!f&&v.options.layoutScroll&&v.scroll&&v!==v.root&&Lo(h,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),gs(v.latestValues)&&Lo(h,v.latestValues)}return gs(this.latestValues)&&Lo(h,this.latestValues),h}removeTransform(c){const f=dt();Tn(f,c);for(let h=0;h<this.path.length;h++){const m=this.path[h];if(!m.instance||!gs(m.latestValues))continue;hp(m.latestValues)&&m.updateSnapshot();const v=dt(),S=m.measurePageBox();Tn(v,S),Fv(f,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,v)}return gs(this.latestValues)&&Fv(f,this.latestValues),f}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Rt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var b;const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==f;if(!(c||h&&this.isSharedProjectionDirty||this.isProjectionDirty||(b=this.parent)!=null&&b.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:S}=this.options;if(!(!this.layout||!(v||S))){if(this.resolvedRelativeTargetAt=Rt.timestamp,!this.targetDelta&&!this.relativeTarget){const A=this.getClosestProjectingParent();A&&A.layout&&this.animationProgress!==1?(this.relativeParent=A,this.forceRelativeParentToResolveTarget(),this.relativeTarget=dt(),this.relativeTargetOrigin=dt(),vl(this.relativeTargetOrigin,this.layout.layoutBox,A.layout.layoutBox),Tn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=dt(),this.targetWithTransforms=dt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),e4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Tn(this.target,this.layout.layoutBox),fS(this.target,this.targetDelta)):Tn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const A=this.getClosestProjectingParent();A&&!!A.resumingFrom==!!this.resumingFrom&&!A.options.layoutScroll&&A.target&&this.animationProgress!==1?(this.relativeParent=A,this.forceRelativeParentToResolveTarget(),this.relativeTarget=dt(),this.relativeTargetOrigin=dt(),vl(this.relativeTargetOrigin,this.target,A.target),Tn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||hp(this.parent.latestValues)||dS(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var P;const c=this.getLead(),f=!!this.resumingFrom||this!==c;let h=!0;if((this.isProjectionDirty||(P=this.parent)!=null&&P.isProjectionDirty)&&(h=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===Rt.timestamp&&(h=!1),h)return;const{layout:m,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||v))return;Tn(this.layoutCorrected,this.layout.layoutBox);const S=this.treeScale.x,b=this.treeScale.y;t4(this.layoutCorrected,this.treeScale,this.path,f),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=dt());const{target:A}=c;if(!A){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Lv(this.prevProjectionDelta.x,this.projectionDelta.x),Lv(this.prevProjectionDelta.y,this.projectionDelta.y)),yl(this.projectionDelta,this.layoutCorrected,A,this.latestValues),(this.treeScale.x!==S||this.treeScale.y!==b||!zv(this.projectionDelta.x,this.prevProjectionDelta.x)||!zv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",A))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var f;if((f=this.options.visualElement)==null||f.scheduleRender(),c){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Oo(),this.projectionDelta=Oo(),this.projectionDeltaWithTransform=Oo()}setAnimationOrigin(c,f=!1){const h=this.snapshot,m=h?h.latestValues:{},v={...this.latestValues},S=Oo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const b=dt(),A=h?h.source:void 0,P=this.layout?this.layout.source:void 0,C=A!==P,L=this.getStack(),M=!L||L.members.length<=1,U=!!(C&&!M&&this.options.crossfade===!0&&!this.path.some(q4));this.animationProgress=0;let $;this.mixTargetDelta=q=>{const J=q/1e3;Kv(S.x,c.x,J),Kv(S.y,c.y,J),this.setTargetDelta(S),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vl(b,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Y4(this.relativeTarget,this.relativeTargetOrigin,b,J),$&&N4(this.relativeTarget,$)&&(this.isProjectionDirty=!1),$||($=dt()),Tn($,this.relativeTarget)),C&&(this.animationValues=v,C4(v,m,this.latestValues,J,U,M)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=J},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Mi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ye.update(()=>{Fc.hasAnimatedSinceResize=!0,this.currentAnimation=x4(0,Hv,{...c,onUpdate:f=>{this.mixTargetDelta(f),c.onUpdate&&c.onUpdate(f)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Hv),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:f,target:h,layout:m,latestValues:v}=c;if(!(!f||!h||!m)){if(this!==c&&this.layout&&m&&ES(this.options.animationType,this.layout.layoutBox,m.layoutBox)){h=this.target||dt();const S=Ht(this.layout.layoutBox.x);h.x.min=c.target.x.min,h.x.max=h.x.min+S;const b=Ht(this.layout.layoutBox.y);h.y.min=c.target.y.min,h.y.max=h.y.min+b}Tn(f,h),Lo(f,v),yl(this.projectionDeltaWithTransform,this.layoutCorrected,f,v)}}registerSharedNode(c,f){this.sharedNodes.has(c)||this.sharedNodes.set(c,new O4),this.sharedNodes.get(c).add(f);const m=f.options.initialPromotionConfig;f.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(f):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var f;const{layoutId:c}=this.options;return c?((f=this.getStack())==null?void 0:f.lead)||this:this}getPrevLead(){var f;const{layoutId:c}=this.options;return c?(f=this.getStack())==null?void 0:f.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:f,preserveFollowOpacity:h}={}){const m=this.getStack();m&&m.promote(this,h),c&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let f=!1;const{latestValues:h}=c;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(f=!0),!f)return;const m={};h.z&&Nh("z",c,m,this.animationValues);for(let v=0;v<Rh.length;v++)Nh(`rotate${Rh[v]}`,c,m,this.animationValues),Nh(`skew${Rh[v]}`,c,m,this.animationValues);c.render();for(const v in m)c.setStaticValue(v,m[v]),this.animationValues&&(this.animationValues[v]=m[v]);c.scheduleRender()}getProjectionStyles(c){if(!this.instance||this.isSVG)return;if(!this.isVisible)return L4;const f={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,f.opacity="",f.pointerEvents=jc(c==null?void 0:c.pointerEvents)||"",f.transform=h?h(this.latestValues,""):"none",f;const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){const A={};return this.options.layoutId&&(A.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,A.pointerEvents=jc(c==null?void 0:c.pointerEvents)||""),this.hasProjected&&!gs(this.latestValues)&&(A.transform=h?h({},""):"none",this.hasProjected=!1),A}const v=m.animationValues||m.latestValues;this.applyTransformsToTarget(),f.transform=D4(this.projectionDeltaWithTransform,this.treeScale,v),h&&(f.transform=h(v,f.transform));const{x:S,y:b}=this.projectionDelta;f.transformOrigin=`${S.origin*100}% ${b.origin*100}% 0`,m.animationValues?f.opacity=m===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=m===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const A in Nl){if(v[A]===void 0)continue;const{correct:P,applyTo:C,isCSSVariable:L}=Nl[A],M=f.transform==="none"?v[A]:P(v[A],m);if(C){const U=C.length;for(let $=0;$<U;$++)f[C[$]]=M}else L?this.options.visualElement.renderState.vars[A]=M:f[A]=M}return this.options.layoutId&&(f.pointerEvents=m===this?jc(c==null?void 0:c.pointerEvents)||"":"none"),f}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var f;return(f=c.currentAnimation)==null?void 0:f.stop()}),this.root.nodes.forEach(Wv),this.root.sharedNodes.clear()}}}function j4(e){e.updateLayout()}function F4(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=e.layout,{animationType:l}=e.options,c=t.source!==e.layout.source;l==="size"?Cn(S=>{const b=c?t.measuredBox[S]:t.layoutBox[S],A=Ht(b);b.min=i[S].min,b.max=b.min+A}):ES(l,t.layoutBox,i)&&Cn(S=>{const b=c?t.measuredBox[S]:t.layoutBox[S],A=Ht(i[S]);b.max=b.min+A,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[S].max=e.relativeTarget[S].min+A)});const f=Oo();yl(f,i,t.layoutBox);const h=Oo();c?yl(h,e.applyTransform(o,!0),t.measuredBox):yl(h,i,t.layoutBox);const m=!xS(f);let v=!1;if(!e.resumeFrom){const S=e.getClosestProjectingParent();if(S&&!S.resumeFrom){const{snapshot:b,layout:A}=S;if(b&&A){const P=dt();vl(P,t.layoutBox,b.layoutBox);const C=dt();vl(C,i,A.layoutBox),SS(P,C)||(v=!0),S.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=P,e.relativeParent=S)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:h,layoutDelta:f,hasLayoutChanged:m,hasRelativeLayoutChanged:v})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function V4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function B4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function U4(e){e.clearSnapshot()}function Wv(e){e.clearMeasurements()}function $4(e){e.isLayoutDirty=!1}function z4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Gv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function H4(e){e.resolveTargetDelta()}function W4(e){e.calcProjection()}function G4(e){e.resetSkewAndRotation()}function K4(e){e.removeLeadSnapshot()}function Kv(e,t,n){e.translate=rt(t.translate,0,n),e.scale=rt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Yv(e,t,n,i){e.min=rt(t.min,n.min,i),e.max=rt(t.max,n.max,i)}function Y4(e,t,n,i){Yv(e.x,t.x,n.x,i),Yv(e.y,t.y,n.y,i)}function q4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const X4={duration:.45,ease:[.4,0,.1,1]},qv=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Xv=qv("applewebkit/")&&!qv("chrome/")?Math.round:Pn;function Jv(e){e.min=Xv(e.min),e.max=Xv(e.max)}function J4(e){Jv(e.x),Jv(e.y)}function ES(e,t,n){return e==="position"||e==="preserve-aspect"&&!ZI($v(t),$v(n),.2)}function Q4(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const Z4=kS({attachResizeListener:(e,t)=>Ml(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Oh={current:void 0},TS=kS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Oh.current){const e=new Z4({});e.mount(window),e.setOptions({layoutScroll:!0}),Oh.current=e}return Oh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),eR={pan:{Feature:g4},drag:{Feature:m4,ProjectionNode:TS,MeasureLayout:yS}};function Qv(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,l=i[o];l&&Ye.postRender(()=>l(t,ql(t)))}class tR extends Fi{mount(){const{current:t}=this.node;t&&(this.unmount=cP(t,(n,i)=>(Qv(this.node,i,"Start"),o=>Qv(this.node,o,"End"))))}unmount(){}}class nR extends Fi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Yl(Ml(this.node.current,"focus",()=>this.onFocus()),Ml(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Zv(e,t,n){const{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),l=i[o];l&&Ye.postRender(()=>l(t,ql(t)))}class rR extends Fi{mount(){const{current:t}=this.node;t&&(this.unmount=pP(t,(n,i)=>(Zv(this.node,i,"Start"),(o,{success:l})=>Zv(this.node,o,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const gp=new WeakMap,Dh=new WeakMap,iR=e=>{const t=gp.get(e.target);t&&t(e)},sR=e=>{e.forEach(iR)};function oR({root:e,...t}){const n=e||document;Dh.has(n)||Dh.set(n,{});const i=Dh.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(sR,{root:e,...t})),i[o]}function aR(e,t,n){const i=oR(t);return gp.set(e,n),i.observe(e),()=>{gp.delete(e),i.unobserve(e)}}const lR={some:0,all:1};class uR extends Fi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:l}=t,c={root:n?n.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:lR[o]},f=h=>{const{isIntersecting:m}=h;if(this.isInView===m||(this.isInView=m,l&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:v,onViewportLeave:S}=this.node.getProps(),b=m?v:S;b&&b(h)};return aR(this.node.current,c,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(cR(t,n))&&this.startObserver()}unmount(){}}function cR({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const dR={inView:{Feature:uR},tap:{Feature:rR},focus:{Feature:nR},hover:{Feature:tR}},fR={layout:{ProjectionNode:TS,MeasureLayout:yS}},yp={current:null},CS={current:!1};function hR(){if(CS.current=!0,!!qp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>yp.current=e.matches;e.addListener(t),t()}else yp.current=!1}const pR=[...Jx,Ft,ji],mR=e=>pR.find(Xx(e)),gR=new WeakMap;function yR(e,t,n){for(const i in t){const o=t[i],l=n[i];if(Vt(o))e.addValue(i,o);else if(Vt(l))e.addValue(i,Il(o,{owner:e}));else if(l!==o)if(e.hasValue(i)){const c=e.getValue(i);c.liveStyle===!0?c.jump(o):c.hasAnimated||c.set(o)}else{const c=e.getStaticValue(i);e.addValue(i,Il(c!==void 0?c:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const e1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class vR{scrapeMotionValuesFromProps(t,n,i){return{}}constructor({parent:t,props:n,presenceContext:i,reducedMotionConfig:o,blockInitialAnimation:l,visualState:c},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Em,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const A=mr.now();this.renderScheduledAt<A&&(this.renderScheduledAt=A,Ye.render(this.render,!1,!0))};const{latestValues:h,renderState:m,onUpdate:v}=c;this.onUpdate=v,this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=m,this.parent=t,this.props=n,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=f,this.blockInitialAnimation=!!l,this.isControllingVariants=Id(n),this.isVariantNode=hx(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:S,...b}=this.scrapeMotionValuesFromProps(n,{},this);for(const A in b){const P=b[A];h[A]!==void 0&&Vt(P)&&P.set(h[A],!1)}}mount(t){this.current=t,gR.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),CS.current||hR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:yp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Mi(this.notifyUpdate),Mi(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const i=Ns.has(t);i&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",f=>{this.latestValues[t]=f,this.props.onUpdate&&Ye.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),l=n.on("renderRequest",this.scheduleRender);let c;window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),l(),c&&c(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in $o){const n=$o[t];if(!n)continue;const{isEnabled:i,Feature:o}=n;if(!this.features[t]&&o&&i(this.props)&&(this.features[t]=new o(this)),this.features[t]){const l=this.features[t];l.isMounted?l.update():(l.mount(),l.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):dt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<e1.length;i++){const o=e1[i];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const l="on"+o,c=t[l];c&&(this.propEventSubscriptions[o]=this.on(o,c))}this.prevMotionValues=yR(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const i=this.values.get(t);n!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&n!==void 0&&(i=Il(n===null?void 0:n,{owner:this}),this.addValue(t,i)),i}readValue(t,n){let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(Yx(i)||Fx(i))?i=parseFloat(i):!mR(i)&&ji.test(n)&&(i=Wx(t,n)),this.setBaseTarget(t,Vt(i)?i.get():i)),Vt(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var l;const{initial:n}=this.props;let i;if(typeof n=="string"||typeof n=="object"){const c=vm(this.props,n,(l=this.presenceContext)==null?void 0:l.custom);c&&(i=c[t])}if(n&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Vt(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new em),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class _S extends vR{constructor(){super(...arguments),this.KeyframeResolver=Qx}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:i}){delete n[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Vt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function wR(e){return window.getComputedStyle(e)}class xR extends _S{constructor(){super(...arguments),this.type="html",this.renderInstance=Ex}readValueFromInstance(t,n){if(Ns.has(n))return NA(t,n);{const i=wR(t),o=(cm(n)?i.getPropertyValue(n):i[n])||0;
57return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return hS(t,n)}build(t,n,i){hm(t,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,i){return wm(t,n,i)}}class SR extends _S{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=dt,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&kx(this.current,this.renderState)}}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ns.has(n)){const i=Hx(n);return i&&i.default||0}return n=Tx.has(n)?n:um(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,i){return _x(t,n,i)}onBindTransform(){this.current&&!this.renderState.dimensions&&Ye.postRender(this.updateDimensions)}build(t,n,i){gm(t,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,i,o){Cx(t,n,i,o)}mount(t){this.isSVGTag=ym(t.tagName),super.mount(t)}}const bR=(e,t)=>mm(e)?new SR(t):new xR(t,{allowProjection:e!==F.Fragment}),kR=sA({...WI,...dR,...eR,...fR},bR),Ss=SP(kR),ER=["1 hour of audio â clean transcript in ~1 minute, 98% accuracy","Auto-generated summary and speaker identification, no cleanup needed","Audio from files, links, or live browser recordings â one tool","Files up to 1GB, 50+ languages, 50+ audio/video formats","Export anywhere: download, share by link, or send by email"],TR={initial:{rotateY:90,opacity:0},enter:{rotateY:0,opacity:1,transition:{duration:.5,ease:"easeOut"}},exit:{rotateY:-90,opacity:0,transition:{duration:.5,ease:"easeIn"}}},CR=()=>{const[e,t]=F.useState(0),n=["/upload-tab.png","/record-tab.png"];return F.useEffect(()=>{const i=setInterval(()=>{t(o=>(o+1)%n.length)},3e3);return()=>clearInterval(i)},[]),E.jsx(Pi,{component:"section",id:"features",className:"py-16 md:py-24 lg:py-32 bg-gray-50 border-t border-gray-200/60",children:E.jsx(Pi,{className:"px-4 md:px-8 lg:px-12 max-w-6xl xl:max-w-7xl mx-auto",children:E.jsx(Ss.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6},children:E.jsxs(Pi,{display:"grid",gridTemplateColumns:{xs:"1fr",md:"3fr 2fr"},gap:{xs:4,md:8,lg:12},alignItems:"center",children:[E.jsxs(Pi,{className:"bg-white p-6 md:p-8 lg:p-10 rounded-xl border border-gray-200/70",display:"flex",flexDirection:"column",justifyContent:"center",children:[E.jsxs("div",{className:"mb-5 md:mb-7 lg:mb-8",children:[E.jsx("div",{className:"text-[0.6875rem] md:text-xs font-semibold tracking-[0.3em] uppercase text-blue-600 mb-2 md:mb-3",children:"The solution"}),E.jsxs("h2",{className:"font-[Outfit] text-2xl md:text-3xl lg:text-4xl font-semibold leading-[1.15] tracking-tight text-gray-900",children:["From hours of audio",E.jsx("br",{}),"to ",E.jsx("span",{className:"bg-gradient-to-r from-blue-600 to-cyan-500 bg-clip-text text-transparent",children:"usable text"})," â in minutes."]})]}),E.jsx("ul",{className:"flex flex-col divide-y divide-gray-100",children:ER.map((i,o)=>E.jsxs("li",{className:"flex items-start gap-4 md:gap-5 py-3 md:py-4",children:[E.jsx("span",{className:"font-mono text-[0.6875rem] md:text-xs text-gray-400 pt-[2px] md:pt-[3px] tabular-nums tracking-wider flex-shrink-0",children:String(o+1).padStart(2,"0")}),E.jsx("span",{className:"text-sm md:text-base text-gray-700 leading-relaxed",children:i})]},o))})]}),E.jsx(Pi,{display:"flex",justifyContent:"center",alignItems:"center",sx:{perspective:"1000px",height:"100%",mt:{xs:4,md:0}},children:E.jsx(Ss.img,{src:n[e],variants:TR,initial:"initial",animate:"enter",exit:"exit",className:"w-full max-w-[300px] md:max-w-[400px] lg:max-w-[500px] rounded-xl border border-gray-200/70 shadow-[0_24px_60px_-20px_rgba(59,130,246,0.25)]"},e)})]})})})})},Pm="-",_R=e=>{const t=AR(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:c=>{const f=c.split(Pm);return f[0]===""&&f.length!==1&&f.shift(),PS(f,t)||PR(c)},getConflictingClassGroupIds:(c,f)=>{const h=n[c]||[];return f&&i[c]?[...h,...i[c]]:h}}},PS=(e,t)=>{var c;if(e.length===0)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),o=i?PS(e.slice(1),i):void 0;if(o)return o;if(t.validators.length===0)return;const l=e.join(Pm);return(c=t.validators.find(({validator:f})=>f(l)))==null?void 0:c.classGroupId},t1=/^\[(.+)\]$/,PR=e=>
vendor: 6,904 bytes, line 57
57{if(t1.test(e)){const t=t1.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},AR=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const o in n)vp(n[o],i,o,t);return i},vp=(e,t,n,i)=>{e.forEach(o=>{if(typeof o=="string"){const l=o===""?t:n1(t,o);l.classGroupId=n;return}if(typeof o=="function"){if(IR(o)){vp(o(i),t,n,i);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([l,c])=>{vp(c,n1(t,l),n,i)})})},n1=(e,t)=>{let n=e;return t.split(Pm).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n},IR=e=>e.isThemeGetter,RR=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const o=(l,c)=>{n.set(l,c),t++,t>e&&(t=0,i=n,n=new Map)};return{get(l){let c=n.get(l);if(c!==void 0)return c;if((c=i.get(l))!==void 0)return o(l,c),c},set(l,c){n.has(l)?n.set(l,c):o(l,c)}}},wp="!",xp=":",NR=xp.length,OR=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=o=>{const l=[];let c=0,f=0,h=0,m;for(let P=0;P<o.length;P++){let C=o[P];if(c===0&&f===0){if(C===xp){l.push(o.slice(h,P)),h=P+NR;continue}if(C==="/"){m=P;continue}}C==="["?c++:C==="]"?c--:C==="("?f++:C===")"&&f--}const v=l.length===0?o:o.substring(h),S=DR(v),b=S!==v,A=m&&m>h?m-h:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:A}};if(t){const o=t+xp,l=i;i=c=>c.startsWith(o)?l(c.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(n){const o=i;i=l=>n({className:l,parseClassName:o})}return i},DR=e=>e.endsWith(wp)?e.substring(0,e.length-1):e.startsWith(wp)?e.substring(1):e,LR=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const o=[];let l=[];return i.forEach(c=>{c[0]==="["||t[c]?(o.push(...l.sort(),c),l=[]):l.push(c)}),o.push(...l.sort()),o}},MR=e=>({cache:RR(e.cacheSize),parseClassName:OR(e),sortModifiers:LR(e),..._R(e)}),jR=/\s+/,FR=(e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:l}=t,c=[],f=e.trim().split(jR);let h="";for(let m=f.length-1;m>=0;m-=1){const v=f[m],{isExternal:S,modifiers:b,hasImportantModifier:A,baseClassName:P,maybePostfixModifierPosition:C}=n(v);if(S){h=v+(h.length>0?" "+h:h);continue}let L=!!C,M=i(L?P.substring(0,C):P);if(!M){if(!L){h=v+(h.length>0?" "+h:h);continue}if(M=i(P),!M){h=v+(h.length>0?" "+h:h);continue}L=!1}const U=l(b).join(":"),$=A?U+wp:U,q=$+M;if(c.includes(q))continue;c.push(q);const J=o(M,L);for(let ee=0;ee<J.length;++ee){const R=J[ee];c.push($+R)}h=v+(h.length>0?" "+h:h)}return h};function VR(){let e=0,t,n,i="";for(;e<arguments.length;)(t=arguments[e++])&&(n=AS(t))&&(i&&(i+=" "),i+=n);return i}const AS=e=>{if(typeof e=="string")return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=AS(e[i]))&&(n&&(n+=" "),n+=t);return n};function BR(e,...t){let n,i,o,l=c;function c(h){const m=t.reduce((v,S)=>S(v),e());return n=MR(m),i=n.cache.get,o=n.cache.set,l=f,f(h)}function f(h){const m=i(h);if(m)return m;const v=FR(h,n);return o(h,v),v}return function(){return l(VR.apply(null,arguments))}}const xt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},IS=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,RS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,UR=/^\d+\/\d+$/,$R=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,HR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,WR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,GR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ao=e=>UR.test(e),Ce=e=>!!e&&!Number.isNaN(Number(e)),Ti=e=>!!e&&Number.isInteger(Number(e)),Lh=e=>e.endsWith("%")&&Ce(e.slice(0,-1)),Br=e=>$R.test(e),KR=()=>!0,YR=e=>zR.test(e)&&!HR.test(e),NS=()=>!1,qR=e=>WR.test(e),XR=e=>GR.test(e),JR=e=>!de(e)&&!fe(e),QR=e=>Jo(e,LS,NS),de=e=>IS.test(e),ms=e=>Jo(e,MS,YR),Mh=e=>Jo(e,r5,Ce),r1=e=>Jo(e,OS,NS),ZR=e=>Jo(e,DS,XR),Cc=e=>Jo(e,jS,qR),fe=e=>RS.test(e),il=e=>Qo(e,MS),e5=e=>Qo(e,i5),i1=e=>Qo(e,OS),t5=e=>Qo(e,LS),n5=e=>Qo(e,DS),_c=e=>Qo(e,jS,!0),Jo=(e,t,n)=>{const i=IS.exec(e);return i?i[1]?t(i[1]):n(i[2]):!1},Qo=(e,t,n=!1)=>{const i=RS.exec(e);return i?i[1]?t(i[1]):n:!1},OS=e=>e==="position"||e==="percentage",DS=e=>e==="image"||e==="url",LS=e=>e==="length"||e==="size"||e==="bg-size",MS=e=>e==="length",r5=e=>e==="number",i5=e=>e==="family-name",jS=e=>e==="shadow",s5=()=>{const e=xt("color"),t=xt("font"),n=xt("text"),i=xt("font-weight"),o=xt("tracking"),l=xt("leading"),c=xt("breakpoint"),f=xt("container"),h=xt("spacing"),m=xt("radius"),v=xt("shadow"),S=xt("inset-shadow"),b=xt("text-shadow"),A=xt("drop-shadow"),P=xt("blur"),C=xt("perspective"),L=xt("aspect"),M=xt("ease"),U=xt("animate"),$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],J=()=>[...q(),fe,de],ee=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],T=()=>[fe,de,h],I=()=>[Ao,"full","auto",...T()],x=()=>[Ti,"none","subgrid",fe,de],O=()=>["auto",{span:["full",Ti,fe,de]},Ti,fe,de],j=()=>[Ti,"auto",fe,de],N=()=>["auto","min","max","fr",fe,de],Ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ae=()=>["start","end","center","stretch","center-safe","end-safe"],De=()=>["auto",...T()],ge=()=>[Ao,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],Y=()=>[e,fe,de],pe=()=>[...q(),i1,r1,{position:[fe,de]}],oe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",t5,QR,{size:[fe,de]}],Z=()=>[Lh,il,ms],ae=()=>["","none","full",m,fe,de],ye=()=>["",Ce,il,ms],Te=()=>["solid","dashed","dotted","double"],Pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xe=()=>[Ce,Lh,i1,r1],Re=()=>["","none",P,fe,de],je=()=>["none",Ce,fe,de],Ze=()=>["none",Ce,fe,de],on=()=>[Ce,fe,de],Rn=()=>[Ao,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Br],breakpoint:[Br],color:[KR],container:[Br],"drop-shadow":[Br],ease:["in","out","in-out"],font:[JR],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Br],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Br],shadow:[Br],spacing:["px",Ce],text:[Br],"text-shadow":[Br],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ao,de,fe,L]}
vendor: 12,889 bytes, line 57
57],container:["container"],columns:[{columns:[Ce,de,fe,f]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:J()}],overflow:[{overflow:ee()}],"overflow-x":[{"overflow-x":ee()}],"overflow-y":[{"overflow-y":ee()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Ti,"auto",fe,de]}],basis:[{basis:[Ao,"full","auto",f,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ce,Ao,"auto","initial","none",de]}],grow:[{grow:["",Ce,fe,de]}],shrink:[{shrink:["",Ce,fe,de]}],order:[{order:[Ti,"first","last","none",fe,de]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...Ee(),"normal"]}],"justify-items":[{"justify-items":[...Ae(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ae()]}],"align-content":[{content:["normal",...Ee()]}],"align-items":[{items:[...Ae(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ae(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ee()}],"place-items":[{"place-items":[...Ae(),"baseline"]}],"place-self":[{"place-self":["auto",...Ae()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:De()}],mx:[{mx:De()}],my:[{my:De()}],ms:[{ms:De()}],me:[{me:De()}],mt:[{mt:De()}],mr:[{mr:De()}],mb:[{mb:De()}],ml:[{ml:De()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:ge()}],w:[{w:[f,"screen",...ge()]}],"min-w":[{"min-w":[f,"screen","none",...ge()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[c]},...ge()]}],h:[{h:["screen",...ge()]}],"min-h":[{"min-h":["screen","none",...ge()]}],"max-h":[{"max-h":["screen",...ge()]}],"font-size":[{text:["base",n,il,ms]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,fe,Mh]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Lh,de]}],"font-family":[{font:[e5,de,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,fe,de]}],"line-clamp":[{"line-clamp":[Ce,"none",fe,Mh]}],leading:[{leading:[l,...T()]}],"list-image":[{"list-image":["none",fe,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",fe,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Te(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ce,"from-font","auto",fe,ms]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[Ce,"auto",fe,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",fe,de]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",fe,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:pe()}],"bg-repeat":[{bg:oe()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ti,fe,de],radial:["",fe,de],conic:[Ti,fe,de]},n5,ZR]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:ae()}],"rounded-s":[{"rounded-s":ae()}],"rounded-e":[{"rounded-e":ae()}],"rounded-t":[{"rounded-t":ae()}],"rounded-r":[{"rounded-r":ae()}],"rounded-b":[{"rounded-b":ae()}],"rounded-l":[{"rounded-l":ae()}],"rounded-ss":[{"rounded-ss":ae()}],"rounded-se":[{"rounded-se":ae()}],"rounded-ee":[{"rounded-ee":ae()}],"rounded-es":[{"rounded-es":ae()}],"rounded-tl":[{"rounded-tl":ae()}],"rounded-tr":[{"rounded-tr":ae()}],"rounded-br":[{"rounded-br":ae()}],"rounded-bl":[{"rounded-bl":ae()}],"border-w":[{border:ye()}],"border-w-x":[{"border-x":ye()}],"border-w-y":[{"border-y":ye()}],"border-w-s":[{"border-s":ye()}],"border-w-e":[{"border-e":ye()}],"border-w-t":[{"border-t":ye()}],"border-w-r":[{"border-r":ye()}],"border-w-b":[{"border-b":ye()}],"border-w-l":[{"border-l":ye()}],"divide-x":[{"divide-x":ye()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ye()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Te(),"hidden","none"]}],"divide-style":[{divide:[...Te(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...Te(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ce,fe,de]}],"outline-w":[{outline:["",Ce,il,ms]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",v,_c,Cc]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",S,_c,Cc]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:ye()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[Ce,ms]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":ye()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",b,_c,Cc]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[Ce,fe,de]}],"mix-blend":[{"mix-blend":[...Pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ce]}],"mask-image-linear-from-pos":[{"mask-linear-from":xe()}],"mask-image-linear-to-pos":[{"mask-linear-to":xe()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":xe()}],"mask-image-t-to-pos":[{"mask-t-to":xe()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":xe()}],"mask-image-r-to-pos":[{"mask-r-to":xe()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":xe()}],"mask-image-b-to-pos":[{"mask-b-to":xe()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":xe()}],"mask-image-l-to-pos":[{"mask-l-to":xe()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":xe()}],"mask-image-x-to-pos":[{"mask-x-to":xe()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":xe()}],"mask-image-y-to-pos":[{"mask-y-to":xe()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[fe,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":xe()}],"mask-image-radial-to-pos":[{"mask-radial-to":xe()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":q()}],"mask-image-conic-pos":[{"mask-conic":[Ce]}],"mask-image-conic-from-pos":[{"mask-conic-from":xe()}],"mask-image-conic-to-pos":[{"mask-conic-to":xe()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:pe()}],"mask-repeat":[{mask:oe()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",fe,de]}],filter:[{filter:["","none",fe,de]}],blur:[{blur:Re()}],brightness:[{brightness:[Ce,fe,de]}],contrast:[{contrast:[Ce,fe,de]}],"drop-shadow":[{"drop-shadow":["","none",A,_c,Cc]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",Ce,fe,de]}],"hue-rotate":[{"hue-rotate":[Ce,fe,de]}],invert:[{invert:["",Ce,fe,de]}],saturate:[{saturate:[Ce,fe,de]}],sepia:[{sepia:["",Ce,fe,de]}],"backdrop-filter":[{"backdrop-filter":["","none",fe,de]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[Ce,fe,de]}],"backdrop-contrast":[{"backdrop-contrast":[Ce,fe,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ce,fe,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ce,fe,de]}],"backdrop-invert":[{"backdrop-invert":["",Ce,fe,de]}],"backdrop-opacity":[{"backdrop-opacity":[Ce,fe,de]}],"backdrop-saturate":[{"backdrop-saturate":[Ce,fe,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Ce,fe,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",fe,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ce,"initial",fe,de]}],ease:[{ease:["linear","initial",M,fe,de]}],delay:[{delay:[Ce,fe,de]}],animate:[{animate:["none",U,fe,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,fe,de]}],"perspective-origin":[{"perspective-origin":J()}],rotate:[{rotate:je()}],"rotate-x":[{"rotate-x":je()}],"rotate-y":[{"rotate-y":je()}],"rotate-z":[{"rotate-z":je()}],scale:[{scale:Ze()}],"scale-x":[{"scale-x":Ze()}],"scale-y":[{"scale-y":Ze()}],"scale-z":[{"scale-z":Ze()}],"scale-3d":["scale-3d"],skew:[{skew:on()}],"skew-x":[{"skew-x":on()}],"skew-y":[{"skew-y":on()}],transform:[{transform:[fe,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:J()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Rn()}],"translate-x":[{"translate-x":Rn()}],"translate-y":[{"translate-y":Rn()}],"translate-z":[{"translate-z":Rn()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}
vendor: 5,071 bytes, line 57
57],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",fe,de]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",fe,de]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[Ce,il,ms,Mh]}],stroke:[{stroke:["none",...Y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},o5=BR(s5);function cl(...e){return o5(Cd(e))}const FS=Hr.forwardRef(({shimmerColor:e="#ffffff",shimmerSize:t="0.05em",shimmerDuration:n="3s",borderRadius:i="100px",background:o="rgba(0, 0, 0, 1)",className:l,children:c,...f},h)=>E.jsxs("button",{style:{"--spread":"90deg","--shimmer-color":e,"--radius":i,"--speed":n,"--cut":t,"--bg":o},className:cl("group relative z-0 flex cursor-pointer items-center justify-center overflow-hidden whitespace-nowrap border border-white/10 px-6 py-3 text-white [background:var(--bg)] [border-radius:var(--radius)] dark:text-black","transform-gpu transition-transform duration-300 ease-in-out active:translate-y-
57px",l),ref:h,...f,children:[E.jsx("div",{className:cl("-z-30 blur-[2px]","absolute inset-0 overflow-visible [container-type:size]"),children:E.jsx("div",{className:"absolute inset-0 h-[100cqh] animate-shimmer-slide [aspect-ratio:1] [border-radius:0] [mask:none]",children:E.jsx("div",{className:"absolute -inset-full w-auto rotate-0 animate-spin-around [background:conic-gradient(from_calc(270deg-(var(--spread)*0.5)),transparent_0,var(--shimmer-color)_var(--spread),transparent_var(--spread))] [translate:0_0]"})})}),c,E.jsx("div",{className:cl("insert-0 absolute size-full","rounded-2xl px-4 py-1.5 text-sm font-medium shadow-[inset_0_-8px_10px_#ffffff1f]","transform-gpu transition-all duration-300 ease-in-out","group-hover:shadow-[inset_0_-6px_10px_#ffffff3f]","group-active:shadow-[inset_0_-10px_10px_#ffffff3f]")}),E.jsx("div",{className:cl("absolute -z-20 [background:var(--bg)] [border-radius:var(--radius)] [inset:var(--cut)]")})]}));FS.displayName="ShimmerButton";function s1(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function a5(...e){return t=>{let n=!1;const i=e.map(o=>{const l=s1(o,t);return!n&&typeof l=="function"&&(n=!0),l});if(n)return()=>{for(let o=0;o<i.length;o++){const l=i[o];typeof l=="function"?l():s1(e[o],null)}}}}function l5(e){const t=c5(e),n=F.forwardRef((i,o)=>{const{children:l,...c}=i,f=F.Children.toArray(l),h=f.find(f5);if(h){const m=h.props.children,v=f.map(S=>S===h?F.Children.count(m)>1?F.Children.only(null):F.isValidElement(m)?m.props.children:null:S);return E.jsx(t,{...c,ref:o,children:F.isValidElement(m)?F.cloneElement(m,void 0,v):null})}return E.jsx(t,{...c,ref:o,children:l})});return n.displayName=`${e}.Slot`,n}var u5=l5("Slot");function c5(e){const t=F.forwardRef((n,i)=>{const{children:o,...l}=n;if(F.isValidElement(o)){const c=p5(o),f=h5(l,o.props);return o.type!==F.Fragment&&(f.ref=i?a5(i,c):c),F.cloneElement(o,f)}return F.Children.count(o)>1?F.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d5=Symbol("radix.slottable");function f5(e){return F.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d5}function h5(e,t){const n={...t};for(const i in t){const o=e[i],l=t[i];/^on[A-Z]/.test(i)?o&&l?n[i]=(...f)=>{l(...f),o(...f)}:o&&(n[i]=o):i==="style"?n[i]={...o,...l}:i==="className"&&(n[i]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}function p5(e){var i,o;let t=(i=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const o1=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,a1=Cd,m5=(e,t)=>n=>{var i;if((t==null?void 0:t.variants)==null)return a1(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:l}=t,c=Object.keys(o).map(m=>{const v=n==null?void 0:n[m],S=l==null?void 0:l[m];if(v===null)return null;const b=o1(v)||o1(S);return o[m][b]}),f=n&&Object.entries(n).reduce((m,v)=>{let[S,b]=v;return b===void 0||(m[S]=b),m},{}),h=t==null||(i=t.compoundVariants)===null||i===void 0?void 0:i.reduce((m,v)=>{let{class:S,className:b,...A}=v;return Object.entries(A).every(P=>{let[C,L]=P;return Array.isArray(L)?L.includes({...l,...f}[C]):{...l,...f}[C]===L})?[...m,S,b]:m},[]);return a1(e,c,h,n==null?void 0:n.class,n==null?void 0:n.className)},g5=m5("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",chrome:"bg-white text-black shadow-lg hover:bg-gray-50 rounded-full py-3 px-6 text-base font-medium",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function y5({className:e,variant:t,size:n,asChild:i=!1,...o}){const l=i?u5:"button";return E.jsx(l,{"data-slot":"button",className:cl(g5({variant:t,size:n,className:e})),...o})}const v5=()=>{const e=()=>{window.location.href="https://app.audiototextconverter.app"},t="https://chromewebstore.google.com/detail/lebniadafgfkobbnhflghloncamcedhp?utm_source=website";return E.jsx(Pi,{className:"px-4 md:px-8 max-w-6xl md:max-w-7xl lg:max-w-screen-xl xl:max-w-screen-2xl 2xl:max-w-[95%] mx-auto",sx:{minHeight:{xs:"80vh",md:"100vh"},display:"flex",alignItems:"flex-start",justifyContent:"center",pt:{xs:4,md:8,lg:12,xl:16}},children:E.jsxs(j0,{direction:{xs:"column",md:"row"},spacing:{xs:4,md:2,lg:4,xl:8,"2xl":12},alignItems:"center",children:[E.jsx(Pi,{flex:{xs:1,md:.4,lg:.35,xl:.3},children:E.jsxs("div",{className:"hero-text",children:[E.jsxs("div",{className:"hero-eyebrow",children:["Audio ",E.jsx("span",{className:"hero-eyebrow-arrow",children:"â"})," Text"]}),E.jsx("h1",{children:"Transcribe hours of audio in minutes"}),E.jsx("p",{children:"Stop re-listening to 2-hour calls. Drop your audio â get a clean transcript, summary, and speakers, ready to use."}),E.jsxs(j0,{direction:{xs:"column",sm:"row"},spacing:2,sx:{mt:3},children:[E.jsx(FS,{onClick:e,background:"#3b82f6",shimmerColor:"#ffffff",shimmerSize:"0.1rem",className:"text-white font-semibold text-base md:text-lg lg:text-xl xl:text-2xl h-10 md:h-12 lg:h-14 xl:h-16 w-full sm:w-auto px-6 md:px-8 lg:px-10 xl:px-12 flex items-center justify-center hover:scale-110 transition-transform duration-300",children:E.jsx("span",{className:"inline-block",children:"Transcribe now"})}),E.jsxs(y5,{onClick:()=>window.open(t,"_blank"),variant:"outline",size:"lg",className:"group border-blue-500 text-blue-600 hover:text-blue-600 hover:scale-110 transition-transform duration-300 rounded-full text-base md:text-lg lg:text-xl xl:text-2xl h-10 md:h-12 lg:h-14 xl:h-16 w-full sm:w-auto px-4 md:px-6",children:[E.jsx("img",{src:"/chrome-icon.png",alt:"Install Audio to Text Converter",className:"w-6 h-6 md:w-7 md:h-7 lg:w-8 lg:h-8 xl:w-9 xl:h-9 mr-2 group-hover:rotate-360 transition-transform duration-400"}
57),"Install Extension"]})]}),E.jsxs("div",{className:"hero-chips",children:[E.jsx("span",{className:"hero-chip",children:"98% accuracy"}),E.jsx("span",{className:"hero-chip-dot","aria-hidden":"true",children:"·"}),E.jsx("span",{className:"hero-chip",children:"50+ languages"}),E.jsx("span",{className:"hero-chip-dot","aria-hidden":"true",children:"·"}),E.jsx("span",{className:"hero-chip",children:"Up to 1GB"})]}),E.jsxs("div",{className:"hero-rating",children:[E.jsx("span",{className:"hero-rating-score",children:"4.6"}),E.jsx("span",{className:"hero-rating-stars","aria-hidden":"true",children:"â â â â â "}),E.jsxs("span",{className:"hero-rating-meta",children:["12,000+ users ",E.jsx("span",{className:"hero-rating-meta-soft",children:"(hopefully happy)"})]})]})]})}),E.jsx(Pi,{flex:{xs:1,md:.6,lg:.65,xl:.7},children:E.jsxs("div",{className:"relative w-full h-full",children:[E.jsx("div",{className:"absolute -inset-1 bg-gradient-to-r from-blue-500 to-cyan-400 blur-3xl opacity-25 rounded-2xl"}),E.jsx("img",{src:"/result-view.png",style:{width:"100%",maxWidth:"100%"},className:"hero-video relative"})]})})]})})},w5=()=>{};var l1={};/** 58 * @license 59 * Copyright 2017 Google LLC 60 * 61 * Licensed under the Apache License, Version 2.0 (the "License"); 62 * you may not use this file except in compliance with the License. 63 * You may obtain a copy of the License at 64 * 65 * http://www.apache.org/licenses/LICENSE-2.0 66 * 67 * Unless required by applicable law or agreed to in writing, software 68 * distributed under the License is distributed on an "AS IS" BASIS, 69 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 70 * See the License for the specific language governing permissions and 71 * limitations under the License. 72 */const VS=function(e){const t=[];let n=0;for(let i=0;i<e.length;i++){let o=e.charCodeAt(i);o<128?t[n++]=o:o<2048?(t[n++]=o>>6|192,t[n++]=o&63|128):(o&64512)===55296&&i+1<e.length&&(e.charCodeAt(i+1)&64512)===56320?(o=65536+((o&1023)<<10)+(e.charCodeAt(++i)&1023),t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=o&63|128):(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=o&63|128)}return t},x5=function(e){const t=[];let n=0,i=0;for(;n<e.length;){const o=e[n++];if(o<128)t[i++]=String.fromCharCode(o);else if(o>191&&o<224){const l=e[n++];t[i++]=String.fromCharCode((o&31)<<6|l&63)}else if(o>239&&o<365){const l=e[n++],c=e[n++],f=e[n++],h=((o&7)<<18|(l&63)<<12|(c&63)<<6|f&63)-65536;t[i++]=String.fromCharCode(55296+(h>>10)),t[i++]=String.fromCharCode(56320+(h&1023))}else{const l=e[n++],c=e[n++];t[i++]=String.fromCharCode((o&15)<<12|(l&63)<<6|c&63)}}return t.join("")},BS={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[];for(let o=0;o<e.length;o+=3){const l=e[o],c=o+1<e.length,f=c?e[o+1]:0,h=o+2<e.length,m=h?e[o+2]:0,v=l>>2,S=(l&3)<<4|f>>4;let b=(f&15)<<2|m>>6,A=m&63;h||(A=64,c||(b=64)),i.push(n[v],n[S],n[b],n[A])}return i.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(VS(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):x5(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,i=[];for(let o=0;o<e.length;){const l=n[e.charAt(o++)],f=o<e.length?n[e.charAt(o)]:0;++o;const m=o<e.length?n[e.charAt(o)]:64;++o;const S=o<e.length?n[e.charAt(o)]:64;if(++o,l==null||f==null||m==null||S==null)throw new S5;const b=l<<2|f>>4;if(i.push(b),m!==64){const A=f<<4&240|m>>2;if(i.push(A),S!==64){const P=m<<6&192|S;i.push(P)}}}return i},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};
72class S5 extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const b5=function(e){const t=VS(e);return BS.encodeByteArray(t,!0)},ed=function(e){return b5(e).replace(/\./g,"")},US=function(e){try{return BS.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/** 73 * @license 74 * Copyright 2022 Google LLC 75 * 76 * Licensed under the Apache License, Version 2.0 (the "License"); 77 * you may not use this file except in compliance with the License. 78 * You may obtain a copy of the License at 79 * 80 * http://www.apache.org/licenses/LICENSE-2.0 81 * 82 * Unless required by applicable law or agreed to in writing, software 83 * distributed under the License is distributed on an "AS IS" BASIS, 84 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 85 * See the License for the specific language governing permissions and 86 * limitations under the License. 87 */function k5(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/** 88 * @license 89 * Copyright 2022 Google LLC 90 * 91 * Licensed under the Apache License, Version 2.0 (the "License"); 92 * you may not use this file except in compliance with the License. 93 * You may obtain a copy of the License at 94 * 95 * http://www.apache.org/licenses/LICENSE-2.0 96 * 97 * Unless required by applicable law or agreed to in writing, software 98 * distributed under the License is distributed on an "AS IS" BASIS, 99 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 100 * See the License for the specific language governing permissions and 101 * limitations under the License. 102 */const E5=()=>k5().__FIREBASE_DEFAULTS__,T5=()=>{if(typeof process>"u"||typeof l1>"u")return;const e=l1.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},C5=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=e&&US(e[1]);return t&&JSON.parse(t)},Am=()=>{try{return w5()||E5()||T5()||C5()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},$S=e=>{var t,n;return(n=(t=Am())===null||t===void 0?void 0:t.emulatorHosts)===null||n===void 0?void 0:n[e]},_5=e=>{const t=$S(e);if(!t)return;const n=t.lastIndexOf(":");if(n<=0||n+1===t.length)throw new Error(`Invalid host ${t} with no separate hostname and port!`);const i=parseInt(t.substring(n+1),10);return t[0]==="["?[t.substring(1,n-1),i]:[t.substring(0,n),i]},zS=()=>{var e;return(e=Am())===null||e===void 0?void 0:e.config},HS=e=>{var t;return(t=Am())===null||t===void 0?void 0:t[`_${e}`]};/** 103 * @license 104 * Copyright 2017 Google LLC 105 * 106 * Licensed under the Apache License, Version 2.0 (the "License"); 107 * you may not use this file except in compliance with the License. 108 * You may obtain a copy of the License at 109 * 110 * http://www.apache.org/licenses/LICENSE-2.0 111 * 112 * Unless required by applicable law or agreed to in writing, software 113 * distributed under the License is distributed on an "AS IS" BASIS, 114 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 115 * See the License for the specific language governing permissions and 116 * limitations under the License. 117 */class P5{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,i)=>{n?this.reject(n):this.resolve(i),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,i))}}}/** 118 * @license 119 * Copyright 2025 Google LLC 120 * 121 * Licensed under the Apache License, Version 2.0 (the "License"); 122 * you may not use this file except in compliance with the License. 123 * You may obtain a copy of the License at 124 * 125 * http://www.apache.org/licenses/LICENSE-2.0 126 * 127 * Unless required by applicable law or agreed to in writing, software 128 * distributed under the License is distributed on an "AS IS" BASIS, 129 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 130 * See the License for the specific language governing permissions and 131 * limitations under the License. 132 */function Nd(e){return e.endsWith(".cloudworkstations.dev")}async function WS(e){return(await fetch(e,{credentials:"include"})).ok}/** 133 * @license 134 * Copyright 2021 Google LLC 135 * 136 * Licensed under the Apache License, Version 2.0 (the "License");
137 * you may not use this file except in compliance with the License. 138 * You may obtain a copy of the License at 139 * 140 * http://www.apache.org/licenses/LICENSE-2.0 141 * 142 * Unless required by applicable law or agreed to in writing, software 143 * distributed under the License is distributed on an "AS IS" BASIS, 144 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 145 * See the License for the specific language governing permissions and 146 * limitations under the License. 147 */function A5(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n={alg:"none",type:"JWT"},i=t||"demo-project",o=e.iat||0,l=e.sub||e.user_id;if(!l)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const c=Object.assign({iss:`https://securetoken.google.com/${i}`,aud:i,iat:o,exp:o+3600,auth_time:o,sub:l,user_id:l,firebase:{sign_in_provider:"custom",identities:{}}},e);return[ed(JSON.stringify(n)),ed(JSON.stringify(c)),""].join(".")}const wl={};function I5(){const e={prod:[],emulator:[]};for(const t of Object.keys(wl))wl[t]?e.emulator.push(t):e.prod.push(t);return e}function R5(e){let t=document.getElementById(e),n=!1;return t||(t=document.createElement("div"),t.setAttribute("id",e),n=!0),{created:n,element:t}}let u1=!1;function GS(e,t){if(typeof window>"u"||typeof document>"u"||!Nd(window.location.host)||wl[e]===t||wl[e]||u1)return;wl[e]=t;function n(b){return`__firebase__banner__${b}`}const i="__firebase__banner",l=I5().prod.length>0;function c(){const b=document.getElementById(i);b&&b.remove()}function f(b){b.style.display="flex",b.style.background="#7faaf0",b.style.position="fixed",b.style.bottom="5px",b.style.left="5px",b.style.padding=".5em",b.style.borderRadius="5px",b.style.alignItems="center"}function h(b,A){b.setAttribute("width","24"),b.setAttribute("id",A),b.setAttribute("height","24"),b.setAttribute("viewBox","0 0 24 24"),b.setAttribute("fill","none"),b.style.marginLeft="-6px"}function m(){const b=document.createElement("span");return b.style.cursor="pointer",b.style.marginLeft="16px",b.style.fontSize="24px",b.innerHTML=" ×
147",b.onclick=()=>{u1=!0,c()},b}function v(b,A){b.setAttribute("id",A),b.innerText="Learn more",b.href="https://firebase.google.com/docs/studio/preview-apps#preview-backend",b.setAttribute("target","__blank"),b.style.paddingLeft="5px",b.style.textDecoration="underline"}function S(){const b=R5(i),A=n("text"),P=document.getElementById(A)||document.createElement("span"),C=n("learnmore"),L=document.getElementById(C)||document.createElement("a"),M=n("preprendIcon"),U=document.getElementById(M)||document.createElementNS("http://www.w3.org/2000/svg","svg");if(b.created){const $=b.element;f($),v(L,C);const q=m();h(U,M),$.append(U,P,L,q),document.body.appendChild($)}l?(P.innerText="Preview backend disconnected.",U.innerHTML=`<g clip-path="url(#clip0_6013_33858)"> 148<path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/> 149</g> 150<defs> 151<clipPath id="clip0_6013_33858"> 152<rect width="24" height="24" fill="white"/> 153</clipPath> 154</defs>`):(U.innerHTML=`<g clip-path="url(#clip0_6083_34804)"> 155<path d="M11.4 15.2H12.6V11.2H11.4V15.2ZM12 10C12.1667 10 12.3056 9.94444 12.4167 9.83333C12.5389 9.71111 12.6 9.56667 12.6 9.4C12.6 9.23333 12.5389 9.09444 12.4167 8.98333C12.3056 8.86111 12.1667 8.8 12 8.8C11.8333 8.8 11.6889 8.86111 11.5667 8.98333C11.4556 9.09444 11.4 9.23333 11.4 9.4C11.4 9.56667 11.4556 9.71111 11.5667 9.83333C11.6889 9.94444 11.8333 10 12 10ZM12 18.4C11.1222 18.4 10.2944 18.2333 9.51667 17.9C8.73889 17.5667 8.05556 17.1111 7.46667 16.5333C6.88889 15.9444 6.43333 15.2611 6.1 14.4833C5.76667 13.7056 5.6 12.8778 5.6 12C5.6 11.1111 5.76667 10.2833 6.1 9.51667C6.43333 8.73889 6.88889 8.06111 7.46667 7.48333C8.05556 6.89444 8.73889 6.43333 9.51667 6.1C10.2944 5.76667 11.1222 5.6 12 5.6C12.8889 5.6 13.7167 5.76667 14.4833 6.1C15.2611 6.43333 15.9389 6.89444 16.5167 7.48333C17.1056 8.06111 17.5667 8.73889 17.9 9.51667C18.2333 10.2833 18.4 11.1111 18.4 12C18.4 12.8778 18.2333 13.7056 17.9 14.4833C17.5667 15.2611 17.1056 15.9444 16.5167 16.5333C15.9389 17.1111 15.2611 17.5667 14.4833 17.9C13.7167 18.2333 12.8889 18.4 12 18.4ZM12 17.2C13.4444 17.2 14.6722 16.6944 15.6833 15.6833C16.6944 14.6722 17.2 13.4444 17.2 12C17.2 10.5556 16.6944 9.32778 15.6833 8.31667C14.6722 7.30555 13.4444 6.8 12 6.8C10.5556 6.8 9.32778 7.30555 8.31667 8.31667C7.30556 9.32778 6.8 10.5556 6.8 12C6.8 13.4444 7.30556 14.6722 8.31667 15.6833C9.32778 16.6944 10.5556 17.2 12 17.2Z" fill="#212121"/> 156</g> 157<defs> 158<clipPath id="clip0_6083_34804"> 159<rect width="24" height="24" fill="white"/> 160</clipPath> 161</defs>`,P.innerText="Preview backend running in this workspace."),P.setAttribute("id",A)}document.readyState==="loading"?window.addEventListener("DOMContentLoaded",S):S()}/** 162 * @license 163 * Copyright 2017 Google LLC 164 * 165 * Licensed under the Apache License, Version 2.0 (the "License"); 166 * you may not use this file except in compliance with the License. 167 * You may obtain a copy of the License at 168 * 169 * http://www.apache.org/licenses/LICENSE-2.0 170 * 171 * Unless required by applicable law or agreed to in writing, software 172 * distributed under the License is distributed on an "AS IS" BASIS, 173 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 174 * See the License for the specific language governing permissions and 175 * limitations under the License. 176 */function Gt(){return typeof navigator<"u"&&typeof navigator.userAgent=="string"?navigator.userAgent:""}function N5(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Gt())}function O5(){return typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"}function D5(){const e=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof e=="object"&&e.id!==void 0}function L5(){return typeof navigator=="object"&&navigator.product==="ReactNative"}function M5(){const e=Gt();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}function j5(){try{return typeof indexedDB=="object"}catch{return!1}}function F5(){return new Promise((e,t)=>
176{try{let n=!0;const i="validate-browser-context-for-indexeddb-analytics-module",o=self.indexedDB.open(i);o.onsuccess=()=>{o.result.close(),n||self.indexedDB.deleteDatabase(i),e(!0)},o.onupgradeneeded=()=>{n=!1},o.onerror=()=>{var l;t(((l=o.error)===null||l===void 0?void 0:l.message)||"")}}catch(n){t(n)}})}/** 177 * @license 178 * Copyright 2017 Google LLC 179 * 180 * Licensed under the Apache License, Version 2.0 (the "License"); 181 * you may not use this file except in compliance with the License. 182 * You may obtain a copy of the License at 183 * 184 * http://www.apache.org/licenses/LICENSE-2.0 185 * 186 * Unless required by applicable law or agreed to in writing, software 187 * distributed under the License is distributed on an "AS IS" BASIS, 188 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 189 * See the License for the specific language governing permissions and 190 * limitations under the License. 191 */const V5="FirebaseError";class Qr extends Error{constructor(t,n,i){super(n),this.code=t,this.customData=i,this.name=V5,Object.setPrototypeOf(this,Qr.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Xl.prototype.create)}}class Xl{constructor(t,n,i){this.service=t,this.serviceName=n,this.errors=i}create(t,...n){const i=n[0]||{},o=`${this.service}/${t}`,l=this.errors[t],c=l?B5(l,i):"Error",f=`${this.serviceName}: ${c} (${o}).`;return new Qr(o,f,i)}}function B5(e,t){return e.replace(U5,(n,i)=>{const o=t[i];return o!=null?String(o):`<${i}?>`})}const U5=/\{\$([^}]+)}/g;function $5(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function _s(e,t){if(e===t)return!0;const n=Object.keys(e),i=Object.keys(t);for(const o of n){if(!i.includes(o))return!1;const l=e[o],c=t[o];
191if(c1(l)&&c1(c)){if(!_s(l,c))return!1}else if(l!==c)return!1}for(const o of i)if(!n.includes(o))return!1;return!0}function c1(e){return e!==null&&typeof e=="object"}/** 192 * @license 193 * Copyright 2017 Google LLC 194 * 195 * Licensed under the Apache License, Version 2.0 (the "License"); 196 * you may not use this file except in compliance with the License. 197 * You may obtain a copy of the License at 198 * 199 * http://www.apache.org/licenses/LICENSE-2.0 200 * 201 * Unless required by applicable law or agreed to in writing, software 202 * distributed under the License is distributed on an "AS IS" BASIS, 203 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 204 * See the License for the specific language governing permissions and 205 * limitations under the License. 206 */function Jl(e){const t=[];for(const[n,i]of Object.entries(e))Array.isArray(i)?i.forEach(o=>{t.push(encodeURIComponent(n)+"="+encodeURIComponent(o))}):t.push(encodeURIComponent(n)+"="+encodeURIComponent(i));return t.length?"&"+t.join("&"):""}function dl(e){const t={};return e.replace(/^\?/,"").split("&").forEach(i=>{if(i){const[o,l]=i.split("=");
206t[decodeURIComponent(o)]=decodeURIComponent(l)}}),t}function fl(e){const t=e.indexOf("?");if(!t)return"";const n=e.indexOf("#",t);return e.substring(t,n>0?n:void 0)}function z5(e,t){const n=new H5(e,t);return n.subscribe.bind(n)}class H5{constructor(t,n){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=n,this.task.then(()=>{t(this)}).catch(i=>{this.error(i)})}next(t){this.forEachObserver(n=>{n.next(t)})}error(t){this.forEachObserver(n=>{n.error(t)}),this.close(t)}complete(){this.forEachObserver(t=>{t.complete()}),this.close()}subscribe(t,n,i){let o;if(t===void 0&&n===void 0&&i===void 0)throw new Error("Missing Observer.");W5(t,["next","error","complete"])?o=t:o={next:t,error:n,complete:i},o.next===void 0&&(o.next=jh),o.error===void 0&&(o.error=jh),o.complete===void 0&&(o.complete=jh);const l=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?o.error(this.finalError):o.complete()}catch{}}),this.observers.push(o),l}unsubscribeOne(t){this.observers===void 0||this.observers[t]===void 0||(delete this.observers[t],this.observerCount-=1,this.observerCount===0&&this.onNoObservers!==void 0&&this.onNoObservers(this))}forEachObserver(t){if(!this.finalized)for(let n=0;n<this.observers.length;n++)this.sendOne(n,t)}sendOne(t,n){this.task.then(()=>{if(this.observers!==void 0&&this.observers[t]!==void 0)try{n(this.observers[t])}catch(i){typeof console<"u"&&console.error&&console.error(i)}})}close(t){this.finalized||(this.finalized=!0,t!==void 0&&(this.finalError=t),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function W5(e,t){if(typeof e!="object"||e===null)return!1;for(const n of t)if(n in e&&typeof e[n]=="function")return!0;return!1}function jh(){}/** 207 * @license 208 * Copyright 2021 Google LLC 209 * 210 * Licensed under the Apache License, Version 2.0 (the "License"); 211 * you may not use this file except in compliance with the License. 212 * You may obtain a copy of the License at 213 * 214 * http://www.apache.org/licenses/LICENSE-2.0 215 * 216 * Unless required by applicable law or agreed to in writing, software 217 * distributed under the License is distributed on an "AS IS" BASIS, 218 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 219 * See the License for the specific language governing permissions and 220 * limitations under the License. 221 */function xr(e){return e&&e._delegate?e._delegate:e}class Ps{constructor(t,n,i){this.name=t,this.instanceFactory=n,this.type=i,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/** 222 * @license 223 * Copyright 2019 Google LLC 224 * 225 * Licensed under the Apache License, Version 2.0 (the "License"); 226 * you may not use this file except in compliance with the License. 227 * You may obtain a copy of the License at 228 * 229 * http://www.apache.org/licenses/LICENSE-2.0 230 * 231 * Unless required by applicable law or agreed to in writing, software 232 * distributed under the License is distributed on an "AS IS" BASIS, 233 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 234 * See the License for the specific language governing permissions and 235 * limitations under the License. 236 */const ys="[DEFAULT]";/** 237 * @license 238 * Copyright 2019 Google LLC 239 * 240 * Licensed under the Apache License, Version 2.0 (the "License"); 241 * you may not use this file except in compliance with the License. 242 * You may obtain a copy of the License at 243 * 244 * http://www.apache.org/licenses/LICENSE-2.0 245 * 246 * Unless required by applicable law or agreed to in writing, software 247 * distributed under the License is distributed on an "AS IS" BASIS, 248 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 249 * See the License for the specific language governing permissions and 250 * limitations under the License. 251 */class G5{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const i=new P5;if(this.instancesDeferred.set(n,i),this.isInitialized(n)||this.shouldAutoInitialize())try{const o=this.getOrInitializeService({instanceIdentifier:n});o&&i.resolve(o)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const i=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),o=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(i)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:i})}catch(l){if(o)return null;throw l}else{if(o)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(Y5(t))try{this.getOrInitializeService({instanceIdentifier:ys})}catch{}for(const[n,i]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(n);try{const l=this.getOrInitializeService({instanceIdentifier:o});i.resolve(l)}catch{}}}}clearInstance(t=ys){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=ys){return this.instances.has(t)}getOptions(t=ys){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,i=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(i))throw Error(`${this.name}(${i}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const o=this.getOrInitializeService({instanceIdentifier:i,options:n});for(const[l,c]of this.instancesDeferred.entries()){const f=this.normalizeInstanceIdentifier(l);i===f&&c.resolve(o)}return o}onInit(t,n){var i;const o=this.normalizeInstanceIdentifier(n),l=(i=this.onInitCallbacks.get(o))!==null&&i!==void 0?i:new Set;l.add(t),this.onInitCallbacks.set(o,l);const c=this.instances.get(o);return c&&t(c,o),()=>{l.delete(t)}}invokeOnInitCallbacks(t,n){const i=this.onInitCallbacks.get(n);if(i)for(const o of i)try{o(t,n)}catch{}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let i=this.instances.get(t);if(!i&&this.component&&(i=this.component.instanceFactory(this.container,{instanceIdentifier:K5(t),options:n}),this.instances.set(t,i),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(i,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,i)}catch{}return i||null}normalizeInstanceIdentifier(t=ys){return this.component?this.component.multipleInstances?t:ys:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function K5(e){return e===ys?void 0:e}function Y5(e){return e.instantiationMode==="EAGER"}/** 252 * @license 253 * Copyright 2019 Google LLC 254 * 255 * Licensed under the Apache License, Version 2.0 (the "License");
256 * you may not use this file except in compliance with the License. 257 * You may obtain a copy of the License at 258 * 259 * http://www.apache.org/licenses/LICENSE-2.0 260 * 261 * Unless required by applicable law or agreed to in writing, software 262 * distributed under the License is distributed on an "AS IS" BASIS, 263 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 264 * See the License for the specific language governing permissions and 265 * limitations under the License. 266 */class q5{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new G5(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/** 267 * @license 268 * Copyright 2017 Google LLC 269 * 270 * Licensed under the Apache License, Version 2.0 (the "License"); 271 * you may not use this file except in compliance with the License. 272 * You may obtain a copy of the License at 273 * 274 * http://www.apache.org/licenses/LICENSE-2.0 275 * 276 * Unless required by applicable law or agreed to in writing, software 277 * distributed under the License is distributed on an "AS IS" BASIS, 278 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 279 * See the License for the specific language governing permissions and 280 * limitations under the License. 281 */var Be;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(Be||(Be={}));const X5={debug:Be.DEBUG,verbose:Be.VERBOSE,info:Be.INFO,warn:Be.WARN,error:Be.ERROR,silent:Be.SILENT},J5=Be.INFO,Q5={[Be.DEBUG]:"log",[Be.VERBOSE]:"log",[Be.INFO]:"info",[Be.WARN]:"warn",[Be.ERROR]:"error"},Z5=(e,t,...n)=>{if(t<e.logLevel)return;const i=new Date().toISOString(),o=Q5[t];if(o)console[o](`[${i}] ${e.name}:`,...n);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class Im{constructor(t){this.name=t,this._logLevel=J5,this._logHandler=Z5,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in Be))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?X5[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,Be.DEBUG,...t),this._logHandler(this,Be.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,Be.VERBOSE,...t),this._logHandler(this,Be.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,Be.INFO,...t),this._logHandler(this,Be.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,Be.WARN,...t),this._logHandler(this,Be.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,Be.ERROR,...t),this._logHandler(this,Be.ERROR,...t)}}const e6=(e,t)=>t.some(n=>e instanceof n);let d1,f1;function t6(){return d1||(d1=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function n6(){return f1||(f1=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const KS=new WeakMap,Sp=new WeakMap,YS=new WeakMap,Fh=new WeakMap,Rm=new WeakMap;function r6(e){const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("success",l),e.removeEventListener("error",c)},l=()=>{n(Ni(e.result)),o()},c=()=>{i(e.error),o()};e.addEventListener("success",l),e.addEventListener("error",c)});return t.then(n=>{n instanceof IDBCursor&&KS.set(n,e)}).catch(()=>{}),Rm.set(t,e),t}function i6(e){if(Sp.has(e))return;const t=new Promise((n,i)=>{const o=()=>{e.removeEventListener("complete",l),e.removeEventListener("error",c),e.removeEventListener("abort",c)},l=()=>{n(),o()},c=()=>{i(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",l),e.addEventListener("error",c),e.addEventListener("abort",c)});Sp.set(e,t)}let bp={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Sp.get(e);if(t==="objectStoreNames")return e.objectStoreNames||YS.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ni(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function s6(e){bp=e(bp)}function o6(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const i=e.call(Vh(this),t,...n);return YS.set(i,t.sort?t.sort():[t]),Ni(i)}:n6().includes(e)?function(...t){return e.apply(Vh(this),t),Ni(KS.get(this))}:function(...t){return Ni(e.apply(Vh(this),t))}}function a6(e){return typeof e=="function"?o6(e):(e instanceof IDBTransaction&&i6(e),e6(e,t6())?new Proxy(e,bp):e)}function Ni(e){if(e instanceof IDBRequest)return r6(e);if(Fh.has(e))return Fh.get(e);const t=a6(e);return t!==e&&(Fh.set(e,t),Rm.set(t,e)),t}const Vh=e=>Rm.get(e);function l6(e,t,{blocked:n,upgrade:i,blocking:o,terminated:l}={}){const c=indexedDB.open(e,t),f=Ni(c);return i&&c.addEventListener("upgradeneeded",h=>{i(Ni(c.result),h.oldVersion,h.newVersion,Ni(c.transaction),h)}),n&&c.addEventListener("blocked",h=>n(h.oldVersion,h.newVersion,h)),f.then(h=>{l&&h.addEventListener("close",()=>l()),o&&h.addEventListener("versionchange",m=>o(m.oldVersion,m.newVersion,m))}).catch(()=>{}),f}const u6=["get","getKey","getAll","getAllKeys","count"],c6=["put","add","delete","clear"],Bh=new Map;function h1(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(Bh.get(t))return Bh.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,o=c6.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!(o||u6.includes(n)))return;const l=async function(c,...f){const h=this.transaction(c,o?"readwrite":"readonly");let m=h.store;
281return i&&(m=m.index(f.shift())),(await Promise.all([m[n](...f),o&&h.done]))[0]};return Bh.set(t,l),l}s6(e=>({...e,get:(t,n,i)=>h1(t,n)||e.get(t,n,i),has:(t,n)=>!!h1(t,n)||e.has(t,n)}));/** 282 * @license 283 * Copyright 2019 Google LLC 284 * 285 * Licensed under the Apache License, Version 2.0 (the "License"); 286 * you may not use this file except in compliance with the License. 287 * You may obtain a copy of the License at 288 * 289 * http://www.apache.org/licenses/LICENSE-2.0 290 * 291 * Unless required by applicable law or agreed to in writing, software 292 * distributed under the License is distributed on an "AS IS" BASIS, 293 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 294 * See the License for the specific language governing permissions and 295 * limitations under the License. 296 */class d6{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(f6(n)){const i=n.getImmediate();return`${i.library}/${i.version}`}else return null}).filter(n=>n).join(" ")}}function f6(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const kp="@firebase/app",p1="0.13.0";/** 297 * @license 298 * Copyright 2019 Google LLC 299 * 300 * Licensed under the Apache License, Version 2.0 (the "License"); 301 * you may not use this file except in compliance with the License. 302 * You may obtain a copy of the License at 303 * 304 * http://www.apache.org/licenses/LICENSE-2.0 305 * 306 * Unless required by applicable law or agreed to in writing, software 307 * distributed under the License is distributed on an "AS IS" BASIS, 308 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 309 * See the License for the specific language governing permissions and 310 * limitations under the License. 311 */const qr=new Im("@firebase/app"),h6="@firebase/app-compat",p6="@firebase/analytics-compat",m6="@firebase/analytics",g6="@firebase/app-check-compat",y6="@firebase/app-check",v6="@firebase/auth",w6="@firebase/auth-compat",x6="@firebase/database",S6="@firebase/data-connect",b6="@firebase/database-compat",k6="@firebase/functions",E6="@firebase/functions-compat",T6="@firebase/installations",C6="@firebase/installations-compat",_6="@firebase/messaging",P6="@firebase/messaging-compat",A6="@firebase/performance",I6="@firebase/performance-compat",R6="@firebase/remote-config",N6="@firebase/remote-config-compat",O6="@firebase/storage",D6="@firebase/storage-compat",L6="@firebase/firestore",M6="@firebase/ai",j6="@firebase/firestore-compat",F6="firebase",V6="11.8.0";/** 312 * @license 313 * Copyright 2019 Google LLC 314 * 315 * Licensed under the Apache License, Version 2.0 (the "License"); 316 * you may not use this file except in compliance with the License. 317 * You may obtain a copy of the License at 318 * 319 * http://www.apache.org/licenses/LICENSE-2.0 320 * 321 * Unless required by applicable law or agreed to in writing, software 322 * distributed under the License is distributed on an "AS IS" BASIS, 323 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 324 * See the License for the specific language governing permissions and 325 * limitations under the License. 326 */const Ep="[DEFAULT]",B6={[kp]:"fire-core",[h6]:"fire-core-compat",[m6]:"fire-analytics",[p6]:"fire-analytics-compat",[y6]:"fire-app-check",[g6]:"fire-app-check-compat",[v6]:"fire-auth",[w6]:"fire-auth-compat",[x6]:"fire-rtdb",[S6]:"fire-data-connect",[b6]:"fire-rtdb-compat",[k6]:"fire-fn",[E6]:"fire-fn-compat",[T6]:"fire-iid",[C6]:"fire-iid-compat",[_6]:"fire-fcm",[P6]:"fire-fcm-compat",[A6]:"fire-perf",[I6]:"fire-perf-compat",[R6]:"fire-rc",[N6]:"fire-rc-compat",[O6]:"fire-gcs",[D6]:"fire-gcs-compat",[L6]:"fire-fst",[j6]:"fire-fst-compat",[M6]:"fire-vertex","fire-js":"fire-js",[F6]:"fire-js-all"};/** 327 * @license 328 * Copyright 2019 Google LLC 329 * 330 * Licensed under the Apache License, Version 2.0 (the "License"); 331 * you may not use this file except in compliance with the License. 332 * You may obtain a copy of the License at 333 * 334 * http://www.apache.org/licenses/LICENSE-2.0 335 * 336 * Unless required by applicable law or agreed to in writing, software 337 * distributed under the License is distributed on an "AS IS" BASIS, 338 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 339 * See the License for the specific language governing permissions and 340 * limitations under the License. 341 */const td=new Map,U6=new Map,Tp=new Map;function m1(e,t){try{e.container.addComponent(t)}catch(n){qr.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function Ho(e){const t=e.name;if(Tp.has(t))return qr.debug(`There were multiple attempts to register component ${t}.`),!1;Tp.set(t,e);for(const n of td.values())m1(n,e);for(const n of U6.values())m1(n,e);return!0}function Nm(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}function pn(e){return e==null?!1:e.settings!==void 0}/** 342 * @license 343 * Copyright 2019 Google LLC 344 * 345 * Licensed under the Apache License, Version 2.0 (the "License");
346 * you may not use this file except in compliance with the License. 347 * You may obtain a copy of the License at 348 * 349 * http://www.apache.org/licenses/LICENSE-2.0 350 * 351 * Unless required by applicable law or agreed to in writing, software 352 * distributed under the License is distributed on an "AS IS" BASIS, 353 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 354 * See the License for the specific language governing permissions and 355 * limitations under the License. 356 */const $6={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
356d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."},Oi=new Xl("app","Firebase",$6);/** 357 * @license 358 * Copyright 2019 Google LLC 359 * 360 * Licensed under the Apache License, Version 2.0 (the "License"); 361 * you may not use this file except in compliance with the License. 362 * You may obtain a copy of the License at 363 * 364 * http://www.apache.org/licenses/LICENSE-2.0 365 * 366 * Unless required by applicable law or agreed to in writing, software 367 * distributed under the License is distributed on an "AS IS" BASIS, 368 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 369 * See the License for the specific language governing permissions and 370 * limitations under the License. 371 */class z6{constructor(t,n,i){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=i,this.container.addComponent(new Ps("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw Oi.create("app-deleted",{appName:this._name})}}/** 372 * @license 373 * Copyright 2019 Google LLC 374 * 375 * Licensed under the Apache License, Version 2.0 (the "License"); 376 * you may not use this file except in compliance with the License. 377 * You may obtain a copy of the License at 378 * 379 * http://www.apache.org/licenses/LICENSE-2.0 380 * 381 * Unless required by applicable law or agreed to in writing, software 382 * distributed under the License is distributed on an "AS IS" BASIS, 383 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 384 * See the License for the specific language governing permissions and 385 * limitations under the License. 386 */const Zo=V6;function qS(e,t={}){let n=e;typeof t!="object"&&(t={name:t});const i=Object.assign({name:Ep,automaticDataCollectionEnabled:!0},t),o=i.name;if(typeof o!="string"||!o)throw Oi.create("bad-app-name",{appName:String(o)});if(n||(n=zS()),!n)throw Oi.create("no-options");const l=td.get(o);if(l){if(_s(n,l.options)&&_s(i,l.config))return l;throw Oi.create("duplicate-app",{appName:o})}const c=new q5(o);for(const h of Tp.values())c.addComponent(h);const f=new z6(n,i,c);return td.set(o,f),f}function XS(e=Ep){const t=td.get(e);if(!t&&e===Ep&&zS())return qS();if(!t)throw Oi.create("no-app",{appName:e});return t}function Di(e,t,n){var i;let o=(i=B6[e])!==null&&i!==void 0?i:e;n&&(o+=`-${n}`);const l=o.match(/\s|\//),c=t.match(/\s|\//);if(l||c){const f=[`Unable to register library "${o}" with version "${t}":`];l&&f.push(`library name "${o}" contains illegal characters (whitespace or "/")`),l&&c&&f.push("and"),c&&f.push(`version name "${t}" contains illegal characters (whitespace or "/")`),qr.warn(f.join(" "));return}Ho(new Ps(`${o}-version`,()=>({library:o,version:t}),"VERSION"))}/** 387 * @license 388 * Copyright 2021 Google LLC 389 * 390 * Licensed under the Apache License, Version 2.0 (the "License"); 391 * you may not use this file except in compliance with the License. 392 * You may obtain a copy of the License at 393 * 394 * http://www.apache.org/licenses/LICENSE-2.0 395 * 396 * Unless required by applicable law or agreed to in writing, softw
396are 397 * distributed under the License is distributed on an "AS IS" BASIS, 398 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 399 * See the License for the specific language governing permissions and 400 * limitations under the License. 401 */const H6="firebase-heartbeat-database",W6=1,jl="firebase-heartbeat-store";let Uh=null;function JS(){return Uh||(Uh=l6(H6,W6,{upgrade:(e,t)=>{switch(t){case 0:try{e.createObjectStore(jl)}catch(n){console.warn(n)}}}}).catch(e=>{throw Oi.create("idb-open",{originalErrorMessage:e.message})})),Uh}async function G6(e){try{const n=(await JS()).transaction(jl),i=await n.objectStore(jl).get(QS(e));return await n.done,i}catch(t){if(t instanceof Qr)qr.warn(t.message);else{const n=Oi.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});qr.warn(n.message)}}}async function g1(e,t){try{const i=(await JS()).transaction(jl,"readwrite");await i.objectStore(jl).put(t,QS(e)),await i.done}catch(n){if(n instanceof Qr)qr.warn(n.message);else{const i=Oi.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});qr.warn(i.message)}}}function QS(e){return`${e.name}!${e.options.appId}`}/** 402 * @license 403 * Copyright 2021 Google LLC 404 * 405 * Licensed under the Apache License, Version 2.0 (the "License"); 406 * you may not use this file except in compliance with the License. 407 * You may obtain a copy of the License at 408 * 409 * http://www.apache.org/licenses/LICENSE-2.0 410 * 411 * Unless required by applicable law or agreed to in writing, software 412 * distributed under the License is distributed on an "AS IS" BASIS, 413 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 414 * See the License for the specific language governing permissions and 415 * limitations under the License. 416 */const K6=1024,Y6=30;class q6{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new J6(n),this._heartbeatsCachePromise=this._storage.read().then(i=>(this._heartbeatsCache=i,i))}async triggerHeartbeat(){var t,n;try{const o=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),l=y1();if(((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((n=this._heartbeatsCache)===null||n===void 0?void 0:n.heartbeats)==null)||this._heartbeatsCache.lastSentHeartbeatDate===l||this._heartbeatsCache.heartbeats.some(c=>c.date===l))return;if(this._heartbeatsCache.heartbeats.push({date:l,agent:o}),this._heartbeatsCache.heartbeats.length>Y6){const c=Q6(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(c,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(i){qr.warn(i)}}async getHeartbeatsHeader(){var t;try{if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const n=y1(),{heartbeatsToSend:i,unsentEntries:o}=X6(this._heartbeatsCache.heartbeats),l=ed(JSON.stringify({version:2,heartbeats:i}));return this._heartbeatsCache.lastSentHeartbeatDate=n,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),l}catch(n){return qr.warn(n),""}}}function y1(){return new Date().toISOString().substring(0,10)}function X6(e,t=K6){const n=[];let i=e.slice();for(const o of e){const l=n.find(c=>c.agent===o.agent);if(l){if(l.dates.push(o.date),v1(n)>t){l.dates.pop();break}}else if(n.push({agent:o.agent,dates:[o.date]}),v1(n)>t){n.pop();break}i=i.slice(1)}return{heartbeatsToSend:n,unsentEntries:i}}class J6{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return j5()?F5().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const n=await G6(this.app);return n!=null&&n.heartbeats?n:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const o=await this.read();return g1(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:o.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const o=await this.read();return g1(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:o.lastSentHeartbeatDate,heartbeats:[...o.heartbeats,...t.heartbeats]})}else return}}function v1(e){return ed(JSON.stringify({version:2,heartbeats:e})).length}function Q6(e){if(e.length===0)return-1;let t=0,n=e[0].date;for(let i=1;i<e.length;i++)e[i].date<n&&(n=e[i].date,t=i);return t}/** 417 * @license 418 * Copyright 2019 Google LLC 419 * 420 * Licensed under the Apache License, Version 2.0 (the "License");
421 * you may not use this file except in compliance with the License. 422 * You may obtain a copy of the License at 423 * 424 * http://www.apache.org/licenses/LICENSE-2.0 425 * 426 * Unless required by applicable law or agreed to in writing, software 427 * distributed under the License is distributed on an "AS IS" BASIS, 428 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 429 * See the License for the specific language governing permissions and 430 * limitations under the License. 431 */function Z6(e){Ho(new Ps("platform-logger",t=>new d6(t),"PRIVATE")),Ho(new Ps("heartbeat",t=>new q6(t),"PRIVATE")),Di(kp,p1,e),Di(kp,p1,"esm2017"),Di("fire-js","")}Z6("");function Om(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n}function ZS(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const e3=ZS,eb=new Xl("auth","Firebase",ZS());/** 432 * @license 433 * Copyright 2020 Google LLC 434 * 435 * Licensed under the Apache License, Version 2.0 (the "License"); 436 * you may not use this file except in compliance with the License. 437 * You may obtain a copy of the License at 438 * 439 * http://www.apache.org/licenses/LICENSE-2.0 440 * 441 * Unless required by applicable law or agreed to in writing, software 442 * distributed under the License is distributed on an "AS IS" BASIS, 443 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 444 * See the License for the specific language governing permissions and 445 * limitations under the License. 446 */const nd=new Im("@firebase/auth");function t3(e,...t){nd.logLevel<=Be.WARN&&nd.warn(`Auth (${Zo}): ${e}`,...t)}function Vc(e,...t){nd.logLevel<=Be.ERROR&&nd.error(`Auth (${Zo}): ${e}`,...t)}/** 447 * @license 448 * Copyright 2020 Google LLC 449 * 450 * Licensed under the Apache License, Version 2.0 (the "License"); 451 * you may not use this file except in compliance with the License. 452 * You may obtain a copy of the License at 453 * 454 * http://www.apache.org/licenses/LICENSE-2.0 455 * 456 * Unless required by applicable law or agreed to in writing, software 457 * distributed under the License is distributed on an "AS IS" BASIS, 458 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 459 * See the License for the specific language governing permissions and 460 * limitations under the License. 461 */function An(e,...t){throw Lm(e,...t)}function Xn(e,...t){return Lm(e,...t)}function Dm(e,t,n){const i=Object.assign(Object.assign({},e3()),{[t]:n});return new Xl("auth","Firebase",i).create(t,{appName:e.name})}function Gr(e){return Dm(e,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function n3(e,t,n){const i=n;if(!(t instanceof i))throw i.name!==t.constructor.name&&An(e,"argument-error"),Dm(e,"argument-error",`Type of ${t.constructor.name} does not match expected instance.Did you pass a reference from a different Auth SDK?`)}function Lm(e,...t){if(typeof e!="string"){const n=t[0],i=[...t.slice(1)];return i[0]&&(i[0].appName=e.name),e._errorFactory.create(n,...i)}return eb.create(e,...t)}function be(e,t,...n){if(!e)throw Lm(t,...n)}function $r(e){const t="INTERNAL ASSERTION FAILED: "+e;throw Vc(t),new Error(t)}function Xr(e,t){e||$r(t)}/** 462 * @license 463 * Copyright 2020 Google LLC 464 * 465 * Licensed under the Apache License, Version 2.0 (the "License"); 466 * you may not use this file except in compliance with the License. 467 * You may obtain a copy of the License at 468 * 469 * http://www.apache.org/licenses/LICENSE-2.0 470 * 471 * Unless required by applicable law or agreed to in writing, software 472 * distributed under the License is distributed on an "AS IS" BASIS, 473 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 474 * See the License for the specific language governing permissions and 475 * limitations under the License. 476 */function Cp(){var e;return typeof self<"u"&&((e=self.location)===null||e===void 0?void 0:e.href)||""}function r3(){return w1()==="http:"||w1()==="https:"}function w1(){var e;return typeof self<"u"&&((e=self.location)===null||e===void 0?void 0:e.protocol)||null}/** 477 * @license 478 * Copyright 2020 Google LLC 479 * 480 * Licensed under the Apache License, Version 2.0 (the "License");
481 * you may not use this file except in compliance with the License. 482 * You may obtain a copy of the License at 483 * 484 * http://www.apache.org/licenses/LICENSE-2.0 485 * 486 * Unless required by applicable law or agreed to in writing, software 487 * distributed under the License is distributed on an "AS IS" BASIS, 488 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 489 * See the License for the specific language governing permissions and 490 * limitations under the License. 491 */function i3(){return typeof navigator<"u"&&navigator&&"onLine"in navigator&&typeof navigator.onLine=="boolean"&&(r3()||D5()||"connection"in navigator)?navigator.onLine:!0}function s3(){if(typeof navigator>"u")return null;const e=navigator;return e.languages&&e.languages[0]||e.language||null}/** 492 * @license 493 * Copyright 2020 Google LLC 494 * 495 * Licensed under the Apache License, Version 2.0 (the "License"); 496 * you may not use this file except in compliance with the License. 497 * You may obtain a copy of the License at 498 * 499 * http://www.apache.org/licenses/LICENSE-2.0 500 * 501 * Unless required by applicable law or agreed to in writing, software 502 * distributed under the License is distributed on an "AS IS" BASIS, 503 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 504 * See the License for the specific language governing permissions and 505 * limitations under the License. 506 */class Ql{constructor(t,n){this.shortDelay=t,this.longDelay=n,Xr(n>t,"Short delay should be less than long delay!"),this.isMobile=N5()||L5()}get(){return i3()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}/** 507 * @license 508 * Copyright 2020 Google LLC 509 * 510 * Licensed under the Apache License, Version 2.0 (the "License"); 511 * you may not use this file except in compliance with the License. 512 * You may obtain a copy of the License at 513 * 514 * http://www.apache.org/licenses/LICENSE-2.0 515 * 516 * Unless required by applicable law or agreed to in writing, software 517 * distributed under the License is distributed on an "AS IS" BASIS, 518 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 519 * See the License for the specific language governing permissions and 520 * limitations under the License. 521 */function Mm(e,t){Xr(e.emulator,"Emulator should always be set here");const{url:n}=e.emulator;return t?`${n}${t.startsWith("/")?t.slice(1):t}`:n}/** 522 * @license 523 * Copyright 2020 Google LLC 524 * 525 * Licensed under the Apache License, Version 2.0 (the "License"); 526 * you may not use this file except in compliance with the License. 527 * You may obtain a copy of the License at 528 * 529 * http://www.apache.org/licenses/LICENSE-2.0 530 * 531 * Unless required by applicable law or agreed to in writing, software 532 * distributed under the License is distributed on an "AS IS" BASIS, 533 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 534 * See the License for the specific language governing permissions and 535 * limitations under the License. 536 */class tb{static initialize(t,n,i){this.fetchImpl=t,n&&(this.headersImpl=n),i&&(this.responseImpl=i)}static fetch(){if(this.fetchImpl)return this.fetchImpl;if(typeof self<"u"&&"fetch"in self)return self.fetch;if(typeof globalThis<"u"&&globalThis.fetch)return globalThis.fetch;if(typeof fetch<"u")return fetch;$r("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){if(this.headersImpl)return this.headersImpl;if(typeof self<"u"&&"Headers"in self)return self.Headers;if(typeof globalThis<"u"&&globalThis.Headers)return globalThis.Headers;if(typeof Headers<"u")return Headers;$r("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){if(this.responseImpl)return this.responseImpl;if(typeof self<"u"&&"Response"in self)return self.Response;if(typeof globalThis<"u"&&globalThis.Response)return globalThis.Response;if(typeof Response<"u")return Response;$r("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}/** 537 * @license 538 * Copyright 2020 Google LLC 539 * 540 * Licensed under the Apache License, Version 2.0 (the "License");
541 * you may not use this file except in compliance with the License. 542 * You may obtain a copy of the License at 543 * 544 * http://www.apache.org/licenses/LICENSE-2.0 545 * 546 * Unless required by applicable law or agreed to in writing, software 547 * distributed under the License is distributed on an "AS IS" BASIS, 548 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 549 * See the License for the specific language governing permissions and 550 * limitations under the License. 551 */const o3={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"};/** 552 * @license 553 * Copyright 2020 Google LLC 554 * 555 * Licensed under the Apache License, Version 2.0 (the "License"); 556 * you may not use this file except in compliance with the License. 557 * You may obtain a copy of the License at 558 * 559 * http://www.apache.org/licenses/LICENSE-2.0 560 * 561 * Unless required by applicable law or agreed to in writing, software 562 * distributed under the License is distributed on an "AS IS" BASIS, 563 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 564 * See the License for the specific language governing permissions and 565 * limitations under the License. 566 */const a3=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],l3=new Ql(3e4,6e4);function Vi(e,t){return e.tenantId&&!t.tenantId?Object.assign(Object.assign({},t),{tenantId:e.tenantId}):t}async function Bi(e,t,n,i,o={}){return nb(e,o,async()=>{let l={},c={};i&&(t==="GET"?c=i:l={body:JSON.stringify(i)});const f=Jl(Object.assign({key:e.config.apiKey},c)).slice(1),h=await e._getAdditionalHeaders();h["Content-Type"]="application/json",e.languageCode&&(h["X-Firebase-Locale"]=e.languageCode);const m=Object.assign({method:t,headers:h},l);return O5()||(m.referrerPolicy="no-referrer"),e.emulatorConfig&&Nd(e.emulatorConfig.host)&&(m.credentials="include"),tb.fetch()(await rb(e,e.config.apiHost,n,f),m)})}async function nb(e,t,n){e._canInitEmulator=!1;const i=Object.assign(Object.assign({},o3),t);try{const o=new c3(e),l=await Promise.race([n(),o.promise]);o.clearNetworkTimeout();const c=await l.json();if("needConfirmation"in c)throw Pc(e,"account-exists-with-different-credential",c);if(l.ok&&!("errorMessage"in c))return c;{const f=l.ok?c.errorMessage:c.error.message,[h,m]=f.split(" : ");if(h==="FEDERATED_USER_ID_ALREADY_LINKED")throw Pc(e,"credential-already-in-use",c);if(h==="EMAIL_EXISTS")throw Pc(e,"email-already-in-use",c);if(h==="USER_DISABLED")throw Pc(e,"user-disabled",c);const v=i[h]||h.toLowerCase().replace(/[_\s]+/g,"-");if(m)throw Dm(e,v,m);An(e,v)}}catch(o){if(o instanceof Qr)throw o;An(e,"network-request-failed",{message:String(o)})}}async function Zl(e,t,n,i,o={}){const l=await Bi(e,t,n,i,o);return"mfaPendingCredential"in l&&An(e,"multi-factor-auth-required",{_serverResponse:l}),l}async function rb(e,t,n,i){const o=`${t}${n}?${i}`,l=e,c=l.config.emulator?Mm(e.config,o):`${e.config.apiScheme}://${o}`;return a3.includes(n)&&(await l._persistenceManagerAvailable,l._getPersistenceType()==="COOKIE")?l._getPersistence()._getFinalTarget(c).toString():c}function u3(e){switch(e){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class c3{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(t){this.auth=t,this.timer=null,this.promise=new Promise((n,i)=>{this.timer=setTimeout(()=>i(Xn(this.auth,"network-request-failed")),l3.get())})}}
566function Pc(e,t,n){const i={appName:e.name};n.email&&(i.email=n.email),n.phoneNumber&&(i.phoneNumber=n.phoneNumber);const o=Xn(e,t,i);return o.customData._tokenResponse=n,o}function x1(e){return e!==void 0&&e.enterprise!==void 0}class d3{constructor(t){if(this.siteKey="",this.recaptchaEnforcementState=[],t.recaptchaKey===void 0)throw new Error("recaptchaKey undefined");this.siteKey=t.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=t.recaptchaEnforcementState}getProviderEnforcementState(t){if(!this.recaptchaEnforcementState||this.recaptchaEnforcementState.length===0)return null;for(const n of this.recaptchaEnforcementState)if(n.provider&&n.provider===t)return u3(n.enforcementState);return null}isProviderEnabled(t){return this.getProviderEnforcementState(t)==="ENFORCE"||this.getProviderEnforcementState(t)==="AUDIT"}isAnyProviderEnabled(){return this.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")||this.isProviderEnabled("PHONE_PROVIDER")}}async function f3(e,t){return Bi(e,"GET","/v2/recaptchaConfig",Vi(e,t))}/** 567 * @license 568 * Copyright 2020 Google LLC 569 * 570 * Licensed under the Apache License, Version 2.0 (the "License"); 571 * you may not use this file except in compliance with the License. 572 * You may obtain a copy of the License at 573 * 574 * http://www.apache.org/licenses/LICENSE-2.0 575 * 576 * Unless required by applicable law or agreed to in writing, software 577 * distributed under the License is distributed on an "AS IS" BASIS, 578 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 579 * See the License for the specific language governing permissions and 580 * limitations under the License. 581 */async function h3(e,t){return Bi(e,"POST","/v1/accounts:delete",t)}async function rd(e,t){return Bi(e,"POST","/v1/accounts:lookup",t)}/** 582 * @license 583 * Copyright 2020 Google LLC 584 * 585 * Licensed under the Apache License, Version 2.0 (the "License"); 586 * you may not use this file except in compliance with the License. 587 * You may obtain a copy of the License at 588 * 589 * http://www.apache.org/licenses/LICENSE-2.0 590 * 591 * Unless required by applicable law or agreed to in writing, software 592 * distributed under the License is distributed on an "AS IS" BASIS, 593 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 594 * See the License for the specific language governing permissions and 595 * limitations under the License. 596 */function xl(e){if(e)try{const t=new Date(Number(e));if(!isNaN(t.getTime()))return t.toUTCString()}catch{}}async function p3(e,t=!1){const n=xr(e),i=await n.getIdToken(t),o=jm(i);be(o&&o.exp&&o.auth_time&&o.iat,n.auth,"internal-error");const l=typeof o.firebase=="object"?o.firebase:void 0,c=l==null?void 0:l.sign_in_provider;return{claims:o,token:i,authTime:xl($h(o.auth_time)),issuedAtTime:xl($h(o.iat)),expirationTime:xl($h(o.exp)),signInProvider:c||null,signInSecondFactor:(l==null?void 0:l.sign_in_second_factor)||null}}function $h(e){return Number(e)*1e3}function jm(e){const[t,n,i]=e.split(".");if(t===void 0||n===void 0||i===void 0)return Vc("JWT malformed, contained fewer than 3 sections"),null;try{const o=US(n);return o?JSON.parse(o):(Vc("Failed to decode base64 JWT payload"),null)}catch(o){return Vc("Caught error parsing JWT payload as JSON",o==null?void 0:o.toString()),null}}function S1(e){const t=jm(e);return be(t,"internal-error"),be(typeof t.exp<"u","internal-error"),be(typeof t.iat<"u","internal-error"),Number(t.exp)-Number(t.iat)}/** 597 * @license 598 * Copyright 2020 Google LLC 599 * 600 * Licensed under the Apache License, Version 2.0 (the "License"); 601 * you may not use this file except in compliance with the License. 602 * You may obtain a copy of the License at 603 * 604 * http://www.apache.org/licenses/LICENSE-2.0 605 * 606 * Unless required by applicable law or agreed to in writing, software 607 * distributed under the License is distributed on an "AS IS" BASIS, 608 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 609 * See the License for the specific language governing permissions and 610 * limitations under the License. 611 */async function Fl(e,t,n=!1){if(n)return t;try{return await t}catch(i){throw i instanceof Qr&&m3(i)&&e.auth.currentUser===e&&await e.auth.signOut(),i}}function m3({code:e}){return e==="auth/user-disabled"||e==="auth/user-token-expired"}/** 612 * @license 613 * Copyright 2020 Google LLC 614 * 615 * Licensed under the Apache License, Version 2.0 (the "License");
616 * you may not use this file except in compliance with the License. 617 * You may obtain a copy of the License at 618 * 619 * http://www.apache.org/licenses/LICENSE-2.0 620 * 621 * Unless required by applicable law or agreed to in writing, software 622 * distributed under the License is distributed on an "AS IS" BASIS, 623 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 624 * See the License for the specific language governing permissions and 625 * limitations under the License. 626 */class g3{constructor(t){this.user=t,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,this.timerId!==null&&clearTimeout(this.timerId))}getInterval(t){var n;if(t){const i=this.errorBackoff;return this.errorBackoff=Math.min(this.errorBackoff*2,96e4),i}else{this.errorBackoff=3e4;const o=((n=this.user.stsTokenManager.expirationTime)!==null&&n!==void 0?n:0)-Date.now()-3e5;return Math.max(0,o)}}schedule(t=!1){if(!this.isRunning)return;const n=this.getInterval(t);this.timerId=setTimeout(async()=>{await this.iteration()},n)}async iteration(){try{await this.user.getIdToken(!0)}catch(t){(t==null?void 0:t.code)==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()}}/** 627 * @license 628 * Copyright 2020 Google LLC 629 * 630 * Licensed under the Apache License, Version 2.0 (the "License"); 631 * you may not use this file except in compliance with the License. 632 * You may obtain a copy of the License at 633 * 634 * http://www.apache.org/licenses/LICENSE-2.0 635 * 636 * Unless required by applicable law or agreed to in writing, software 637 * distributed under the License is distributed on an "AS IS" BASIS, 638 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 639 * See the License for the specific language governing permissions and 640 * limitations under the License. 641 */class _p{constructor(t,n){this.createdAt=t,this.lastLoginAt=n,this._initializeTime()}_initializeTime(){this.lastSignInTime=xl(this.lastLoginAt),this.creationTime=xl(this.createdAt)}_copy(t){this.createdAt=t.createdAt,this.lastLoginAt=t.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}/** 642 * @license 643 * Copyright 2019 Google LLC 644 * 645 * Licensed under the Apache License, Version 2.0 (the "License"); 646 * you may not use this file except in compliance with the License. 647 * You may obtain a copy of the License at 648 * 649 * http://www.apache.org/licenses/LICENSE-2.0 650 * 651 * Unless required by applicable law or agreed to in writing, software 652 * distributed under the License is distributed on an "AS IS" BASIS, 653 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 654 * See the License for the specific language governing permissions and 655 * limitations under the License. 656 */async function id(e){var t;const n=e.auth,i=await e.getIdToken(),o=await Fl(e,rd(n,{idToken:i}));be(o==null?void 0:o.users.length,n,"internal-error");const l=o.users[0];e._notifyReloadListener(l);
656const c=!((t=l.providerUserInfo)===null||t===void 0)&&t.length?ib(l.providerUserInfo):[],f=v3(e.providerData,c),h=e.isAnonymous,m=!(e.email&&l.passwordHash)&&!(f!=null&&f.length),v=h?m:!1,S={uid:l.localId,displayName:l.displayName||null,photoURL:l.photoUrl||null,email:l.email||null,emailVerified:l.emailVerified||!1,phoneNumber:l.phoneNumber||null,tenantId:l.tenantId||null,providerData:f,metadata:new _p(l.createdAt,l.lastLoginAt),isAnonymous:v};Object.assign(e,S)}async function y3(e){const t=xr(e);await id(t),await t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)}function v3(e,t){return[...e.filter(i=>!t.some(o=>o.providerId===i.providerId)),...t]}function ib(e){return e.map(t=>{var{providerId:n}=t,i=Om(t,["providerId"]);return{providerId:n,uid:i.rawId||"",displayName:i.displayName||null,email:i.email||null,phoneNumber:i.phoneNumber||null,photoURL:i.photoUrl||null}})}/** 657 * @license 658 * Copyright 2020 Google LLC 659 * 660 * Licensed under the Apache License, Version 2.0 (the "License"); 661 * you may not use this file except in compliance with the License. 662 * You may obtain a copy of the License at 663 * 664 * http://www.apache.org/licenses/LICENSE-2.0 665 * 666 * Unless required by applicable law or agreed to in writing, software 667 * distributed under the License is distributed on an "AS IS" BASIS, 668 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 669 * See the License for the specific language governing permissions and 670 * limitations under the License. 671 */async function w3(e,t){const n=await nb(e,{},async()=>{const i=Jl({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:o,apiKey:l}=e.config,c=await rb(e,o,"/v1/token",`key=${l}`),f=await e._getAdditionalHeaders();return f["Content-Type"]="application/x-www-form-urlencoded",tb.fetch()(c,{method:"POST",headers:f,body:i})});return{accessToken:n.access_token,expiresIn:n.expires_in,refreshToken:n.refresh_token}}async function x3(e,t){return Bi(e,"POST","/v2/accounts:revokeToken",Vi(e,t))}/** 672 * @license 673 * Copyright 2020 Google LLC 674 * 675 * Licensed under the Apache License, Version 2.0 (the "License"); 676 * you may not use this file except in compliance with the License. 677 * You may obtain a copy of the License at 678 * 679 * http://www.apache.org/licenses/LICENSE-2.0 680 * 681 * Unless required by applicable law or agreed to in writing, software 682 * distributed under the License is distributed on an "AS IS" BASIS, 683 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 684 * See the License for the specific language governing permissions and 685 * limitations under the License. 686 */class Fo{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(t){be(t.idToken,"internal-error"),be(typeof t.idToken<"u","internal-error"),be(typeof t.refreshToken<"u","internal-error");const n="expiresIn"in t&&typeof t.expiresIn<"u"?Number(t.expiresIn):S1(t.idToken);this.updateTokensAndExpiration(t.idToken,t.refreshToken,n)}updateFromIdToken(t){be(t.length!==0,"internal-error");const n=S1(t);this.updateTokensAndExpiration(t,null,n)}async getToken(t,n=!1){return!n&&this.accessToken&&!this.isExpired?this.accessToken:(be(this.refreshToken,t,"user-token-expired"),this.refreshToken?(await this.refresh(t,this.refreshToken),this.accessToken):null)}clearRefreshToken(){this.refreshToken=null}async refresh(t,n){const{accessToken:i,refreshToken:o,expiresIn:l}=await w3(t,n);this.updateTokensAndExpiration(i,o,Number(l))}updateTokensAndExpiration(t,n,i){this.refreshToken=n||null,this.accessToken=t||null,this.expirationTime=Date.now()+i*1e3}static fromJSON(t,n){const{refreshToken:i,accessToken:o,expirationTime:l}=n,c=new Fo;return i&&(be(typeof i=="string","internal-error",{appName:t}),c.refreshToken=i),o&&(be(typeof o=="string","internal-error",{appName:t}),c.accessToken=o),l&&(be(typeof l=="number","internal-error",{appName:t}),c.expirationTime=l),c}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(t){this.accessToken=t.accessToken,this.refreshToken=t.refreshToken,this.expirationTime=t.expirationTime}_clone(){return Object.assign(new Fo,this.toJSON())}_performRefresh(){return $r("not implemented")}}/** 687 * @license 688 * Copyright 2020 Google LLC 689 * 690 * Licensed under the Apache License, Version 2.0 (the "License");
691 * you may not use this file except in compliance with the License. 692 * You may obtain a copy of the License at 693 * 694 * http://www.apache.org/licenses/LICENSE-2.0 695 * 696 * Unless required by applicable law or agreed to in writing, software 697 * distributed under the License is distributed on an "AS IS" BASIS, 698 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 699 * See the License for the specific language governing permissions and 700 * limitations under the License. 701 */function Ci(e,t){be(typeof e=="string"||typeof e>"u","internal-error",{appName:t})}class Yn{constructor(t){var{uid:n,auth:i,stsTokenManager:o}=t,l=Om(t,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new g3(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=n,this.auth=i,this.stsTokenManager=o,this.accessToken=o.accessToken,this.displayName=l.displayName||null,this.email=l.email||null,this.emailVerified=l.emailVerified||!1,this.phoneNumber=l.phoneNumber||null,this.photoURL=l.photoURL||null,this.isAnonymous=l.isAnonymous||!1,this.tenantId=l.tenantId||null,this.providerData=l.providerData?[...l.providerData]:[],this.metadata=new _p(l.createdAt||void 0,l.lastLoginAt||void 0)}async getIdToken(t){const n=await Fl(this,this.stsTokenManager.getToken(this.auth,t));return be(n,this.auth,"internal-error"),this.accessToken!==n&&(this.accessToken=n,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),n}getIdTokenResult(t){return p3(this,t)}reload(){return y3(this)}_assign(t){this!==t&&(be(this.uid===t.uid,this.auth,"internal-error"),this.displayName=t.displayName,this.photoURL=t.photoURL,this.email=t.email,this.emailVerified=t.emailVerified,this.phoneNumber=t.phoneNumber,this.isAnonymous=t.isAnonymous,this.tenantId=t.tenantId,this.providerData=t.providerData.map(n=>Object.assign({},n)),this.metadata._copy(t.metadata),this.stsTokenManager._assign(t.stsTokenManager))}_clone(t){const n=new Yn(Object.assign(Object.assign({},this),{auth:t,stsTokenManager:this.stsTokenManager._clone()}));return n.metadata._copy(this.metadata),n}_onReload(t){be(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=t,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(t){this.reloadListener?this.reloadListener(t):this.reloadUserInfo=t}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(t,n=!1){let i=!1;t.idToken&&t.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(t),i=!0),n&&await id(this),await this.auth._persistUserIfCurrent(this),i&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(pn(this.auth.app))return Promise.reject(Gr(this.auth));const t=await this.getIdToken();return await Fl(this,h3(this.auth,{idToken:t})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(t=>Object.assign({},t)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(t,n){var i,o,l,c,f,h,m,v;const S=(i=n.displayName)!==null&&i!==void 0?i:void 0,b=(o=n.email)!==null&&o!==void 0?o:void 0,A=(l=n.phoneNumber)!==null&&l!==void 0?l:void 0,P=(c=n.photoURL)!==null&&c!==void 0?c:void 0,C=(f=n.tenantId)!==null&&f!==void 0?f:void 0,L=(h=n._redirectEventId)!==null&&h!==void 0?h:void 0,M=(m=n.createdAt)!==null&&m!==void 0?m:void 0,U=(v=n.lastLoginAt)!==null&&v!==void 0?v:void 0,{uid:$,emailVerified:q,isAnonymous:J,providerData:ee,stsTokenManager:R}=n;be($&&R,t,"internal-error");const T=Fo.fromJSON(this.name,R);
701be(typeof $=="string",t,"internal-error"),Ci(S,t.name),Ci(b,t.name),be(typeof q=="boolean",t,"internal-error"),be(typeof J=="boolean",t,"internal-error"),Ci(A,t.name),Ci(P,t.name),Ci(C,t.name),Ci(L,t.name),Ci(M,t.name),Ci(U,t.name);const I=new Yn({uid:$,auth:t,email:b,emailVerified:q,displayName:S,isAnonymous:J,photoURL:P,phoneNumber:A,tenantId:C,stsTokenManager:T,createdAt:M,lastLoginAt:U});return ee&&Array.isArray(ee)&&(I.providerData=ee.map(x=>Object.assign({},x))),L&&(I._redirectEventId=L),I}static async _fromIdTokenResponse(t,n,i=!1){const o=new Fo;o.updateFromServerResponse(n);const l=new Yn({uid:n.localId,auth:t,stsTokenManager:o,isAnonymous:i});return await id(l),l}static async _fromGetAccountInfoResponse(t,n,i){const o=n.users[0];be(o.localId!==void 0,"internal-error");const l=o.providerUserInfo!==void 0?ib(o.providerUserInfo):[],c=!(o.email&&o.passwordHash)&&!(l!=null&&l.length),f=new Fo;f.updateFromIdToken(i);const h=new Yn({uid:o.localId,auth:t,stsTokenManager:f,isAnonymous:c}),m={uid:o.localId,displayName:o.displayName||null,photoURL:o.photoUrl||null,email:o.email||null,emailVerified:o.emailVerified||!1,phoneNumber:o.phoneNumber||null,tenantId:o.tenantId||null,providerData:l,metadata:new _p(o.createdAt,o.lastLoginAt),isAnonymous:!(o.email&&o.passwordHash)&&!(l!=null&&l.length)};return Object.assign(h,m),h}}/** 702 * @license 703 * Copyright 2020 Google LLC 704 * 705 * Licensed under the Apache License, Version 2.0 (the "License"); 706 * you may not use this file except in compliance with the License. 707 * You may obtain a copy of the License at 708 * 709 * http://www.apache.org/licenses/LICENSE-2.0 710 * 711 * Unless required by applicable law or agreed to in writing, software 712 * distributed under the License is distributed on an "AS IS" BASIS, 713 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 714 * See the License for the specific language governing permissions and 715 * limitations under the License. 716 */const b1=new Map;function zr(e){Xr(e instanceof Function,"Expected a class definition");let t=b1.get(e);return t?(Xr(t instanceof e,"Instance stored in cache mismatched with class"),t):(t=new e,b1.set(e,t),t)}/** 717 * @license 718 * Copyright 2019 Google LLC 719 * 720 * Licensed under the Apache License, Version 2.0 (the "License"); 721 * you may not use this file except in compliance with the License. 722 * You may obtain a copy of the License at 723 * 724 * http://www.apache.org/licenses/LICENSE-2.0 725 * 726 * Unless required by applicable law or agreed to in writing, software 727 * distributed under the License is distributed on an "AS IS" BASIS, 728 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 729 * See the License for the specific language governing permissions and 730 * limitations under the License. 731 */class sb{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(t,n){this.storage[t]=n}async _get(t){const n=this.storage[t];return n===void 0?null:n}async _remove(t){delete this.storage[t]}_addListener(t,n){}_removeListener(t,n){}}sb.type="NONE";const k1=sb;/** 732 * @license 733 * Copyright 2019 Google LLC 734 * 735 * Licensed under the Apache License, Version 2.0 (the "License"); 736 * you may not use this file except in compliance with the License. 737 * You may obtain a copy of the License at 738 * 739 * http://www.apache.org/licenses/LICENSE-2.0 740 * 741 * Unless required by applicable law or agreed to in writing, software 742 * distributed under the License is distributed on an "AS IS" BASIS, 743 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 744 * See the License for the specific language governing permissions and 745 * limitations under the License. 746 */function Bc(e,t,n){return`firebase:${e}:${t}:${n}`}class Vo{constructor(t,n,i){this.persistence=t,this.auth=n,this.userKey=i;const{config:o,name:l}=this.auth;this.fullUserKey=Bc(this.userKey,o.apiKey,l),this.fullPersistenceKey=Bc("persistence",o.apiKey,l),this.boundEventHandler=n._onStorageEvent.bind(n),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(t){return this.persistence._set(this.fullUserKey,t.toJSON())}async getCurrentUser(){const t=await this.persistence._get(this.fullUserKey);if(!t)return null;if(typeof t=="string"){const n=await rd(this.auth,{idToken:t}).catch(()=>{});return n?Yn._fromGetAccountInfoResponse(this.auth,n,t):null}return Yn._fromJSON(this.auth,t)}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(t){if(this.persistence===t)return;const n=await this.getCurrentUser();if(await this.removeCurrentUser(),this.persistence=t,n)return this.setCurrentUser(n)}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(t,n,i="authUser"){if(!n.length)return new Vo(zr(k1),t,i);const o=(await Promise.all(n.map(async m=>{if(await m._isAvailable())return m}))).filter(m=>m);let l=o[0]||zr(k1);const c=Bc(i,t.config.apiKey,t.name);let f=null;for(const m of n)try{const v=await m._get(c);if(v){let S;if(typeof v=="string"){const b=await rd(t,{idToken:v}).catch(()=>{});if(!b)break;S=await Yn._fromGetAccountInfoResponse(t,b,v)}else S=Yn._fromJSON(t,v);m!==l&&(f=S),l=m;break}}catch{}const h=o.filter(m=>m._shouldAllowMigration);return!l._shouldAllowMigration||!h.length?new Vo(l,t,i):(l=h[0],f&&await l._set(c,f.toJSON()),await Promise.all(n.map(async m=>{if(m!==l)try{await m._remove(c)}catch{}})),new Vo(l,t,i))}}/** 747 * @license 748 * Copyright 2020 Google LLC 749 * 750 * Licensed under the Apache License, Version 2.0 (the "License");
751 * you may not use this file except in compliance with the License. 752 * You may obtain a copy of the License at 753 * 754 * http://www.apache.org/licenses/LICENSE-2.0 755 * 756 * Unless required by applicable law or agreed to in writing, software 757 * distributed under the License is distributed on an "AS IS" BASIS, 758 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 759 * See the License for the specific language governing permissions and 760 * limitations under the License. 761 */function E1(e){const t=e.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";if(ub(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(ob(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(db(t))return"Blackberry";if(fb(t))return"Webos";if(ab(t))return"Safari";if((t.includes("chrome/")||lb(t))&&!t.includes("edge/"))return"Chrome";if(cb(t))return"Android";{const n=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,i=e.match(n);if((i==null?void 0:i.length)===2)return i[1]}return"Other"}function ob(e=Gt()){return/firefox\//i.test(e)}function ab(e=Gt()){const t=e.toLowerCase();return t.includes("safari/")&&!t.includes("chrome/")&&!t.includes("crios/")&&!t.includes("android")}function lb(e=Gt()){return/crios\//i.test(e)}function ub(e=Gt()){return/iemobile/i.test(e)}function cb(e=Gt()){return/android/i.test(e)}function db(e=Gt()){return/blackberry/i.test(e)}function fb(e=Gt()){return/webos/i.test(e)}function Fm(e=Gt()){return/iphone|ipad|ipod/i.test(e)||/macintosh/i.test(e)&&/mobile/i.test(e)}function S3(e=Gt()){var t;return Fm(e)&&!!(!((t=window.navigator)===null||t===void 0)&&t.standalone)}function b3(){return M5()&&document.documentMode===10}function hb(e=Gt()){return Fm(e)||cb(e)||fb(e)||db(e)||/windows phone/i.test(e)||ub(e)}/** 762 * @license 763 * Copyright 2020 Google LLC 764 * 765 * Licensed under the Apache License, Version 2.0 (the "License"); 766 * you may not use this file except in compliance with the License. 767 * You may obtain a copy of the License at 768 * 769 * http://www.apache.org/licenses/LICENSE-2.0 770 * 771 * Unless required by applicable law or agreed to in writing, software 772 * distributed under the License is distributed on an "AS IS" BASIS, 773 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 774 * See the License for the specific language governing permissions and 775 * limitations under the License. 776 */function pb(e,t=[]){let n;switch(e){case"Browser":n=E1(Gt());break;case"Worker":n=`${E1(Gt())}-${e}`;break;default:n=e}const i=t.length?t.join(","):"FirebaseCore-web";return`${n}/JsCore/${Zo}/${i}`}/** 777 * @license 778 * Copyright 2022 Google LLC 779 * 780 * Licensed under the Apache License, Version 2.0 (the "License"); 781 * you may not use this file except in compliance with the License. 782 * You may obtain a copy of the License at 783 * 784 * http://www.apache.org/licenses/LICENSE-2.0 785 * 786 * Unless required by applicable law or agreed to in writing, software 787 * distributed under the License is distributed on an "AS IS" BASIS, 788 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 789 * See the License for the specific language governing permissions and 790 * limitations under the License. 791 */class k3{constructor(t){this.auth=t,this.queue=[]}pushCallback(t,n){const i=l=>new Promise((c,f)=>{try{const h=t(l);c(h)}catch(h){f(h)}});i.onAbort=n,this.queue.push(i);const o=this.queue.length-1;return()=>{this.queue[o]=()=>Promise.resolve()}}async runMiddleware(t){if(this.auth.currentUser===t)return;const n=[];try{for(const i of this.queue)await i(t),i.onAbort&&n.push(i.onAbort)}catch(i){n.reverse();for(const o of n)try{o()}catch{}throw this.auth._errorFactory.create("login-blocked",{originalMessage:i==null?void 0:i.message})}}}/** 792 * @license 793 * Copyright 2023 Google LLC 794 * 795 * Licensed under the Apache License, Version 2.0 (the "License"); 796 * you may not use this file except in compliance with the License. 797 * You may obtain a copy of the License at 798 * 799 * http://www.apache.org/licenses/LICENSE-2.0 800 * 801 * Unless required by applicable law or agreed to in writing, softw
801are 802 * distributed under the License is distributed on an "AS IS" BASIS, 803 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 804 * See the License for the specific language governing permissions and 805 * limitations under the License. 806 */async function E3(e,t={}){return Bi(e,"GET","/v2/passwordPolicy",Vi(e,t))}/** 807 * @license 808 * Copyright 2023 Google LLC 809 * 810 * Licensed under the Apache License, Version 2.0 (the "License"); 811 * you may not use this file except in compliance with the License. 812 * You may obtain a copy of the License at 813 * 814 * http://www.apache.org/licenses/LICENSE-2.0 815 * 816 * Unless required by applicable law or agreed to in writing, software 817 * distributed under the License is distributed on an "AS IS" BASIS, 818 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 819 * See the License for the specific language governing permissions and 820 * limitations under the License. 821 */const T3=6;class C3{constructor(t){var n,i,o,l;const c=t.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=(n=c.minPasswordLength)!==null&&n!==void 0?n:T3,c.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=c.maxPasswordLength),c.containsLowercaseCharacter!==void 0&&(this.customStrengthOptions.containsLowercaseLetter=c.containsLowercaseCharacter),c.containsUppercaseCharacter!==void 0&&(this.customStrengthOptions.containsUppercaseLetter=c.containsUppercaseCharacter),c.containsNumericCharacter!==void 0&&(this.customStrengthOptions.containsNumericCharacter=c.containsNumericCharacter),c.containsNonAlphanumericCharacter!==void 0&&(this.customStrengthOptions.containsNonAlphanumericCharacter=c.containsNonAlphanumericCharacter),this.enforcementState=t.enforcementState,this.enforcementState==="ENFORCEMENT_STATE_UNSPECIFIED"&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=(o=(i=t.allowedNonAlphanumericCharacters)===null||i===void 0?void 0:i.join(""))!==null&&o!==void 0?o:"",this.forceUpgradeOnSignin=(l=t.forceUpgradeOnSignin)!==null&&l!==void 0?l:!1,this.schemaVersion=t.schemaVersion}validatePassword(t){var n,i,o,l,c,f;const h={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(t,h),this.validatePasswordCharacterOptions(t,h),h.isValid&&(h.isValid=(n=h.meetsMinPasswordLength)!==null&&n!==void 0?n:!0),h.isValid&&(h.isValid=(i=h.meetsMaxPasswordLength)!==null&&i!==void 0?i:!0),h.isValid&&(h.isValid=(o=h.containsLowercaseLetter)!==null&&o!==void 0?o:!0),h.isValid&&(h.isValid=(l=h.containsUppercaseLetter)!==null&&l!==void 0?l:!0),h.isValid&&(h.isValid=(c=h.containsNumericCharacter)!==null&&c!==void 0?c:!0),h.isValid&&(h.isValid=(f=h.containsNonAlphanumericCharacter)!==null&&f!==void 0?f:!0),h}validatePasswordLengthOptions(t,n){const i=this.customStrengthOptions.minPasswordLength,o=this.customStrengthOptions.maxPasswordLength;i&&(n.meetsMinPasswordLength=t.length>=i),o&&(n.meetsMaxPasswordLength=t.length<=o)}validatePasswordCharacterOptions(t,n){this.updatePasswordCharacterOptionsStatuses(n,!1,
821!1,!1,!1);let i;for(let o=0;o<t.length;o++)i=t.charAt(o),this.updatePasswordCharacterOptionsStatuses(n,i>="a"&&i<="z",i>="A"&&i<="Z",i>="0"&&i<="9",this.allowedNonAlphanumericCharacters.includes(i))}updatePasswordCharacterOptionsStatuses(t,n,i,o,l){this.customStrengthOptions.containsLowercaseLetter&&(t.containsLowercaseLetter||(t.containsLowercaseLetter=n)),this.customStrengthOptions.containsUppercaseLetter&&(t.containsUppercaseLetter||(t.containsUppercaseLetter=i)),this.customStrengthOptions.containsNumericCharacter&&(t.containsNumericCharacter||(t.containsNumericCharacter=o)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(t.containsNonAlphanumericCharacter||(t.containsNonAlphanumericCharacter=l))}}/** 822 * @license 823 * Copyright 2020 Google LLC 824 * 825 * Licensed under the Apache License, Version 2.0 (the "License"); 826 * you may not use this file except in compliance with the License. 827 * You may obtain a copy of the License at 828 * 829 * http://www.apache.org/licenses/LICENSE-2.0 830 * 831 * Unless required by applicable law or agreed to in writing, software 832 * distributed under the License is distributed on an "AS IS" BASIS, 833 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 834 * See the License for the specific language governing permissions and 835 * limitations under the License. 836 */class _3{constructor(t,n,i,o){this.app=t,this.heartbeatServiceProvider=n,this.appCheckServiceProvider=i,this.config=o,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new T1(this),this.idTokenSubscription=new T1(this),this.beforeStateQueue=new k3(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=eb,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=t.name,this.clientVersion=o.sdkClientVersion,this._persistenceManagerAvailable=new Promise(l=>this._resolvePersistenceManagerAvailable=l)}_initializeWithPersistence(t,n){return n&&(this._popupRedirectResolver=zr(n)),this._initializationPromise=this.queue(async()=>{var i,o,l;if(!this._deleted&&(this.persistenceManager=await Vo.create(this,t),(i=this._resolvePersistenceManagerAvailable)===null||i===void 0||i.call(this),!this._deleted)){if(!((o=this._popupRedirectResolver)===null||o===void 0)&&o._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch{}await this.initializeCurrentUser(n),this.lastNotifiedUid=((l=this.currentUser)===null||l===void 0?void 0:l.uid)||null,!this._deleted&&(this._isInitialized=!0)}}),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const t=await this.assertedPersistence.getCurrentUser();if(!(!this.currentUser&&!t)){if(this.currentUser&&t&&this.currentUser.uid===t.uid){this._currentUser._assign(t),await this.currentUser.getIdToken();return}await this._updateCurrentUser(t,!0)}}async initializeCurrentUserFromIdToken(t){try{const n=await rd(this,{idToken:t}),i=await Yn._fromGetAccountInfoResponse(this,n,t);await this.directlySetCurrentUser(i)}catch(n){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",n),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(t){var n;if(pn(this.app)){const c=this.app.settings.authIdToken;return c?new Promise(f=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(c).then(f,f))}):this.directlySetCurrentUser(null)}const i=await this.assertedPersistence.getCurrentUser();let o=i,l=!1;if(t&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const c=(n=this.redirectUser)===null||n===void 0?void 0:n._redirectEventId,f=o==null?void 0:o._redirectEventId,h=await this.tryRedirectSignIn(t);(!c||c===f)&&(h!=null&&h.user)&&(o=h.user,l=!0)}if(!o)return this.directlySetCurrentUser(null);
836if(!o._redirectEventId){if(l)try{await this.beforeStateQueue.runMiddleware(o)}catch(c){o=i,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(c))}return o?this.reloadAndSetCurrentUserOrClear(o):this.directlySetCurrentUser(null)}return be(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===o._redirectEventId?this.directlySetCurrentUser(o):this.reloadAndSetCurrentUserOrClear(o)}async tryRedirectSignIn(t){let n=null;try{n=await this._popupRedirectResolver._completeRedirectFn(this,t,!0)}catch{await this._setRedirectUser(null)}return n}async reloadAndSetCurrentUserOrClear(t){try{await id(t)}catch(n){if((n==null?void 0:n.code)!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(t)}useDeviceLanguage(){this.languageCode=s3()}async _delete(){this._deleted=!0}async updateCurrentUser(t){if(pn(this.app))return Promise.reject(Gr(this));const n=t?xr(t):null;return n&&be(n.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(n&&n._clone(this))}async _updateCurrentUser(t,n=!1){if(!this._deleted)return t&&be(this.tenantId===t.tenantId,this,"tenant-id-mismatch"),n||await this.beforeStateQueue.runMiddleware(t),this.queue(async()=>{await this.directlySetCurrentUser(t),this.notifyAuthListeners()})}async signOut(){return pn(this.app)?Promise.reject(Gr(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(t){return pn(this.app)?Promise.reject(Gr(this)):this.queue(async()=>{await this.assertedPersistence.setPersistence(zr(t))})}_getRecaptchaConfig(){return this.tenantId==null?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(t){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const n=this._getPasswordPolicyInternal();return n.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):n.validatePassword(t)}_getPasswordPolicyInternal(){return this.tenantId===null?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const t=await E3(this),n=new C3(t);this.tenantId===null?this._projectPasswordPolicy=n:this._tenantPasswordPolicies[this.tenantId]=n}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(t){this._errorFactory=new Xl("auth","Firebase",t())}onAuthStateChanged(t,n,i){return this.registerStateListener(this.authStateSubscription,t,n,i)}beforeAuthStateChanged(t,n){return this.beforeStateQueue.pushCallback(t,n)}onIdTokenChanged(t,n,i){return this.registerStateListener(this.idTokenSubscription,t,n,i)}authStateReady(){return new Promise((t,n)=>{if(this.currentUser)t();else{const i=this.onAuthStateChanged(()=>{i(),t()},n)}})}async revokeAccessToken(t){if(this.currentUser){const n=await this.currentUser.getIdToken(),i={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:t,idToken:n};this.tenantId!=null&&(i.tenantId=this.tenantId),await x3(this,i)}}toJSON(){var t;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:(t=this._currentUser)===null||t===void 0?void 0:t.toJSON()}}async _setRedirectUser(t,n){const i=await this.getOrInitRedirectPersistenceManager(n);return t===null?i.removeCurrentUser():i.setCurrentUser(t)}async getOrInitRedirectPersistenceManager(t){if(!this.redirectPersistenceManager){const n=t&&zr(t)||this._popupRedirectResolver;be(n,this,"argument-error"),this.redirectPersistenceManager=await Vo.create(this,[zr(n._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(t){var n,i;return this._isInitialized&&await this.queue(async()=>{}),((n=this._currentUser)===null||n===void 0?void 0:n._redirectEventId)===t?this._currentUser:((i=this.redirectUser)===null||i===void 0?void 0:i._redirectEventId)===t?this.redirectUser:null}async _persistUserIfCurrent(t){if(t===this.currentUser)return this.queue(async()=>this.directlySetCurrentUser(t))}_notifyListenersIfCurrent(t){t===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var t,n;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const i=(n=(t=this.currentUser)===null||t===void 0?void 0:t.uid)!==null&&n!==void 0?n:null;this.lastNotifiedUid!==i&&(this.lastNotifiedUid=i,this.authStateSubscription.next(this.currentUser))}registerStateListener(t,n,i,o){if(this._deleted)return()=>{};const l=typeof n=="function"?n:n.next.bind(n);let c=!1;const f=this._isInitialized?Promise.resolve():this._initializationPromise;if(be(f,this,"internal-error"),f.then(()=>{c||l(this.currentUser)}),typeof n=="function"){const h=t.addObserver(n,i,o);return()=>{c=!0,h()}}else{const h=t.addObserver(n);return()=>{c=!0,h()}}}async directlySetCurrentUser(t){this.currentUser&&this.currentUser!==t&&this._currentUser._stopProactiveRefresh(),t&&this.isProactiveRefreshEnabled&&t._startProactiveRefresh(),this.currentUser=t,t?await this.assertedPersistence.setCurrentUser(t):await this.assertedPersistence.removeCurrentUser()}queue(t){return this.operations=this.operations.then(t,t),this.operations}get assertedPersistence(){return be(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(t){!t||this.frameworks.includes(t)||(this.frameworks.push(t),this.frameworks.sort(),this.clientVersion=pb(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var t;const n={"X-Client-Version":this.clientVersion};this.app.options.appId&&(n["X-Firebase-gmpid"]=this.app.options.appId);const i=await((t=this.heartbeatServiceProvider.getImmediate({optional:!0}))===null||t===void 0?void 0:t.getHeartbeatsHeader());i&&(n["X-Firebase-Client"]=i);const o=await this._getAppCheckToken();return o&&(n["X-Firebase-AppCheck"]=o),n}async _getAppCheckToken(){var t;if(pn(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;const n=await((t=this.appCheckServiceProvider.getImmediate({optional:!0}))===null||t===void 0?void 0:t.getToken());return n!=null&&n.error&&t3(`Error while retrieving App Check token: ${n.error}`),n==null?void 0:n.token}}function Ui(e){return xr(e)}class T1{constructor(t){this.auth=t,this.observer=null,this.addObserver=z5(n=>this.observer=n)}get next(){return be(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}/** 837 * @license 838 * Copyright 2020 Google LLC 839 * 840 * Licensed under the Apache License, Version 2.0 (the "License");
841 * you may not use this file except in compliance with the License. 842 * You may obtain a copy of the License at 843 * 844 * http://www.apache.org/licenses/LICENSE-2.0 845 * 846 * Unless required by applicable law or agreed to in writing, software 847 * distributed under the License is distributed on an "AS IS" BASIS, 848 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 849 * See the License for the specific language governing permissions and 850 * limitations under the License. 851 */let Od={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function P3(e){Od=e}function mb(e){return Od.loadJS(e)}function A3(){return Od.recaptchaEnterpriseScript}function I3(){return Od.gapiScript}function R3(e){return`__${e}${Math.floor(Math.random()*1e6)}`}class N3{constructor(){this.enterprise=new O3}ready(t){t()}execute(t,n){return Promise.resolve("token")}render(t,n){return""}}class O3{ready(t){t()}execute(t,n){return Promise.resolve("token")}render(t,n){return""}}const D3="recaptcha-enterprise",gb="NO_RECAPTCHA";class L3{constructor(t){this.type=D3,this.auth=Ui(t)}async verify(t="verify",n=!1){async function i(l){if(!n){if(l.tenantId==null&&l._agentRecaptchaConfig!=null)return l._agentRecaptchaConfig.siteKey;if(l.tenantId!=null&&l._tenantRecaptchaConfigs[l.tenantId]!==void 0)return l._tenantRecaptchaConfigs[l.tenantId].siteKey}return new Promise(async(c,f)=>{f3(l,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(h=>{if(h.recaptchaKey===void 0)f(new Error("recaptcha Enterprise site key undefined"));else{const m=new d3(h);return l.tenantId==null?l._agentRecaptchaConfig=m:l._tenantRecaptchaConfigs[l.tenantId]=m,c(m.siteKey)}}).catch(h=>{f(h)})})}function o(l,c,f){const h=window.grecaptcha;x1(h)?h.enterprise.ready(()=>{h.enterprise.execute(l,{action:t}).then(m=>{c(m)}).catch(()=>{c(gb)})}):f(Error("No reCAPTCHA enterprise script loaded."))}return this.auth.settings.appVerificationDisabledForTesting?new N3().execute("siteKey",{action:"verify"}):new Promise((l,c)=>{i(this.auth).then(f=>{if(!n&&x1(window.grecaptcha))o(f,l,c);else{if(typeof window>"u"){c(new Error("RecaptchaVerifier is only supported in browser"));return}let h=A3();h.length!==0&&(h+=f),mb(h).then(()=>{o(f,l,c)}).catch(m=>{c(m)})}}).catch(f=>{c(f)})})}}async function C1(e,t,n,i=!1,o=!1){const l=new L3(e);let c;if(o)c=gb;else try{c=await l.verify(n)}catch{c=await l.verify(n,!0)}const f=Object.assign({},t);if(n==="mfaSmsEnrollment"||n==="mfaSmsSignIn"){if("phoneEnrollmentInfo"in f){const h=f.phoneEnrollmentInfo.phoneNumber,m=f.phoneEnrollmentInfo.recaptchaToken;Object.assign(f,{phoneEnrollmentInfo:{phoneNumber:h,recaptchaToken:m,captchaResponse:c,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}else if("phoneSignInInfo"in f){const h=f.phoneSignInInfo.recaptchaToken;Object.assign(f,{phoneSignInInfo:{recaptchaToken:h,captchaResponse:c,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}return f}return i?Object.assign(f,{captchaResp:c}):Object.assign(f,{captchaResponse:c}),Object.assign(f,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(f,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),f}async function Pp(e,t,n,i,o){var l;if(!((l=e._getRecaptchaConfig())===null||l===void 0)&&l.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const c=await C1(e,t,n,n==="getOobCode");return i(e,c)}else return i(e,t).catch(async c=>{if(c.code==="auth/missing-recaptcha-token"){console.log(`${n} is protected by reCAPTCHA Enterprise for this project. Automatically triggering the reCAPTCHA flow and restarting the flow.`);const f=await C1(e,t,n,n==="getOobCode");return i(e,f)}else return Promise.reject(c)})}/** 852 * @license 853 * Copyright 2020 Google LLC 854 * 855 * Licensed under the Apache License, Version 2.0 (the "License"); 856 * you may not use this file except in compliance with the License. 857 * You may obtain a copy of the License at 858 * 859 * http://www.apache.org/licenses/LICENSE-2.0 860 * 861 * Unless required by applicable law or agreed to in writing, software 862 * distributed under the License is distributed on an "AS IS" BASIS, 863 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 864 * See the License for the specific language governing permissions and 865 * limitations under the License. 866 */function M3(e,t){const n=Nm(e,"auth");if(n.isInitialized()){const o=n.getImmediate(),l=n.getOptions();if(_s(l,t??{}))return o;An(o,"already-initialized")}return n.initialize({options:t})}function j3(e,t){const n=(t==null?void 0:t.persistence)||[],i=(Array.isArray(n)?n:[n]).map(zr);t!=null&&t.errorMap&&e._updateErrorMap(t.errorMap),e._initializeWithPersistence(i,t==null?void 0:t.popupRedirectResolver)}function F3(e,t,n){const i=Ui(e);be(/^https?:\/\//.test(t),i,"invalid-emulator-scheme");const o=!1,l=yb(t),{host:c,port:f}=V3(t),h=f===null?"":`:${f}`,m={url:`${l}//${c}${h}/`},v=Object.freeze({host:c,port:f,protocol:l.replace(":",""),options:Object.freeze({disableWarnings:o})});if(!i._canInitEmulator){be(i.config.emulator&&i.emulatorConfig,i,"emulator-config-failed"),be(_s(m,i.config.emulator)&&_s(v,i.emulatorConfig),i,"emulator-config-failed");return}i.config.emulator=m,i.emulatorConfig=v,i.settings.appVerificationDisabledForTesting=!0,Nd(c)?(WS(`${l}//${c}${h}`),GS("Auth",!0)):B3()}function yb(e){const t=e.indexOf(":");
866return t<0?"":e.substr(0,t+1)}function V3(e){const t=yb(e),n=/(\/\/)?([^?#/]+)/.exec(e.substr(t.length));if(!n)return{host:"",port:null};const i=n[2].split("@").pop()||"",o=/^(\[[^\]]+\])(:|$)/.exec(i);if(o){const l=o[1];return{host:l,port:_1(i.substr(l.length+1))}}else{const[l,c]=i.split(":");return{host:l,port:_1(c)}}}function _1(e){if(!e)return null;const t=Number(e);return isNaN(t)?null:t}function B3(){function e(){const t=document.createElement("p"),n=t.style;t.innerText="Running in emulator mode. Do not use with production credentials.",n.position="fixed",n.width="100%",n.backgroundColor="#ffffff",n.border=".1em solid #000000",n.color="#b50000",n.bottom="0px",n.left="0px",n.margin="0px",n.zIndex="10000",n.textAlign="center",t.classList.add("firebase-emulator-warning"),document.body.appendChild(t)}typeof console<"u"&&typeof console.info=="function"&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",e):e())}/** 867 * @license 868 * Copyright 2020 Google LLC 869 * 870 * Licensed under the Apache License, Version 2.0 (the "License"); 871 * you may not use this file except in compliance with the License. 872 * You may obtain a copy of the License at 873 * 874 * http://www.apache.org/licenses/LICENSE-2.0 875 * 876 * Unless required by applicable law or agreed to in writing, software 877 * distributed under the License is distributed on an "AS IS" BASIS, 878 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 879 * See the License for the specific language governing permissions and 880 * limitations under the License. 881 */class Vm{constructor(t,n){this.providerId=t,this.signInMethod=n}toJSON(){return $r("not implemented")}_getIdTokenResponse(t){return $r("not implemented")}_linkToIdToken(t,n){return $r("not implemented")}_getReauthenticationResolver(t){return $r("not implemented")}}async function U3(e,t){return Bi(e,"POST","/v1/accounts:signUp",t)}/** 882 * @license 883 * Copyright 2020 Google LLC 884 * 885 * Licensed under the Apache License, Version 2.0 (the "License"); 886 * you may not use this file except in compliance with the License. 887 * You may obtain a copy of the License at 888 * 889 * http://www.apache.org/licenses/LICENSE-2.0 890 * 891 * Unless required by applicable law or agreed to in writing, software 892 * distributed under the License is distributed on an "AS IS" BASIS, 893 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 894 * See the License for the specific language governing permissions and 895 * limitations under the License. 896 */async function $3(e,t){return Zl(e,"POST","/v1/accounts:signInWithPassword",Vi(e,t))}/** 897 * @license 898 * Copyright 2020 Google LLC 899 * 900 * Licensed under the Apache License, Version 2.0 (the "License"); 901 * you may not use this file except in compliance with the License. 902 * You may obtain a copy of the License at 903 * 904 * http://www.apache.org/licenses/LICENSE-2.0 905 * 906 * Unless required by applicable law or agreed to in writing, software 907 * distributed under the License is distributed on an "AS IS" BASIS, 908 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 909 * See the License for the specific language governing permissions and 910 * limitations under the License. 911 */async function z3(e,t){return Zl(e,"POST","/v1/accounts:signInWithEmailLink",Vi(e,t))}async function H3(e,t){return Zl(e,"POST","/v1/accounts:signInWithEmailLink",Vi(e,t))}/** 912 * @license 913 * Copyright 2020 Google LLC 914 * 915 * Licensed under the Apache License, Version 2.0 (the "License"); 916 * you may not use this file except in compliance with the License. 917 * You may obtain a copy of the License at 918 * 919 * http://www.apache.org/licenses/LICENSE-2.0 920 * 921 * Unless required by applicable law or agreed to in writing, software 922 * distributed under the License is distributed on an "AS IS" BASIS, 923 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 924 * See the License for the specific language governing permissions and 925 * limitations under the License. 926 */class Vl extends Vm{constructor(t,n,i,o=null){super("password",i),this._email=t,this._password=n,this._tenantId=o}static _fromEmailAndPassword(t,n){return new Vl(t,n,"password")}static _fromEmailAndCode(t,n,i=null){return new Vl(t,n,"emailLink",i)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(t){const n=typeof t=="string"?JSON.parse(t):t;if(n!=null&&n.email&&(n!=null&&n.password)){if(n.signInMethod==="password")return this._fromEmailAndPassword(n.email,n.password);if(n.signInMethod==="emailLink")return this._fromEmailAndCode(n.email,n.password,n.tenantId)}return null}async _getIdTokenResponse(t){switch(this.signInMethod){case"password":const n={returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Pp(t,n,"signInWithPassword",$3);case"emailLink":return z3(t,{email:this._email,oobCode:this._password});default:An(t,"internal-error")}}async _linkToIdToken(t,n){switch(this.signInMethod){case"password":const i={idToken:n,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"};return Pp(t,i,"signUpPassword",U3);case"emailLink":return H3(t,{idToken:n,email:this._email,oobCode:this._password});default:An(t,"internal-error")}}_getReauthenticationResolver(t){return this._getIdTokenResponse(t)}}/** 927 * @license 928 * Copyright 2020 Google LLC 929 * 930 * Licensed under the Apache License, Version 2.0 (the "License");
931 * you may not use this file except in compliance with the License. 932 * You may obtain a copy of the License at 933 * 934 * http://www.apache.org/licenses/LICENSE-2.0 935 * 936 * Unless required by applicable law or agreed to in writing, software 937 * distributed under the License is distributed on an "AS IS" BASIS, 938 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 939 * See the License for the specific language governing permissions and 940 * limitations under the License. 941 */async function Bo(e,t){return Zl(e,"POST","/v1/accounts:signInWithIdp",Vi(e,t))}/** 942 * @license 943 * Copyright 2020 Google LLC 944 * 945 * Licensed under the Apache License, Version 2.0 (the "License"); 946 * you may not use this file except in compliance with the License. 947 * You may obtain a copy of the License at 948 * 949 * http://www.apache.org/licenses/LICENSE-2.0 950 * 951 * Unless required by applicable law or agreed to in writing, software 952 * distributed under the License is distributed on an "AS IS" BASIS, 953 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 954 * See the License for the specific language governing permissions and 955 * limitations under the License. 956 */const W3="http://localhost";class As extends Vm{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(t){const n=new As(t.providerId,t.signInMethod);return t.idToken||t.accessToken?(t.idToken&&(n.idToken=t.idToken),t.accessToken&&(n.accessToken=t.accessToken),t.nonce&&!t.pendingToken&&(n.nonce=t.nonce),t.pendingToken&&(n.pendingToken=t.pendingToken)):t.oauthToken&&t.oauthTokenSecret?(n.accessToken=t.oauthToken,n.secret=t.oauthTokenSecret):An("argument-error"),n}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
956once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(t){const n=typeof t=="string"?JSON.parse(t):t,{providerId:i,signInMethod:o}=n,l=Om(n,["providerId","signInMethod"]);if(!i||!o)return null;const c=new As(i,o);return c.idToken=l.idToken||void 0,c.accessToken=l.accessToken||void 0,c.secret=l.secret,c.nonce=l.nonce,c.pendingToken=l.pendingToken||null,c}_getIdTokenResponse(t){const n=this.buildRequest();return Bo(t,n)}_linkToIdToken(t,n){const i=this.buildRequest();return i.idToken=n,Bo(t,i)}_getReauthenticationResolver(t){const n=this.buildRequest();return n.autoCreate=!1,Bo(t,n)}buildRequest(){const t={requestUri:W3,returnSecureToken:!0};if(this.pendingToken)t.pendingToken=this.pendingToken;else{const n={};this.idToken&&(n.id_token=this.idToken),this.accessToken&&(n.access_token=this.accessToken),this.secret&&(n.oauth_token_secret=this.secret),n.providerId=this.providerId,this.nonce&&!this.pendingToken&&(n.nonce=this.nonce),t.postBody=Jl(n)}return t}}/** 957 * @license 958 * Copyright 2020 Google LLC 959 * 960 * Licensed under the Apache License, Version 2.0 (the "License"); 961 * you may not use this file except in compliance with the License. 962 * You may obtain a copy of the License at 963 * 964 * http://www.apache.org/licenses/LICENSE-2.0 965 * 966 * Unless required by applicable law or agreed to in writing, software 967 * distributed under the License is distributed on an "AS IS" BASIS, 968 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 969 * See the License for the specific language governing permissions and 970 * limitations under the License. 971 */function G3(e){switch(e){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}function K3(e){const t=dl(fl(e)).link,n=t?dl(fl(t)).deep_link_id:null,i=dl(fl(e)).deep_link_id;return(i?dl(fl(i)).link:null)||i||n||t||e}class Bm{constructor(t){var n,i,o,l,c,f;const h=dl(fl(t)),m=(n=h.apiKey)!==null&&n!==void 0?n:null,v=(i=h.oobCode)!==null&&i!==void 0?i:null,S=G3((o=h.mode)!==null&&o!==void 0?o:null);be(m&&v&&S,"argument-error"),this.apiKey=m,this.operation=S,this.code=v,this.continueUrl=(l=h.continueUrl)!==null&&l!==void 0?l:null,this.languageCode=(c=h.lang)!==null&&c!==void 0?c:null,this.tenantId=(f=h.tenantId)!==null&&f!==void 0?f:null}static parseLink(t){const n=K3(t);try{return new Bm(n)}catch{return null}}}/** 972 * @license 973 * Copyright 2020 Google LLC 974 * 975 * Licensed under the Apache License, Version 2.0 (the "License"); 976 * you may not use this file except in compliance with the License. 977 * You may obtain a copy of the License at 978 * 979 * http://www.apache.org/licenses/LICENSE-2.0 980 * 981 * Unless required by applicable law or agreed to in writing, software 982 * distributed under the License is distributed on an "AS IS" BASIS, 983 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 984 * See the License for the specific language governing permissions and 985 * limitations under the License. 986 */class ea{constructor(){this.providerId=ea.PROVIDER_ID}static credential(t,n){return Vl._fromEmailAndPassword(t,n)}static credentialWithLink(t,n){const i=Bm.parseLink(n);return be(i,"argument-error"),Vl._fromEmailAndCode(t,i.code,i.tenantId)}}ea.PROVIDER_ID="password";ea.EMAIL_PASSWORD_SIGN_IN_METHOD="password";ea.EMAIL_LINK_SIGN_IN_METHOD="emailLink";/** 987 * @license 988 * Copyright 2020 Google LLC 989 * 990 * Licensed under the Apache License, Version 2.0 (the "License"); 991 * you may not use this file except in compliance with the License. 992 * You may obtain a copy of the License at 993 * 994 * http://www.apache.org/licenses/LICENSE-2.0 995 * 996 * Unless required by applicable law or agreed to in writing, software 997 * distributed under the License is distributed on an "AS IS" BASIS, 998 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 999 * See the License for the specific language governing permissions and 1000 * limitations under the License. 1001 */class Um{constructor(t){this.providerId=t,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(t){this.defaultLanguageCode=t}setCustomParameters(t){return this.customParameters=t,this}getCustomParameters(){return this.customParameters}}/** 1002 * @license 1003 * Copyright 2019 Google LLC 1004 * 1005 * Licensed under the Apache License, Version 2.0 (the "License");
1006 * you may not use this file except in compliance with the License. 1007 * You may obtain a copy of the License at 1008 * 1009 * http://www.apache.org/licenses/LICENSE-2.0 1010 * 1011 * Unless required by applicable law or agreed to in writing, software 1012 * distributed under the License is distributed on an "AS IS" BASIS, 1013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1014 * See the License for the specific language governing permissions and 1015 * limitations under the License. 1016 */class eu extends Um{constructor(){super(...arguments),this.scopes=[]}addScope(t){return this.scopes.includes(t)||this.scopes.push(t),this}getScopes(){return[...this.scopes]}}/** 1017 * @license 1018 * Copyright 2020 Google LLC 1019 * 1020 * Licensed under the Apache License, Version 2.0 (the "License"); 1021 * you may not use this file except in compliance with the License. 1022 * You may obtain a copy of the License at 1023 * 1024 * http://www.apache.org/licenses/LICENSE-2.0 1025 * 1026 * Unless required by applicable law or agreed to in writing, software 1027 * distributed under the License is distributed on an "AS IS" BASIS, 1028 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1029 * See the License for the specific language governing permissions and 1030 * limitations under the License. 1031 */class Ai extends eu{constructor(){super("facebook.com")}static credential(t){return As._fromParams({providerId:Ai.PROVIDER_ID,signInMethod:Ai.FACEBOOK_SIGN_IN_METHOD,accessToken:t})}static credentialFromResult(t){return Ai.credentialFromTaggedObject(t)}static credentialFromError(t){return Ai.credentialFromTaggedObject(t.customData||{})}static credentialFromTaggedObject({_tokenResponse:t}){if(!t||!("oauthAccessToken"in t)||!t.oauthAccessToken)return null;try{return Ai.credential(t.oauthAccessToken)}catch{return null}}}Ai.FACEBOOK_SIGN_IN_METHOD="facebook.com";Ai.PROVIDER_ID="facebook.com";/** 1032 * @license 1033 * Copyright 2020 Google LLC 1034 * 1035 * Licensed under the Apache License, Version 2.0 (the "License"); 1036 * you may not use this file except in compliance with the License. 1037 * You may obtain a copy of the License at 1038 * 1039 * http://www.apache.org/licenses/LICENSE-2.0 1040 * 1041 * Unless required by applicable law or agreed to in writing, software 1042 * distributed under the License is distributed on an "AS IS" BASIS, 1043 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1044 * See the License for the specific language governing permissions and 1045 * limitations under the License. 1046 */class Ur extends eu{constructor(){super("google.com"),this.addScope("profile")}static credential(t,n){return As._fromParams({providerId:Ur.PROVIDER_ID,signInMethod:Ur.GOOGLE_SIGN_IN_METHOD,idToken:t,accessToken:n})}static credentialFromResult(t){return Ur.credentialFromTaggedObject(t)}static credentialFromError(t){return Ur.credentialFromTaggedObject(t.customData||{})}static credentialFromTaggedObject({_tokenResponse:t}){if(!t)return null;const{oauthIdToken:n,oauthAccessToken:i}=t;if(!n&&!i)return null;try{return Ur.credential(n,i)}catch{return null}}}Ur.GOOGLE_SIGN_IN_METHOD="google.com";Ur.PROVIDER_ID="google.com";/** 1047 * @license 1048 * Copyright 2020 Google LLC 1049 * 1050 * Licensed under the Apache License, Version 2.0 (the "License"); 1051 * you may not use this file except in compliance with the License. 1052 * You may obtain a copy of the License at 1053 * 1054 * http://www.apache.org/licenses/LICENSE-2.0 1055 * 1056 * Unless required by applicable law or agreed to in writing, software 1057 * distributed under the License is distributed on an "AS IS" BASIS, 1058 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1059 * See the License for the specific language governing permissions and 1060 * limitations under the License. 1061 */class Ii extends eu{constructor(){super("github.com")}static credential(t){return As._fromParams({providerId:Ii.PROVIDER_ID,signInMethod:Ii.GITHUB_SIGN_IN_METHOD,accessToken:t})}static credentialFromResult(t){return Ii.credentialFromTaggedObject(t)}static credentialFromError(t){return Ii.credentialFromTaggedObject(t.customData||{})}static credentialFromTaggedObject({_tokenResponse:t}){if(!t||!("oauthAccessToken"in t)||!t.oauthAccessToken)return null;try{return Ii.credential(t.oauthAccessToken)}catch{return null}}}Ii.GITHUB_SIGN_IN_METHOD="github.com";Ii.PROVIDER_ID="github.com";/** 1062 * @license 1063 * Copyright 2020 Google LLC 1064 * 1065 * Licensed under the Apache License, Version 2.0 (the "License");
1066 * you may not use this file except in compliance with the License. 1067 * You may obtain a copy of the License at 1068 * 1069 * http://www.apache.org/licenses/LICENSE-2.0 1070 * 1071 * Unless required by applicable law or agreed to in writing, software 1072 * distributed under the License is distributed on an "AS IS" BASIS, 1073 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1074 * See the License for the specific language governing permissions and 1075 * limitations under the License. 1076 */class Ri extends eu{constructor(){super("twitter.com")}static credential(t,n){return As._fromParams({providerId:Ri.PROVIDER_ID,signInMethod:Ri.TWITTER_SIGN_IN_METHOD,oauthToken:t,oauthTokenSecret:n})}static credentialFromResult(t){return Ri.credentialFromTaggedObject(t)}static credentialFromError(t){return Ri.credentialFromTaggedObject(t.customData||{})}static credentialFromTaggedObject({_tokenResponse:t}){if(!t)return null;const{oauthAccessToken:n,oauthTokenSecret:i}=t;if(!n||!i)return null;try{return Ri.credential(n,i)}catch{return null}}}Ri.TWITTER_SIGN_IN_METHOD="twitter.com";Ri.PROVIDER_ID="twitter.com";/** 1077 * @license 1078 * Copyright 2020 Google LLC 1079 * 1080 * Licensed under the Apache License, Version 2.0 (the "License"); 1081 * you may not use this file except in compliance with the License. 1082 * You may obtain a copy of the License at 1083 * 1084 * http://www.apache.org/licenses/LICENSE-2.0 1085 * 1086 * Unless required by applicable law or agreed to in writing, software 1087 * distributed under the License is distributed on an "AS IS" BASIS, 1088 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1089 * See the License for the specific language governing permissions and 1090 * limitations under the License. 1091 */async function Y3(e,t){return Zl(e,"POST","/v1/accounts:signUp",Vi(e,t))}/** 1092 * @license 1093 * Copyright 2020 Google LLC 1094 * 1095 * Licensed under the Apache License, Version 2.0 (the "License"); 1096 * you may not use this file except in compliance with the License. 1097 * You may obtain a copy of the License at 1098 * 1099 * http://www.apache.org/licenses/LICENSE-2.0 1100 * 1101 * Unless required by applicable law or agreed to in writing, software 1102 * distributed under the License is distributed on an "AS IS" BASIS, 1103 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1104 * See the License for the specific language governing permissions and 1105 * limitations under the License. 1106 */class Is{constructor(t){this.user=t.user,this.providerId=t.providerId,this._tokenResponse=t._tokenResponse,this.operationType=t.operationType}static async _fromIdTokenResponse(t,n,i,o=!1){const l=await Yn._fromIdTokenResponse(t,i,o),c=P1(i);return new Is({user:l,providerId:c,_tokenResponse:i,operationType:n})}static async _forOperation(t,n,i){await t._updateTokensIfNecessary(i,!0);const o=P1(i);return new Is({user:t,providerId:o,_tokenResponse:i,operationType:n})}}function P1(e){return e.providerId?e.providerId:"phoneNumber"in e?"phone":null}/** 1107 * @license 1108 * Copyright 2020 Google LLC 1109 * 1110 * Licensed under the Apache License, Version 2.0 (the "License"); 1111 * you may not use this file except in compliance with the License. 1112 * You may obtain a copy of the License at 1113 * 1114 * http://www.apache.org/licenses/LICENSE-2.0 1115 * 1116 * Unless required by applicable law or agreed to in writing, software 1117 * distributed under the License is distributed on an "AS IS" BASIS, 1118 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1119 * See the License for the specific language governing permissions and 1120 * limitations under the License. 1121 */class sd extends Qr{constructor(t,n,i,o){var l;super(n.code,n.message),this.operationType=i,this.user=o,Object.setPrototypeOf(this,sd.prototype),this.customData={appName:t.name,tenantId:(l=t.tenantId)!==null&&l!==void 0?l:void 0,_serverResponse:n.customData._serverResponse,operationType:i}}static _fromErrorAndOperation(t,n,i,o){return new sd(t,n,i,o)}}function vb(e,t,n,i){return(t==="reauthenticate"?n._getReauthenticationResolver(e):n._getIdTokenResponse(e)).catch(l=>{throw l.code==="auth/multi-factor-auth-required"?sd._fromErrorAndOperation(e,l,t,i):l})}async function q3(e,t,n=!1){const i=await Fl(e,t._linkToIdToken(e.auth,await e.getIdToken()),n);return Is._forOperation(e,"link",i)}/** 1122 * @license 1123 * Copyright 2019 Google LLC 1124 * 1125 * Licensed under the Apache License, Version 2.0 (the "License");
1126 * you may not use this file except in compliance with the License. 1127 * You may obtain a copy of the License at 1128 * 1129 * http://www.apache.org/licenses/LICENSE-2.0 1130 * 1131 * Unless required by applicable law or agreed to in writing, software 1132 * distributed under the License is distributed on an "AS IS" BASIS, 1133 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1134 * See the License for the specific language governing permissions and 1135 * limitations under the License. 1136 */async function X3(e,t,n=!1){const{auth:i}=e;if(pn(i.app))return Promise.reject(Gr(i));const o="reauthenticate";try{const l=await Fl(e,vb(i,o,t,e),n);be(l.idToken,i,"internal-error");const c=jm(l.idToken);be(c,i,"internal-error");const{sub:f}=c;return be(e.uid===f,i,"user-mismatch"),Is._forOperation(e,o,l)}catch(l){throw(l==null?void 0:l.code)==="auth/user-not-found"&&An(i,"user-mismatch"),l}}/** 1137 * @license 1138 * Copyright 2020 Google LLC 1139 * 1140 * Licensed under the Apache License, Version 2.0 (the "License"); 1141 * you may not use this file except in compliance with the License. 1142 * You may obtain a copy of the License at 1143 * 1144 * http://www.apache.org/licenses/LICENSE-2.0 1145 * 1146 * Unless required by applicable law or agreed to in writing, software 1147 * distributed under the License is distributed on an "AS IS" BASIS, 1148 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1149 * See the License for the specific language governing permissions and 1150 * limitations under the License. 1151 */async function wb(e,t,n=!1){if(pn(e.app))return Promise.reject(Gr(e));const i="signIn",o=await vb(e,i,t),l=await Is._fromIdTokenResponse(e,i,o);return n||await e._updateCurrentUser(l.user),l}async function J3(e,t){return wb(Ui(e),t)}/** 1152 * @license 1153 * Copyright 2020 Google LLC 1154 * 1155 * Licensed under the Apache License, Version 2.0 (the "License"); 1156 * you may not use this file except in compliance with the License. 1157 * You may obtain a copy of the License at 1158 * 1159 * http://www.apache.org/licenses/LICENSE-2.0 1160 * 1161 * Unless required by applicable law or agreed to in writing, software 1162 * distributed under the License is distributed on an "AS IS" BASIS, 1163 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1164 * See the License for the specific language governing permissions and 1165 * limitations under the License. 1166 */async function xb(e){const t=Ui(e);t._getPasswordPolicyInternal()&&await t._updatePasswordPolicy()}async function Q3(e,t,n){if(pn(e.app))return Promise.reject(Gr(e));const i=Ui(e),c=await Pp(i,{returnSecureToken:!0,email:t,password:n,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",Y3).catch(h=>{throw h.code==="auth/password-does-not-meet-requirements"&&xb(e),h}),f=await Is._fromIdTokenResponse(i,"signIn",c);return await i._updateCurrentUser(f.user),f}function Z3(e,t,n){return pn(e.app)?Promise.reject(Gr(e)):J3(xr(e),ea.credential(t,n)).catch(async i=>{throw i.code==="auth/password-does-not-meet-requirements"&&xb(e),i})}/** 1167 * @license 1168 * Copyright 2020 Google LLC 1169 * 1170 * Licensed under the Apache License, Version 2.0 (the "License"); 1171 * you may not use this file except in compliance with the License. 1172 * You may obtain a copy of the License at 1173 * 1174 * http://www.apache.org/licenses/LICENSE-2.0 1175 * 1176 * Unless required by applicable law or agreed to in writing, software 1177 * distributed under the License is distributed on an "AS IS" BASIS, 1178 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1179 * See the License for the specific language governing permissions and 1180 * limitations under the License. 1181 */function A1(e,t){return xr(e).setPersistence(t)}function eN(e,t,n,i){return xr(e).onIdTokenChanged(t,n,i)}function tN(e,t,n){return xr(e).beforeAuthStateChanged(t,n)}function nN(e,t,n,i){return xr(e).onAuthStateChanged(t,n,i)}function rN(e){return xr(e).signOut()}const od="__sak";/** 1182 * @license 1183 * Copyright 2019 Google LLC 1184 * 1185 * Licensed under the Apache License, Version 2.0 (the "License"); 1186 * you may not use this file except in compliance with the License. 1187 * You may obtain a copy of the License at 1188 * 1189 * http://www.apache.org/licenses/LICENSE-2.0 1190 * 1191 * Unless required by applicable law or agreed to in writing, softw
1191are 1192 * distributed under the License is distributed on an "AS IS" BASIS, 1193 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1194 * See the License for the specific language governing permissions and 1195 * limitations under the License. 1196 */class Sb{constructor(t,n){this.storageRetriever=t,this.type=n}_isAvailable(){try{return this.storage?(this.storage.setItem(od,"1"),this.storage.removeItem(od),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(t,n){return this.storage.setItem(t,JSON.stringify(n)),Promise.resolve()}_get(t){const n=this.storage.getItem(t);return Promise.resolve(n?JSON.parse(n):null)}_remove(t){return this.storage.removeItem(t),Promise.resolve()}get storage(){return this.storageRetriever()}}/** 1197 * @license 1198 * Copyright 2020 Google LLC 1199 * 1200 * Licensed under the Apache License, Version 2.0 (the "License"); 1201 * you may not use this file except in compliance with the License. 1202 * You may obtain a copy of the License at 1203 * 1204 * http://www.apache.org/licenses/LICENSE-2.0 1205 * 1206 * Unless required by applicable law or agreed to in writing, software 1207 * distributed under the License is distributed on an "AS IS" BASIS, 1208 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1209 * See the License for the specific language governing permissions and 1210 * limitations under the License. 1211 */const iN=1e3,sN=10;class bb extends Sb{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(t,n)=>this.onStorageEvent(t,n),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=hb(),this._shouldAllowMigration=!0}forAllChangedKeys(t){for(const n of Object.keys(this.listeners)){const i=this.storage.getItem(n),o=this.localCache[n];i!==o&&t(n,o,i)}}onStorageEvent(t,n=!1){if(!t.key){this.forAllChangedKeys((c,f,h)=>{this.notifyListeners(c,h)});return}const i=t.key;n?this.detachListener():this.stopPolling();const o=()=>{const c=this.storage.getItem(i);!n&&this.localCache[i]===c||this.notifyListeners(i,c)},l=this.storage.getItem(i);b3()&&l!==t.newValue&&t.newValue!==t.oldValue?setTimeout(o,sN):o()}notifyListeners(t,n){this.localCache[t]=n;const i=this.listeners[t];if(i)for(const o of Array.from(i))o(n&&JSON.parse(n))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((t,n,i)=>{this.onStorageEvent(new StorageEvent("storage",{key:t,oldValue:n,newValue:i}),!0)})},iN)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(t,n){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[t]||(this.listeners[t]=new Set,this.localCache[t]=this.storage.getItem(t)),this.listeners[t].add(n)}_removeListener(t,n){this.listeners[t]&&(this.listeners[t].delete(n),this.listeners[t].size===0&&delete this.listeners[t]),Object.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}async _set(t,n){await super._set(t,n),this.localCache[t]=JSON.stringify(n)}async _get(t){const n=await super._get(t);return this.localCache[t]=JSON.stringify(n),n}async _remove(t){await super._remove(t),delete this.localCache[t]}}bb.type="LOCAL";const Ap=bb;/** 1212 * @license 1213 * Copyright 2020 Google LLC 1214 * 1215 * Licensed under the Apache License, Version 2.0 (the "License"); 1216 * you may not use this file except in compliance with the License. 1217 * You may obtain a copy of the License at 1218 * 1219 * http://www.apache.org/licenses/LICENSE-2.0 1220 * 1221 * Unless required by applicable law or agreed to in writing, software 1222 * distributed under the License is distributed on an "AS IS" BASIS, 1223 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1224 * See the License for the specific language governing permissions and 1225 * limitations under the License. 1226 */class kb extends Sb{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(t,n){}_removeListener(t,n){}}kb.type="SESSION";const ad=kb;/** 1227 * @license 1228 * Copyright 2019 Google LLC 1229 * 1230 * Licensed under the Apache License, Version 2.0 (the "License");
1231 * you may not use this file except in compliance with the License. 1232 * You may obtain a copy of the License at 1233 * 1234 * http://www.apache.org/licenses/LICENSE-2.0 1235 * 1236 * Unless required by applicable law or agreed to in writing, software 1237 * distributed under the License is distributed on an "AS IS" BASIS, 1238 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1239 * See the License for the specific language governing permissions and 1240 * limitations under the License. 1241 */function oN(e){return Promise.all(e.map(async t=>{try{return{fulfilled:!0,value:await t}}catch(n){return{fulfilled:!1,reason:n}}}))}/** 1242 * @license 1243 * Copyright 2019 Google LLC 1244 * 1245 * Licensed under the Apache License, Version 2.0 (the "License"); 1246 * you may not use this file except in compliance with the License. 1247 * You may obtain a copy of the License at 1248 * 1249 * http://www.apache.org/licenses/LICENSE-2.0 1250 * 1251 * Unless required by applicable law or agreed to in writing, software 1252 * distributed under the License is distributed on an "AS IS" BASIS, 1253 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1254 * See the License for the specific language governing permissions and 1255 * limitations under the License. 1256 */class Dd{constructor(t){this.eventTarget=t,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(t){const n=this.receivers.find(o=>o.isListeningto(t));if(n)return n;const i=new Dd(t);return this.receivers.push(i),i}isListeningto(t){return this.eventTarget===t}async handleEvent(t){const n=t,{eventId:i,eventType:o,data:l}=n.data,c=this.handlersMap[o];if(!(c!=null&&c.size))return;n.ports[0].postMessage({status:"ack",eventId:i,eventType:o});const f=Array.from(c).map(async m=>m(n.origin,l)),h=await oN(f);n.ports[0].postMessage({status:"done",eventId:i,eventType:o,response:h})}_subscribe(t,n){Object.keys(this.handlersMap).length===0&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[t]||(this.handlersMap[t]=new Set),this.handlersMap[t].add(n)}_unsubscribe(t,n){this.handlersMap[t]&&n&&this.handlersMap[t].delete(n),(!n||this.handlersMap[t].size===0)&&delete this.handlersMap[t],Object.keys(this.handlersMap).length===0&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}Dd.receivers=[];/** 1257 * @license 1258 * Copyright 2020 Google LLC 1259 * 1260 * Licensed under the Apache License, Version 2.0 (the "License"); 1261 * you may not use this file except in compliance with the License. 1262 * You may obtain a copy of the License at 1263 * 1264 * http://www.apache.org/licenses/LICENSE-2.0 1265 * 1266 * Unless required by applicable law or agreed to in writing, software 1267 * distributed under the License is distributed on an "AS IS" BASIS, 1268 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1269 * See the License for the specific language governing permissions and 1270 * limitations under the License. 1271 */function $m(e="",t=10){let n="";for(let i=0;i<t;i++)n+=Math.floor(Math.random()*10);return e+n}/** 1272 * @license 1273 * Copyright 2019 Google LLC 1274 * 1275 * Licensed under the Apache License, Version 2.0 (the "License"); 1276 * you may not use this file except in compliance with the License. 1277 * You may obtain a copy of the License at 1278 * 1279 * http://www.apache.org/licenses/LICENSE-2.0 1280 * 1281 * Unless required by applicable law or agreed to in writing, software 1282 * distributed under the License is distributed on an "AS IS" BASIS, 1283 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1284 * See the License for the specific language governing permissions and 1285 * limitations under the License. 1286 */class aN{constructor(t){this.target=t,this.handlers=new Set}removeMessageHandler(t){t.messageChannel&&(t.messageChannel.port1.removeEventListener("message",t.onMessage),t.messageChannel.port1.close()),this.handlers.delete(t)}async _send(t,n,i=50){const o=typeof MessageChannel<"u"?new MessageChannel:null;if(!o)throw new Error("connection_unavailable");let l,c;return new Promise((f,h)=>{const m=$m("",20);o.port1.start();const v=setTimeout(()=>{h(new Error("unsupported_event"))},i);c={messageChannel:o,onMessage(S){const b=S;if(b.data.eventId===m)switch(b.data.status){case"ack":clearTimeout(v),l=setTimeout(()=>{h(new Error("timeout"))},3e3);break;case"done":clearTimeout(l),f(b.data.response);break;default:clearTimeout(v),clearTimeout(l),h(new Error("invalid_response"));break}}},this.handlers.add(c),o.port1.addEventListener("message",c.onMessage),this.target.postMessage({eventType:t,eventId:m,data:n},[o.port2])}).finally(()=>{c&&this.removeMessageHandler(c)})}}/** 1287 * @license 1288 * Copyright 2020 Google LLC 1289 * 1290 * Licensed under the Apache License, Version 2.0 (the "License");
1291 * you may not use this file except in compliance with the License. 1292 * You may obtain a copy of the License at 1293 * 1294 * http://www.apache.org/licenses/LICENSE-2.0 1295 * 1296 * Unless required by applicable law or agreed to in writing, software 1297 * distributed under the License is distributed on an "AS IS" BASIS, 1298 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1299 * See the License for the specific language governing permissions and 1300 * limitations under the License. 1301 */function yr(){return window}function lN(e){yr().location.href=e}/** 1302 * @license 1303 * Copyright 2020 Google LLC. 1304 * 1305 * Licensed under the Apache License, Version 2.0 (the "License"); 1306 * you may not use this file except in compliance with the License. 1307 * You may obtain a copy of the License at 1308 * 1309 * http://www.apache.org/licenses/LICENSE-2.0 1310 * 1311 * Unless required by applicable law or agreed to in writing, software 1312 * distributed under the License is distributed on an "AS IS" BASIS, 1313 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1314 * See the License for the specific language governing permissions and 1315 * limitations under the License. 1316 */function Eb(){return typeof yr().WorkerGlobalScope<"u"&&typeof yr().importScripts=="function"}async function uN(){if(!(navigator!=null&&navigator.serviceWorker))return null;try{return(await navigator.serviceWorker.ready).active}catch{return null}}function cN(){var e;return((e=navigator==null?void 0:navigator.serviceWorker)===null||e===void 0?void 0:e.controller)||null}function dN(){return Eb()?self:null}/** 1317 * @license 1318 * Copyright 2019 Google LLC 1319 * 1320 * Licensed under the Apache License, Version 2.0 (the "License"); 1321 * you may not use this file except in compliance with the License. 1322 * You may obtain a copy of the License at 1323 * 1324 * http://www.apache.org/licenses/LICENSE-2.0 1325 * 1326 * Unless required by applicable law or agreed to in writing, software 1327 * distributed under the License is distributed on an "AS IS" BASIS, 1328 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1329 * See the License for the specific language governing permissions and 1330 * limitations under the License. 1331 */const Tb="firebaseLocalStorageDb",fN=1,ld="firebaseLocalStorage",Cb="fbase_key";class tu{constructor(t){this.request=t}toPromise(){return new Promise((t,n)=>{this.request.addEventListener("success",()=>{t(this.request.result)}),this.request.addEventListener("error",()=>{n(this.request.error)})})}}function Ld(e,t){return e.transaction([ld],t?"readwrite":"readonly").objectStore(ld)}function hN(){const e=indexedDB.deleteDatabase(Tb);return new tu(e).toPromise()}function Ip(){const e=indexedDB.open(Tb,fN);return new Promise((t,n)=>{e.addEventListener("error",()=>{n(e.error)}),e.addEventListener("upgradeneeded",()=>{const i=e.result;try{i.createObjectStore(ld,{keyPath:Cb})}catch(o){n(o)}}),e.addEventListener("success",async()=>{const i=e.result;i.objectStoreNames.contains(ld)?t(i):(i.close(),await hN(),t(await Ip()))})})}async function I1(e,t,n){const i=Ld(e,!0).put({[Cb]:t,value:n});return new tu(i).toPromise()}async function pN(e,t){const n=Ld(e,!1).get(t),i=await new tu(n).toPromise();return i===void 0?null:i.value}function R1(e,t){const n=Ld(e,!0).delete(t);return new tu(n).toPromise()}const mN=800,gN=3;class _b{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){return this.db?this.db:(this.db=await Ip(),this.db)}async _withRetries(t){let n=0;for(;;)try{const i=await this._openDb();return await t(i)}catch(i){if(n++>gN)throw i;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return Eb()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=Dd._getInstance(dN()),this.receiver._subscribe("keyChanged",async(t,n)=>({keyProcessed:(await this._poll()).includes(n.key)}
1331)),this.receiver._subscribe("ping",async(t,n)=>["keyChanged"])}async initializeSender(){var t,n;if(this.activeServiceWorker=await uN(),!this.activeServiceWorker)return;this.sender=new aN(this.activeServiceWorker);const i=await this.sender._send("ping",{},800);i&&!((t=i[0])===null||t===void 0)&&t.fulfilled&&!((n=i[0])===null||n===void 0)&&n.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(t){if(!(!this.sender||!this.activeServiceWorker||cN()!==this.activeServiceWorker))try{await this.sender._send("keyChanged",{key:t},this.serviceWorkerReceiverAvailable?800:50)}catch{}}async _isAvailable(){try{if(!indexedDB)return!1;const t=await Ip();return await I1(t,od,"1"),await R1(t,od),!0}catch{}return!1}async _withPendingWrite(t){this.pendingWrites++;try{await t()}finally{this.pendingWrites--}}async _set(t,n){return this._withPendingWrite(async()=>(await this._withRetries(i=>I1(i,t,n)),this.localCache[t]=n,this.notifyServiceWorker(t)))}async _get(t){const n=await this._withRetries(i=>pN(i,t));return this.localCache[t]=n,n}async _remove(t){return this._withPendingWrite(async()=>(await this._withRetries(n=>R1(n,t)),delete this.localCache[t],this.notifyServiceWorker(t)))}async _poll(){const t=await this._withRetries(o=>{const l=Ld(o,!1).getAll();return new tu(l).toPromise()});if(!t)return[];if(this.pendingWrites!==0)return[];const n=[],i=new Set;if(t.length!==0)for(const{fbase_key:o,value:l}of t)i.add(o),JSON.stringify(this.localCache[o])!==JSON.stringify(l)&&(this.notifyListeners(o,l),n.push(o));for(const o of Object.keys(this.localCache))this.localCache[o]&&!i.has(o)&&(this.notifyListeners(o,null),n.push(o));return n}notifyListeners(t,n){this.localCache[t]=n;const i=this.listeners[t];if(i)for(const o of Array.from(i))o(n)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),mN)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(t,n){Object.keys(this.listeners).length===0&&this.startPolling(),this.listeners[t]||(this.listeners[t]=new Set,this._get(t)),this.listeners[t].add(n)}_removeListener(t,n){this.listeners[t]&&(this.listeners[t].delete(n),this.listeners[t].size===0&&delete this.listeners[t]),Object.keys(this.listeners).length===0&&this.stopPolling()}}_b.type="LOCAL";const yN=_b;new Ql(3e4,6e4);/** 1332 * @license 1333 * Copyright 2021 Google LLC 1334 * 1335 * Licensed under the Apache License, Version 2.0 (the "License"); 1336 * you may not use this file except in compliance with the License. 1337 * You may obtain a copy of the License at 1338 * 1339 * http://www.apache.org/licenses/LICENSE-2.0 1340 * 1341 * Unless required by applicable law or agreed to in writing, software 1342 * distributed under the License is distributed on an "AS IS" BASIS, 1343 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1344 * See the License for the specific language governing permissions and 1345 * limitations under the License. 1346 */function Pb(e,t){return t?zr(t):(be(e._popupRedirectResolver,e,"argument-error"),e._popupRedirectResolver)}/** 1347 * @license 1348 * Copyright 2019 Google LLC 1349 * 1350 * Licensed under the Apache License, Version 2.0 (the "License"); 1351 * you may not use this file except in compliance with the License. 1352 * You may obtain a copy of the License at 1353 * 1354 * http://www.apache.org/licenses/LICENSE-2.0 1355 * 1356 * Unless required by applicable law or agreed to in writing, software 1357 * distributed under the License is distributed on an "AS IS" BASIS, 1358 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1359 * See the License for the specific language governing permissions and 1360 * limitations under the License. 1361 */class zm extends Vm{constructor(t){super("custom","custom"),this.params=t}_getIdTokenResponse(t){return Bo(t,this._buildIdpRequest())}_linkToIdToken(t,n){return Bo(t,this._buildIdpRequest(n))}_getReauthenticationResolver(t){return Bo(t,this._buildIdpRequest())}_buildIdpRequest(t){const n={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return t&&(n.idToken=t),n}}function vN(e){return wb(e.auth,new zm(e),e.bypassAuthState)}function wN(e){const{auth:t,user:n}=e;return be(n,t,"internal-error"),X3(n,new zm(e),e.bypassAuthState)}async function xN(e){const{auth:t,user:n}=e;return be(n,t,"internal-error"),q3(n,new zm(e),e.bypassAuthState)}/** 1362 * @license 1363 * Copyright 2020 Google LLC 1364 * 1365 * Licensed under the Apache License, Version 2.0 (the "License");
1366 * you may not use this file except in compliance with the License. 1367 * You may obtain a copy of the License at 1368 * 1369 * http://www.apache.org/licenses/LICENSE-2.0 1370 * 1371 * Unless required by applicable law or agreed to in writing, software 1372 * distributed under the License is distributed on an "AS IS" BASIS, 1373 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1374 * See the License for the specific language governing permissions and 1375 * limitations under the License. 1376 */class Ab{constructor(t,n,i,o,l=!1){this.auth=t,this.resolver=i,this.user=o,this.bypassAuthState=l,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(n)?n:[n]}execute(){return new Promise(async(t,n)=>{this.pendingPromise={resolve:t,reject:n};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(i){this.reject(i)}})}async onAuthEvent(t){const{urlResponse:n,sessionId:i,postBody:o,tenantId:l,error:c,type:f}=t;if(c){this.reject(c);return}const h={auth:this.auth,requestUri:n,sessionId:i,tenantId:l||void 0,postBody:o||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(f)(h))}catch(m){this.reject(m)}}onError(t){this.reject(t)}getIdpTask(t){switch(t){case"signInViaPopup":case"signInViaRedirect":return vN;case"linkViaPopup":case"linkViaRedirect":return xN;case"reauthViaPopup":case"reauthViaRedirect":return wN;default:An(this.auth,"internal-error")}}resolve(t){Xr(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(t),this.unregisterAndCleanUp()}reject(t){Xr(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(t),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}/** 1377 * @license 1378 * Copyright 2020 Google LLC 1379 * 1380 * Licensed under the Apache License, Version 2.0 (the "License"); 1381 * you may not use this file except in compliance with the License. 1382 * You may obtain a copy of the License at 1383 * 1384 * http://www.apache.org/licenses/LICENSE-2.0 1385 * 1386 * Unless required by applicable law or agreed to in writing, software 1387 * distributed under the License is distributed on an "AS IS" BASIS, 1388 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1389 * See the License for the specific language governing permissions and 1390 * limitations under the License. 1391 */const SN=new Ql(2e3,1e4);async function bN(e,t,n){if(pn(e.app))return Promise.reject(Xn(e,"operation-not-supported-in-this-environment"));const i=Ui(e);n3(e,t,Um);const o=Pb(i,n);return new bs(i,"signInViaPopup",t,o).executeNotNull()}class bs extends Ab{constructor(t,n,i,o,l){super(t,n,o,l),this.provider=i,this.authWindow=null,this.pollId=null,bs.currentPopupAction&&bs.currentPopupAction.cancel(),bs.currentPopupAction=this}async executeNotNull(){const t=await this.execute();return be(t,this.auth,"internal-error"),t}async onExecution(){Xr(this.filter.length===1,"Popup operations only handle one event");const t=$m();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],t),this.authWindow.associatedEvent=t,this.resolver._originValidation(this.auth).catch(n=>{this.reject(n)}),this.resolver._isIframeWebStorageSupported(this.auth,n=>{n||this.reject(Xn(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()}get eventId(){var t;return((t=this.authWindow)===null||t===void 0?void 0:t.associatedEvent)||null}cancel(){this.reject(Xn(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,bs.currentPopupAction=null}pollUserCancellation(){const t=()=>{var n,i;if(!((i=(n=this.authWindow)===null||n===void 0?void 0:n.window)===null||i===void 0)&&i.closed){this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(Xn(this.auth,"popup-closed-by-user"))},8e3);return}this.pollId=window.setTimeout(t,SN.get())};t()}}bs.currentPopupAction=null;/** 1392 * @license 1393 * Copyright 2020 Google LLC 1394 * 1395 * Licensed under the Apache License, Version 2.0 (the "License");
1396 * you may not use this file except in compliance with the License. 1397 * You may obtain a copy of the License at 1398 * 1399 * http://www.apache.org/licenses/LICENSE-2.0 1400 * 1401 * Unless required by applicable law or agreed to in writing, software 1402 * distributed under the License is distributed on an "AS IS" BASIS, 1403 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1404 * See the License for the specific language governing permissions and 1405 * limitations under the License. 1406 */const kN="pendingRedirect",Uc=new Map;class EN extends Ab{constructor(t,n,i=!1){super(t,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],n,void 0,i),this.eventId=null}async execute(){let t=Uc.get(this.auth._key());if(!t){try{const i=await TN(this.resolver,this.auth)?await super.execute():null;t=()=>Promise.resolve(i)}catch(n){t=()=>Promise.reject(n)}Uc.set(this.auth._key(),t)}return this.bypassAuthState||Uc.set(this.auth._key(),()=>Promise.resolve(null)),t()}async onAuthEvent(t){if(t.type==="signInViaRedirect")return super.onAuthEvent(t);if(t.type==="unknown"){this.resolve(null);return}if(t.eventId){const n=await this.auth._redirectUserForId(t.eventId);if(n)return this.user=n,super.onAuthEvent(t);this.resolve(null)}}async onExecution(){}cleanUp(){}}async function TN(e,t){const n=PN(t),i=_N(e);if(!await i._isAvailable())return!1;const o=await i._get(n)==="true";return await i._remove(n),o}function CN(e,t){Uc.set(e._key(),t)}function _N(e){return zr(e._redirectPersistence)}function PN(e){return Bc(kN,e.config.apiKey,e.name)}async function AN(e,t,n=!1){if(pn(e.app))return Promise.reject(Gr(e));const i=Ui(e),o=Pb(i,t),c=await new EN(i,o,n).execute();return c&&!n&&(delete c.user._redirectEventId,await i._persistUserIfCurrent(c.user),await i._setRedirectUser(null,t)),c}/** 1407 * @license 1408 * Copyright 2020 Google LLC 1409 * 1410 * Licensed under the Apache License, Version 2.0 (the "License"); 1411 * you may not use this file except in compliance with the License. 1412 * You may obtain a copy of the License at 1413 * 1414 * http://www.apache.org/licenses/LICENSE-2.0 1415 * 1416 * Unless required by applicable law or agreed to in writing, software 1417 * distributed under the License is distributed on an "AS IS" BASIS, 1418 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1419 * See the License for the specific language governing permissions and 1420 * limitations under the License. 1421 */const IN=10*60*1e3;class RN{constructor(t){this.auth=t,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(t){this.consumers.add(t),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,t)&&(this.sendToConsumer(this.queuedRedirectEvent,t),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(t){this.consumers.delete(t)}onEvent(t){if(this.hasEventBeenHandled(t))return!1;let n=!1;return this.consumers.forEach(i=>{this.isEventForConsumer(t,i)&&(n=!0,this.sendToConsumer(t,i),this.saveEventToCache(t))}),this.hasHandledPotentialRedirect||!NN(t)||(this.hasHandledPotentialRedirect=!0,n||(this.queuedRedirectEvent=t,n=!0)),n}sendToConsumer(t,n){var i;if(t.error&&!Ib(t)){const o=((i=t.error.code)===null||i===void 0?void 0:i.split("auth/")[1])||"internal-error";n.onError(Xn(this.auth,o))}else n.onAuthEvent(t)}isEventForConsumer(t,n){const i=n.eventId===null||!!t.eventId&&t.eventId===n.eventId;return n.filter.includes(t.type)&&i}hasEventBeenHandled(t){return Date.now()-this.lastProcessedEventTime>=IN&&this.cachedEventUids.clear(),this.cachedEventUids.has(N1(t))}saveEventToCache(t){this.cachedEventUids.add(N1(t)),this.lastProcessedEventTime=Date.now()}}function N1(e){return[e.type,e.eventId,e.sessionId,e.tenantId].filter(t=>t).join("-")}function Ib({type:e,error:t}){return e==="unknown"&&(t==null?void 0:t.code)==="auth/no-auth-event"}function NN(e){switch(e.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return Ib(e);default:return!1}}/** 1422 * @license 1423 * Copyright 2020 Google LLC 1424 * 1425 * Licensed under the Apache License, Version 2.0 (the "License");
1426 * you may not use this file except in compliance with the License. 1427 * You may obtain a copy of the License at 1428 * 1429 * http://www.apache.org/licenses/LICENSE-2.0 1430 * 1431 * Unless required by applicable law or agreed to in writing, software 1432 * distributed under the License is distributed on an "AS IS" BASIS, 1433 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1434 * See the License for the specific language governing permissions and 1435 * limitations under the License. 1436 */async function ON(e,t={}){return Bi(e,"GET","/v1/projects",t)}/** 1437 * @license 1438 * Copyright 2020 Google LLC 1439 * 1440 * Licensed under the Apache License, Version 2.0 (the "License"); 1441 * you may not use this file except in compliance with the License. 1442 * You may obtain a copy of the License at 1443 * 1444 * http://www.apache.org/licenses/LICENSE-2.0 1445 * 1446 * Unless required by applicable law or agreed to in writing, software 1447 * distributed under the License is distributed on an "AS IS" BASIS, 1448 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1449 * See the License for the specific language governing permissions and 1450 * limitations under the License. 1451 */const DN=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,LN=/^https?/;async function MN(e){if(e.config.emulator)return;const{authorizedDomains:t}=await ON(e);for(const n of t)try{if(jN(n))return}catch{}An(e,"unauthorized-domain")}function jN(e){const t=Cp(),{protocol:n,hostname:i}=new URL(t);if(e.startsWith("chrome-extension://")){const c=new URL(e);return c.hostname===""&&i===""?n==="chrome-extension:"&&e.replace("chrome-extension://","")===t.replace("chrome-extension://",""):n==="chrome-extension:"&&c.hostname===i}if(!LN.test(n))return!1;if(DN.test(e))return i===e;const o=e.replace(/\./g,"\\.");return new RegExp("^(.+\\."+o+"|"+o+")$","i").test(i)}/** 1452 * @license 1453 * Copyright 2020 Google LLC. 1454 * 1455 * Licensed under the Apache License, Version 2.0 (the "License"); 1456 * you may not use this file except in compliance with the License. 1457 * You may obtain a copy of the License at 1458 * 1459 * http://www.apache.org/licenses/LICENSE-2.0 1460 * 1461 * Unless required by applicable law or agreed to in writing, software 1462 * distributed under the License is distributed on an "AS IS" BASIS, 1463 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1464 * See the License for the specific language governing permissions and 1465 * limitations under the License. 1466 */const FN=new Ql(3e4,6e4);function O1(){const e=yr().___jsl;if(e!=null&&e.H){for(const t of Object.keys(e.H))if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=[...e.H[t].L],e.CP)for(let n=0;n<e.CP.length;n++)e.CP[n]=null}}function VN(e){return new Promise((t,n)=>{var i,o,l;function c(){O1(),gapi.load("gapi.iframes",{callback:()=>{t(gapi.iframes.getContext())},ontimeout:()=>{O1(),n(Xn(e,"network-request-failed"))},timeout:FN.get()})}if(!((o=(i=yr().gapi)===null||i===void 0?void 0:i.iframes)===null||o===void 0)&&o.Iframe)t(gapi.iframes.getContext());else if(!((l=yr().gapi)===null||l===void 0)&&l.load)c();else{const f=R3("iframefcb");return yr()[f]=()=>{gapi.load?c():n(Xn(e,"network-request-failed"))},mb(`${I3()}?onload=${f}`).catch(h=>n(h))}}).catch(t=>{throw $c=null,t})}let $c=null;function BN(e){return $c=$c||VN(e),$c}/** 1467 * @license 1468 * Copyright 2020 Google LLC. 1469 * 1470 * Licensed under the Apache License, Version 2.0 (the "License"); 1471 * you may not use this file except in compliance with the License. 1472 * You may obtain a copy of the License at 1473 * 1474 * http://www.apache.org/licenses/LICENSE-2.0 1475 * 1476 * Unless required by applicable law or agreed to in writing, software 1477 * distributed under the License is distributed on an "AS IS" BASIS, 1478 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1479 * See the License for the specific language governing permissions and 1480 * limitations under the License. 1481 */const UN=new Ql(5e3,15e3),$N="__/auth/iframe",zN="emulator/auth/iframe",HN={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},WN=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function GN(e){const t=e.config;be(t.authDomain,e,"auth-domain-config-required");const n=t.emulator?Mm(t,zN):`https://${e.config.authDomain}/${$N}
1481`,i={apiKey:t.apiKey,appName:e.name,v:Zo},o=WN.get(e.config.apiHost);o&&(i.eid=o);const l=e._getFrameworks();return l.length&&(i.fw=l.join(",")),`${n}?${Jl(i).slice(1)}`}async function KN(e){const t=await BN(e),n=yr().gapi;return be(n,e,"internal-error"),t.open({where:document.body,url:GN(e),messageHandlersFilter:n.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:HN,dontclear:!0},i=>new Promise(async(o,l)=>{await i.restyle({setHideOnLeave:!1});const c=Xn(e,"network-request-failed"),f=yr().setTimeout(()=>{l(c)},UN.get());function h(){yr().clearTimeout(f),o(i)}i.ping(h).then(h,()=>{l(c)})}))}/** 1482 * @license 1483 * Copyright 2020 Google LLC. 1484 * 1485 * Licensed under the Apache License, Version 2.0 (the "License"); 1486 * you may not use this file except in compliance with the License. 1487 * You may obtain a copy of the License at 1488 * 1489 * http://www.apache.org/licenses/LICENSE-2.0 1490 * 1491 * Unless required by applicable law or agreed to in writing, software 1492 * distributed under the License is distributed on an "AS IS" BASIS, 1493 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1494 * See the License for the specific language governing permissions and 1495 * limitations under the License. 1496 */const YN={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},qN=500,XN=600,JN="_blank",QN="http://localhost";class D1{constructor(t){this.window=t,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}function ZN(e,t,n,i=qN,o=XN){const l=Math.max((window.screen.availHeight-o)/2,0).toString(),c=Math.max((window.screen.availWidth-i)/2,0).toString();let f="";const h=Object.assign(Object.assign({},YN),{width:i.toString(),height:o.toString(),top:l,left:c}),m=Gt().toLowerCase();n&&(f=lb(m)?JN:n),ob(m)&&(t=t||QN,h.scrollbars="yes");const v=Object.entries(h).reduce((b,[A,P])=>`${b}${A}=${P},`,"");if(S3(m)&&f!=="_self")return eO(t||"",f),new D1(null);const S=window.open(t||"",f,v);be(S,e,"popup-blocked");try{S.focus()}catch{}return new D1(S)}function eO(e,t){const n=document.createElement("a");n.href=e,n.target=t;const i=document.createEvent("MouseEvent");i.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),n.dispatchEvent(i)}/** 1497 * @license 1498 * Copyright 2021 Google LLC 1499 * 1500 * Licensed under the Apache License, Version 2.0 (the "License"); 1501 * you may not use this file except in compliance with the License. 1502 * You may obtain a copy of the License at 1503 * 1504 * http://www.apache.org/licenses/LICENSE-2.0 1505 * 1506 * Unless required by applicable law or agreed to in writing, software 1507 * distributed under the License is distributed on an "AS IS" BASIS, 1508 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1509 * See the License for the specific language governing permissions and 1510 * limitations under the License. 1511 */const tO="__/auth/handler",nO="emulator/auth/handler",rO=encodeURIComponent("fac");async function L1(e,t,n,i,o,l){be(e.config.authDomain,e,"auth-domain-config-required"),be(e.config.apiKey,e,"invalid-api-key");const c={apiKey:e.config.apiKey,appName:e.name,authType:n,redirectUrl:i,v:Zo,eventId:o};if(t instanceof Um){t.setDefaultLanguage(e.languageCode),c.providerId=t.providerId||"",$5(t.getCustomParameters())||(c.customParameters=JSON.stringify(t.getCustomParameters()));for(const[v,S]of Object.entries({}))c[v]=S}if(t instanceof eu){const v=t.getScopes().filter(S=>S!=="");v.length>0&&(c.scopes=v.join(","))}e.tenantId&&(c.tid=e.tenantId);const f=c;for(const v of Object.keys(f))f[v]===void 0&&delete f[v];const h=await e._getAppCheckToken(),m=h?`#${rO}=${encodeURIComponent(h)}`:"";return`${iO(e)}?${Jl(f).slice(1)}${m}`}function iO({config:e}){return e.emulator?Mm(e,nO):`https://${e.authDomain}/${tO}`}/** 1512 * @license 1513 * Copyright 2020 Google LLC 1514 * 1515 * Licensed under the Apache License, Version 2.0 (the "License"); 1516 * you may not use this file except in compliance with the License. 1517 * You may obtain a copy of the License at 1518 * 1519 * http://www.apache.org/licenses/LICENSE-2.0 1520 * 1521 * Unless required by applicable law or agreed to in writing, software 1522 * distributed under the License is distributed on an "AS IS" BASIS, 1523 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1524 * See the License for the specific language governing permissions and 1525 * limitations under the License. 1526 */const zh="webStorageSupport";class sO{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=ad,this._completeRedirectFn=AN,this._overrideRedirectResult=CN}async _openPopup(t,n,i,o){var l;Xr((l=this.eventManagers[t._key()])===null||l===void 0?void 0:l.manager,"_initialize() not called before _openPopup()");const c=await L1(t,n,i,Cp(),o);return ZN(t,c,$m())}async _openRedirect(t,n,i,o){await this._originValidation(t);const l=await L1(t,n,i,Cp(),o);return lN(l),new Promise(()=>{})}_initialize(t){const n=t._key();if(this.eventManagers[n]){const{manager:o,promise:l}=this.eventManagers[n];return o?Promise.resolve(o):(Xr(l,"If manager is not set, promise should be"),l)}const i=this.initAndGetManager(t);return this.eventManagers[n]={promise:i},i.catch(()=>{delete this.eventManagers[n]}),i}async initAndGetManager(t){const n=await KN(t),i=new RN(t);return n.register("authEvent",o=>
1526(be(o==null?void 0:o.authEvent,t,"invalid-auth-event"),{status:i.onEvent(o.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[t._key()]={manager:i},this.iframes[t._key()]=n,i}_isIframeWebStorageSupported(t,n){this.iframes[t._key()].send(zh,{type:zh},o=>{var l;const c=(l=o==null?void 0:o[0])===null||l===void 0?void 0:l[zh];c!==void 0&&n(!!c),An(t,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(t){const n=t._key();return this.originValidationPromises[n]||(this.originValidationPromises[n]=MN(t)),this.originValidationPromises[n]}get _shouldInitProactively(){return hb()||ab()||Fm()}}const oO=sO;var M1="@firebase/auth",j1="1.10.6";/** 1527 * @license 1528 * Copyright 2020 Google LLC 1529 * 1530 * Licensed under the Apache License, Version 2.0 (the "License"); 1531 * you may not use this file except in compliance with the License. 1532 * You may obtain a copy of the License at 1533 * 1534 * http://www.apache.org/licenses/LICENSE-2.0 1535 * 1536 * Unless required by applicable law or agreed to in writing, software 1537 * distributed under the License is distributed on an "AS IS" BASIS, 1538 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1539 * See the License for the specific language governing permissions and 1540 * limitations under the License. 1541 */class aO{constructor(t){this.auth=t,this.internalListeners=new Map}getUid(){var t;return this.assertAuthConfigured(),((t=this.auth.currentUser)===null||t===void 0?void 0:t.uid)||null}async getToken(t){return this.assertAuthConfigured(),await this.auth._initializationPromise,this.auth.currentUser?{accessToken:await this.auth.currentUser.getIdToken(t)}:null}addAuthTokenListener(t){if(this.assertAuthConfigured(),this.internalListeners.has(t))return;const n=this.auth.onIdTokenChanged(i=>{t((i==null?void 0:i.stsTokenManager.accessToken)||null)});this.internalListeners.set(t,n),this.updateProactiveRefresh()}removeAuthTokenListener(t){this.assertAuthConfigured();const n=this.internalListeners.get(t);n&&(this.internalListeners.delete(t),n(),this.updateProactiveRefresh())}assertAuthConfigured(){be(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}/** 1542 * @license 1543 * Copyright 2020 Google LLC 1544 * 1545 * Licensed under the Apache License, Version 2.0 (the "License"); 1546 * you may not use this file except in compliance with the License. 1547 * You may obtain a copy of the License at 1548 * 1549 * http://www.apache.org/licenses/LICENSE-2.0 1550 * 1551 * Unless required by applicable law or agreed to in writing, software 1552 * distributed under the License is distributed on an "AS IS" BASIS, 1553 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1554 * See the License for the specific language governing permissions and 1555 * limitations under the License. 1556 */function lO(e){switch(e){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}function uO(e){Ho(new Ps("auth",(t,{options:n})=>{const i=t.getProvider("app").getImmediate(),o=t.getProvider("heartbeat"),l=t.getProvider("app-check-internal"),{apiKey:c,authDomain:f}=i.options;be(c&&!c.includes(":"),"invalid-api-key",{appName:i.name});const h={apiKey:c,authDomain:f,clientPlatform:e,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:pb(e)},m=new _3(i,o,l,h);return j3(m,n),m},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((t,n,i)=>{t.getProvider("auth-internal").initialize()})),Ho(new Ps("auth-internal",t=>{const n=Ui(t.getProvider("auth").getImmediate());return(i=>new aO(i))(n)},"PRIVATE").setInstantiationMode("EXPLICIT")),Di(M1,j1,lO(e)),Di(M1,j1,"esm2017")}/** 1557 * @license 1558 * Copyright 2021 Google LLC 1559 * 1560 * Licensed under the Apache License, Version 2.0 (the "License"); 1561 * you may not use this file except in compliance with the License. 1562 * You may obtain a copy of the License at 1563 * 1564 * http://www.apache.org/licenses/LICENSE-2.0 1565 * 1566 * Unless required by applicable law or agreed to in writing, softw
1566are 1567 * distributed under the License is distributed on an "AS IS" BASIS, 1568 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1569 * See the License for the specific language governing permissions and 1570 * limitations under the License. 1571 */const cO=5*60,dO=HS("authIdTokenMaxAge")||cO;let F1=null;const fO=e=>async t=>{const n=t&&await t.getIdTokenResult(),i=n&&(new Date().getTime()-Date.parse(n.issuedAtTime))/1e3;if(i&&i>dO)return;const o=n==null?void 0:n.token;F1!==o&&(F1=o,await fetch(e,{method:o?"POST":"DELETE",headers:o?{Authorization:`Bearer ${o}`}:{}}))};function hO(e=XS()){const t=Nm(e,"auth");if(t.isInitialized())return t.getImmediate();const n=M3(e,{popupRedirectResolver:oO,persistence:[yN,Ap,ad]}),i=HS("authTokenSyncURL");if(i&&typeof isSecureContext=="boolean"&&isSecureContext){const l=new URL(i,location.origin);if(location.origin===l.origin){const c=fO(l.toString());tN(n,c,()=>c(n.currentUser)),eN(n,f=>c(f))}}const o=$S("auth");return o&&F3(n,`http://${o}`),n}function pO(){var e,t;return(t=(e=document.getElementsByTagName("head"))===null||e===void 0?void 0:e[0])!==null&&t!==void 0?t:document}P3({loadJS(e){return new Promise((t,n)=>{const i=document.createElement("script");i.setAttribute("src",e),i.onload=t,i.onerror=o=>{const l=Xn("internal-error");l.customData=o,n(l)},i.type="text/javascript",i.charset="UTF-8",pO().appendChild(i)})},gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="});uO("Browser");var mO="firebase",gO="11.8.1";/** 1572 * @license 1573 * Copyright 2020 Google LLC 1574 * 1575 * Licensed under the Apache License, Version 2.0 (the "License"); 1576 * you may not use this file except in compliance with the License. 1577 * You may obtain a copy of the License at 1578 * 1579 * http://www.apache.org/licenses/LICENSE-2.0 1580 * 1581 * Unless required by applicable law or agreed to in writing, software 1582 * distributed under the License is distributed on an "AS IS" BASIS, 1583 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1584 * See the License for the specific language governing permissions and 1585 * limitations under the License. 1586 */Di(mO,gO,"app");var V1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};/** @license 1587Copyright The Closure Library Authors. 1588SPDX-License-Identifier: Apache-2.0 1589*/var Rb;(function(){var e;/** @license 1590 1591 Copyright The Closure Library Authors. 1592 SPDX-License-Identifier: Apache-2.0 1593*/function t(R,T){function I(){}I.prototype=T.prototype,R.D=T.prototype,R.prototype=new I,R.prototype.constructor=R,R.C=function(x,O,j){for(var N=Array(arguments.length-2),Ee=2;Ee<arguments.length;Ee++)N[Ee-2]=arguments[Ee];return T.prototype[O].apply(x,N)}}function n(){this.blockSize=-1}function i(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}t(i,n),i.prototype.s=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0};function o(R,T,I){I||(I=0);var x=Array(16);if(typeof T=="string")for(var O=0;16>O;++O)x[O]=T.charCodeAt(I++)|T.charCodeAt(I++)<<8|T.charCodeAt(I++)<<16|T.charCodeAt(I++)<<24;else for(O=0;16>O;++O)x[O]=T[I++]|T[I++]<<8|T[I++]<<16|T[I++]<<24;T=R.g[0],I=R.g[1],O=R.g[2];var j=R.g[3],N=T+(j^I&(O^j))+x[0]+3614090360&4294967295;T=I+(N<<7&4294967295|N>>>25),N=j+(O^T&(I^O))+x[1]+3905402710&4294967295,j=T+(N<<12&4294967295|N>>>20),N=O+(I^j&(T^I))+x[2]+606105819&4294967295,O=j+(N<<17&4294967295|N>>>15),N=I+(T^O&(j^T))+x[3]+3250441966&4294967295,I=O+(N<<22&4294967295|N>>>10),N=T+(j^I&(O^j))+x[4]+4118548399&4294967295,T=I+(N<<7&4294967295|N>>>25),N=j+(O^T&(I^O))+x[5]+1200080426&4294967295,j=T+(N<<12&4294967295|N>>>20),N=O+(I^j&(T^I))+x[6]+2821735955&4294967295,O=j+(N<<17&4294967295|N>>>15),N=I+(T^O&(j^T))+x[7]+4249261313&4294967295,I=O+(N<<22&4294967295|N>>>10),N=T+(j^I&(O^j))+x[8]+1770035416&4294967295,T=I+(N<<7&4294967295|N>>>25),N=j+(O^T&(I^O))+x[9]+2336552879&4294967295,j=T+(N<<12&4294967295|N>>>20),N=O+(I^j&(T^I))+x[10]+4294925233&4294967295,O=j+(N<<17&4294967295|N>>>15),N=I+(T^O&(j^T))+x[11]+2304563134&4294967295,I=O+(N<<22&4294967295|N>>>10),N=T+(j^I&(O^j))+x[12]+1804603682&4294967295,T=I+(N<<7&4294967295|N>>>25),N=j+(O^T&(I^O))+x[13]+4254626195&4294967295,j=T+(N<<12&4294967295|N>>>20),N=O+(I^j&(T^I))+x[14]+2792965006&4294967295,O=j+(N<<17&4294967295|N>>>15),N=I+(T^O&(j^T))+x[15]+1236535329&4294967295,I=O+(N<<22&4294967295|N>>>10),N=T+(O^j&(I^O))+x[1]+4129170786&4294967295,T=I+(N<<5&4294967295|N>>>27),N=j+(I^O&(T^I))+x[6]+3225465664&4294967295,j=T+(N<<9&4294967295|N>>>23),N=O+(T^I&(j^T))+x[11]+643717713&4294967295,O=j+(N<<14&4294967295|N>>>18),N=I+(j^T&(O^j))+x[0]+3921069994&4294967295,I=O+(N<<20&4294967295|N>>>12),N=T+(O^j&(I^O))+x[5]+3593408605&4294967295,T=I+(N<<5&4294967295|N>>>27),N=j+(I^O&(T^I))+x[10]+38016083&4294967295,j=T+(N<<9&4294967295|N>>>23),N=O+(T^I&(j^T))+x[15]+3634488961&4294967295,O=j+(N<<14&4294967295|N>>>18),N=I+(j^T&(O^j))+x[4]+3889429448&4294967295,I=O+(N<<20&4294967295|N>>>12),N=T+(O^j&(I^O))+x[9]+568446438&4294967295,T=I+(N<<5&4294967295|N>>>27),N=j+(I^O&(T^I))+x[14]+3275163606&4294967295,j=T+(N<<9&4294967295|N>>>23),N=O+(T^I&(j^T))+x[3]+4107603335&4294967295,O=j+(N<<14&4294967295|N>>>18),N=I+(j^T&(O^j))+x[8]+1163531501&4294967295,I=O+(N<<20&4294967295|N>>>12),N=T+(O^j&(I^O))+x[13]+2850285829&4294967295,T=I+(N<<5&4294967295|N>>>27),N=j+(I^O&(T^I))+x[2]+4243563512&4294967295,j=T+(N<<9&4294967295|N>>>23),N=O+(T^I&(j^T))+x[7]+1735328473&4294967295,O=j+(N<<14&4294967295|N>>>18),N=I+(j^T&(O^j))+x[12]+2368359562&4294967295,I=O+(N<<20&4294967295|N>>>12),N=T+(I^O^j)+x[5]+4294588738&4294967295,T=I+(N<<4&4294967295|N>>>28),N=j+(T^I^O)+x[8]+2272392833&4294967295,j=T+(N<<11&4294967295|N>>>21),N=O+(j^T^I)+x[11]+1839030562&4294967295,O=j+(N<<16&4294967295|N>>>16),N=I+(O^j^T)+x[14]+4259657740&4294967295,I=O+(N<<23&4294967295|N>>>9),N=T+(I^O^j)+x[1]+2763975236&4294967295,T=I+(N<<4&4294967295|N>>>28),N=j+(T^I^O)+x[4]+1272893353&4294967295,j=T+(N<<11&4294967295|N>>>21),N=O+(j^T^I)+x[7]+4139469664&4294967295,O=j+(N<<16&4294967295|N>>>16),N=I+(O^j^T)+x[10]+3200236656&4294967295,I=O+(N<<23&4294967295|N>>>9),N=T+(I^O^j)+x[13]+681279174&4294967295,T=I+(N<<4&4294967295|N>>>28),N=j+(T^I^O)+x[0]+3936430074&4294967295,j=T+(N<<11&4294967295|N>>>21),N=O+(j^T^I)+x[3]+3572445317&4294967295,O=j+(N<<16&4294967295|N>>>16),N=I+(O^j^T)+x[6]+76029189&4294967295,I=O+(N<<23&4294967295|N>>>9),N=T+(I^O^j)+x[9]+3654602809&4294967295,T=I+(N<<4&4294967295|N>>>28),N=j+(T^I^O)+x[12]+3873151461&4294967295,j=T+(N<<11&4294967295|N>>>21),N=O+(j^T^I)+x[15]+530742520&4294967295,O=j+(N<<16&4294967295|N>>>16),N=I+(O^j^T)+x[2]+3299628645&4294967295,I=O+(N<<23&4294967295|N>>>9),N=T+(O^(I|~j))+x[0]+4096336452&4294967295,T=I+(N<<6&4294967295|N>>>26),N=j+(I^(T|~O))+x[7]+1126891415&4294967295,j=T+(N<<10&4294967295|N>>>22),N=O+(T^(j|~I))+x[14]+2878612391&4294967295,O=j+(N<<15&4294967295|N>>>17),N=I+(j^(O|~T))+x[5]+4237533241&4294967295,I=O+(N<<21&4294967295|N>>>11),N=T+(O^(I|~j))+x[12]+1700485571&4294967295,T=I+(N<<6&4294967295|N>>>26),N=j+(I^(T|~O))+x[3]+2399980690&4294967295,j=T+(N<<10&4294967295|N>>>22),N=O+(T^(j|~I))+x[10]+4293915773&4294967295,O=j+(N<<15&4294967295|N>>>17),N=I+(j^(O|~T))+x[1]+2240044497&4294967295,I=O+(N<<21&4294967295|N>>>11),N=T+(O^(I|~j))+x[8]+1873313359&4294967295,T=I+(N<<6&4294967295|N>>>26),N=j+(I^(T|~O))+x[15]+4264355552&4294967295,j=T+(N<<10&4294967295|N>>>22),N=O+(T^(j|~I))+x[6]+2734768916&4294967295,O=j+(N<<15&4294967295|N>>>17),N=I+(j^(O|~T))+x[13]+1309151649&4294967295,I=O+(N<<21&4294967295|N>>>11),N=T+(O^(I|~j))+x[4]+4149444226&4294967295,T=I+(N<<6&4294967295|N>>>26),N=j+(I^(T|~O))+x[11]+3174756917&4294967295,j=T+(N<<10&4294967295|N>>>22),N=O+(T^(j|~I))+x[2]+718787259&4294967295,O=j+(N<<15&4294967295|N>>>17),N=I+(j^(O|~T))+x[9]+3951481745&4294967295,R.g[0]=R.g[0]+T&4294967295,R.g[1]=R.g[1]+(O+(N<<21&4294967295|N>>>11))&4294967295,R.g[2]=R.g[2]+O&4294967295,R.g[3]=R.g[3]+j&4294967295}i.prototype.u=function(R,T){T===void 0&&(T=R.length);for(var I=T-this.blockSize,x=this.B,O=this.h,j=0;j<T;){if(O==0)for(;j<=I;)o(this,R,j),j+=this.blockSize;
vendor: 46,960 bytes, lines 1593-1624
1593if(typeof R=="string"){for(;j<T;)if(x[O++]=R.charCodeAt(j++),O==this.blockSize){o(this,x),O=0;break}}else for(;j<T;)if(x[O++]=R[j++],O==this.blockSize){o(this,x),O=0;break}}this.h=O,this.o+=T},i.prototype.v=function(){var R=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);R[0]=128;for(var T=1;T<R.length-8;++T)R[T]=0;var I=8*this.o;for(T=R.length-8;T<R.length;++T)R[T]=I&255,I/=256;for(this.u(R),R=Array(16),T=I=0;4>T;++T)for(var x=0;32>x;x+=8)R[I++]=this.g[T]>>>x&255;return R};function l(R,T){var I=f;return Object.prototype.hasOwnProperty.call(I,R)?I[R]:I[R]=T(R)}function c(R,T){this.h=T;for(var I=[],x=!0,O=R.length-1;0<=O;O--){var j=R[O]|0;x&&j==T||(I[O]=j,x=!1)}this.g=I}var f={};function h(R){return-128<=R&&128>R?l(R,function(T){return new c([T|0],0>T?-1:0)}):new c([R|0],0>R?-1:0)}function m(R){if(isNaN(R)||!isFinite(R))return S;if(0>R)return L(m(-R));for(var T=[],I=1,x=0;R>=I;x++)T[x]=R/I|0,I*=4294967296;return new c(T,0)}function v(R,T){if(R.length==0)throw Error("number format error: empty string");if(T=T||10,2>T||36<T)throw Error("radix out of range: "+T);if(R.charAt(0)=="-")return L(v(R.substring(1),T));if(0<=R.indexOf("-"))throw Error('number format error: interior "-" character');for(var I=m(Math.pow(T,8)),x=S,O=0;O<R.length;O+=8){var j=Math.min(8,R.length-O),N=parseInt(R.substring(O,O+j),T);8>j?(j=m(Math.pow(T,j)),x=x.j(j).add(m(N))):(x=x.j(I),x=x.add(m(N)))}return x}var S=h(0),b=h(1),A=h(16777216);e=c.prototype,e.m=function(){if(C(this))return-L(this).m();for(var R=0,T=1,I=0;I<this.g.length;I++){var x=this.i(I);R+=(0<=x?x:4294967296+x)*T,T*=4294967296}return R},e.toString=function(R){if(R=R||10,2>R||36<R)throw Error("radix out of range: "+R);if(P(this))return"0";if(C(this))return"-"+L(this).toString(R);for(var T=m(Math.pow(R,6)),I=this,x="";;){var O=q(I,T).g;I=M(I,O.j(T));var j=((0<I.g.length?I.g[0]:I.h)>>>0).toString(R);if(I=O,P(I))return j+x;for(;6>j.length;)j="0"+j;x=j+x}},e.i=function(R){return 0>R?0:R<this.g.length?this.g[R]:this.h};function P(R){if(R.h!=0)return!1;for(var T=0;T<R.g.length;T++)if(R.g[T]!=0)return!1;return!0}function C(R){return R.h==-1}e.l=function(R){return R=M(this,R),C(R)?-1:P(R)?0:1};function L(R){for(var T=R.g.length,I=[],x=0;x<T;x++)I[x]=~R.g[x];return new c(I,~R.h).add(b)}e.abs=function(){return C(this)?L(this):this},e.add=function(R){for(var T=Math.max(this.g.length,R.g.length),I=[],x=0,O=0;O<=T;O++){var j=x+(this.i(O)&65535)+(R.i(O)&65535),N=(j>>>16)+(this.i(O)>>>16)+(R.i(O)>>>16);x=N>>>16,j&=65535,N&=65535,I[O]=N<<16|j}return new c(I,I[I.length-1]&-2147483648?-1:0)};function M(R,T){return R.add(L(T))}e.j=function(R){if(P(this)||P(R))return S;if(C(this))return C(R)?L(this).j(L(R)):L(L(this).j(R));if(C(R))return L(this.j(L(R)));if(0>this.l(A)&&0>R.l(A))return m(this.m()*R.m());for(var T=this.g.length+R.g.length,I=[],x=0;x<2*T;x++)I[x]=0;for(x=0;x<this.g.length;x++)for(var O=0;O<R.g.length;O++){var j=this.i(x)>>>16,N=this.i(x)&65535,Ee=R.i(O)>>>16,Ae=R.i(O)&65535;I[2*x+2*O]+=N*Ae,U(I,2*x+2*O),I[2*x+2*O+1]+=j*Ae,U(I,2*x+2*O+1),I[2*x+2*O+1]+=N*Ee,U(I,2*x+2*O+1),I[2*x+2*O+2]+=j*Ee,U(I,2*x+2*O+2)}for(x=0;x<T;x++)I[x]=I[2*x+1]<<16|I[2*x];for(x=T;x<2*T;x++)I[x]=0;return new c(I,0)};function U(R,T){for(;(R[T]&65535)!=R[T];)R[T+1]+=R[T]>>>16,R[T]&=65535,T++}function $(R,T){this.g=R,this.h=T}function q(R,T){if(P(T))throw Error("division by zero");if(P(R))return new $(S,S);if(C(R))return T=q(L(R),T),new $(L(T.g),L(T.h));if(C(T))return T=q(R,L(T)),new $(L(T.g),T.h);if(30<R.g.length){if(C(R)||C(T))throw Error("slowDivide_ only works with positive integers.");for(var I=b,x=T;0>=x.l(R);)I=J(I),x=J(x);var O=ee(I,1),j=ee(x,1);for(x=ee(x,2),I=ee(I,2);!P(x);){var N=j.add(x);0>=N.l(R)&&(O=O.add(I),j=N),x=ee(x,1),I=ee(I,1)}return T=M(R,O.j(T)),new $(O,T)}for(O=S;0<=R.l(T);){for(I=Math.max(1,Math.floor(R.m()/T.m())),x=Math.ceil(Math.log(I)/Math.LN2),x=48>=x?1:Math.pow(2,x-48),j=m(I),N=j.j(T);C(N)||0<N.l(R);)I-=x,j=m(I),N=j.j(T);P(j)&&(j=b),O=O.add(j),R=M(R,N)}return new $(O,R)}e.A=function(R){return q(this,R).h},e.and=function(R){for(var T=Math.max(this.g.length,R.g.length),I=[],x=0;x<T;x++)I[x]=this.i(x)&R.i(x);return new c(I,this.h&R.h)},e.or=function(R){for(var T=Math.max(this.g.length,R.g.length),I=[],x=0;x<T;x++)I[x]=this.i(x)|R.i(x);return new c(I,this.h|R.h)},e.xor=function(R){for(var T=Math.max(this.g.length,R.g.length),I=[],x=0;x<T;x++)I[x]=this.i(x)^R.i(x);return new c(I,this.h^R.h)};function J(R){for(var T=R.g.length+1,I=[],x=0;x<T;x++)I[x]=R.i(x)<<1|R.i(x-1)>>>31;return new c(I,R.h)}function ee(R,T){var I=T>>5;T%=32;for(var x=R.g.length-I,O=[],j=0;j<x;j++)O[j]=0<T?R.i(j+I)>>>T|R.i(j+I+1)<<32-T:R.i(j+I);return new c(O,R.h)}i.prototype.digest=i.prototype.v,i.prototype.reset=i.prototype.s,i.prototype.update=i.prototype.u,c.prototype.add=c.prototype.add,c.prototype.multiply=c.prototype.j,c.prototype.modulo=c.prototype.A,c.prototype.compare=c.prototype.l,c.prototype.toNumber=c.prototype.m,c.prototype.toString=c.prototype.toString,c.prototype.getBits=c.prototype.i,c.fromNumber=m,c.fromString=v,Rb=c}).apply(typeof V1<"u"?V1:typeof self<"u"?self:typeof window<"u"?window:{});var Ac=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){var e,t=typeof Object.defineProperties=="function"?Object.defineProperty:function(u,g,w){return u==Array.prototype||u==Object.prototype||(u[g]=w.value),u};function n(u){u=[typeof globalThis=="object"&&globalThis,u,typeof window=="object"&&window,typeof self=="object"&&self,typeof Ac=="object"&&Ac];for(var g=0;g<u.length;++g){var w=u[g];if(w&&w.Math==Math)return w}throw Error("Cannot find global object")}var i=n(this);function o(u,g){if(g)e:{var w=i;u=u.split(".");for(var _=0;_<u.length-1;_++){var H=u[_];if(!(H in w))break e;w=w[H]}u=u[u.length-1],_=w[u],g=g(_),g!=_&&g!=null&&t(w,u,{configurable:!0,writable:!0,value:g})}}function l(u,g){u instanceof String&&(u+="");var w=0,_=!1,H={next:function(){if(!_&&w<u.length){var X=w++;return{value:g(X,u[X]),done:!1}}return _=!0,{done:!0,value:void 0}}};return H[Symbol.iterator]=function(){return H},H}o("Array.prototype.values",function(u){return u||function(){return l(this,function(g,w){return w})}});/** @license 1594 1595 Copyright The Closure Library Authors. 1596 SPDX-License-Identifier: Apache-2.0 1597*/var c=c||{},f=this||self;function h(u){var g=typeof u;return g=g!="object"?g:u?Array.isArray(u)?"array":g:"null",g=="array"||g=="object"&&typeof u.length=="number"}function m(u){var g=typeof u;return g=="object"&&u!=null||g=="function"}function v(u,g,w){return u.call.apply(u.bind,arguments)}function S(u,g,w){if(!u)throw Error();if(2<arguments.length){var _=Array.prototype.slice.call(arguments,2);return function(){var H=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(H,_),u.apply(g,H)}}return function(){return u.apply(g,arguments)}}function b(u,g,w){return b=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?v:S,b.apply(null,arguments)}function A(u,g){var w=Array.prototype.slice.call(arguments,1);return function(){var _=w.slice();return _.push.apply(_,arguments),u.apply(this,_)}}function P(u,g){function w(){}w.prototype=g.prototype,u.aa=g.prototype,u.prototype=new w,u.prototype.constructor=u,u.Qb=function(_,H,X){for(var se=Array(arguments.length-2),Ue=2;Ue<arguments.length;Ue++)se[Ue-2]=arguments[Ue];return g.prototype[H].apply(_,se)}}function C(u){const g=u.length;if(0<g){const w=Array(g);for(let _=0;_<g;_++)w[_]=u[_];return w}return[]}function L(u,g){for(let w=1;w<arguments.length;w++){const _=arguments[w];if(h(_)){const H=u.length||0,X=_.length||0;u.length=H+X;for(let se=0;se<X;se++)u[H+se]=_[se]}else u.push(_)}}class M{constructor(g,w){this.i=g,this.j=w,this.h=0,this.g=null}get(){let g;return 0<this.h?(this.h--,g=this.g,this.g=g.next,g.next=null):g=this.i(),g}}function U(u){return/^[\s\xa0]*$/.test(u)}function $(){var u=f.navigator;return u&&(u=u.userAgent)?u:""}function q(u){return q[" "](u),u}q[" "]=function(){};var J=$().indexOf("Gecko")!=-1&&!($().toLowerCase().indexOf("webkit")!=-1&&$().indexOf("Edge")==-1)&&!($().indexOf("Trident")!=-1||$().indexOf("MSIE")!=-1)&&$().indexOf("Edge")==-1;function ee(u,g,w){for(const _ in u)g.call(w,u[_],_,u)}function R(u,g){for(const w in u)g.call(void 0,u[w],w,u)}function T(u){const g={};for(const w in u)g[w]=u[w];return g}const I="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function x(u,g){let w,_;for(let H=1;H<arguments.length;H++){_=arguments[H];for(w in _)u[w]=_[w];for(let X=0;X<I.length;X++)w=I[X],Object.prototype.hasOwnProperty.call(_,w)&&(u[w]=_[w])}}function O(u){var g=1;u=u.split(":");const w=[];for(;0<g&&u.length;)w.push(u.shift()),g--;return u.length&&w.push(u.join(":")),w}function j(u){f.setTimeout(()=>{throw u},0)}function N(){var u=pe;let g=null;return u.g&&(g=u.g,u.g=u.g.next,u.g||(u.h=null),g.next=null),g}class Ee{constructor(){this.h=this.g=null}add(g,w){const _=Ae.get();_.set(g,w),this.h?this.h.next=_:this.g=_,this.h=_}}var Ae=new M(()=>new De,u=>u.reset());class De{constructor(){this.next=this.g=this.h=null}set(g,w){this.h=g,this.g=w,this.next=null}reset(){this.next=this.g=this.h=null}}let ge,Y=!1,pe=new Ee,oe=()=>{const u=f.Promise.resolve(void 0);ge=()=>{u.then(z)}};var z=()=>{for(var u;u=N();){try{u.h.call(u.g)}catch(w){j(w)}var g=Ae;g.j(u),100>g.h&&(g.h++,u.next=g.g,g.g=u)}Y=!1};function Z(){this.s=this.s,this.C=this.C}Z.prototype.s=!1,Z.prototype.ma=function(){this.s||(this.s=!0,this.N())},Z.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()};function ae(u,g){this.type=u,this.g=this.target=g,this.defaultPrevented=!1}ae.prototype.h=function(){this.defaultPrevented=!0};var ye=function(){if(!f.addEventListener||!Object.defineProperty)return!1;var u=!1,g=Object.defineProperty({},"passive",{get:function(){u=!0}});try{const w=()=>{};f.addEventListener("test",w,g),f.removeEventListener("test",w,g)}catch{}return u}();function Te(u,g){if(ae.call(this,u?u.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,u){var w=this.type=u.type,_=u.changedTouches&&u.changedTouches.length?u.changedTouches[0]:null;if(this.target=u.target||u.srcElement,this.g=g,g=u.relatedTarget){if(J){e:{try{q(g.nodeName);var H=!0;break e}catch{}H=!1}H||(g=null)}}else w=="mouseover"?g=u.fromElement:w=="mouseout"&&(g=u.toElement);this.relatedTarget=g,_?(this.clientX=_.clientX!==void 0?_.clientX:_.pageX,this.clientY=_.clientY!==void 0?_.clientY:_.pageY,this.screenX=_.screenX||0,this.screenY=_.screenY||0):(this.clientX=u.clientX!==void 0?u.clientX:u.pageX,this.clientY=u.clientY!==void 0?u.clientY:u.pageY,this.screenX=u.screenX||0,this.screenY=u.screenY||0),this.button=u.button,this.key=u.key||"",this.ctrlKey=u.ctrlKey,this.altKey=u.altKey,this.shiftKey=u.shiftKey,this.metaKey=u.metaKey,this.pointerId=u.pointerId||0,this.pointerType=typeof u.pointerType=="string"?u.pointerType:Pe[u.pointerType]||"",this.state=u.state,this.i=u,u.defaultPrevented&&Te.aa.h.call(this)}}P(Te,ae);var Pe={2:"touch",3:"pen",4:"mouse"};Te.prototype.h=function(){Te.aa.h.call(this);var u=this.i;u.preventDefault?u.preventDefault():u.returnValue=!1};var xe="closure_listenable_"+(1e6*Math.random()|0),Re=0;function je(u,g,w,_,H){this.listener=u,this.proxy=null,this.src=g,this.type=w,this.capture=!!_,this.ha=H,this.key=++Re,this.da=this.fa=!1}function Ze(u){u.da=!0,u.listener=null,u.proxy=null,u.src=null,u.ha=null}function on(u){this.src=u,this.g={},this.h=0}on.prototype.add=function(u,g,w,_,H){var X=u.toString();u=this.g[X],u||(u=this.g[X]=[],this.h++);var se=Zr(u,g,_,H);return-1<se?(g=u[se],w||(g.fa=!1)):(g=new je(g,this.src,X,!!_,H),g.fa=w,u.push(g)),g};function Rn(u,g){var w=g.type;if(w in u.g){var _=u.g[w],H=Array.prototype.indexOf.call(_,g,void 0),X;(X=0<=H)&&Array.prototype.splice.call(_,H,1),X&&(Ze(g),u.g[w].length==0&&(delete u.g[w],u.h--))}}function Zr(u,g,w,_){for(var H=0;H<u.length;++H){var X=u[H];if(!X.da&&X.listener==g&&X.capture==!!w&&X.ha==_)return H}return-1}var $i="closure_lm_"+(1e6*Math.random()|0),Os={};function na(u,g,w,_,H){if(Array.isArray(g)){for(var X=0;X<g.length;X++)na(u,g[X],w,_,H);return null}return w=sa(w),u&&u[xe]?u.K(g,w,m(_)?!!_.capture:!1,H):ra(u,g,w,!1,_,H)}function ra(u,g,w,_,H,X){if(!g)throw Error("Invalid event type");var se=m(H)?!!H.capture:!!H,Ue=Ls(u);if(Ue||(u[$i]=Ue=new on(u)),w=Ue.add(g,w,_,se,X),w.proxy)return w;if(_=iu(),w.proxy=_,_.src=u,_.listener=w,u.addEventListener)ye||(H=se),H===void 0&&(H=!1),u.addEventListener(g.toString(),_,H);else if(u.attachEvent)u.attachEvent(br(g.toString()),_);else if(u.addListener&&u.removeListener)u.addListener(_);else throw Error("addEventListener and attachEvent are unavailable.");return w}function iu(){function u(w){return g.call(u.src,u.listener,w)}const g=ia;return u}function Ds(u,g,w,_,H){if(Array.isArray(g))for(var X=0;X<g.length;X++)Ds(u,g[X],w,_,H);else _=m(_)?!!_.capture:!!_,w=sa(w),u&&u[xe]?(u=u.i,g=String(g).toString(),g in u.g&&(X=u.g[g],w=Zr(X,w,_,H),-1<w&&(Ze(X[w]),Array.prototype.splice.call(X,w,1),X.length==0&&(delete u.g[g],u.h--)))):u&&(u=Ls(u))&&(g=u.g[g.toString()],u=-1,g&&(u=Zr(g,w,_,H)),(w=-1<u?g[u]:null)&&Sr(w))}function Sr(u){if(typeof u!="number"&&u&&!u.da){var g=u.src;if(g&&g[xe])Rn(g.i,u);else{var w=u.type,_=u.proxy;g.removeEventListener?g.removeEventListener(w,_,u.capture):g.detachEvent?g.detachEvent(br(w),_):g.addListener&&g.removeListener&&g.removeListener(_),(w=Ls(g))?(Rn(w,u),w.h==0&&(w.src=null,g[$i]=null)):Ze(u)}}}function br(u){return u in Os?Os[u]:Os[u]="on"+u}function ia(u,g){if(u.da)u=!0;else{g=new Te(g,this);var w=u.listener,_=u.ha||u.src;u.fa&&Sr(u),u=w.call(_,g)}return u}function Ls(u){return u=u[$i],u instanceof on?u:null}var Ms="__closure_events_fn_"+(1e9*Math.random()>>>0);function sa(u){return typeof u=="function"?u:(u[Ms]||(u[Ms]=function(g){return u.handleEvent(g)}),u[Ms])}function mt(){Z.call(this),this.i=new on(this),this.M=this,this.F=null}P(mt,Z),mt.prototype[xe]=!0,mt.prototype.removeEventListener=function(u,g,w,_){Ds(this,u,g,w,_)};function gt(u,g){var w,_=u.F;if(_)for(w=[];_;_=_.F)w.push(_);if(u=u.M,_=g.type||g,typeof g=="string")g=new ae(g,u);else if(g instanceof ae)g.target=g.target||u;else{var H=g;g=new ae(_,u),x(g,H)}if(H=!0,w)for(var X=w.length-1;0<=X;X--){var se=g.g=w[X];H=kr(se,_,!0,g)&&H}if(se=g.g=u,H=kr(se,_,!0,g)&&H,H=kr(se,_,!1,g)&&H,w)for(X=0;X<w.length;X++)se=g.g=w[X],H=kr(se,_,!1,g)&&H}mt.prototype.N=function(){if(mt.aa.N.call(this),this.i){var u=this.i,g;for(g in u.g){for(var w=u.g[g],_=0;_<w.length;_++)Ze(w[_]);delete u.g[g],u.h--}}this.F=null},mt.prototype.K=function(u,g,w,_){return this.i.add(String(u),g,!1,w,_)},mt.prototype.L=function(u,g,w,_){return this.i.add(String(u),g,!0,w,_)};function kr(u,g,w,_){if(g=u.i.g[String(g)],!g)return!0;g=g.concat();for(var H=!0,X=0;X<g.length;++X){var se=g[X];if(se&&!se.da&&se.capture==w){var Ue=se.listener,yt=se.ha||se.src;se.fa&&Rn(u.i,se),H=Ue.call(yt,_)!==!1&&H}}return H&&!_.defaultPrevented}function oa(u,g,w){if(typeof u=="function")w&&(u=b(u,w));else if(u&&typeof u.handleEvent=="function")u=b(u.handleEvent,u);else throw Error("Invalid listener argument");return 2147483647<Number(g)?-1:f.setTimeout(u,g||0)}function ei(u){u.g=oa(()=>{u.g=null,u.i&&(u.i=!1,ei(u))},u.l);const g=u.h;u.h=null,u.m.apply(null,g)}class zi extends Z{constructor(g,w){super(),this.m=g,this.l=w,this.h=null,this.i=!1,this.g=null}j(g){this.h=arguments,this.g?this.i=!0:ei(this)}N(){super.N(),this.g&&(f.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function Hi(u){Z.call(this),this.h=u,this.g={}}P(Hi,Z);var aa=[];function la(u){ee(u.g,function(g,w){this.g.hasOwnProperty(w)&&Sr(g)},u),u.g={}}Hi.prototype.N=function(){Hi.aa.N.call(this),la(this)},Hi.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var ua=f.JSON.stringify,ca=f.JSON.parse,da=class{stringify(u){return f.JSON.stringify(u,void 0)}parse(u){return f.JSON.parse(u,void 0)}};function Wi(){}Wi.prototype.h=null;function js(u){return u.h||(u.h=u.i())}function fa(){}var gn={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function Qn(){ae.call(this,"d")}P(Qn,ae);function Fs(){ae.call(this,"c")}P(Fs,ae);var Er={},ha=null;function Vs(){return ha=ha||new mt}Er.La="serverreachability";function pa(u){ae.call(this,Er.La,u)}P(pa,ae);function Tr(u){const g=Vs();gt(g,new pa(g))}Er.STAT_EVENT="statevent";function ma(u,g){ae.call(this,Er.STAT_EVENT,u),this.stat=g}P(ma,ae);function ut(u){const g=Vs();gt(g,new ma(g,u))}Er.Ma="timingevent";function Bs(u,g){ae.call(this,Er.Ma,u),this.size=g}P(Bs,ae);function Nn(u,g){if(typeof u!="function")throw Error("Fn must not be null and must be a function");return f.setTimeout(function(){u()},g)}function Gi(){this.g=!0}Gi.prototype.xa=function(){this.g=!1};function Ki(u,g,w,_,H,X){u.info(function(){if(u.g)if(X)for(var se="",Ue=X.split("&"),yt=0;yt<Ue.length;yt++){var Ne=Ue[yt].split("=");if(1<Ne.length){var St=Ne[0];Ne=Ne[1];var bt=St.split("_");se=2<=bt.length&&bt[1]=="type"?se+(St+"="+Ne+"&"):se+(St+"=redacted&")}}else se=null;else se=X;return"XMLHTTP REQ ("+_+") [attempt "+H+"]: "+g+` 1598`+w+` 1599`+se})}function Us(u,g,w,_,H,X,se){u.info(function(){return"XMLHTTP RESP ("+_+") [ attempt "+H+"]: "+g+` 1600`+w+` 1601`+X+" "+se})}function On(u,g,w,_){u.info(function(){return"XMLHTTP TEXT ("+g+"): "+Md(u,w)+(_?" "+_:"")})}function ga(u,g){u.info(function(){return"TIMEOUT: "+g})}Gi.prototype.info=function(){};function Md(u,g){if(!u.g)return g;if(!g)return null;try{var w=JSON.parse(g);if(w){for(u=0;u<w.length;u++)if(Array.isArray(w[u])){var _=w[u];if(!(2>_.length)){var H=_[1];if(Array.isArray(H)&&!(1>H.length)){var X=H[0];if(X!="noop"&&X!="stop"&&X!="close")for(var se=1;se<H.length;se++)H[se]=""}}}}return ua(w)}catch{return g}}var ya={NO_ERROR:0,TIMEOUT:8},jd={},Dn;function Yi(){}P(Yi,Wi),Yi.prototype.g=function(){return new XMLHttpRequest},Yi.prototype.i=function(){return{}},Dn=new Yi;function Ln(u,g,w,_){this.j=u,this.i=g,this.l=w,this.R=_||1,this.U=new Hi(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new su}function su(){this.i=null,this.g="",this.h=!1}var va={},$s={};function zs(u,g,w){u.L=1,u.v=si(ln(g)),u.m=w,u.P=!0,wa(u,null)}function wa(u,g){u.F=Date.now(),Ge(u),u.A=ln(u.v);var w=u.A,_=u.R;Array.isArray(_)||(_=[String(_)]),ai(w.i,"t",_),u.C=0,w=u.j.J,u.h=new su,u.g=ku(u.j,w?g:null,!u.m),0<u.O&&(u.M=new zi(b(u.Y,u,u.g),u.O)),g=u.U,w=u.g,_=u.ca;var H="readystatechange";Array.isArray(H)||(H&&(aa[0]=H.toString()),H=aa);for(var X=0;X<H.length;X++){var se=na(w,H[X],_||g.handleEvent,!1,g.h||g);if(!se)break;g.g[se.key]=se}g=u.H?T(u.H):{},u.m?(u.u||(u.u="POST"),g["Content-Type"]="application/x-www-form-urlencoded",u.g.ea(u.A,u.u,u.m,g)):(u.u="GET",u.g.ea(u.A,u.u,null,g)),Tr(),Ki(u.i,u.u,u.A,u.l,u.R,u.m)}Ln.prototype.ca=function(u){u=u.target;const g=this.M;g&&Yt(u)==3?g.j():this.Y(u)},Ln.prototype.Y=function(u){try{if(u==this.g)e:{const bt=Yt(this.g);var g=this.g.Ba();const rr=this.g.Z();if(!(3>bt)&&(bt!=3||this.g&&(this.h.h||this.g.oa()||Ta(this.g)))){this.J||bt!=4||g==7||(g==8||0>=rr?Tr(3):Tr(2)),qi(this);var w=this.g.Z();this.X=w;t:if(ou(this)){var _=Ta(this.g);u="";var H=_.length,X=Yt(this.g)==4;if(!this.h.i){if(typeof TextDecoder>"u"){yn(this),ti(this);var se="";break t}this.h.i=new f.TextDecoder}for(g=0;g<H;g++)this.h.h=!0,u+=this.h.i.decode(_[g],{stream:!(X&&g==H-1)});_.length=0,this.h.g+=u,this.C=0,se=this.h.g}else se=this.g.oa();if(this.o=w==200,Us(this.i,this.u,this.A,this.l,this.R,bt,w),this.o){if(this.T&&!this.K){t:{if(this.g){var Ue,yt=this.g;if((Ue=yt.g?yt.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!U(Ue)){var Ne=Ue;break t}}Ne=null}if(w=Ne)On(this.i,this.l,w,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,xa(this,w);else{this.o=!1,this.s=3,ut(12),yn(this),ti(this);break e}}if(this.P){w=!0;let Pt;for(;!this.J&&this.C<se.length;)if(Pt=Fd(this,se),Pt==$s){bt==4&&(this.s=4,ut(14),w=!1),On(this.i,this.l,null,"[Incomplete Response]");break}else if(Pt==va){this.s=4,ut(15),On(this.i,this.l,se,"[Invalid Chunk]"),w=!1;break}else On(this.i,this.l,Pt,null),xa(this,Pt);if(ou(this)&&this.C!=0&&(this.h.g=this.h.g.slice(this.C),this.C=0),bt!=4||se.length!=0||this.h.h||(this.s=1,ut(16),w=!1),this.o=this.o&&w,!w)On(this.i,this.l,se,"[Invalid Chunked Response]"),yn(this),ti(this);else if(0<se.length&&!this.W){this.W=!0;var St=this.j;St.g==this&&St.ba&&!St.M&&(St.j.info("Great, no buffering proxy detected. Bytes received: "+se.length),_a(St),St.M=!0,ut(11))}}else On(this.i,this.l,se,null),xa(this,se);bt==4&&yn(this),this.o&&!this.J&&(bt==4?eo(this.j,this):(this.o=!1,Ge(this)))}else qs(this.g),w==400&&0<se.indexOf("Unknown SID")?(this.s=3,ut(12)):(this.s=0,ut(13)),yn(this),ti(this)}}}catch{}finally{}};function ou(u){return u.g?u.u=="GET"&&u.L!=2&&u.j.Ca:!1}function Fd(u,g){var w=u.C,_=g.indexOf(` 1602`,w);return _==-1?$s:(w=Number(g.substring(w,_)),isNaN(w)?va:(_+=1,_+w>g.length?$s:(g=g.slice(_,_+w),u.C=_+w,g)))}Ln.prototype.cancel=function(){this.J=!0,yn(this)};function Ge(u){u.S=Date.now()+u.I,au(u,u.I)}function au(u,g){if(u.B!=null)throw Error("WatchDog timer not null");u.B=Nn(b(u.ba,u),g)}function qi(u){u.B&&(f.clearTimeout(u.B),u.B=null)}Ln.prototype.ba=function(){this.B=null;const u=Date.now();0<=u-this.S?(ga(this.i,this.A),this.L!=2&&(Tr(),ut(17)),yn(this),this.s=2,ti(this)):au(this,this.S-u)};function ti(u){u.j.G==0||u.J||eo(u.j,u)}function yn(u){qi(u);var g=u.M;g&&typeof g.ma=="function"&&g.ma(),u.M=null,la(u.U),u.g&&(g=u.g,u.g=null,g.abort(),g.ma())}function xa(u,g){try{var w=u.j;if(w.G!=0&&(w.g==u||Bt(w.h,u))){if(!u.K&&Bt(w.h,u)&&w.G==3){try{var _=w.Da.g.parse(g)}catch{_=null}if(Array.isArray(_)&&_.length==3){var H=_;if(H[0]==0){e:if(!w.u){if(w.g)if(w.g.F+3e3<u.F)Zs(w),Bn(w);else break e;Qs(w),ut(18)}}else w.za=H[1],0<w.za-w.T&&37500>H[2]&&w.F&&w.v==0&&!w.C&&(w.C=Nn(b(w.Za,w),6e3));if(1>=uu(w.h)&&w.ca){try{w.ca()}catch{}w.ca=void 0}}else Ir(w,11)}else if((u.K||w.g==u)&&Zs(w),!U(g))for(H=w.Da.g.parse(g),g=0;g<H.length;g++){let Ne=H[g];if(w.T=Ne[0],Ne=Ne[1],w.G==2)if(Ne[0]=="c"){w.K=Ne[1],w.ia=Ne[2];const St=Ne[3];St!=null&&(w.la=St,w.j.info("VER="+w.la));const bt=Ne[4];bt!=null&&(w.Aa=bt,w.j.info("SVER="+w.Aa));const rr=Ne[5];rr!=null&&typeof rr=="number"&&0<rr&&(_=1.5*rr,w.L=_,w.j.info("backChannelRequestTimeoutMs_="+_)),_=w;const Pt=u.g;if(Pt){const to=Pt.g?Pt.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(to){var X=_.h;X.g||to.indexOf("spdy")==-1&&to.indexOf("quic")==-1&&to.indexOf("h2")==-1||(X.j=X.l,X.g=new Set,X.h&&(Sa(X,X.h),X.h=null))}if(_.D){const no=Pt.g?Pt.g.getResponseHeader("X-HTTP-Session-Id"):null;no&&(_.ya=no,ze(_.I,_.D,no))}}w.G=3,w.l&&w.l.ua(),w.ba&&(w.R=Date.now()-u.F,w.j.info("Handshake RTT: "+w.R+"ms")),_=w;var se=u;if(_.qa=bu(_,_.J?_.ia:null,_.W),se.K){cu(_.h,se);var Ue=se,yt=_.L;yt&&(Ue.I=yt),Ue.B&&(qi(Ue),Ge(Ue)),_.g=se}else ts(_);0<w.i.length&&nr(w)}else Ne[0]!="stop"&&Ne[0]!="close"||Ir(w,7);else w.G==3&&(Ne[0]=="stop"||Ne[0]=="close"?Ne[0]=="stop"?Ir(w,7):_t(w):Ne[0]!="noop"&&w.l&&w.l.ta(Ne),w.v=0)}}Tr(4)}catch{}}var lu=class{constructor(u,g){this.g=u,this.map=g}};function Xi(u){this.l=u||10,f.PerformanceNavigationTiming?(u=f.performance.getEntriesByType("navigation"),u=0<u.length&&(u[0].nextHopProtocol=="hq"||u[0].nextHopProtocol=="h2")):u=!!(f.chrome&&f.chrome.loadTimes&&f.chrome.loadTimes()&&f.chrome.loadTimes().wasFetchedViaSpdy),this.j=u?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function an(u){return u.h?!0:u.g?u.g.size>=u.j:!1}function uu(u){return u.h?1:u.g?u.g.size:0}function Bt(u,g){return u.h?u.h==g:u.g?u.g.has(g):!1}function Sa(u,g){u.g?u.g.add(g):u.h=g}function cu(u,g){u.h&&u.h==g?u.h=null:u.g&&u.g.has(g)&&u.g.delete(g)}Xi.prototype.cancel=function(){if(this.i=du(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&this.g.size!==0){for(const u of this.g.values())u.cancel();this.g.clear()}};function du(u){if(u.h!=null)return u.i.concat(u.h.D);if(u.g!=null&&u.g.size!==0){let g=u.i;for(const w of u.g.values())g=g.concat(w.D);return g}return C(u.i)}function Hs(u){if(u.V&&typeof u.V=="function")return u.V();if(typeof Map<"u"&&u instanceof Map||typeof Set<"u"&&u instanceof Set)return Array.from(u.values());if(typeof u=="string")return u.split("");if(h(u)){for(var g=[],w=u.length,_=0;_<w;_++)g.push(u[_]);return g}g=[],w=0;for(_ in u)g[w++]=u[_];return g}function Ws(u){if(u.na&&typeof u.na=="function")return u.na();if(!u.V||typeof u.V!="function"){if(typeof Map<"u"&&u instanceof Map)return Array.from(u.keys());if(!(typeof Set<"u"&&u instanceof Set)){if(h(u)||typeof u=="string"){var g=[];u=u.length;for(var w=0;w<u;w++)g.push(w);return g}g=[],w=0;for(const _ in u)g[w++]=_;return g}}}function ni(u,g){if(u.forEach&&typeof u.forEach=="function")u.forEach(g,void 0);else if(h(u)||typeof u=="string")Array.prototype.forEach.call(u,g,void 0);else for(var w=Ws(u),_=Hs(u),H=_.length,X=0;X<H;X++)g.call(void 0,_[X],w&&w[X],u)}var Ji=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Vd(u,g){if(u){u=u.split("&");for(var w=0;w<u.length;w++){var _=u[w].indexOf("="),H=null;if(0<=_){var X=u[w].substring(0,_);H=u[w].substring(_+1)}else X=u[w];g(X,H?decodeURIComponent(H.replace(/\+/g," ")):"")}}}function Cr(u){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,u instanceof Cr){this.h=u.h,Qi(this,u.j),this.o=u.o,this.g=u.g,ri(this,u.s),this.l=u.l;var g=u.i,w=new Zn;w.i=g.i,g.g&&(w.g=new Map(g.g),w.h=g.h),ii(this,w),this.m=u.m}else u&&(g=String(u).match(Ji))?(this.h=!1,Qi(this,g[1]||"",!0),this.o=Ie(g[2]||""),this.g=Ie(g[3]||"",!0),ri(this,g[4]),this.l=Ie(g[5]||"",!0),ii(this,g[6]||"",!0),this.m=Ie(g[7]||"")):(this.h=!1,this.i=new Zn(null,this.h))}Cr.prototype.toString=function(){var u=[],g=this.j;g&&u.push(oi(g,Gs,!0),":");var w=this.g;return(w||g=="file")&&(u.push("//"),(g=this.o)&&u.push(oi(g,Gs,!0),"@"),u.push(encodeURIComponent(String(w)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),w=this.s,w!=null&&u.push(":",String(w))),(w=this.l)&&(this.g&&w.charAt(0)!="/"&&u.push("/"),u.push(oi(w,w.charAt(0)=="/"?pu:hu,!0))),(w=this.i.toString())&&u.push("?",w),(w=this.m)&&u.push("#",oi(w,ba)),u.join("")};function ln(u){return new Cr(u)}function Qi(u,g,w){u.j=w?Ie(g,!0):g,u.j&&(u.j=u.j.replace(/:$/,""))}function ri(u,g){if(g){if(g=Number(g),isNaN(g)||0>g)throw Error("Bad port number "+g);u.s=g}else u.s=null}function ii(u,g,w){g instanceof Zn?(u.i=g,er(u.i,u.h)):(w||(g=oi(g,mu)),u.i=new Zn(g,u.h))}function ze(u,g,w){u.i.set(g,w)}function si(u){return ze(u,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),u}function Ie(u,g){return u?g?decodeURI(u.replace(/%25/g,"%2525")):decodeURIComponent(u):""}function oi(u,g,w){return typeof u=="string"?(u=encodeURI(u).replace(g,fu),w&&(u=u.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),u):null}function fu(u){return u=u.charCodeAt(0),"%"+(u>>4&15).toString(16)+(u&15).toString(16)}var Gs=/[#\/\?@]/g,hu=/[#\?:]/g,pu=/[#\?]/g,mu=/[#\?@]/g,ba=/#/g;function Zn(u,g){this.h=this.g=null,this.i=u||null,this.j=!!g}function Ct(u){u.g||(u.g=new Map,u.h=0,u.i&&Vd(u.i,function(g,w){u.add(decodeURIComponent(g.replace(/\+/g," ")),w)}))}e=Zn.prototype,e.add=function(u,g){Ct(this),this.i=null,u=vn(this,u);var w=this.g.get(u);return w||this.g.set(u,w=[]),w.push(g),this.h+=1,this};function Mn(u,g){Ct(u),g=vn(u,g),u.g.has(g)&&(u.i=null,u.h-=u.g.get(g).length,u.g.delete(g))}function jn(u,g){return Ct(u),g=vn(u,g),u.g.has(g)}e.forEach=function(u,g){Ct(this),this.g.forEach(function(w,_){w.forEach(function(H){u.call(g,H,_,this)},this)},this)},e.na=function(){Ct(this);const u=Array.from(this.g.values()),g=Array.from(this.g.keys()),w=[];for(let _=0;_<g.length;_++){const H=u[_];for(let X=0;X<H.length;X++)w.push(g[_])}return w},e.V=function(u){Ct(this);let g=[];if(typeof u=="string")jn(this,u)&&(g=g.concat(this.g.get(vn(this,u))));else{u=Array.from(this.g.values());for(let w=0;w<u.length;w++)g=g.concat(u[w])}return g},e.set=function(u,g){return Ct(this),this.i=null,u=vn(this,u),jn(this,u)&&(this.h-=this.g.get(u).length),this.g.set(u,[g]),this.h+=1,this},e.get=function(u,g){return u?(u=this.V(u),0<u.length?String(u[0]):g):g};function ai(u,g,w){Mn(u,g),0<w.length&&(u.i=null,u.g.set(vn(u,g),C(w)),u.h+=w.length)}e.toString=function(){if(this.i)return this.i;if(!this.g)return"";const u=[],g=Array.from(this.g.keys());for(var w=0;w<g.length;w++){var _=g[w];const X=encodeURIComponent(String(_)),se=this.V(_);for(_=0;_<se.length;_++){var H=X;se[_]!==""&&(H+="="+encodeURIComponent(String(se[_]))),u.push(H)}}return this.i=u.join("&")};function vn(u,g){return g=String(g),u.j&&(g=g.toLowerCase()),g}function er(u,g){g&&!u.j&&(Ct(u),u.i=null,u.g.forEach(function(w,_){var H=_.toLowerCase();_!=H&&(Mn(this,_),ai(this,H,w))},u)),u.j=g}function Bd(u,g){const w=new Gi;if(f.Image){const _=new Image;_.onload=A(Kt,w,"TestLoadImage: loaded",!0,g,_),_.onerror=A(Kt,w,"TestLoadImage: error",!1,g,_),_.onabort=A(Kt,w,"TestLoadImage: abort",!1,g,_),_.ontimeout=A(Kt,w,"TestLoadImage: timeout",!1,g,_),f.setTimeout(function(){_.ontimeout&&_.ontimeout()},1e4),_.src=u}else g(!1)}function gu(u,g){const w=new Gi,_=new AbortController,H=setTimeout(()=>{_.abort(),Kt(w,"TestPingServer: timeout",!1,g)},1e4);fetch(u,{signal:_.signal}).then(X=>{clearTimeout(H),X.ok?Kt(w,"TestPingServer: ok",!0,g):Kt(w,"TestPingServer: server error",!1,g)}).catch(()=>{clearTimeout(H),Kt(w,"TestPingServer: error",!1,g)})}function Kt(u,g,w,_,H){try{H&&(H.onload=null,H.onerror=null,H.onabort=null,H.ontimeout=null),_(w)}catch{}}function Ud(){this.g=new da}function yu(u,g,w){const _=w||"";try{ni(u,function(H,X){let se=H;m(H)&&(se=ua(H)),g.push(_+X+"="+encodeURIComponent(se))})}catch(H){throw g.push(_+"type="+encodeURIComponent("_badmap")),H}}function _r(u){this.l=u.Ub||null,this.j=u.eb||!1}P(_r,Wi),_r.prototype.g=function(){return new Zi(this.l,this.j)},_r.prototype.i=function(u){return function(){return u}}({});function Zi(u,g){mt.call(this),this.D=u,this.o=g,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}P(Zi,mt),e=Zi.prototype,e.open=function(u,g){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.B=u,this.A=g,this.readyState=1,Vn(this)},e.send=function(u){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");this.g=!0;const g={headers:this.u,method:this.B,credentials:this.m,cache:void 0};u&&(g.body=u),(this.D||f).fetch(new Request(this.A,g)).then(this.Sa.bind(this),this.ga.bind(this))},e.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&this.readyState!=4&&(this.g=!1,Fn(this)),this.readyState=0},e.Sa=function(u){if(this.g&&(this.l=u,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=u.headers,this.readyState=2,Vn(this)),this.g&&(this.readyState=3,Vn(this),this.g)))if(this.responseType==="arraybuffer")u.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(typeof f.ReadableStream<"u"&&"body"in u){if(this.j=u.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.v=new TextDecoder;vu(this)}else u.text().then(this.Ra.bind(this),this.ga.bind(this))};function vu(u){u.j.read().then(u.Pa.bind(u)).catch(u.ga.bind(u))}e.Pa=function(u){if(this.g){if(this.o&&u.value)this.response.push(u.value);else if(!this.o){var g=u.value?u.value:new Uint8Array(0);(g=this.v.decode(g,{stream:!u.done}))&&(this.response=this.responseText+=g)}u.done?Fn(this):Vn(this),this.readyState==3&&vu(this)}},e.Ra=function(u){this.g&&(this.response=this.responseText=u,Fn(this))},e.Qa=function(u){this.g&&(this.response=u,Fn(this))},e.ga=function(){this.g&&Fn(this)};function Fn(u){u.readyState=4,u.l=null,u.j=null,u.v=null,Vn(u)}e.setRequestHeader=function(u,g){this.u.append(u,g)},e.getResponseHeader=function(u){return this.h&&this.h.get(u.toLowerCase())||""},e.getAllResponseHeaders=function(){if(!this.h)return"";const u=[],g=this.h.entries();for(var w=g.next();!w.done;)w=w.value,u.push(w[0]+": "+w[1]),w=g.next();return u.join(`\r 1603`)};function Vn(u){u.onreadystatechange&&u.onreadystatechange.call(u)}Object.defineProperty(Zi.prototype,"withCredentials",{get:function(){return this.m==="include"},set:function(u){this.m=u?"include":"same-origin"}});function Pr(u){let g="";return ee(u,function(w,_){g+=_,g+=":",g+=w,g+=`\r 1604`}),g}function li(u,g,w){e:{for(_ in w){var _=!1;break e}_=!0}_||(w=Pr(w),typeof u=="string"?w!=null&&encodeURIComponent(String(w)):ze(u,g,w))}function et(u){mt.call(this),this.headers=new Map,this.o=u||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}P(et,mt);var $d=/^https?$/i,ka=["POST","PUT"];e=et.prototype,e.Ha=function(u){this.J=u},e.ea=function(u,g,w,_){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+u);g=g?g.toUpperCase():"GET",this.D=u,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():Dn.g(),this.v=this.o?js(this.o):js(Dn),this.g.onreadystatechange=b(this.Ea,this);try{this.B=!0,this.g.open(g,String(u),!0),this.B=!1}catch(X){es(this,X);return}if(u=w||"",w=new Map(this.headers),_)if(Object.getPrototypeOf(_)===Object.prototype)for(var H in _)w.set(H,_[H]);else if(typeof _.keys=="function"&&typeof _.get=="function")for(const X of _.keys())w.set(X,_.get(X));else throw Error("Unknown input type for opt_headers: "+String(_));_=Array.from(w.keys()).find(X=>X.toLowerCase()=="content-type"),H=f.FormData&&u instanceof f.FormData,!(0<=Array.prototype.indexOf.call(ka,g,void 0))||_||H||w.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[X,se]of w)this.g.setRequestHeader(X,se);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{Ys(this),this.u=!0,this.g.send(u),this.u=!1}catch(X){es(this,X)}};function es(u,g){u.h=!1,u.g&&(u.j=!0,u.g.abort(),u.j=!1),u.l=g,u.m=5,Ks(u),un(u)}function Ks(u){u.A||(u.A=!0,gt(u,"complete"),gt(u,"error"))}e.abort=function(u){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=u||7,gt(this,"complete"),gt(this,"abort"),un(this))},e.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),un(this,!0)),et.aa.N.call(this)},e.Ea=function(){this.s||(this.B||this.u||this.j?Ea(this):this.bb())},e.bb=function(){Ea(this)};function Ea(u){if(u.h&&typeof c<"u"&&(!u.v[1]||Yt(u)!=4||u.Z()!=2)){if(u.u&&Yt(u)==4)oa(u.Ea,0,u);else if(gt(u,"readystatechange"),Yt(u)==4){u.h=!1;try{const se=u.Z();e:switch(se){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var g=!0;break e;default:g=!1}var w;if(!(w=g)){var _;if(_=se===0){var H=String(u.D).match(Ji)[1]||null;!H&&f.self&&f.self.location&&(H=f.self.location.protocol.slice(0,-1)),_=!$d.test(H?H.toLowerCase():"")}w=_}if(w)gt(u,"complete"),gt(u,"success");else{u.m=6;try{var X=2<Yt(u)?u.g.statusText:""}catch{X=""}u.l=X+" ["+u.Z()+"]",Ks(u)}}finally{un(u)}}}}function un(u,g){if(u.g){Ys(u);const w=u.g,_=u.v[0]?()=>{}:null;u.g=null,u.v=null,g||gt(u,"ready");try{w.onreadystatechange=_}catch{}}}function Ys(u){u.I&&(f.clearTimeout(u.I),u.I=null)}e.isActive=function(){return!!this.g};function Yt(u){return u.g?u.g.readyState:0}e.Z=function(){try{return 2<Yt(this)?this.g.status:-1}catch{return-1}},e.oa=function(){try{return this.g?this.g.responseText:""}catch{return""}},e.Oa=function(u){if(this.g){var g=this.g.responseText;return u&&g.indexOf(u)==0&&(g=g.substring(u.length)),ca(g)}};function Ta(u){try{if(!u.g)return null;if("response"in u.g)return u.g.response;switch(u.H){case"":case"text":return u.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in u.g)return u.g.mozResponseArrayBuffer}return null}catch{return null}}function qs(u){const g={};u=(u.g&&2<=Yt(u)&&u.g.getAllResponseHeaders()||"").split(`\r 1605`);for(let _=0;_<u.length;_++){if(U(u[_]))continue;var w=O(u[_]);const H=w[0];if(w=w[1],typeof w!="string")continue;w=w.trim();const X=g[H]||[];g[H]=X,X.push(w)}R(g,function(_){return _.join(", ")})}e.Ba=function(){return this.m},e.Ka=function(){return typeof this.l=="string"?this.l:String(this.l)};function tr(u,g,w){return w&&w.internalChannelParams&&w.internalChannelParams[u]||g}function Ca(u){this.Aa=0,this.i=[],this.j=new Gi,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=tr("failFast",!1,u),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=tr("baseRetryDelayMs",5e3,u),this.cb=tr("retryDelaySeedMs",1e4,u),this.Wa=tr("forwardChannelMaxRetries",2,u),this.wa=tr("forwardChannelRequestTimeoutMs",2e4,u),this.pa=u&&u.xmlHttpFactory||void 0,this.Xa=u&&u.Tb||void 0,this.Ca=u&&u.useFetchStreams||!1,this.L=void 0,this.J=u&&u.supportsCrossDomainXhr||!1,this.K="",this.h=new Xi(u&&u.concurrentRequestLimit),this.Da=new Ud,this.P=u&&u.fastHandshake||!1,this.O=u&&u.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=u&&u.Rb||!1,u&&u.xa&&this.j.xa(),u&&u.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&u&&u.detectBufferingProxy||!1,this.ja=void 0,u&&u.longPollingTimeout&&0<u.longPollingTimeout&&(this.ja=u.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}e=Ca.prototype,e.la=8,e.G=1,e.connect=function(u,g,w,_){ut(0),this.W=u,this.H=g||{},w&&_!==void 0&&(this.H.OSID=w,this.H.OAID=_),this.F=this.X,this.I=bu(this,null,this.W),nr(this)};function _t(u){if(Xs(u),u.G==3){var g=u.U++,w=ln(u.I);if(ze(w,"SID",u.K),ze(w,"RID",g),ze(w,"TYPE","terminate"),Ar(u,w),g=new Ln(u,u.j,g),g.L=2,g.v=si(ln(w)),w=!1,f.navigator&&f.navigator.sendBeacon)try{w=f.navigator.sendBeacon(g.v.toString(),"")}catch{}!w&&f.Image&&(new Image().src=g.v,w=!0),w||(g.g=ku(g.j,null),g.g.ea(g.v)),g.F=Date.now(),Ge(g)}Su(u)}function Bn(u){u.g&&(_a(u),u.g.cancel(),u.g=null)}function Xs(u){Bn(u),u.u&&(f.clearTimeout(u.u),u.u=null),Zs(u),u.h.cancel(),u.s&&(typeof u.s=="number"&&f.clearTimeout(u.s),u.s=null)}function nr(u){if(!an(u.h)&&!u.s){u.s=!0;var g=u.Ga;ge||oe(),Y||(ge(),Y=!0),pe.add(g,u),u.B=0}}function zd(u,g){return uu(u.h)>=u.h.j-(u.s?1:0)?!1:u.s?(u.i=g.D.concat(u.i),!0):u.G==1||u.G==2||u.B>=(u.Va?0:u.Wa)?!1:(u.s=Nn(b(u.Ga,u,g),xu(u,u.B)),u.B++,!0)}e.Ga=function(u){if(this.s)if(this.s=null,this.G==1){if(!u){this.U=Math.floor(1e5*Math.random()),u=this.U++;const H=new Ln(this,this.j,u);let X=this.o;if(this.S&&(X?(X=T(X),x(X,this.S)):X=this.S),this.m!==null||this.O||(H.H=X,X=null),this.P)e:{for(var g=0,w=0;w<this.i.length;w++){t:{var _=this.i[w];if("__data__"in _.map&&(_=_.map.__data__,typeof _=="string")){_=_.length;break t}_=void 0}if(_===void 0)break;if(g+=_,4096<g){g=w;break e}if(g===4096||w===this.i.length-1){g=w+1;break e}}g=1e3}else g=1e3;g=ui(this,H,g),w=ln(this.I),ze(w,"RID",u),ze(w,"CVER",22),this.D&&ze(w,"X-HTTP-Session-Id",this.D),Ar(this,w),X&&(this.O?g="headers="+encodeURIComponent(String(Pr(X)))+"&"+g:this.m&&li(w,this.m,X)),Sa(this.h,H),this.Ua&&ze(w,"TYPE","init"),this.P?(ze(w,"$req",g),ze(w,"SID","null"),H.T=!0,zs(H,w,null)):zs(H,w,g),this.G=2}}else this.G==3&&(u?Js(this,u):this.i.length==0||an(this.h)||Js(this))};function Js(u,g){var w;g?w=g.l:w=u.U++;const _=ln(u.I);ze(_,"SID",u.K),ze(_,"RID",w),ze(_,"AID",u.T),Ar(u,_),u.m&&u.o&&li(_,u.m,u.o),w=new Ln(u,u.j,w,u.B+1),u.m===null&&(w.H=u.o),g&&(u.i=g.D.concat(u.i)),g=ui(u,w,1e3),w.I=Math.round(.5*u.wa)+Math.round(.5*u.wa*Math.random()),Sa(u.h,w),zs(w,_,g)}function Ar(u,g){u.H&&ee(u.H,function(w,_){ze(g,_,w)}),u.l&&ni({},function(w,_){ze(g,_,w)})}function ui(u,g,w){w=Math.min(u.i.length,w);var _=u.l?b(u.l.Na,u.l,u):null;e:{var H=u.i;let X=-1;for(;;){const se=["count="+w];X==-1?0<w?(X=H[0].g,se.push("ofs="+X)):X=0:se.push("ofs="+X);let Ue=!0;for(let yt=0;yt<w;yt++){let Ne=H[yt].g;const St=H[yt].map;if(Ne-=X,0>Ne)X=Math.max(0,H[yt].g-100),Ue=!1;else try{yu(St,se,"req"+Ne+"_")}catch{_&&_(St)}}if(Ue){_=se.join("&");break e}}}return u=u.i.splice(0,w),g.D=u,_}function ts(u){if(!u.g&&!u.u){u.Y=1;var g=u.Fa;ge||oe(),Y||(ge(),Y=!0),pe.add(g,u),u.v=0}}function Qs(u){return u.g||u.u||3<=u.v?!1:(u.Y++,u.u=Nn(b(u.Fa,u),xu(u,u.v)),u.v++,!0)}e.Fa=function(){if(this.u=null,wu(this),this.ba&&!(this.M||this.g==null||0>=this.R)){var u=2*this.R;this.j.info("BP detection timer enabled: "+u),this.A=Nn(b(this.ab,this),u)}},e.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,ut(10),Bn(this),wu(this))};function _a(u){u.A!=null&&(f.clearTimeout(u.A),u.A=null)}function wu(u){u.g=new Ln(u,u.j,"rpc",u.Y),u.m===null&&(u.g.H=u.o),u.g.O=0;var g=ln(u.qa);ze(g,"RID","rpc"),ze(g,"SID",u.K),ze(g,"AID",u.T),ze(g,"CI",u.F?"0":"1"),!u.F&&u.ja&&ze(g,"TO",u.ja),ze(g,"TYPE","xmlhttp"),Ar(u,g),u.m&&u.o&&li(g,u.m,u.o),u.L&&(u.g.I=u.L);var w=u.g;u=u.ia,w.L=1,w.v=si(ln(g)),w.m=null,w.P=!0,wa(w,u)}e.Za=function(){this.C!=null&&(this.C=null,Bn(this),Qs(this),ut(19))};function Zs(u){u.C!=null&&(f.clearTimeout(u.C),u.C=null)}function eo(u,g){var w=null;if(u.g==g){Zs(u),_a(u),u.g=null;var _=2}else if(Bt(u.h,g))w=g.D,cu(u.h,g),_=1;else return;if(u.G!=0){if(g.o)if(_==1){w=g.m?g.m.length:0,g=Date.now()-g.F;var H=u.B;_=Vs(),gt(_,new Bs(_,w)),nr(u)}else ts(u);else if(H=g.s,H==3||H==0&&0<g.X||!(_==1&&zd(u,g)||_==2&&Qs(u)))switch(w&&0<w.length&&(g=u.h,g.i=g.i.concat(w)),H){case 1:Ir(u,5);break;case 4:Ir(u,10);break;case 3:Ir(u,6);break;default:Ir(u,2)}}}function xu(u,g){let w=u.Ta+Math.floor(Math.random()*u.cb);return u.isActive()||(w*=2),w*g}function Ir(u,g){if(u.j.info("Error code "+g),g==2){var w=b(u.fb,u),_=u.Xa;const H=!_;_=new Cr(_||"//www.google.com/images/cleardot.gif"),f.location&&f.location.protocol=="http"||Qi(_,"https"),si(_),H?Bd(_.toString(),w):gu(_.toString(),w)}else ut(2);u.G=0,u.l&&u.l.sa(g),Su(u),Xs(u)}e.fb=function(u){u?(this.j.info("Successfully pinged google.com"),ut(2)):(this.j.info("Failed to ping google.com"),ut(1))};function Su(u){if(u.G=0,u.ka=[],u.l){const g=du(u.h);(g.length!=0||u.i.length!=0)&&(L(u.ka,g),L(u.ka,u.i),u.h.i.length=0,C(u.i),u.i.length=0),u.l.ra()}}function bu(u,g,w){var _=w instanceof Cr?ln(w):new Cr(w);if(_.g!="")g&&(_.g=g+"."+_.g),ri(_,_.s);else{var H=f.location;_=H.protocol,g=g?g+"."+H.hostname:H.hostname,H=+H.port;var X=new Cr(null);_&&Qi(X,_),g&&(X.g=g),H&&ri(X,H),w&&(X.l=w),_=X}return w=u.D,g=u.ya,w&&g&&ze(_,w,g),ze(_,"VER",u.la),Ar(u,_),_}function ku(u,g,w){if(g&&!u.J)throw Error("Can't create secondary domain capable XhrIo object.");return g=u.Ca&&!u.pa?new et(new _r({eb:w})):new et(u.pa),g.Ha(u.J),g}e.isActive=function(){return!!this.l&&this.l.isActive(this)};function Pa(){}e=Pa.prototype,e.ua=function(){},e.ta=function(){},e.sa=function(){},e.ra=function(){},e.isActive=function(){return!0},e.Na=function(){};function qt(u,g){mt.call(this),this.g=new Ca(g),this.l=u,this.h=g&&g.messageUrlParams||null,u=g&&g.messageHeaders||null,g&&g.clientProtocolHeaderRequired&&(u?u["X-Client-Protocol"]="webchannel":u={"X-Client-Protocol":"webchannel"}),this.g.o=u,u=g&&g.initMessageHeaders||null,g&&g.messageContentType&&(u?u["X-WebChannel-Content-Type"]=g.messageContentType:u={"X-WebChannel-Content-Type":g.messageContentType}),g&&g.va&&(u?u["X-WebChannel-Client-Profile"]=g.va:u={"X-WebChannel-Client-Profile":g.va}),this.g.S=u,(u=g&&g.Sb)&&!U(u)&&(this.g.m=u),this.v=g&&g.supportsCrossDomainXhr||!1,this.u=g&&g.sendRawJson||!1,(g=g&&g.httpSessionIdParam)&&!U(g)&&(this.g.D=g,u=this.h,u!==null&&g in u&&(u=this.h,g in u&&delete u[g])),this.j=new ci(this)}P(qt,mt),qt.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},qt.prototype.close=function(){_t(this.g)},qt.prototype.o=function(u){var g=this.g;if(typeof u=="string"){var w={};w.__data__=u,u=w}else this.u&&(w={},w.__data__=ua(u),u=w);g.i.push(new lu(g.Ya++,u)),g.G==3&&nr(g)},qt.prototype.N=function(){this.g.l=null,delete this.j,_t(this.g),delete this.g,qt.aa.N.call(this)};function Eu(u){Qn.call(this),u.__headers__&&(this.headers=u.__headers__,this.statusCode=u.__status__,delete u.__headers__,delete u.__status__);var g=u.__sm__;if(g){e:{for(const w in g){u=w;break e}u=void 0}(this.i=u)&&(u=this.i,g=g!==null&&u in g?g[u]:void 0),this.data=g}else this.data=u}P(Eu,Qn);function Tu(){Fs.call(this),this.status=1}P(Tu,Fs);function ci(u){this.g=u}P(ci,Pa),ci.prototype.ua=function(){gt(this.g,"a")},ci.prototype.ta=function(u){gt(this.g,new Eu(u))},ci.prototype.sa=function(u){gt(this.g,new Tu)},ci.prototype.ra=function(){gt(this.g,"b")},qt.prototype.send=qt.prototype.o,qt.prototype.open=qt.prototype.m,qt.prototype.close=qt.prototype.close,ya.NO_ERROR=0,ya.TIMEOUT=8,ya.HTTP_ERROR=6,jd.COMPLETE="complete",fa.EventType=gn,gn.OPEN="a",gn.CLOSE="b",gn.ERROR="c",gn.MESSAGE="d",mt.prototype.listen=mt.prototype.K,et.prototype.listenOnce=et.prototype.L,et.prototype.getLastError=et.prototype.Ka,et.prototype.getLastErrorCode=et.prototype.Ba,et.prototype.getStatus=et.prototype.Z,et.prototype.getResponseJson=et.prototype.Oa,et.prototype.getResponseText=et.prototype.oa,et.prototype.send=et.prototype.ea,et.prototype.setWithCredentials=et.prototype.Ha}).apply(typeof Ac<"u"?Ac:typeof self<"u"?self:typeof window<"u"?window:{});const B1="@firebase/firestore",U1="4.7.16";/** 1606 * @license 1607 * Copyright 2017 Google LLC 1608 * 1609 * Licensed under the Apache License, Version 2.0 (the "License"); 1610 * you may not use this file except in compliance with the License. 1611 * You may obtain a copy of the License at 1612 * 1613 * http://www.apache.org/licenses/LICENSE-2.0 1614 * 1615 * Unless required by applicable law or agreed to in writing, software 1616 * distributed under the License is distributed on an "AS IS" BASIS, 1617 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1618 * See the License for the specific language governing permissions and 1619 * limitations under the License. 1620 */class zt{constructor(t){this.uid=t}isAuthenticated(){return this.uid!=null}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(t){return t.uid===this.uid}}zt.UNAUTHENTICATED=new zt(null),zt.GOOGLE_CREDENTIALS=new zt("google-credentials-uid"),zt.FIRST_PARTY=new zt("first-party-uid"),zt.MOCK_USER=new zt("mock-user");/** 1621 * @license 1622 * Copyright 2017 Google LLC 1623 * 1624 * Licensed under the Apache License, Version 2.0 (the "License");
1625 * you may not use this file except in compliance with the License. 1626 * You may obtain a copy of the License at 1627 * 1628 * http://www.apache.org/licenses/LICENSE-2.0 1629 * 1630 * Unless required by applicable law or agreed to in writing, software 1631 * distributed under the License is distributed on an "AS IS" BASIS, 1632 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1633 * See the License for the specific language governing permissions and 1634 * limitations under the License. 1635 */let nu="11.8.1";/** 1636 * @license 1637 * Copyright 2017 Google LLC 1638 * 1639 * Licensed under the Apache License, Version 2.0 (the "License"); 1640 * you may not use this file except in compliance with the License. 1641 * You may obtain a copy of the License at 1642 * 1643 * http://www.apache.org/licenses/LICENSE-2.0 1644 * 1645 * Unless required by applicable law or agreed to in writing, software 1646 * distributed under the License is distributed on an "AS IS" BASIS, 1647 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1648 * See the License for the specific language governing permissions and 1649 * limitations under the License. 1650 */const Wo=new Im("@firebase/firestore");function qn(e,...t){if(Wo.logLevel<=Be.DEBUG){const n=t.map(Hm);Wo.debug(`Firestore (${nu}): ${e}`,...n)}}function Nb(e,...t){if(Wo.logLevel<=Be.ERROR){const n=t.map(Hm);Wo.error(`Firestore (${nu}): ${e}`,...n)}}function yO(e,...t){if(Wo.logLevel<=Be.WARN){const n=t.map(Hm);Wo.warn(`Firestore (${nu}): ${e}`,...n)}}function Hm(e){if(typeof e=="string")return e;try{/** 1651* @license 1652* Copyright 2020 Google LLC 1653* 1654* Licensed under the Apache License, Version 2.0 (the "License"); 1655* you may not use this file except in compliance with the License. 1656* You may obtain a copy of the License at 1657* 1658* http://www.apache.org/licenses/LICENSE-2.0 1659* 1660* Unless required by applicable law or agreed to in writing, software 1661* distributed under the License is distributed on an "AS IS" BASIS, 1662* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1663* See the License for the specific language governing permissions and 1664* limitations under the License. 1665*/return function(n){return JSON.stringify(n)}(e)}catch{return e}}/** 1666 * @license 1667 * Copyright 2017 Google LLC 1668 * 1669 * Licensed under the Apache License, Version 2.0 (the "License"); 1670 * you may not use this file except in compliance with the License. 1671 * You may obtain a copy of the License at 1672 * 1673 * http://www.apache.org/licenses/LICENSE-2.0 1674 * 1675 * Unless required by applicable law or agreed to in writing, software 1676 * distributed under the License is distributed on an "AS IS" BASIS, 1677 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1678 * See the License for the specific language governing permissions and 1679 * limitations under the License. 1680 */function Ob(e,t,n){let i="Unexpected state";typeof t=="string"?i=t:n=t,Db(e,i,n)}function Db(e,t,n){let i=`FIRESTORE (${nu}) INTERNAL ASSERTION FAILED: ${t} (ID: ${e.toString(16)})`;if(n!==void 0)try{i+=" CONTEXT: "+JSON.stringify(n)}catch{i+=" CONTEXT: "+n}throw Nb(i),new Error(i)}function Sl(e,t,n,i){let o="Unexpected state";typeof n=="string"?o=n:i=n,e||Db(t,o,i)}/** 1681 * @license 1682 * Copyright 2017 Google LLC 1683 * 1684 * Licensed under the Apache License, Version 2.0 (the "License"); 1685 * you may not use this file except in compliance with the License. 1686 * You may obtain a copy of the License at 1687 * 1688 * http://www.apache.org/licenses/LICENSE-2.0 1689 * 1690 * Unless required by applicable law or agreed to in writing, software 1691 * distributed under the License is distributed on an "AS IS" BASIS, 1692 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1693 * See the License for the specific language governing permissions and 1694 * limitations under the License. 1695 */const nn={CANCELLED:"cancelled",INVALID_ARGUMENT:"invalid-argument",FAILED_PRECONDITION:"failed-precondition"};class rn extends Qr{constructor(t,n){super(t,n),this.code=t,this.message=n,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}/** 1696 * @license 1697 * Copyright 2017 Google LLC 1698 * 1699 * Licensed under the Apache License, Version 2.0 (the "License");
1700 * you may not use this file except in compliance with the License. 1701 * You may obtain a copy of the License at 1702 * 1703 * http://www.apache.org/licenses/LICENSE-2.0 1704 * 1705 * Unless required by applicable law or agreed to in writing, software 1706 * distributed under the License is distributed on an "AS IS" BASIS, 1707 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1708 * See the License for the specific language governing permissions and 1709 * limitations under the License. 1710 */class bl{constructor(){this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}}/** 1711 * @license 1712 * Copyright 2017 Google LLC 1713 * 1714 * Licensed under the Apache License, Version 2.0 (the "License"); 1715 * you may not use this file except in compliance with the License. 1716 * You may obtain a copy of the License at 1717 * 1718 * http://www.apache.org/licenses/LICENSE-2.0 1719 * 1720 * Unless required by applicable law or agreed to in writing, software 1721 * distributed under the License is distributed on an "AS IS" BASIS, 1722 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1723 * See the License for the specific language governing permissions and 1724 * limitations under the License. 1725 */class Lb{constructor(t,n){this.user=n,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${t}`)}}class vO{getToken(){return Promise.resolve(null)}invalidateToken(){}start(t,n){t.enqueueRetryable(()=>n(zt.UNAUTHENTICATED))}shutdown(){}}class wO{constructor(t){this.token=t,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(t,n){this.changeListener=n,t.enqueueRetryable(()=>n(this.token.user))}shutdown(){this.changeListener=null}}class xO{constructor(t){this.t=t,this.currentUser=zt.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(t,n){Sl(this.o===void 0,42304);let i=this.i;const o=h=>this.i!==i?(i=this.i,n(h)):Promise.resolve();let l=new bl;this.o=()=>{this.i++,this.currentUser=this.u(),l.resolve(),l=new bl,t.enqueueRetryable(()=>o(this.currentUser))};const c=()=>{const h=l;t.enqueueRetryable(async()=>{await h.promise,await o(this.currentUser)})},f=h=>{qn("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=h,this.o&&(this.auth.addAuthTokenListener(this.o),c())};this.t.onInit(h=>f(h)),setTimeout(()=>{if(!this.auth){const h=this.t.getImmediate({optional:!0});h?f(h):(qn("FirebaseAuthCredentialsProvider","Auth not yet detected"),l.resolve(),l=new bl)}},0),c()}getToken(){const t=this.i,n=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(n).then(i=>this.i!==t?(qn("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):i?(Sl(typeof i.accessToken=="string",31837,{l:i}),new Lb(i.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const t=this.auth&&this.auth.getUid();return Sl(t===null||typeof t=="string",2055,{h:t}),new zt(t)}}class SO{constructor(t,n,i){this.P=t,this.T=n,this.I=i,this.type="FirstParty",this.user=zt.FIRST_PARTY,this.A=new Map}R(){return this.I?this.I():null}get headers(){this.A.set("X-Goog-AuthUser",this.P);const t=this.R();return t&&this.A.set("Authorization",t),this.T&&this.A.set("X-Goog-Iam-Authorization-Token",this.T),this.A}}class bO{constructor(t,n,i){this.P=t,this.T=n,this.I=i}getToken(){return Promise.resolve(new SO(this.P,this.T,this.I))}start(t,n){t.enqueueRetryable(()=>n(zt.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class $1{constructor(t){this.value=t,this.type="AppCheck",this.headers=new Map,t&&t.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class kO{constructor(t,n){this.V=n,this.forceRefresh=!1,this.appCheck=null,this.m=null,this.p=null,pn(t)&&t.settings.appCheckToken&&(this.p=t.settings.appCheckToken)}start(t,n){Sl(this.o===void 0,3512);const i=l=>{l.error!=null&&qn("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${l.error.message}`);const c=l.token!==this.m;return this.m=l.token,qn("FirebaseAppCheckTokenProvider",`Received ${c?"new":"existing"} token.`),c?n(l.token):Promise.resolve()};this.o=l=>{t.enqueueRetryable(()=>i(l))};const o=l=>{qn("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=l,this.o&&this.appCheck.addTokenListener(this.o)};this.V.onInit(l=>o(l)),setTimeout(()=>{if(!this.appCheck){const l=this.V.getImmediate({optional:!0});l?o(l):qn("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){if(this.p)return Promise.resolve(new $1(this.p));const t=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(t).then(n=>n?(Sl(typeof n.token=="string",44558,{tokenResult:n}),this.m=n.token,new $1(n.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}function EO(e){return e.name==="IndexedDbTransactionError"}const Rp="(default)";class ud{constructor(t,n){this.projectId=t,this.database=n||Rp}static empty(){return new ud("","")}get isDefaultDatabase(){return this.database===Rp}isEqual(t){return t instanceof ud&&t.projectId===this.projectId&&t.database===this.database}}/** 1726 * @license 1727 * Copyright 2017 Google LLC 1728 * 1729 * Licensed under the Apache License, Version 2.0 (the "License");
1730 * you may not use this file except in compliance with the License. 1731 * You may obtain a copy of the License at 1732 * 1733 * http://www.apache.org/licenses/LICENSE-2.0 1734 * 1735 * Unless required by applicable law or agreed to in writing, software 1736 * distributed under the License is distributed on an "AS IS" BASIS, 1737 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1738 * See the License for the specific language governing permissions and 1739 * limitations under the License. 1740 */var z1,Oe;(Oe=z1||(z1={}))[Oe.OK=0]="OK",Oe[Oe.CANCELLED=1]="CANCELLED",Oe[Oe.UNKNOWN=2]="UNKNOWN",Oe[Oe.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",Oe[Oe.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",Oe[Oe.NOT_FOUND=5]="NOT_FOUND",Oe[Oe.ALREADY_EXISTS=6]="ALREADY_EXISTS",Oe[Oe.PERMISSION_DENIED=7]="PERMISSION_DENIED",Oe[Oe.UNAUTHENTICATED=16]="UNAUTHENTICATED",Oe[Oe.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",Oe[Oe.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",Oe[Oe.ABORTED=10]="ABORTED",Oe[Oe.OUT_OF_RANGE=11]="OUT_OF_RANGE",Oe[Oe.UNIMPLEMENTED=12]="UNIMPLEMENTED",Oe[Oe.INTERNAL=13]="INTERNAL",Oe[Oe.UNAVAILABLE=14]="UNAVAILABLE",Oe[Oe.DATA_LOSS=15]="DATA_LOSS";/** 1741 * @license 1742 * Copyright 2022 Google LLC 1743 * 1744 * Licensed under the Apache License, Version 2.0 (the "License"); 1745 * you may not use this file except in compliance with the License. 1746 * You may obtain a copy of the License at 1747 * 1748 * http://www.apache.org/licenses/LICENSE-2.0 1749 * 1750 * Unless required by applicable law or agreed to in writing, software 1751 * distributed under the License is distributed on an "AS IS" BASIS, 1752 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1753 * See the License for the specific language governing permissions and 1754 * limitations under the License. 1755 */new Rb([4294967295,4294967295],0);/** 1756 * @license 1757 * Copyright 2018 Google LLC 1758 * 1759 * Licensed under the Apache License, Version 2.0 (the "License"); 1760 * you may not use this file except in compliance with the License. 1761 * You may obtain a copy of the License at 1762 * 1763 * http://www.apache.org/licenses/LICENSE-2.0 1764 * 1765 * Unless required by applicable law or agreed to in writing, software 1766 * distributed under the License is distributed on an "AS IS" BASIS, 1767 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1768 * See the License for the specific language governing permissions and 1769 * limitations under the License. 1770 */const TO=41943040;/** 1771 * @license 1772 * Copyright 2020 Google LLC 1773 * 1774 * Licensed under the Apache License, Version 2.0 (the "License"); 1775 * you may not use this file except in compliance with the License. 1776 * You may obtain a copy of the License at 1777 * 1778 * http://www.apache.org/licenses/LICENSE-2.0 1779 * 1780 * Unless required by applicable law or agreed to in writing, software 1781 * distributed under the License is distributed on an "AS IS" BASIS, 1782 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1783 * See the License for the specific language governing permissions and 1784 * limitations under the License. 1785 */const CO=1048576;function Hh(){return typeof document<"u"?document:null}/** 1786 * @license 1787 * Copyright 2017 Google LLC 1788 * 1789 * Licensed under the Apache License, Version 2.0 (the "License"); 1790 * you may not use this file except in compliance with the License. 1791 * You may obtain a copy of the License at 1792 * 1793 * http://www.apache.org/licenses/LICENSE-2.0 1794 * 1795 * Unless required by applicable law or agreed to in writing, software 1796 * distributed under the License is distributed on an "AS IS" BASIS, 1797 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1798 * See the License for the specific language governing permissions and 1799 * limitations under the License. 1800 */class _O{constructor(t,n,i=1e3,o=1.5,l=6e4){this.xi=t,this.timerId=n,this.I_=i,this.E_=o,this.d_=l,this.A_=0,this.R_=null,this.V_=Date.now(),this.reset()}reset(){this.A_=0}m_(){this.A_=this.d_}f_(t){this.cancel();const n=Math.floor(this.A_+this.g_()),i=Math.max(0,Date.now()-this.V_),o=Math.max(0,n-i);o>0&&qn("ExponentialBackoff",`Backing off for ${o} ms (base delay: ${this.A_} ms, delay with jitter: ${n} ms, last attempt: ${i} ms ago)`),this.R_=this.xi.enqueueAfterDelay(this.timerId,o,()=>(this.V_=Date.now(),t())),this.A_*=this.E_,this.A_<this.I_&&(this.A_=this.I_),this.A_>this.d_&&(this.A_=this.d_)}
vendor: 5,936 bytes, lines 1800-1860
1800p_(){this.R_!==null&&(this.R_.skipDelay(),this.R_=null)}cancel(){this.R_!==null&&(this.R_.cancel(),this.R_=null)}g_(){return(Math.random()-.5)*this.A_}}/** 1801 * @license 1802 * Copyright 2017 Google LLC 1803 * 1804 * Licensed under the Apache License, Version 2.0 (the "License"); 1805 * you may not use this file except in compliance with the License. 1806 * You may obtain a copy of the License at 1807 * 1808 * http://www.apache.org/licenses/LICENSE-2.0 1809 * 1810 * Unless required by applicable law or agreed to in writing, software 1811 * distributed under the License is distributed on an "AS IS" BASIS, 1812 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1813 * See the License for the specific language governing permissions and 1814 * limitations under the License. 1815 */class Wm{constructor(t,n,i,o,l){this.asyncQueue=t,this.timerId=n,this.targetTimeMs=i,this.op=o,this.removalCallback=l,this.deferred=new bl,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(c=>{})}get promise(){return this.deferred.promise}static createAndSchedule(t,n,i,o,l){const c=Date.now()+i,f=new Wm(t,n,c,o,l);return f.start(i),f}start(t){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),t)}skipDelay(){return this.handleDelayElapsed()}cancel(t){this.timerHandle!==null&&(this.clearTimeout(),this.deferred.reject(new rn(nn.CANCELLED,"Operation cancelled"+(t?": "+t:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>this.timerHandle!==null?(this.clearTimeout(),this.op().then(t=>this.deferred.resolve(t))):Promise.resolve())}clearTimeout(){this.timerHandle!==null&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}var H1,W1;(W1=H1||(H1={})).Ca="default",W1.Cache="cache";/** 1816 * @license 1817 * Copyright 2023 Google LLC 1818 * 1819 * Licensed under the Apache License, Version 2.0 (the "License"); 1820 * you may not use this file except in compliance with the License. 1821 * You may obtain a copy of the License at 1822 * 1823 * http://www.apache.org/licenses/LICENSE-2.0 1824 * 1825 * Unless required by applicable law or agreed to in writing, software 1826 * distributed under the License is distributed on an "AS IS" BASIS, 1827 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1828 * See the License for the specific language governing permissions and 1829 * limitations under the License. 1830 */function PO(e){const t={};return e.timeoutSeconds!==void 0&&(t.timeoutSeconds=e.timeoutSeconds),t}/** 1831 * @license 1832 * Copyright 2020 Google LLC 1833 * 1834 * Licensed under the Apache License, Version 2.0 (the "License"); 1835 * you may not use this file except in compliance with the License. 1836 * You may obtain a copy of the License at 1837 * 1838 * http://www.apache.org/licenses/LICENSE-2.0 1839 * 1840 * Unless required by applicable law or agreed to in writing, software 1841 * distributed under the License is distributed on an "AS IS" BASIS, 1842 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1843 * See the License for the specific language governing permissions and 1844 * limitations under the License. 1845 */const G1=new Map;function AO(e,t,n,i){if(t===!0&&i===!0)throw new rn(nn.INVALID_ARGUMENT,`${e} and ${n} cannot be used together.`)}function IO(e){if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="string")return e.length>20&&(e=`${e.substring(0,20)}...`),JSON.stringify(e);if(typeof e=="number"||typeof e=="boolean")return""+e;if(typeof e=="object"){if(e instanceof Array)return"an array";{const t=function(i){return i.constructor?i.constructor.name:null}(e);return t?`a custom ${t} object`:"an object"}}return typeof e=="function"?"a function":Ob(12329,{type:typeof e})}function RO(e,t){if("_delegate"in e&&(e=e._delegate),!(e instanceof t)){if(t.name===e.constructor.name)throw new rn(nn.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const n=IO(e);throw new rn(nn.INVALID_ARGUMENT,`Expected type '${t.name}', but it was: ${n}`)}}return e}/** 1846 * @license 1847 * Copyright 2020 Google LLC 1848 * 1849 * Licensed under the Apache License, Version 2.0 (the "License"); 1850 * you may not use this file except in compliance with the License. 1851 * You may obtain a copy of the License at 1852 * 1853 * http://www.apache.org/licenses/LICENSE-2.0 1854 * 1855 * Unless required by applicable law or agreed to in writing, software 1856 * distributed under the License is distributed on an "AS IS" BASIS, 1857 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1858 * See the License for the specific language governing permissions and 1859 * limitations under the License. 1860 */const Mb="firestore.googleapis.com",K1=!0;class Y1{constructor(t){var n,i;if(t.host===void 0){if(t.ssl!==void 0)throw new rn(nn.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host=Mb,this.ssl=K1}else this.host=t.host,this.ssl=(n=t.ssl)!==null&&n!==void 0?n:K1;if(this.isUsingEmulator=t.emulatorOptions!==void 0,this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,this.localCache=t.localCache,t.cacheSizeBytes===void 0)this.cacheSizeBytes=TO;else{if(t.cacheSizeBytes!==-1&&t.cacheSizeBytes<CO)throw new rn(nn.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}AO("experimentalForceLongPolling",t.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",t.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:t.experimentalAutoDetectLongPolling===void 0?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!t.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=PO((i=t.experimentalLongPollingOptions)!==null&&i!==void 0?i:{}),function(l){if(l.timeoutSeconds!==void 0){if(isNaN(l.timeoutSeconds))throw new rn(nn.INVALID_ARGUMENT,`invalid long polling timeout: ${l.t
1860imeoutSeconds} (must not be NaN)`);if(l.timeoutSeconds<5)throw new rn(nn.INVALID_ARGUMENT,`invalid long polling timeout: ${l.timeoutSeconds} (minimum allowed value is 5)`);if(l.timeoutSeconds>30)throw new rn(nn.INVALID_ARGUMENT,`invalid long polling timeout: ${l.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!t.useFetchStreams}isEqual(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&function(i,o){return i.timeoutSeconds===o.timeoutSeconds}(this.experimentalLongPollingOptions,t.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties&&this.useFetchStreams===t.useFetchStreams}}class jb{constructor(t,n,i,o){this._authCredentials=t,this._appCheckCredentials=n,this._databaseId=i,this._app=o,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new Y1({}),this._settingsFrozen=!1,this._emulatorOptions={},this._terminateTask="notTerminated"}get app(){if(!this._app)throw new rn(nn.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return this._terminateTask!=="notTerminated"}_setSettings(t){if(this._settingsFrozen)throw new rn(nn.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new Y1(t),this._emulatorOptions=t.emulatorOptions||{},t.credentials!==void 0&&(this._authCredentials=function(i){if(!i)return new vO;switch(i.type){case"firstParty":return new bO(i.sessionIndex||"0",i.iamToken||null,i.authTokenFactory||null);case"provider":return i.client;default:throw new rn(nn.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(t.credentials))}_getSettings(){return this._settings}_getEmulatorOptions(){return this._emulatorOptions}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return this._terminateTask==="notTerminated"&&(this._terminateTask=this._terminate()),this._terminateTask}async _restart(){this._terminateTask==="notTerminated"?await this._terminate():this._terminateTask="notTerminated"}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(n){const i=G1.get(n);i&&(qn("ComponentProvider","Removing Datastore"),G1.delete(n),i.terminate())}(this),Promise.resolve()}}function NO(e,t,n,i={}){var o;e=RO(e,jb);const l=Nd(t),c=e._getSettings(),f=Object.assign(Object.assign({},c),{emulatorOptions:e._getEmulatorOptions()}),h=`${t}:${n}`;l&&(WS(`https://${h}`),GS("Firestore",!0)),c.host!==Mb&&c.host!==h&&yO("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used.");const m=Object.assign(Object.assign({},c),{host:h,ssl:l,emulatorOptions:i});if(!_s(m,f)&&(e._setSettings(m),i.mockUserToken)){let v,S;if(typeof i.mockUserToken=="string")v=i.mockUserToken,S=zt.MOCK_USER;else{v=A5(i.mockUserToken,(o=e._app)===null||o===void 0?void 0:o.options.projectId);const b=i.mockUserToken.sub||i.mockUserToken.user_id;if(!b)throw new rn(nn.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");S=new zt(b)}e._authCredentials=new wO(new Lb(v,S))}}/** 1861 * @license 1862 * Copyright 2020 Google LLC 1863 * 1864 * Licensed under the Apache License, Version 2.0 (the "License"); 1865 * you may not use this file except in compliance with the License. 1866 * You may obtain a copy of the License at 1867 * 1868 * http://www.apache.org/licenses/LICENSE-2.0 1869 * 1870 * Unless required by applicable law or agreed to in writing, software 1871 * distributed under the License is distributed on an "AS IS" BASIS, 1872 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1873 * See the License for the specific language governing permissions and 1874 * limitations under the License. 1875 */const q1="AsyncQueue";class X1{constructor(t=Promise.resolve()){this.zu=[],this.ju=!1,this.Hu=[],this.Ju=null,this.Yu=!1,this.Zu=!1,this.Xu=[],this.C_=new _O(this,"async_queue_retry"),this.ec=()=>{const i=Hh();i&&qn(q1,"Visibility state changed to "+i.visibilityState),this.C_.p_()},this.tc=t;const n=Hh();n&&typeof n.addEventListener=="function"&&n.addEventListener("visibilitychange",this.ec)}get isShuttingDown(){return this.ju}enqueueAndForget(t){this.enqueue(t)}enqueueAndForgetEvenWhileRestricted(t){this.nc(),this.rc(t)}enterRestrictedMode(t){if(!this.ju){this.ju=!0,this.Zu=t||!1;const n=Hh();n&&typeof n.removeEventListener=="function"&&n.removeEventListener("visibilitychange",this.ec)}}enqueue(t){if(this.nc(),this.ju)return new Promise(()=>{});const n=new bl;return this.rc(()=>this.ju&&this.Zu?Promise.resolve():(t().then(n.resolve,n.reject),n.promise)).then(()=>n.promise)}enqueueRetryable(t){this.enqueueAndForget(()=>(this.zu.push(t),this.sc()))}async sc(){if(this.zu.length!==0){try{await this.zu[0](),this.zu.shift(),this.C_.reset()}catch(t){if(!EO(t))throw t;qn(q1,"Operation failed with retryable error: "+t)}this.zu.length>0&&this.C_.f_(()=>this.sc())}}rc(t){const n=this.tc.then(()=>(this.Yu=!0,t().catch(i=>{throw this.Ju=i,this.Yu=!1,Nb("INTERNAL UNHANDLED ERROR: ",J1(i)),i}).then(i=>(this.Yu=!1,i))));return this.tc=n,n}enqueueAfterDelay(t,n,i){this.nc(),this.Xu.indexOf(t)>-1&&(n=0);const o=Wm.createAndSchedule(this,t,n,i,l=>this.oc(l));return this.Hu.push(o),o}nc(){this.Ju&&Ob(47125,{_c:J1(this.Ju)})}verifyOperationInProgress(){}async ac(){let t;do t=this.tc,await t;while(t!==this.tc)}uc(t){for(const n of this.Hu)if(n.timerId===t)return!0;return!1}cc(t){return this.ac().then(()=>{this.Hu.sort((n,i)=>n.targetTimeMs-i.targetTimeMs);for(const n of this.Hu)if(n.skipDelay(),t!=="all"&&n.timerId===t)break;return this.ac()})}lc(t){this.Xu.push(t)}oc(t){const n=this.Hu.indexOf(t);this.Hu.splice(n,1)}}function J1(e){let t=e.message||"";return e.stack&&(t=e.stack.includes(e.message)?e.stack:e.message+` 1876`+e.stack),t}class OO extends jb{constructor(t,n,i,o){super(t,n,i,o),this.type="firestore",this._queue=new X1,this._persistenceKey=(o==null?void 0:o.name)||"[DEFAULT]"}async _terminate(){if(this._firestoreClient){const t=this._firestoreClient.terminate();this._queue=new X1(t),this._firestoreClient=void 0,await t}}}function DO(e,t){const n=typeof e=="object"?e:XS(),i=typeof e=="string"?e:Rp,o=Nm(n,"firestore").getImmediate({identifier:i});if(!o._initialized){const l=_5("firestore");l&&NO(o,...l)}return o}(function(t,n=!0){(function(o){nu=o})(Zo),Ho(new Ps("firestore",(i,{instanceIdentifier:o,options:l})=>{const c=i.getProvider("app").getImmediate(),f=new OO(new xO(i.getProvider("auth-internal")),new kO(c,i.getProvider("app-check-internal")),function(m,v){if(!Object.prototype.hasOwnProperty.apply(m.options,["projectId"]))throw new rn(nn.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new ud(m.options.projectId,v)}(c,o),c);return l=Object.assign({useFetchStreams:n},l),f._setSettings(l),f},"PUBLIC").setMultipleInstances(!0)),Di(B1,U1,t),Di(B1,U1,"esm2017")})();const LO={apiKey:"AIzaSyC5g2MBHy6afY5BBLfNFJkhtKHz_Q8Mx7o",authDomain:"audio-to-text-converter-999.firebaseapp.com",projectId:"audio-to-text-converter-999",storageBucket:"audio-to-text-converter-999.firebasestorage.app",messagingSenderId:"937671711005",appId:"1:937671711005:web:d81234049d8a0f831a29f4"},Fb=qS(LO),vs=hO(Fb),MO=new Ur;DO(Fb);/** 1877 * @license lucide-react v0.489.0 - ISC 1878 * 1879 * This source code is licensed under the ISC license. 1880 * See the LICENSE file in the root directory of this source tree. 1881 */const jO=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),FO=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,i)=>i?i.toUpperCase():n.toLowerCase()),Q1=e=>{const t=FO(e);return t.charAt(0).toUpperCase()+t.slice(1)},Vb=(...e)=>
1881e.filter((t,n,i)=>!!t&&t.trim()!==""&&i.indexOf(t)===n).join(" ").trim(),VO=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 1882 * @license lucide-react v0.489.0 - ISC 1883 * 1884 * This source code is licensed under the ISC license. 1885 * See the LICENSE file in the root directory of this source tree. 1886 */var BO={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 1887 * @license lucide-react v0.489.0 - ISC 1888 * 1889 * This source code is licensed under the ISC license. 1890 * See the LICENSE file in the root directory of this source tree. 1891 */const UO=F.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:o="",children:l,iconNode:c,...f},h)=>F.createElement("svg",{ref:h,...BO,width:t,height:t,stroke:e,strokeWidth:i?Number(n)*24/Number(t):n,className:Vb("lucide",o),...!l&&!VO(f)&&{"aria-hidden":"true"},...f},[...c.map(([m,v])=>F.createElement(m,v)),...Array.isArray(l)?l:[l]]));/** 1892 * @license lucide-react v0.489.0 - ISC 1893 * 1894 * This source code is licensed under the ISC license. 1895 * See the LICENSE file in the root directory of this source tree. 1896 */const ru=(e,t)=>{const n=F.forwardRef(({className:i,...o},l)=>F.createElement(UO,{ref:l,iconNode:t,className:Vb(`lucide-${jO(Q1(e))}`,`lucide-${e}`,i),...o}));return n.displayName=Q1(e),n};/** 1897 * @license lucide-react v0.489.0 - ISC 1898 * 1899 * This source code is licensed under the ISC license. 1900 * See the LICENSE file in the root directory of this source tree. 1901 */const $O=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Io=ru("circle-check-big",$O);/** 1902 * @license lucide-react v0.489.0 - ISC 1903 * 1904 * This source code is licensed under the ISC license. 1905 * See the LICENSE file in the root directory of this source tree. 1906 */const zO=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],HO=ru("eye",zO);/** 1907 * @license lucide-react v0.489.0 - ISC 1908 * 1909 * This source code is licensed under the ISC license. 1910 * See the LICENSE file in the root directory of this source tree. 1911 */const WO=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],GO=ru("eye-off",WO);/** 1912 * @license lucide-react v0.489.0 - ISC 1913 * 1914 * This source code is licensed under the ISC license. 1915 * See the LICENSE file in the root directory of this source tree. 1916 */const KO=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],YO=ru("menu",KO);/** 1917 * @license lucide-react v0.489.0 - ISC 1918 * 1919 * This source code is licensed under the ISC license. 1920 * See the LICENSE file in the root directory of this source tree. 1921 */const qO=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Bb=ru("x",qO),XO=({open:e,onClose:t,onSuccess:n})=>{const[i,o]=F.useState(!0),[l,c]=F.useState(""),[f,h]=F.useState(""),[m,v]=F.useState(!1),[S,b]=F.useState(!1),[A,P]=F.useState(!1),[C,L]=F.useState(""),M=async $=>{$.preventDefault(),P(!0),L("");try{await A1(vs,S?Ap:ad),i?await Z3(vs,l,f):await Q3(vs,l,f),n()}catch(q){L(q.message)}finally{P(!1)}},U=async()=>{P(!0),L("");try{await A1(vs,S?Ap:ad),await bN(vs,MO),n()}catch($){L($.message)}finally{P(!1)}};return e?E.jsx("div",{className:"fixed inset-0 bg-black/50 backdrop-blur-sm flex items-center justify-center z-50 p-4",children:E.jsxs("div",{className:"relative w-full max-w-md",children:[E.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-pink-400 via-purple-500 to-purple-700 rounded-3xl"}),E.jsxs("div",{className:"relative bg-white rounded-3xl shadow-2xl transform transition-all duration-300 scale-100 hover:scale-[1.02]",children:[E.jsx("button",{onClick:t,className:"absolute top-6 right-6 p-2 hover:bg-gray-100 rounded-full transition-colors z-10",children:E.jsx(Bb,{className:"h-5 w-5 text-gray-500"})}),E.jsxs("div",{className:"p-12",children:[E.jsxs("div",{className:"text-center mb-8",children:[E.jsx("h1",{className:"text-3xl font-bold text-gray-900 mb-2",children:i?"Sign in to your account":"Create your account"}),E.jsx("p",{className:"text-gray-600",children:i?"Welcome back! Please sign in to continue."
1921:"Join us today and get started."})]}),C&&E.jsx("div",{className:"mb-6 p-4 bg-red-50 border border-red-200 rounded-xl text-red-700 text-sm",children:C}),E.jsxs("form",{onSubmit:M,className:"space-y-6",children:[E.jsxs("div",{children:[E.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"Email"}),E.jsx("input",{id:"email",type:"email",value:l,onChange:$=>c($.target.value),className:"w-full px-4 py-3 border border-gray-200 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 bg-gray-50 focus:bg-white",placeholder:"Enter your email",required:!0})]}),E.jsxs("div",{children:[E.jsxs("div",{className:"flex items-center justify-between mb-2",children:[E.jsx("label",{htmlFor:"password",className:"text-sm font-medium text-gray-700",children:"Password"}),i&&E.jsx("button",{type:"button",className:"text-sm text-blue-600 hover:text-blue-500 font-medium",children:"Forgot your password?"})]}),E.jsxs("div",{className:"relative",children:[E.jsx("input",{id:"password",type:m?"text":"password",value:f,onChange:$=>h($.target.value),className:"w-full px-4 py-3 pr-12 border border-gray-200 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 bg-gray-50 focus:bg-white",placeholder:"Enter your password",required:!0}),E.jsx("button",{type:"button",onClick:()=>v(!m),className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600",children:m?E.jsx(GO,{className:"h-5 w-5"}):E.jsx(HO,{className:"h-5 w-5"})})]})]}),E.jsx("div",{className:"flex items-center",children:E.jsxs("div",{className:"flex items-center",children:[E.jsx("input",{id:"remember-me",type:"checkbox",checked:S,onChange:$=>b($.target.checked),className:"h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded"}),E.jsx("label",{htmlFor:"remember-me",className:"ml-2 block text-sm text-gray-700",children:"Remember me on this device"})]})}),E.jsx("button",{type:"submit",disabled:A,className:"w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-4 rounded-xl transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed transform hover:scale-[1.02] active:scale-[0.98]",children:A?"Loading...":i?"Sign in":"Sign up"})]}),E.jsxs("div",{className:"mt-8",children:[E.jsxs("div",{className:"relative",children:[E.jsx("div",{className:"absolute inset-0 flex items-center",children:E.jsx("div",{className:"w-full border-t border-gray-200"})}),E.jsx("div",{className:"relative flex justify-center text-sm",children:E.jsx("span",{className:"px-4 bg-white text-gray-500 font-medium",children:"OR"})})]}),E.jsxs("button",{onClick:U,disabled:A,className:"mt-6 w-full flex items-center justify-center px-4 py-3 border border-gray-200 rounded-xl shadow-sm bg-white hover:bg-gray-50 text-gray-700 font-medium transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed transform hover:scale-[1.02] active:scale-[0.98]",children:[E.jsxs("svg",{className:"w-5 h-5 mr-3",viewBox:"0 0 24 24",children:[E.jsx("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),E.jsx("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),E.jsx("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),E.jsx("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),"Sign in with Google"]})]}),E.jsx("div",{className:"mt-8 text-center",children:E.jsxs("p",{className:"text-gray-600",children:[i?"Don't have an account? ":"Already have an account? ",E.jsx("button",{type:"button",onClick:()=>o(!i),className:"text-blue-600 hover:text-blue-500 font-medium",children:i?"Sign up":"Sign in"})]})})]})]})]})}):null},JO=()=>{var C;const[e,t]=F.useState(null),[n,i]=F.useState(!1),[o,l]=F.useState(!1),[c,f]=F.useState(!1),[h,m]=F.useState(!1),v=F.useRef(null);F.useEffect(()=>{const L=nN(vs,M=>{t(M),m(!1)});return()=>L()},[]),F.useEffect(()=>{const L=M=>{v.current&&!v.current.contains(M.target)&&l(!1)};return o&&document.addEventListener("mousedown",L),()=>{document.removeEventListener("mousedown",L)}},[o]);const S=async()=>{try{await rN(vs),l(!1)}catch(L){console.error("Error signing out:",L)}},b=()=>{i(!1)},A=(L,M)=>L?L.split(" ").map(U=>U[0]).join("").toUpperCase().slice(0,2):M?M[0].toUpperCase():"U",P=()=>{if(e!=null&&e.photoURL&&!h)return E.jsx("img",{src:e.photoURL,alt:"Profile",className:"w-8 h-8 rounded-full object-cover transition-all duration-300 group-hover:scale-110 group-hover:shadow-lg",onError:()=>m(!0)});const L=A((e==null?void 0:e.displayName)||null,(e==null?void 0:e.email)||null);return E.jsx("div",{className:"w-8 h-8 rounded-full bg-blue-600 flex items-center justify-center text-white text-sm font-medium transition-all duration-300 group-hover:scale-110 group-hover:shadow-lg group-hover:bg-blue-700",children:L})};return E.jsxs(E.Fragment,{children:[E.jsxs("nav",{className:"navbar",children:[E.jsxs("a",{href:"#",className:"logo flex items-center text-base md:text-lg font-normal text-gray-900 dark:text-white transition-colors duration-200 hover:text-blue-600 dar
1921k:hover:text-blue-400",children:[E.jsx("img",{src:"/logo.png",alt:"Logo",className:"w-6 h-6 md:w-7 md:h-7 mr-2 md:mr-3"}),E.jsx("span",{className:"font-['Outfit',_sans-serif] tracking-tight hidden sm:inline",children:"Audio to Text Converter"}),E.jsx("span",{className:"font-['Outfit',_sans-serif] tracking-tight sm:hidden",children:"Audio to Text"})]}),E.jsxs("div",{className:"flex items-center space-x-2 md:space-x-6",children:[E.jsxs("ul",{className:`nav-links ${c?"mobile-open":""}`,children:[E.jsx("li",{children:E.jsx("a",{href:"#features",className:"text-sm text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 px-2 md:px-3 py-2 transition-colors duration-200",children:"Features"})}),E.jsx("li",{children:E.jsx("a",{href:"#use-cases",className:"text-sm text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 px-2 md:px-3 py-2 transition-colors duration-200",children:"Use Cases"})}),E.jsx("li",{children:E.jsx("a",{href:"#pricing",className:"text-sm text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 px-2 md:px-3 py-2 transition-colors duration-200",children:"Pricing"})}),E.jsx("li",{children:E.jsx("a",{href:"#contact",className:"text-sm text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 px-2 md:px-3 py-2 transition-colors duration-200",children:"Contact"})})]}),e?E.jsxs("div",{className:"relative",ref:v,children:[E.jsxs("button",{onClick:()=>l(!o),className:"group flex items-center space-x-2 p-1 rounded-full transition-colors duration-200 hover:bg-gray-100 dark:hover:bg-gray-800",children:[P(),E.jsx("span",{className:"text-sm text-gray-700 dark:text-gray-300 group-hover:text-blue-600 dark:group-hover:text-blue-400 hidden sm:inline transition-colors duration-200",children:e.displayName||((C=e.email)==null?void 0:C.split("@")[0])})]}),o&&E.jsxs("div",{className:"absolute right-0 mt-2 w-48 bg-white dark:bg-gray-800 rounded-xl shadow-lg border border-gray-200/70 dark:border-gray-700 z-50 overflow-hidden",children:[E.jsxs("div",{className:"p-3 border-b border-gray-100 dark:border-gray-700",children:[E.jsx("p",{className:"text-sm font-medium text-gray-900 dark:text-white truncate",children:e.displayName||"User"}),E.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 truncate",children:e.email})]}),E.jsx("button",{onClick:S,className:"w-full text-left px-3 py-2.5 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700/50 hover:text-gray-900 dark:hover:text-white transition-colors duration-200",children:"Sign out"})]})]}):E.jsx("button",{onClick:()=>i(!0),className:"bg-gray-900 hover:bg-gray-800 text-white font-medium px-4 md:px-5 py-2 rounded-full transition-colors duration-200 text-sm",children:"Sign in"}),E.jsx("button",{onClick:()=>f(!c),className:"md:hidden flex items-center justify-center w-8 h-8 text-gray-600 hover:text-gray-900 transition-colors duration-200",children:c?E.jsx(Bb,{size:20}):E.jsx(YO,{size:20})})]})]}),E.jsx(XO,{open:n,onClose:()=>i(!1),onSuccess:b})]})};var Ub={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Z1=Hr.createContext&&Hr.createContext(Ub),QO=["attr","size","title"];function ZO(e,t){if(e==null)return{};var n=eD(e,t),i,o;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)i=l[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function eD(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function cd(){return cd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cd.apply(this,arguments)}function ew(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function dd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
1921t%2?ew(Object(n),!0).forEach(function(i){tD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ew(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function tD(e,t,n){return t=nD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nD(e){var t=rD(e,"string");return typeof t=="symbol"?t:t+""}function rD(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $b(e){return e&&e.map((t,n)=>Hr.createElement(t.tag,dd({key:n},t.attr),$b(t.child)))}function ta(e){return t=>Hr.createElement(iD,cd({attr:dd({},e.attr)},t),$b(e.child))}function iD(e){var t=n=>{var{attr:i,size:o,title:l}=e,c=ZO(e,QO),f=o||n.size||"1em",h;return n.className&&(h=n.className),e.className&&(h=(h?h+" ":"")+e.className),Hr.createElement("svg",cd({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,c,{className:h,style:dd(dd({color:e.color||n.color},n.style),e.style),height:f,width:f,xmlns:"http://www.w3.org/2000/svg"}),l&&Hr.createElement("title",null,l),e.children)};return Z1!==void 0?Hr.createElement(Z1.Consumer,null,n=>t(n)):t(Ub)}function sD(e){return ta({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 336c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h416c25.6 0 48-22.4 48-48V288H320v48zm144-208h-80V80c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h512v-80c0-25.6-22.4-48-48-48zm-144 0H192V96h128v32z"},child:[]}]})(e)}function oD(e){return ta({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M622.34 153.2L343.4 67.5c-15.2-4.67-31.6-4.67-46.79 0L17.66 153.2c-23.54 7.23-23.54 38.36 0 45.59l48.63 14.94c-10.67 13.19-17.23 29.28-17.88 46.9C38.78 266.15 32 276.11 32 288c0 10.78 5.68 19.85 13.86 25.65L20.33 428.53C18.11 438.52 25.71 448 35.94 448h56.11c10.24 0 17.84-9.48 15.62-19.47L82.14 313.65C90.32 307.85 96 298.78 96 288c0-11.57-6.47-21.25-15.66-26.87.76-15.02 8.44-28.3 20.69-36.72L296.6 284.5c9.06 2.78 26.44 6.25 46.79 0l278.95-85.7c23.55-7.24 23.55-38.36 0-45.6zM352.79 315.09c-28.53 8.76-52.84 3.92-65.59 0l-145.02-44.55L128 384c0 35.35 85.96 64 192 64s192-28.65 192-64l-14.18-113.47-145.03 44.56z"},child:[]}]})(e)}function aD(e){return ta({attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M336 192h-16c-8.84 0-16 7.16-16 16v48c0 74.8-64.49 134.82-140.79 127.38C96.71 376.89 48 317.11 48 250.3V208c0-8.84-7.16-16-16-16H16c-8.84 0-16 7.16-16 16v40.16c0 89.64 63.97 169.55 152 181.69V464H96c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16h-56v-33.77C285.71 418.47 352 344.9 352 256v-48c0-8.84-7.16-16-16-16zM176 352c53.02 0 96-42.98 96-96h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H272v-32h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H272v-32h-85.33c-5.89 0-10.67-3.58-10.67-8v-16c0-4.42 4.78-8 10.67-8H272c0-53.02-42.98-96-96-96S80 42.98 80 96v160c0 53.02 42.98 96 96 96z"},child:[]}]})(e)}function lD(e){return ta({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M312 320h136V56c0-13.3-10.7-24-24-24H24C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h264V344c0-13.2 10.8-24 24-24zm129 55l-98 98c-4.5 4.5-10.6 7-17 7h-6V352h128v6.1c0 6.3-2.5 12.4-7 16.9z"},child:[]}]})(e)}function uD(e){return ta({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"},child:[]}]})(e)}function cD(e){return ta({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z"},child:[]}]})(e)}const dD=[{icon:oD,text:"Convert lecture audio to text for easy note-taking."},{icon:aD,text:"Transcribe podcast audio for content repurposing."},{icon:cD,text:"Get accurate interview transcription for articles."},{icon:uD,text:"Generate video subtitles from audio tracks."},{icon:sD,text:"Use speech to text for business meeting minutes."},{icon:lD,text:"Transcribe voice memos and personal recordings easily."}],fD=()=>E.jsx("section",{id:"use-cases",className:"py-16 md:py-24 lg:py-32 bg-white dark:bg-gray-900 border-t border-gray-200/60 overflow-hidden",children:E.jsx(Ss.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"container mx-auto px-4 md:px-8 lg:px-12",children:E.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-8 md:gap-12 lg:gap-16",children:[E.jsxs("div",{className:"w-full md:w-1/2 flex flex-col justify-center items-center md:items-start text-center md:text-left",children:[E.jsx("div",{className:"text-[0.6875rem] md:text-xs font-semibold tracking-[0.3em] uppercase text-blue-600 mb-4",children:"Built for"}),E.jsxs(Ss.h2,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{delay:.3,duration:.8,ease:"easeInOut"},viewport:{once:!0},className:"font-[Outfit] text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-semibold tracking-tight leading-[1.05] text-gray-900 dark:text-white",children:["With great power",E.jsx("br",{}),"comes great"," ",E.jsx("span",{className:"bg-gradient-to-r from-blue-600 to-cyan-500 bg-clip-text text-transparent",children:"responsibility"})]}),E.jsxs("div",{className:"mt-5 md:mt-6 flex flex-wrap items-center justify-center md:justify-start gap-x-2 gap-y-1 text-sm md:text-base text-gray-500 dark:text-gray-400 font-medium",children:[E.jsx("span",{children:"Upload"}),E.jsx("span",{className:"text-blue-600/70",children:"â"}),E.jsx("span",{children:"transcribe"}),E.jsx("span",{className:"text-blue-600/70",children:"â"}),E.jsx("span",{children:"export. Every time."})]})]}),E.jsx(Ss.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.6,delay:.4},viewport:{once:!0},className:"w-full md:w-1/2 space-y-3 md:space-y-4 lg:space-y-5",children:dD.map((e,t)=>{const n=e.icon;return E.jsxs(Ss.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.5+t*.1},viewport:{once:!0},className:"flex items-center p-4 md:p-5 lg:p-6 bg-white dark:bg-gray-800 rounded-xl border border-gray-200/70 dark:border-gray-700 hover:border-blue-200 hover:shadow-[0_12px_30px_-16px_rgba(59,130,246,0.25)] transition-all duration-300",children:[E.jsx(n,{className:"w-5 h-5 md:w-6 md:h-6 lg:w-7 lg:h-7 mr-4 md:mr-5 text-blue-600 dar
1921k:text-blue-400 flex-shrink-0"}),E.jsx("p",{className:"text-sm md:text-base lg:text-lg text-gray-700 dark:text-gray-300",children:e.text})]},t)})})]})})}),hD=()=>{const[e,t]=F.useState({email:"",message:""}),[n,i]=F.useState("idle"),o=c=>{t({...e,[c.target.name]:c.target.value})},l=async c=>{c.preventDefault(),i("submitting");try{if((await fetch("https://formspree.io/f/xblojjew",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)i("success"),t({email:"",message:""}),setTimeout(()=>i("idle"),3e3);else throw new Error("Form submission failed")}catch(f){console.error(f),i("error")}};return E.jsx(Ss.section,{id:"contact",className:"py-16 md:py-24 lg:py-32 px-4 sm:px-6 lg:px-8 xl:px-12 bg-white dark:bg-gray-900 border-t border-gray-200/60",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.6},children:E.jsxs("div",{className:"max-w-xl mx-auto",children:[E.jsxs("div",{className:"text-center mb-10 md:mb-14",children:[E.jsx("div",{className:"text-[0.6875rem] md:text-xs font-semibold tracking-[0.3em] uppercase text-blue-600 mb-3 md:mb-4",children:"Get in touch"}),E.jsx("h2",{className:"font-[Outfit] text-3xl md:text-4xl lg:text-5xl font-semibold tracking-tight text-gray-900 dark:text-white",children:"Talk directly to the founder"}),E.jsx("p",{className:"mt-4 text-base md:text-lg text-gray-500 dark:text-gray-400",children:"Feature request, bug, or just to say hi â always welcome."})]}),n==="success"?E.jsxs("div",{className:"text-center py-8",children:[E.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-full bg-blue-50 mb-4",children:E.jsx("svg",{className:"h-6 w-6 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:E.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M5 13l4 4L19 7"})})}),E.jsx("p",{className:"text-base md:text-lg font-medium text-gray-900 dark:text-white",children:"I'm on my way to check it out!"})]}):E.jsxs("form",{onSubmit:l,className:"flex flex-col gap-4",children:[E.jsxs("div",{children:[E.jsx("label",{htmlFor:"email",className:"sr-only",children:"Email"}),E.jsx("input",{type:"email",name:"email",id:"email",autoComplete:"email",required:!0,value:e.email,onChange:o,disabled:n==="submitting",className:"block w-full py-3.5 px-4 placeholder-gray-400 border border-gray-200 rounded-lg bg-white text-gray-900 transition-colors duration-200 focus:outline-none focus:border-blue-500 focus:ring-2 focus:ring-blue-500/15 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:placeholder-gray-500",placeholder:"[email protected]"})]}),E.jsxs("div",{children:[E.jsx("label",{htmlFor:"message",className:"sr-only",children:"Message"}),E.jsx("textarea",{id:"message",name:"message",rows:5,required:!0,value:e.message,onChange:o,disabled:n==="submitting",className:"block w-full py-3.5 px-4 placeholder-gray-400 border border-gray-200 rounded-lg bg-white text-gray-900 resize-none transition-colors duration-200 focus:outline-none focus:border-blue-500 focus:ring-2 focus:ring-blue-500/15 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:placeholder-gray-500",placeholder:"Your messageâ¦"})]}),E.jsx("button",{type:"submit",disabled:n==="submitting",className:`w-full py-3.5 px-6 text-base font-medium rounded-lg text-white bg-gray-900 hover:bg-gray-800 transition-colors duration-200 ${n==="submitting"?"opacity-50 cursor-not-allowed":""}`,children:n==="submitting"?"Sendingâ¦":"Send message"}),n==="error"&&E.jsx("p",{className:"text-sm text-red-600 dark:text-red-400 text-center",children:"Something went wrong. Please try again."})]})]})})},pD=[{id:"weekly",interval:"week",unit_amount:5,minutes:"600 minutes/week"},{id:"monthly",interval:"month",unit_amount:12,minutes:"2,400 minutes/month"},{id:"yearly",interval:"year",unit_amount:100,minutes:"2,400 minutes/month"}];function mD(e){return e.interval==="year"?Math.round(e.unit_amount/12*100)/100:e.unit_amount}function gD(){const e=()=>{window.open("https://app.audiototextconverter.app","_blank")};return E.jsxs("section",{id:"pricing",className:"py-16 md:py-24 lg:py-32 px-4 sm:px-6 lg:px-8 xl:px-12 bg-gray-50 dark:bg-gray-900 border-t border-gray-200/60",children:[E.jsxs("div",{className:"max-w-3xl md:max-w-4xl lg:max-w-5xl mx-auto text-center mb-10 md:mb-14",children:[E.jsx("div",{className:"text-[0.6875rem] md:text-xs font-semibold tracking-[0.3em] uppercase text-blue-600 mb-3 md:mb-4",children:"Pricing"}),E.jsx("h2",{className:"font-[Outfit] text-3xl md:text-4xl lg:text-5xl font-semibold tracking-tight text-gray-900 dark:text-white",children:"Upgrade to Premium"}),E.jsx("p",{className:"mt-3 md:mt-4 text-base md:text-lg text-gray-500 dark:text-gray-400",children:"Choose your preferred billing cycle for Premium access"})]}),E.jsx("div",{className:"grid gap-4 md:gap-6 lg:gap-8 md:grid-cols-3 max-w-3xl md:max-w-4xl lg:max-w-5xl mx-auto",children:pD.map(t=>{const n=t.interval==="month",i=t.interval==="year";return E.jsxs("div",{className:`bg-white border rounded-xl hover:shadow-[0_20px_50px_-20px_rgba(59,130,246,0.25)] hover:-translate-y-1 transition-all duration-300 relative flex flex-col h-full ${n?"border-blue-300 ring-1 ring-blue-200/60":"border-gray-200"}`,children:[n&&E.jsx("div",{className:"absolute -top-2 left-1/2 transform -translate-x-1/2 bg-gradient-to-r from-blue-600 to-cyan-500 text-white text-[0.6875rem] font-semibold tracking-wider up
1921percase px-3 py-0.5 rounded-full z-10 shadow-[0_6px_20px_-6px_rgba(59,130,246,0.6)]",children:"Most Popular"}),i&&E.jsx("div",{className:"absolute -top-2 left-1/2 transform -translate-x-1/2 bg-gray-900 text-white text-[0.6875rem] font-semibold tracking-wider uppercase px-3 py-0.5 rounded-full z-10",children:"Save 30%"}),E.jsxs("div",{className:"p-4 md:p-6 lg:p-8 flex flex-col flex-grow",children:[E.jsxs("div",{className:`mb-4 ${n||i?"mt-2":""}`,children:[E.jsxs("h3",{className:"font-semibold text-base md:text-lg lg:text-xl text-gray-900 capitalize",children:[t.interval,"ly"]}),E.jsx("p",{className:"text-sm md:text-base text-gray-600",children:"Premium features"})]}),E.jsx("div",{className:"mb-4",children:t.interval==="year"?E.jsxs("div",{children:[E.jsxs("div",{className:"flex items-baseline space-x-1 md:space-x-2",children:[E.jsx("span",{className:"text-sm text-gray-400 line-through",children:"$12"}),E.jsxs("span",{className:"text-xl md:text-2xl lg:text-3xl font-bold text-gray-900",children:["$",mD(t)]}),E.jsx("span",{className:"text-sm md:text-base text-gray-600",children:"/month"})]}),E.jsxs("p",{className:"text-xs md:text-sm text-gray-500",children:["Billed yearly ($",t.unit_amount,")"]})]}):E.jsxs("div",{children:[E.jsxs("span",{className:"text-xl md:text-2xl lg:text-3xl font-bold text-gray-900",children:["$",t.unit_amount]}),E.jsxs("span",{className:"text-sm md:text-base text-gray-600",children:["/",t.interval]})]})}),E.jsxs("ul",{className:"text-sm text-gray-600 mb-5 md:mb-7 space-y-2 md:space-y-2.5 flex-grow",children:[E.jsxs("li",{className:"flex items-center",children:[E.jsx(Io,{className:"text-blue-600 mr-3 flex-shrink-0 h-4 w-4 md:h-5 md:w-5"}),E.jsx("span",{children:t.minutes})]}),E.jsxs("li",{className:"flex items-center",children:[E.jsx(Io,{className:"text-blue-600 mr-3 flex-shrink-0 h-4 w-4 md:h-5 md:w-5"}),E.jsx("span",{children:"Summary"})]}),E.jsxs("li",{className:"flex items-center",children:[E.jsx(Io,{className:"text-blue-600 mr-3 flex-shrink-0 h-4 w-4 md:h-5 md:w-5"}),E.jsx("span",{children:"Speaker detection"})]}),E.jsxs("li",{className:"flex items-center",children:[E.jsx(Io,{className:"text-blue-600 mr-3 flex-shrink-0 h-4 w-4 md:h-5 md:w-5"}),E.jsx("span",{children:"Max file size up to 1GB"})]}),E.jsxs("li",{className:"flex items-center",children:[E.jsx(Io,{className:"text-blue-600 mr-3 flex-shrink-0 h-4 w-4 md:h-5 md:w-5"}),E.jsx("span",{children:"Download results, share or send by email"})]}),E.jsxs("li",{className:"flex items-center",children:[E.jsx(Io,{className:"text-blue-600 mr-3 flex-shrink-0 h-4 w-4 md:h-5 md:w-5"}),E.jsx("span",{children:"Priority processing"})]})]}),E.jsxs("button",{onClick:e,className:`w-full py-3 px-4 rounded-lg transition-all duration-300 font-medium mt-auto ${n?"bg-gradient-to-r from-blue-600 to-cyan-500 text-white hover:shadow-[0_12px_30px_-10px_rgba(59,130,246,0.55)]":"bg-gray-900 text-white hover:bg-gray-800"}`,children:["Choose ",t.interval,"ly"]})]})]},t.id)})}),E.jsx("div",{className:"text-center mt-6 md:mt-8 text-gray-500 dark:text-gray-400 text-sm md:text-base",children:"All plans include the same premium features. Choose the billing cycle that works best for you."})]})}function yD(){return E.jsx("footer",{className:"w-full bg-gray-900 py-10 md:py-12 lg:py-14 px-4 md:px-6 lg:px-8 border-t border-gray-800",children:E.jsxs("div",{className:"max-w-6xl md:max-w-7xl lg:max-w-screen-xl mx-auto",children:[E.jsxs("div",{className:"flex flex-col md:flex-row md:items-center md:justify-between gap-6 md:gap-8 text-sm text-gray-400",children:[E.jsxs("div",{className:"flex flex-col md:flex-row md:items-center gap-2 md:gap-3",children:[E.jsx("a",{href:"mailto:[email protected]",className:"text-gray-300 hover:text-blue-400 transition-colors duration-200",children:"[email protected]"}),E.jsx("span",{className:"hidden md:inline text-gray-700",children:"·"}),E.jsx("a",{href:"tel:+995555591526",className:"text-gray-300 hover:text-blue-400 transition-colors duration-200",children:"+995 555 59 15 26"})]}),E.jsxs("div",{className:"flex flex-col md:flex-row md:items-center gap-3 md:gap-6",children:[E.jsx(hl,{to:"/terms",className:"text-gray-400 hover:text-white transition-colors duration-200",children:"Terms of Service"}),E.jsx(hl,{to:"/privacy",className:"text-gray-400 hover:text-white transition-colors duration-200",children:"Privacy Policy"}),E.jsx(hl,{to:"/refund",className:"text-gray-400 hover:text-white transition-colors duration-200",children:"Refund Policy"})]})]}),E.jsx("div",{className:"mt-8 md:mt-10 pt-6 md:pt-8 border-t border-gray-800 text-xs text-gray-500 text-center md:text-left",children:"© 2026 Audio to Text Converter. All rights reserved."})]})})}function vD(){return E.jsxs(E.Fragment,{children:[E.jsx(JO,{}),E.jsx(v5,{}),E.jsx(CR,{}),E.jsx(fD,{}),E.jsx(gD,{}),E.jsx(hD,{}),E.jsx(yD,{})]})}var tw={},wD="@vercel/analytics",xD="1.5.0",SD=()=>{window.va||(window.va=function(...t){(window.vaq=window.vaq||[]).push(t)})};function zb(){return typeof window<"u"}function Hb(){try{const e="production"}catch{}return"production"}function bD(e="auto"){if(e==="auto"){window.vam=Hb();return}window.vam=e}function kD(){return(zb()?window.vam:Hb())||"production"}function Np(){return kD()==="development"}function ED(e){return e.scriptSrc?e.scriptSrc:Np()?"https://va.vercel-scripts.com/v1/script.debug.js":e.basePath?`${e.basePath}
1921/insights/script.js`:"/_vercel/insights/script.js"}function TD(e={debug:!0}){var t;if(!zb())return;bD(e.mode),SD(),e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend));const n=ED(e);if(document.head.querySelector(`script[src*="${n}"]`))return;const i=document.createElement("script");i.src=n,i.defer=!0,i.dataset.sdkn=wD+(e.framework?`/${e.framework}`:""),i.dataset.sdkv=xD,e.disableAutoTrack&&(i.dataset.disableAutoTrack="1"),e.endpoint?i.dataset.endpoint=e.endpoint:e.basePath&&(i.dataset.endpoint=`${e.basePath}/insights`),e.dsn&&(i.dataset.dsn=e.dsn),i.onerror=()=>{const o=Np()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${n}. ${o}`)},Np()&&e.debug===!1&&(i.dataset.debug="false"),document.head.appendChild(i)}function CD({route:e,path:t}){var n;(n=window.va)==null||n.call(window,"pageview",{route:e,path:t})}function _D(){if(!(typeof process>"u"||typeof tw>"u"))return tw.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}function PD(e){return F.useEffect(()=>{var t;e.beforeSend&&((t=window.va)==null||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),F.useEffect(()=>{TD({framework:e.framework||"react",basePath:e.basePath??_D(),...e.route!==void 0&&{disableAutoTrack:!0},...e})},[]),F.useEffect(()=>{e.route&&e.path&&CD({route:e.route,path:e.path})},[e.route,e.path]),null}function AD(){return E.jsx("div",{className:"min-h-screen bg-white dark:bg-gray-900 text-gray-900 dark:text-white p-8",children:E.jsxs("div",{className:"max-w-4xl mx-auto",children:[E.jsx("h1",{className:"text-3xl font-bold mb-6",children:"Terms & Conditions"}),E.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mb-8",children:"Updated on 2025-07-08"}),E.jsxs("div",{className:"space-y-8",children:[E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"General Terms"}),E.jsx("p",{className:"mb-4",children:"By accessing and using this website or any of our services, you confirm that you agree to and are bound by the Terms & Conditions outlined below. These terms apply to the entire website, any products or services offered, and any communication between you and Audio to Text Converter."}),E.jsx("p",{className:"mb-4",children:"Under no circumstances shall Audio to Text Converter be liable for any direct, indirect, incidental, special, or consequential damages â including but not limited to loss of data or profit â arising from the use or inability to use materials on this site, even if advised of the possibility of such damages. You agree to bear any costs associated with repairing or correcting issues resulting from your use of this site or services."}),E.jsx("p",{className:"mb-4",children:"We reserve the right to update pricing, change service features, or revise these Terms at any time without notice."})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"License"}),E.jsx("p",{className:"mb-4",children:"You are granted a limited, revocable, non-exclusive, and non-transferable license to use our services and products in accordance with these Terms & Conditions. All rights not explicitly granted remain with us."}),E.jsx("p",{className:"mb-4",children:"These Terms form a contract between you and Audio to Text Converter (referred to as âwe,â âus,â or âourâ). If you do not agree with these terms, do not use our website or services."}),E.jsx("p",{className:"mb-4",children:"If you violate any of these Terms, we reserve the right to terminate your access or account without prior notice."})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Definitions"}),E.jsx("p",{className:"mb-4",children:"Cookie: A small piece of data stored by your browser used to improve your user experience, track analytics, or remember preferences."}),E.jsx("p",{className:"mb-4",children:"Company / We / Us / Our: Refers to Audio to Text Converter."}),E.jsx("p",{className:"mb-4",children:"Device: Any device such as a phone, tablet, or computer used to access our website."}),E.jsx("p",{className:"mb-4",children:"Service: Any service provided by us through this website or other platforms."}),E.jsx("p",{className:"mb-4",children:"Third-party Service: Any third-party tools or services used on or in connection with our platform."}),E.jsx("p",{className:"mb-4",children:"Website: Refers to our site, accessible at https://www.audiototextconverter.app."}),E.jsx("p",{className:"mb-4",children:"You: The individual or entity accessing or using our services."})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Restrictions"}),E.jsx("p",{className:"mb-4",children:"You agree not to:"}),E.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[E.jsx("li",{children:"Sell, license, lease, or distribute access to our website or services."}
1921),E.jsx("li",{children:"Reverse engineer, decrypt, or tamper with any part of the website."}),E.jsx("li",{children:"Modify or create derivative works based on our content."}),E.jsx("li",{children:"Remove or alter copyright or other proprietary notices."})]})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Contact Us"}),E.jsx("p",{children:"If you have any questions about these Terms, please contact us:"}),E.jsx("p",{children:"ð§ [email protected]"}),E.jsx("p",{children:"ð +995 555 59 15 26"})]})]})]})})}function ID(){return E.jsx("div",{className:"min-h-screen bg-white dark:bg-gray-900 text-gray-900 dark:text-white p-8",children:E.jsxs("div",{className:"max-w-4xl mx-auto",children:[E.jsx("h1",{className:"text-3xl font-bold mb-6",children:"Privacy Policy"}),E.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400 mb-8",children:"Updated on 2025-07-08"}),E.jsxs("div",{className:"space-y-8",children:[E.jsxs("section",{children:[E.jsx("p",{className:"mb-4",children:'Audio to Text Converter ("we," "our," or "us") is committed to protecting your privacy. This Privacy Policy explains how your personal information is collected, used, and disclosed by Audio to Text Converter.'}),E.jsx("p",{className:"mb-4",children:'This Privacy Policy applies to our website and its associated subdomains (collectively, our "Service"). By accessing or using our Service, you signify that you have read, understood, and agree to our collection, storage, use, and disclosure of your personal information as described in this Privacy Policy and our Terms of Service.'})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Definitions and Key Terms"}),E.jsx("p",{className:"mb-4",children:"To help explain this as clearly as possible, whenever these terms are used in this Privacy Policy, they are defined as follows:"}),E.jsx("p",{className:"mb-4",children:"Cookie: A small amount of data generated by a website and stored by your browser. Used to identify your browser, provide analytics, remember preferences (e.g., language or login info)."}),E.jsx("p",{className:"mb-4",children:"Company / We / Us / Our: Refers to Audio to Text Converter, the entity responsible for your information under this Privacy Policy."}),E.jsx("p",{className:"mb-4",children:"Customer: Refers to the person or organization that signs up to use the Audio to Text Converter Service."}),E.jsx("p",{className:"mb-4",children:"Device: Any internet-connected device such as a phone, tablet, computer, etc., used to access our services."}),E.jsx("p",{className:"mb-4",children:"IP address: A unique number assigned to each internet-connected device. Often used to identify location."}),E.jsx("p",{className:"mb-4",children:"Personnel: Individuals employed by or contracted to work with us."}),E.jsx("p",{className:"mb-4",children:"Personal Data: Any data that allows for the identification of a natural person, directly or indirectly (e.g., name, email, ID number)."}),E.jsx("p",{className:"mb-4",children:"Service: Refers to the services provided through our website and platform."}),E.jsx("p",{className:"mb-4",children:"Third-party service: Refers to third parties who help us operate (e.g., payment processors, analytics tools, marketing platforms)."}),E.jsx("p",{className:"mb-4",children:"Website: Our website, accessible via https://www.audiototextconverter.app/ ."}),E.jsx("p",{className:"mb-4",children:"You: A person or entity accessing or using our services."})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"What Information Do We Collect?"}),E.jsx("p",{className:"mb-4",children:"We may collect the following information from you when you visit or use our website:"}),E.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[E.jsx("li",{children:"Full Name / Username"}),E.jsx("li",{children:"Phone Number"}),E.jsx("li",{children:"Email Address"}),E.jsx("li",{children:"Billing Address"}),E.jsx("li",{children:"Payment Information (e.g., debit/credit card number)"}),E.jsx("li",{children:"Password"}),E.jsx("li",{children:"Other data voluntarily provided via forms, surveys, or feedback"})]})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"How Do We Use the Information We Collect?"}),E.jsx("p",{className:"mb-4",children:"The information we collect may be used for the following purposes:"}),E.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[E.jsx("li",{children:"To personalize your experience"}),E.jsx("li",{children:"To improve our website and service offerings"}),E.jsx("li",{children:"To respond to customer service requests and support inquiries"}),E.jsx("li",{children:"To process transactions securely"}),E.jsx("li",{children:"To administer promotions, surveys, or features"}),E.jsx("li",{children:"To send occasional emails related to service updates or offers"})]})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Data Protection and Sharing"}),E.jsx("p",{className:"mb-4",children:"We take appropriate measures to protect your personal data against unauthorized access, alteration, disclosure, or destruction. Your data is only shared with trusted third-party service providers as necessary (e.g., payment processors, cloud infrastru
1921cture providers), and never sold."})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Your Rights"}),E.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[E.jsx("li",{children:"Request access to your data"}),E.jsx("li",{children:"Correct or delete your data"}),E.jsx("li",{children:"Withdraw consent at any time"}),E.jsx("li",{children:"Contact the Personal Data Protection Service if you believe your rights have been violated"})]})]}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"Contact Us"}),E.jsx("p",{children:"If you have any questions about this Privacy Policy or your data, please contact us:"}),E.jsx("p",{children:"ð§ [email protected]"}),E.jsx("p",{children:"ð +995 555 59 15 26"})]})]})]})})}function RD(){return E.jsx("div",{className:"min-h-screen bg-white dark:bg-gray-900 text-gray-900 dark:text-white p-8",children:E.jsxs("div",{className:"max-w-4xl mx-auto",children:[E.jsx("h1",{className:"text-3xl font-bold mb-6",children:"30-Day Money-Back Guarantee"}),E.jsxs("div",{className:"space-y-8",children:[E.jsx("section",{children:E.jsx("p",{className:"mb-4",children:"Your satisfaction is our priority. We offer a 30-day money-back guarantee on all digital products purchased through our website. If for any reason you are not completely satisfied with your digital purchase, you may request a full refund within 30 days of the purchase dateâno questions asked."})}),E.jsxs("section",{children:[E.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"How to Request a Refund"}),E.jsxs("div",{className:"space-y-4",children:[E.jsxs("div",{children:[E.jsx("h3",{className:"font-medium mb-2",children:"Contact Us:"}),E.jsxs("p",{children:["Initiate your refund by contacting our customer support team at ",E.jsx("b",{children:"[email protected]"}),". Please include your order number and, optionally, the reason for requesting a refund, though you are not required to provide one."]})]}),E.jsxs("div",{children:[E.jsx("h3",{className:"font-medium mb-2",children:"Processing Your Refund:"}),E.jsx("p",{children:"Once we receive your refund request, we will process it in 7 days. The refund will be credited back to the original method of payment. Please note that the timing of the refund appearing on your credit or bank statement can vary based on the policies of the payment provider."})]})]})]}),E.jsx("section",{children:E.jsx("p",{children:"We are committed to ensuring that our customers have a positive experience with our digital products. If you have any questions or require assistance, please don't hesitate to contact our support team at [email protected]."})})]})]})})}function ND(){return E.jsx(xE,{children:E.jsxs("main",{children:[E.jsxs(Xk,{children:[E.jsx(sl,{path:"/",element:E.jsx(vD,{})}),E.jsx(sl,{path:"/terms",element:E.jsx(AD,{})}),E.jsx(sl,{path:"/privacy",element:E.jsx(ID,{})}),E.jsx(sl,{path:"/refund",element:E.jsx(RD,{})})]}),E.jsx(PD,{})]})})}ik.createRoot(document.getElementById("root")).render(E.jsx(F.StrictMode,{children:E.jsx(ND,{})})); 1922//# sourceMappingURL=index-C6suCIsh.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.