vendor: 6,401 bytes, lines 1-9
1var DS=Object.defineProperty;var _g=t=>{throw TypeError(t)};var LS=(t,e,n)=>e in t?DS(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var je=(t,e,n)=>LS(t,typeof e!="symbol"?e+"":e,n),ed=(t,e,n)=>e.has(t)||_g("Cannot "+n);var R=(t,e,n)=>(ed(t,e,"read from private field"),n?n.call(t):e.get(t)),fe=(t,e,n)=>e.has(t)?_g("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),J=(t,e,n,i)=>(ed(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),Te=(t,e,n)=>(ed(t,e,"access private method"),n);var yl=(t,e,n,i)=>({set _(o){J(t,e,o,n)},get _(){return R(t,e,i)}});function MS(t,e){for(var n=0;n<e.length;n++){const i=e[n];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in t)){const l=Object.getOwnPropertyDescriptor(i,o);l&&Object.defineProperty(t,o,l.get?l:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.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 u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).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 Ev(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var td={exports:{}},vo={},nd={exports:{}},Ee={};/** 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 Eg;function IS(){if(Eg)return Ee;Eg=1;var t=Symbol.for("react.element"),e=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"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function x(j){return j===null||typeof j!="object"?null:(j=y&&j[y]||j["@@iterator"],typeof j=="function"?j:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,E={};function S(j,z,me){this.props=j,this.context=z,this.refs=E,this.updater=me||k}S.prototype.isReactComponent={},S.prototype.setState=function(j,z){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,z,"setState")},S.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function b(){}b.prototype=S.prototype;function O(j,z,me){this.props=j,this.context=z,this.refs=E,this.updater=me||k}var T=O.prototype=new b;T.constructor=O,P(T,S.prototype),T.isPureReactComponent=!0;var D=Array.isArray,B=Object.prototype.hasOwnProperty,$={current:null},te={key:!0,ref:!0,__self:!0,__source:!0};function U(j,z,me){var ge,de={},G=null,we=null;if(z!=null)for(ge in z.ref!==void 0&&(we=z.ref),z.key!==void 0&&(G=""+z.key),z)B.call(z,ge)&&!te.hasOwnProperty(ge)&&(de[ge]=z[ge]);var Ce=arguments.length-2;if(Ce===1)de.children=me;else if(1<Ce){for(var ve=Array(Ce),ot=0;ot<Ce;ot++)ve[ot]=arguments[ot+2];de.children=ve}if(j&&j.defaultProps)for(ge in Ce=j.defaultProps,Ce)de[ge]===void 0&&(de[ge]=Ce[ge]);return{$$typeof:t,type:j,key:G,ref:we,props:de,_owner:$.current}}function Z(j,z){return{$$typeof:t,type:j.type,key:z,ref:j.ref,props:j.props,_owner:j._owner}}function le(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function be(j){var z={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(me){return z[me]})}var De=/\/+/g;function Se(j,z){return typeof j=="object"&&j!==null&&j.key!=null?be(""+j.key):z.toString(36)}function ke(j,z,me,ge,de){var G=typeof j;(G==="undefined"||G==="boolean")&&(j=null);var we=!1;if(j===null)we=!0;else switch(G){case"string":case"number":we=!0;break;case"object":switch(j.$$typeof){case t:case e:we=!0}}if(we)return we=j,de=de(we),j=ge===""?"."+Se(we,0):ge,D(de)?(me="",j!=null&&(me=j.replace(De,"$&/")+"/"),ke(de,z,me,"",function(ot){return ot})):de!=null&&(le(de)&&(de=Z(de,me+(!de.key||we&&we.key===de.key?"":(""+de.key).replace(De,"$&/")+"/")+j)),z.push(de)),1;if(we=0,ge=ge===""?".":ge+":",D(j))for(var Ce=0;Ce<j.length;Ce++){G=j[Ce];var ve=ge+Se(G,Ce);we+=ke(G,z,me,ve,de)}else if(ve=x(j),typeof ve=="function")for(j=ve.call(j),Ce=0;!(G=j.next()).done;)G=G.value,ve=ge+Se(G,Ce++),we+=ke(G,z,me,ve,de);else if(G==="object")throw z=String(j),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.");return we}function Ie(j,z,me){if(j==null)return j;var ge=[],de=0;return ke(j,ge,"","",function(G){return z.call(me,G,de++)}),ge}function Ae(j){if(j._status===-1){var z=j._result;z=z(),z.then(function(me){(j._status===0||j._status===-1)&&(j._status=1,j._result=me)},function(me){(j._status===0||j._status===-1)&&(j._status=2,j._result=me)}),j._status===-1&&(j._status=0,j._result=z)}if(j._status===1)return j._result.default;throw j._result}var he={current:null},Q={transition:null},oe={ReactCurrentDispatcher:he,ReactCurrentBatchConfig:Q,ReactCurrentOwner:$};function V(){throw Error("act(...) is not supported in production builds of React.")}return Ee.Children={map:Ie,forEach:function(j,z,me){Ie(j,function(){z.apply(this,arguments)},me)},count:function(j){var z=0;return Ie(j,function(){z++}),z},toArray:function(j){return Ie(j,function(z){return z})||[]},only:function(j){if(!le(j))throw Error("React.Children.only expected to receive a single React element child.");return j}},Ee.Component=S,Ee.Fragment=n,Ee.Profiler=o,Ee.PureComponent=O,Ee.StrictMode=i,Ee.Suspense=h,Ee.__SECRET_INT
vendor: 5,020 bytes, lines 9-25
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oe,Ee.act=V,Ee.cloneElement=function(j,z,me){if(j==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+j+".");var ge=P({},j.props),de=j.key,G=j.ref,we=j._owner;if(z!=null){if(z.ref!==void 0&&(G=z.ref,we=$.current),z.key!==void 0&&(de=""+z.key),j.type&&j.type.defaultProps)var Ce=j.type.defaultProps;for(ve in z)B.call(z,ve)&&!te.hasOwnProperty(ve)&&(ge[ve]=z[ve]===void 0&&Ce!==void 0?Ce[ve]:z[ve])}var ve=arguments.length-2;if(ve===1)ge.children=me;else if(1<ve){Ce=Array(ve);for(var ot=0;ot<ve;ot++)Ce[ot]=arguments[ot+2];ge.children=Ce}return{$$typeof:t,type:j.type,key:de,ref:G,props:ge,_owner:we}},Ee.createContext=function(j){return j={$$typeof:u,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},j.Provider={$$typeof:l,_context:j},j.Consumer=j},Ee.createElement=U,Ee.createFactory=function(j){var z=U.bind(null,j);return z.type=j,z},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(j){return{$$typeof:d,render:j}},Ee.isValidElement=le,Ee.lazy=function(j){return{$$typeof:g,_payload:{_status:-1,_result:j},_init:Ae}},Ee.memo=function(j,z){return{$$typeof:m,type:j,compare:z===void 0?null:z}},Ee.startTransition=function(j){var z=Q.transition;Q.transition={};try{j()}finally{Q.transition=z}},Ee.unstable_act=V,Ee.useCallback=function(j,z){return he.current.useCallback(j,z)},Ee.useContext=function(j){return he.current.useContext(j)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(j){return he.current.useDeferredValue(j)},Ee.useEffect=function(j,z){return he.current.useEffect(j,z)},Ee.useId=function(){return he.current.useId()},Ee.useImperativeHandle=function(j,z,me){return he.current.useImperativeHandle(j,z,me)},Ee.useInsertionEffect=function(j,z){return he.current.useInsertionEffect(j,z)},Ee.useLayoutEffect=function(j,z){return he.current.useLayoutEffect(j,z)},Ee.useMemo=function(j,z){return he.current.useMemo(j,z)},Ee.useReducer=function(j,z,me){return he.current.useReducer(j,z,me)},Ee.useRef=function(j){return he.current.useRef(j)},Ee.useState=function(j){return he.current.useState(j)},Ee.useSyncExternalStore=function(j,z,me){return he.current.useSyncExternalStore(j,z,me)},Ee.useTransition=function(){return he.current.useTransition()},Ee.version="18.3.1",Ee}var kg;function Af(){return kg||(kg=1,nd.exports=IS()),nd.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 Cg;function FS(){if(Cg)return vo;Cg=1;var t=Af(),e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,h,m){var g,y={},x=null,k=null;m!==void 0&&(x=""+m),h.key!==void 0&&(x=""+h.key),h.ref!==void 0&&(k=h.ref);for(g in h)i.call(h,g)&&!l.hasOwnProperty(g)&&(y[g]=h[g]);if(d&&d.defaultProps)for(g in h=d.defaultProps,h)y[g]===void 0&&(y[g]=h[g]);return{$$typeof:e,type:d,key:x,ref:k,props:y,_owner:o.current}}return vo.Fragment=n,vo.jsx=u,vo.jsxs=u,vo}var Tg;function US(){return Tg||(Tg=1,td.exports=FS()),td.exports}var w=US(),I=Af();const BS=Ev(I),VS=MS({__proto__:null,default:BS},[I]);var vl={},rd={exports:{}},Mt={},sd={exports:{}},id={};/** 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 Pg;function zS(){return Pg||(Pg=1,(function(t){function e(Q,oe){var V=Q.length;Q.push(oe);e:for(;0<V;){var j=V-1>>>1,z=Q[j];if(0<o(z,oe))Q[j]=oe,Q[V]=z,V=j;else break e}}function n(Q){return Q.length===0?null:Q[0]}function i(Q){if(Q.length===0)return null;var oe=Q[0],V=Q.pop();if(V!==oe){Q[0]=V;e:for(var j=0,z=Q.length,me=z>>>1;j<me;){var ge=2*(j+1)-1,de=Q[ge],G=ge+1,we=Q[G];if(0>o(de,V))G<z&&0>o(we,de)?(Q[j]=we,Q[G]=V,j=G):(Q[j]=de,Q[ge]=V,j=ge);else if(G<z&&0>o(we,V))Q[j]=we,Q[G]=V,j=G;else break e}}return oe}function o(Q,oe){var V=Q.sortIndex-oe.sortIndex;return V!==0?V:Q.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;t.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();t.unstable_now=function(){return u.now()-d}}var h=[],m=[],g=1,y=null,x=3,k=!1,P=!1,E=!1,S=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(Q){for(var oe=n(m);oe!==null;){if(oe.callback===null)i(m);else if(oe.startTime<=Q)i(m),oe.sortIndex=oe.expirationTime,e(h,oe);else break;
vendor: 17,923 bytes, lines 25-37
25oe=n(m)}}function D(Q){if(E=!1,T(Q),!P)if(n(h)!==null)P=!0,Ae(B);else{var oe=n(m);oe!==null&&he(D,oe.startTime-Q)}}function B(Q,oe){P=!1,E&&(E=!1,b(U),U=-1),k=!0;var V=x;try{for(T(oe),y=n(h);y!==null&&(!(y.expirationTime>oe)||Q&&!be());){var j=y.callback;if(typeof j=="function"){y.callback=null,x=y.priorityLevel;var z=j(y.expirationTime<=oe);oe=t.unstable_now(),typeof z=="function"?y.callback=z:y===n(h)&&i(h),T(oe)}else i(h);y=n(h)}if(y!==null)var me=!0;else{var ge=n(m);ge!==null&&he(D,ge.startTime-oe),me=!1}return me}finally{y=null,x=V,k=!1}}var $=!1,te=null,U=-1,Z=5,le=-1;function be(){return!(t.unstable_now()-le<Z)}function De(){if(te!==null){var Q=t.unstable_now();le=Q;var oe=!0;try{oe=te(!0,Q)}finally{oe?Se():($=!1,te=null)}}else $=!1}var Se;if(typeof O=="function")Se=function(){O(De)};else if(typeof MessageChannel<"u"){var ke=new MessageChannel,Ie=ke.port2;ke.port1.onmessage=De,Se=function(){Ie.postMessage(null)}}else Se=function(){S(De,0)};function Ae(Q){te=Q,$||($=!0,Se())}function he(Q,oe){U=S(function(){Q(t.unstable_now())},oe)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(Q){Q.callback=null},t.unstable_continueExecution=function(){P||k||(P=!0,Ae(B))},t.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Z=0<Q?Math.floor(1e3/Q):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return n(h)},t.unstable_next=function(Q){switch(x){case 1:case 2:case 3:var oe=3;break;default:oe=x}var V=x;x=oe;try{return Q()}finally{x=V}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(Q,oe){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var V=x;x=Q;try{return oe()}finally{x=V}},t.unstable_scheduleCallback=function(Q,oe,V){var j=t.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?j+V:j):V=j,Q){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=V+z,Q={id:g++,callback:oe,priorityLevel:Q,startTime:V,expirationTime:z,sortIndex:-1},V>j?(Q.sortIndex=V,e(m,Q),n(h)===null&&Q===n(m)&&(E?(b(U),U=-1):E=!0,he(D,V-j))):(Q.sortIndex=z,e(h,Q),P||k||(P=!0,Ae(B))),Q},t.unstable_shouldYield=be,t.unstable_wrapCallback=function(Q){var oe=x;return function(){var V=x;x=oe;try{return Q.apply(this,arguments)}finally{x=V}}}})(id)),id}var Rg;function $S(){return Rg||(Rg=1,sd.exports=zS()),sd.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 Ag;function HS(){if(Ag)return Mt;Ag=1;var t=Af(),e=$S();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){u(r,s),u(r+"Capture",s)}function u(r,s){for(o[r]=s,r=0;r<s.length;r++)i.add(s[r])}var d=!(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]*$/,g={},y={};function x(r){return h.call(y,r)?!0:h.call(g,r)?!1:m.test(r)?y[r]=!0:(g[r]=!0,!1)}function k(r,s,a,c){if(a!==null&&a.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return c?!1:a!==null?!a.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function P(r,s,a,c){if(s===null||typeof s>"u"||k(r,s,a,c))return!0;if(c)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 E(r,s,a,c,f,p,v){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=c,this.attributeNamespace=f,this.mustUseProperty=a,this.propertyName=r,this.type=s,this.sanitizeURL=p,this.removeEmptyString=v}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){S[r]=new E(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var s=r[0];S[s]=new E(s,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){S[r]=new E(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){S[r]=new E(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){S[r]=new E(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){S[r]=new E(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){S[r]=new E(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){S[r]=new E(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){S[r]=new E(r,5,!1,r.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function O(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(b,O);S[s]=new E(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(b,O);S[s]=new E(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(b,O);S[s]=new E(s,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){S[r]=new E(r,1,!1,r.toLowerCase(),null,!1,!1)}),S.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){S[r]=new E(r,1,!1,r.toLowerCase(),null,!0,!0)});function T(r,s,a,c){var f=S.hasOwnProperty(s)?S[s]:null;(f!==null?f.type!==0:c||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(P(s,a,f,c)&&(a=null),c||f===null?x(s)&&(a===null?r.removeAttribute(s):r.setAttribute(s,""+a)):f.mustUseProperty?r[f.propertyName]=a===null?f.type===3?!1:"":a:(s=f.attributeName,c=f.attributeNamespace,a===null?r.removeAttribute(s):(f=f.type,a=f===3||f===4&&a===!0?"":""+a,c?r.setAttributeNS(c,s,a):r.setAttribute(s,a))))}var D=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,B=Symbol.for("react.element"),$=Symbol.for("react.portal"),te=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),be=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),Se=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy"),he=Symbol.for("react.offscreen"),Q=Symbol.iterator;function oe(r){return r===null||typeof r!="object"?null:(r=Q&&r[Q]||r["@@iterator"],typeof r=="function"?r:null)}var V=Object.assign,j;function z(r){if(j===void 0)try{throw Error()}catch(a){var s=a.stack.trim().match(/\n( *(at )?)/);j=s&&s[1]||""}return` 34`+j+r}var me=!1;function ge(r,s){if(!r||me)return"";me=!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(F){var c=F}Reflect.construct(r,[],s)}else{try{s.call()}catch(F){c=F}r.call(s.prototype)}else{try{throw Error()}catch(F){c=F}r()}}catch(F){if(F&&c&&typeof F.stack=="string"){for(var f=F.stack.split(` 35`),p=c.stack.split(` 36`),v=f.length-1,_=p.length-1;1<=v&&0<=_&&f[v]!==p[_];)_--;for(;1<=v&&0<=_;v--,_--)if(f[v]!==p[_]){if(v!==1||_!==1)do if(v--,_--,0>_||f[v]!==p[_]){var C=` 37`+f[v].replace(" at new "," at ");return r.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",r.displayName)),C}while(1<=v&&0<=_);break}}}finally{me=!1,Error.prepareStackTrace=a}return(r=r?r.displayName||r.name:"")?z(r):""}function de(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=ge(r.type,!1),r;case 11:return r=ge(r.type.render,!1),r;case 1:return r=ge(r.type,!0),r;default:return""}}function G(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 te:return"Fragment";case $:return"Portal";case Z:return"Profiler";case U:return"StrictMode";case Se:return"Suspense";case ke:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case be:return(r.displayName||"Context")+".Consumer";case le:return(r._context.displayName||"Context")+".Provider";case De:var s=r.render;return r=r.displayName,r||(r=s.displayName||s.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ie:return s=r.displayName||null,s!==null?s:G(r.type)||"Memo";case Ae:s=r._payload,r=r._init;try{return G(r(s))}catch{}}return null}function we(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 G(s);case 8:return s===U?"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 Ce(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ve(r){var s=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function ot(r){var s=ve(r)?"checked":"value",a=Object.getOwnPropertyDescriptor(r.constructor.prototype,s),c=""+r[s];if(!r.hasOwnProperty(s)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var f=a.get,p=a.set;return Object.defineProperty(r,s,{configurable:!0,get:function(){return f.call(this)},set:function(v){c=""+v,p.call(this,v)}}),Object.defineProperty(r,s,{enumerable:a.enumerable}),{getValue:function(){return c},setValue:function(v){c=""+v},stopTracking:function(){r._valueTracker=null,delete r[s]}}}}function Qt(r){r._valueTracker||(r._valueTracker=ot(r))}function dt(r){if(!r)return!1;var s=r._valueTracker;if(!s)return!0;var a=s.getValue(),c="";return r&&(c=ve(r)?r.checked?"true":"false":r.value),r=c,r!==a?(s.setValue(r),!0):!1}function dn(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 Gt(r,s){var a=s.checked;return V({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??r._wrapperState.initialChecked})}function Yt(r,s){var a=s.defaultValue==null?"":s.defaultValue,c=s.checked!=null?s.checked:s.defaultChecked;a=Ce(s.value!=null?s.value:a),r._wrapperState={initialChecked:c,initialValue:a,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function xe(r,s){s=s.checked,s!=null&&T(r,"checked",s,!1)}function ft(r,s){xe(r,s);var a=Ce(s.value),c=s.type;if(a!=null)c==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+a):r.value!==""+a&&(r.value=""+a);else if(c==="submit"||c==="reset"){r.removeAttribute("value");return}s.hasOwnProperty("value")?hn(r,s.type,a):s.hasOwnProperty("defaultValue")&&hn(r,s.type,Ce(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(r.defaultChecked=!!s.defaultChecked)}function fn(r,s,a){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var c=s.type;if(!(c!=="submit"&&c!=="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 hn(r,s,a){(s!=="number"||dn(r.ownerDocument)!==r)&&(a==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+a&&(r.defaultValue=""+a))}var nr=Array.isArray;function rr(r,s,a,c){if(r=r.options,s){s={};for(var f=0;f<a.length;f++)s["$"+a[f]]=!0;for(a=0;a<r.length;a++)f=s.hasOwnProperty("$"+r[a].value),r[a].selected!==f&&(r[a].selected=f),f&&c&&(r[a].defaultSelected=!0)}else{for(a=""+Ce(a),s=null,f=0;f<r.length;f++){if(r[f].value===a){r[f].selected=!0,c&&(r[f].defaultSelected=!0);return}s!==null||r[f].disabled||(s=r[f])}s!==null&&(s.selected=!0)}}function Fn(r,s){if(s.dangerouslySetInnerHTML!=null)throw Error(n(91));return V({},s,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function jh(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(nr(a)){if(1<a.length)throw Error(n(93));a=a[0]}s=a}s==null&&(s=""),a=s}r._wrapperState={initialValue:Ce(a)}}function Dh(r,s){var a=Ce(s.value),c=Ce(s.defaultValue);a!=null&&(a=""+a,a!==r.value&&(r.value=a),s.defaultValue==null&&r.defaultValue!==a&&(r.defaultValue=a)),c!=null&&(r.defaultValue=""+c)}function Lh(r){var s=r.textContent;s===r._wrapperState.initialValue&&s!==""&&s!==null&&(r.value=s)}function Mh(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 du(r,s){return r==null||r==="http://www.w3.org/1999/xhtml"?Mh(s):r==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var ua,Ih=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,a,c,f){MSApp.execUnsafeLocalFunction(function(){return r(s,a,c,f)})}:r})(function(r,s){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=s;else{for(ua=ua||document.createElement("div"),ua.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=ua.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild)}});function ji(r,s){if(s){var a=r.firstChild;if(a&&a===r.lastChild&&a.nodeType===3){a.nodeValue=s;return}}r.textContent=s}var Di={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},Fx=["Webkit","ms","Moz","O"];Object.keys(Di).forEach(function(r){Fx.forEach(function(s){s=s+r.charAt(0).toUpperCase()+r.substring(1),Di[s]=Di[r]})});function Fh(r,s,a){return s==null||typeof s=="boolean"||s===""?"":a||typeof s!="number"||s===0||Di.hasOwnProperty(r)&&Di[r]?(""+s).trim():s+"px"}function Uh(r,s){r=r.style;for(var a in s)if(s.hasOwnProperty(a)){var c=a.indexOf("--")===0,f=Fh(a,s[a],c);a==="float"&&(a="cssFloat"),c?r.setProperty(a,f):r[a]=f}}var Ux=V({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 fu(r,s){if(s){if(Ux[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 hu(r,s){if(r.indexOf("-")===-1)return typeof s.is=="str
37ing";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 pu=null;function mu(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var gu=null,js=null,Ds=null;function Bh(r){if(r=no(r)){if(typeof gu!="function")throw Error(n(280));var s=r.stateNode;s&&(s=Oa(s),gu(r.stateNode,r.type,s))}}function Vh(r){js?Ds?Ds.push(r):Ds=[r]:js=r}function zh(){if(js){var r=js,s=Ds;if(Ds=js=null,Bh(r),s)for(r=0;r<s.length;r++)Bh(s[r])}}function $h(r,s){return r(s)}function Hh(){}var yu=!1;function Wh(r,s,a){if(yu)return r(s,a);yu=!0;try{return $h(r,s,a)}finally{yu=!1,(js!==null||Ds!==null)&&(Hh(),zh())}}function Li(r,s){var a=r.stateNode;if(a===null)return null;var c=Oa(a);if(c===null)return null;a=c[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":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(a&&typeof a!="function")throw Error(n(231,s,typeof a));return a}var vu=!1;if(d)try{var Mi={};Object.defineProperty(Mi,"passive",{get:function(){vu=!0}}),window.addEventListener("test",Mi,Mi),window.removeEventListener("test",Mi,Mi)}catch{vu=!1}function Bx(r,s,a,c,f,p,v,_,C){var F=Array.prototype.slice.call(arguments,3);try{s.apply(a,F)}catch(W){this.onError(W)}}var Ii=!1,ca=null,da=!1,wu=null,Vx={onError:function(r){Ii=!0,ca=r}};function zx(r,s,a,c,f,p,v,_,C){Ii=!1,ca=null,Bx.apply(Vx,arguments)}function $x(r,s,a,c,f,p,v,_,C){if(zx.apply(this,arguments),Ii){if(Ii){var F=ca;Ii=!1,ca=null}else throw Error(n(198));da||(da=!0,wu=F)}}function Wr(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 qh(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 Kh(r){if(Wr(r)!==r)throw Error(n(188))}function Hx(r){var s=r.alternate;if(!s){if(s=Wr(r),s===null)throw Error(n(188));return s!==r?null:r}for(var a=r,c=s;;){var f=a.return;if(f===null)break;var p=f.alternate;if(p===null){if(c=f.return,c!==null){a=c;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===a)return Kh(f),r;if(p===c)return Kh(f),s;p=p.sibling}throw Error(n(188))}if(a.return!==c.return)a=f,c=p;else{for(var v=!1,_=f.child;_;){if(_===a){v=!0,a=f,c=p;break}if(_===c){v=!0,c=f,a=p;break}_=_.sibling}if(!v){for(_=p.child;_;){if(_===a){v=!0,a=p,c=f;break}if(_===c){v=!0,c=p,a=f;break}_=_.sibling}if(!v)throw Error(n(189))}}if(a.alternate!==c)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?r:s}function Qh(r){return r=Hx(r),r!==null?Gh(r):null}function Gh(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var s=Gh(r);if(s!==null)return s;r=r.sibling}return null}var Yh=e.unstable_scheduleCallback,Xh=e.unstable_cancelCallback,Wx=e.unstable_shouldYield,qx=e.unstable_requestPaint,Ye=e.unstable_now,Kx=e.unstable_getCurrentPriorityLevel,xu=e.unstable_ImmediatePriority,Jh=e.unstable_UserBlockingPriority,fa=e.unstable_NormalPriority,Qx=e.unstable_LowPriority,Zh=e.unstable_IdlePriority,ha=null,Cn=null;function Gx(r){if(Cn&&typeof Cn.onCommitFiberRoot=="function")try{Cn.onCommitFiberRoot(ha,r,void 0,(r.current.flags&128)===128)}catch{}}var pn=Math.clz32?Math.clz32:Jx,Yx=Math.log,Xx=Math.LN2;function Jx(r){return r>>>=0,r===0?32:31-(Yx(r)/Xx|0)|0}var pa=64,ma=4194304;function Fi(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 ga(r,s){var a=r.pendingLanes;if(a===0)return 0;var c=0,f=r.suspendedLanes,p=r.pingedLanes,v=a&268435455;if(v!==0){var _=v&~f;_!==0?c=Fi(_):(p&=v,p!==0&&(c=Fi(p)))}else v=a&~f,v!==0?c=Fi(v):p!==0&&(c=Fi(p));if(c===0)return 0;if(s!==0&&s!==c&&(s&f)===0&&(f=c&-c,p=s&-s,f>=p||f===16&&(p&4194240)!==0))return s;if((c&4)!==0&&(c|=a&16),s=r.entangledLanes,s!==0)for(r=r.entanglements,s&=c;0<s;
vendor: 27,964 bytes, lines 37-38
37)a=31-pn(s),f=1<<a,c|=r[a],s&=~f;return c}function Zx(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 eb(r,s){for(var a=r.suspendedLanes,c=r.pingedLanes,f=r.expirationTimes,p=r.pendingLanes;0<p;){var v=31-pn(p),_=1<<v,C=f[v];C===-1?((_&a)===0||(_&c)!==0)&&(f[v]=Zx(_,s)):C<=s&&(r.expiredLanes|=_),p&=~_}}function bu(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function ep(){var r=pa;return pa<<=1,(pa&4194240)===0&&(pa=64),r}function Su(r){for(var s=[],a=0;31>a;a++)s.push(r);return s}function Ui(r,s,a){r.pendingLanes|=s,s!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,s=31-pn(s),r[s]=a}function tb(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 c=r.eventTimes;for(r=r.expirationTimes;0<a;){var f=31-pn(a),p=1<<f;s[f]=0,c[f]=-1,r[f]=-1,a&=~p}}function _u(r,s){var a=r.entangledLanes|=s;for(r=r.entanglements;a;){var c=31-pn(a),f=1<<c;f&s|r[c]&s&&(r[c]|=s),a&=~f}}var Me=0;function tp(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var np,Eu,rp,sp,ip,ku=!1,ya=[],sr=null,ir=null,or=null,Bi=new Map,Vi=new Map,ar=[],nb="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 op(r,s){switch(r){case"focusin":case"focusout":sr=null;break;case"dragenter":case"dragleave":ir=null;break;case"mouseover":case"mouseout":or=null;break;case"pointerover":case"pointerout":Bi.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vi.delete(s.pointerId)}}function zi(r,s,a,c,f,p){return r===null||r.nativeEvent!==p?(r={blockedOn:s,domEventName:a,eventSystemFlags:c,nativeEvent:p,targetContainers:[f]},s!==null&&(s=no(s),s!==null&&Eu(s)),r):(r.eventSystemFlags|=c,s=r.targetContainers,f!==null&&s.indexOf(f)===-1&&s.push(f),r)}function rb(r,s,a,c,f){switch(s){case"focusin":return sr=zi(sr,r,s,a,c,f),!0;case"dragenter":return ir=zi(ir,r,s,a,c,f),!0;case"mouseover":return or=zi(or,r,s,a,c,f),!0;case"pointerover":var p=f.pointerId;return Bi.set(p,zi(Bi.get(p)||null,r,s,a,c,f)),!0;case"gotpointercapture":return p=f.pointerId,Vi.set(p,zi(Vi.get(p)||null,r,s,a,c,f)),!0}return!1}function ap(r){var s=qr(r.target);if(s!==null){var a=Wr(s);if(a!==null){if(s=a.tag,s===13){if(s=qh(a),s!==null){r.blockedOn=s,ip(r.priority,function(){rp(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 va(r){if(r.blockedOn!==null)return!1;for(var s=r.targetContainers;0<s.length;){var a=Tu(r.domEventName,r.eventSystemFlags,s[0],r.nativeEvent);if(a===null){a=r.nativeEvent;var c=new a.constructor(a.type,a);pu=c,a.target.dispatchEvent(c),pu=null}else return s=no(a),s!==null&&Eu(s),r.blockedOn=a,!1;s.shift()}return!0}function lp(r,s,a){va(r)&&a.delete(s)}function sb(){ku=!1,sr!==null&&va(sr)&&(sr=null),ir!==null&&va(ir)&&(ir=null),or!==null&&va(or)&&(or=null),Bi.forEach(lp),Vi.forEach(lp)}function $i(r,s){r.blockedOn===s&&(r.blockedOn=null,ku||(ku=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,sb)))}function Hi(r){function s(f){return $i(f,r)}if(0<ya.length){$i(ya[0],r);for(var a=1;a<ya.length;a++){var c=ya[a];c.blockedOn===r&&(c.blockedOn=null)}}for(sr!==null&&$i(sr,r),ir!==null&&$i(ir,r),or!==null&&$i(or,r),Bi.forEach(s),Vi.forEach(s),a=0;a<ar.length;a++)c=ar[a],c.blockedOn===r&&(c.blockedOn=null);for(;0<ar.length&&(a=ar[0],a.blockedOn===null);)ap(a),a.blockedOn===null&&ar.shift()}var Ls=D.ReactCurrentBatchConfig,wa=!0;function ib(r,s,a,c){var f=Me,p=Ls.transition;Ls.transition=null;try{Me=1,Cu(r,s,a,c)}finally{Me=f,Ls.transition=p}}function ob(r,s,a,c){var f=Me,p=Ls.transition;Ls.transition=null;try{Me=4,Cu(r,s,a,c)}finally{Me=f,Ls.transition=p}}function Cu(r,s,a,c){if(wa){var f=Tu(r,s,a,c);if(f===null)Hu(r,s,c,xa,a),op(r,c);else if(rb(f,r,s,a,c))c.stopPropagation();else if(op(r,c),s&4&&-1<nb.indexOf(r)){for(;f!==null;){var p=no(f);if(p!==null&&np(p),p=Tu(r,s,a,c),p===null&&Hu(r,s,c,xa,a),p===f)break;f=p}f!==null&&c.stopPropagation()}else Hu(r,s,c,null,a)}}var xa=null;function Tu(r,s,a,c){if(xa=null,r=mu(c),r=qr(r),r!==null)if(s=Wr(r),s===null)r=null;else if(a=s.tag,a===13){if(r=qh(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 xa=r,null}function up(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(Kx()){case xu:return 1;case Jh:return 4;case fa:case Qx:return 16;case Zh:return 536870912;default:return 16}default:return 16}}var lr=null,Pu=null,ba=null;function cp(){if(ba)return ba;var r,s=Pu,a=s.length,c,f="value"in lr?lr.value:lr.textContent,p=f.length;for(r=0;r<a&&s[r]===f[r];r++);var v=a-r;for(c=1;c<=v&&s[a-c]===f[p-c];c++);return ba=f.slice(r,1<c?1-c:void 0)}function Sa(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 _a(){return!0}function dp(){return!1}function zt(r){function s(a,c,f,p,v){this._reactName=a,this._targetInst=f,this.type=c,this.nativeEvent=p,this.target=v,this.currentTarget=null;for(var _ in r)r.hasOwnProperty(_)&&(a=r[_],this[_]=a?a(p):p[_]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?_a:dp,this.isPropagationStopped=dp,this}return V(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=_a)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=_a)},persist:function(){},isPersistent:_a}),s}var Ms={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ru=zt(Ms),Wi=V({},Ms,{view:0,detail:0}),ab=zt(Wi),Au,Nu,qi,Ea=V({},Wi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ju,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!==qi&&(qi&&r.type==="mousemove"?(Au=r.screenX-qi.screenX,Nu=r.screenY-qi.screenY):Nu=Au=0,qi=r),Au)},movementY:function(r){return"movementY"in r?r.movementY:Nu}}),fp=zt(Ea),lb=V({},Ea,{dataTransfer:0}),ub=zt(lb),cb=V({},Wi,{relatedTarget:0}),Ou=zt(cb),db=V({},Ms,{animationName:0,elapsedTime:0,pseudoElement:0}),fb=zt(db),hb=V({},Ms,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),pb=zt(hb),mb=V({},Ms,{data:0}),hp=zt(mb),gb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yb={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"},vb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wb(r){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(r):(r=vb[r])?!!s[r]:!1}function ju(){return wb}var xb=V({},Wi,{key:function(r){if(r.key){var s=gb[r.key]||r.key;if(s!=="Unidentified")return s}return r.type==="keypress"?(r=Sa(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?yb[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ju,charCode:function(r){return r.type==="keypress"?Sa(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Sa(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),bb=zt(xb),Sb=V({},Ea,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pp=zt(Sb),_b=V({},Wi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ju}),Eb=zt(_b),kb=V({},Ms,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cb=zt(kb),Tb=V({},Ea,{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}),Pb=zt(Tb),Rb=[9,13,27,32],Du=d&&"CompositionEvent"in window,Ki=null;d&&"documentMode"in document&&(Ki=document.documentMode);var Ab=d&&"TextEvent"in window&&!Ki,mp=d&&(!Du||Ki&&8<Ki&&11>=Ki),gp=" ",yp=!1;function vp(r,s){switch(r){case"keyup":return Rb.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wp(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Is=!1;function Nb(r,s){switch(r){case"compositionend":return wp(s);case"keypress":return s.which!==32?null:(yp=!0,gp);case"textInput":return r=s.data,r===gp&&yp?null:r;default:return null}}function Ob(r,s){if(Is)return r==="compositionend"||!Du&&vp(r,s)?(r=cp(),ba=Pu=lr=null,Is=!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 mp&&s.locale!=="ko"?null:s.data;default:return null}}var jb={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 xp(r){var s=r&&r.nodeName&&r.nodeName.toLowerCase();return s==="input"?!!jb[r.type]:s==="textarea"}function bp(r,s,a,c){Vh(c),s=Ra(s,"onChange"),0<s.length&&(a=new Ru("onChange","change",null,a,c),r.push({event:a,listeners:s}))}var Qi=null,Gi=null;function Db(r){Up(r,0)}function ka(r){var s=zs(r);if(dt(s))return r}function Lb(r,s){if(r==="change")return s}var Sp=!1;if(d){var Lu;if(d){var Mu="oninput"in document;if(!Mu){var _p=document.createElement("div");_p.setAttribute("oninput","return;"),Mu=typeof _p.oninput=="function"}Lu=Mu}else Lu=!1;Sp=Lu&&(!document.documentMode||9<document.documentMode)}function Ep(){Qi&&(Qi.detachEvent("onpropertychange",kp),Gi=Qi=null)}function kp(r){if(r.propertyName==="value"&&ka(Gi)){var s=[];bp(s,Gi,r,mu(r)),Wh(Db,s)}}function Mb(r,s,a){r==="focusin"?(Ep(),Qi=s,Gi=a,Qi.attachEvent("onpropertychange",kp)):r==="focusout"&&Ep()}function Ib(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return ka(Gi)}function Fb(r,s){if(r==="click")return ka(s)}function Ub(r,s){if(r==="input"||r==="change")return ka(s)}function Bb(r,s){return r===s&&(r!==0||1/r===1/s)||r!==r&&s!==s}var mn=typeof Object.is=="function"?Object.is:Bb;function Yi(r,s){if(mn(r,s))return!0;if(typeof r!="object"||r===null||typeof s!="object"||s===null)return!1;var a=Object.keys(r),c=Object.keys(s);if(a.length!==c.length)return!1;for(c=0;c<a.length;c++){var f=a[c];if(!h.call(s,f)||!mn(r[f],s[f]))return!1}return!0}function Cp(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Tp(r,s){var a=Cp(r);r=0;for(var c;a;){if(a.nodeType===3){if(c=r+a.textContent.length,r<=s&&c>=s)return{node:a,offset:s-r};r=c}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Cp(a)}}function Pp(r,s){return r&&s?r===s?!0:r&&r.nodeType===3?!1:s&&s.nodeType===3?Pp(r,s.parentNode):"contains"in r?r.contains(s):r.compareDocumentPosition?!!(r.compareDocumentPosition(s)&16):!1:!1}function Rp(){for(var r=window,s=dn();s instanceof r.HTMLIFrameElement;){try{var a=typeof s.contentWindow.location.href=="string"}catch{a=!1}if(a)r=s.contentWindow;else break;s=dn(r.document)}return s}function Iu(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 Vb(r){var s=Rp(),a=r.focusedElem,c=r.selectionRange;if(s!==a&&a&&a.ownerDocument&&Pp(a.ownerDocument.documentElement,a)){if(c!==null&&Iu(a)){if(s=c.start,r=c.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 f=a.textContent.length,p=Math.min(c.start,f);c=c.end===void 0?p:Math.min(c.end,f),!r.extend&&p>c&&(f=c,c=p,p=f),f=Tp(a,p);var v=Tp(a,c);f&&v&&(r.rangeCount!==1||r.anchorNode!==f.node||r.anchorOffset!==f.offset||r.focusNode!==v.node||r.focusOffset!==v.offset)&&(s=s.createRange(),s.setStart(f.node,f.offset),r.removeAllRanges(),p>c?(r.addRange(s),r.extend(v.node,v.offset)):(s.setEnd(v.node,v.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 zb=d&&"documentMode"in document&&11>=document.documentMode,Fs=null,Fu=null,Xi=null,Uu=!1;function Ap(r,s,a){var c=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Uu||Fs==null||Fs!==dn(c)||(c=Fs,"selectionStart"in c&&Iu(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Xi&&Yi(Xi,c)||(Xi=c,c=Ra(Fu,"onSelect"),0<c.length&&(s=new Ru("onSelect","select",null,s,a),r.push({event:s,listeners:c}),s.target=Fs)))}function Ca(r,s){var a={};return a[r.toLowerCase()]=s.toLowerCase(),a["Webkit"+r]="webkit"+s,a["Moz"+r]="moz"+s,a}var Us={animationend:Ca("Animation","AnimationEnd"),animationiteration:Ca("Animation","AnimationIteration"),animationstart:Ca("Animation","AnimationStart"),transitionend:Ca("Transition","TransitionEnd")},Bu={},Np={};d&&(Np=document.createElement("div").style,"AnimationEvent"in window||(delete Us.animationend.animation,delete Us.animationiteration.animation,delete Us.animationstart.animation),"TransitionEvent"in window||delete Us.transitionend.transition);function Ta(r){if(Bu[r])return Bu[r];if(!Us[r])return r;var s=Us[r],a;for(a in s)if(s.hasOwnProperty(a)&&a in Np)return Bu[r]=s[a];return r}var Op=Ta("animationend"),jp=Ta("animationiteration"),Dp=Ta("animationstart"),Lp=Ta("transitionend"),Mp=new Map,Ip="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 ur(r,s){Mp.set(r,s),l(s,[r])}for(var Vu=0;Vu<Ip.length;Vu++){var zu=Ip[Vu],$b=zu.toLowerCase(),Hb=zu[0].toUpperCase()+zu.slice(1);ur($b,"on"+Hb)}ur(Op,"onAnimationEnd"),ur(jp,"onAnimationIteration"),ur(Dp,"onAnimationStart"),ur("dblclick","onDoubleClick"),ur("focusin","onFocus"),ur("focusout","onBlur"),ur(Lp,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("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 Ji="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(" "),Wb=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ji));function Fp(r,s,a){var c=r.type||"unknown-event";r.currentTarget=a,$x(c,s,void 0,r),r.currentTarget=null}function Up(r,s){s=(s&4)!==0;for(var a=0;a<r.length;a++){var c=r[a],f=c.event;c=c.listeners;e:{var p=void 0;if(s)for(var v=c.length-1;0<=v;v--){var _=c[v],C=_.instance,F=_.currentTarget;if(_=_.listener,C!==p&&f.isPropagationStopped())break e;Fp(f,_,F),p=C}else for(v=0;v<c.length;v++){if(_=c[v],C=_.instance,F=_.currentTarget,_=_.listener,C!==p&&f.isPropagationStopped())break e;Fp(f,_,F),p=C}}}if(da)throw r=wu,da=!1,wu=null,r}function Be(r,s){var a=s[Yu];a===void 0&&(a=s[Yu]=new Set);var c=r+"__bubble";a.has(c)||(Bp(s,r,2,!1),a.add(c))}function $u(r,s,a){var c=0;s&&(c|=4),Bp(a,r,c,s)}var Pa="_reactListening"+Math.random().toString(36).slice(2);function Zi(r){if(!r[Pa]){r[Pa]=!0,i.forEach(function(a){a!=="selectionchange"&&(Wb.has(a)||$u(a,!1,r),$u(a,!0,r))});var s=r.nodeType===9?r:r.ownerDocument;s===null||s[Pa]||(s[Pa]=!0,$u("selectionchange",!1,s))}}function Bp(r,s,a,c){switch(up(s)){case 1:var f=ib;break;case 4:f=ob;break;default:f=Cu}a=f.bind(null,s,a,r),f=void 0,!vu||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(f=!0),c?f!==void 0?r.addEventListener(s,a,{capture:!0,passive:f}):r.addEventListener(s,a,!0):f!==void 0?r.addEventListener(s,a,{passive:f}):r.addEventListener(s,a,!1)}function Hu(r,s,a,c,f){var p=c;if((s&1)===0&&(s&2)===0&&c!==null)e:for(;;){if(c===null)return;var v=c.tag;if(v===3||v===4){var _=c.stateNode.containerInfo;if(_===f||_.nodeType===8&&_.parentNode===f)break;if(v===4)for(v=c.return;v!==null;){var C=v.tag;if((C===3||C===4)&&(C=v.stateNode.containerInfo,C===f||C.nodeType===8&&C.parentNode===f))return;v=v.return}for(;_!==null;){if(v=qr(_),v===null)return;if(C=v.tag,C===5||C===6){c=p=v;continue e}_=_.parentNode}}c=c.return}Wh(function(){var F=p,W=mu(a),q=[];e:{var H=Mp.get(r);if(H!==void 0){var X=Ru,ne=r;switch(r){case"keypress":if(Sa(a)===0)break e;case"keydown":case"keyup":X=bb;break;case"focusin":ne="focus",X=Ou;break;case"focusout":ne="blur",X=Ou;break;case"beforeblur":case"afterblur":X=Ou;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":X=fp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=ub;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=Eb;break;case Op:case jp:case Dp:X=fb;break;case Lp:X=Cb;break;case"scroll":X=ab;break;case"wheel":X=Pb;break;case"copy":case"cut":case"paste":X=pb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=pp}var ie=(s&4)!==0,Xe=!ie&&r==="scroll",L=ie?H!==null?H+"Capture":null:H;ie=[];for(var N=F,M;N!==null;){M=N;var K=M.stateNode;if(M.tag===5&&K!==null&&(M=K,L!==null&&(K=Li(N,L),K!=null&&ie.push(eo(N,K,M)))),Xe)break;N=N.return}0<ie.length&&(H=new X(H,ne,null,a,W),q.push({event:H,listeners:ie}))}}if((s&7)===0){e:{if(H=r==="mouseover"||r==="pointerover",X=r==="mouseout"||r==="pointerout",H&&a!==pu&&(ne=a.relatedTarget||a.fromElement)&&(qr(ne)||ne[Un]))break e;if((X||H)&&(H=W.window===W?W:(H=W.ownerDocument)?H.defaultView||H.parentWindow:window,X?(ne=a.relatedTarget||a.toElement,X=F,ne=ne?qr(ne):null,ne!==null&&(Xe=Wr(ne),ne!==Xe||ne.tag!==5&&ne.tag!==6)&&(ne=null)):(X=null,ne=F),X!==ne)){if(ie=fp,K="onMouseLeave",L="onMouseEnter",N="mouse",(r==="pointerout"||r==="pointerover")&&(ie=pp,K="onPointerLeave",L="onPointerEnter",N="pointer"),Xe=X==null?H:zs(X),M=ne==null?H:zs(ne),H=new ie(K,N+"leave",X,a,W),H.target=Xe,H.relatedTarget=M,K=null,qr(W)===F&&(ie=new ie(L,N+"enter",ne,a,W),ie.target=M,ie.relatedTarget=Xe,K=ie),Xe=K,X&&ne)t:{for(ie=X,L=ne,N=0,M=ie;M;M=Bs(M))N++;for(M=0,K=L;K;K=Bs(K))M++;for(;0<N-M;)ie=Bs(ie),N--;for(;0<M-N;)L=Bs(L),M--;for(;N--;){if(ie===L||L!==null&&ie===L.alternate)break t;ie=Bs(ie),L=Bs(L)}ie=null}else ie=null;X!==null&&Vp(q,H,X,ie,!1),ne!==null&&Xe!==null&&Vp(q,Xe,ne,ie,!0)}}e:{if(H=F?zs(F):window,X=H.nodeName&&H.nodeName.toLowerCase(),X==="select"||X==="input"&&H.type==="file")var ae=Lb;else if(xp(H))if(Sp)ae=Ub;else{ae=Ib;var ue=Mb}else(X=H.nodeName)&&X.toLowerCase()==="input"&&(H.type==="checkbox"||H.type==="radio")&&(ae=Fb);if(ae&&(ae=ae(r,F))){bp(q,ae,a,W);break e}ue&&ue(r,H,F),r==="focusout"&&(ue=H._wrapperState)&&ue.controlled&&H.type==="number"&&hn(H,"number",H.value)}switch(ue=F?zs(F):window,r){case"focusin":(xp(ue)||ue.contentEditable==="true")&&(Fs=ue,Fu=F,Xi=null);break;case"focusout":Xi=Fu=Fs=null;break;case"mousedown":Uu=!0;break;case"contextmenu":case"mouseup":case"dragend":Uu=!1,Ap(q,a,W);break;case"selectionchange":if(zb)break;case"keydown":case"keyup":Ap(q,a,W)}var ce;if(Du)e:{switch(r){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else Is?vp(r,a)&&(ye="onCompositionEnd"):r==="keydown"&&a.keyCode===229&&(ye="onCompositionStart");ye&&(mp&&a.locale!=="ko"&&(Is||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&Is&&(ce=cp()):(lr=W,Pu="value"in lr?lr.value:lr.textContent,Is=!0)),ue=Ra(F,ye),0<ue.length&&(ye=new hp(ye,r,null,a,W),q.push({event:ye,listeners:ue}),ce?ye.data=ce:(ce=wp(a),ce!==null&&(ye.data=ce)))),(ce=Ab?Nb(r,a):Ob(r,a))&&(F=Ra(F,"onBeforeInput"),0<F.length&&(W=new hp("onBeforeInput","beforeinput",null,a,W),q.push({event:W,listeners:F}),W.data=ce))}Up(q,s)})}function eo(r,s,a){return{instance:r,listener:s,currentTarget:a}}function Ra(r,s){for(var a=s+"Capture",c=[];r!==null;){var f=r,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=Li(r,a),p!=null&&c.unshift(eo(r,p,f)),p=Li(r,s),p!=null&&c.push(eo(r,p,f))),r=r.return}return c}function Bs(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Vp(r,s,a,c,f){for(var p=s._reactName,v=[];a!==null&&a!==c;){var _=a,C=_.alternate,F=_.stateNode;if(C!==null&&C===c)break;_.tag===5&&F!==null&&(_=F,f?(C=Li(a,p),C!=null&&v.unshift(eo(a,C,_))):f||(C=Li(a,p),C!=null&&v.push(eo(a,C,_)))),a=a.return}v.length!==0&&r.push({event:s,listeners:v})}var qb=/\r\n?/g,Kb=/\u0000|\uFFFD/g;function zp(r){return(typeof r=="string"?r:""+r).replace(qb,` 38`).replace(Kb,"")}function Aa(r,s,a){if(s=zp(s),zp(r)!==s&&a)throw Error(n(425))}function Na(){}var Wu=null,qu=null;function Ku(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 Qu=typeof setTimeout=="function"?setTimeout:void 0,Qb=typeof clearTimeout=="function"?clearTimeout:void 0,$p=typeof Promise=="function"?Promise:void 0,Gb=typeof queueMicrotask=="function"?queueMicrotask:typeof $p<"u"?function(r){return $p.resolve(null).then(r).catch(Yb)}:Qu;function Yb(r){setTimeout(function(){throw r})}function Gu(r,s){var a=s,c=0;do{var f=a.nextSibling;if(r.removeChild(a),f&&f.nodeType===8)if(a=f.data,a==="/$"){if(c===0){r.removeChild(f),Hi(s);return}c--}else a!=="$"&&a!=="$?"&&a!=="$!"||c++;a=f}while(a);Hi(s)}function cr(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 Hp(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 Vs=Math.random().toString(36).slice(2),Tn="__reactFiber$"+Vs,to="__reactProps$"+Vs,Un="__reactContainer$"+Vs,Yu="__reactEvents$"+Vs,Xb="__reactListeners$"+Vs,Jb="__reactHandles$"+Vs;function qr(r){var s=r[Tn];if(s)return s;for(var a=r.parentNode;a;){if(s=a[Un]||a[Tn]){if(a=s.alternate,s.child!==null||a!==null&&a.child!==null)for(r=Hp(r);r!==null;){if(a=r[Tn])return a;r=Hp(r)}return s}r=a,a=r.parentNode}return null}function no(r){return r=r[Tn]||r[Un],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function zs(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function Oa(r){return r[to]||null}var Xu=[],$s=-1;function dr(r){return{current:r}}function Ve(r){0>$s||(r.current=Xu[$s],Xu[$s]=null,$s--)}function Ue(r,s){$s++,Xu[$s]=r.current,r.current=s}var fr={},wt=dr(fr),Nt=dr(!1),Kr=fr;function Hs(r,s){var a=r.type.contextTypes;if(!a)return fr;var c=r.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===s)return c.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in a)f[p]=s[p];return c&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=s,r.__reactInternalMemoizedMaskedChildContext=f),f}function Ot(r){return r=r.childContextTypes,r!=null}function ja(){Ve(Nt),Ve(wt)}function Wp(r,s,a){if(wt.current!==fr)throw Error(n(168));Ue(wt,s),Ue(Nt,a)}function qp(r,s,a){var c=r.stateNode;if(s=s.childContextTypes,typeof c.getChildContext!="function")return a;c=c.getChildContext();for(var f in c)if(!(f in s))throw Error(n(108,we(r)||"Unknown",f));return V({},a,c)}function Da(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||fr,Kr=wt.current,Ue(wt,r),Ue(Nt,Nt.current),!0}function Kp(r,s,a){var c=r.stateNode;if(!c)throw Error(n(169));a?(r=qp(r,s,Kr),c.__reactInternalMemoizedMergedChildContext=r,Ve(Nt),Ve(wt),Ue(wt,r)):Ve(Nt),Ue(Nt,a)}var Bn=null,La=!1,Ju=!1;function Qp(r){Bn===null?Bn=[r]:Bn.push(r)}function Zb(r){La=!0,Qp(r)}function hr(){if(!Ju&&Bn!==null){Ju=!0;var r=0,s=Me;try{var a=Bn;for(Me=1;r<a.length;r++){var c=a[r];do c=c(!0);while(c!==null)}
vendor: 4,879 bytes, line 38
38Bn=null,La=!1}catch(f){throw Bn!==null&&(Bn=Bn.slice(r+1)),Yh(xu,hr),f}finally{Me=s,Ju=!1}}return null}var Ws=[],qs=0,Ma=null,Ia=0,Xt=[],Jt=0,Qr=null,Vn=1,zn="";function Gr(r,s){Ws[qs++]=Ia,Ws[qs++]=Ma,Ma=r,Ia=s}function Gp(r,s,a){Xt[Jt++]=Vn,Xt[Jt++]=zn,Xt[Jt++]=Qr,Qr=r;var c=Vn;r=zn;var f=32-pn(c)-1;c&=~(1<<f),a+=1;var p=32-pn(s)+f;if(30<p){var v=f-f%5;p=(c&(1<<v)-1).toString(32),c>>=v,f-=v,Vn=1<<32-pn(s)+f|a<<f|c,zn=p+r}else Vn=1<<p|a<<f|c,zn=r}function Zu(r){r.return!==null&&(Gr(r,1),Gp(r,1,0))}function ec(r){for(;r===Ma;)Ma=Ws[--qs],Ws[qs]=null,Ia=Ws[--qs],Ws[qs]=null;for(;r===Qr;)Qr=Xt[--Jt],Xt[Jt]=null,zn=Xt[--Jt],Xt[Jt]=null,Vn=Xt[--Jt],Xt[Jt]=null}var $t=null,Ht=null,$e=!1,gn=null;function Yp(r,s){var a=nn(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 Xp(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,$t=r,Ht=cr(s.firstChild),!0):!1;case 6:return s=r.pendingProps===""||s.nodeType!==3?null:s,s!==null?(r.stateNode=s,$t=r,Ht=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(a=Qr!==null?{id:Vn,overflow:zn}:null,r.memoizedState={dehydrated:s,treeContext:a,retryLane:1073741824},a=nn(18,null,null,0),a.stateNode=s,a.return=r,r.child=a,$t=r,Ht=null,!0):!1;default:return!1}}function tc(r){return(r.mode&1)!==0&&(r.flags&128)===0}function nc(r){if($e){var s=Ht;if(s){var a=s;if(!Xp(r,s)){if(tc(r))throw Error(n(418));s=cr(a.nextSibling);var c=$t;s&&Xp(r,s)?Yp(c,a):(r.flags=r.flags&-4097|2,$e=!1,$t=r)}}else{if(tc(r))throw Error(n(418));r.flags=r.flags&-4097|2,$e=!1,$t=r}}}function Jp(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;$t=r}function Fa(r){if(r!==$t)return!1;if(!$e)return Jp(r),$e=!0,!1;var s;if((s=r.tag!==3)&&!(s=r.tag!==5)&&(s=r.type,s=s!=="head"&&s!=="body"&&!Ku(r.type,r.memoizedProps)),s&&(s=Ht)){if(tc(r))throw Zp(),Error(n(418));for(;s;)Yp(r,s),s=cr(s.nextSibling)}if(Jp(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){Ht=cr(r.nextSibling);break e}s--}else a!=="$"&&a!=="$!"&&a!=="$?"||s++}r=r.nextSibling}Ht=null}}else Ht=$t?cr(r.stateNode.nextSibling):null;return!0}function Zp(){for(var r=Ht;r;)r=cr(r.nextSibling)}function Ks(){Ht=$t=null,$e=!1}function rc(r){gn===null?gn=[r]:gn.push(r)}var eS=D.ReactCurrentBatchConfig;function ro(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 c=a.stateNode}if(!c)throw Error(n(147,r));var f=c,p=""+r;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===p?s.ref:(s=function(v){var _=f.refs;v===null?delete _[p]:_[p]=v},s._stringRef=p,s)}if(typeof r!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,r))}return r}function Ua(r,s){throw r=Object.prototype.toString.call(s),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":r))}function em(r){var s=r._init;return s(r._payload)}function tm(r){function s(L,N){if(r){var M=L.deletions;M===null?(L.deletions=[N],L.flags|=16):M.push(N)}}function a(L,N){if(!r)return null;for(;N!==null;)s(L,N),N=N.sibling;return null}function c(L,N){for(L=new Map;N!==null;)N.key!==null?L.set(N.key,N):L.set(N.index,N),N=N.sibling;return L}function f(L,N){return L=br(L,N),L.index=0,L.sibling=null,L}function p(L,N,M){return L.index=M,r?(M=L.alternate,M!==null?(M=M.index,M<N?(L.flags|=2,N):M):(L.flags|=2,N)):(L.flags|=1048576,N)}function v(L){return r&&L.alternate===null&&(L.flags|=2),L}function _(L,N,M,K){return N===null||N.tag!==6?(N=Qc(M,L.mode,K),N.return=L,N):(N=f(N,M),N.return=L,N)}function C(L,N,M,K){var ae=M.type;return ae===te?W(L,N,M.props.children,K,M.key):N!==null&&(N.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ae&&em(ae)===N.type)?(K=f(N,M.props),K.ref=ro(L,N,M),K.return=L,K):(K=ul(M.type,M.key,M.props,null,L.mode,K),K.ref=ro(L,N,M),K.return=L,K)}function F(L,N,M,K){return N===null||N.tag!==4||N.stateNode.containerInfo!==M.containerInfo||N.stateNode.implementation!==M.implementation?(N=Gc(M,L.mode,K),N.return=L,N):(N=f(N,M.children||[]),N.return=L,N)}function W(L,N,M,K,ae){return N===null||N.tag!==7?(N=rs(M,L.mode,K,ae),N.return=L,N):(N=f(N,M),N.return=L,N)}function q(L,N,M){if(typeof N=="string"&&N!==""||typeof N=="number")return N=Qc(""+N,L.mode,M),N.return=L,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case B:return M=ul(N.type,N.key,N.props,null,L.mode,M),M.ref=ro(L,null,N),M.return=L,M;case $:return N=Gc(N,L.mode,M),N.return=L,N;case Ae:var K=N._init;return q(L,K(N._payload),M)}if(nr(N)||oe(N))return N=rs(N,L.mode,M,null),N.return=L,N;Ua(L,N)}return null}function H(L,N,M,K){var ae=N!==null?N.key:null;
vendor: 4,349 bytes, line 38
38if(typeof M=="string"&&M!==""||typeof M=="number")return ae!==null?null:_(L,N,""+M,K);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case B:return M.key===ae?C(L,N,M,K):null;case $:return M.key===ae?F(L,N,M,K):null;case Ae:return ae=M._init,H(L,N,ae(M._payload),K)}if(nr(M)||oe(M))return ae!==null?null:W(L,N,M,K,null);Ua(L,M)}return null}function X(L,N,M,K,ae){if(typeof K=="string"&&K!==""||typeof K=="number")return L=L.get(M)||null,_(N,L,""+K,ae);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case B:return L=L.get(K.key===null?M:K.key)||null,C(N,L,K,ae);case $:return L=L.get(K.key===null?M:K.key)||null,F(N,L,K,ae);case Ae:var ue=K._init;return X(L,N,M,ue(K._payload),ae)}if(nr(K)||oe(K))return L=L.get(M)||null,W(N,L,K,ae,null);Ua(N,K)}return null}function ne(L,N,M,K){for(var ae=null,ue=null,ce=N,ye=N=0,ut=null;ce!==null&&ye<M.length;ye++){ce.index>ye?(ut=ce,ce=null):ut=ce.sibling;var Oe=H(L,ce,M[ye],K);if(Oe===null){ce===null&&(ce=ut);break}r&&ce&&Oe.alternate===null&&s(L,ce),N=p(Oe,N,ye),ue===null?ae=Oe:ue.sibling=Oe,ue=Oe,ce=ut}if(ye===M.length)return a(L,ce),$e&&Gr(L,ye),ae;if(ce===null){for(;ye<M.length;ye++)ce=q(L,M[ye],K),ce!==null&&(N=p(ce,N,ye),ue===null?ae=ce:ue.sibling=ce,ue=ce);return $e&&Gr(L,ye),ae}for(ce=c(L,ce);ye<M.length;ye++)ut=X(ce,L,ye,M[ye],K),ut!==null&&(r&&ut.alternate!==null&&ce.delete(ut.key===null?ye:ut.key),N=p(ut,N,ye),ue===null?ae=ut:ue.sibling=ut,ue=ut);return r&&ce.forEach(function(Sr){return s(L,Sr)}),$e&&Gr(L,ye),ae}function ie(L,N,M,K){var ae=oe(M);if(typeof ae!="function")throw Error(n(150));if(M=ae.call(M),M==null)throw Error(n(151));for(var ue=ae=null,ce=N,ye=N=0,ut=null,Oe=M.next();ce!==null&&!Oe.done;ye++,Oe=M.next()){ce.index>ye?(ut=ce,ce=null):ut=ce.sibling;var Sr=H(L,ce,Oe.value,K);if(Sr===null){ce===null&&(ce=ut);break}r&&ce&&Sr.alternate===null&&s(L,ce),N=p(Sr,N,ye),ue===null?ae=Sr:ue.sibling=Sr,ue=Sr,ce=ut}if(Oe.done)return a(L,ce),$e&&Gr(L,ye),ae;if(ce===null){for(;!Oe.done;ye++,Oe=M.next())Oe=q(L,Oe.value,K),Oe!==null&&(N=p(Oe,N,ye),ue===null?ae=Oe:ue.sibling=Oe,ue=Oe);return $e&&Gr(L,ye),ae}for(ce=c(L,ce);!Oe.done;ye++,Oe=M.next())Oe=X(ce,L,ye,Oe.value,K),Oe!==null&&(r&&Oe.alternate!==null&&ce.delete(Oe.key===null?ye:Oe.key),N=p(Oe,N,ye),ue===null?ae=Oe:ue.sibling=Oe,ue=Oe);return r&&ce.forEach(function(jS){return s(L,jS)}),$e&&Gr(L,ye),ae}function Xe(L,N,M,K){if(typeof M=="object"&&M!==null&&M.type===te&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case B:e:{for(var ae=M.key,ue=N;ue!==null;){if(ue.key===ae){if(ae=M.type,ae===te){if(ue.tag===7){a(L,ue.sibling),N=f(ue,M.props.children),N.return=L,L=N;break e}}else if(ue.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===Ae&&em(ae)===ue.type){a(L,ue.sibling),N=f(ue,M.props),N.ref=ro(L,ue,M),N.return=L,L=N;break e}a(L,ue);break}else s(L,ue);ue=ue.sibling}M.type===te?(N=rs(M.props.children,L.mode,K,M.key),N.return=L,L=N):(K=ul(M.type,M.key,M.props,null,L.mode,K),K.ref=ro(L,N,M),K.return=L,L=K)}return v(L);case $:e:{for(ue=M.key;N!==null;){if(N.key===ue)if(N.tag===4&&N.stateNode.containerInfo===M.containerInfo&&N.stateNode.implementation===M.implementation){a(L,N.sibling),N=f(N,M.children||[]),N.return=L,L=N;break e}else{a(L,N);break}else s(L,N);N=N.sibling}N=Gc(M,L.mode,K),N.return=L,L=N}return v(L);case Ae:return ue=M._init,Xe(L,N,ue(M._payload),K)}if(nr(M))return ne(L,N,M,K);if(oe(M))return ie(L,N,M,K);Ua(L,M)}return typeof M=="string"&&M!==""||typeof M=="number"?(M=""+M,N!==null&&N.tag===6?(a(L,N.sibling),N=f(N,M),N.return=L,L=N):(a(L,N),N=Qc(M,L.mode,K),N.return=L,L=N),v(L)):a(L,N)}return Xe}var Qs=tm(!0),nm=tm(!1),Ba=dr(null),Va=null,Gs=null,sc=null;function ic(){sc=Gs=Va=null}function oc(r){var s=Ba.current;Ve(Ba),r._currentValue=s}function ac(r,s,a){for(;r!==null;){var c=r.alternate;if((r.childLanes&s)!==s?(r.childLanes|=s,c!==null&&(c.childLanes|=s)):c!==null&&(c.childLanes&s)!==s&&(c.childLanes|=s),r===a)break;r=r.return}}function Ys(r,s){Va=r,sc=Gs=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&s)!==0&&(jt=!0),r.firstContext=null)}function Zt(r){var s=r._currentValue;if(sc!==r)if(r={context:r,memoizedValue:s,next:null},Gs===null){if(Va===null)throw Error(n(308));Gs=r,Va.dependencies={lanes:0,firstContext:r}}else Gs=Gs.next=r;return s}var Yr=null;function lc(r){Yr===null?Yr=[r]:Yr.push(r)}
vendor: 1,631 bytes, line 38
38function rm(r,s,a,c){var f=s.interleaved;return f===null?(a.next=a,lc(s)):(a.next=f.next,f.next=a),s.interleaved=a,$n(r,c)}function $n(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 pr=!1;function uc(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function sm(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 Hn(r,s){return{eventTime:r,lane:s,tag:0,payload:null,callback:null,next:null}}function mr(r,s,a){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Ne&2)!==0){var f=c.pending;return f===null?s.next=s:(s.next=f.next,f.next=s),c.pending=s,$n(r,a)}return f=c.interleaved,f===null?(s.next=s,lc(c)):(s.next=f.next,f.next=s),c.interleaved=s,$n(r,a)}function za(r,s,a){if(s=s.updateQueue,s!==null&&(s=s.shared,(a&4194240)!==0)){var c=s.lanes;c&=r.pendingLanes,a|=c,s.lanes=a,_u(r,a)}}function im(r,s){var a=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,a===c)){var f=null,p=null;if(a=a.firstBaseUpdate,a!==null){do{var v={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};p===null?f=p=v:p=p.next=v,a=a.next}while(a!==null);p===null?f=p=s:p=p.next=s}else f=p=s;a={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:c.shared,effects:c.effects},r.updateQueue=a;return}
vendor: 7,942 bytes, line 38
38r=a.lastBaseUpdate,r===null?a.firstBaseUpdate=s:r.next=s,a.lastBaseUpdate=s}function $a(r,s,a,c){var f=r.updateQueue;pr=!1;var p=f.firstBaseUpdate,v=f.lastBaseUpdate,_=f.shared.pending;if(_!==null){f.shared.pending=null;var C=_,F=C.next;C.next=null,v===null?p=F:v.next=F,v=C;var W=r.alternate;W!==null&&(W=W.updateQueue,_=W.lastBaseUpdate,_!==v&&(_===null?W.firstBaseUpdate=F:_.next=F,W.lastBaseUpdate=C))}if(p!==null){var q=f.baseState;v=0,W=F=C=null,_=p;do{var H=_.lane,X=_.eventTime;if((c&H)===H){W!==null&&(W=W.next={eventTime:X,lane:0,tag:_.tag,payload:_.payload,callback:_.callback,next:null});e:{var ne=r,ie=_;switch(H=s,X=a,ie.tag){case 1:if(ne=ie.payload,typeof ne=="function"){q=ne.call(X,q,H);break e}q=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=ie.payload,H=typeof ne=="function"?ne.call(X,q,H):ne,H==null)break e;q=V({},q,H);break e;case 2:pr=!0}}_.callback!==null&&_.lane!==0&&(r.flags|=64,H=f.effects,H===null?f.effects=[_]:H.push(_))}else X={eventTime:X,lane:H,tag:_.tag,payload:_.payload,callback:_.callback,next:null},W===null?(F=W=X,C=q):W=W.next=X,v|=H;if(_=_.next,_===null){if(_=f.shared.pending,_===null)break;H=_,_=H.next,H.next=null,f.lastBaseUpdate=H,f.shared.pending=null}}while(!0);if(W===null&&(C=q),f.baseState=C,f.firstBaseUpdate=F,f.lastBaseUpdate=W,s=f.shared.interleaved,s!==null){f=s;do v|=f.lane,f=f.next;while(f!==s)}else p===null&&(f.shared.lanes=0);Zr|=v,r.lanes=v,r.memoizedState=q}}function om(r,s,a){if(r=s.effects,s.effects=null,r!==null)for(s=0;s<r.length;s++){var c=r[s],f=c.callback;if(f!==null){if(c.callback=null,c=a,typeof f!="function")throw Error(n(191,f));f.call(c)}}}var so={},Pn=dr(so),io=dr(so),oo=dr(so);function Xr(r){if(r===so)throw Error(n(174));return r}function cc(r,s){switch(Ue(oo,s),Ue(io,r),Ue(Pn,so),r=s.nodeType,r){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:du(null,"");break;default:r=r===8?s.parentNode:s,s=r.namespaceURI||null,r=r.tagName,s=du(s,r)}Ve(Pn),Ue(Pn,s)}function Xs(){Ve(Pn),Ve(io),Ve(oo)}function am(r){Xr(oo.current);var s=Xr(Pn.current),a=du(s,r.type);s!==a&&(Ue(io,r),Ue(Pn,a))}function dc(r){io.current===r&&(Ve(Pn),Ve(io))}var He=dr(0);function Ha(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 fc=[];function hc(){for(var r=0;r<fc.length;r++)fc[r]._workInProgressVersionPrimary=null;fc.length=0}var Wa=D.ReactCurrentDispatcher,pc=D.ReactCurrentBatchConfig,Jr=0,We=null,rt=null,at=null,qa=!1,ao=!1,lo=0,tS=0;function xt(){throw Error(n(321))}function mc(r,s){if(s===null)return!1;for(var a=0;a<s.length&&a<r.length;a++)if(!mn(r[a],s[a]))return!1;return!0}function gc(r,s,a,c,f,p){if(Jr=p,We=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Wa.current=r===null||r.memoizedState===null?iS:oS,r=a(c,f),ao){p=0;do{if(ao=!1,lo=0,25<=p)throw Error(n(301));p+=1,at=rt=null,s.updateQueue=null,Wa.current=aS,r=a(c,f)}while(ao)}if(Wa.current=Ga,s=rt!==null&&rt.next!==null,Jr=0,at=rt=We=null,qa=!1,s)throw Error(n(300));return r}function yc(){var r=lo!==0;return lo=0,r}function Rn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?We.memoizedState=at=r:at=at.next=r,at}function en(){if(rt===null){var r=We.alternate;r=r!==null?r.memoizedState:null}else r=rt.next;var s=at===null?We.memoizedState:at.next;if(s!==null)at=s,rt=r;else{if(r===null)throw Error(n(310));rt=r,r={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},at===null?We.memoizedState=at=r:at=at.next=r}return at}function uo(r,s){return typeof s=="function"?s(r):s}function vc(r){var s=en(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var c=rt,f=c.baseQueue,p=a.pending;if(p!==null){if(f!==null){var v=f.next;f.next=p.next,p.next=v}c.baseQueue=f=p,a.pending=null}if(f!==null){p=f.next,c=c.baseState;var _=v=null,C=null,F=p;do{var W=F.lane;if((Jr&W)===W)C!==null&&(C=C.next={lane:0,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),c=F.hasEagerState?F.eagerState:r(c,F.action);else{var q={lane:W,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};C===null?(_=C=q,v=c):C=C.next=q,We.lanes|=W,Zr|=W}F=F.next}while(F!==null&&F!==p);C===null?v=c:C.next=_,mn(c,s.memoizedState)||(jt=!0),s.memoizedState=c,s.baseState=v,s.baseQueue=C,a.lastRenderedState=c}if(r=a.interleaved,r!==null){f=r;do p=f.lane,We.lanes|=p,Zr|=p,f=f.next;while(f!==r)}else f===null&&(a.lanes=0);return[s.memoizedState,a.dispatch]}function wc(r){var s=en(),a=s.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var c=a.dispatch,f=a.pending,p=s.memoizedState;if(f!==null){a.pending=null;var v=f=f.next;do p=r(p,v.action),v=v.next;while(v!==f);mn(p,s.memoizedState)||(jt=!0),s.memoizedState=p,s.baseQueue===null&&(s.baseState=p),a.lastRenderedState=p}return[p,c]}function lm(){}function um(r,s){var a=We,c=en(),f=s(),p=!mn(c.memoizedState,f);if(p&&(c.memoizedState=f,jt=!0),c=c.queue,xc(fm.bind(null,a,c,r),[r]),c.getSnapshot!==s||p||at!==null&&at.memoizedState.tag&1){if(a.flags|=2048,co(9,dm.bind(null,a,c,f,s),void 0,null),lt===null)throw Error(n(349));(Jr&30)!==0||cm(a,s,f)}return f}function cm(r,s,a){r.flags|=16384,r={getSnapshot:s,value:a},s=We.updateQueue,s===null?(s={lastEffect:null,stores:null},We.updateQueue=s,s.stores=[r]):(a=s.stores,a===null?s.stores=[r]:a.push(r))}function dm(r,s,a,c){s.value=a,s.getSnapshot=c,hm(s)&&pm(r)}function fm(r,s,a){return a(function(){hm(s)&&pm(r)})}function hm(r){var s=r.getSnapshot;r=r.value;try{var a=s();return!mn(r,a)}catch{return!0}}function pm(r){var s=$n(r,1);s!==null&&xn(s,r,1,-1)}function mm(r){var s=Rn();return typeof r=="function"&&(r=r()),s.memoizedState=s.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:uo,lastRenderedState:r},s.queue=r,r=r.dispatch=sS.bind(null,We,r),[s.memoizedState,r]}function co(r,s,a,c){return r={tag:r,create:s,destroy:a,deps:c,next:null},s=We.updateQueue,s===null?(s={lastEffect:null,stores:null},We.updateQueue=s,s.lastEffect=r.next=r):(a=s.lastEffect,a===null?s.lastEffect=r.next=r:(c=a.next,a.next=r,r.next=c,s.lastEffect=r)),r}function gm(){return en().memoizedState}function Ka(r,s,a,c){var f=Rn();We.flags|=r,f.memoizedState=co(1|s,a,void 0,c===void 0?null:c)}function Qa(r,s,a,c){var f=en();c=c===void 0?null:c;var p=void 0;if(rt!==null){var v=rt.memoizedState;if(p=v.destroy,c!==null&&mc(c,v.deps)){f.memoizedState=co(s,a,p,c);return}}We.flags|=r,f.memoizedState=co(1|s,a,p,c)}function ym(r,s){return Ka(8390656,8,r,s)}function xc(r,s){return Qa(2048,8,r,s)}function vm(r,s){return Qa(4,2,r,s)}function wm(r,s){return Qa(4,4,r,s)}function xm(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 bm(r,s,a){return a=a!=null?a.concat([r]):null,Qa(4,4,xm.bind(null,s,r),a)}function bc(){}function Sm(r,s){var a=en();s=s===void 0?null:s;var c=a.memoizedState;return c!==null&&s!==null&&mc(s,c[1])?c[0]:(a.memoizedState=[r,s],r)}function _m(r,s){var a=en();s=s===void 0?null:s;var c=a.memoizedState;return c!==null&&s!==null&&mc(s,c[1])?c[0]:(r=r(),a.memoizedState=[r,s],r)}function Em(r,s,a){return(Jr&21)===0?(r.baseState&&(r.baseState=!1,jt=!0),r.memoizedState=a):(mn(a,s)||(a=ep(),We.lanes|=a,Zr|=a,r.baseState=!0),s)}function nS(r,s){var a=Me;Me=a!==0&&4>a?a:4,r(!0);var c=pc.transition;pc.transition={};try{r(!1),s()}finally{Me=a,pc.transition=c}}function km(){return en().memoizedState}function rS(r,s,a){var c=wr(r);if(a={lane:c,action:a,hasEagerState:!1,eagerState:null,next:null},Cm(r))Tm(s,a);
vendor: 6,418 bytes, lines 38-40
38else if(a=rm(r,s,a,c),a!==null){var f=Rt();xn(a,r,c,f),Pm(a,s,c)}}function sS(r,s,a){var c=wr(r),f={lane:c,action:a,hasEagerState:!1,eagerState:null,next:null};if(Cm(r))Tm(s,f);else{var p=r.alternate;if(r.lanes===0&&(p===null||p.lanes===0)&&(p=s.lastRenderedReducer,p!==null))try{var v=s.lastRenderedState,_=p(v,a);if(f.hasEagerState=!0,f.eagerState=_,mn(_,v)){var C=s.interleaved;C===null?(f.next=f,lc(s)):(f.next=C.next,C.next=f),s.interleaved=f;return}}catch{}finally{}a=rm(r,s,f,c),a!==null&&(f=Rt(),xn(a,r,c,f),Pm(a,s,c))}}function Cm(r){var s=r.alternate;return r===We||s!==null&&s===We}function Tm(r,s){ao=qa=!0;var a=r.pending;a===null?s.next=s:(s.next=a.next,a.next=s),r.pending=s}function Pm(r,s,a){if((a&4194240)!==0){var c=s.lanes;c&=r.pendingLanes,a|=c,s.lanes=a,_u(r,a)}}var Ga={readContext:Zt,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useInsertionEffect:xt,useLayoutEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useMutableSource:xt,useSyncExternalStore:xt,useId:xt,unstable_isNewReconciler:!1},iS={readContext:Zt,useCallback:function(r,s){return Rn().memoizedState=[r,s===void 0?null:s],r},useContext:Zt,useEffect:ym,useImperativeHandle:function(r,s,a){return a=a!=null?a.concat([r]):null,Ka(4194308,4,xm.bind(null,s,r),a)},useLayoutEffect:function(r,s){return Ka(4194308,4,r,s)},useInsertionEffect:function(r,s){return Ka(4,2,r,s)},useMemo:function(r,s){var a=Rn();return s=s===void 0?null:s,r=r(),a.memoizedState=[r,s],r},useReducer:function(r,s,a){var c=Rn();return s=a!==void 0?a(s):s,c.memoizedState=c.baseState=s,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:s},c.queue=r,r=r.dispatch=rS.bind(null,We,r),[c.memoizedState,r]},useRef:function(r){var s=Rn();return r={current:r},s.memoizedState=r},useState:mm,useDebugValue:bc,useDeferredValue:function(r){return Rn().memoizedState=r},useTransition:function(){var r=mm(!1),s=r[0];return r=nS.bind(null,r[1]),Rn().memoizedState=r,[s,r]},useMutableSource:function(){},useSyncExternalStore:function(r,s,a){var c=We,f=Rn();if($e){if(a===void 0)throw Error(n(407));a=a()}else{if(a=s(),lt===null)throw Error(n(349));(Jr&30)!==0||cm(c,s,a)}f.memoizedState=a;var p={value:a,getSnapshot:s};return f.queue=p,ym(fm.bind(null,c,p,r),[r]),c.flags|=2048,co(9,dm.bind(null,c,p,a,s),void 0,null),a},useId:function(){var r=Rn(),s=lt.identifierPrefix;if($e){var a=zn,c=Vn;a=(c&~(1<<32-pn(c)-1)).toString(32)+a,s=":"+s+"R"+a,a=lo++,0<a&&(s+="H"+a.toString(32)),s+=":"}else a=tS++,s=":"+s+"r"+a.toString(32)+":";return r.memoizedState=s},unstable_isNewReconciler:!1},oS={readContext:Zt,useCallback:Sm,useContext:Zt,useEffect:xc,useImperativeHandle:bm,useInsertionEffect:vm,useLayoutEffect:wm,useMemo:_m,useReducer:vc,useRef:gm,useState:function(){return vc(uo)},useDebugValue:bc,useDeferredValue:function(r){var s=en();return Em(s,rt.memoizedState,r)},useTransition:function(){var r=vc(uo)[0],s=en().memoizedState;return[r,s]},useMutableSource:lm,useSyncExternalStore:um,useId:km,unstable_isNewReconciler:!1},aS={readContext:Zt,useCallback:Sm,useContext:Zt,useEffect:xc,useImperativeHandle:bm,useInsertionEffect:vm,useLayoutEffect:wm,useMemo:_m,useReducer:wc,useRef:gm,useState:function(){return wc(uo)},useDebugValue:bc,useDeferredValue:function(r){var s=en();return rt===null?s.memoizedState=r:Em(s,rt.memoizedState,r)},useTransition:function(){var r=wc(uo)[0],s=en().memoizedState;return[r,s]},useMutableSource:lm,useSyncExternalStore:um,useId:km,unstable_isNewReconciler:!1};function yn(r,s){if(r&&r.defaultProps){s=V({},s),r=r.defaultProps;for(var a in r)s[a]===void 0&&(s[a]=r[a]);return s}return s}function Sc(r,s,a,c){s=r.memoizedState,a=a(c,s),a=a==null?s:V({},s,a),r.memoizedState=a,r.lanes===0&&(r.updateQueue.baseState=a)}var Ya={isMounted:function(r){return(r=r._reactInternals)?Wr(r)===r:!1},enqueueSetState:function(r,s,a){r=r._reactInternals;var c=Rt(),f=wr(r),p=Hn(c,f);p.payload=s,a!=null&&(p.callback=a),s=mr(r,p,f),s!==null&&(xn(s,r,f,c),za(s,r,f))},enqueueReplaceState:function(r,s,a){r=r._reactInternals;var c=Rt(),f=wr(r),p=Hn(c,f);p.tag=1,p.payload=s,a!=null&&(p.callback=a),s=mr(r,p,f),s!==null&&(xn(s,r,f,c),za(s,r,f))},enqueueForceUpdate:function(r,s){r=r._reactInternals;var a=Rt(),c=wr(r),f=Hn(a,c);f.tag=2,s!=null&&(f.callback=s),s=mr(r,f,c),s!==null&&(xn(s,r,c,a),za(s,r,c))}};function Rm(r,s,a,c,f,p,v){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,p,v):s.prototype&&s.prototype.isPureReactComponent?!Yi(a,c)||!Yi(f,p):!0}function Am(r,s,a){var c=!1,f=fr,p=s.contextType;return typeof p=="object"&&p!==null?p=Zt(p):(f=Ot(s)?Kr:wt.current,c=s.contextTypes,p=(c=c!=null)?Hs(r,f):fr),s=new s(a,p),r.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Ya,r.stateNode=s,s._reactInternals=r,c&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=f,r.__reactInternalMemoizedMaskedChildContext=p),s}function Nm(r,s,a,c){r=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(a,c),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(a,c),s.state!==r&&Ya.enqueueReplaceState(s,s.state,null)}function _c(r,s,a,c){var f=r.stateNode;f.props=a,f.state=r.memoizedState,f.refs={},uc(r);var p=s.contextType;typeof p=="object"&&p!==null?f.context=Zt(p):(p=Ot(s)?Kr:wt.current,f.context=Hs(r,p)),f.state=r.memoizedState,p=s.getDerivedStateFromProps,typeof p=="function"&&(Sc(r,s,p,a),f.state=r.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(s=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),s!==f.state&&Ya.enqueueReplaceState(f,f.state,null),$a(r,a,f,c),f.state=r.memoizedState),typeof f.componentDidMount=="function"&&(r.flags|=4194308)}function Js(r,s){try{var a="",c=s;do a+=de(c),c=c.return;while(c);var f=a}catch(p){f=` 39Error generating stack: `+p.message+` 40`+p.stack}return{value:r,source:s,stack:f,digest:null}}function Ec(r,s,a){return{value:r,source:null,stack:a??null,digest:s??null}}function kc(r,s){try{console.error(s.value)}catch(a){setTimeout(function(){throw a})}}var lS=typeof WeakMap=="function"?WeakMap:Map;
vendor: 24,588 bytes, line 40
40function Om(r,s,a){a=Hn(-1,a),a.tag=3,a.payload={element:null};var c=s.value;return a.callback=function(){rl||(rl=!0,Bc=c),kc(r,s)},a}function jm(r,s,a){a=Hn(-1,a),a.tag=3;var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var f=s.value;a.payload=function(){return c(f)},a.callback=function(){kc(r,s)}}var p=r.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(a.callback=function(){kc(r,s),typeof c!="function"&&(yr===null?yr=new Set([this]):yr.add(this));var v=s.stack;this.componentDidCatch(s.value,{componentStack:v!==null?v:""})}),a}function Dm(r,s,a){var c=r.pingCache;if(c===null){c=r.pingCache=new lS;var f=new Set;c.set(s,f)}else f=c.get(s),f===void 0&&(f=new Set,c.set(s,f));f.has(a)||(f.add(a),r=SS.bind(null,r,s,a),s.then(r,r))}function Lm(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 Mm(r,s,a,c,f){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=Hn(-1,1),s.tag=2,mr(a,s,1))),a.lanes|=1),r):(r.flags|=65536,r.lanes=f,r)}var uS=D.ReactCurrentOwner,jt=!1;function Pt(r,s,a,c){s.child=r===null?nm(s,null,a,c):Qs(s,r.child,a,c)}function Im(r,s,a,c,f){a=a.render;var p=s.ref;return Ys(s,f),c=gc(r,s,a,c,p,f),a=yc(),r!==null&&!jt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~f,Wn(r,s,f)):($e&&a&&Zu(s),s.flags|=1,Pt(r,s,c,f),s.child)}function Fm(r,s,a,c,f){if(r===null){var p=a.type;return typeof p=="function"&&!Kc(p)&&p.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(s.tag=15,s.type=p,Um(r,s,p,c,f)):(r=ul(a.type,null,c,s,s.mode,f),r.ref=s.ref,r.return=s,s.child=r)}if(p=r.child,(r.lanes&f)===0){var v=p.memoizedProps;if(a=a.compare,a=a!==null?a:Yi,a(v,c)&&r.ref===s.ref)return Wn(r,s,f)}return s.flags|=1,r=br(p,c),r.ref=s.ref,r.return=s,s.child=r}function Um(r,s,a,c,f){if(r!==null){var p=r.memoizedProps;if(Yi(p,c)&&r.ref===s.ref)if(jt=!1,s.pendingProps=c=p,(r.lanes&f)!==0)(r.flags&131072)!==0&&(jt=!0);else return s.lanes=r.lanes,Wn(r,s,f)}return Cc(r,s,a,c,f)}function Bm(r,s,a){var c=s.pendingProps,f=c.children,p=r!==null?r.memoizedState:null;if(c.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ue(ei,Wt),Wt|=a;else{if((a&1073741824)===0)return r=p!==null?p.baseLanes|a:a,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:r,cachePool:null,transitions:null},s.updateQueue=null,Ue(ei,Wt),Wt|=r,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=p!==null?p.baseLanes:a,Ue(ei,Wt),Wt|=c}else p!==null?(c=p.baseLanes|a,s.memoizedState=null):c=a,Ue(ei,Wt),Wt|=c;return Pt(r,s,f,a),s.child}function Vm(r,s){var a=s.ref;(r===null&&a!==null||r!==null&&r.ref!==a)&&(s.flags|=512,s.flags|=2097152)}function Cc(r,s,a,c,f){var p=Ot(a)?Kr:wt.current;return p=Hs(s,p),Ys(s,f),a=gc(r,s,a,c,p,f),c=yc(),r!==null&&!jt?(s.updateQueue=r.updateQueue,s.flags&=-2053,r.lanes&=~f,Wn(r,s,f)):($e&&c&&Zu(s),s.flags|=1,Pt(r,s,a,f),s.child)}function zm(r,s,a,c,f){if(Ot(a)){var p=!0;Da(s)}else p=!1;if(Ys(s,f),s.stateNode===null)Ja(r,s),Am(s,a,c),_c(s,a,c,f),c=!0;else if(r===null){var v=s.stateNode,_=s.memoizedProps;v.props=_;var C=v.context,F=a.contextType;typeof F=="object"&&F!==null?F=Zt(F):(F=Ot(a)?Kr:wt.current,F=Hs(s,F));var W=a.getDerivedStateFromProps,q=typeof W=="function"||typeof v.getSnapshotBeforeUpdate=="function";q||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_!==c||C!==F)&&Nm(s,v,c,F),pr=!1;var H=s.memoizedState;v.state=H,$a(s,c,v,f),C=s.memoizedState,_!==c||H!==C||Nt.current||pr?(typeof W=="function"&&(Sc(s,a,W,c),C=s.memoizedState),(_=pr||Rm(s,a,_,c,H,C,F))?(q||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(s.flags|=4194308)):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=c,s.memoizedState=C),v.props=c,v.state=C,v.context=F,c=_):(typeof v.componentDidMount=="function"&&(s.flags|=4194308),c=!1)}else{v=s.stateNode,sm(r,s),_=s.memoizedProps,F=s.type===s.elementType?_:yn(s.type,_),v.props=F,q=s.pendingProps,H=v.context,C=a.contextType,typeof C=="object"&&C!==null?C=Zt(C):(C=Ot(a)?Kr:wt.current,C=Hs(s,C));var X=a.getDerivedStateFromProps;(W=typeof X=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_!==q||H!==C)&&Nm(s,v,c,C),pr=!1,H=s.memoizedState,v.state=H,$a(s,c,v,f);var ne=s.memoizedState;_!==q||H!==ne||Nt.current||pr?(typeof X=="function"&&(Sc(s,a,X,c),ne=s.memoizedState),(F=pr||Rm(s,a,F,c,H,ne,C)||!1)?(W||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(c,ne,C),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(c,ne,C)),typeof v.componentDidUpdate=="function"&&(s.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof v.componentDidUpdate!="function"||_===r.memoizedProps&&H===r.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||_===r.memoizedProps&&H===r.memoizedState||(s.flags|=1024),s.memoizedProps=c,s.memoizedState=ne),v.props=c,v.state=ne,v.context=C,c=F):(typeof v.componentDidUpdate!="function"||_===r.memoizedProps&&H===r.memoizedState||(s.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||_===r.memoizedProps&&H===r.memoizedState||(s.flags|=1024),c=!1)}return Tc(r,s,a,c,p,f)}function Tc(r,s,a,c,f,p){Vm(r,s);var v=(s.flags&128)!==0;if(!c&&!v)return f&&Kp(s,a,!1),Wn(r,s,p);c=s.stateNode,uS.current=s;var _=v&&typeof a.getDerivedStateFromError!="function"?null:c.render();return s.flags|=1,r!==null&&v?(s.child=Qs(s,r.child,null,p),s.child=Qs(s,null,_,p)):Pt(r,s,_,p),s.memoizedState=c.state,f&&Kp(s,a,!0),s.child}function $m(r){var s=r.stateNode;s.pendingContext?Wp(r,s.pendingContext,s.pendingContext!==s.context):s.context&&Wp(r,s.context,!1),cc(r,s.containerInfo)}function Hm(r,s,a,c,f){return Ks(),rc(f),s.flags|=256,Pt(r,s,a,c),s.child}var Pc={dehydrated:null,treeContext:null,retryLane:0};function Rc(r){return{baseLanes:r,cachePool:null,transitions:null}}function Wm(r,s,a){var c=s.pendingProps,f=He.current,p=!1,v=(s.flags&128)!==0,_;if((_=v)||(_=r!==null&&r.memoizedState===null?!1:(f&2)!==0),_?(p=!0,s.flags&=-129):(r===null||r.memoizedState!==null)&&(f|=1),Ue(He,f&1),r===null)return nc(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):(v=c.children,r=c.fallback,p?(c=s.mode,p=s.child,v={mode:"hidden",children:v},(c&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=v):p=cl(v,c,0,null),r=rs(r,c,a,null),p.return=s,r.return=s,p.sibling=r,s.child=p,s.child.memoizedState=Rc(a),s.memoizedState=Pc,r):Ac(s,v));if(f=r.memoizedState,f!==null&&(_=f.dehydrated,_!==null))return cS(r,s,v,c,_,f,a);if(p){p=c.fallback,v=s.mode,f=r.child,_=f.sibling;var C={mode:"hidden",children:c.children};return(v&1)===0&&s.child!==f?(c=s.child,c.childLanes=0,c.pendingProps=C,s.deletions=null):(c=br(f,C),c.subtreeFlags=f.subtreeFlags&14680064),_!==null?p=br(_,p):(p=rs(p,v,a,null),p.flags|=2),p.return=s,c.return=s,c.sibling=p,s.child=c,c=p,p=s.child,v=r.child.memoizedState,v=v===null?Rc(a):{baseLanes:v.baseLanes|a,cachePool:null,transitions:v.transitions},p.memoizedState=v,p.childLanes=r.childLanes&~a,s.memoizedState=Pc,c}return p=r.child,r=p.sibling,c=br(p,{mode:"visible",children:c.children}),(s.mode&1)===0&&(c.lanes=a),c.return=s,c.sibling=null,r!==null&&(a=s.deletions,a===null?(s.deletions=[r],s.flags|=16):a.push(r)),s.child=c,s.memoizedState=null,c}function Ac(r,s){return s=cl({mode:"visible",children:s},r.mode,0,null),s.return=r,r.child=s}function Xa(r,s,a,c){return c!==null&&rc(c),Qs(s,r.child,null,a),r=Ac(s,s.pendingProps.children),r.flags|=2,s.memoizedState=null,r}function cS(r,s,a,c,f,p,v){if(a)return s.flags&256?(s.flags&=-257,c=Ec(Error(n(422))),Xa(r,s,v,c)):s.memoizedState!==null?(s.child=r.child,s.flags|=128,null):(p=c.fallback,f=s.mode,c=cl({mode:"visible",children:c.children},f,0,null),p=rs(p,f,v,null),p.flags|=2,c.return=s,p.return=s,c.sibling=p,s.child=c,(s.mode&1)!==0&&Qs(s,r.child,null,v),s.child.memoizedState=Rc(v),s.memoizedState=Pc,p);if((s.mode&1)===0)return Xa(r,s,v,null);if(f.data==="$!"){if(c=f.nextSibling&&f.nextSibling.dataset,c)var _=c.dgst;return c=_,p=Error(n(419)),c=Ec(p,c,void 0),Xa(r,s,v,c)}if(_=(v&r.childLanes)!==0,jt||_){if(c=lt,c!==null){switch(v&-v){case 4:f=2;break;case 16:f=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:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(c.suspendedLanes|v))!==0?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,$n(r,f),xn(c,r,f,-1))}return qc(),c=Ec(Error(n(421))),Xa(r,s,v,c)}return f.data==="$?"?(s.flags|=128,s.child=r.child,s=_S.bind(null,r),f._reactRetry=s,null):(r=p.treeContext,Ht=cr(f.nextSibling),$t=s,$e=!0,gn=null,r!==null&&(Xt[Jt++]=Vn,Xt[Jt++]=zn,Xt[Jt++]=Qr,Vn=r.id,zn=r.overflow,Qr=s),s=Ac(s,c.children),s.flags|=4096,s)}function qm(r,s,a){r.lanes|=s;var c=r.alternate;c!==null&&(c.lanes|=s),ac(r.return,s,a)}function Nc(r,s,a,c,f){var p=r.memoizedState;p===null?r.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:c,tail:a,tailMode:f}:(p.isBackwards=s,p.rendering=null,p.renderingStartTime=0,p.last=c,p.tail=a,p.tailMode=f)}function Km(r,s,a){var c=s.pendingProps,f=c.revealOrder,p=c.tail;if(Pt(r,s,c.children,a),c=He.current,(c&2)!==0)c=c&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&&qm(r,a,s);else if(r.tag===19)qm(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}c&=1}if(Ue(He,c),(s.mode&1)===0)s.memoizedState=null;else switch(f){case"forwards":for(a=s.child,f=null;a!==null;)r=a.alternate,r!==null&&Ha(r)===null&&(f=a),a=a.sibling;a=f,a===null?(f=s.child,s.child=null):(f=a.sibling,a.sibling=null),Nc(s,!1,f,a,p);break;case"backwards":for(a=null,f=s.child,s.child=null;f!==null;){if(r=f.alternate,r!==null&&Ha(r)===null){s.child=f;break}r=f.sibling,f.sibling=a,a=f,f=r}Nc(s,!0,a,null,p);break;case"together":Nc(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Ja(r,s){(s.mode&1)===0&&r!==null&&(r.alternate=null,s.alternate=null,s.flags|=2)}function Wn(r,s,a){if(r!==null&&(s.dependencies=r.dependencies),Zr|=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=br(r,r.pendingProps),s.child=a,a.return=s;r.sibling!==null;)r=r.sibling,a=a.sibling=br(r,r.pendingProps),a.return=s;a.sibling=null}return s.child}function dS(r,s,a){switch(s.tag){case 3:$m(s),Ks();break;case 5:am(s);break;case 1:Ot(s.type)&&Da(s);break;case 4:cc(s,s.stateNode.containerInfo);break;case 10:var c=s.type._context,f=s.memoizedProps.value;Ue(Ba,c._currentValue),c._currentValue=f;break;case 13:if(c=s.memoizedState,c!==null)return c.dehydrated!==null?(Ue(He,He.current&1),s.flags|=128,null):(a&s.child.childLanes)!==0?Wm(r,s,a):(Ue(He,He.current&1),r=Wn(r,s,a),r!==null?r.sibling:null);Ue(He,He.current&1);break;case 19:if(c=(a&s.childLanes)!==0,(r.flags&128)!==0){if(c)return Km(r,s,a);s.flags|=128}if(f=s.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Ue(He,He.current),c)break;return null;case 22:case 23:return s.lanes=0,Bm(r,s,a)}return Wn(r,s,a)}var Qm,Oc,Gm,Ym;Qm=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}},Oc=function(){},Gm=function(r,s,a,c){var f=r.memoizedProps;if(f!==c){r=s.stateNode,Xr(Pn.current);var p=null;switch(a){case"input":f=Gt(r,f),c=Gt(r,c),p=[];break;case"select":f=V({},f,{value:void 0}),c=V({},c,{value:void 0}),p=[];break;case"textarea":f=Fn(r,f),c=Fn(r,c),p=[];break;default:typeof f.onClick!="function"&&typeof c.onClick=="function"&&(r.onclick=Na)}fu(a,c);var v;a=null;for(F in f)if(!c.hasOwnProperty(F)&&f.hasOwnProperty(F)&&f[F]!=null)if(F==="style"){var _=f[F];for(v in _)_.hasOwnProperty(v)&&(a||(a={}),a[v]="")}else F!=="dangerouslySetInnerHTML"&&F!=="children"&&F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&F!=="autoFocus"&&(o.hasOwnProperty(F)?p||(p=[]):(p=p||[]).push(F,null));for(F in c){var C=c[F];if(_=f!=null?f[F]:void 0,c.hasOwnProperty(F)&&C!==_&&(C!=null||_!=null))if(F==="style")if(_){for(v in _)!_.hasOwnProperty(v)||C&&C.hasOwnProperty(v)||(a||(a={}),a[v]="");for(v in C)C.hasOwnProperty(v)&&_[v]!==C[v]&&(a||(a={}),a[v]=C[v])}else a||(p||(p=[]),p.push(F,a)),a=C;else F==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,_=_?_.__html:void 0,C!=null&&_!==C&&(p=p||[]).push(F,C)):F==="children"?typeof C!="string"&&typeof C!="number"||(p=p||[]).push(F,""+C):F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&(o.hasOwnProperty(F)?(C!=null&&F==="onScroll"&&Be("scroll",r),p||_===C||(p=[])):(p=p||[]).push(F,C))}a&&(p=p||[]).push("style",a);var F=p;(s.updateQueue=F)&&(s.flags|=4)}},Ym=function(r,s,a,c){a!==c&&(s.flags|=4)};function fo(r,s){if(!$e)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 c=null;a!==null;)a.alternate!==null&&(c=a),a=a.sibling;c===null?s||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function bt(r){var s=r.alternate!==null&&r.alternate.child===r.child,a=0,c=0;if(s)for(var f=r.child;f!==null;)a|=f.lanes|f.childLanes,c|=f.subtreeFlags&14680064,c|=f.flags&14680064,f.return=r,f=f.sibling;else for(f=r.child;f!==null;)a|=f.lanes|f.childLanes,c|=f.subtreeFlags,c|=f.flags,f.return=r,f=f.sibling;return r.subtreeFlags|=c,r.childLanes=a,s}function fS(r,s,a){var c=s.pendingProps;switch(ec(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bt(s),null;case 1:return Ot(s.type)&&ja(),bt(s),null;case 3:return c=s.stateNode,Xs(),Ve(Nt),Ve(wt),hc(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(r===null||r.child===null)&&(Fa(s)?s.flags|=4:r===null||r.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,gn!==null&&($c(gn),gn=null))),Oc(r,s),bt(s),null;case 5:dc(s);var f=Xr(oo.current);if(a=s.type,r!==null&&s.stateNode!=null)Gm(r,s,a,c,f),r.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!c){if(s.stateNode===null)throw Error(n(166));return bt(s),null}if(r=Xr(Pn.current),Fa(s)){c=s.stateNode,a=s.type;var p=s.memoizedProps;switch(c[Tn]=s,c[to]=p,r=(s.mode&1)!==0,a){case"dialog":Be("cancel",c),Be("close",c);break;case"iframe":case"object":case"embed":Be("load",c);break;case"video":case"audio":for(f=0;f<Ji.length;f++)Be(Ji[f],c);break;case"source":Be("error",c);break;case"img":case"image":case"link":Be("error",c),Be("load",c);break;case"details":Be("toggle",c);break;case"input":Yt(c,p),Be("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!p.multiple},Be("invalid",c);break;case"textarea":jh(c,p),Be("invalid",c)}fu(a,p),f=null;for(var v in p)if(p.hasOwnProperty(v)){var _=p[v];v==="children"?typeof _=="string"?c.textContent!==_&&(p.suppressHydrationWarning!==!0&&Aa(c.textContent,_,r),f=["children",_]):typeof _=="number"&&c.textContent!==""+_&&(p.suppressHydrationWarning!==!0&&Aa(c.textContent,_,r),f=["children",""+_]):o.hasOwnProperty(v)&&_!=null&&v==="onScroll"&&Be("scroll",c)}switch(a){case"input":Qt(c),fn(c,p,!0);break;case"textarea":Qt(c),Lh(c);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(c.onclick=Na)}c=f,s.updateQueue=c,c!==null&&(s.flags|=4)}else{v=f.nodeType===9?f:f.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=Mh(a)),r==="http://www.w3.org/1999/xhtml"?a==="script"?(r=v.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof c.is=="string"?r=v.createElement(a,{is:c.is}):(r=v.createElement(a),a==="select"&&(v=r,c.multiple?v.multiple=!0:c.size&&(v.size=c.size))):r=v.createElementNS(r,a),r[Tn]=s,r[to]=c,Qm(r,s,!1,!1),s.stateNode=r;e:{switch(v=hu(a,c),a){case"dialog":Be("cancel",r),Be("close",r),f=c;break;case"iframe":case"object":case"embed":Be("load",r),f=c;break;case"video":case"audio":for(f=0;f<Ji.length;f++)Be(Ji[f],r);f=c;break;case"source":Be("error",r),f=c;break;case"img":case"image":case"link":Be("error",r),Be("load",r),f=c;break;case"details":Be("toggle",r),f=c;break;case"input":Yt(r,c),f=Gt(r,c),Be("invalid",r);break;case"option":f=c;break;case"select":r._wrapperState={wasMultiple:!!c.multiple},f=V({},c,{value:void 0}),Be("invalid",r);break;case"textarea":jh(r,c),f=Fn(r,c),Be("invalid",r);break;default:f=c}fu(a,f),_=f;for(p in _)if(_.hasOwnProperty(p)){var C=_[p];p==="style"?Uh(r,C):p==="dangerouslySetInnerHTML"?(C=C?C.__html:void 0,C!=null&&Ih(r,C)):p==="children"?typeof C=="string"?(a!=="textarea"||C!=="")&&ji(r,C):typeof C=="number"&&ji(r,""+C):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(o.hasOwnProperty(p)?C!=null&&p==="onScroll"&&Be("scroll",r):C!=null&&T(r,p,C,v))}switch(a){case"input":Qt(r),fn(r,c,!1);break;case"textarea":Qt(r),Lh(r);break;case"option":c.value!=null&&r.setAttribute("value",""+Ce(c.value));break;case"select":r.multiple=!!c.multiple,p=c.value,p!=null?rr(r,!!c.multiple,p,!1):c.defaultValue!=null&&rr(r,!!c.multiple,c.defaultValue,!0);break;default:typeof f.onClick=="function"&&(r.onclick=Na)}switch(a){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return bt(s),null;case 6:if(r&&s.stateNode!=null)Ym(r,s,r.memoizedProps,c);else{if(typeof c!="string"&&s.stateNode===null)throw Error(n(166));if(a=Xr(oo.current),Xr(Pn.current),Fa(s)){if(c=s.stateNode,a=s.memoizedProps,c[Tn]=s,(p=c.nodeValue!==a)&&(r=$t,r!==null))switch(r.tag){case 3:Aa(c.nodeValue,a,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Aa(c.nodeValue,a,(r.mode&1)!==0)}p&&(s.flags|=4)}else c=(a.nodeType===9?a:a.ownerDocument).createTextNode(c),c[Tn]=s,s.stateNode=c}return bt(s),null;case 13:if(Ve(He),c=s.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if($e&&Ht!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Zp(),Ks(),s.flags|=98560,p=!1;else if(p=Fa(s),c!==null&&c.dehydrated!==null){if(r===null){if(!p)throw Error(n(318));if(p=s.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(n(317));p[Tn]=s}else Ks(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;bt(s),p=!1}else gn!==null&&($c(gn),gn=null),p=!0;if(!p)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=a,s):(c=c!==null,c!==(r!==null&&r.memoizedState!==null)&&c&&(s.child.flags|=8192,(s.mode&1)!==0&&(r===null||(He.current&1)!==0?st===0&&(st=3):qc())),s.updateQueue!==null&&(s.flags|=4),bt(s),null);case 4:return Xs(),Oc(r,s),r===null&&Zi(s.stateNode.containerInfo),bt(s),null;case 10:return oc(s.type._context),bt(s),null;case 17:return Ot(s.type)&&ja(),bt(s),null;case 19:if(Ve(He),p=s.memoizedState,p===null)return bt(s),null;if(c=(s.flags&128)!==0,v=p.rendering,v===null)if(c)fo(p,!1);else{if(st!==0||r!==null&&(r.flags&128)!==0)for(r=s.child;r!==null;){if(v=Ha(r),v!==null){for(s.flags|=128,fo(p,!1),c=v.updateQueue,c!==null&&(s.updateQueue=c,s.flags|=4),s.subtreeFlags=0,c=a,a=s.child;a!==null;)p=a,r=c,p.flags&=14680066,v=p.alternate,v===null?(p.childLanes=0,p.lanes=r,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=v.childLanes,p.lanes=v.lanes,p.child=v.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=v.memoizedProps,p.memoizedState=v.memoizedState,p.updateQueue=v.updateQueue,p.type=v.type,r=v.dependencies,p.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),a=a.sibling;return Ue(He,He.current&1|2),s.child}r=r.sibling}p.tail!==null&&Ye()>ti&&(s.flags|=128,c=!0,fo(p,!1),s.lanes=4194304)}else{if(!c)if(r=Ha(v),r!==null){if(s.flags|=128,c=!0,a=r.updateQueue,a!==null&&(s.updateQueue=a,s.flags|=4),fo(p,!0),p.tail===null&&p.tailMode==="hidden"&&!v.alternate&&!$e)return bt(s),null}else 2*Ye()-p.renderingStartTime>ti&&a!==1073741824&&(s.flags|=128,c=!0,fo(p,!1),s.lanes=4194304);p.isBackwards?(v.sibling=s.child,s.child=v):(a=p.last,a!==null?a.sibling=v:s.child=v,p.last=v)}return p.tail!==null?(s=p.tail,p.rendering=s,p.tail=s.sibling,p.renderingStartTime=Ye(),s.sibling=null,a=He.current,Ue(He,c?a&1|2:a&1),s):(bt(s),null);case 22:case 23:return Wc(),c=s.memoizedState!==null,r!==null&&r.memoizedState!==null!==c&&(s.flags|=8192),c&&(s.mode&1)!==0?(Wt&1073741824)!==0&&(bt(s),s.subtreeFlags&6&&(s.flags|=8192)):bt(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function hS(r,s){switch(ec(s),s.tag){case 1:return Ot(s.type)&&ja(),r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 3:return Xs(),Ve(Nt),Ve(wt),hc(),r=s.flags,(r&65536)!==0&&(r&128)===0?(s.flags=r&-65537|128,s):null;case 5:return dc(s),null;case 13:if(Ve(He),r=s.memoizedState,r!==null&&r.dehydrated!==null){if(s.alternate===null)throw Error(n(340));Ks()}return r=s.flags,r&65536?(s.flags=r&-65537|128,s):null;case 19:return Ve(He),null;case 4:return Xs(),null;case 10:return oc(s.type._context),null;case 22:case 23:return Wc(),null;case 24:return null;default:return null}}var Za=!1,St=!1,pS=typeof WeakSet=="function"?WeakSet:Set,ee=null;function Zs(r,s){var a=r.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(c){Ke(r,s,c)}else a.current=null}function jc(r,s,a){try{a()}catch(c){Ke(r,s,c)}}var Xm=!1;function mS(r,s){if(Wu=wa,r=Rp(),Iu(r)){if("selectionStart"in r)var a={start:r.selectionStart,end:r.selectionEnd};else e:{a=(a=r.ownerDocument)&&a.defaultView||window;var c=a.getSelection&&a.getSelection();if(c&&c.rangeCount!==0){a=c.anchorNode;var f=c.anchorOffset,p=c.focusNode;c=c.focusOffset;try{a.nodeType,p.nodeType}catch{a=null;break e}var v=0,_=-1,C=-1,F=0,W=0,q=r,H=null;t:for(;;){for(var X;q!==a||f!==0&&q.nodeType!==3||(_=v+f),q!==p||c!==0&&q.nodeType!==3||(C=v+c),q.nodeType===3&&(v+=q.nodeValue.length),(X=q.firstChild)!==null;)H=q,q=X;for(;;){if(q===r)break t;if(H===a&&++F===f&&(_=v),H===p&&++W===c&&(C=v),(X=q.nextSibling)!==null)break;q=H,H=q.parentNode}q=X}a=_===-1||C===-1?null:{start:_,end:C}}else a=null}a=a||{start:0,end:0}}else a=null;for(qu={focusedElem:r,selectionRange:a},wa=!1,ee=s;ee!==null;)if(s=ee,r=s.child,(s.subtreeFlags&1028)!==0&&r!==null)r.return=s,ee=r;else for(;ee!==null;){s=ee;try{var ne=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(ne!==null){var ie=ne.memoizedProps,Xe=ne.memoizedState,L=s.stateNode,N=L.getSnapshotBeforeUpdate(s.elementType===s.type?ie:yn(s.type,ie),Xe);L.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var M=s.stateNode.containerInfo;M.nodeType===1?M.textContent="":M.nodeType===9&&M.documentElement&&M.removeChild(M.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(K){Ke(s,s.return,K)}if(r=s.sibling,r!==null){r.return=s.return,ee=r;break}ee=s.return}return ne=Xm,Xm=!1,ne}function ho(r,s,a){var c=s.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&r)===r){var p=f.destroy;f.destroy=void 0,p!==void 0&&jc(s,a,p)}f=f.next}while(f!==c)}}function el(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 c=a.create;a.destroy=c()}a=a.next}while(a!==s)}}function Dc(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 Jm(r){var s=r.alternate;s!==null&&(r.alternate=null,Jm(s)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(s=r.stateNode,s!==null&&(delete s[Tn],delete s[to],delete s[Yu],delete s[Xb],delete s[Jb])),r.stateNode=null,r.return=null,r.depen
vendor: 1,561 bytes, line 40
40dencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Zm(r){return r.tag===5||r.tag===3||r.tag===4}function eg(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Zm(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 Lc(r,s,a){var c=r.tag;if(c===5||c===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=Na));else if(c!==4&&(r=r.child,r!==null))for(Lc(r,s,a),r=r.sibling;r!==null;)Lc(r,s,a),r=r.sibling}function Mc(r,s,a){var c=r.tag;if(c===5||c===6)r=r.stateNode,s?a.insertBefore(r,s):a.appendChild(r);else if(c!==4&&(r=r.child,r!==null))for(Mc(r,s,a),r=r.sibling;r!==null;)Mc(r,s,a),r=r.sibling}var ht=null,vn=!1;function gr(r,s,a){for(a=a.child;a!==null;)tg(r,s,a),a=a.sibling}function tg(r,s,a){if(Cn&&typeof Cn.onCommitFiberUnmount=="function")try{Cn.onCommitFiberUnmount(ha,a)}catch{}switch(a.tag){case 5:St||Zs(a,s);case 6:var c=ht,f=vn;ht=null,gr(r,s,a),ht=c,vn=f,ht!==null&&(vn?(r=ht,a=a.stateNode,r.nodeType===8?r.parentNode.removeChild(a):r.removeChild(a)):ht.removeChild(a.stateNode));break;case 18:ht!==null&&(vn?(r=ht,a=a.stateNode,r.nodeType===8?Gu(r.parentNode,a):r.nodeType===1&&Gu(r,a),Hi(r)):Gu(ht,a.stateNode));break;
vendor: 15,440 bytes, line 40
40case 4:c=ht,f=vn,ht=a.stateNode.containerInfo,vn=!0,gr(r,s,a),ht=c,vn=f;break;case 0:case 11:case 14:case 15:if(!St&&(c=a.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){f=c=c.next;do{var p=f,v=p.destroy;p=p.tag,v!==void 0&&((p&2)!==0||(p&4)!==0)&&jc(a,s,v),f=f.next}while(f!==c)}gr(r,s,a);break;case 1:if(!St&&(Zs(a,s),c=a.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=a.memoizedProps,c.state=a.memoizedState,c.componentWillUnmount()}catch(_){Ke(a,s,_)}gr(r,s,a);break;case 21:gr(r,s,a);break;case 22:a.mode&1?(St=(c=St)||a.memoizedState!==null,gr(r,s,a),St=c):gr(r,s,a);break;default:gr(r,s,a)}}function ng(r){var s=r.updateQueue;if(s!==null){r.updateQueue=null;var a=r.stateNode;a===null&&(a=r.stateNode=new pS),s.forEach(function(c){var f=ES.bind(null,r,c);a.has(c)||(a.add(c),c.then(f,f))})}}function wn(r,s){var a=s.deletions;if(a!==null)for(var c=0;c<a.length;c++){var f=a[c];try{var p=r,v=s,_=v;e:for(;_!==null;){switch(_.tag){case 5:ht=_.stateNode,vn=!1;break e;case 3:ht=_.stateNode.containerInfo,vn=!0;break e;case 4:ht=_.stateNode.containerInfo,vn=!0;break e}_=_.return}if(ht===null)throw Error(n(160));tg(p,v,f),ht=null,vn=!1;var C=f.alternate;C!==null&&(C.return=null),f.return=null}catch(F){Ke(f,s,F)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)rg(s,r),s=s.sibling}function rg(r,s){var a=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(wn(s,r),An(r),c&4){try{ho(3,r,r.return),el(3,r)}catch(ie){Ke(r,r.return,ie)}try{ho(5,r,r.return)}catch(ie){Ke(r,r.return,ie)}}break;case 1:wn(s,r),An(r),c&512&&a!==null&&Zs(a,a.return);break;case 5:if(wn(s,r),An(r),c&512&&a!==null&&Zs(a,a.return),r.flags&32){var f=r.stateNode;try{ji(f,"")}catch(ie){Ke(r,r.return,ie)}}if(c&4&&(f=r.stateNode,f!=null)){var p=r.memoizedProps,v=a!==null?a.memoizedProps:p,_=r.type,C=r.updateQueue;if(r.updateQueue=null,C!==null)try{_==="input"&&p.type==="radio"&&p.name!=null&&xe(f,p),hu(_,v);var F=hu(_,p);for(v=0;v<C.length;v+=2){var W=C[v],q=C[v+1];W==="style"?Uh(f,q):W==="dangerouslySetInnerHTML"?Ih(f,q):W==="children"?ji(f,q):T(f,W,q,F)}switch(_){case"input":ft(f,p);break;case"textarea":Dh(f,p);break;case"select":var H=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var X=p.value;X!=null?rr(f,!!p.multiple,X,!1):H!==!!p.multiple&&(p.defaultValue!=null?rr(f,!!p.multiple,p.defaultValue,!0):rr(f,!!p.multiple,p.multiple?[]:"",!1))}f[to]=p}catch(ie){Ke(r,r.return,ie)}}break;case 6:if(wn(s,r),An(r),c&4){if(r.stateNode===null)throw Error(n(162));f=r.stateNode,p=r.memoizedProps;try{f.nodeValue=p}catch(ie){Ke(r,r.return,ie)}}break;case 3:if(wn(s,r),An(r),c&4&&a!==null&&a.memoizedState.isDehydrated)try{Hi(s.containerInfo)}catch(ie){Ke(r,r.return,ie)}break;case 4:wn(s,r),An(r);break;case 13:wn(s,r),An(r),f=r.child,f.flags&8192&&(p=f.memoizedState!==null,f.stateNode.isHidden=p,!p||f.alternate!==null&&f.alternate.memoizedState!==null||(Uc=Ye())),c&4&&ng(r);break;case 22:if(W=a!==null&&a.memoizedState!==null,r.mode&1?(St=(F=St)||W,wn(s,r),St=F):wn(s,r),An(r),c&8192){if(F=r.memoizedState!==null,(r.stateNode.isHidden=F)&&!W&&(r.mode&1)!==0)for(ee=r,W=r.child;W!==null;){for(q=ee=W;ee!==null;){switch(H=ee,X=H.child,H.tag){case 0:case 11:case 14:case 15:ho(4,H,H.return);break;case 1:Zs(H,H.return);var ne=H.stateNode;if(typeof ne.componentWillUnmount=="function"){c=H,a=H.return;try{s=c,ne.props=s.memoizedProps,ne.state=s.memoizedState,ne.componentWillUnmount()}catch(ie){Ke(c,a,ie)}}break;case 5:Zs(H,H.return);break;case 22:if(H.memoizedState!==null){og(q);continue}}X!==null?(X.return=H,ee=X):og(q)}W=W.sibling}e:for(W=null,q=r;;){if(q.tag===5){if(W===null){W=q;try{f=q.stateNode,F?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(_=q.stateNode,C=q.memoizedProps.style,v=C!=null&&C.hasOwnProperty("display")?C.display:null,_.style.display=Fh("display",v))}catch(ie){Ke(r,r.return,ie)}}}else if(q.tag===6){if(W===null)try{q.stateNode.nodeValue=F?"":q.memoizedProps}catch(ie){Ke(r,r.return,ie)}}else if((q.tag!==22&&q.tag!==23||q.memoizedState===null||q===r)&&q.child!==null){q.child.return=q,q=q.child;continue}if(q===r)break e;for(;q.sibling===null;){if(q.return===null||q.return===r)break e;W===q&&(W=null),q=q.return}W===q&&(W=null),q.sibling.return=q.return,q=q.sibling}}break;case 19:wn(s,r),An(r),c&4&&ng(r);break;case 21:break;default:wn(s,r),An(r)}}function An(r){var s=r.flags;if(s&2){try{e:{for(var a=r.return;a!==null;){if(Zm(a)){var c=a;break e}a=a.return}throw Error(n(160))}switch(c.tag){case 5:var f=c.stateNode;c.flags&32&&(ji(f,""),c.flags&=-33);var p=eg(r);Mc(r,p,f);break;case 3:case 4:var v=c.stateNode.containerInfo,_=eg(r);Lc(r,_,v);break;default:throw Error(n(161))}}catch(C){Ke(r,r.return,C)}r.flags&=-3}s&4096&&(r.flags&=-4097)}function gS(r,s,a){ee=r,sg(r)}function sg(r,s,a){for(var c=(r.mode&1)!==0;ee!==null;){var f=ee,p=f.child;if(f.tag===22&&c){var v=f.memoizedState!==null||Za;if(!v){var _=f.alternate,C=_!==null&&_.memoizedState!==null||St;_=Za;var F=St;if(Za=v,(St=C)&&!F)for(ee=f;ee!==null;)v=ee,C=v.child,v.tag===22&&v.memoizedState!==null?ag(f):C!==null?(C.return=v,ee=C):ag(f);for(;p!==null;)ee=p,sg(p),p=p.sibling;ee=f,Za=_,St=F}ig(r)}else(f.subtreeFlags&8772)!==0&&p!==null?(p.return=f,ee=p):ig(r)}}function ig(r){for(;ee!==null;){var s=ee;if((s.flags&8772)!==0){var a=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:St||el(5,s);break;case 1:var c=s.stateNode;if(s.flags&4&&!St)if(a===null)c.componentDidMount();else{var f=s.elementType===s.type?a.memoizedProps:yn(s.type,a.memoizedProps);c.componentDidUpdate(f,a.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var p=s.updateQueue;p!==null&&om(s,p,c);break;case 3:var v=s.updateQueue;if(v!==null){if(a=null,s.child!==null)switch(s.child.tag){case 5:a=s.child.stateNode;break;case 1:a=s.child.stateNode}om(s,v,a)}break;case 5:var _=s.stateNode;if(a===null&&s.flags&4){a=_;var C=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":C.autoFocus&&a.focus();break;case"img":C.src&&(a.src=C.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var F=s.alternate;if(F!==null){var W=F.memoizedState;if(W!==null){var q=W.dehydrated;q!==null&&Hi(q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}St||s.flags&512&&Dc(s)}catch(H){Ke(s,s.return,H)}}if(s===r){ee=null;break}if(a=s.sibling,a!==null){a.return=s.return,ee=a;break}ee=s.return}}function og(r){for(;ee!==null;){var s=ee;if(s===r){ee=null;break}var a=s.sibling;if(a!==null){a.return=s.return,ee=a;break}ee=s.return}}function ag(r){for(;ee!==null;){var s=ee;try{switch(s.tag){case 0:case 11:case 15:var a=s.return;try{el(4,s)}catch(C){Ke(s,a,C)}break;case 1:var c=s.stateNode;if(typeof c.componentDidMount=="function"){var f=s.return;try{c.componentDidMount()}catch(C){Ke(s,f,C)}}var p=s.return;try{Dc(s)}catch(C){Ke(s,p,C)}break;case 5:var v=s.return;try{Dc(s)}catch(C){Ke(s,v,C)}}}catch(C){Ke(s,s.return,C)}if(s===r){ee=null;break}var _=s.sibling;if(_!==null){_.return=s.return,ee=_;break}ee=s.return}}var yS=Math.ceil,tl=D.ReactCurrentDispatcher,Ic=D.ReactCurrentOwner,tn=D.ReactCurrentBatchConfig,Ne=0,lt=null,tt=null,pt=0,Wt=0,ei=dr(0),st=0,po=null,Zr=0,nl=0,Fc=0,mo=null,Dt=null,Uc=0,ti=1/0,qn=null,rl=!1,Bc=null,yr=null,sl=!1,vr=null,il=0,go=0,Vc=null,ol=-1,al=0;function Rt(){return(Ne&6)!==0?Ye():ol!==-1?ol:ol=Ye()}function wr(r){return(r.mode&1)===0?1:(Ne&2)!==0&&pt!==0?pt&-pt:eS.transition!==null?(al===0&&(al=ep()),al):(r=Me,r!==0||(r=window.event,r=r===void 0?16:up(r.type)),r)}function xn(r,s,a,c){if(50<go)throw go=0,Vc=null,Error(n(185));Ui(r,a,c),((Ne&2)===0||r!==lt)&&(r===lt&&((Ne&2)===0&&(nl|=a),st===4&&xr(r,pt)),Lt(r,c),a===1&&Ne===0&&(s.mode&1)===0&&(ti=Ye()+500,La&&hr()))}function Lt(r,s){var a=r.callbackNode;eb(r,s);var c=ga(r,r===lt?pt:0);if(c===0)a!==null&&Xh(a),r.callbackNode=null,r.callbackPriority=0;else if(s=c&-c,r.callbackPriority!==s){if(a!=null&&Xh(a),s===1)r.tag===0?Zb(ug.bind(null,r)):Qp(ug.bind(null,r)),Gb(function(){(Ne&6)===0&&hr()}),a=null;else{switch(tp(c)){case 1:a=xu;break;case 4:a=Jh;break;case 16:a=fa;break;case 536870912:a=Zh;break;default:a=fa}a=yg(a,lg.bind(null,r))}r.callbackPriority=s,r.callbackNode=a}}function lg(r,s){if(ol=-1,al=0,(Ne&6)!==0)throw Error(n(327));var a=r.callbackNode;if(ni()&&r.callbackNode!==a)return null;var c=ga(r,r===lt?pt:0);if(c===0)return null;if((c&30)!==0||(c&r.expiredLanes)!==0||s)s=ll(r,c);else{s=c;var f=Ne;Ne|=2;var p=dg();(lt!==r||pt!==s)&&(qn=null,ti=Ye()+500,ts(r,s));do try{xS();break}catch(_){cg(r,_)}while(!0);ic(),tl.current=p,Ne=f,tt!==null?s=0:(lt=null,pt=0,s=st)}if(s!==0){if(s===2&&(f=bu(r),f!==0&&(c=f,s=zc(r,f))),s===1)throw a=po,ts(r,0),xr(r,c),Lt(r,Ye()),a;if(s===6)xr(r,c);else{if(f=r.current.alternate,(c&30)===0&&!vS(f)&&(s=ll(r,c),s===2&&(p=bu(r),p!==0&&(c=p,s=zc(r,p))),s===1))throw a=po,ts(r,0),xr(r,c),Lt(r,Ye()),a;switch(r.finishedWork=f,r.finishedLanes=c,s){case 0:case 1:throw Error(n(345));case 2:ns(r,Dt,qn);break;case 3:if(xr(r,c),(c&130023424)===c&&(s=Uc+500-Ye(),10<s)){if(ga(r,0)!==0)break;if(f=r.suspendedLanes,(f&c)!==c){Rt(),r.pingedLanes|=r.suspendedLanes&f;break}r.timeoutHandle=Qu(ns.bind(null,r,Dt,qn),s);break}ns(r,Dt,qn);break;case 4:if(xr(r,c),(c&4194240)===c)break;for(s=r.eventTimes,f=-1;0<c;){var v=31-pn(c);p=1<<v,v=s[v],v>f&&(f=v),c&=~p}if(c=f,c=Ye()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*yS(c/1960))-c,10<c){r.timeoutHandle=Qu(ns.bind(null,r,Dt,qn),c);break}ns(r,Dt,qn);break;case 5:ns(r,Dt,qn);break;default:throw Error(n(329))}}}return Lt(r,Ye()),r.callbackNode===a?lg.bind(null,r):null}function zc(r,s){var a=mo;return r.current.memoizedState.isDehydrated&&(ts(r,s).flags|=256),r=ll(r,s),r!==2&&(s=Dt,Dt=a,s!==null&&$c(s)),r}function $c(r){Dt===null?Dt=r:Dt.push.apply(Dt,r)}function vS(r){for(var s=r;;){if(s.flags&16384){var a=s.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var c=0;c<a.length;c++){var f=a[c],p=f.getSnapshot;f=f.value;try{if(!mn(p(),f))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 xr(r,s){for(s&=~Fc,s&=~nl,r.suspendedLanes|=s,r.pingedLanes&=~s,r=r.expirationTimes;0<s;){var a=31-pn(s),c=1<<a;r[a]=-1,s&=~c}}function ug(r){if((Ne&6)!==0)throw Error(n(327));ni();var s=ga(r,0);if((s&1)===0)return Lt(r,Ye()),null;var a=ll(r,s);if(r.tag!==0&&a===2){var c=bu(r);c!==0&&(s=c,a=zc(r,c))}if(a===1)throw a=po,ts(r,0),xr(r,s),Lt(r,Ye()),a;if(a===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=s,ns(r,Dt,qn),Lt(r,Ye()),null}function Hc(r,s){var a=Ne;Ne|=1;try{return r(s)}finally{Ne=a,Ne===0&&(ti=Ye()+500,La&&hr())}}function es(r){vr!==null&&vr.tag===0&&(Ne&6)===0&&ni();var s=Ne;Ne|=1;var a=tn.transition,c=Me;try{if(tn.transition=null,Me=1,r)return r()}finally{Me=c,tn.transition=a,Ne=s,(Ne&6)===0&&hr()}}function Wc(){Wt=ei.current,Ve(ei)}function ts(r,s){r.finishedWork=null,r.finishedLanes=0;var a=r.timeoutHandle;if(a!==-1&&(r.timeoutHandle=-1,Qb(a)),tt!==null)for(a=tt.return;a!==null;){var c=a;switch(ec(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&ja();break;case 3:Xs(),Ve(Nt),Ve(wt),hc();break;case 5:dc(c);break;case 4:Xs();break;case 13:Ve(He);break;case 19:Ve(He);break;case 10:oc(c.type._context);break;case 22:case 23:Wc()}a=a.return}if(lt=r,tt=r=br(r.current,null),pt=Wt=s,st=0,po=null,Fc=nl=Zr=0,Dt=mo=null,Yr!==null){for(s=0;s<Yr.length;s++)if(a=Yr[s],c=a.interleaved,c!==null){a.interleaved=null;var f=c.next,p=a.pending;if(p!==null){var v=p.next;p.next=f,c.next=v}a.pending=c}Yr=null}return r}function cg(r,s){do{var a=tt;try{if(ic(),Wa.current=Ga,qa){for(var c=We.memoizedState;c!==null;){var f=c.queue;f!==null&&(f.pending=null),c=c.next}qa=!1}if(Jr=0,at=rt=We=null,ao=!1,lo=0,Ic.current=null,a===null||a.return===null){st=1,po=s,tt=null;break}e:{var p=r,v=a.return,_=a,C=s;if(s=pt,_.flags|=32768,C!==null&&typeof C=="object"&&typeof C.then=="function"){var F=C,W=_,q=W.tag;if((W.mode&1)===0&&(q===0||q===11||q===15)){var H=W.alternate;H?(W.updateQueue=H.updateQueue,W.memoizedState=H.memoizedState,W.lanes=H.lanes):(W.updateQueue=null,W.memoizedState=null)}var X=Lm(v);if(X!==null){X.flags&=-257,Mm(X,v,_,p,s),X.mode&1&&Dm(p,F,s),s=X,C=F;var ne=s.updateQueue;if(ne===null){var ie=new Set;ie.add(C),s.updateQueue=ie}else ne.add(C);break e}else{if((s&1)===0){Dm(p,F,s),qc();break e}C=Error(n(426))}}else if($e&&_.mode&1){var Xe=Lm(v);if(Xe!==null){(Xe.flags&65536)===0&&(Xe.flags|=256),Mm(Xe,v,_,p,s),rc(Js(C,_));break e}}p=C=Js(C,_),st!==4&&(st=2),mo===null?mo=[p]:mo.push(p),p=v;do{switch(p.tag){case 3:p.flags|=65536,s&=-s,p.lanes|=s;var L=Om(p,C,s);im(p,L);break e;case 1:_=C;var N=p.type,M=p.stateNode;if((p.flags&128)===0&&(typeof N.getDerivedStateFromError=="function"||M!==null&&typeof M.componentDidCatch=="function"&&(yr===null||!yr.has(M)))){p.flags|=65536,s&=-s,p.lanes|=s;var K=jm(p,_,s);im(p,K);break e}}p=p.return}while(p!==null)}hg(a)}catch(ae){s=ae,tt===a&&a!==null&&(tt=a=a.return);continue}break}while(!0)}function dg(){var r=tl.current;return tl.current=Ga,r===null?Ga:r}function qc(){(st===0||st===3||st===2)&&(st=4),lt===null||(Zr&268435455)===0&&(nl&268435455)===0||xr(lt,pt)}function ll(r,s){var a=Ne;Ne|=2;var c=dg();(lt!==r||pt!==s)&&(qn=null,ts(r,s));do try{wS();break}catch(f){cg(r,f)}while(!0);if(ic(),Ne=a,tl.current=c,tt!==null)throw Error(n(261));return lt=null,pt=0,st}function wS(){for(;tt!==null;)fg(tt)}function xS(){for(;tt!==null&&!Wx();)fg(tt)}function fg(r){var s=gg(r.alternate,r,Wt);r.memoizedProps=r.pendingProps,s===null?hg(r):tt=s,Ic.current=null}function hg(r){var s=r;do{var a=s.alternate;if(r=s.return,(s.flags&32768)===0){if(a=fS(a,s,Wt),a!==null){tt=a;return}}else{if(a=hS(a,s),a!==null){a.flags&=32767,tt=a;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{st=6,tt=null;return}}if(s=s.sibling,s!==null){tt=s;return}tt=s=r}while(s!==null);st===0&&(st=5)}function ns(r,s,a){var c=Me,f=tn.transition;try{tn.transition=null,Me=1,bS(r,s,a,c)}finally{tn.transition=f,Me=c}return null}function bS(r,s,a,c){do ni();while(vr!==null);if((Ne&6)!==0)throw Error(n(327));a=r.finishedWork;var f=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 p=a.lanes|a.childLanes;if(tb(r,p),r===lt&&(tt=lt=null,pt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||sl||(sl=!0,yg(fa,function(){return ni(),null})),p=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||p){p=tn.transition,tn.transition=null;var v=Me;Me=1;var _=Ne;Ne|=4,Ic.current=null,mS(r,a),rg(a,r),Vb(qu),wa=!!Wu,qu=Wu=null,r.current=a,gS(a),qx(),Ne=_,Me=v,tn.transition=p}else r.current=a;if(sl&&(sl=!1,vr=r,il=f),p=r.pendingLanes,p===0&&(yr=null),Gx(a.stateNode),Lt(r,Ye()),s!==null)for(c=r.onRecoverableError,a=0;a<s.length;a++)f=s[a],c(f.value,{componentStack:f.stack,digest:f.digest});if(rl)throw rl=!1,r=Bc,Bc=null,r;return(il&1)!==0&&r.tag!==0&&ni(),p=r.pendingLanes,(p&1)!==0?r===Vc?go++:(go=0,Vc=r):go=0,hr(),null}function ni(){if(vr!==null){var r=tp(il),s=tn.transition,a=Me;try{if(tn.transition=null,Me=16>r?16:r,vr===null)var c=!1;else{if(r=vr,vr=null,il=0,(Ne&6)!==0)throw Error(n(331));var f=Ne;for(Ne|=4,ee=r.current;ee!==null;){var p=ee,v=p.child;
vendor: 4,578 bytes, line 40
40if((ee.flags&16)!==0){var _=p.deletions;if(_!==null){for(var C=0;C<_.length;C++){var F=_[C];for(ee=F;ee!==null;){var W=ee;switch(W.tag){case 0:case 11:case 15:ho(8,W,p)}var q=W.child;if(q!==null)q.return=W,ee=q;else for(;ee!==null;){W=ee;var H=W.sibling,X=W.return;if(Jm(W),W===F){ee=null;break}if(H!==null){H.return=X,ee=H;break}ee=X}}}var ne=p.alternate;if(ne!==null){var ie=ne.child;if(ie!==null){ne.child=null;do{var Xe=ie.sibling;ie.sibling=null,ie=Xe}while(ie!==null)}}ee=p}}if((p.subtreeFlags&2064)!==0&&v!==null)v.return=p,ee=v;else e:for(;ee!==null;){if(p=ee,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:ho(9,p,p.return)}var L=p.sibling;if(L!==null){L.return=p.return,ee=L;break e}ee=p.return}}var N=r.current;for(ee=N;ee!==null;){v=ee;var M=v.child;if((v.subtreeFlags&2064)!==0&&M!==null)M.return=v,ee=M;else e:for(v=N;ee!==null;){if(_=ee,(_.flags&2048)!==0)try{switch(_.tag){case 0:case 11:case 15:el(9,_)}}catch(ae){Ke(_,_.return,ae)}if(_===v){ee=null;break e}var K=_.sibling;if(K!==null){K.return=_.return,ee=K;break e}ee=_.return}}if(Ne=f,hr(),Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(ha,r)}catch{}c=!0}return c}finally{Me=a,tn.transition=s}}return!1}function pg(r,s,a){s=Js(a,s),s=Om(r,s,1),r=mr(r,s,1),s=Rt(),r!==null&&(Ui(r,1,s),Lt(r,s))}function Ke(r,s,a){if(r.tag===3)pg(r,r,a);else for(;s!==null;){if(s.tag===3){pg(s,r,a);break}else if(s.tag===1){var c=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(yr===null||!yr.has(c))){r=Js(a,r),r=jm(s,r,1),s=mr(s,r,1),r=Rt(),s!==null&&(Ui(s,1,r),Lt(s,r));break}}s=s.return}}function SS(r,s,a){var c=r.pingCache;c!==null&&c.delete(s),s=Rt(),r.pingedLanes|=r.suspendedLanes&a,lt===r&&(pt&a)===a&&(st===4||st===3&&(pt&130023424)===pt&&500>Ye()-Uc?ts(r,0):Fc|=a),Lt(r,s)}function mg(r,s){s===0&&((r.mode&1)===0?s=1:(s=ma,ma<<=1,(ma&130023424)===0&&(ma=4194304)));var a=Rt();r=$n(r,s),r!==null&&(Ui(r,s,a),Lt(r,a))}function _S(r){var s=r.memoizedState,a=0;s!==null&&(a=s.retryLane),mg(r,a)}function ES(r,s){var a=0;switch(r.tag){case 13:var c=r.stateNode,f=r.memoizedState;f!==null&&(a=f.retryLane);break;case 19:c=r.stateNode;break;default:throw Error(n(314))}c!==null&&c.delete(s),mg(r,a)}var gg;gg=function(r,s,a){if(r!==null)if(r.memoizedProps!==s.pendingProps||Nt.current)jt=!0;else{if((r.lanes&a)===0&&(s.flags&128)===0)return jt=!1,dS(r,s,a);jt=(r.flags&131072)!==0}else jt=!1,$e&&(s.flags&1048576)!==0&&Gp(s,Ia,s.index);switch(s.lanes=0,s.tag){case 2:var c=s.type;Ja(r,s),r=s.pendingProps;var f=Hs(s,wt.current);Ys(s,a),f=gc(null,s,c,r,f,a);var p=yc();return s.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Ot(c)?(p=!0,Da(s)):p=!1,s.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,uc(s),f.updater=Ya,s.stateNode=f,f._reactInternals=s,_c(s,c,r,a),s=Tc(null,s,c,!0,p,a)):(s.tag=0,$e&&p&&Zu(s),Pt(null,s,f,a),s=s.child),s;case 16:c=s.elementType;e:{switch(Ja(r,s),r=s.pendingProps,f=c._init,c=f(c._payload),s.type=c,f=s.tag=CS(c),r=yn(c,r),f){case 0:s=Cc(null,s,c,r,a);break e;case 1:s=zm(null,s,c,r,a);break e;case 11:s=Im(null,s,c,r,a);break e;case 14:s=Fm(null,s,c,yn(c.type,r),a);break e}throw Error(n(306,c,""))}return s;case 0:return c=s.type,f=s.pendingProps,f=s.elementType===c?f:yn(c,f),Cc(r,s,c,f,a);case 1:return c=s.type,f=s.pendingProps,f=s.elementType===c?f:yn(c,f),zm(r,s,c,f,a);case 3:e:{if($m(s),r===null)throw Error(n(387));c=s.pendingProps,p=s.memoizedState,f=p.element,sm(r,s),$a(s,c,null,a);var v=s.memoizedState;if(c=v.element,p.isDehydrated)if(p={element:c,isDehydrated:!1,cache:v.cache,pendingSuspenseBoundaries:v.pendingSuspenseBoundaries,transitions:v.transitions},s.updateQueue.baseState=p,s.memoizedState=p,s.flags&256){f=Js(Error(n(423)),s),s=Hm(r,s,c,a,f);break e}else if(c!==f){f=Js(Error(n(424)),s),s=Hm(r,s,c,a,f);break e}else for(Ht=cr(s.stateNode.containerInfo.firstChild),$t=s,$e=!0,gn=null,a=nm(s,null,c,a),s.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ks(),c===f){s=Wn(r,s,a);break e}Pt(r,s,c,a)}s=s.child}return s;case 5:return am(s),r===null&&nc(s),c=s.type,f=s.pendingProps,p=r!==null?r.memoizedProps:null,v=f.children,Ku(c,f)?v=null:p!==null&&Ku(c,p)&&(s.flags|=32),Vm(r,s),Pt(r,s,v,a),s.child;case 6:return r===null&&nc(s),null;case 13:return Wm(r,s,a);case 4:return cc(s,s.stateNode.containerInfo),c=s.pendingProps,r===null?s.child=Qs(s,null,c,a):Pt(r,s,c,a),s.child;case 11:return c=s.type,f=s.pendingProps,f=s.elementType===c?f:yn(c,f),Im(r,s,c,f,a);
vendor: 9,298 bytes, line 40
40case 7:return Pt(r,s,s.pendingProps,a),s.child;case 8:return Pt(r,s,s.pendingProps.children,a),s.child;case 12:return Pt(r,s,s.pendingProps.children,a),s.child;case 10:e:{if(c=s.type._context,f=s.pendingProps,p=s.memoizedProps,v=f.value,Ue(Ba,c._currentValue),c._currentValue=v,p!==null)if(mn(p.value,v)){if(p.children===f.children&&!Nt.current){s=Wn(r,s,a);break e}}else for(p=s.child,p!==null&&(p.return=s);p!==null;){var _=p.dependencies;if(_!==null){v=p.child;for(var C=_.firstContext;C!==null;){if(C.context===c){if(p.tag===1){C=Hn(-1,a&-a),C.tag=2;var F=p.updateQueue;if(F!==null){F=F.shared;var W=F.pending;W===null?C.next=C:(C.next=W.next,W.next=C),F.pending=C}}p.lanes|=a,C=p.alternate,C!==null&&(C.lanes|=a),ac(p.return,a,s),_.lanes|=a;break}C=C.next}}else if(p.tag===10)v=p.type===s.type?null:p.child;else if(p.tag===18){if(v=p.return,v===null)throw Error(n(341));v.lanes|=a,_=v.alternate,_!==null&&(_.lanes|=a),ac(v,a,s),v=p.sibling}else v=p.child;if(v!==null)v.return=p;else for(v=p;v!==null;){if(v===s){v=null;break}if(p=v.sibling,p!==null){p.return=v.return,v=p;break}v=v.return}p=v}Pt(r,s,f.children,a),s=s.child}return s;case 9:return f=s.type,c=s.pendingProps.children,Ys(s,a),f=Zt(f),c=c(f),s.flags|=1,Pt(r,s,c,a),s.child;case 14:return c=s.type,f=yn(c,s.pendingProps),f=yn(c.type,f),Fm(r,s,c,f,a);case 15:return Um(r,s,s.type,s.pendingProps,a);case 17:return c=s.type,f=s.pendingProps,f=s.elementType===c?f:yn(c,f),Ja(r,s),s.tag=1,Ot(c)?(r=!0,Da(s)):r=!1,Ys(s,a),Am(s,c,f),_c(s,c,f,a),Tc(null,s,c,!0,r,a);case 19:return Km(r,s,a);case 22:return Bm(r,s,a)}throw Error(n(156,s.tag))};function yg(r,s){return Yh(r,s)}function kS(r,s,a,c){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=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nn(r,s,a,c){return new kS(r,s,a,c)}function Kc(r){return r=r.prototype,!(!r||!r.isReactComponent)}function CS(r){if(typeof r=="function")return Kc(r)?1:0;if(r!=null){if(r=r.$$typeof,r===De)return 11;if(r===Ie)return 14}return 2}function br(r,s){var a=r.alternate;return a===null?(a=nn(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 ul(r,s,a,c,f,p){var v=2;if(c=r,typeof r=="function")Kc(r)&&(v=1);else if(typeof r=="string")v=5;else e:switch(r){case te:return rs(a.children,f,p,s);case U:v=8,f|=8;break;case Z:return r=nn(12,a,s,f|2),r.elementType=Z,r.lanes=p,r;case Se:return r=nn(13,a,s,f),r.elementType=Se,r.lanes=p,r;case ke:return r=nn(19,a,s,f),r.elementType=ke,r.lanes=p,r;case he:return cl(a,f,p,s);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case le:v=10;break e;case be:v=9;break e;case De:v=11;break e;case Ie:v=14;break e;case Ae:v=16,c=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return s=nn(v,a,s,f),s.elementType=r,s.type=c,s.lanes=p,s}function rs(r,s,a,c){return r=nn(7,r,c,s),r.lanes=a,r}function cl(r,s,a,c){return r=nn(22,r,c,s),r.elementType=he,r.lanes=a,r.stateNode={isHidden:!1},r}function Qc(r,s,a){return r=nn(6,r,null,s),r.lanes=a,r}function Gc(r,s,a){return s=nn(4,r.children!==null?r.children:[],r.key,s),s.lanes=a,s.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},s}function TS(r,s,a,c,f){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=Su(0),this.expirationTimes=Su(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Su(0),this.identifierPrefix=c,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Yc(r,s,a,c,f,p,v,_,C){return r=new TS(r,s,a,_,C),s===1?(s=1,p===!0&&(s|=8)):s=0,p=nn(3,null,null,s),r.current=p,p.stateNode=r,p.memoizedState={element:c,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},uc(p),r}function PS(r,s,a){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$,key:c==null?null:""+c,children:r,containerInfo:s,implementation:a}}function vg(r){if(!r)return fr;r=r._reactInternals;e:{if(Wr(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(Ot(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(Ot(a))return qp(r,a,s)}return s}function wg(r,s,a,c,f,p,v,_,C){return r=Yc(a,c,!0,r,f,p,v,_,C),r.context=vg(null),a=r.current,c=Rt(),f=wr(a),p=Hn(c,f),p.callback=s??null,mr(a,p,f),r.current.lanes=f,Ui(r,f,c),Lt(r,c),r}function dl(r,s,a,c){var f=s.current,p=Rt(),v=wr(f);return a=vg(a),s.context===null?s.context=a:s.pendingContext=a,s=Hn(p,v),s.payload={element:r},c=c===void 0?null:c,c!==null&&(s.callback=c),r=mr(f,s,v),r!==null&&(xn(r,f,v,p),za(r,f,v)),v}function fl(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 xg(r,s){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var a=r.retryLane;r.retryLane=a!==0&&a<s?a:s}}function Xc(r,s){xg(r,s),(r=r.alternate)&&xg(r,s)}function RS(){return null}var bg=typeof reportError=="function"?reportError:function(r){console.error(r)};function Jc(r){this._internalRoot=r}hl.prototype.render=Jc.prototype.render=function(r){var s=this._internalRoot;if(s===null)throw Error(n(409));dl(r,s,null,null)},hl.prototype.unmount=Jc.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var s=r.containerInfo;es(function(){dl(null,r,null,null)}),s[Un]=null}};function hl(r){this._internalRoot=r}hl.prototype.unstable_scheduleHydration=function(r){if(r){var s=sp();r={blockedOn:null,target:r,priority:s};for(var a=0;a<ar.length&&s!==0&&s<ar[a].priority;a++);ar.splice(a,0,r),a===0&&ap(r)}};function Zc(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function pl(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Sg(){}function AS(r,s,a,c,f){if(f){if(typeof c=="function"){var p=c;c=function(){var F=fl(v);p.call(F)}}var v=wg(s,c,r,0,null,!1,!1,"",Sg);return r._reactRootContainer=v,r[Un]=v.current,Zi(r.nodeType===8?r.parentNode:r),es(),v}for(;f=r.lastChild;)r.removeChild(f);if(typeof c=="function"){var _=c;c=function(){var F=fl(C);_.call(F)}}var C=Yc(r,0,!1,null,null,!1,!1,"",Sg);return r._reactRootContainer=C,r[Un]=C.current,Zi(r.nodeType===8?r.parentNode:r),es(function(){dl(s,C,a,c)}),C}function ml(r,s,a,c,f){var p=a._reactRootContainer;if(p){var v=p;if(typeof f=="function"){var _=f;f=function(){var C=fl(v);_.call(C)}}dl(s,v,r,f)}else v=AS(a,s,r,f,c);return fl(v)}np=function(r){switch(r.tag){case 3:var s=r.stateNode;if(s.current.memoizedState.isDehydrated){var a=Fi(s.pendingLanes);a!==0&&(_u(s,a|1),Lt(s,Ye()),(Ne&6)===0&&(ti=Ye()+500,hr()))}break;case 13:es(function(){var c=$n(r,1);if(c!==null){var f=Rt();xn(c,r,1,f)}}),Xc(r,1)}},Eu=function(r){if(r.tag===13){var s=$n(r,134217728);if(s!==null){var a=Rt();xn(s,r,134217728,a)}Xc(r,134217728)}},rp=function(r){if(r.tag===13){var s=wr(r),a=$n(r,s);if(a!==null){var c=Rt();xn(a,r,s,c)}Xc(r,s)}},sp=function(){return Me},ip=function(r,s){var a=Me;try{return Me=r,s()}finally{Me=a}},gu=function(r,s,a){switch(s){case"input":if(ft(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 c=a[s];if(c!==r&&c.form===r.form){var f=Oa(c);if(!f)throw Error(n(90));dt(c),ft(c,f)}}}break;case"textarea":Dh(r,a);break;case"select":s=a.value,s!=null&&rr(r,!!a.multiple,s,!1)}},$h=Hc,Hh=es;var NS={usingClientEntryPoint:!1,Events:[no,zs,Oa,Vh,zh,Hc]},yo={findFiberByHostInstance:qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},OS={bundleType:yo.bundleType,version:yo.version,rendererPackageName:yo.rendererPackageName,rendererConfig:yo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:D.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Qh(r),r===null?null:r.stateNode},findFiberByHostInstance:yo.findFiberByHostInstance||RS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gl.isDisabled&&gl.supportsFiber)try{ha=gl.inject(OS),Cn=gl}catch{}}return Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=NS,Mt.createPortal=function(r,s){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Zc(s))throw Error(n(200));return PS(r,s,null,a)},Mt.createRoot=function(r,s){if(!Zc(r))throw Error(n(299));var a=!1,c="",f=bg;return s!=null&&(s.unstable_strictMode===!0&&(a=!0),s.identifierPrefix!==void 0&&(c=s.identifierPrefix),s.onRecoverableError!==void 0&&(f=s.onRecoverableError)),s=Yc(r,1,!1,null,null,a,!1,c,f),r[Un]=s.current,Zi(r.nodeType===8?r.parentNode:r),new Jc(s)},Mt.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=Qh(s),r=r===null?null:r.stateNode,r},Mt.flushSync=function(r){return es(r)},Mt.hydrate=function(r,s,a){if(!pl(s))throw Error(n(200));return ml(null,r,s,!0,a)},Mt.hydrateRoot=function(r,s,a){if(!Zc(r))throw Error(n(405));var c=a!=null&&a.hydratedSources||null,f=!1,p="",v=bg;if(a!=null&&(a.unstable_strictMode===!0&&(f=!0),a.identifierPrefix!==void 0&&(p=a.identifierPrefix),a.onRecoverableError!==void 0&&(v=a.onRecoverableError)),s=wg(s,null,r,1,a??null,f,!1,p,v),r[Un]=s.current,Zi(r),c)for(r=0;r<c.length;r++)a=c[r],f=a._getVersion,f=f(a._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[a,f]:s.mutableSourceEagerHydrationData.push(a,f);return new hl(s)},Mt.render=function(r,s,a){if(!pl(s))throw Error(n(200));return ml(null,r,s,!1,a)},Mt.unmountComponentAtNode=function(r){if(!pl(r))throw Error(n(40));return r._reactRootContainer?(es(function(){ml(null,null,r,!1,function(){r._reactRootContainer=null,r[Un]=null})}),!0):!1},Mt.unstable_batchedUpdates=Hc,Mt.unstable_renderSubtreeIntoContainer=function(r,s,a,c){if(!pl(a))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return ml(r,s,a,!1,c)},Mt.version="18.3.1-next-f1338f8080-20240426",Mt}var Ng;function kv(){if(Ng)return rd.exports;Ng=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),rd.exports=HS(),rd.exports}var Og;function WS(){if(Og)return vl;Og=1;var t=kv();return vl.createRoot=t.createRoot,vl.hydrateRoot=t.hydrateRoot,vl}var qS=WS();const KS=Ev(qS),QS=20,GS=1e6,Xn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let od=0;function YS(){return od=(od+1)%Number.MAX_VALUE,od.toString()}const ad=new Map,jg=t=>{if(ad.has(t))return;const e=setTimeout(()=>{ad.delete(t),Oo({type:Xn.REMOVE_TOAST,toastId:t})},GS);ad.set(t,e)},XS=(t,e)=>{switch(e.type){case Xn.ADD_TOAST:return{...t,toasts:[e.toast,...t.toasts].slice(0,QS)};case Xn.UPDATE_TOAST:return{...t,toasts:t.toasts.map(n=>n.id===e.toast.id?{...n,...e.toast}:n)};case Xn.DISMISS_TOAST:{const{toastId:n}=e;return n?jg(n):t.toasts.forEach(i=>{jg(i.id)}),{...t,toasts:t.toasts.map(i=>i.id===n||n===void 0?{...i,open:!1}:i)}}case Xn.REMOVE_TOAST:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(n=>n.id!==e.toastId)}}},Rl=[];let Al={toasts:[]};function Oo(t){Al=XS(Al,t),Rl.forEach(e=>{e(Al)})}function JS({...t}){const e=YS(),n=o=>Oo({type:Xn.UPDATE_TOAST,toast:{...o,id:e}}),i=()=>Oo({type:Xn.DISMISS_TOAST,toastId:e});return Oo({type:Xn.ADD_TOAST,toast:{...t,id:e,open:!0,onOpenChange:o=>{o||i()}}}),{id:e,dismiss:i,update:n}}function ZS(){const[t,e]=I.useState(Al);return I.useEffect(()=>(Rl.push(e),()=>{const n=Rl.indexOf(e);n>-1&&Rl.splice(n,1)}),[t]),{...t,toast:JS,dismiss:n=>Oo({type:Xn.DISMISS_TOAST,toastId:n})}}function Cv(t){var e,n,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=Cv(t[e]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function Tv(){for(var t,e,n=0,i="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=Cv(t))&&(i&&(i+=" "),i+=e);return i}const Dg=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Lg=Tv,e2=(t,e)=>n=>{var i;if((e==null?void 0:e.variants)==null)return Lg(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:l}=e,u=Object.keys(o).map(m=>{const g=n==null?void 0:n[m],y=l==null?void 0:l[m];if(g===null)return null;const x=Dg(g)||Dg(y);return o[m][x]}),d=n&&Object.entries(n).reduce((m,g)=>{let[y,x]=g;return x===void 0||(m[y]=x),m},{}),h=e==null||(i=e.compoundVariants)===null||i===void 0?void 0:i.reduce((m,g)=>{let{class:y,className:x,...k}=g;return Object.entries(k).every(P=>{let[E,S]=P;return Array.isArray(S)?S.includes({...l,...d}[E]):{...l,...d}[E]===S})?[...m,y,x]:m},[]);return Lg(t,u,h,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.475.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const t2=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Pv=(...t)=>t.filter((e,n,i)=>!!e&&e.trim()!==""&&i.indexOf(e)===n).join(" ").trim();/** 46 * @license lucide-react v0.475.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var n2={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"};/** 51 * @license lucide-react v0.475.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const r2=I.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:o="",children:l,iconNode:u,...d},h)=>I.createElement("svg",{ref:h,...n2,width:e,height:e,stroke:t,strokeWidth:i?Number(n)*24/Number(e):n,className:Pv("lucide",o),...d},[...u.map(([m,g])=>I.createElement(m,g)),...Array.isArray(l)?l:[l]]));/** 56 * @license lucide-react v0.475.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const un=(t,e)=>{const n=I.forwardRef(({className:i,...o},l)=>I.createElement(r2,{ref:l,iconNode:e,className:Pv(`lucide-${t2(t)}`,i),...o}));return n.displayName=`${t}`,n};/** 61 * @license lucide-react v0.475.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const s2=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],i2=un("Calendar",s2);/** 66 * @license lucide-react v0.475.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const o2=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],a2=un("Disc",o2);/** 71 * @license lucide-react v0.475.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const l2=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],Mg=un("Download",l2);/** 76 * @license lucide-react v0.475.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const u2=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],c2=un("Headphones",u2);/** 81 * @license lucide-react v0.475.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const d2=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],f2=un("Layers",d2);/** 86 * @license lucide-react v0.475.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const h2=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],p2=un("MapPin",h2);/** 91 * @license lucide-react v0.475.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const m2=[["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"}]],g2=un("Menu",m2);/** 96 * @license lucide-react v0.475.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const y2=[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]],v2=un("Mic",y2);/** 101 * @license lucide-react v0.475.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const w2=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Rv=un("Music",w2);/** 106 * @license lucide-react v0.475.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const x2=[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]],b2=un("Radio",x2);/** 111 * @license lucide-react v0.475.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const S2=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}
vendor: 4,267 bytes, lines 115-120
115]],_2=un("Star",S2);/** 116 * @license lucide-react v0.475.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const E2=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Av=un("X",E2),k2=(t,e)=>{const n=new Array(t.length+e.length);for(let i=0;i<t.length;i++)n[i]=t[i];for(let i=0;i<e.length;i++)n[t.length+i]=e[i];return n},C2=(t,e)=>({classGroupId:t,validator:e}),Nv=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),Vl="-",Ig=[],T2="arbitrary..",P2=t=>{const e=A2(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return R2(u);const d=u.split(Vl),h=d[0]===""&&d.length>1?1:0;return Ov(d,h,e)},getConflictingClassGroupIds:(u,d)=>{if(d){const h=i[u],m=n[u];return h?m?k2(m,h):h:m||Ig}return n[u]||Ig}}},Ov=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const o=t[e],l=n.nextPart.get(o);if(l){const m=Ov(t,e+1,l);if(m)return m}const u=n.validators;if(u===null)return;const d=e===0?t.join(Vl):t.slice(e).join(Vl),h=u.length;for(let m=0;m<h;m++){const g=u[m];if(g.validator(d))return g.classGroupId}},R2=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),i=e.slice(0,n);return i?T2+i:void 0})(),A2=t=>{const{theme:e,classGroups:n}=t;return N2(n,e)},N2=(t,e)=>{const n=Nv();for(const i in t){const o=t[i];Nf(o,n,i,e)}return n},Nf=(t,e,n,i)=>{const o=t.length;for(let l=0;l<o;l++){const u=t[l];O2(u,e,n,i)}},O2=(t,e,n,i)=>{if(typeof t=="string"){j2(t,e,n);return}if(typeof t=="function"){D2(t,e,n,i);return}L2(t,e,n,i)},j2=(t,e,n)=>{const i=t===""?e:jv(e,t);i.classGroupId=n},D2=(t,e,n,i)=>{if(M2(t)){Nf(t(i),e,n,i);return}e.validators===null&&(e.validators=[]),e.validators.push(C2(n,t))},L2=(t,e,n,i)=>{const o=Object.entries(t),l=o.length;for(let u=0;u<l;u++){const[d,h]=o[u];Nf(h,jv(e,d),n,i)}},jv=(t,e)=>{let n=t;const i=e.split(Vl),o=i.length;for(let l=0;l<o;l++){const u=i[l];let d=n.nextPart.get(u);d||(d=Nv(),n.nextPart.set(u,d)),n=d}return n},M2=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,I2=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),i=Object.create(null);const o=(l,u)=>{n[l]=u,e++,e>t&&(e=0,i=n,n=Object.create(null))};return{get(l){let u=n[l];if(u!==void 0)return u;if((u=i[l])!==void 0)return o(l,u),u},set(l,u){l in n?n[l]=u:o(l,u)}}},Md="!",Fg=":",F2=[],Ug=(t,e,n,i,o)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:i,isExternal:o}),U2=t=>{const{prefix:e,experimentalParseClassName:n}=t;let i=o=>{const l=[];let u=0,d=0,h=0,m;const g=o.length;for(let E=0;E<g;E++){const S=o[E];if(u===0&&d===0){if(S===Fg){l.push(o.slice(h,E)),h=E+1;continue}if(S==="/"){m=E;continue}}S==="["?u++:S==="]"?u--:S==="("?d++:S===")"&&d--}const y=l.length===0?o:o.slice(h);let x=y,k=!1;y.endsWith(Md)?(x=y.slice(0,-1),k=!0):y.startsWith(Md)&&(x=y.slice(1),k=!0);const P=m&&m>h?m-h:void 0;return Ug(l,k,x,P)};if(e){const o=e+Fg,l=i;i=u=>u.startsWith(o)?l(u.slice(o.length)):Ug(F2,!1,u,void 0,!0)}if(n){const o=i;i=l=>n({className:l,parseClassName:o})}return i},B2=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,i)=>{e.set(n,1e6+i)}),n=>{const i=[];let o=[];for(let l=0;l<n.length;l++){const u=n[l],d=u[0]==="[",h=e.has(u);d||h?(o.length>0&&(o.sort(),i.push(...o),o=[]),i.push(u)):o.push(u)}return o.length>0&&(o.sort(),i.push(...o)),i}},V2=t=>({cache:I2(t.cacheSize),parseClassName:U2(t),sortModifiers:B2(t),...P2(t)}),z2=/\s+/,$2=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:l}=e,u=[],d=t.trim().split(z2);let h="";for(let m=d.length-1;m>=0;m-=1){const g=d[m],{isExternal:y,modifiers:x,hasImportantModifier:k,baseClassName:P,maybePostfixModifierPosition:E}=n(g);if(y){h=g+(h.length>0?" "+h:h);continue}let S=!!E,b=i(S?P.substring(0,E):P);if(!b){if(!S){h=g+(h.length>0?" "+h:h);continue}if(b=i(P),!b){h=g+(h.length>0?" "+h:h);continue}S=!1}const O=x.length===0?"":x.length===1?x[0]:l(x).join(":"),T=k?O+Md:O,D=T+b;if(u.indexOf(D)>-1)continue;u.push(D);const B=o(b,S);for(let $=0;$<B.length;++$){const te=B[$];u.push(T+te)}h=g+(h.length>0?" "+h:h)}return h},H2=(...t)=>{let e=0,n,i,o="";for(;e<t.length;
vendor: 1,746 bytes, line 120
120)(n=t[e++])&&(i=Dv(n))&&(o&&(o+=" "),o+=i);return o},Dv=t=>{if(typeof t=="string")return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=Dv(t[i]))&&(n&&(n+=" "),n+=e);return n},W2=(t,...e)=>{let n,i,o,l;const u=h=>{const m=e.reduce((g,y)=>y(g),t());return n=V2(m),i=n.cache.get,o=n.cache.set,l=d,d(h)},d=h=>{const m=i(h);if(m)return m;const g=$2(h,n);return o(h,g),g};return l=u,(...h)=>l(H2(...h))},q2=[],it=t=>{const e=n=>n[t]||q2;return e.isThemeGetter=!0,e},Lv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Mv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,K2=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Q2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G2=/\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$/,Y2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,X2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,J2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_r=t=>K2.test(t),_e=t=>!!t&&!Number.isNaN(Number(t)),Er=t=>!!t&&Number.isInteger(Number(t)),ld=t=>t.endsWith("%")&&_e(t.slice(0,-1)),Kn=t=>Q2.test(t),Iv=()=>!0,Z2=t=>G2.test(t)&&!Y2.test(t),Of=()=>!1,e_=t=>X2.test(t),t_=t=>J2.test(t),n_=t=>!re(t)&&!se(t),r_=t=>Vr(t,Bv,Of),re=t=>Lv.test(t),ss=t=>Vr(t,Vv,Z2),Bg=t=>Vr(t,d_,_e),s_=t=>Vr(t,$v,Iv),i_=t=>Vr(t,zv,Of),Vg=t=>Vr(t,Fv,Of),o_=t=>Vr(t,Uv,t_),wl=t=>Vr(t,Hv,e_),se=t=>Mv.test(t),wo=t=>Ns(t,Vv),a_=t=>Ns(t,zv),zg=t=>Ns(t,Fv),l_=t=>Ns(t,Bv),u_=t=>Ns(t,Uv),xl=t=>Ns(t,Hv,!0),c_=t=>Ns(t,$v,!0),Vr=(t,e,n)=>{const i=Lv.exec(t);return i?i[1]?e(i[1]):n(i[2]):!1},Ns=(t,e,n=!1)=>{const i=Mv.exec(t);return i?i[1]?e(i[1]):n:!1},Fv=t=>t==="position"||t==="percentage",Uv=t=>t==="image"||t==="url",Bv=t=>t==="length"||t==="size"||t==="bg-size",Vv=t=>
vendor: 4,539 bytes, line 120
120t==="length",d_=t=>t==="number",zv=t=>t==="family-name",$v=t=>t==="number"||t==="weight",Hv=t=>t==="shadow",f_=()=>{const t=it("color"),e=it("font"),n=it("text"),i=it("font-weight"),o=it("tracking"),l=it("leading"),u=it("breakpoint"),d=it("container"),h=it("spacing"),m=it("radius"),g=it("shadow"),y=it("inset-shadow"),x=it("text-shadow"),k=it("drop-shadow"),P=it("blur"),E=it("perspective"),S=it("aspect"),b=it("ease"),O=it("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],D=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...D(),se,re],$=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto","contain","none"],U=()=>[se,re,h],Z=()=>[_r,"full","auto",...U()],le=()=>[Er,"none","subgrid",se,re],be=()=>["auto",{span:["full",Er,se,re]},Er,se,re],De=()=>[Er,"auto",se,re],Se=()=>["auto","min","max","fr",se,re],ke=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ie=()=>["start","end","center","stretch","center-safe","end-safe"],Ae=()=>["auto",...U()],he=()=>[_r,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...U()],Q=()=>[_r,"screen","full","dvw","lvw","svw","min","max","fit",...U()],oe=()=>[_r,"screen","full","lh","dvh","lvh","svh","min","max","fit",...U()],V=()=>[t,se,re],j=()=>[...D(),zg,Vg,{position:[se,re]}],z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",l_,r_,{size:[se,re]}],ge=()=>[ld,wo,ss],de=()=>["","none","full",m,se,re],G=()=>["",_e,wo,ss],we=()=>["solid","dashed","dotted","double"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>[_e,ld,zg,Vg],ot=()=>["","none",P,se,re],Qt=()=>["none",_e,se,re],dt=()=>["none",_e,se,re],dn=()=>[_e,se,re],Gt=()=>[_r,"full",...U()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Kn],breakpoint:[Kn],color:[Iv],container:[Kn],"drop-shadow":[Kn],ease:["in","out","in-out"],font:[n_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Kn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Kn],shadow:[Kn],spacing:["px",_e],text:[Kn],"text-shadow":[Kn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_r,re,se,S]}],container:["container"],columns:[{columns:[_e,re,se,d]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"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:B()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Z()}],"inset-x":[{"inset-x":Z()}],"inset-y":[{"inset-y":Z()}],start:[{"inset-s":Z(),start:Z()}],end:[{"inset-e":Z(),end:Z()}],"inset-bs":[{"inset-bs":Z()}],"inset-be":[{"inset-be":Z()}],top:[{top:Z()}],right:[{right:Z()}],bottom:[{bottom:Z()}],left:[{left:Z()}],visibility:["visible","invisible","collapse"],z:[{z:[Er,"auto",se,re]}],basis:[{basis:[_r,"full","auto",d,...U()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_e,_r,"auto","initial","none",re]}],grow:[{grow:["",_e,se,re]}],shrink:[{shrink:["",_e,se,re]}],order:[{order:[Er,"first","last","none",se,re]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:be()}],"col-start":[{"col-start":De()}
vendor: 4,233 bytes, line 120
120],"col-end":[{"col-end":De()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:be()}],"row-start":[{"row-start":De()}],"row-end":[{"row-end":De()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Se()}],"auto-rows":[{"auto-rows":Se()}],gap:[{gap:U()}],"gap-x":[{"gap-x":U()}],"gap-y":[{"gap-y":U()}],"justify-content":[{justify:[...ke(),"normal"]}],"justify-items":[{"justify-items":[...Ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ie()]}],"align-content":[{content:["normal",...ke()]}],"align-items":[{items:[...Ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":ke()}],"place-items":[{"place-items":[...Ie(),"baseline"]}],"place-self":[{"place-self":["auto",...Ie()]}],p:[{p:U()}],px:[{px:U()}],py:[{py:U()}],ps:[{ps:U()}],pe:[{pe:U()}],pbs:[{pbs:U()}],pbe:[{pbe:U()}],pt:[{pt:U()}],pr:[{pr:U()}],pb:[{pb:U()}],pl:[{pl:U()}],m:[{m:Ae()}],mx:[{mx:Ae()}],my:[{my:Ae()}],ms:[{ms:Ae()}],me:[{me:Ae()}],mbs:[{mbs:Ae()}],mbe:[{mbe:Ae()}],mt:[{mt:Ae()}],mr:[{mr:Ae()}],mb:[{mb:Ae()}],ml:[{ml:Ae()}],"space-x":[{"space-x":U()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":U()}],"space-y-reverse":["space-y-reverse"],size:[{size:he()}],"inline-size":[{inline:["auto",...Q()]}],"min-inline-size":[{"min-inline":["auto",...Q()]}],"max-inline-size":[{"max-inline":["none",...Q()]}],"block-size":[{block:["auto",...oe()]}],"min-block-size":[{"min-block":["auto",...oe()]}],"max-block-size":[{"max-block":["none",...oe()]}],w:[{w:[d,"screen",...he()]}],"min-w":[{"min-w":[d,"screen","none",...he()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[u]},...he()]}],h:[{h:["screen","lh",...he()]}],"min-h":[{"min-h":["screen","lh","none",...he()]}],"max-h":[{"max-h":["screen","lh",...he()]}],"font-size":[{text:["base",n,wo,ss]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,c_,s_]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ld,re]}],"font-family":[{font:[a_,i_,e]}],"font-features":[{"font-features":[re]}],"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,se,re]}],"line-clamp":[{"line-clamp":[_e,"none",se,Bg]}],leading:[{leading:[l,...U()]}],"list-image":[{"list-image":["none",se,re]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",se,re]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[_e,"from-font","auto",se,ss]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[_e,"auto",se,re]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",se,re]}],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",se,re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:z()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Er,se,re],radial:["",se,re],conic:[Er,se,re]},u_,o_]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:ge()}
vendor: 7,388 bytes, line 120
120],"gradient-via-pos":[{via:ge()}],"gradient-to-pos":[{to:ge()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:G()}],"border-w-x":[{"border-x":G()}],"border-w-y":[{"border-y":G()}],"border-w-s":[{"border-s":G()}],"border-w-e":[{"border-e":G()}],"border-w-bs":[{"border-bs":G()}],"border-w-be":[{"border-be":G()}],"border-w-t":[{"border-t":G()}],"border-w-r":[{"border-r":G()}],"border-w-b":[{"border-b":G()}],"border-w-l":[{"border-l":G()}],"divide-x":[{"divide-x":G()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":G()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-bs":[{"border-bs":V()}],"border-color-be":[{"border-be":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_e,se,re]}],"outline-w":[{outline:["",_e,wo,ss]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",g,xl,wl]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",y,xl,wl]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[_e,ss]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":G()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",x,xl,wl]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[_e,se,re]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ce()}],"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":[_e]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[se,re]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"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":D()}],"mask-image-conic-pos":[{"mask-conic":[_e]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:z()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",se,re]}],filter:[{filter:["","none",se,re]}],blur:[{blur:ot()}],brightness:[{brightness:[_e,se,re]}],contrast:[{contrast:[_e,se,re]}],"drop-shadow":[{"drop-shadow":["","none",k,xl,wl]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",_e,se,re]}],"hue-rotate":[{"hue-rotate":[_e,se,re]}],invert:[{invert:["",_e,se,re]}],saturate:[{saturate:[_e,se,re]}],sepia:[{sepia:["",_e,se,re]}],"backdrop-filter":[{"backdrop-filter":["","none",se,re]}],"backdrop-blur":[{"backdrop-blur":ot()}],"backdrop-brightness":[{"backdrop-brightness":[_e,se,re]}],"backdrop-contrast":[{"backdrop-contrast":[_e,se,re]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_e,se,re]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_e,se,re]}],"backdrop-invert":[{"backdrop-invert":["",_e,se,re]}],"backdrop-opacity":[{"backdrop-opacity":[_e,se,re]}],"backdrop-saturate":[{"backdrop-saturate":[_e,se,re]}],"backdrop-sepia":[{"backdrop-sepia":["",_e,se,re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":U()}],"border-spacing-x":[{"border-spacing-x":U()}],"border-spacing-y":[{"border-spacing-y":U()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",se,re]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_e,"initial",se,re]}],ease:[{ease:["linear","initial",b,se,re]}],delay:[{delay:[_e,se,re]}],animate:[{animate:["none",O,se,re]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,se,re]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:Qt()}],"rotate-x":[{"rotate-x":Qt()}],"rotate-y":[{"rotate-y":Qt()}],"rotate-z":[{"rotate-z":Qt()}],scale:[{scale:dt()}],"scale-x":[{"scale-x":dt()}],"scale-y":[{"scale-y":dt()}],"scale-z":[{"scale-z":dt()}],"scale-3d":["scale-3d"],skew:[{skew:dn()}],"skew-x":[{"skew-x":dn()}],"skew-y":[{"skew-y":dn()}],transform:[{transform:[se,re,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Gt()}],"translate-x":[{"translate-x":Gt()}],"translate-y":[{"translate-y":Gt()}],"translate-z":[{"translate-z":Gt()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}
vendor: 5,236 bytes, line 120
120],"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",se,re]}],"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":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mbs":[{"scroll-mbs":U()}],"scroll-mbe":[{"scroll-mbe":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pbs":[{"scroll-pbs":U()}],"scroll-pbe":[{"scroll-pbe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"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",se,re]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[_e,wo,ss,Bg]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},h_=W2(f_);function Zo(...t){return h_(Tv(t))}const Wv=I.forwardRef(({...t},e)=>w.jsx("div",{ref:e,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...t}));Wv.displayName="ToastProvider";const qv=I.forwardRef(({...t},e)=>w.jsx("div",{ref:e,className:"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",...t}));qv.displayName="ToastViewport";
120const p_=e2("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Kv=I.forwardRef(({className:t,variant:e,...n},i)=>w.jsx("div",{ref:i,className:Zo(p_({variant:e}),t),...n}));Kv.displayName="Toast";const m_=I.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Zo("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...e}));m_.displayName="ToastAction";const Qv=I.forwardRef(({className:t,...e},n)=>w.jsx("button",{ref:n,className:Zo("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...e,children:w.jsx(Av,{className:"h-4 w-4"})}));Qv.displayName="ToastClose";const Gv=I.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Zo("text-sm font-semibold",t),...e}));Gv.displayName="ToastTitle";const Yv=I.forwardRef(({className:t,...e},n)=>w.jsx("div",{ref:n,className:Zo("text-sm opacity-90",t),...e}));Yv.displayName="ToastDescription";function g_(){const{toasts:t}=ZS();return w.jsxs(Wv,{children:[t.map(function({id:e,title:n,description:i,action:o,...l}){return w.jsxs(Kv,{...l,children:[w.jsxs("div",{className:"grid gap-1",children:[n&&w.jsx(Gv,{children:n}),i&&w.jsx(Yv,{children:i})]}),o,w.jsx(Qv,{})]},e)}),w.jsx(qv,{})]})}var ea=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},y_={setTimeout:(t,e)=>setTimeout(t,e),clearTimeout:t=>clearTimeout(t),setInterval:(t,e)=>setInterval(t,e),clearInterval:t=>clearInterval(t)},Tr,Rf,hv,v_=(hv=class{constructor(){fe(this,Tr,y_);fe(this,Rf,!1)}setTimeoutProvider(t){J(this,Tr,t)}setTimeout(t,e){return R(this,Tr).setTimeout(t,e)}clearTimeout(t){R(this,Tr).clearTimeout(t)}setInterval(t,e){return R(this,Tr).setInterval(t,e)}clearInterval(t){R(this,Tr).clearInterval(t)}},Tr=new WeakMap,Rf=new WeakMap,hv),ds=new v_;function w_(t){setTimeout(t,0)}var Ts=typeof window>"u"||"Deno"in globalThis;function Ut(){}function x_(t,e){return typeof t=="function"?t(e):t}function Id(t){return typeof t=="number"&&t>=0&&t!==1/0}function Xv(t,e){return Math.max(t+(e||0)-Date.now(),0)}function Mr(t,e){return typeof t=="function"?t(e):t}function an(t,e){return typeof t=="function"?t(e):t}function $g(t,e){const{type:n="all",exact:i,fetchStatus:o,predicate:l,queryKey:u,stale:d}=t;if(u){if(i){if(e.queryHash!==jf(u,e.options))return!1}else if(!Uo(e.queryKey,u))return!1}if(n!=="all"){const h=e.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof d=="boolean"&&e.isStale()!==d||o&&o!==e.state.fetchStatus||l&&!l(e))}function Hg(t,e){const{exact:n,status:i,predicate:o,mutationKey:l}=t;if(l){if(!e.options.mutationKey)return!1;if(n){if(Fo(e.options.mutationKey)!==Fo(l))return!1}else if(!Uo(e.options.mutationKey,l))return!1}return!(i&&e.state.status!==i||o&&!o(e))}function jf(t,e){return((e==null?void 0:e.queryKeyHashFn)||Fo)(t)}function Fo(t){return JSON.stringify(t,(e,n)=>Ud(n)?Object.keys(n).sort().reduce((i,o)=>(i[o]=n[o],i),{}):n)}function Uo(t,e){return t===e?!0:typeof t!=typeof e?!1:t&&e&&typeof t=="object"&&typeof e=="object"?Object.keys(e).every(n=>Uo(t[n],e[n])):!1}var b_=Object.prototype.hasOwnProperty;function Jv(t,e,n=0){if(t===e)return t;if(n>500)return e;const i=Wg(t)&&Wg(e);if(!i&&!(Ud(t)&&Ud(e)))return e;const l=(i?t:Object.keys(t)).length,u=i?e:Object.keys(e),d=u.length,h=i?new Array(d):{};let m=0;for(let g=0;g<d;g++){const y=i?g:u[g],x=t[y],k=e[y];if(x===k){h[y]=x,(i?g<l:b_.call(t,y))&&m++;continue}if(x===null||k===null||typeof x!="object"||typeof k!="object"){h[y]=k;continue}const P=Jv(x,k,n+1);h[y]=P,P===x&&m++}return l===d&&m===l?t:h}function Fd(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function Wg(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Ud(t){if(!qg(t))return!1;const e=t.constructor;if(e===void 0)return!0;const n=e.prototype;return!(!qg(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function qg(t){return Object.prototype.toString.call(t)==="[object Object]"}function S_(t){return new Promise(e=>{ds.setTimeout(e,t)})}function Bd(t,e,n){return typeof n.structuralSharing=="function"?n.structuralSharing(t,e):n.structuralSharing!==!1?Jv(t,e):e}function __(t,e,n=0){const i=[...t,e];return n&&i.length>n?i.slice(1):i}function E_(t,e,n=0){const i=[e,...t];return n&&i.length>n?i.slice(0,-1):i}var Df=Symbol();function Zv(t,e){return!t.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!t.queryFn||t.queryFn===Df?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function ew(t,e){return typeof t=="function"?t(...e):!!t}function k_(t,e,n){let i=!1,o;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(o??(o=e()),i||(i=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),t}var ps,Pr,ci,pv,C_=(pv=class extends ea{constructor(){super();fe(this,ps);fe(this,Pr);fe(this,ci);J(this,ci,e=>{if(!Ts&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){R(this,Pr)||this.setEventListener(R(this,ci))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Pr))==null||e.call(this),J(this,Pr,void 0))}setEventListener(e){var n;J(this,ci,e),(n=R(this,Pr))==null||n.call(this),J(this,Pr,e(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(e){R(this,ps)!==e&&(J(this,ps,e),this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 4,597 bytes, line 120
120this.listeners.forEach(n=>{n(e)})}isFocused(){var e;return typeof R(this,ps)=="boolean"?R(this,ps):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},ps=new WeakMap,Pr=new WeakMap,ci=new WeakMap,pv),Lf=new C_;function Vd(){let t,e;const n=new Promise((o,l)=>{t=o,e=l});n.status="pending",n.catch(()=>{});function i(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{i({status:"fulfilled",value:o}),t(o)},n.reject=o=>{i({status:"rejected",reason:o}),e(o)},n}var T_=w_;function P_(){let t=[],e=0,n=d=>{d()},i=d=>{d()},o=T_;const l=d=>{e?t.push(d):o(()=>{n(d)})},u=()=>{const d=t;t=[],d.length&&o(()=>{i(()=>{d.forEach(h=>{n(h)})})})};return{batch:d=>{let h;e++;try{h=d()}finally{e--,e||u()}return h},batchCalls:d=>(...h)=>{l(()=>{d(...h)})},schedule:l,setNotifyFunction:d=>{n=d},setBatchNotifyFunction:d=>{i=d},setScheduler:d=>{o=d}}}var yt=P_(),di,Rr,fi,mv,R_=(mv=class extends ea{constructor(){super();fe(this,di,!0);fe(this,Rr);fe(this,fi);J(this,fi,e=>{if(!Ts&&window.addEventListener){const n=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}})}onSubscribe(){R(this,Rr)||this.setEventListener(R(this,fi))}onUnsubscribe(){var e;this.hasListeners()||((e=R(this,Rr))==null||e.call(this),J(this,Rr,void 0))}setEventListener(e){var n;J(this,fi,e),(n=R(this,Rr))==null||n.call(this),J(this,Rr,e(this.setOnline.bind(this)))}setOnline(e){R(this,di)!==e&&(J(this,di,e),this.listeners.forEach(i=>{i(e)}))}isOnline(){return R(this,di)}},di=new WeakMap,Rr=new WeakMap,fi=new WeakMap,mv),zl=new R_;function A_(t){return Math.min(1e3*2**t,3e4)}function tw(t){return(t??"online")==="online"?zl.isOnline():!0}var zd=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function nw(t){let e=!1,n=0,i;const o=Vd(),l=()=>o.status!=="pending",u=E=>{var S;if(!l()){const b=new zd(E);x(b),(S=t.onCancel)==null||S.call(t,b)}},d=()=>{e=!0},h=()=>{e=!1},m=()=>Lf.isFocused()&&(t.networkMode==="always"||zl.isOnline())&&t.canRun(),g=()=>tw(t.networkMode)&&t.canRun(),y=E=>{l()||(i==null||i(),o.resolve(E))},x=E=>{l()||(i==null||i(),o.reject(E))},k=()=>new Promise(E=>{var S;i=b=>{(l()||m())&&E(b)},(S=t.onPause)==null||S.call(t)}).then(()=>{var E;i=void 0,l()||(E=t.onContinue)==null||E.call(t)}),P=()=>{if(l())return;let E;const S=n===0?t.initialPromise:void 0;try{E=S??t.fn()}catch(b){E=Promise.reject(b)}Promise.resolve(E).then(y).catch(b=>{var $;if(l())return;const O=t.retry??(Ts?0:3),T=t.retryDelay??A_,D=typeof T=="function"?T(n,b):T,B=O===!0||typeof O=="number"&&n<O||typeof O=="function"&&O(n,b);if(e||!B){x(b);return}n++,($=t.onFail)==null||$.call(t,n,b),S_(D).then(()=>m()?void 0:k()).then(()=>{e?x(b):P()})})};return{promise:o,status:()=>o.status,cancel:u,continue:()=>(i==null||i(),o),cancelRetry:d,continueRetry:h,canStart:g,start:()=>(g()?P():k().then(P),o)}}var ms,gv,rw=(gv=class{constructor(){fe(this,ms)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Id(this.gcTime)&&J(this,ms,ds.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Ts?1/0:300*1e3))}clearGcTimeout(){R(this,ms)&&(ds.clearTimeout(R(this,ms)),J(this,ms,void 0))}},ms=new WeakMap,gv),gs,hi,on,ys,ct,Qo,vs,Sn,Qn,yv,N_=(yv=class extends rw{constructor(e){super();fe(this,Sn);fe(this,gs);fe(this,hi);fe(this,on);fe(this,ys);fe(this,ct);fe(this,Qo);fe(this,vs);J(this,vs,!1),J(this,Qo,e.defaultOptions),this.setOptions(e.options),this.observers=[],J(this,ys,e.client),J(this,on,R(this,ys).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,J(this,gs,Qg(this.options)),this.state=e.state??R(this,gs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=R(this,ct))==null?void 0:e.promise}setOptions(e){if(this.options={...R(this,Qo),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=Qg(this.options);n.data!==void 0&&(this.setState(Kg(n.data,n.dataUpdatedAt)),J(this,gs,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&R(this,on).remove(this)}setData(e,n){const i=Bd(this.state.data,e,this.options);return Te(this,Sn,Qn).call(this,{data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(e,n){Te(this,Sn,Qn).call(this,{type:"setState",state:e,setStateOptions:n})}cancel(e){var i,o;const n=(i=R(this,ct))==null?void 0:i.promise;
120return(o=R(this,ct))==null||o.cancel(e),n?n.then(Ut).catch(Ut):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(R(this,gs))}isActive(){return this.observers.some(e=>an(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Df||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Mr(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Xv(this.state.dataUpdatedAt,e)}onFocus(){var n;const e=this.observers.find(i=>i.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(n=R(this,ct))==null||n.continue()}onOnline(){var n;const e=this.observers.find(i=>i.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(n=R(this,ct))==null||n.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),R(this,on).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(R(this,ct)&&(R(this,vs)?R(this,ct).cancel({revert:!0}):R(this,ct).cancelRetry()),this.scheduleGc()),R(this,on).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Te(this,Sn,Qn).call(this,{type:"invalidate"})}async fetch(e,n){var h,m,g,y,x,k,P,E,S,b,O,T;if(this.state.fetchStatus!=="idle"&&((h=R(this,ct))==null?void 0:h.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(R(this,ct))return R(this,ct).continueRetry(),R(this,ct).promise}if(e&&this.setOptions(e),!this.options.queryFn){const D=this.observers.find(B=>B.options.queryFn);D&&this.setOptions(D.options)}const i=new AbortController,o=D=>{Object.defineProperty(D,"signal",{enumerable:!0,get:()=>(J(this,vs,!0),i.signal)})},l=()=>{const D=Zv(this.options,n),$=(()=>{const te={client:R(this,ys),queryKey:this.queryKey,meta:this.meta};return o(te),te})();return J(this,vs,!1),this.options.persister?this.options.persister(D,$,this):D($)},d=(()=>{const D={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:R(this,ys),state:this.state,fetchFn:l};return o(D),D})();(m=this.options.behavior)==null||m.onFetch(d,this),J(this,hi,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=d.fetchOptions)==null?void 0:g.meta))&&Te(this,Sn,Qn).call(this,{type:"fetch",meta:(y=d.fetchOptions)==null?void 0:y.meta}),J(this,ct,nw({initialPromise:n==null?void 0:n.initialPromise,fn:d.fetchFn,onCancel:D=>{D instanceof zd&&D.revert&&this.setState({...R(this,hi),fetchStatus:"idle"}),i.abort()},onFail:(D,B)=>{Te(this,Sn,Qn).call(this,{type:"failed",failureCount:D,error:B})},onPause:()=>{Te(this,Sn,Qn).call(this,{type:"pause"})},onContinue:()=>{Te(this,Sn,Qn).call(this,{type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0}));try{const D=await R(this,ct).start();if(D===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(D),(k=(x=R(this,on).config).onSuccess)==null||k.call(x,D,this),(E=(P=R(this,on).config).onSettled)==null||E.call(P,D,this.state.error,this),D}catch(D){if(D instanceof zd){if(D.silent)return R(this,ct).promise;if(D.revert){if(this.state.data===void 0)throw D;return this.state.data}}throw Te(this,Sn,Qn).call(this,{type:"error",error:D}),(b=(S=R(this,on).config).onError)==null||b.call(S,D,this),(T=(O=R(this,on).config).onSettled)==null||T.call(O,this.state.data,D,this),D}finally{this.scheduleGc()}}},gs=new WeakMap,hi=new WeakMap,on=new WeakMap,ys=new WeakMap,ct=new WeakMap,Qo=new WeakMap,vs=new WeakMap,Sn=new WeakSet,Qn=function(e){const n=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...sw(i.data,this.options),fetchMeta:e.meta??null};case"success":const o={...i,...Kg(e.data,e.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return J(this,hi,e.manual?o:void 0),o;case"error":const l=e.error;
vendor: 9,600 bytes, line 120
120return{...i,error:l,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=n(this.state),yt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),R(this,on).notify({query:this,type:"updated",action:e})})},yv);function sw(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tw(e.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Kg(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Qg(t){const e=typeof t.initialData=="function"?t.initialData():t.initialData,n=e!==void 0,i=n?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ft,Pe,Go,At,ws,pi,Gn,Ar,Yo,mi,gi,xs,bs,Nr,yi,Le,Eo,$d,Hd,Wd,qd,Kd,Qd,Gd,iw,vv,O_=(vv=class extends ea{constructor(e,n){super();fe(this,Le);fe(this,Ft);fe(this,Pe);fe(this,Go);fe(this,At);fe(this,ws);fe(this,pi);fe(this,Gn);fe(this,Ar);fe(this,Yo);fe(this,mi);fe(this,gi);fe(this,xs);fe(this,bs);fe(this,Nr);fe(this,yi,new Set);this.options=n,J(this,Ft,e),J(this,Ar,null),J(this,Gn,Vd()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(R(this,Pe).addObserver(this),Gg(R(this,Pe),this.options)?Te(this,Le,Eo).call(this):this.updateResult(),Te(this,Le,qd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Yd(R(this,Pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Yd(R(this,Pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Te(this,Le,Kd).call(this),Te(this,Le,Qd).call(this),R(this,Pe).removeObserver(this)}setOptions(e){const n=this.options,i=R(this,Pe);if(this.options=R(this,Ft).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof an(this.options.enabled,R(this,Pe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Te(this,Le,Gd).call(this),R(this,Pe).setOptions(this.options),n._defaulted&&!Fd(this.options,n)&&R(this,Ft).getQueryCache().notify({type:"observerOptionsUpdated",query:R(this,Pe),observer:this});const o=this.hasListeners();o&&Yg(R(this,Pe),i,this.options,n)&&Te(this,Le,Eo).call(this),this.updateResult(),o&&(R(this,Pe)!==i||an(this.options.enabled,R(this,Pe))!==an(n.enabled,R(this,Pe))||Mr(this.options.staleTime,R(this,Pe))!==Mr(n.staleTime,R(this,Pe)))&&Te(this,Le,$d).call(this);const l=Te(this,Le,Hd).call(this);o&&(R(this,Pe)!==i||an(this.options.enabled,R(this,Pe))!==an(n.enabled,R(this,Pe))||l!==R(this,Nr))&&Te(this,Le,Wd).call(this,l)}getOptimisticResult(e){const n=R(this,Ft).getQueryCache().build(R(this,Ft),e),i=this.createResult(n,e);return D_(this,i)&&(J(this,At,i),J(this,pi,this.options),J(this,ws,R(this,Pe).state)),i}getCurrentResult(){return R(this,At)}trackResult(e,n){return new Proxy(e,{get:(i,o)=>(this.trackProp(o),n==null||n(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&R(this,Gn).status==="pending"&&R(this,Gn).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(i,o))})}trackProp(e){R(this,yi).add(e)}getCurrentQuery(){return R(this,Pe)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const n=R(this,Ft).defaultQueryOptions(e),i=R(this,Ft).getQueryCache().build(R(this,Ft),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(e){return Te(this,Le,Eo).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),R(this,At)))}createResult(e,n){var Z;const i=R(this,Pe),o=this.options,l=R(this,At),u=R(this,ws),d=R(this,pi),m=e!==i?e.state:R(this,Go),{state:g}=e;let y={...g},x=!1,k;if(n._optimisticResults){const le=this.hasListeners(),be=!le&&Gg(e,n),De=le&&Yg(e,i,n,o);(be||De)&&(y={...y,...sw(g.data,e.options)}),n._optimisticResults==="isRestoring"&&(y.fetchStatus="idle")}let{error:P,errorUpdatedAt:E,status:S}=y;k=y.data;let b=!1;if(n.placeholderData!==void 0&&k===void 0&&S==="pending"){let le;l!=null&&l.isPlaceholderData&&n.placeholderData===(d==null?void 0:d.placeholderData)?(le=l.data,b=!0):le=typeof n.placeholderData=="function"?n.placeholderData((Z=R(this,gi))==null?void 0:Z.state.data,R(this,gi)):n.placeholderData,le!==void 0&&(S="success",k=Bd(l==null?void 0:l.data,le,n),x=!0)}if(n.select&&k!==void 0&&!b)if(l&&k===(u==null?void 0:u.data)&&n.select===R(this,Yo))k=R(this,mi);else try{J(this,Yo,n.select),k=n.select(k),k=Bd(l==null?void 0:l.data,k,n),J(this,mi,k),J(this,Ar,null)}catch(le){J(this,Ar,le)}R(this,Ar)&&(P=R(this,Ar),k=R(this,mi),E=Date.now(),S="error");const O=y.fetchStatus==="fetching",T=S==="pending",D=S==="error",B=T&&O,$=k!==void 0,U={status:S,fetchStatus:y.fetchStatus,isPending:T,isSuccess:S==="success",isError:D,isInitialLoading:B,isLoading:B,data:k,dataUpdatedAt:y.dataUpdatedAt,error:P,errorUpdatedAt:E,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>m.dataUpdateCount||y.errorUpdateCount>m.errorUpdateCount,isFetching:O,isRefetching:O&&!T,isLoadingError:D&&!$,isPaused:y.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:D&&$,isStale:Mf(e,n),refetch:this.refetch,promise:R(this,Gn),isEnabled:an(n.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const le=U.data!==void 0,be=U.status==="error"&&!le,De=Ie=>{be?Ie.reject(U.error):le&&Ie.resolve(U.data)},Se=()=>{const Ie=J(this,Gn,U.promise=Vd());De(Ie)},ke=R(this,Gn);switch(ke.status){case"pending":e.queryHash===i.queryHash&&De(ke);break;case"fulfilled":(be||U.data!==ke.value)&&Se();break;case"rejected":(!be||U.error!==ke.reason)&&Se();break}}return U}updateResult(){const e=R(this,At),n=this.createResult(R(this,Pe),this.options);if(J(this,ws,R(this,Pe).state),J(this,pi,this.options),R(this,ws).data!==void 0&&J(this,gi,R(this,Pe)),Fd(n,e))return;J(this,At,n);const i=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,l=typeof o=="function"?o():o;if(l==="all"||!l&&!R(this,yi).size)return!0;const u=new Set(l??R(this,yi));return this.options.throwOnError&&u.add("error"),Object.keys(R(this,At)).some(d=>{const h=d;return R(this,At)[h]!==e[h]&&u.has(h)})};Te(this,Le,iw).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Te(this,Le,qd).call(this)}},Ft=new WeakMap,Pe=new WeakMap,Go=new WeakMap,At=new WeakMap,ws=new WeakMap,pi=new WeakMap,Gn=new WeakMap,Ar=new WeakMap,Yo=new WeakMap,mi=new WeakMap,gi=new WeakMap,xs=new WeakMap,bs=new WeakMap,Nr=new WeakMap,yi=new WeakMap,Le=new WeakSet,Eo=function(e){Te(this,Le,Gd).call(this);let n=R(this,Pe).fetch(this.options,e);return e!=null&&e.throwOnError||(n=n.catch(Ut)),n},$d=function(){Te(this,Le,Kd).call(this);const e=Mr(this.options.staleTime,R(this,Pe));if(Ts||R(this,At).isStale||!Id(e))return;const i=Xv(R(this,At).dataUpdatedAt,e)+1;J(this,xs,ds.setTimeout(()=>{R(this,At).isStale||this.updateResult()},i))},Hd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(R(this,Pe)):this.options.refetchInterval)??!1},Wd=function(e){Te(this,Le,Qd).call(this),J(this,Nr,e),!(Ts||an(this.options.enabled,R(this,Pe))===!1||!Id(R(this,Nr))||R(this,Nr)===0)&&J(this,bs,ds.setInterval(()=>{(this.options.refetchIntervalInBackground||Lf.isFocused())&&Te(this,Le,Eo).call(this)},R(this,Nr)))},qd=function(){Te(this,Le,$d).call(this),Te(this,Le,Wd).call(this,Te(this,Le,Hd).call(this))},Kd=function(){R(this,xs)&&(ds.clearTimeout(R(this,xs)),J(this,xs,void 0))},Qd=function(){R(this,bs)&&(ds.clearInterval(R(this,bs)),J(this,bs,void 0))},Gd=function(){const e=R(this,Ft).getQueryCache().build(R(this,Ft),this.options);if(e===R(this,Pe))return;const n=R(this,Pe);J(this,Pe,e),J(this,Go,e.state),this.hasListeners()&&(n==null||n.removeObserver(this),e.addObserver(this))},iw=function(e){yt.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(R(this,At))}),R(this,Ft).getQueryCache().notify({query:R(this,Pe),type:"observerResultsUpdated"})})},vv);function j_(t,e){return an(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function Gg(t,e){return j_(t,e)||t.state.data!==void 0&&Yd(t,e,e.refetchOnMount)}function Yd(t,e,n){if(an(e.enabled,t)!==!1&&Mr(e.staleTime,t)!=="static"){const i=typeof n=="function"?n(t):n;return i==="always"||i!==!1&&Mf(t,e)}return!1}function Yg(t,e,n,i){return(t!==e||an(i.enabled,t)===!1)&&(!n.suspense||t.state.status!=="error")&&Mf(t,n)}function Mf(t,e){return an(e.enabled,t)!==!1&&t.isStaleByTime(Mr(e.staleTime,t))}function D_(t,e){return!Fd(t.getCurrentResult(),e)}function Xg(t){return{onFetch:(e,n)=>{var g,y,x,k,P;const i=e.options,o=(x=(y=(g=e.fetchOptions)==null?void 0:g.meta)==null?void 0:y.fetchMore)==null?void 0:x.direction,l=((k=e.state.data)==null?void 0:k.pages)||[],u=((P=e.state.data)==null?void 0:P.pageParams)||[];let d={pages:[],pageParams:[]},h=0;const m=async()=>{let E=!1;const S=T=>{k_(T,()=>e.signal,()=>E=!0)},b=Zv(e.options,e.fetchOptions),O=async(T,D,B)=>
vendor: 4,295 bytes, line 120
120{if(E)return Promise.reject();if(D==null&&T.pages.length)return Promise.resolve(T);const te=(()=>{const be={client:e.client,queryKey:e.queryKey,pageParam:D,direction:B?"backward":"forward",meta:e.options.meta};return S(be),be})(),U=await b(te),{maxPages:Z}=e.options,le=B?E_:__;return{pages:le(T.pages,U,Z),pageParams:le(T.pageParams,D,Z)}};if(o&&l.length){const T=o==="backward",D=T?L_:Jg,B={pages:l,pageParams:u},$=D(i,B);d=await O(B,$,T)}else{const T=t??l.length;do{const D=h===0?u[0]??i.initialPageParam:Jg(i,d);if(h>0&&D==null)break;d=await O(d,D),h++}while(h<T)}return d};e.options.persister?e.fetchFn=()=>{var E,S;return(S=(E=e.options).persister)==null?void 0:S.call(E,m,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},n)}:e.fetchFn=m}}}function Jg(t,{pages:e,pageParams:n}){const i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,n[i],n):void 0}function L_(t,{pages:e,pageParams:n}){var i;return e.length>0?(i=t.getPreviousPageParam)==null?void 0:i.call(t,e[0],e,n[0],n):void 0}var Xo,Nn,Et,Ss,On,kr,wv,M_=(wv=class extends rw{constructor(e){super();fe(this,On);fe(this,Xo);fe(this,Nn);fe(this,Et);fe(this,Ss);J(this,Xo,e.client),this.mutationId=e.mutationId,J(this,Et,e.mutationCache),J(this,Nn,[]),this.state=e.state||I_(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){R(this,Nn).includes(e)||(R(this,Nn).push(e),this.clearGcTimeout(),R(this,Et).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){J(this,Nn,R(this,Nn).filter(n=>n!==e)),this.scheduleGc(),R(this,Et).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){R(this,Nn).length||(this.state.status==="pending"?this.scheduleGc():R(this,Et).remove(this))}continue(){var e;return((e=R(this,Ss))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var u,d,h,m,g,y,x,k,P,E,S,b,O,T,D,B,$,te;const n=()=>{Te(this,On,kr).call(this,{type:"continue"})},i={client:R(this,Xo),meta:this.options.meta,mutationKey:this.options.mutationKey};J(this,Ss,nw({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(U,Z)=>{Te(this,On,kr).call(this,{type:"failed",failureCount:U,error:Z})},onPause:()=>{Te(this,On,kr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>R(this,Et).canRun(this)}));const o=this.state.status==="pending",l=!R(this,Ss).canStart();try{if(o)n();else{Te(this,On,kr).call(this,{type:"pending",variables:e,isPaused:l}),R(this,Et).config.onMutate&&await R(this,Et).config.onMutate(e,this,i);const Z=await((d=(u=this.options).onMutate)==null?void 0:d.call(u,e,i));Z!==this.state.context&&Te(this,On,kr).call(this,{type:"pending",context:Z,variables:e,isPaused:l})}const U=await R(this,Ss).start();return await((m=(h=R(this,Et).config).onSuccess)==null?void 0:m.call(h,U,e,this.state.context,this,i)),await((y=(g=this.options).onSuccess)==null?void 0:y.call(g,U,e,this.state.context,i)),await((k=(x=R(this,Et).config).onSettled)==null?void 0:k.call(x,U,null,this.state.variables,this.state.context,this,i)),await((E=(P=this.options).onSettled)==null?void 0:E.call(P,U,null,e,this.state.context,i)),Te(this,On,kr).call(this,{type:"success",data:U}),U}catch(U){try{await((b=(S=R(this,Et).config).onError)==null?void 0:b.call(S,U,e,this.state.context,this,i))}catch(Z){Promise.reject(Z)}try{await((T=(O=this.options).onError)==null?void 0:T.call(O,U,e,this.state.context,i))}catch(Z){Promise.reject(Z)}try{await((B=(D=R(this,Et).config).onSettled)==null?void 0:B.call(D,void 0,U,this.state.variables,this.state.context,this,i))}catch(Z){Promise.reject(Z)}try{await((te=($=this.options).onSettled)==null?void 0:te.call($,void 0,U,e,this.state.context,i))}catch(Z){Promise.reject(Z)}throw Te(this,On,kr).call(this,{type:"error",error:U}),U}finally{R(this,Et).runNext(this)}}},Xo=new WeakMap,Nn=new WeakMap,Et=new WeakMap,Ss=new WeakMap,On=new WeakSet,kr=function(e){const n=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};
vendor: 1,027 bytes, line 120
120case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),yt.batch(()=>{R(this,Nn).forEach(i=>{i.onMutationUpdate(e)}),R(this,Et).notify({mutation:this,type:"updated",action:e})})},wv);function I_(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Yn,_n,Jo,xv,F_=(xv=class extends ea{constructor(e={}){super();fe(this,Yn);fe(this,_n);fe(this,Jo);this.config=e,J(this,Yn,new Set),J(this,_n,new Map),J(this,Jo,0)}build(e,n,i){const o=new M_({client:e,mutationCache:this,mutationId:++yl(this,Jo)._,options:e.defaultMutationOptions(n),state:i}
120);return this.add(o),o}add(e){R(this,Yn).add(e);const n=bl(e);if(typeof n=="string"){const i=R(this,_n).get(n);i?i.push(e):R(this,_n).set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(R(this,Yn).delete(e)){const n=bl(e);if(typeof n=="string"){const i=R(this,_n).get(n);if(i)if(i.length>1){const o=i.indexOf(e);o!==-1&&i.splice(o,1)}else i[0]===e&&R(this,_n).delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=bl(e);if(typeof n=="string"){const i=R(this,_n).get(n),o=i==null?void 0:i.find(l=>l.state.status==="pending");return!o||o===e}else return!0}runNext(e){var i;const n=bl(e);if(typeof n=="string"){const o=(i=R(this,_n).get(n))==null?void 0:i.find(l=>l!==e&&l.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){yt.batch(()=>{R(this,Yn).forEach(e=>{this.notify({type:"removed",mutation:e})}),R(this,Yn).clear(),R(this,_n).clear()})}getAll(){return Array.from(R(this,Yn))}find(e){const n={exact:!0,...e};return this.getAll().find(i=>Hg(n,i))}findAll(e={}){return this.getAll().filter(n=>Hg(e,n))}notify(e){yt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return yt.batch(()=>Promise.all(e.map(n=>n.continue().catch(Ut))))}},Yn=new WeakMap,_n=new WeakMap,Jo=new WeakMap,xv);function bl(t){var e;return(e=t.options.scope)==null?void 0:e.id}var jn,bv,U_=(bv=class extends ea{constructor(e={}){super();fe(this,jn);this.config=e,J(this,jn,new Map)}build(e,n,i){const o=n.queryKey,l=n.queryHash??jf(o,n);let u=this.get(l);return u||(u=new N_({client:e,queryKey:o,queryHash:l,options:e.defaultQueryOptions(n),state:i,defaultOptions:e.getQueryDefaults(o)}),this.add(u)),u}add(e){R(this,jn).has(e.queryHash)||(R(this,jn).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=R(this,jn).get(e.queryHash);n&&(e.destroy(),n===e&&R(this,jn).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){yt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return R(this,jn).get(e)}getAll(){return[...R(this,jn).values()]}find(e){const n={exact:!0,...e};return this.getAll().find(i=>$g(n,i))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(i=>$g(e,i)):n}notify(e){yt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){yt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){yt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},jn=new WeakMap,bv),Qe,Or,jr,vi,wi,Dr,xi,bi,Sv,B_=(Sv=class{constructor(t={}){fe(this,Qe);fe(this,Or);fe(this,jr);fe(this,vi);fe(this,wi);fe(this,Dr);fe(this,xi);fe(this,bi);J(this,Qe,t.queryCache||new U_),J(this,Or,t.mutationCache||new F_),J(this,jr,t.defaultOptions||{}),J(this,vi,new Map),J(this,wi,new Map),J(this,Dr,0)}mount(){yl(this,Dr)._++,R(this,Dr)===1&&(J(this,xi,Lf.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,Qe).onFocus())})),J(this,bi,zl.subscribe(async t=>{t&&(await this.resumePausedMutations(),R(this,Qe).onOnline())})))}unmount(){var t,e;yl(this,Dr)._--,R(this,Dr)===0&&((t=R(this,xi))==null||t.call(this),J(this,xi,void 0),(e=R(this,bi))==null||e.call(this),J(this,bi,void 0))}isFetching(t){return R(this,Qe).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return R(this,Or).findAll({...t,status:"pending"}).length}getQueryData(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=R(this,Qe).get(e.queryHash))==null?void 0:n.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),n=R(this,Qe).build(this,e),i=n.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&n.isStaleByTime(Mr(e.staleTime,n))&&this.prefetchQuery(e),Promise.resolve(i))}getQueriesData(t){return R(this,Qe).findAll(t).map(({queryKey:e,state:n})=>{const i=n.data;return[e,i]})}setQueryData(t,e,n){const i=this.defaultQueryOptions({queryKey:t}),o=R(this,Qe).get(i.queryHash),l=o==null?void 0:o.state.data,u=x_(e,l);if(u!==void 0)return R(this,Qe).build(this,i).setData(u,{...n,manual:!0})}setQueriesData(t,e,n){return yt.batch(()=>R(this,Qe).findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,e,n)]))}getQueryState(t){var n;const e=this.defaultQueryOptions({queryKey:t});return(n=R(this,Qe).get(e.queryHash))==null?void 0:n.state}removeQueries(t){const e=R(this,Qe);yt.batch(()=>{e.findAll(t).forEach(n=>{e.remove(n)})})}resetQueries(t,e){const n=R(this,Qe);return yt.batch(()=>(n.findAll(t).forEach(i=>
120{i.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const n={revert:!0,...e},i=yt.batch(()=>R(this,Qe).findAll(t).map(o=>o.cancel(n)));return Promise.all(i).then(Ut).catch(Ut)}invalidateQueries(t,e={}){return yt.batch(()=>(R(this,Qe).findAll(t).forEach(n=>{n.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const n={...e,cancelRefetch:e.cancelRefetch??!0},i=yt.batch(()=>R(this,Qe).findAll(t).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let l=o.fetch(void 0,n);return n.throwOnError||(l=l.catch(Ut)),o.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(i).then(Ut)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const n=R(this,Qe).build(this,e);return n.isStaleByTime(Mr(e.staleTime,n))?n.fetch(e):Promise.resolve(n.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Ut).catch(Ut)}fetchInfiniteQuery(t){return t.behavior=Xg(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Ut).catch(Ut)}ensureInfiniteQueryData(t){return t.behavior=Xg(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return zl.isOnline()?R(this,Or).resumePausedMutations():Promise.resolve()}getQueryCache(){return R(this,Qe)}getMutationCache(){return R(this,Or)}getDefaultOptions(){return R(this,jr)}setDefaultOptions(t){J(this,jr,t)}setQueryDefaults(t,e){R(this,vi).set(Fo(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...R(this,vi).values()],n={};return e.forEach(i=>{Uo(t,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(t,e){R(this,wi).set(Fo(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...R(this,wi).values()],n={};return e.forEach(i=>{Uo(t,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(t){if(t._defaulted)return t;const e={...R(this,jr).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=jf(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===Df&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...R(this,jr).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){R(this,Qe).clear(),R(this,Or).clear()}},Qe=new WeakMap,Or=new WeakMap,jr=new WeakMap,vi=new WeakMap,wi=new WeakMap,Dr=new WeakMap,xi=new WeakMap,bi=new WeakMap,Sv),ow=I.createContext(void 0),V_=t=>{const e=I.useContext(ow);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},z_=({client:t,children:e})=>(I.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),w.jsx(ow.Provider,{value:t,children:e})),aw=I.createContext(!1),$_=()=>I.useContext(aw);aw.Provider;function H_(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var W_=I.createContext(H_()),q_=()=>I.useContext(W_),K_=(t,e,n)=>{const i=n!=null&&n.state.error&&typeof t.throwOnError=="function"?ew(t.throwOnError,[n.state.error,n]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||i)&&(e.isReset()||(t.retryOnMount=!1))},Q_=t=>{I.useEffect(()=>{t.clearReset()},[t])},G_=({result:t,errorResetBoundary:e,throwOnError:n,query:i,suspense:o})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&(o&&t.data===void 0||ew(n,[t.error,i])),Y_=t=>{if(t.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),i=t.staleTime;t.staleTime=typeof i=="function"?(...o)=>n(i(...o)):n(i),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},X_=(t,e)=>t.isLoading&&t.isFetching&&!e,J_=(t,e)=>(t==null?void 0:t.suspense)&&e.isPending,Zg=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()});function Z_(t,e,n){var x,k,P,E;const i=$_(),o=q_(),l=V_(),u=l.defaultQueryOptions(t);(k=(x=l.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||k.call(x,u);const d=l.getQueryCache().get(u.queryHash);u._optimisticResults=i?"isRestoring":"optimistic",Y_(u),K_(u,o,d),Q_(o);const h=!l.getQueryCache().get(u.queryHash),[m]=I.useState(()=>new e(l,u)),g=m.getOptimisticResult(u),y=!i&&t.subscribed!==!1;if(I.useSyncExternalStore(I.useCallback(S=>{const b=y?m.subscribe(yt.batchCalls(S)):Ut;return m.updateResult(),b},[m,y]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),I.useEffect(()=>{m.setOptions(u)},[u,m]),J_(u,g))throw Zg(u,m,o);if(G_({result:g,errorResetBoundary:o,throwOnError:u.throwOnError,query:d,suspense:u.suspense}))throw g.error;if((E=(P=l.getDefaultOptions().queries)==null?void 0:P._experimental_afterQuery)==null||E.call(P,u,g),u.experimental_prefetchInRender&&!Ts&&X_(g,i)){const S=h?Zg(u,m,o):d==null?void 0:d.promise;S==null||S.catch(Ut).finally(()=>{m.updateResult()})}return u.notifyOnChangeProps?g:m.trackResult(g)}function eE(t,e){return Z_(t,O_)}const tE=new B_({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});kv();/** 121 * @remix-run/router v1.23.2 122 * 123 * Copyright (c) Remix Software Inc. 124 * 125 * This source code is licensed under the MIT license found in the 126 * LICENSE.md file in the root directory of this source tree. 127 * 128 * @license MIT 129 */function Bo(){return Bo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Bo.apply(this,arguments)}var Lr;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Lr||(Lr={}));const ey="popstate";function nE(t){t===void 0&&(t={});function e(i,o){let{pathname:l,search:u,hash:d}=i.location;return Xd("",{pathname:l,search:u,hash:d},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}
vendor: 9,647 bytes, lines 129-138
129function n(i,o){return typeof o=="string"?o:$l(o)}return sE(e,n,null,t)}function Ze(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function If(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function rE(){return Math.random().toString(36).substr(2,8)}function ty(t,e){return{usr:t.state,key:t.key,idx:e}}function Xd(t,e,n,i){return n===void 0&&(n=null),Bo({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Ci(e):e,{state:n,key:e&&e.key||i||rE()})}function $l(t){let{pathname:e="/",search:n="",hash:i=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function Ci(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substr(i),t=t.substr(0,i)),t&&(e.pathname=t)}return e}function sE(t,e,n,i){i===void 0&&(i={});let{window:o=document.defaultView,v5Compat:l=!1}=i,u=o.history,d=Lr.Pop,h=null,m=g();m==null&&(m=0,u.replaceState(Bo({},u.state,{idx:m}),""));function g(){return(u.state||{idx:null}).idx}function y(){d=Lr.Pop;let S=g(),b=S==null?null:S-m;m=S,h&&h({action:d,location:E.location,delta:b})}function x(S,b){d=Lr.Push;let O=Xd(E.location,S,b);m=g()+1;let T=ty(O,m),D=E.createHref(O);try{u.pushState(T,"",D)}catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;o.location.assign(D)}l&&h&&h({action:d,location:E.location,delta:1})}function k(S,b){d=Lr.Replace;let O=Xd(E.location,S,b);m=g();let T=ty(O,m),D=E.createHref(O);u.replaceState(T,"",D),l&&h&&h({action:d,location:E.location,delta:0})}function P(S){let b=o.location.origin!=="null"?o.location.origin:o.location.href,O=typeof S=="string"?S:$l(S);return O=O.replace(/ $/,"%20"),Ze(b,"No window.location.(origin|href) available to create URL for href: "+O),new URL(O,b)}let E={get action(){return d},get location(){return t(o,u)},listen(S){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(ey,y),h=S,()=>{o.removeEventListener(ey,y),h=null}},createHref(S){return e(o,S)},createURL:P,encodeLocation(S){let b=P(S);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:x,replace:k,go(S){return u.go(S)}};return E}var ny;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(ny||(ny={}));function iE(t,e,n){return n===void 0&&(n="/"),oE(t,e,n)}function oE(t,e,n,i){let o=typeof e=="string"?Ci(e):e,l=Ff(o.pathname||"/",n);if(l==null)return null;let u=lw(t);aE(u);let d=null;for(let h=0;d==null&&h<u.length;++h){let m=wE(l);d=gE(u[h],m)}return d}function lw(t,e,n,i){e===void 0&&(e=[]),n===void 0&&(n=[]),i===void 0&&(i="");let o=(l,u,d)=>{let h={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};h.relativePath.startsWith("/")&&(Ze(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=Ir([i,h.relativePath]),g=n.concat(h);l.children&&l.children.length>0&&(Ze(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+m+'".')),lw(l.children,e,g,m)),!(l.path==null&&!l.index)&&e.push({path:m,score:pE(m,l.index),routesMeta:g})};return t.forEach((l,u)=>{var d;if(l.path===""||!((d=l.path)!=null&&d.includes("?")))o(l,u);else for(let h of uw(l.path))o(l,u,h)}),e}function uw(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(i.length===0)return o?[l,""]:[l];let u=uw(i.join("/")),d=[];return d.push(...u.map(h=>h===""?l:[l,h].join("/"))),o&&d.push(...u),d.map(h=>t.startsWith("/")&&h===""?"/":h)}function aE(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:mE(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const lE=/^:[\w-]+$/,uE=3,cE=2,dE=1,fE=10,hE=-2,ry=t=>t==="*";function pE(t,e){let n=t.split("/"),i=n.length;return n.some(ry)&&(i+=hE),e&&(i+=cE),n.filter(o=>!ry(o)).reduce((o,l)=>o+(lE.test(l)?uE:l===""?dE:fE),i)}function mE(t,e){return t.length===e.length&&t.slice(0,-1).every((i,o)=>i===e[o])?t[t.length-1]-e[e.length-1]:0}function gE(t,e,n){let{routesMeta:i}=t,o={},l="/",u=[];for(let d=0;d<i.length;++d){let h=i[d],m=d===i.length-1,g=l==="/"?e:e.slice(l.length)||"/",y=yE({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},g),x=h.route;if(!y)return null;Object.assign(o,y.params),u.push({params:o,pathname:Ir([l,y.pathname]),pathnameBase:EE(Ir([l,y.pathnameBase])),route:x}),y.pathnameBase!=="/"&&(l=Ir([l,y.pathnameBase]))}return u}function yE(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,i]=vE(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let l=o[0],u=l.replace(/(.)\/+$/,"$1"),d=o.slice(1);return{params:i.reduce((m,g,y)=>{let{paramName:x,isOptional:k}=g;if(x==="*"){let E=d[y]||"";u=l.slice(0,l.length-E.length).replace(/(.)\/+$/,"$1")}const P=d[y];return k&&!P?m[x]=void 0:m[x]=(P||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:u,pattern:t}}function vE(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),If(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let i=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,h)=>(i.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(i.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),i]}function wE(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return If(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Ff(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}const xE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,bE=t=>xE.test(t);function SE(t,e){e===void 0&&(e="/");let{pathname:n,search:i="",hash:o=""}=typeof t=="string"?Ci(t):t,l;if(n)if(bE(n))l=n;else{if(n.includes("//")){let u=n;n=n.replace(/\/\/+/g,"/"),If(!1,"Pathnames cannot have embedded double slashes - normalizing "+(u+" -> "+n))}n.startsWith("/")?l=sy(n.substring(1),"/"):l=sy(n,e)}else l=e;return{pathname:l,search:kE(i),hash:CE(o)}}function sy(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ud(t,e,n,i){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` 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 _E(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Uf(t,e){let n=_E(t);return e?n.map((i,o)=>o===n.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function Bf(t,e,n,i){i===void 0&&(i=!1);let o;typeof t=="string"?o=Ci(t):(o=Bo({},t),Ze(!o.pathname||!o.pathname.includes("?"),ud("?","pathname","search",o)),Ze(!o.pathname||!o.pathname.includes("#"),ud("#","pathname","hash",o)),Ze(!o.search||!o.search.includes("#"),ud("#","search","hash",o)));let l=t===""||o.pathname==="",u=l?"/":o.pathname,d;if(u==null)d=n;else{let y=e.length-1;if(!i&&u.startsWith("..")){let x=u.split("/");for(;x[0]==="..";)x.shift(),y-=1;o.pathname=x.join("/")}d=y>=0?e[y]:"/"}let h=SE(o,d),m=u&&u!=="/"&&u.endsWith("/"),g=(l||u===".")&&n.endsWith("/");return!h.pathname.endsWith("/")&&(m||g)&&(h.pathname+="/"),h}const Ir=t=>t.join("/").replace(/\/\/+/g,"/"),EE=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),kE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,CE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function TE(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const cw=["post","put","patch","delete"];new Set(cw);const PE=["get",...cw];new Set(PE);/** 130 * React Router v6.30.3 131 * 132 * Copyright (c) Remix Software Inc. 133 * 134 * This source code is licensed under the MIT license found in the 135 * LICENSE.md file in the root directory of this source tree. 136 * 137 * @license MIT 138 */function Vo(){return Vo=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Vo.apply(this,arguments)}const Vf=I.createContext(null),RE=I.createContext(null),zr=I.createContext(null),eu=I.createContext(null),tr=I.createContext({outlet:null,matches:[],isDataRoute:!1}),dw=I.createContext(null);function AE(t,e){let{relative:n}=e===void 0?{}:e;Ti()||Ze(!1);let{basename:i,navigator:o}=I.useContext(zr),{hash:l,pathname:u,search:d}=pw(t,{relative:n}),h=u;return i!=="/"&&(h=u==="/"?i:Ir([i,u])),o.createHref({pathname:h,search:d,hash:l})}function Ti(){return I.useContext(eu)!=null}function $r(){return Ti()||Ze(!1),I.useContext(eu).location}function fw(t){I.useContext(zr).static||I.useLayoutEffect(t)}function hw(){let{isDataRoute:t}=I.useContext(tr);return t?WE():NE()}function NE(){Ti()||Ze(!1);
vendor: 4,681 bytes, line 138
138let t=I.useContext(Vf),{basename:e,future:n,navigator:i}=I.useContext(zr),{matches:o}=I.useContext(tr),{pathname:l}=$r(),u=JSON.stringify(Uf(o,n.v7_relativeSplatPath)),d=I.useRef(!1);return fw(()=>{d.current=!0}),I.useCallback(function(m,g){if(g===void 0&&(g={}),!d.current)return;if(typeof m=="number"){i.go(m);return}let y=Bf(m,JSON.parse(u),l,g.relative==="path");t==null&&e!=="/"&&(y.pathname=y.pathname==="/"?e:Ir([e,y.pathname])),(g.replace?i.replace:i.push)(y,g.state,g)},[e,i,u,l,t])}const OE=I.createContext(null);function jE(t){let e=I.useContext(tr).outlet;return e&&I.createElement(OE.Provider,{value:t},e)}function pw(t,e){let{relative:n}=e===void 0?{}:e,{future:i}=I.useContext(zr),{matches:o}=I.useContext(tr),{pathname:l}=$r(),u=JSON.stringify(Uf(o,i.v7_relativeSplatPath));return I.useMemo(()=>Bf(t,JSON.parse(u),l,n==="path"),[t,u,l,n])}function DE(t,e){return LE(t,e)}function LE(t,e,n,i){Ti()||Ze(!1);let{navigator:o}=I.useContext(zr),{matches:l}=I.useContext(tr),u=l[l.length-1],d=u?u.params:{};u&&u.pathname;let h=u?u.pathnameBase:"/";u&&u.route;let m=$r(),g;if(e){var y;let S=typeof e=="string"?Ci(e):e;h==="/"||(y=S.pathname)!=null&&y.startsWith(h)||Ze(!1),g=S}else g=m;let x=g.pathname||"/",k=x;if(h!=="/"){let S=h.replace(/^\//,"").split("/");k="/"+x.replace(/^\//,"").split("/").slice(S.length).join("/")}let P=iE(t,{pathname:k}),E=BE(P&&P.map(S=>Object.assign({},S,{params:Object.assign({},d,S.params),pathname:Ir([h,o.encodeLocation?o.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?h:Ir([h,o.encodeLocation?o.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),l,n,i);return e&&E?I.createElement(eu.Provider,{value:{location:Vo({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Lr.Pop}},E):E}function ME(){let t=HE(),e=TE(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return I.createElement(I.Fragment,null,I.createElement("h2",null,"Unexpected Application Error!"),I.createElement("h3",{style:{fontStyle:"italic"}},e),n?I.createElement("pre",{style:o},n):null,null)}const IE=I.createElement(ME,null);class FE extends I.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,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?I.createElement(tr.Provider,{value:this.props.routeContext},I.createElement(dw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function UE(t){let{routeContext:e,match:n,children:i}=t,o=I.useContext(Vf);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),I.createElement(tr.Provider,{value:e},i)}function BE(t,e,n,i){var o;if(e===void 0&&(e=[]),n===void 0&&(n=null),i===void 0&&(i=null),t==null){var l;if(!n)return null;if(n.errors)t=n.matches;else if((l=i)!=null&&l.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let u=t,d=(o=n)==null?void 0:o.errors;if(d!=null){let g=u.findIndex(y=>y.route.id&&(d==null?void 0:d[y.route.id])!==void 0);g>=0||Ze(!1),u=u.slice(0,Math.min(u.length,g+1))}let h=!1,m=-1;if(n&&i&&i.v7_partialHydration)for(let g=0;g<u.length;g++){let y=u[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(m=g),y.route.id){let{loaderData:x,errors:k}=n,P=y.route.loader&&x[y.route.id]===void 0&&(!k||k[y.route.id]===void 0);if(y.route.lazy||P){h=!0,m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}return u.reduceRight((g,y,x)=>{let k,P=!1,E=null,S=null;n&&(k=d&&y.route.id?d[y.route.id]:void 0,E=y.route.errorElement||IE,h&&(m<0&&x===0?(qE("route-fallback"),P=!0,S=null):m===x&&(P=!0,S=y.route.hydrateFallbackElement||null)));let b=e.concat(u.slice(0,x+1)),O=()=>{let T;return k?T=E:P?T=S:y.route.Component?T=I.createElement(y.route.Component,null):y.route.element?T=y.route.element:T=g,I.createElement(UE,{match:y,routeContext:{outlet:g,matches:b,isDataRoute:n!=null},children:T})};return n&&(y.route.ErrorBoundary||y.route.errorElement||x===0)?I.createElement(FE,{location:n.location,revalidation:n.revalidation,component:E,error:k,children:O(),routeC
138ontext:{outlet:null,matches:b,isDataRoute:!0}}):O()},null)}var mw=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(mw||{}),gw=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(gw||{});function VE(t){let e=I.useContext(Vf);return e||Ze(!1),e}function zE(t){let e=I.useContext(RE);return e||Ze(!1),e}function $E(t){let e=I.useContext(tr);return e||Ze(!1),e}function yw(t){let e=$E(),n=e.matches[e.matches.length-1];return n.route.id||Ze(!1),n.route.id}function HE(){var t;let e=I.useContext(dw),n=zE(),i=yw();return e!==void 0?e:(t=n.errors)==null?void 0:t[i]}function WE(){let{router:t}=VE(mw.UseNavigateStable),e=yw(gw.UseNavigateStable),n=I.useRef(!1);return fw(()=>{n.current=!0}),I.useCallback(function(o,l){l===void 0&&(l={}),n.current&&(typeof o=="number"?t.navigate(o):t.navigate(o,Vo({fromRouteId:e},l)))},[t,e])}const iy={};function qE(t,e,n){iy[t]||(iy[t]=!0)}function KE(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function QE(t){let{to:e,replace:n,state:i,relative:o}=t;Ti()||Ze(!1);let{future:l,static:u}=I.useContext(zr),{matches:d}=I.useContext(tr),{pathname:h}=$r(),m=hw(),g=Bf(e,Uf(d,l.v7_relativeSplatPath),h,o==="path"),y=JSON.stringify(g);return I.useEffect(()=>m(JSON.parse(y),{replace:n,state:i,relative:o}),[m,y,o,n,i]),null}function GE(t){return jE(t.context)}function It(t){Ze(!1)}function YE(t){let{basename:e="/",children:n=null,location:i,navigationType:o=Lr.Pop,navigator:l,static:u=!1,future:d}=t;Ti()&&Ze(!1);let h=e.replace(/^\/*/,"/"),m=I.useMemo(()=>({basename:h,navigator:l,static:u,future:Vo({v7_relativeSplatPath:!1},d)}),[h,d,l,u]);typeof i=="string"&&(i=Ci(i));let{pathname:g="/",search:y="",hash:x="",state:k=null,key:P="default"}=i,E=I.useMemo(()=>{let S=Ff(g,h);return S==null?null:{location:{pathname:S,search:y,hash:x,state:k,key:P},navigationType:o}},[h,g,y,x,k,P,o]);return E==null?null:I.createElement(zr.Provider,{value:m},I.createElement(eu.Provider,{children:n,value:E}))}function XE(t){let{children:e,location:n}=t;return DE(Jd(e),n)}new Promise(()=>{});function Jd(t,e){e===void 0&&(e=[]);let n=[];return I.Children.forEach(t,(i,o)=>{if(!I.isValidElement(i))return;let l=[...e,o];if(i.type===I.Fragment){n.push.apply(n,Jd(i.props.children,l));return}i.type!==It&&Ze(!1),!i.props.index||!i.props.children||Ze(!1);let u={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,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=Jd(i.props.children,l)),n.push(u)}),n}/** 139 * React Router DOM v6.30.3 140 * 141 * Copyright (c) Remix Software Inc. 142 * 143 * This source code is licensed under the MIT license found in the 144 * LICENSE.md file in the root directory of this source tree. 145 * 146 * @license MIT 147 */function Zd(){return Zd=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Zd.apply(this,arguments)}function JE(t,e){if(t==null)return{};var n={},i=Object.keys(t),o,l;for(l=0;l<i.length;l++)o=i[l],!(e.indexOf(o)>=0)&&(n[o]=t[o]);return n}function ZE(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function ek(t,e){return t.button===0&&(!e||e==="_self")&&!ZE(t)}const tk=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],nk="6";try{window.__reactRouterVersion=nk}catch{}const rk="startTransition",oy=VS[rk];function sk(t){let{basename:e,children:n,future:i,window:o}=t,l=I.useRef();l.current==null&&(l.current=nE({window:o,v5Compat:!0}));let u=l.current,[d,h]=I.useState({action:u.action,location:u.location}),{v7_startTransition:m}=i||{},g=I.useCallback(y=>{m&&oy?oy(()=>h(y)):h(y)},[h,m]);return I.useLayoutEffect(()=>u.listen(g),[u,g]),I.useEffect(()=>KE(i),[i]),I.createElement(YE,{basename:e,children:n,location:d.location,navigationType:d.action,navigator:u,future:i})}const ik=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ok=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_s=I.forwardRef(function(e,n){let{onClick:i,relative:o,reloadDocument:l,replace:u,state:d,target:h,to:m,preventScrollReset:g,viewTransition:y}=e,x=JE(e,tk),{basename:k}=I.useContext(zr),P,E=!1;if(typeof m=="string"&&ok.test(m)&&(P=m,ik))try{let T=new URL(window.location.href),D=m.startsWith("//")?new URL(T.protocol+m):new URL(m),B=Ff(D.pathname,k);
vendor: 6,311 bytes, line 147
147D.origin===T.origin&&B!=null?m=B+D.search+D.hash:E=!0}catch{}let S=AE(m,{relative:o}),b=ak(m,{replace:u,state:d,target:h,preventScrollReset:g,relative:o,viewTransition:y});function O(T){i&&i(T),T.defaultPrevented||b(T)}return I.createElement("a",Zd({},x,{href:P||S,onClick:E||l?i:O,ref:n,target:h}))});var ay;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(ay||(ay={}));var ly;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(ly||(ly={}));function ak(t,e){let{target:n,replace:i,state:o,preventScrollReset:l,relative:u,viewTransition:d}=e===void 0?{}:e,h=hw(),m=$r(),g=pw(t,{relative:u});return I.useCallback(y=>{if(ek(y,n)){y.preventDefault();let x=i!==void 0?i:$l(m)===$l(g);h(t,{replace:x,state:o,preventScrollReset:l,relative:u,viewTransition:d})}},[m,h,g,i,o,n,t,l,u,d])}function vw(t,e){return function(){return t.apply(e,arguments)}}const{toString:lk}=Object.prototype,{getPrototypeOf:Si}=Object,{iterator:ta,toStringTag:ww}=Symbol,Hl=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),zo=(t,e)=>{let n=t;const i=[];for(;n!=null&&n!==Object.prototype;){if(i.indexOf(n)!==-1)return!1;if(i.push(n),Hl(n,e))return!0;n=Si(n)}return!1},uk=(t,e)=>t!=null&&zo(t,e)?t[e]:void 0,zf=(t=>e=>{const n=lk.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),cn=t=>(t=t.toLowerCase(),e=>zf(e)===t),tu=t=>e=>typeof e===t,{isArray:Ps}=Array,Rs=tu("undefined");function Pi(t){return t!==null&&!Rs(t)&&t.constructor!==null&&!Rs(t.constructor)&&Vt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const xw=cn("ArrayBuffer");function ck(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&xw(t.buffer),e}const dk=tu("string"),Vt=tu("function"),bw=tu("number"),Ri=t=>t!==null&&typeof t=="object",fk=t=>t===!0||t===!1,Nl=t=>{if(!Ri(t))return!1;const e=Si(t);return(e===null||e===Object.prototype||Si(e)===null)&&!zo(t,ww)&&!zo(t,ta)},hk=t=>{if(!Ri(t)||Pi(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},pk=cn("Date"),mk=cn("File"),gk=t=>!!(t&&typeof t.uri<"u"),yk=t=>t&&typeof t.getParts<"u",vk=cn("Blob"),wk=cn("FileList"),xk=cn("Set"),bk=t=>Ri(t)&&Vt(t.pipe);function Sk(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const uy=Sk(),cy=typeof uy.FormData<"u"?uy.FormData:void 0,_k=t=>{if(!t)return!1;if(cy&&t instanceof cy)return!0;const e=Si(t);if(!e||e===Object.prototype||!Vt(t.append))return!1;const n=zf(t);return n==="formdata"||n==="object"&&Vt(t.toString)&&t.toString()==="[object FormData]"},Ek=cn("URLSearchParams"),[kk,Ck,Tk,Pk]=["ReadableStream","Request","Response","Headers"].map(cn),Rk=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function na(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,o;if(typeof t!="object"&&(t=[t]),Ps(t))for(i=0,o=t.length;i<o;i++)e.call(null,t[i],i,t);else{if(Pi(t))return;const l=n?Object.getOwnPropertyNames(t):Object.keys(t),u=l.length;let d;for(i=0;i<u;i++)d=l[i],e.call(null,t[d],d,t)}}function Sw(t,e){if(Pi(t))return null;e=e.toLowerCase();const n=Object.keys(t);let i=n.length,o;for(;i-- >0;)if(o=n[i],e===o.toLowerCase())return o;return null}const fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_w=t=>!Rs(t)&&t!==fs;function ef(...t){const{caseless:e,skipUndefined:n}=_w(this)&&this||{},i={},o=(l,u)=>{if(u==="__proto__"||u==="constructor"||u==="prototype")return;const d=e&&typeof u=="string"&&Sw(i,u)||u,h=Hl(i,d)?i[d]:void 0;Nl(h)&&Nl(l)?i[d]=ef(h,l):Nl(l)?i[d]=ef({},l):Ps(l)?i[d]=l.slice():(!n||!Rs(l))&&(i[d]=l)};for(let l=0,u=t.length;l<u;l++){const d=t[l];if(!d||Pi(d)||(na(d,o),typeof d!="object"||Ps(d)))continue;const h=Object.getOwnPropertySymbols(d);for(let m=0;m<h.length;m++){const g=h[m];Vk.call(d,g)&&o(d[g],g)}}return i}const Ak=(t,e,n,{allOwnKeys:i}={})=>(na(e,(o,l)=>{n&&Vt(o)?Object.defineProperty(t,l,{__proto__:null,value:vw(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,l,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),Nk=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ok=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{__proto__:null,value:e.prototype}),n&&Object.assign(t.prototype,n)},jk=(t,e,n,i)=>{let o,l,u;const d={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),l=o.length;l-- >0;)u=o[l],(!i||i(u,t,e))&&!d[u]&&(e[u]=t[u],d[u]=!0);t=n!==!1&&Si(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Dk=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return i!==-1&&i===n},Lk=t=>{if(!t)return null;if(Ps(t))return t;let e=t.length;if(!bw(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Mk=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Si(Uint8Array)),Ik=(t,e)=>{const i=(t&&t[ta]).call(t);let o;for(;(o=i.next())&&!o.done;){const l=o.value;e.call(t,l[0],l[1])}},Fk=(t,e)=>{let n;const i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},Uk=cn("HTMLFormElement"),Bk=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),{propertyIsEnumerable:Vk}=Object.prototype,zk=cn("RegExp"),Ew=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};na(n,(o,l)=>{let u;(u=e(o,l,t))!==!1&&(i[l]=u||o)}),Object.defineProperties(t,i)},$k=t=>{Ew(t,(e,n)=>{if(Vt(t)&&["arguments","caller","callee"].includes(n))return!1;const i=t[n];if(Vt(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Hk=(t,e)=>{const n={},i=o=>{o.forEach(l=>{n[l]=!0})};return Ps(t)?i(t):i(String(t).split(e)),n},Wk=()=>{},qk=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function Kk(t){return!!(t&&Vt(t.append)&&t[ww]==="FormData"&&t[ta])}const Qk=t=>{const e=new WeakSet,n=i=>{if(Ri(i)){if(e.has(i))return;if(Pi(i))return i;
147if(!("toJSON"in i)){e.add(i);let o;if(xk(i)){o=[];for(const l of i){const u=n(l);!Rs(u)&&o.push(u)}}else o=Ps(i)?[]:{},na(i,(l,u)=>{const d=n(l);!Rs(d)&&(o[u]=d)});return e.delete(i),o}}return i};return n(t)},Gk=cn("AsyncFunction"),Yk=t=>t&&(Ri(t)||Vt(t))&&Vt(t.then)&&Vt(t.catch),kw=((t,e)=>t?setImmediate:e?((n,i)=>(fs.addEventListener("message",({source:o,data:l})=>{o===fs&&l===n&&i.length&&i.shift()()},!1),o=>{i.push(o),fs.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Vt(fs.postMessage)),Xk=typeof queueMicrotask<"u"?queueMicrotask.bind(fs):typeof process<"u"&&process.nextTick||kw,Cw=t=>t!=null&&Vt(t[ta]),Jk=t=>t!=null&&zo(t,ta)&&Cw(t),A={isArray:Ps,isArrayBuffer:xw,isBuffer:Pi,isFormData:_k,isArrayBufferView:ck,isString:dk,isNumber:bw,isBoolean:fk,isObject:Ri,isPlainObject:Nl,isEmptyObject:hk,isReadableStream:kk,isRequest:Ck,isResponse:Tk,isHeaders:Pk,isUndefined:Rs,isDate:pk,isFile:mk,isReactNativeBlob:gk,isReactNative:yk,isBlob:vk,isRegExp:zk,isFunction:Vt,isStream:bk,isURLSearchParams:Ek,isTypedArray:Mk,isFileList:wk,forEach:na,merge:ef,extend:Ak,trim:Rk,stripBOM:Nk,inherits:Ok,toFlatObject:jk,kindOf:zf,kindOfTest:cn,endsWith:Dk,toArray:Lk,forEachEntry:Ik,matchAll:Fk,isHTMLForm:Uk,hasOwnProperty:Hl,hasOwnProp:Hl,hasOwnInPrototypeChain:zo,getSafeProp:uk,reduceDescriptors:Ew,freezeMethods:$k,toObjectSet:Hk,toCamelCase:Bk,noop:Wk,toFiniteNumber:qk,findKey:Sw,global:fs,isContextDefined:_w,isSpecCompliantForm:Kk,toJSONObject:Qk,isAsyncFn:Gk,isThenable:Yk,setImmediate:kw,asap:Xk,isIterable:Cw,isSafeIterable:Jk},Zk=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eC=t=>{const e={};let n,i,o;return t&&t.split(` 148`).forEach(function(u){o=u.indexOf(":"),n=u.substring(0,o).trim().toLowerCase(),i=u.substring(o+1).trim();const d=A.hasOwnProp(e,n);!n||d&&A.hasOwnProp(Zk,n)||(n==="set-cookie"?d?e[n].push(i):e[n]=[i]:e[n]=d?e[n]+", "+i:i)}),e};function tC(t){let e=0,n=t.length;for(;e<n;){const i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;n>e;){const i=t.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}const nC=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),rC=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function $f(t,e){return A.isArray(t)?t.map(n=>$f(n,e)):tC(String(t).replace(e,""))}const sC=t=>$f(t,nC),iC=t=>$f(t,rC);function Tw(t){const e=Object.create(null);return A.forEach(t.toJSON(),(n,i)=>{e[i]=iC(n)}),e}const dy=Symbol("internals");function xo(t){return t&&String(t).trim().toLowerCase()}function Ol(t){return t===!1||t==null?t:A.isArray(t)?t.map(Ol):sC(String(t))}function oC(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}const aC=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function cd(t){let e=0,n=t.length;for(;e<n;){const i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;n>e;){const i=t.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}function lC(t){const e=t.length-1;if(e<1||t.charCodeAt(0)!==34||t.charCodeAt(e)!==34)return t;let n="";for(let i=1;i<e;i++){const o=t.charCodeAt(i);if(o===34||o===92&&(i+=1,i>=e))return t;n+=t[i]}return n}function uC(t){const e=Object.create(null),n=String(t);let i=0,o=!1,l=!1;function u(d){const h=cd(n.slice(i,d)),m=h.indexOf("=");if(m<1)return;const g=cd(h.slice(0,m));if(!aC.test(g))return;const y=g.toLowerCase();if(y==="__proto__"||y==="constructor"||y==="prototype")return;const x=cd(h.slice(m+1));e[y]=lC(x)}for(let d=0;d<n.length;d++){const h=n.charCodeAt(d);o?l?l=!1:h===92?l=!0:h===34&&(o=!1):h===34?o=!0:(h===44||h===59)&&(u(d),i=d+1)}return u(n.length),e}const cC=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function dd(t,e,n,i,o){if(A.isFunction(i))return i.call(this,e,n);if(o&&(e=n),!!A.isString(e)){if(A.isString(i))return e.indexOf(i)!==-1;if(A.isRegExp(i))return i.test(e)}}function dC(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function fC(t,e){const n=A.toCamelCase(" "+e);["get","set","has"].forEach(i=>
vendor: 11,512 bytes, lines 148-149
148{Object.defineProperty(t,i+n,{__proto__:null,value:function(o,l,u){return this[i].call(this,e,o,l,u)},configurable:!0})})}let Tt=class{constructor(e){e&&this.set(e)}set(e,n,i){const o=this;function l(d,h,m){const g=xo(h);if(!g)return;const y=A.findKey(o,g);(!y||o[y]===void 0||m===!0||m===void 0&&o[y]!==!1)&&(o[y||h]=Ol(d))}const u=(d,h)=>A.forEach(d,(m,g)=>l(m,g,h));if(A.isPlainObject(e)||e instanceof this.constructor)u(e,n);else if(A.isString(e)&&(e=e.trim())&&!cC(e))u(eC(e),n);else if(A.isObject(e)&&A.isSafeIterable(e)){let d=Object.create(null),h,m;for(const g of e){if(!A.isArray(g))throw new TypeError("Object iterator must return a key-value pair");m=g[0],A.hasOwnProp(d,m)?(h=d[m],d[m]=A.isArray(h)?[...h,g[1]]:[h,g[1]]):d[m]=g[1]}u(d,n)}else e!=null&&l(n,e,i);return this}get(e,n){if(e=xo(e),e){const i=A.findKey(this,e);if(i){const o=this[i];if(!n)return o;if(n===!0)return oC(o);if(A.isFunction(n))return n.call(this,o,i);if(A.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=xo(e),e){const i=A.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||dd(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let o=!1;function l(u){if(u=xo(u),u){const d=A.findKey(i,u);d&&(!n||dd(i,i[d],d,n))&&(delete i[d],o=!0)}}return A.isArray(e)?e.forEach(l):l(e),o}clear(e){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const l=n[i];(!e||dd(this,this[l],l,e,!0))&&(delete this[l],o=!0)}return o}normalize(e){const n=this,i={};return A.forEach(this,(o,l)=>{const u=A.findKey(i,l);if(u){n[u]=Ol(o),delete n[l];return}const d=e?dC(l):String(l).trim();d!==l&&delete n[l],n[d]=Ol(o),i[d]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return A.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=e&&A.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` 149`)}getSetCookie(){const e=this.get("set-cookie");return A.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return uC(e)}static concat(e,...n){const i=new this(e);return n.forEach(o=>i.set(o)),i}static accessor(e){const i=(this[dy]=this[dy]={accessors:{}}).accessors,o=this.prototype;function l(u){const d=xo(u);i[d]||(fC(o,u),i[d]=!0)}return A.isArray(e)?e.forEach(l):l(e),this}};Tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(Tt.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}});A.freezeMethods(Tt);const Wl="[REDACTED ****]";function hC(t){if(A.hasOwnProp(t,"toJSON"))return!0;let e=Object.getPrototypeOf(t);for(;e&&e!==Object.prototype;){if(A.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function pC(t,e){const n=new Set(e.map(l=>String(l).toLowerCase())),i=[],o=l=>{if(l===null||typeof l!="object"||A.isBuffer(l))return l;if(i.indexOf(l)!==-1)return;l instanceof Tt&&(l=l.toJSON()),i.push(l);let u;if(A.isArray(l))u=[],l.forEach((d,h)=>{const m=o(d);A.isUndefined(m)||(u[h]=m)});else{if(!A.isPlainObject(l)&&hC(l))return i.pop(),l;u=Object.create(null);for(const[d,h]of Object.entries(l)){const m=n.has(d.toLowerCase())?Wl:o(h);A.isUndefined(m)||(u[d]=m)}}return i.pop(),u};return o(t)}function fy(t){try{return String(t)}catch{return""}}function mC(t){return t.errors.map(n=>{try{return n&&n.message?fy(n.message):fy(n)}catch{return""}}).filter(Boolean).join("; ")||t.name||"AggregateError"}let Y=class Pw extends Error{static from(e,n,i,o,l,u){let d=e.message;!d&&A.isArray(e.errors)&&e.errors.length&&(d=mC(e));const h=new Pw(d,n||e.code,i,o,l);return Object.defineProperty(h,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),h.name=e.name,e.status!=null&&h.status==null&&(h.status=e.status),u&&Object.assign(h,u),h}constructor(e,n,i,o,l){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),o&&(this.request=o),l&&(this.response=l,this.status=l.status)}toJSON(){const e=this.config,n=e&&A.hasOwnProp(e,"redact")?e.redact:void 0,i=A.isArray(n)&&n.length>0?pC(e,n):A.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:i,code:this.code,status:this.status}}};Y.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Y.ERR_BAD_OPTION="ERR_BAD_OPTION";Y.ECONNABORTED="ECONNABORTED";Y.ETIMEDOUT="ETIMEDOUT";Y.ECONNREFUSED="ECONNREFUSED";Y.ERR_NETWORK="ERR_NETWORK";Y.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Y.ERR_DEPRECATED="ERR_DEPRECATED";Y.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Y.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Y.ERR_CANCELED="ERR_CANCELED";Y.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Y.ERR_INVALID_URL="ERR_INVALID_URL";Y.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const gC=null,Rw=100;function tf(t){return A.isPlainObject(t)||A.isArray(t)}function Aw(t){return A.endsWith(t,"[]")?t.slice(0,-2):t}function fd(t,e,n){return t?t.concat(e).map(function(o,l){return o=Aw(o),!n&&l?"["+o+"]":o}).join(n?".":""):e}function yC(t){return A.isArray(t)&&!t.some(tf)}const vC=A.toFlatObject(A,{},null,function(e){return/^is[A-Z]/.test(e)});function nu(t,e,n){if(!A.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,T){return!A.isUndefined(T[O])});const i=n.metaTokens,o=n.visitor||P,l=n.dots,u=n.indexes,d=n.Blob||typeof Blob<"u"&&Blob,h=n.maxDepth===void 0?Rw:n.maxDepth,m=d&&A.isSpecCompliantForm(e),g=[];if(!A.isFunction(o))throw new TypeError("visitor must be a function");function y(b){if(b===null)return"";if(A.isDate(b))return b.toISOString();if(A.isBoolean(b))return b.toString();if(!m&&A.isBlob(b))throw new Y("Blob is not supported. Use a Buffer instead.");if(A.isArrayBuffer(b)||A.isTypedArray(b)){if(m&&typeof d=="function")return new d([b]);throw new Y("Blob is not supported. Use a Buffer instead.",Y.ERR_NOT_SUPPORT)}return b}function x(b){if(b>h)throw new Y("Object is too deeply nested ("+b+" levels). Max depth: "+h,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function k(b,O){if(h===1/0)return JSON.stringify(b);const T=[];return JSON.stringify(b,function(B,$){if(!A.isObject($))return $;for(;T.length&&T[T.length-1]!==this;)T.pop();return T.push($),x(O+T.length-1),$})}function P(b,O,T){let D=b;if(A.isReactNative(e)&&A.isReactNativeBlob(b))return e.append(fd(T,O,l),y(b)),!1;if(b&&!T&&typeof b=="object"){if(A.endsWith(O,"{}"))O=i?O:O.slice(0,-2),b=k(b,1);else if(A.isArray(b)&&yC(b)||(A.isFileList(b)||A.endsWith(O,"[]"))&&(D=A.toArray(b)))return O=Aw(O),D.forEach(function($,te){!(A.isUndefined($)||$===null)&&e.append(u===!0?fd([O],te,l):u===null?O:O+"[]",y($))}),!1}return tf(b)?!0:(e.append(fd(T,O,l),y(b)),!1)}const E=Object.assign(vC,{defaultVisitor:P,convertValue:y,isVisitable:tf});function S(b,O,T=0){if(!A.isUndefined(b)){if(x(T),g.indexOf(b)!==-1)throw new Error("Circular reference detected in "+O.join("."));g.push(b),A.forEach(b,function(B,$){(!(A.isUndefined(B)||B===null)&&o.call(e,B,A.isString($)?$.trim():$,O,E))===!0&&S(B,O?O.concat($):[$],T+1)}),g.pop()}}if(!A.isObject(t))throw new TypeError("data must be an object");return S(t),e}function hy(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(i){return e[i]})}function Hf(t,e){this._pairs=[],t&&nu(t,this,e)}const Nw=Hf.prototype;Nw.append=function(e,n){this._pairs.push([e,n])};Nw.toString=function(e){const n=e?i=>e.call(this,i,hy):hy;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function wC(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ow(t,e,n){if(!e)return t;t=t||"";const i=A.isFunction(n)?{serialize:n}:n,o=A.getSafeProp(i,"encode")||wC,l=A.getSafeProp(i,"serialize");let u;if(l?u=l(e,i):u=A.isURLSearchParams(e)?e.toString():new Hf(e,i).toString(o),u){const d=t.indexOf("#");d!==-1&&(t=t.slice(0,d)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class py{constructor(){this.handlers=[]}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){A.forEach(this.handlers,function(i){i!==null&&e(i)})}}const Wf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},xC=typeof URLSearchParams<"u"?URLSearchParams:Hf,bC=typeof FormData<"u"?FormData:null,SC=typeof Blob<"u"?Blob:null,_C={isBrowser:!0,classes:{URLSearchParams:xC,FormData:bC,Blob:SC},protocols:["http","https","file","blob","url","data"]},qf=typeof window<"u"&&typeof document<"u",nf=typeof navigator=="object"&&navigator||void 0,EC=qf&&(!nf||["ReactNative","NativeScript","NS"].indexOf(nf.product)<0),kC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",CC=qf&&window.location.href||"http://localhost",TC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qf,hasStandardBrowserEnv:EC,hasStandardBrowserWebWorkerEnv:kC,navigator:nf,origin:CC},Symbol.toStringTag,{value:"Module"})),vt={...TC,..._C};function PC(t,e){return nu(t,new vt.classes.URLSearchParams,{visitor:function(n,i,o,l){return vt.isNode&&A.isBuffer(n)?(this.append(i,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)},...e})}const my=Rw;function jw(t){if(t>my)throw new Y("FormData field is too deeply nested ("+t+" levels). Max depth: "+my,Y.ERR_FORM_DATA_DEPTH_EXCEEDED)}function RC(t){const e=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let i;for(;(i=n.exec(t))!==null;)jw(e.length),e.push(i[0]==="[]"?"":i[1]||i[0]);return e}function AC(t){const e={},n=Object.keys(t);let i;const o=n.length;let l;for(i=0;i<o;i++)l=n[i],e[l]=t[l];return e}function Dw(t){function e(n,i,o,l){jw(l);let u=n[l++];if(u==="__proto__")return!0;const d=Number.isFinite(+u),h=l>=n.length;return u=!u&&A.isArray(o)?o.length:u,h?(A.hasOwnProp(o,u)?o[u]=A.isArray(o[u])?o[u].concat(i):[o[u],i]:o[u]=i,!d):((!A.hasOwnProp(o,u)||!A.isObject(o[u]))&&(o[u]=[]),e(n,i,o[u],l)&&A.isArray(o[u])&&(o[u]=AC(o[u])),!d)}if(A.isFormData(t)&&A.isFunction(t.entries)){const n={};return A.forEachEntry(t,(i,o)=>{e(RC(i),o,n,0)}),n}return null}const ri=(t,e)=>t!=null&&A.hasOwnProp(t,e)?t[e]:void 0;function NC(t,e,n){if(A.isString(t))try{return(e||JSON.parse)(t),A.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}const ra={transitional:Wf,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,l=A.isObject(e);if(l&&A.isHTMLForm(e)&&(e=new FormData(e)),A.isFormData(e))return o?JSON.stringify(Dw(e)):e;if(A.isArrayBuffer(e)||A.isBuffer(e)||A.isStream(e)||A.isFile(e)||A.isBlob(e)||A.isReadableStream(e))return e;if(A.isArrayBufferView(e))return e.buffer;if(A.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;
vendor: 12,345 bytes, line 149
149if(l){const h=ri(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return PC(e,h).toString();if((d=A.isFileList(e))||i.indexOf("multipart/form-data")>-1){const m=ri(this,"env"),g=m&&m.FormData;return nu(d?{"files[]":e}:e,g&&new g,h)}}return l||o?(n.setContentType("application/json",!1),NC(e)):e}],transformResponse:[function(e){const n=ri(this,"transitional")||ra.transitional,i=n&&n.forcedJSONParsing,o=ri(this,"responseType"),l=o==="json";if(A.isResponse(e)||A.isReadableStream(e))return e;if(e&&A.isString(e)&&(i&&!o||l)){const d=!(n&&n.silentJSONParsing)&&l;try{return JSON.parse(e,ri(this,"parseReviver"))}catch(h){if(d)throw h.name==="SyntaxError"?Y.from(h,Y.ERR_BAD_RESPONSE,this,null,ri(this,"response")):h}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vt.classes.FormData,Blob:vt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch","query"],t=>{ra.headers[t]={}});function hd(t,e){const n=this||ra,i=e||n,o=Tt.from(i.headers);let l=i.data;return A.forEach(t,function(d){l=d.call(n,l,o.normalize(),e?e.status:void 0)}),o.normalize(),l}function Lw(t){return!!(t&&t.__CANCEL__)}let sa=class extends Y{constructor(e,n,i){super(e??"canceled",Y.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function Mw(t,e,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new Y("Request failed with status code "+n.status,n.status>=400&&n.status<500?Y.ERR_BAD_REQUEST:Y.ERR_BAD_RESPONSE,n.config,n.request,n))}function OC(t){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(t);return e&&e[1]||""}function jC(t,e){t=t||10;const n=new Array(t),i=new Array(t);let o=0,l=0,u;return e=e!==void 0?e:1e3,function(h){const m=Date.now(),g=i[l];u||(u=m),n[o]=h,i[o]=m;let y=l,x=0;for(;y!==o;)x+=n[y++],y=y%t;if(o=(o+1)%t,o===l&&(l=(l+1)%t),m-u<e)return;const k=g&&m-g;return k?Math.round(x*1e3/k):void 0}}function DC(t,e){let n=0,i=1e3/e,o,l;const u=(m,g=Date.now())=>{n=g,o=null,l&&(clearTimeout(l),l=null),t(...m)};return[(...m)=>{const g=Date.now(),y=g-n;y>=i?u(m,g):(o=m,l||(l=setTimeout(()=>{l=null,u(o)},i-y)))},()=>o&&u(o)]}const ql=(t,e,n=3)=>{let i=0;const o=jC(50,250);return DC(l=>{if(!l||typeof l.loaded!="number")return;const u=l.loaded,d=l.lengthComputable?l.total:void 0,h=Math.max(0,d!=null?Math.min(u,d):u),m=Math.max(0,h-i),g=o(m);i=Math.max(i,h);const y={loaded:h,total:d,progress:d?h/d:void 0,bytes:m,rate:g||void 0,estimated:g&&d?(d-h)/g:void 0,event:l,lengthComputable:d!=null,[e?"download":"upload"]:!0};t(y)},n)},gy=(t,e)=>{const n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},yy=(t,e=A.asap)=>(...n)=>e(()=>t(...n)),LC=vt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,vt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(vt.origin),vt.navigator&&/(msie|trident)/i.test(vt.navigator.userAgent)):()=>!0,MC=vt.hasStandardBrowserEnv?{write(t,e,n,i,o,l,u){if(typeof document>"u")return;const d=[`${t}=${encodeURIComponent(e)}`];A.isNumber(n)&&d.push(`expires=${new Date(n).toUTCString()}`),A.isString(i)&&d.push(`path=${i}`),A.isString(o)&&d.push(`domain=${o}`),l===!0&&d.push("secure"),A.isString(u)&&d.push(`SameSite=${u}`),document.cookie=d.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.split(";");for(let n=0;n<e.length;n++){const i=e[n].replace(/^\s+/,""),o=i.indexOf("=");if(o!==-1&&i.slice(0,o)===t)try{return decodeURIComponent(i.slice(o+1))}catch{return i.slice(o+1)}}return null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function IC(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function FC(t,e){if(!e)return t;let n=t.length;for(;n>0&&t.charCodeAt(n-1)===47;)n--;return t.slice(0,n)+"/"+e.replace(/^\/+/,"")}const UC=/^https?:(?!\/\/)/i,BC=/[\t\n\r]/g;function VC(t){let e=0;for(;e<t.length&&t.charCodeAt(e)<=32;)e++;return t.slice(e)}function zC(t){return VC(t).replace(BC,"")}function $C(t){return t&&t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,n,i="")=>`${n}${i}${Wl}`)}function HC(t){const e=t.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Wl}@`),n=e.indexOf("#"),o=(n===-1?e:e.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Wl}`);return n===-1?o:`${o}#${$C(e.slice(n+1))}`}function vy(t,e){if(typeof t=="string"){const n=zC(t);if(UC.test(n))throw new Y(`Invalid URL ${JSON.stringify(HC(n))}: missing "//" after protocol`,Y.ERR_INVALID_URL,e)}}function Iw(t,e,n,i){vy(e,i);let o=!IC(e);return t&&(o||n===!1)?(vy(t,i),FC(t,e)):e}const wy=t=>t instanceof Tt?{...t}:t,WC=t=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(t).concat(Object.getOwnPropertySymbols(t).filter(e=>Object.getOwnPropertyDescriptor(t,e).enumerable)):Object.keys(t);function As(t,e){t=t||{},e=e||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(g,y,x,k){return A.isPlainObject(g)&&A.isPlainObject(y)?A.merge.call({caseless:k},g,y):A.isPlainObject(y)?A.merge({},y):A.isArray(y)?y.slice():y}function o(g,y,x,k){if(A.isUndefined(y)){if(!A.isUndefined(g))return i(void 0,g,x,k)}else return i(g,y,x,k)}function l(g,y){if(!A.isUndefined(y))return i(void 0,y)}function u(g,y){if(A.isUndefined(y)){if(!A.isUndefined(g))return i(void 0,g)}else return i(void 0,y)}function d(g){const y=A.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!A.isUndefined(y))if(A.isPlainObject(y)){if(A.hasOwnProp(y,g))return y[g]}else return;const x=A.hasOwnProp(t,"transitional")?t.transitional:void 0;if(A.isPlainObject(x)&&A.hasOwnProp(x,g))return x[g]}function h(g,y,x){if(A.hasOwnProp(e,x))return i(g,y);if(A.hasOwnProp(t,x))return i(void 0,g)}const m={url:l,method:l,data:l,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,allowedSocketPaths:u,responseEncoding:u,validateStatus:h,headers:(g,y,x)=>o(wy(g),wy(y),x,!0)};return A.forEach(WC({...t,...e}),function(y){if(y==="__proto__"||y==="constructor"||y==="prototype")return;const x=A.hasOwnProp(m,y)?m[y]:o,k=A.hasOwnProp(t,y)?t[y]:void 0,P=A.hasOwnProp(e,y)?e[y]:void 0,E=x(k,P,y);A.isUndefined(E)&&x!==h||(n[y]=E)}),A.hasOwnProp(e,"validateStatus")&&A.isUndefined(e.validateStatus)&&d("validateStatusUndefinedResolves")===!1&&(A.hasOwnProp(t,"validateStatus")?n.validateStatus=i(void 0,t.validateStatus):delete n.validateStatus),n}const qC=["content-type","content-length"];function KC(t,e,n){if(n!=="content-only"){t.set(e);return}Object.entries(e||{}).forEach(([i,o])=>{qC.includes(i.toLowerCase())&&t.set(i,o)})}const QC=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16)));function Fw(t){const e=As({},t),n=x=>A.hasOwnProp(e,x)?e[x]:void 0,i=n("data");let o=n("withXSRFToken");const l=n("xsrfHeaderName"),u=n("xsrfCookieName");let d=n("headers");const h=n("auth"),m=n("baseURL"),g=n("allowAbsoluteUrls"),y=n("url");if(e.headers=d=Tt.from(d),e.url=Ow(Iw(m,y,g,e),n("params"),n("paramsSerializer")),h){const x=A.getSafeProp(h,"username")||"",k=A.getSafeProp(h,"password")||"";try{d.set("Authorization","Basic "+btoa(x+":"+(k?QC(k):"")))}catch(P){throw Y.from(P,Y.ERR_BAD_OPTION_VALUE,t)}}if(A.isFormData(i)&&(vt.hasStandardBrowserEnv||vt.hasStandardBrowserWebWorkerEnv||A.isReactNative(i)?d.setContentType(void 0):A.isFunction(i.getHeaders)&&KC(d,i.getHeaders(),n("formDataHeaderPolicy"))),vt.hasStandardBrowserEnv&&(A.isFunction(o)&&(o=o(e)),o===!0||o==null&&LC(e.url))){const k=l&&u&&MC.read(u);k&&d.set(l,k)}return e}const GC=typeof XMLHttpRequest<"u",YC=GC&&function(t){return new Promise(function(n,i){const o=Fw(t);let l=o.data;const u=Tt.from(o.headers).normalize();let{responseType:d,onUploadProgress:h,onDownloadProgress:m}=o,g,y,x,k,P;function E(){k&&k(),P&&P(),o.cancelToken&&o.cancelToken.unsubscribe(g),o.signal&&o.signal.removeEventListener("abort",g)}let S=new XMLHttpRequest;S.open(o.method.toUpperCase(),o.url,!0),S.timeout=o.timeout;function b(){if(!S)return;const T=Tt.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),B={data:!d||d==="text"||d==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:T,config:t,request:S};Mw(function(te){n(te),E()},function(te){i(te),E()},B),S=null}"onloadend"in S?S.onloadend=b:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.startsWith("file:"))||setTimeout(b)},S.onabort=function(){S&&(i(new Y("Request aborted",Y.ECONNABORTED,t,S)),E(),S=null)},S.onerror=function(D){const B=D&&D.message?D.message:"Network Error",$=new Y(B,Y.ERR_NETWORK,t,S);$.event=D||null,i($),E(),S=null},S.ontimeout=function(){let D=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const B=o.transitional||Wf;o.timeoutErrorMessage&&(D=o.timeoutErrorMessage),i(new Y(D,B.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,t,S)),E(),S=null},l===void 0&&u.setContentType(null),"setRequestHeader"in S&&A.forEach(Tw(u),function(D,B){S.setRequestHeader(B,D)}),A.isUndefined(o.withCredentials)||(S.withCredentials=!!o.withCredentials),d&&d!=="json"&&(S.responseType=o.responseType),m&&([x,P]=ql(m,!0),S.addEventListener("progress",x)),h&&S.upload&&([y,k]=ql(h),S.upload.addEventListener("progress",y),S.upload.addEventListener("loadend",k)),(o.cancelToken||o.signal)&&(g=T=>{S&&(i(!T||T.type?new sa(null,t,S):T),S.abort(),E(),S=null)},o.cancelToken&&o.cancelToken.subscribe(g),o.signal&&(o.signal.aborted?g():o.signal.addEventListener("abort",g)));const O=OC(o.url);if(O&&!vt.protocols.includes(O)){i(new Y("Unsupported protocol "+O+":",Y.ERR_BAD_REQUEST,t)),E();return}S.send(l||null)})},XC=(t,e)=>{if(t=t?t.filter(Boolean):[],!e&&!t.length)return;const n=new AbortController;let i=!1;const o=function(h){if(!i){i=!0,u();const m=h instanceof Error?h:this.reason;n.abort(m instanceof Y?m:new sa(m instanceof Error?m.message:m))}};let l=e&&setTimeout(()=>{l=null,o(new Y(`timeout of ${e}ms exceeded`,Y.ETIMEDOUT))},e);const u=()=>{t&&(l&&clearTimeout(l),l=null,t.forEach(h=>{h.unsubscribe?h.unsubscribe(o):h.removeEventListener("abort",o)}),t=null)};t.forEach(h=>{if(!i){if(h.aborted){o.call(h);return}h.addEventListener("abort",o,{once:!0})}});const{signal:d}=n;return d.unsubscribe=()=>A.asap(u),d},JC=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let i=0,o;for(;i<n;)o=i+e,yield t.slice(i,o),i=o},ZC=async function*(t,e){for await(const n of eT(t))yield*JC(n,e)},eT=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:i}=await e.read();if(n)break;yield i}}finally{await e.cancel()}},xy=(t,e,n,i)=>{const o=ZC(t,e);let l=0,u,d=h=>{u||(u=!0,i&&i(h))};return new ReadableStream({async pull(h){try{const{done:m,value:g}=await o.next();if(m){d(),h.close();return}let y=g.byteLength;if(n){let x=l+=y;n(x)}h.enqueue(new Uint8Array(g))}catch(m){throw d(m),m}},cancel(h){return d(h),o.return()}},{highWaterMark:2})},by=t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102,Uw=(t,e,n)=>e+2<n&&by(t.charCodeAt(e+1))&&by(t.charCodeAt(e+2)),Sy=t=>t<=57?t-48:(t&223)-55,tT=t=>t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===43||t===47||t===45||t===95,nT=t=>t===9||t===10||t===12||t===13||t===32,rT=t=>{const e=Math.floor(t/4),n=t%4;return e*3+(n===2?1:n===3?2:0)},sT=t=>{const e=t.length;let n=0;return e>0&&t.charCodeAt(e-1)===61&&(n++,e>1&&t.charCodeAt(e-2)===61&&n++),Math.floor((e-n)*3/4)},iT=t=>{const e=t.length;let n=0,i=0,o=!1;for(let l=0;l<e;l++){let u=t.charCodeAt(l);if(u===37&&Uw(t,l,e)&&(u=Sy(t.charCodeAt(l+1))*16+Sy(t.charCodeAt(l+2)),l+=2),!nT(u)){if(u===61){i++;continue}if(!tT(u)||i>0){o=!0;continue}n++}}return o||i>2||i>0&&(n+i)%4!==0||n%4===1?sT(t):rT(n)},oT=(t,e)=>{if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;const n=t.indexOf(",");if(n<0)return 0;const i=t.slice(5,n),o=t.slice(n+1);if(/;base64/i.test(i))return e(o);let u=0;for(let d=0,h=o.length;d<h;
vendor: 4,639 bytes, line 149
149d++){const m=o.charCodeAt(d);if(m===37&&Uw(o,d,h))u+=1,d+=2;else if(m<128)u+=1;else if(m<2048)u+=2;else if(m>=55296&&m<=56319&&d+1<h){const g=o.charCodeAt(d+1);g>=56320&&g<=57343?(u+=4,d++):u+=3}else u+=3}return u};function aT(t){const e=typeof t=="string"?t.indexOf("#"):-1;return oT(e===-1?t:t.slice(0,e),iT)}const Kf="1.19.0",_y=64*1024,{isFunction:Sl}=A,lT=t=>encodeURIComponent(t).replace(/%([0-9A-F]{2})/gi,(e,n)=>String.fromCharCode(parseInt(n,16))),Ey=t=>{if(!A.isString(t))return t;try{return decodeURIComponent(t)}catch{return t}},ky=(t,...e)=>{try{return!!t(...e)}catch{return!1}},uT=t=>{const e=t.indexOf("://");let n=t;return e!==-1&&(n=n.slice(e+3)),n.includes("@")||n.includes(":")},cT=t=>{const e=A.global!==void 0&&A.global!==null?A.global:globalThis,{ReadableStream:n,TextEncoder:i}=e;t=A.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},t);const{fetch:o,Request:l,Response:u}=t,d=o?Sl(o):typeof fetch=="function",h=Sl(l),m=Sl(u);if(!d)return!1;const g=d&&Sl(n),y=d&&(typeof i=="function"?(b=>O=>b.encode(O))(new i):async b=>new Uint8Array(await new l(b).arrayBuffer())),x=h&&g&&ky(()=>{let b=!1;const O=new l(vt.origin,{body:new n,method:"POST",get duplex(){return b=!0,"half"}}),T=O.headers.has("Content-Type");return O.body!=null&&O.body.cancel(),b&&!T}),k=m&&g&&ky(()=>A.isReadableStream(new u("").body)),P={stream:k&&(b=>b.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!P[b]&&(P[b]=(O,T)=>{let D=O&&O[b];if(D)return D.call(O);throw new Y(`Response type '${b}' is not supported`,Y.ERR_NOT_SUPPORT,T)})});const E=async b=>{if(b==null)return 0;if(A.isBlob(b))return b.size;if(A.isSpecCompliantForm(b))return(await new l(vt.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(A.isArrayBufferView(b)||A.isArrayBuffer(b))return b.byteLength;if(A.isURLSearchParams(b)&&(b=b+""),A.isString(b))return(await y(b)).byteLength},S=async(b,O)=>{const T=A.toFiniteNumber(b.getContentLength());return T??E(O)};return async b=>{let{url:O,method:T,data:D,signal:B,cancelToken:$,timeout:te,onDownloadProgress:U,onUploadProgress:Z,responseType:le,headers:be,withCredentials:De="same-origin",fetchOptions:Se,maxContentLength:ke,maxBodyLength:Ie}=Fw(b);const Ae=A.isNumber(ke)&&ke>-1,he=A.isNumber(Ie)&&Ie>-1,Q=G=>A.hasOwnProp(b,G)?b[G]:void 0;let oe=o||fetch;le=le?(le+"").toLowerCase():"text";let V=XC([B,$&&$.toAbortSignal()],te),j=null;const z=V&&V.unsubscribe&&(()=>{V.unsubscribe()});let me,ge=null;const de=()=>new Y("Request body larger than maxBodyLength limit",Y.ERR_BAD_REQUEST,b,j);try{let G;const we=Q("auth");if(we){const xe=A.getSafeProp(we,"username")||"",ft=A.getSafeProp(we,"password")||"";G={username:xe,password:ft}}if(uT(O)){const xe=new URL(O,vt.origin);if(!G&&(xe.username||xe.password)){const ft=Ey(xe.username),fn=Ey(xe.password);G={username:ft,password:fn}}(xe.username||xe.password)&&(xe.username="",xe.password="",O=xe.href)}if(G&&(be.delete("authorization"),be.set("Authorization","Basic "+btoa(lT((G.username||"")+":"+(G.password||""))))),Ae&&typeof O=="string"&&O.startsWith("data:")&&aT(O)>ke)throw new Y("maxContentLength size of "+ke+" exceeded",Y.ERR_BAD_RESPONSE,b,j);if(he&&T!=="get"&&T!=="head"){const xe=await E(D);if(typeof xe=="number"&&isFinite(xe)&&(me=xe,xe>Ie))throw de()}const Ce=he&&(A.isReadableStream(D)||A.isStream(D)),ve=(xe,ft,fn)=>xy(xe,_y,hn=>{if(he&&hn>Ie)throw ge=de();ft&&ft(hn)},fn);if(x&&T!=="get"&&T!=="head"&&(Z||Ce)){if(me=me??await S(be,D),me!==0||Ce){let xe=new l(O,{method:"POST",body:D,duplex:"half"}),ft;if(A.isFormData(D)&&(ft=xe.headers.get("content-type"))&&be.setContentType(ft),xe.body){const[fn,hn]=Z&&gy(me,ql(yy(Z)))||[];D=ve(xe.body,fn,hn)}}}else if(Ce&&!h&&g&&T!=="get"&&T!=="head")D=ve(D);else if(Ce&&h&&!x&&T!=="get"&&T!=="head")throw new Y("Stream request bodies are not supported by the current fetch implementation",Y.ERR_NOT_SUPPORT,b,j);A.isString(De)||(De=De?"include":"omit");const ot=h&&"credentials"in l.prototype;if(A.isFormData(D)){const xe=be.getContentType();xe&&/^multipart\/form-data/i.test(xe)&&!/boundary=/i.test(xe)&&be.delete("content-type")}be.set("User-Agent","axios/"+Kf,!1);const Qt={...Se,signal:V,method:T.toUpperCase(),headers:Tw(be.normalize()),body:D,duplex:"half",credentials:ot?De:void 0};j=h&&new l(O,Qt);let dt=await(h?oe(j,Se):oe(O,Qt));const dn=Tt.from(dt.headers);if(Ae){const xe=A.toFiniteNumber(dn.getContentLength());if(xe!=null&&xe>ke)throw new Y("maxContentLength size of "+ke+" exceeded",Y.ERR_BAD_RESPONSE,b,j)}const Gt=k&&(le==="stream"||le==="response");if(k&&dt.body&&(U||Ae||Gt&&z)){const xe={};["status","statusText","headers"].forEach(Fn=>{xe[Fn]=dt[Fn]});
vendor: 4,616 bytes, lines 149-151
149const ft=A.toFiniteNumber(dn.getContentLength()),[fn,hn]=U&&gy(ft,ql(yy(U),!0))||[];let nr=0;const rr=Fn=>{if(Ae&&(nr=Fn,nr>ke))throw new Y("maxContentLength size of "+ke+" exceeded",Y.ERR_BAD_RESPONSE,b,j);fn&&fn(Fn)};dt=new u(xy(dt.body,_y,rr,()=>{hn&&hn(),z&&z()}),xe)}le=le||"text";let Yt=await P[A.findKey(P,le)||"text"](dt,b);if(Ae&&!k&&!Gt){let xe;if(Yt!=null&&(typeof Yt.byteLength=="number"?xe=Yt.byteLength:typeof Yt.size=="number"?xe=Yt.size:typeof Yt=="string"&&(xe=typeof i=="function"?new i().encode(Yt).byteLength:Yt.length)),typeof xe=="number"&&xe>ke)throw new Y("maxContentLength size of "+ke+" exceeded",Y.ERR_BAD_RESPONSE,b,j)}return!Gt&&z&&z(),await new Promise((xe,ft)=>{Mw(xe,ft,{data:Yt,headers:Tt.from(dt.headers),status:dt.status,statusText:dt.statusText,config:b,request:j})})}catch(G){if(z&&z(),V&&V.aborted&&V.reason instanceof Y){const we=V.reason;throw we.config=b,j&&(we.request=j),G!==we&&Object.defineProperty(we,"cause",{__proto__:null,value:G,writable:!0,enumerable:!1,configurable:!0}),we}if(ge)throw j&&!ge.request&&(ge.request=j),ge;if(G instanceof Y)throw j&&!G.request&&(G.request=j),G;if(G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)){const we=new Y("Network Error",Y.ERR_NETWORK,b,j,G&&G.response);throw Object.defineProperty(we,"cause",{__proto__:null,value:G.cause||G,writable:!0,enumerable:!1,configurable:!0}),we}throw Y.from(G,G&&G.code,b,j,G&&G.response)}}},dT=new Map,Bw=t=>{let e=t&&t.env||{};const{fetch:n,Request:i,Response:o}=e,l=[i,o,n];let u=l.length,d=u,h,m,g=dT;for(;d--;)h=l[d],m=g.get(h),m===void 0&&g.set(h,m=d?new Map:cT(e)),g=m;return m};Bw();const Qf={http:gC,xhr:YC,fetch:{get:Bw}};A.forEach(Qf,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(t,"adapterName",{__proto__:null,value:e})}});const Cy=t=>`- ${t}`,fT=t=>A.isFunction(t)||t===null||t===!1;function hT(t,e){t=A.isArray(t)?t:[t];const{length:n}=t;let i,o;const l={};for(let u=0;u<n;u++){i=t[u];let d;if(o=i,!fT(i)&&(o=Qf[(d=String(i)).toLowerCase()],o===void 0))throw new Y(`Unknown adapter '${d}'`);if(o&&(A.isFunction(o)||(o=o.get(e))))break;l[d||"#"+u]=o}if(!o){const u=Object.entries(l).map(([h,m])=>`adapter ${h} `+(m===!1?"is not supported by the environment":"is not available in the build"));let d=n?u.length>1?`since : 150`+u.map(Cy).join(` 151`):" "+Cy(u[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+d,Y.ERR_NOT_SUPPORT)}return o}const Vw={getAdapter:hT,adapters:Qf};function pd(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new sa(null,t)}function md(t){return pd(t),t.headers=Tt.from(t.headers),t.data=hd.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Vw.getAdapter(t.adapter||ra.adapter,t)(t).then(function(i){pd(t),t.response=i;try{i.data=hd.call(t,t.transformResponse,i)}finally{delete t.response}return i.headers=Tt.from(i.headers),i},function(i){if(!Lw(i)&&(pd(t),i&&i.response)){t.response=i.response;try{i.response.data=hd.call(t,t.transformResponse,i.response)}finally{delete t.response}i.response.headers=Tt.from(i.response.headers)}return Promise.reject(i)})}const ru={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ru[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const Ty={};ru.transitional=function(e,n,i){function o(l,u){return"[Axios v"+Kf+"] Transitional option '"+l+"'"+u+(i?". "+i:"")}return(l,u,d)=>{if(e===!1)throw new Y(o(u," has been removed"+(n?" in "+n:"")),Y.ERR_DEPRECATED);return n&&!Ty[u]&&(Ty[u]=!0,console.warn(o(u," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(l,u,d):!0}};ru.spelling=function(e){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function pT(t,e,n){if(typeof t!="object"||t===null)throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let o=i.length;for(;o-- >0;){const l=i[o],u=Object.prototype.hasOwnProperty.call(e,l)?e[l]:void 0;if(u){const d=t[l],h=d===void 0||u(d,l,t);if(h!==!0)throw new Y("option "+l+" must be "+h,Y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Y("Unknown option "+l,Y.ERR_BAD_OPTION)}}const jl={assertOptions:pT,validators:ru},_t=jl.validators;let Es=class{constructor(e){this.defaults=e||{},this.interceptors={request:new py,response:new py}}async request(e,n){try{return await this._request(e,n)}catch(i){if(i instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const l=(()=>
vendor: 4,063 bytes, lines 151-155
151{if(!o.stack)return"";const u=o.stack.indexOf(` 152`);return u===-1?"":o.stack.slice(u+1)})();try{if(!i.stack)i.stack=l;else if(l){const u=l.indexOf(` 153`),d=u===-1?-1:l.indexOf(` 154`,u+1),h=d===-1?"":l.slice(d+1);String(i.stack).endsWith(h)||(i.stack+=` 155`+l)}}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=As(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:l}=n;i!==void 0&&jl.assertOptions(i,{silentJSONParsing:_t.transitional(_t.boolean),forcedJSONParsing:_t.transitional(_t.boolean),clarifyTimeoutError:_t.transitional(_t.boolean),legacyInterceptorReqResOrdering:_t.transitional(_t.boolean),advertiseZstdAcceptEncoding:_t.transitional(_t.boolean),validateStatusUndefinedResolves:_t.transitional(_t.boolean)},!1),o!=null&&(A.isFunction(o)?n.paramsSerializer={serialize:o}:jl.assertOptions(o,{encode:_t.function,serialize:_t.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),jl.assertOptions(n,{baseUrl:_t.spelling("baseURL"),withXsrfToken:_t.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u=l&&A.merge(l.common,l[n.method]);l&&A.forEach(["delete","get","head","post","put","patch","query","common"],P=>{delete l[P]}),n.headers=Tt.concat(u,l);const d=[];let h=!0;this.interceptors.request.forEach(function(E){if(typeof E.runWhen=="function"&&E.runWhen(n)===!1)return;h=h&&E.synchronous;const S=n.transitional||Wf;S&&S.legacyInterceptorReqResOrdering?d.unshift(E.fulfilled,E.rejected):d.push(E.fulfilled,E.rejected)});const m=[];this.interceptors.response.forEach(function(E){m.push(E.fulfilled,E.rejected)});let g,y=0,x;if(!h){const P=[md.bind(this),void 0];for(P.unshift(...d),P.push(...m),x=P.length,g=Promise.resolve(n);y<x;)g=g.then(P[y++],P[y++]);return g}x=d.length;let k=n;for(;y<x;){const P=d[y++],E=d[y++];try{k=P?P(k):k}catch(S){if(!E){g=Promise.reject(S);break}try{const b=E.call(this,S);A.isThenable(b)&&(g=Promise.resolve(b).then(()=>md.call(this,k)))}catch(b){g=Promise.reject(b)}break}}if(!g)try{g=md.call(this,k)}catch(P){g=Promise.reject(P)}for(y=0,x=m.length;y<x;)g=g.then(m[y++],m[y++]);return g}getUri(e){e=As(this.defaults,e);const n=Iw(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Ow(n,e.params,e.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(e){Es.prototype[e]=function(n,i){return this.request(As(i||{},{method:e,url:n,data:i&&A.hasOwnProp(i,"data")?i.data:void 0}))}});A.forEach(["post","put","patch","query"],function(e){function n(i){return function(l,u,d){return this.request(As(d||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:l,data:u}))}}Es.prototype[e]=n(),e!=="query"&&(Es.prototype[e+"Form"]=n(!0))});let mT=class zw{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const i=this;this.promise.then(o=>{if(!i._listeners)return;let l=i._listeners.length;for(;l-- >0;)i._listeners[l](o);i._listeners=null}),this.promise.then=o=>{let l;const u=new Promise(d=>{i.subscribe(d),l=d}).then(o);return u.cancel=function(){i.unsubscribe(l)},u},e(function(l,u,d){i.reason||(i.reason=new sa(l,u,d),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=i=>{e.abort(i)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new zw(function(o){e=o}),cancel:e}}};function gT(t){return function(n){return t.apply(null,n)}}function yT(t){return A.isObject(t)&&t.isAxiosError===!0}const rf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
155alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(rf).forEach(([t,e])=>{rf[e]=t});function $w(t){const e=new Es(t),n=vw(Es.prototype.request,e);return A.extend(n,Es.prototype,e,{allOwnKeys:!0}),A.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return $w(As(t,o))},n}const et=$w(ra);et.Axios=Es;et.CanceledError=sa;et.CancelToken=mT;et.isCancel=Lw;et.VERSION=Kf;et.toFormData=nu;et.AxiosError=Y;et.Cancel=et.CanceledError;et.all=function(e){return Promise.all(e)};et.spread=gT;et.isAxiosError=yT;et.mergeConfig=As;et.AxiosHeaders=Tt;et.formToJSON=t=>Dw(A.isHTMLForm(t)?new FormData(t):t);et.getAdapter=Vw.getAdapter;et.HttpStatusCode=rf;et.default=et;const{Axios:k3,AxiosError:C3,CanceledError:T3,isCancel:P3,CancelToken:R3,VERSION:A3,all:N3,Cancel:O3,isAxiosError:j3,spread:D3,toFormData:L3,AxiosHeaders:M3,HttpStatusCode:I3,formToJSON:F3,getAdapter:U3,mergeConfig:B3,create:V3}=et,Hw=typeof window>"u",Py=!Hw&&window.self!==window.top,vT=!Hw&&typeof document>"u",gd=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),mt=[];for(let t=0;t<256;++t)mt.push((t+256).toString(16).slice(1));function wT(t,e=0){return(mt[t[e+0]]+mt[t[e+1]]+mt[t[e+2]]+mt[t[e+3]]+"-"+mt[t[e+4]]+mt[t[e+5]]+"-"+mt[t[e+6]]+mt[t[e+7]]+"-"+mt[t[e+8]]+mt[t[e+9]]+"-"+mt[t[e+10]]+mt[t[e+11]]+mt[t[e+12]]+mt[t[e+13]]+mt[t[e+14]]+mt[t[e+15]]).toLowerCase()}let yd;const xT=new Uint8Array(16);function bT(){if(!yd){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");yd=crypto.getRandomValues.bind(crypto)}return yd(xT)}const ST=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ry={randomUUID:ST};function _T(t,e,n){var o;t=t||{};const i=t.random??((o=t.rng)==null?void 0:o.call(t))??bT();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=i[6]&15|64,i[8]=i[8]&63|128,wT(i)}function ET(t,e,n){return Ry.randomUUID&&!t?Ry.randomUUID():_T(t)}const bo=typeof window<"u"?window:{base44SharedInstances:{}};function kT(t,e){return bo.base44SharedInstances||(bo.base44SharedInstances={}),bo.base44SharedInstances[t]||(bo.base44SharedInstances[t]={instance:e()}),bo.base44SharedInstances[t].instance}const CT="__user_heartbeat_event__",TT="__initialization_event__",PT="__session_duration_event__",Ay="analytics-enable",Ny="base44_analytics_session_id",RT={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},AT="analytics",Fe=kT(AT,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...RT,...FT()}})),NT=({axiosClient:t,serverUrl:e,appId:n,userAuthModule:i})=>{var o;const{maxQueueSize:l,throttleTime:u,batchSize:d}=Fe.config;if(!(!((o=Fe.config)===null||o===void 0)&&o.enabled)||vT)return{track:()=>{},cleanup:()=>{}};let h;const m=`${e}/api/apps/${n}/analytics/track/batch`,g=async T=>{await t.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:T}})},y=T=>{try{const D=JSON.stringify({events:T}),B=new Blob([D],{type:"application/json"});return typeof navigator>"u"||D.length>6e4||!navigator.sendBeacon(m,B)}catch{return!1}},x=async(T,D={})=>
155{if(T.length===0)return;const B=await IT(i),$=T.map(MT(B));try{(!D.isBeacon||!y($))&&await g($)}catch{}},k=()=>{jy(x,{throttleTime:u,batchSize:d})},P=T=>{if(Fe.requestsQueue.length>=l)return;const D=LT();Fe.requestsQueue.push({...T,...D}),k()},E=()=>{jy(x,{throttleTime:u,batchSize:d}),h=Dy(P),jT()},S=()=>{Oy(),h==null||h(),DT(P);const T=Fe.requestsQueue.splice(0);x(T,{isBeacon:!0})},b=()=>{typeof window>"u"||(document.visibilityState==="hidden"?S():document.visibilityState==="visible"&&E())},O=()=>{Oy(),h==null||h(),typeof window<"u"&&window.removeEventListener("visibilitychange",b)};return k(),h=Dy(P),OT(P),typeof window<"u"&&window.addEventListener("visibilitychange",b),{track:P,cleanup:O}};function Oy(){Fe.isProcessing=!1}async function jy(t,e){if(Fe.isProcessing)return;Fe.isProcessing=!0;const{throttleTime:n=1e3,batchSize:i=30}=e??{};for(;Fe.isProcessing&&Fe.requestsQueue.length>0;){const o=Fe.requestsQueue.splice(0,i);o.length&&await t(o),await new Promise(l=>setTimeout(l,n))}Fe.isProcessing=!1}function Dy(t){var e;if(Fe.isHeartBeatProcessing||((e=Fe.config.heartBeatInterval)!==null&&e!==void 0?e:0)<10)return()=>{};Fe.isHeartBeatProcessing=!0;const n=setInterval(()=>{t({eventName:CT})},Fe.config.heartBeatInterval);return()=>{clearInterval(n),Fe.isHeartBeatProcessing=!1}}function OT(t){typeof window>"u"||Fe.wasInitializationTracked||(Fe.wasInitializationTracked=!0,t({eventName:TT,properties:{referrer:document==null?void 0:document.referrer}}))}function jT(){typeof window>"u"||Fe.sessionStartTime!==null||(Fe.sessionStartTime=new Date().toISOString())}function DT(t){if(typeof window>"u"||Fe.sessionStartTime===null)return;const e=new Date().getTime()-new Date(Fe.sessionStartTime).getTime();Fe.sessionStartTime=null,t({eventName:PT,properties:{sessionDuration:e}})}function LT(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function MT(t){return e=>({event_name:e.eventName,properties:e.properties,timestamp:e.timestamp,page_url:e.pageUrl,...t})}let vd=null;async function IT(t){if(!Fe.sessionContext){if(!vd){const e=Gf();vd=t.me().then(n=>({user_id:n.id,session_id:e})).catch(()=>({user_id:null,session_id:e}))}Fe.sessionContext=await vd}return Fe.sessionContext}function FT(){if(typeof window>"u"||!window.location)return;const e=new URLSearchParams(window.location.search).get(Ay);if(e==null||!e.length)return;const n=new URLSearchParams(window.location.search);n.delete(Ay);const i=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",i),{enabled:e==="true"}}function Gf(){if(typeof window>"u")return gd();try{const t=localStorage.getItem(Ny);if(!t){const e=gd();return localStorage.setItem(Ny,e),e}return t}catch{return gd()}}class UT extends Error{constructor(e,n,i,o,l){super(e),this.name="Base44Error",this.status=n,this.code=i,this.data=o,this.originalError=l}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function ko({baseURL:t,headers:e={},token:n,interceptResponses:i=!0,onError:o}){const l=et.create({baseURL:t,headers:{"Content-Type":"application/json",Accept:"application/json",...e}});return n&&(l.defaults.headers.common.Authorization=`Bearer ${n}`),l.interceptors.request.use(u=>{typeof window<"u"&&window.location&&(u.headers.set("X-Origin-URL",window.location.href),u.headers.get("Authorization")||u.headers.set("X-Base44-Anonymous-Id",Gf()));const d=ET();if(u.requestId=d,Py)try{window.parent.postMessage({type:"api-request-start",requestId:d,data:{url:t+u.url,method:u.method,body:u.data instanceof FormData?"[FormData object]":u.data}},"*")}catch{}return u}),i&&l.interceptors.response.use(u=>{var d;const h=(d=u.config)===null||d===void 0?void 0:d.requestId;try{Py&&h&&window.parent.postMessage({type:"api-request-end",requestId:h,data:{statusCode:u.status,response:u.data}},"*")}catch{}return u.data},u=>{var d,h,m,g,y,x,k,P;const E=((h=(d=u.response)===null||d===void 0?void 0:d.data)===null||h===void 0?void 0:h.message)||((g=(m=u.response)===null||m===void 0?void 0:m.data)===null||g===void 0?void 0:g.detail)||u.message,S=new UT(E,(y=u.response)===null||y===void 0?void 0:y.status,(k=(x=u.response)===null||x===void 0?void 0:x.data)===null||k===void 0?void 0:k.code,(P=u.response)===null||P===void 0?void 0:P.data,u);return o==null||o(S),Promise.reject(S)}),l}function Ly(t){const{axios:e,appId:n,getSocket:i}=t;return new Proxy({},{get(o,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return VT(e,n,l,i)}})}function BT(t){var e;try{const n=JSON.parse(t);
155return{type:n.type,data:n.data,id:n.id||((e=n.data)===null||e===void 0?void 0:e.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}function VT(t,e,n,i){const o=`/apps/${e}/entities/${n}`;return{async list(l,u,d,h){const m={};return l&&(m.sort=l),u&&(m.limit=u),d&&(m.skip=d),h&&(m.fields=Array.isArray(h)?h.join(","):h),t.get(o,{params:m})},async filter(l,u,d,h,m){const g={q:JSON.stringify(l)};return u&&(g.sort=u),d&&(g.limit=d),h&&(g.skip=h),m&&(g.fields=Array.isArray(m)?m.join(","):m),t.get(o,{params:g})},async get(l){return t.get(`${o}/${l}`)},async create(l){return t.post(o,l)},async update(l,u){return t.put(`${o}/${l}`,u)},async delete(l){return t.delete(`${o}/${l}`)},async deleteMany(l){return t.delete(o,{data:l})},async bulkCreate(l){return t.post(`${o}/bulk`,l)},async updateMany(l,u){return t.patch(`${o}/update-many`,{query:l,data:u})},async bulkUpdate(l){return t.put(`${o}/bulk`,l)},async importEntities(l){const u=new FormData;return u.append("file",l,l.name),t.post(`${o}/import`,u,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(l){const u=`entities:${e}:${n}`;return i().subscribeToRoom(u,{update_model:m=>{var g;const y=BT(m.data);if(y){y.type!=="delete"&&(!((g=y.data)===null||g===void 0)&&g._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${y.id} was oversize and got slimmed for transport. Fields >10 KB are empty and the rest of the record may be a stub. Call \`entities.${n}.get("${y.id}")\` to fetch the full record.`);try{l(y)}catch(x){console.error("[Base44 SDK] Subscription callback error:",x)}}}})}}}function zT(t,e){return{async call(n,i,o){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(i!=null&&i.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:l,queryParams:u,...d}=o??{},h={...d,...l&&{path_params:l},...u&&{query_params:u}};return await t.post(`/apps/${e}/integrations/custom/${n}/${i}`,h)}}}function My(t,e){const n=zT(t,e);return new Proxy({},{get(i,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return o==="custom"?n:new Proxy({},{get(l,u){if(!(typeof u!="string"||u==="then"||u.startsWith("_")))return async d=>{if(typeof d=="string")throw new Error(`Integration ${u} must receive an object with named parameters, received: ${d}`);let h,m;return d instanceof FormData||d&&Object.values(d).some(g=>g instanceof File)?(h=new FormData,Object.keys(d).forEach(g=>{d[g]instanceof File?h.append(g,d[g],d[g].name):typeof d[g]=="object"&&d[g]!==null?h.append(g,JSON.stringify(d[g])):h.append(g,d[g])}),m="multipart/form-data"):(h=d,m="application/json"),o==="Core"?t.post(`/apps/${e}/integration-endpoints/Core/${u}`,h||d,{headers:{"Content-Type":m}}):t.post(`/apps/${e}/integration-endpoints/installable/${o}/integration-endpoints/${u}`,h||d,{headers:{"Content-Type":m}})}}})}})}function $T(){return typeof window>"u"?!1:window!==window.parent}function HT(t,e,n){const l=Math.round(window.screenX+(window.outerWidth-500)/2),u=Math.round(window.screenY+(window.outerHeight-600)/2),d=window.open(t,"base44_auth",`width=500,height=600,left=${l},top=${u},resizable=yes,scrollbars=yes`);if(!d)return;const h=()=>{window.removeEventListener("message",m),clearInterval(g),d.closed||d.close()},m=y=>{var x;if(y.origin!==n||y.source!==d||!(!((x=y.data)===null||x===void 0)&&x.access_token))return;h();const k=new URL(e),{access_token:P,is_new_user:E}=y.data;k.searchParams.set("access_token",P),E!=null&&k.searchParams.set("is_new_user",String(E)),window.location.href=k.toString()},g=setInterval(()=>{d.closed&&h()},500);window.addEventListener("message",m)}function WT(t,e,n,i){return{async me(){return t.get(`/apps/${n}/entities/User/me`)},async updateMe(o){return t.put(`/apps/${n}/entities/User/me`,o)},redirectToLogin(o){if(typeof window>"u")throw new Error("Login method can only be used in a browser environment");const l=o?new URL(o,window.location.origin).toString():window.location.href,u=`${i.appBaseUrl}/login?from_url=${encodeURIComponent(l)}`;window.location.href=u},loginWithProvider(o,l="/"){const u=new URL(l,window.location.origin).toString(),d=`app_id=${n}&from_url=${encodeURIComponent(u)}`;let h;o==="sso"?h=`/apps/${n}/auth/sso/login`:h=`/apps/auth${o==="google"?"":`/${o}`}/login`;const m=`${i.appBaseUrl}/api${h}?${d}`;if($T()){const g=`${m}&popup_origin=${encodeURIComponent(window.location.origin)}`;return HT(g,u,window.location.origin)}window.location.href=m}
155,logout(o){if(delete t.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(d){console.error("Failed to remove token from localStorage:",d)}const l=o||window.location.href,u=`${i.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(l)}`;window.location.href=u}},setToken(o,l=!0){if(o&&(t.defaults.headers.common.Authorization=`Bearer ${o}`,e.defaults.headers.common.Authorization=`Bearer ${o}`,l&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",o),window.localStorage.setItem("token",o)}catch(u){console.error("Failed to save token to localStorage:",u)}},async loginViaEmailPassword(o,l,u){var d;try{const h=await t.post(`/apps/${n}/auth/login`,{email:o,password:l,...u&&{turnstile_token:u}}),{access_token:m,user:g}=h;return m&&this.setToken(m),{access_token:m,user:g}}catch(h){throw((d=h.response)===null||d===void 0?void 0:d.status)===401&&await this.logout(),h}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(o,l){return t.post(`/apps/${n}/users/invite-user`,{user_email:o,role:l})},register(o){return t.post(`/apps/${n}/auth/register`,o)},verifyOtp({email:o,otpCode:l}){return t.post(`/apps/${n}/auth/verify-otp`,{email:o,otp_code:l})},resendOtp(o){return t.post(`/apps/${n}/auth/resend-otp`,{email:o})},resetPasswordRequest(o){return t.post(`/apps/${n}/auth/reset-password-request`,{email:o})},resetPassword({resetToken:o,newPassword:l}){return t.post(`/apps/${n}/auth/reset-password`,{reset_token:o,new_password:l})},changePassword({userId:o,currentPassword:l,newPassword:u}){return t.post(`/apps/${n}/auth/change-password`,{user_id:o,current_password:l,new_password:u})}}}function qT(t,e){return{async getAccessToken(n){const i=`/apps/${e}/auth/sso/accesstoken/${n}`;return t.get(i)},async getIdToken(n){const i=`/apps/${e}/auth/sso/idtoken/${n}`;return t.get(i)}}}function KT(t,e){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await t.get(`/apps/${e}/external-auth/tokens/${n}`)).access_token},async getConnection(n){var i;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const l=await t.get(`/apps/${e}/external-auth/tokens/${n}`);return{accessToken:l.access_token,connectionConfig:(i=l.connection_config)!==null&&i!==void 0?i:null}},async getWorkspaceConnection(n){var i;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const l=await t.get(`/apps/${e}/external-auth/tokens/connectors/${n}`);return{accessToken:l.access_token,connectionConfig:(i=l.connection_config)!==null&&i!==void 0?i:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await t.get(`/apps/${e}/app-user-auth/connectors/${n}/token`)).access_token},async getCurrentAppUserConnection(n){var i;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const l=await t.get(`/apps/${e}/app-user-auth/connectors/${n}/token`);return{accessToken:l.access_token,connectionConfig:(i=l.connection_config)!==null&&i!==void 0?i:null}}}}function QT(t,e){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await t.post(`/apps/${e}/app-user-auth/connectors/${n}/initiate`)).redirect_url},async disconnectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");await t.delete(`/apps/${e}/app-user-auth/connectors/${n}`)}}}function ks(t={}){const{storageKey:e="base44_access_token",paramName:n="access_token",saveToStorage:i=!0,removeFromUrl:o=!0}=t;let l=null;if(typeof window<"u"&&window.location)try{const u=new URLSearchParams(window.location.search);if(l=u.get(n),l){if(i&>(l,{storageKey:e}),o){u.delete(n);const d=`${window.location.pathname}${u.toString()?`?${u.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}return l}}catch(u){console.error("Error retrieving token from URL:",u)}if(typeof window<"u"&&window.localStorage)try{return l=window.localStorage.getItem(e),l}catch(u){console.error("Error retrieving token from local storage:",u)}return null}function GT(t,e){const{storageKey:n="base44_access_token"}=e;if(typeof window>"u"||!window.localStorage||!t)return!1;try{return window.localStorage.setItem(n,t),window.localStorage.setItem("token",t),!0}catch(i){return console.error("Error saving token to local storage:",i),!1}}function Iy(t,e,n){const i=(l,u)=>l?`${String(l).replace(/\/$/,"")}${u}`:u,o=l=>{const u=new Headers;if(n!=null&&n.getAuthHeaders){const d=n.getAuthHeaders();
155Object.entries(d).forEach(([h,m])=>{m!=null&&u.set(h,String(m))})}return l&&new Headers(l).forEach((d,h)=>{u.set(h,d)}),u};return{async invoke(l,u){if(typeof u=="string")throw new Error(`Function ${l} must receive an object with named parameters, received: ${u}`);let d,h;return u instanceof FormData||u&&Object.values(u).some(m=>m instanceof File)?(d=new FormData,Object.keys(u).forEach(m=>{u[m]instanceof File?d.append(m,u[m],u[m].name):typeof u[m]=="object"&&u[m]!==null?d.append(m,JSON.stringify(u[m])):d.append(m,u[m])}),h="multipart/form-data"):(d=u,h="application/json"),t.post(`/apps/${e}/functions/${l}`,d||u,{headers:{"Content-Type":h}})},async fetch(l,u={}){const h=`/functions${l.startsWith("/")?l:`/${l}`}`,m=o(u.headers),g={...u,headers:m};return await fetch(i(n==null?void 0:n.baseURL,h),g)}}}function Fy({axios:t,getSocket:e,appId:n,serverUrl:i,token:o}){const l=`/apps/${n}/agents`,u={},d=()=>t.get(`${l}/conversations`),h=E=>t.get(`${l}/conversations/${E}`);return{getConversations:d,getConversation:h,listConversations:E=>t.get(`${l}/conversations`,{params:E}),createConversation:E=>t.post(`${l}/conversations`,E),addMessage:async(E,S)=>t.post(`${l}/conversations/v2/${E.id}/messages`,S),subscribeToConversation:(E,S)=>{const b=`/agent-conversations/${E}`,O=e(),T=h(E).then(D=>(u[E]=D,D));return O.subscribeToRoom(b,{connect:()=>{},update_model:async({data:D})=>{const B=JSON.parse(D);if(B._message){await T;const $=B._message,te=u[E];if(te){const U=te.messages||[],Z=U.findIndex(be=>be.id===$.id),le=Z!==-1?U.map((be,De)=>De===Z?$:be):[...U,$];u[E]={...te,messages:le},S==null||S(u[E])}}}})},getWhatsAppConnectURL:E=>{const S=`${i}/api/apps/${n}/agents/${encodeURIComponent(E)}/whatsapp`,b=o??ks();return b?`${S}?token=${b}`:S},getTelegramConnectURL:E=>{const S=`${i}/api/apps/${n}/agents/${encodeURIComponent(E)}/telegram`,b=o??ks();return b?`${S}?token=${b}`:S}}}function Uy({serverUrl:t,token:e,appId:n}){return{connection:()=>{var o;return{baseURL:`${t}/api/apps/${n}/ai/openai/v1`,token:(o=e??ks())!==null&&o!==void 0?o:""}}}}function By(t,e){const n=`/app-logs/${e}`;return{async logUserInApp(i){await t.post(`${n}/log-user-in-app/${i}`)},async fetchLogs(i={}){return await t.get(n,{params:i})},async getStats(i={}){return await t.get(`${n}/stats`,{params:i})}}}function YT(t,e){return{async inviteUser(n,i){if(i!=="user"&&i!=="admin")throw new Error(`Invalid role: "${i}". Role must be either "user" or "admin".`);return await t.post(`/apps/${e}/runtime/users/invite-user`,{user_email:n,role:i})}}}const In=Object.create(null);In.open="0";In.close="1";In.ping="2";In.pong="3";In.message="4";In.upgrade="5";In.noop="6";const Dl=Object.create(null);Object.keys(In).forEach(t=>{Dl[In[t]]=t});const sf={type:"error",data:"parser error"},Ww=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",qw=typeof ArrayBuffer=="function",Kw=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,Yf=({type:t,data:e},n,i)=>Ww&&e instanceof Blob?n?i(e):Vy(e,i):qw&&(e instanceof ArrayBuffer||Kw(e))?n?i(e):Vy(new Blob([e]),i):i(In[t]+(e||"")),Vy=(t,e)=>{const n=new FileReader;return n.onload=function(){const i=n.result.split(",")[1];e("b"+(i||""))},n.readAsDataURL(t)};function zy(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let wd;function XT(t,e){if(Ww&&t.data instanceof Blob)return t.data.arrayBuffer().then(zy).then(e);if(qw&&(t.data instanceof ArrayBuffer||Kw(t.data)))return e(zy(t.data));Yf(t,!1,n=>{wd||(wd=new TextEncoder),e(wd.encode(n))})}const $y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Co=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<$y.length;t++)Co[$y.charCodeAt(t)]=t;const JT=t=>{let e=t.length*.75,n=t.length,i,o=0,l,u,d,h;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const m=new ArrayBuffer(e),g=new Uint8Array(m);for(i=0;i<n;i+=4)l=Co[t.charCodeAt(i)],u=Co[t.charCodeAt(i+1)],d=Co[t.charCodeAt(i+2)],h=Co[t.charCodeAt(i+3)],g[o++]=l<<2|u>>4,g[o++]=(u&15)<<4|d>>2,g[o++]=(d&3)<<6|h&63;return m},ZT=typeof ArrayBuffer=="function",Xf=(t,e)=>{if(typeof t!="string")return{type:"message",data:Qw(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:eP(t.substring(1),e)}:Dl[n]?t.length>1?{type:Dl[n],data:t.substring(1)}:{type:Dl[n]}:sf},eP=(t,e)=>{if(ZT){const n=JT(t);return Qw(n,e)}else return{base64:!0,data:t}},Qw=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},Gw="�",tP=(t,e)=>{const n=t.length,i=new Array(n);let o=0;t.forEach((l,u)=>{Yf(l,!1,d=>{i[u]=d,++o===n&&e(i.join(Gw))})})},nP=(t,e)=>{const n=t.split(Gw),i=[];for(let o=0;o<n.length;o++){const l=Xf(n[o],e);if(i.push(l),l.type==="error")break}return i};function rP(){return new TransformStream({transform(t,e){XT(t,n=>{const i=n.length;let o;if(i<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,i);else if(i<65536){o=new Uint8Array(3);const l=new DataView(o.buffer);l.setUint8(0,126),l.setUint16(1,i)}else{o=new Uint8Array(9);const l=new DataView(o.buffer);l.setUint8(0,127),l.setBigUint64(1,BigInt(i))}t.data&&typeof t.data!="string"&&(o[0]|=128),e.enqueue(o),e.enqueue(n)})}})}let xd;function _l(t){return t.reduce((e,n)=>e+n.length,0)}function El(t,e){if(t[0].length===e)return t.shift();const n=new Uint8Array(e);let i=0;for(let o=0;o<e;o++)n[o]=t[0][i++],i===t[0].length&&(t.shift(),i=0);return t.length&&i<t[0].length&&(t[0]=t[0].slice(i)),n}function sP(t,e){xd||(xd=new TextDecoder);const n=[];let i=0,o=-1,l=!1;return new TransformStream({transform(u,d){for(n.push(u);;){if(i===0){if(_l(n)<1)break;const h=El(n,1);
vendor: 26,994 bytes, line 155
155l=(h[0]&128)===128,o=h[0]&127,o<126?i=3:o===126?i=1:i=2}else if(i===1){if(_l(n)<2)break;const h=El(n,2);o=new DataView(h.buffer,h.byteOffset,h.length).getUint16(0),i=3}else if(i===2){if(_l(n)<8)break;const h=El(n,8),m=new DataView(h.buffer,h.byteOffset,h.length),g=m.getUint32(0);if(g>Math.pow(2,21)-1){d.enqueue(sf);break}o=g*Math.pow(2,32)+m.getUint32(4),i=3}else{if(_l(n)<o)break;const h=El(n,o);d.enqueue(Xf(l?h:xd.decode(h),e)),i=0}if(o===0||o>t){d.enqueue(sf);break}}}})}const Yw=4;function nt(t){if(t)return iP(t)}function iP(t){for(var e in nt.prototype)t[e]=nt.prototype[e];return t}nt.prototype.on=nt.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};nt.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};nt.prototype.off=nt.prototype.removeListener=nt.prototype.removeAllListeners=nt.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var i,o=0;o<n.length;o++)if(i=n[o],i===e||i.fn===e){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+t],this};nt.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],i=1;i<arguments.length;i++)e[i-1]=arguments[i];if(n){n=n.slice(0);for(var i=0,o=n.length;i<o;++i)n[i].apply(this,e)}return this};nt.prototype.emitReserved=nt.prototype.emit;nt.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};nt.prototype.hasListeners=function(t){return!!this.listeners(t).length};const su=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),ln=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),oP="arraybuffer";function Xw(t,...e){return e.reduce((n,i)=>(t.hasOwnProperty(i)&&(n[i]=t[i]),n),{})}const aP=ln.setTimeout,lP=ln.clearTimeout;function iu(t,e){e.useNativeTimers?(t.setTimeoutFn=aP.bind(ln),t.clearTimeoutFn=lP.bind(ln)):(t.setTimeoutFn=ln.setTimeout.bind(ln),t.clearTimeoutFn=ln.clearTimeout.bind(ln))}const uP=1.33;function cP(t){return typeof t=="string"?dP(t):Math.ceil((t.byteLength||t.size)*uP)}function dP(t){let e=0,n=0;for(let i=0,o=t.length;i<o;i++)e=t.charCodeAt(i),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(i++,n+=4);return n}function Jw(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function fP(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function hP(t){let e={},n=t.split("&");for(let i=0,o=n.length;i<o;i++){let l=n[i].split("=");e[decodeURIComponent(l[0])]=decodeURIComponent(l[1])}return e}class pP extends Error{constructor(e,n,i){super(e),this.description=n,this.context=i,this.type="TransportError"}}class Jf extends nt{constructor(e){super(),this.writable=!1,iu(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,n,i){return super.emitReserved("error",new pP(e,n,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=Xf(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,n={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const n=fP(e);return n.length?"?"+n:""}}class mP extends Jf{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const n=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let i=0;this._polling&&(i++,this.once("pollComplete",function(){--i||n()})),this.writable||(i++,this.once("drain",function(){--i||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=i=>{if(this.readyState==="opening"&&i.type==="open"&&this.onOpen(),i.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(i)};nP(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,tP(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Jw()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let Zw=!1;try{Zw=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const gP=Zw;function yP(){}class vP extends mP{constructor(e){if(super(e),typeof location<"u"){const n=location.protocol==="https:";let i=location.port;i||(i=n?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||i!==e.port}}doWrite(e,n){const i=this.request({method:"POST",data:e});i.on("success",n),i.on("error",(o,l)=>{this.onError("xhr post error",o,l)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,i)=>{this.onError("xhr poll error",n,i)}),this.pollXhr=e}}class Dn extends nt{constructor(e,n,i){super(),this.createRequest=e,iu(this,i),this._opts=i,this._method=i.method||"GET",this._uri=n,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var e;const n=Xw(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(n);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&i.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var o;i.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=Dn.requestsCount++,Dn.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=yP,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Dn.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Dn.requestsCount=0;Dn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Hy);else if(typeof addEventListener=="function"){const t="onpagehide"in ln?"pagehide":"unload";addEventListener(t,Hy,!1)}}function Hy(){for(let t in Dn.requests)Dn.requests.hasOwnProperty(t)&&Dn.requests[t].abort()}const wP=(function(){const t=e1({xdomain:!1});return t&&t.responseType!==null})();class xP extends vP{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=wP&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new Dn(e1,this.uri(),e)}}function e1(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||gP))return new XMLHttpRequest}catch{}if(!e)try{return new ln[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const t1=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class bP extends Jf{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,i=t1?{}:Xw(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,n,i)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const i=e[n],o=n===e.length-1;Yf(i,this.supportsBinary,l=>{try{this.doWrite(i,l)}catch{}o&&su(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Jw()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const bd=ln.WebSocket||ln.MozWebSocket;class SP extends bP{createSocket(e,n,i){return t1?new bd(e,n,i):n?new bd(e,n):new bd(e)}doWrite(e,n){this.ws.send(n)}}class _P extends Jf{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const n=sP(Number.MAX_SAFE_INTEGER,this.socket.binaryType),i=e.readable.pipeThrough(n).getReader(),o=rP();o.readable.pipeTo(e.writable),this._writer=o.writable.getWriter();const l=()=>{i.read().then(({done:d,value:h})=>{d||(this.onPacket(h),l())}).catch(d=>{})};l();const u={type:"open"};this.query.sid&&(u.data=`{"sid":"${this.query.sid}"}`),this._writer.write(u).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const i=e[n],o=n===e.length-1;this._writer.write(i).then(()=>{o&&su(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const EP={websocket:SP,webtransport:_P,polling:xP},kP=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,CP=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function of(t){if(t.length>8e3)throw"URI too long";const e=t,n=t.indexOf("["),i=t.indexOf("]");n!=-1&&i!=-1&&(t=t.substring(0,n)+t.substring(n,i).replace(/:/g,";")+t.substring(i,t.length));let o=kP.exec(t||""),l={},u=14;for(;u--;)l[CP[u]]=o[u]||"";return n!=-1&&i!=-1&&(l.source=e,l.host=l.host.substring(1,l.host.length-1).replace(/;/g,":"),l.authority=l.authority.replace("[","").replace("]","").replace(/;/g,":"),l.ipv6uri=!0),l.pathNames=TP(l,l.path),l.queryKey=PP(l,l.query),l}function TP(t,e){const n=/\/{2,9}/g,i=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&i.splice(0,1),e.slice(-1)=="/"&&i.splice(i.length-1,1),i}function PP(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(i,o,l){o&&(n[o]=l)}),n}const af=typeof addEventListener=="function"&&typeof removeEventListener=="function",Ll=[];af&&addEventListener("offline",()=>{Ll.forEach(t=>t())},!1);class Fr extends nt{constructor(e,n){if(super(),this.binaryType=oP,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(n=e,e=null),e){const i=of(e);n.hostname=i.host,n.secure=i.protocol==="https"||i.protocol==="wss",n.port=i.port,i.query&&(n.query=i.query)}else n.host&&(n.hostname=of(n.host).host);iu(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(i=>{const o=i.prototype.name;this.transports.push(o),this._transportsByName[o]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=hP(this.opts.query)),af&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Ll.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Yw,n.transport=e,this.id&&(n.sid=this.id);const i=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Fr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(e);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Fr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=e.data,this._onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let i=0;i<this.writeBuffer.length;i++){const o=this.writeBuffer[i].data;if(o&&(n+=cP(o)),i>0&&n>this._maxPayload)return this.writeBuffer.slice(0,i);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,su(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,n,i){return this._sendPacket("message",e,n,i),this}send(e,n,i){return this._sendPacket("message",e,n,i),this}_sendPacket(e,n,i,o){if(typeof n=="function"&&(o=n,n=void 0),typeof i=="function"&&(o=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;const l={type:e,data:n,options:i};this.emitReserved("packetCreate",l),this.writeBuffer.push(l),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},i=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():e()}):this.upgrading?i():e()),this}_onError(e){if(Fr.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),af&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const i=Ll.indexOf(this._offlineEventListener);i!==-1&&Ll.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}Fr.protocol=Yw;class RP extends Fr{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let n=this.createTransport(e),i=!1;Fr.priorWebsocketSuccess=!1;const o=()=>{i||(n.send([{type:"ping",data:"probe"}]),n.once("packet",y=>{if(!i)if(y.type==="pong"&&y.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Fr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{i||this.readyState!=="closed"&&(g(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const x=new Error("probe error");x.transport=n.name,this.emitReserved("upgradeError",x)}}))};function l(){i||(i=!0,g(),n.close(),n=null)}const u=y=>{const x=new Error("probe error: "+y);x.transport=n.name,l(),this.emitReserved("upgradeError",x)};function d(){u("transport closed")}function h(){u("socket closed")}function m(y){n&&y.name!==n.name&&l()}const g=()=>{n.removeListener("open",o),n.removeListener("error",u),n.removeListener("close",d),this.off("close",h),this.off("upgrading",m)};n.once("open",o),n.once("error",u),n.once("close",d),this.once("close",h),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{i||n.open()},200):n.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const n=[];for(let i=0;i<e.length;i++)~this.transports.indexOf(e[i])&&n.push(e[i]);return n}}let AP=class extends RP{constructor(e,n={}){const i=typeof e=="object"?e:n;(!i.transports||i.transports&&typeof i.transports[0]=="string")&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(o=>EP[o]).filter(o=>!!o)),super(e,i)}};function NP(t,e="",n){let i=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),i=of(t)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const l=i.host.indexOf(":")!==-1?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+l+":"+i.port+e,i.href=i.protocol+"://"+l+(n&&n.port===i.port?"":":"+i.port),i}const OP=typeof ArrayBuffer=="function",jP=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,n1=Object.prototype.toString,DP=typeof Blob=="function"||typeof Blob<"u"&&n1.call(Blob)==="[object BlobConstructor]",LP=typeof File=="function"||typeof File<"u"&&n1.call(File)==="[object FileConstructor]";function Zf(t){return OP&&(t instanceof ArrayBuffer||jP(t))||DP&&t instanceof Blob||LP&&t instanceof File}function Ml(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,i=t.length;n<i;n++)if(Ml(t[n]))return!0;return!1}if(Zf(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return Ml(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&Ml(t[n]))return!0;return!1}function MP(t){const e=[],n=t.data,i=t;return i.data=lf(n,e),i.attachments=e.length,{packet:i,buffers:e}}function lf(t,e){if(!t)return t;if(Zf(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let i=0;i<t.length;i++)n[i]=lf(t[i],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=lf(t[i],e));return n}return t}function IP(t,e){return t.data=uf(t.data,e),delete t.attachments,t}function uf(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=uf(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=uf(t[n],e));return t}const FP=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Re;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(Re||(Re={}));class UP{constructor(e){this.replacer=e}encode(e){return(e.type===Re.EVENT||e.type===Re.ACK)&&Ml(e)?this.encodeAsBinary({type:e.type===Re.EVENT?Re.BINARY_EVENT:Re.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===Re.BINARY_EVENT||e.type===Re.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=MP(e),i=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(i),o}}class eh extends nt{constructor(e){super(),this.reviver=e}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const i=n.type===Re.BINARY_EVENT;i||n.type===Re.BINARY_ACK?(n.type=i?Re.EVENT:Re.ACK,this.reconstructor=new BP(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Zf(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const i={type:Number(e.charAt(0))};if(Re[i.type]===void 0)throw new Error("unknown packet type "+i.type);if(i.type===Re.BINARY_EVENT||i.type===Re.BINARY_ACK){const l=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const u=e.substring(l,n);if(u!=Number(u)||e.charAt(n)!=="-")throw new Error("Illegal attachments");i.attachments=Number(u)}if(e.charAt(n+1)==="/"){const l=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););i.nsp=e.substring(l,n)}else i.nsp="/";const o=e.charAt(n+1);if(o!==""&&Number(o)==o){const l=n+1;for(;++n;){const u=e.charAt(n);if(u==null||Number(u)!=u){--n;break}if(n===e.length)break}i.id=Number(e.substring(l,n+1))}if(e.charAt(++n)){const l=this.tryParse(e.substr(n));if(eh.isPayloadValid(i.type,l))i.data=l;else throw new Error("invalid payload")}return i}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case Re.CONNECT:return Wy(n);case Re.DISCONNECT:return n===void 0;case Re.CONNECT_ERROR:return typeof n=="string"||Wy(n);case Re.EVENT:case Re.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&FP.indexOf(n[0])===-1);case Re.ACK:case Re.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class BP{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=IP(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Wy(t){return Object.prototype.toString.call(t)==="[object Object]"}const VP=Object.freeze(Object.defineProperty({__proto__:null,Decoder:eh,Encoder:UP,get PacketType(){return Re}},Symbol.toStringTag,{value:"Module"}));function En(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const zP=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class r1 extends nt{constructor(e,n,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[En(e,"open",this.onopen.bind(this)),En(e,"packet",this.onpacket.b
vendor: 2,660 bytes, line 155
155ind(this)),En(e,"error",this.onerror.bind(this)),En(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){var i,o,l;if(zP.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const u={type:Re.EVENT,data:n};if(u.options={},u.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const g=this.ids++,y=n.pop();this._registerAckCallback(g,y),u.id=g}const d=(o=(i=this.io.engine)===null||i===void 0?void 0:i.transport)===null||o===void 0?void 0:o.writable,h=this.connected&&!(!((l=this.io.engine)===null||l===void 0)&&l._hasPingExpired());return this.flags.volatile&&!d||(h?(this.notifyOutgoingListeners(u),this.packet(u)):this.sendBuffer.push(u)),this.flags={},this}_registerAckCallback(e,n){var i;const o=(i=this.flags.timeout)!==null&&i!==void 0?i:this._opts.ackTimeout;if(o===void 0){this.acks[e]=n;return}const l=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let d=0;d<this.sendBuffer.length;d++)this.sendBuffer[d].id===e&&this.sendBuffer.splice(d,1);n.call(this,new Error("operation has timed out"))},o),u=(...d)=>{this.io.clearTimeoutFn(l),n.apply(this,d)};u.withError=!0,this.acks[e]=u}emitWithAck(e,...n){return new Promise((i,o)=>{const l=(u,d)=>u?o(u):i(d);l.withError=!0,n.push(l),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const i={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...l)=>(this._queue[0],o!==null?i.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...l)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Re.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n),this._clearAcks()}
vendor: 7,087 bytes, line 155
155_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(i=>String(i.id)===e)){const i=this.acks[e];delete this.acks[e],i.withError&&i.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Re.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Re.EVENT:case Re.BINARY_EVENT:this.onevent(e);break;case Re.ACK:case Re.BINARY_ACK:this.onack(e);break;case Re.DISCONNECT:this.ondisconnect();break;case Re.CONNECT_ERROR:this.destroy();const i=new Error(e.data.message);i.data=e.data.data,this.emitReserved("connect_error",i);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const i of n)i.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let i=!1;return function(...o){i||(i=!0,n.packet({type:Re.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(delete this.acks[e.id],n.withError&&e.data.unshift(null),n.apply(this,e.data))}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Re.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let i=0;i<n.length;i++)if(e===n[i])return n.splice(i,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let i=0;i<n.length;i++)if(e===n[i])return n.splice(i,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const i of n)i.apply(this,e.data)}}}function Ai(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Ai.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};Ai.prototype.reset=function(){this.attempts=0};Ai.prototype.setMin=function(t){this.ms=t};Ai.prototype.setMax=function(t){this.max=t};Ai.prototype.setJitter=function(t){this.jitter=t};class cf extends nt{constructor(e,n){var i;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,iu(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((i=n.randomizationFactor)!==null&&i!==void 0?i:.5),this.backoff=new Ai({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||VP;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new AP(this.uri,this.opts);const n=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;const o=En(n,"open",function(){i.onopen(),e&&e()}),l=d=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",d),e?e(d):this.maybeReconnectOnOpen()},u=En(n,"error",l);if(this._timeout!==!1){const d=this._timeout,h=this.setTimeoutFn(()=>{o(),l(new Error("timeout")),n.close()},d);this.opts.autoUnref&&h.unref(),this.subs.push(()=>{this.clearTimeoutFn(h)})}return this.subs.push(o),this.subs.push(u),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(En(e,"ping",this.onping.bind(this)),En(e,"data",this.ondata.bind(this)),En(e,"error",this.onerror.bind(this)),En(e,"close",this.onclose.bind(this)),En(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){su(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let i=this.nsps[e];return i?this._autoConnect&&!i.active&&i.connect():(i=new r1(this,e,n),this.nsps[e]=i),i}_destroy(e){const n=Object.keys(this.nsps);for(const i of n)if(this.nsps[i].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let i=0;i<n.length;i++)this.engine.write(n[i],e.options)}
155cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,n){var i;this.cleanup(),(i=this.engine)===null||i===void 0||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const i=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const So={};function Il(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=NP(t,e.path||"/socket.io"),i=n.source,o=n.id,l=n.path,u=So[o]&&l in So[o].nsps,d=e.forceNew||e["force new connection"]||e.multiplex===!1||u;let h;return d?h=new cf(i,e):(So[o]||(So[o]=new cf(i,e)),h=So[o]),n.query&&!e.query&&(e.query=n.queryKey),h.socket(n.path,e)}Object.assign(Il,{Manager:cf,Socket:r1,io:Il,connect:Il});const $P=250;function qy(t,e){var n;const i=(n=t.token)!==null&&n!==void 0?n:ks(),o={app_id:t.appId,token:i};i||(o.anonymous_id=Gf());const l=Il(t.serverUrl,{path:t.mountPath,transports:t.transports,query:o});return l.on("connect",async()=>{var u;return console.log("connect",l.id),(u=e.connect)===null||u===void 0?void 0:u.call(e)}),l.on("update_model",async u=>{var d;return(d=e.update_model)===null||d===void 0?void 0:d.call(e,u)}),l.on("error",async u=>{var d;return(d=e.error)===null||d===void 0?void 0:d.call(e,u)}),l.on("connect_error",async u=>{var d;return console.error("connect_error",u),(d=e.error)===null||d===void 0?void 0:d.call(e,u)}),l}function HP({config:t}){let e={...t};const n={},i={},o={connect:async()=>{const b=[];Object.keys(n).forEach(O=>{const T=x(O);T.length!==0&&(m(O),T.forEach(({connect:D})=>{const B=async()=>D==null?void 0:D();b.push(B())}))}),await Promise.all(b)},update_model:async b=>{const T=x(b.room).map(D=>{var B;return(B=D.update_model)===null||B===void 0?void 0:B.call(D,b)});await Promise.all(T)},error:async b=>{console.error("error",b);const O=Object.values(n).flat().map(T=>{var D;return(D=T.error)===null||D===void 0?void 0:D.call(T,b)});await Promise.all(O)}};let l=qy(t,o);function u(){d()}function d(){P(),l&&l.disconnect()}function h(b){u(),e={...e,...b},l=qy(e,o)}function m(b){l.emit("join",b)}function g(b){l.emit("leave",b)}async function y(b,O){var T;const D=JSON.stringify(O);return(T=o.update_model)===null||T===void 0?void 0:T.call(o,{room:b,data:D})}function x(b){var O;return(O=n[b])!==null&&O!==void 0?O:[]}function k(b){const O=i[b];O&&(clearTimeout(O),delete i[b])}
155function P(){Object.keys(i).forEach(b=>{var O,T;clearTimeout(i[b]),delete i[b],((T=(O=n[b])===null||O===void 0?void 0:O.length)!==null&&T!==void 0?T:0)===0&&delete n[b]})}function E(b){k(b),i[b]=setTimeout(()=>{var O,T;delete i[b],!(((T=(O=n[b])===null||O===void 0?void 0:O.length)!==null&&T!==void 0?T:0)>0)&&(g(b),delete n[b])},$P)}return{socket:l,subscribeToRoom:(b,O)=>{n[b]?k(b):(m(b),n[b]=[]),n[b].push(O);let T=!1;return()=>{var D,B;T||(T=!0,n[b]=(B=(D=n[b])===null||D===void 0?void 0:D.filter($=>$!==O))!==null&&B!==void 0?B:[],n[b].length===0&&E(b))}},updateConfig:h,updateModel:y,disconnect:d}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(` 156 PartySocket requires a global 'EventTarget' class to be available! 157 You can polyfill this global by adding this to your code before any partysocket imports: 158 159 \`\`\` 160 import 'partysocket/event-target-polyfill'; 161 \`\`\` 162 Please file an issue at https://github.com/partykit/partykit if you're still having trouble. 163`);var s1=class extends Event{constructor(e,n){super("error",n);je(this,"message");je(this,"error");this.message=e.message,this.error=e}},i1=class extends Event{constructor(e=1e3,n="",i){super("close",i);je(this,"code");je(this,"reason");je(this,"wasClean",!0);this.code=e,this.reason=n}},Sd={Event,ErrorEvent:s1,CloseEvent:i1};function WP(t,e){if(!t)throw new Error(e)}function qP(t){return new t.constructor(t.type,t)}function KP(t){return"data"in t?new MessageEvent(t.type,t):"code"in t||"reason"in t?new i1(t.code||1999,t.reason||"unknown reason",t):"error"in t?new s1(t.error,t):new Event(t.type,t)}var _v,QP=typeof process<"u"&&typeof((_v=process.versions)==null?void 0:_v.node)<"u"&&typeof document>"u",kl=QP?KP:qP,is={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},Ky=!1,GP=class as extends EventTarget{constructor(n,i,o={}){super();je(this,"_ws");je(this,"_retryCount",-1);je(this,"_uptimeTimeout");je(this,"_connectTimeout");je(this,"_shouldReconnect",!0);je(this,"_connectLock",!1);je(this,"_binaryType","blob");je(this,"_closeCalled",!1);je(this,"_messageQueue",[]);je(this,"_url");je(this,"_protocols");je(this,"_options");je(this,"onclose",null);je(this,"onerror",null);je(this,"onmessage",null);je(this,"onopen",null);je(this,"_handleOpen",n=>{this._debug("open event");const{minUptime:i=is.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),i),WP(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(o=>{var l;return(l=this._ws)==null?void 0:l.send(o)}),this._messageQueue=[],this.onopen&&this.onopen(n),this.dispatchEvent(kl(n))});je(this,"_handleMessage",n=>{this._debug("message event"),this.onmessage&&this.onmessage(n),this.dispatchEvent(kl(n))});je(this,"_handleError",n=>{this._debug("error event",n.message),this._disconnect(void 0,n.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(n),this._debug("exec error listeners"),this.dispatchEvent(kl(n)),this._connect()});je(this,"_handleClose",n=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(n),this.dispatchEvent(kl(n))});this._url=n,this._protocols=i,this._options=o,this._options.startClosed&&(this._shouldReconnect=!1),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return as.CONNECTING}get OPEN(){return as.OPEN}get CLOSING(){return as.CLOSING}get CLOSED(){return as.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(n){this._binaryType=n,this._ws&&(this._ws.binaryType=n)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((i,o)=>(typeof o=="string"?i+=o.length:o instanceof Blob?i+=o.size:i+=o.byteLength,i),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?as.CLOSED:as.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(n=1e3,i){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(n,i)}reconnect(n,i){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,i),this._connect())}send(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{const{maxEnqueuedMessages:i=is.maxEnqueuedMessages}=this._options;this._messageQueue.length<i&&(this._debug("enqueue",n),this._messageQueue.push(n))}}_debug(...n){this._options.debug&&console.log.apply(console,["RWS>",...n])}_getNextDelay(){const{reconnectionDelayGrowFactor:n=is.reconnectionDelayGrowFactor,minReconnectionDelay:i=is.minReconnectionDelay,maxReconnectionDelay:o=is.maxReconnectionDelay}=this._options;let l=0;return this._retryCount>0&&(l=i*Math.pow(n,this._retryCount-1),l>o&&(l=o)),this._debug("next delay",l),l}_wait(){return new Promise(n=>{setTimeout(n,this._getNextDelay())})}_getNextProtocols(n){if(!n)return Promise.resolve(null);if(typeof n=="string"||Array.isArray(n))return Promise.resolve(n);if(typeof n=="function"){const i=n();if(!i)return Promise.resolve(null);if(typeof i=="string"||Array.isArray(i))return Promise.resolve(i);if(i.then)return i}throw Error("Invalid protocols")}_getNextUrl(n){if(typeof n=="string")return Promise.resolve(n);if(typeof n=="function"){const i=n();if(typeof i=="string")return Promise.resolve(i);if(i.then)return i}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
vendor: 4,382 bytes, lines 163-181
163const{maxRetries:n=is.maxRetries,connectionTimeout:i=is.connectionTimeout}=this._options;if(this._retryCount>=n){this._debug("max retries reached",this._retryCount,">=",n);return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([o,l])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!Ky&&(console.error(`â¼ï¸ No WebSocket implementation available. You should define options.WebSocket. 164 165For example, if you're using node.js, run \`npm install ws\`, and then in your code: 166 167import PartySocket from 'partysocket'; 168import WS from 'ws'; 169 170const partysocket = new PartySocket({ 171 host: "127.0.0.1:1999", 172 room: "test-room", 173 WebSocket: WS 174}); 175 176`),Ky=!0);const u=this._options.WebSocket||WebSocket;this._debug("connect",{url:o,protocols:l}),this._ws=l?new u(o,l):new u(o),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),i)}).catch(o=>{this._connectLock=!1,this._handleError(new Sd.ErrorEvent(Error(o.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new Sd.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(n=1e3,i){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(n,i),this._handleClose(new Sd.CloseEvent(n,i,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};/*! 177 * Reconnecting WebSocket 178 * by Pedro Ladaria <[email protected]> 179 * https://github.com/pladaria/reconnecting-websocket 180 * License MIT 181 */var YP=t=>t[1]!==null&&t[1]!==void 0;function XP(){if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();let t=new Date().getTime(),e=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){let i=Math.random()*16;return t>0?(i=(t+i)%16|0,t=Math.floor(t/16)):(i=(e+i)%16|0,e=Math.floor(e/16)),(n==="x"?i:i&3|8).toString(16)})}function o1(t,e,n={}){const{host:i,path:o,protocol:l,room:u,party:d,query:h}=t;let m=i.replace(/^(http|https|ws|wss):\/\//,"");if(m.endsWith("/")&&(m=m.slice(0,-1)),o&&o.startsWith("/"))throw new Error("path must not start with a slash");const g=d??"main",y=o?`/${o}`:"",x=l||(m.startsWith("localhost:")||m.startsWith("127.0.0.1:")||m.startsWith("192.168.")||m.startsWith("10.")||m.startsWith("172.")&&m.split(".")[1]>="16"&&m.split(".")[1]<="31"||m.startsWith("[::ffff:7f00:1]:")?e:e+"s"),k=`${x}://${m}/${d?`parties/${d}`:"party"}/${u}${y}`,P=(S={})=>`${k}?${new URLSearchParams([...Object.entries(n),...Object.entries(S).filter(YP)])}`,E=typeof h=="function"?async()=>P(await h()):P(h);return{host:m,path:y,room:u,name:g,protocol:x,partyUrl:k,urlProvider:E}}var JP=class extends GP{constructor(e){const n=Qy(e);super(n.urlProvider,n.protocols,n.socketOptions);je(this,"_pk");je(this,"_pkurl");je(this,"name");je(this,"room");je(this,"host");je(this,"path");this.partySocketOptions=e,this.setWSProperties(n)}updateProperties(e){const n=Qy({...e,host:e.host??this.host,room:e.room??this.room,path:e.path??this.path});this._url=n.urlProvider,this._protocols=n.protocols,this._options=n.socketOptions,this.setWSProperties(n)}setWSProperties(e){const{_pk:n,_pkurl:i,name:o,room:l,host:u,path:d}=e;this._pk=n,this._pkurl=i,this.name=o,this.room=l,this.host=u,this.path=d}reconnect(e,n){if(!this.room||!this.host)throw new Error("The room and host must be set before connecting, use `updateProperties` method to set them or pass them to the constructor.");super.reconnect(e,n)}get id(){return this._pk}get roomUrl(){return this._pkurl}
181static async fetch(e,n){const i=o1(e,"http"),o=typeof i.urlProvider=="string"?i.urlProvider:await i.urlProvider();return(e.fetch??fetch)(o,n)}};function Qy(t){const{id:e,host:n,path:i,party:o,room:l,protocol:u,query:d,protocols:h,...m}=t,g=e||XP(),y=o1(t,"ws",{_pk:g});return{_pk:g,_pkurl:y.partyUrl,name:y.name,room:y.room,host:y.host,path:y.path,protocols:h,socketOptions:m,urlProvider:y.urlProvider}}const ZP=1e3,eR=3e3;class tR{constructor(e,n,i,o,l){var u;this.onClose=l,this.listeners=new Set,this.heartbeat=null,this.id=(u=o==null?void 0:o.id)!==null&&u!==void 0?u:crypto.randomUUID();const d=new JP({host:i.host,party:e,room:n,id:this.id,query:()=>{const g=i.getAuthToken();return{app_id:i.appId,handler:e,...g?{token:g}:{},...i.functionsVersion?{fv:i.functionsVersion}:{}}}});this.ws=d;let h=Date.now();const m=()=>{h=Date.now()};d.addEventListener("open",m),d.addEventListener("message",g=>{m();let y;try{y=JSON.parse(g.data)}catch{return}if((y&&typeof y=="object"?y.type:void 0)!=="__pong")for(const k of this.listeners)k(y)}),this.heartbeat=setInterval(()=>{if(Date.now()-h>eR){m(),d.reconnect();return}try{d.send(JSON.stringify({type:"__ping"}))}catch{}},ZP)}subscribe(e){return this.listeners.add(e),{unsubscribe:()=>{this.listeners.delete(e)}}}send(e){this.ws.send(JSON.stringify(e))}close(){this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose()}}function nR(t,e,n,i){let o=null;return{connect(l){if(o)return o;const u=new tR(t,e,n,l,()=>{i.delete(u),o===u&&(o=null)});return o=u,i.add(u),u}}}function rR(t,e){return t&&!t.startsWith("/")?t:e??t}function sR(t){const e=new Set;return{module:new Proxy({},{get(i,o){if(!(typeof o!="string"||o==="then"))return l=>nR(o,l,t,e)}}),closeAll:()=>{for(const i of[...e])i.close()}}}function iR(t){var e,n,i;const{serverUrl:o="https://base44.app",appId:l,token:u,serviceToken:d,requiresAuth:h=!1,appBaseUrl:m,options:g,functionsVersion:y,headers:x}=t,k=typeof m=="string"?m:"",P={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:l,token:u};let E=null;const S=()=>(E||(E=HP({config:P})),E),b={...x,"X-App-Id":String(l)},O=y?{...b,"Base44-Functions-Version":y}:b,T=ko({baseURL:`${o}/api`,headers:b,token:u,onError:g==null?void 0:g.onError}),D=ko({baseURL:`${o}/api`,headers:O,token:u,interceptResponses:!1,onError:g==null?void 0:g.onError}),B={...b,...u?{"on-behalf-of":`Bearer ${u}`}:{}},$=ko({baseURL:`${o}/api`,headers:B,token:d,onError:g==null?void 0:g.onError}),te=ko({baseURL:`${o}/api`,headers:O,token:d,interceptResponses:!1}),U=WT(T,D,l,{appBaseUrl:k});if(typeof window<"u"){const Se=u||ks();Se&&U.setToken(Se)}const Z=sR({appId:l,host:rR(o,typeof window<"u"?(e=window.location)===null||e===void 0?void 0:e.origin:void 0),functionsVersion:y,getAuthToken:()=>u||ks()}),le={entities:Ly({axios:T,appId:l,getSocket:S}),integrations:My(T,l),connectors:QT(T,l),auth:U,functions:Iy(D,l,{getAuthHeaders:()=>{const Se={},ke=u||ks();return ke&&(Se.Authorization=`Bearer ${ke}`),Se},baseURL:(n=D.defaults)===null||n===void 0?void 0:n.baseURL}),agents:Fy({axios:T,getSocket:S,appId:l,serverUrl:o,token:u}),aiGateway:Uy({serverUrl:o,token:u,appId:l}),appLogs:By(T,l),users:YT(T,l),analytics:NT({axiosClient:T,serverUrl:o,appId:l,userAuthModule:U}),actors:Z.module,cleanup:()=>{le.analytics.cleanup(),Z.closeAll(),E&&E.disconnect()}},be={entities:Ly({axios:$,appId:l,getSocket:S}),integrations:My($,l),sso:qT($,l),connectors:KT($,l),functions:Iy(te,l,{getAuthHeaders:()=>{const Se={};return d&&(Se.Authorization=`Bearer ${d}`),Se},baseURL:(i=te.defaults)===null||i===void 0?void 0:i.baseURL}),agents:Fy({axios:$,getSocket:S,appId:l,serverUrl:o,token:u}),aiGateway:Uy({serverUrl:o,token:d,appId:l}),appLogs:By($,l),cleanup:()=>{E&&E.disconnect()}};return h&&typeof window<"u"&&setTimeout(async()=>{try{await le.auth.isAuthenticated()||le.auth.redirectToLogin(window.location.href)}catch(Se){console.error("Authentication check failed:",Se),le.auth.redirectToLogin(window.location.href)}},0),{...le,setToken(Se){le.auth.setToken(Se),E&&E.updateConfig({token:Se}),P.token=Se},getConfig(){return{serverUrl:o,appId:l,requiresAuth:h}},get asServiceRole(){if(!d)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return be}}}const a1=typeof window>"u",oR=a1?{localStorage:new Map}:window,jo=oR.localStorage,aR=t=>t.replace(/([A-Z])/g,"_$1").toLowerCase(),si=(t,{defaultValue:e=void 0,removeFromUrl:n=!1}={})=>
181{if(a1)return e;const i=`base44_${aR(t)}`,o=new URLSearchParams(window.location.search),l=o.get(t);if(n){o.delete(t);const d=`${window.location.pathname}${o.toString()?`?${o.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,d)}if(l)return jo.setItem(i,l),l;if(e)return jo.setItem(i,e),e;const u=jo.getItem(i);return u||null},lR=()=>(si("clear_access_token")==="true"&&(jo.removeItem("base44_access_token"),jo.removeItem("token")),{appId:si("app_id",{defaultValue:"69b5bffdd540121a8687a82b"}),token:si("access_token",{removeFromUrl:!0}),fromUrl:si("from_url",{defaultValue:window.location.href}),functionsVersion:si("functions_version",{defaultValue:"prod"}),appBaseUrl:si("app_base_url",{defaultValue:void 0})}),To={...lR()},{appId:uR,token:cR,functionsVersion:dR,appBaseUrl:fR}=To,Po=iR({appId:uR,token:cR,functionsVersion:dR,serverUrl:"",requiresAuth:!1,appBaseUrl:fR});function hR({}){var o;const e=$r().pathname.substring(1),{data:n,isFetched:i}=eE({queryKey:["user"],queryFn:async()=>{try{return{user:await Po.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return w.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:w.jsx("div",{className:"max-w-md w-full",children:w.jsxs("div",{className:"text-center space-y-6",children:[w.jsxs("div",{className:"space-y-2",children:[w.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),w.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),w.jsxs("div",{className:"space-y-3",children:[w.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),w.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",w.jsxs("span",{className:"font-medium text-slate-700",children:['"',e,'"']})," could not be found in this application."]})]}),i&&n.isAuthenticated&&((o=n.user)==null?void 0:o.role)==="admin"&&w.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:w.jsxs("div",{className:"flex items-start space-x-3",children:[w.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:w.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),w.jsxs("div",{className:"text-left space-y-1",children:[w.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),w.jsx("p",{className:"text-sm text-slate-600 leading-relaxed",children:"This could mean that the AI hasn't implemented this page yet. Ask it to implement it in the chat."})]})]})}),w.jsx("div",{className:"pt-6",children:w.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-slate-700 bg-white border border-slate-200 rounded-lg hover:bg-slate-50 hover:border-slate-300 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-slate-500",children:[w.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const l1=I.createContext(),pR=({children:t})=>{const[e,n]=I.useState(null),[i,o]=I.useState(!1),[l,u]=I.useState(!0),[d,h]=I.useState(!0),[m,g]=I.useState(null),[y,x]=I.useState(null);I.useEffect(()=>{k()},[]);const k=async()=>{var b,O;try{h(!0),g(null);const T=ko({baseURL:"/api/apps/public",headers:{"X-App-Id":To.appId},token:To.token,interceptResponses:!0});try{const D=await T.get(`/prod/public-settings/by-id/${To.appId}`);x(D),To.token?await P():(u(!1),o(!1)),h(!1)}catch(D){if(console.error("App state check failed:",D),D.status===403&&((O=(b=D.data)==null?void 0:b.extra_data)!=null&&O.reason)){const B=D.data.extra_data.reason;g(B==="auth_required"?{type:"auth_required",message:"Authentication required"}:B==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:B,message:D.message})}else g({type:"unknown",message:D.message||"Failed to load app"});h(!1),u(!1)}}catch(T){console.error("Unexpected error:",T),g({type:"unknown",message:T.message||"An unexpected error occurred"}),h(!1),u(!1)}}
181,P=async()=>{try{u(!0);const b=await Po.auth.me();n(b),o(!0),u(!1)}catch(b){console.error("User auth check failed:",b),u(!1),o(!1),(b.status===401||b.status===403)&&g({type:"auth_required",message:"Authentication required"})}},E=(b=!0)=>{n(null),o(!1),b?Po.auth.logout(window.location.href):Po.auth.logout()},S=()=>{Po.auth.redirectToLogin(window.location.href)};return w.jsx(l1.Provider,{value:{user:e,isAuthenticated:i,isLoadingAuth:l,isLoadingPublicSettings:d,authError:m,appPublicSettings:y,logout:E,navigateToLogin:S,checkAppState:k},children:t})},mR=()=>{const t=I.useContext(l1);if(!t)throw new Error("useAuth must be used within an AuthProvider");return t},gR=()=>w.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:w.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:w.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),w.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),w.jsx("p",{className:"text-slate-600 mb-8",children:"You are not registered to use this application. Please contact the app administrator to request access."}),w.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[w.jsx("p",{children:"If you believe this is an error, you can:"}),w.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[w.jsx("li",{children:"Verify you are logged in with the correct account"}),w.jsx("li",{children:"Contact the app administrator for access"}),w.jsx("li",{children:"Try logging out and back in again"})]})]})]})})});function kn({children:t,href:e,to:n,onClick:i,variant:o="primary",className:l="",target:u,rel:d}){const g=`inline-flex items-center justify-center px-8 py-3 rounded-full font-medium text-sm tracking-wide transition-all duration-300 cursor-pointer select-none ${{primary:"border border-cyan-400 text-cyan-400 bg-transparent hover:bg-cyan-400/10 hover:shadow-[0_0_20px_rgba(34,211,238,0.3)] active:shadow-[0_0_30px_rgba(34,211,238,0.5)]",secondary:"border border-white/30 text-white bg-transparent hover:border-white/60 hover:bg-white/5",solid:"bg-cyan-400 text-black font-semibold hover:bg-cyan-300 hover:shadow-[0_0_25px_rgba(34,211,238,0.4)]"}[o]} ${l}`;return n?w.jsx(_s,{to:n,className:g,children:t}):e?w.jsx("a",{href:e,target:u,rel:d,className:g,children:t}):w.jsx("button",{onClick:i,className:g,children:t})}const yR="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/69b5bffdd540121a8687a82b/d8aa44204_DeenAnthonyLogo-White.png",Gy=[{label:"Home",to:"/Home"},{label:"Music",to:"/Music"},{label:"Downloads",to:"/Downloads"},{label:"Events",to:"/Events"},{label:"Merch",to:"/Merch"},{label:"Press Kit",to:"/PressKit"},{label:"Contact",to:"/Contact"}];function vR(){const[t,e]=I.useState(!1),[n,i]=I.useState(!1),o=$r();I.useEffect(()=>{const u=()=>e(window.scrollY>40);return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),I.useEffect(()=>{i(!1)},[o]);const l=()=>{var u;o.pathname==="/Home"||o.pathname==="/"?(u=document.getElementById("music-section"))==null||u.scrollIntoView({behavior:"smooth"}):window.location.href="/Music"};return w.jsxs("header",{className:"fixed top-0 left-0 right-0 z-[100] bg-black/95 backdrop-blur-md border-b border-white/5",children:[w.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-4 flex items-center justify-between",children:[w.jsx(_s,{to:"/Home",className:"flex-shrink-0",children:w.jsx("img",{src:yR,alt:"Deen Anthony",className:"h-10 w-auto object-contain"})}),w.jsx("nav",{className:"hidden lg:flex items-center gap-8",children:Gy.map(u=>w.jsx(_s,{to:u.to,className:`text-sm tracking-widest uppercase transition-colors duration-300 ${o.pathname===u.to?"text-cyan-400":"text-white/70 hover:text-white"}`,children:u.label},u.to))}),w.jsx("div",{className:"hidden lg:block",children:w.jsx(kn,{onClick:l,variant:"primary",children:"Listen Now"})}),w.jsx("button",{className:"lg:hidden text-white/80 hover:text-white transition-colors",onClick:()=>i(!n),children:n?w.jsx(Av,{className:"w-6 h-6"}):w.jsx(g2,{className:"w-6 h-6"})})]}),n&&w.jsx("div",{className:"lg:hidden bg-black/95 backdrop-blur-xl border-t border-white/5",children:w.jsxs("nav",{className:"flex flex-col px-6 py-6 gap-4",children:[Gy.map(u=>w.jsx(_s,{to:u.to,className:`text-sm tracking-widest uppercase py-2 ${o.pathname===u.to?"text-cyan-400":"text-white/70"}`,children:u.label},u.to)),w.jsx("div",{className:"pt-4",children:w.jsx(kn,{onClick:l,variant:"primary",className:"w-full",children:"Listen Now"})})]})})]})}const wR=[{name:"Instagram",url:"https://www.instagram.com/deenanthonymusic/",icon:w.jsx("svg",{viewBox:"0 0 24 24",fill:"
181currentColor",className:"w-5 h-5",children:w.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})},{name:"Spotify",url:"https://open.spotify.com/artist/1OcauCTRrRiTnsI1pMsYWg?si=HUJZbGCrR0yd89UToY_vqg",icon:w.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:w.jsx("path",{d:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z"})})},{name:"Apple Music",url:"https://music.apple.com/us/artist/deen-anthony/962333804",icon:w.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:w.jsx("path",{d:"M23.994 6.124a9.23 9.23 0 00-.24-2.19c-.317-1.31-1.062-2.31-2.18-3.043A5.022 5.022 0 0019.7.25a10.508 10.508 0 00-1.87-.193C17.11.013 16.39 0 12 0S6.89.013 6.17.057a10.508 10.508 0 00-1.87.193A5.022 5.022 0 002.426.891C1.308 1.624.563 2.624.246 3.934a9.23 9.23 0 00-.24 2.19C.005 6.844 0 7.564 0 12s.005 5.156.006 5.876a9.23 9.23 0 00.24 2.19c.317 1.31 1.062 2.31 2.18 3.043A5.022 5.022 0 004.3 23.75c.638.146 1.293.18 1.87.193C6.89 23.987 7.61 24 12 24s5.11-.013 5.83-.057a10.508 10.508 0 001.87-.193 5.022 5.022 0 001.874-.641c1.118-.733 1.863-1.733 2.18-3.043a9.23 9.23 0 00.24-2.19c.001-.72.006-1.44.006-5.876s-.005-5.156-.006-5.876zM17.5 17.676c0 .382-.205.725-.531.911a1.044 1.044 0 01-1.052-.002 1.06 1.06 0 01-.527-.909V10.2l-7.39 2.288v5.903c0 .382-.205.725-.531.911a1.044 1.044 0 01-1.052-.002 1.06 1.06 0 01-.527-.909V9.676c0-.457.296-.86.731-.996l8.5-2.632a1.045 1.045 0 011.379.996v10.632z"})})},{name:"YouTube",url:"https://www.youtube.com/channel/UC1EM6vAMj-17bUqwcxxjB9g?view_as=subscriber",icon:w.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:w.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})},{name:"SoundCloud",url:"https://soundcloud.com/deenanthonymusic",icon:w.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-5 h-5",children:w.jsx("path",{d:"M1.175 12.225c-.051 0-.094.046-.101.1l-.233 2.154.233 2.105c.007.058.05.098.101.098.05 0 .09-.04.099-.098l.255-2.105-.27-2.154c-.009-.057-.05-.1-.1-.1m-.899.828c-.06 0-.091.037-.104.094L0 14.479l.172 1.306c.013.06.045.094.104.094.053 0 .09-.037.104-.094l.192-1.306-.192-1.332c-.014-.057-.051-.094-.104-.094m1.836-1.035c-.066 0-.114.05-.12.116l-.22 2.345.22 2.274c.007.066.055.116.12.116.063 0 .11-.05.12-.116l.25-2.274-.25-2.345c-.01-.066-.057-.116-.12-.116m.89-.455c-.074 0-.128.058-.134.128l-.202 2.534.202 2.453c.006.074.06.128.134.128.07 0 .124-.054.134-.128l.23-2.453-.23-2.534c-.01-.07-.063-.128-.134-.128m.905-.163c-.082 0-.14.06-.148.14l-.186 2.697.186 2.612c.007.082.066.14.148.14.08 0 .136-.058.148-.14l.21-2.612-.21-2.697c-.012-.08-.068-.14-.148-.14m.893-.123c-.09 0-.154.068-.16.156l-.17 2.82.17 2.727c.006.088.07.156.16.156.088 0 .15-.068.16-.156l.19-2.727-.19-2.82c-.01-.088-.072-.156-.16-.156m.916-.093c-.098 0-.168.074-.176.17l-.152 2.913.152 2.842c.008.1.078.172.176.172.096 0 .164-.074.176-.172l.17-2.842-.17-2.913c-.012-.096-.08-.17-.176-.17m.935-.054c-.108 0-.182.082-.19.188l-.133 2.967.133 2.893c.008.108.082.188.19.188.104 0 .178-.08.19-.188l.152-2.893-.152-2.967c-.012-.106-.086-.188-.19-.188m.918-.022c-.114 0-.194.088-.2.2l-.12 2.989.12 2.93c.006.114.086.2.2.2.112 0 .19-.086.2-.2l.137-2.93-.138-2.989c-.01-.
181112-.088-.2-.2-.2m.938.032c-.122 0-.208.094-.214.214l-.103 2.957.103 2.96c.006.12.092.214.214.214.12 0 .204-.094.214-.214l.118-2.96-.118-2.957c-.01-.12-.094-.214-.214-.214m.925.01c-.128 0-.22.1-.226.228l-.086 2.947.086 2.97c.006.13.098.228.226.228.126 0 .216-.098.228-.228l.098-2.97-.098-2.947c-.012-.128-.102-.228-.228-.228m.928.028c-.136 0-.234.106-.24.24l-.068 2.919.068 2.98c.006.136.104.24.24.24.134 0 .23-.104.24-.24l.08-2.98-.08-2.919c-.01-.134-.106-.24-.24-.24m2.854-.834c-.2 0-.358.152-.37.352L11.07 14.5l.089 2.958c.012.2.17.35.37.35.198 0 .354-.15.368-.35l.1-2.958-.1-2.9c-.014-.2-.17-.352-.368-.352m1.022.066a.393.393 0 00-.39.384l-.07 2.834.07 2.938a.39.39 0 00.39.382.39.39 0 00.39-.382l.08-2.938-.08-2.834a.393.393 0 00-.39-.384m3.157-.17c-.263 0-.51.05-.746.152a5.555 5.555 0 00-5.425-4.426c-.372 0-.74.04-1.093.116-.132.03-.168.06-.168.19v8.796c0 .134.098.246.228.258h7.204a2.722 2.722 0 002.728-2.716 2.722 2.722 0 00-2.728-2.716"})})}];function df({size:t="default"}){const e=t==="large"?"w-11 h-11":"w-9 h-9";return w.jsx("div",{className:"flex items-center gap-3",children:wR.map(n=>w.jsx("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",title:n.name,className:`${e} rounded-full border border-white/20 flex items-center justify-center text-white/60 hover:text-cyan-400 hover:border-cyan-400/50 hover:shadow-[0_0_12px_rgba(34,211,238,0.2)] transition-all duration-300`,children:n.icon},n.name))})}const Yy="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/69b5bffdd540121a8687a82b/d8aa44204_DeenAnthonyLogo-White.png",Xy=[{label:"Terms",to:"/Terms"},{label:"Privacy",to:"/Privacy"},{label:"Sitemap",to:"/Sitemap"}];function xR(){return w.jsxs("footer",{className:"bg-[#0d0d0d] border-t border-white/5",children:[w.jsx("div",{className:"hidden md:block",children:w.jsx("div",{className:"max-w-7xl mx-auto px-8 py-6",children:w.jsxs("div",{className:"flex items-center justify-between gap-6",children:[w.jsxs("div",{className:"flex flex-col gap-1 min-w-[200px]",children:[w.jsx("img",{src:Yy,alt:"Deen Anthony",className:"h-10 w-auto object-contain mb-1"}),w.jsx("p",{className:"text-white/40 text-xs tracking-widest",children:"DJ ⢠Producer"}),w.jsx("p",{className:"text-white/20 text-xs mt-1",children:"Deen Anthony © 2026. All rights reserved."})]}),w.jsx("div",{className:"flex-1 flex justify-center",children:w.jsx(df,{})}),w.jsxs("div",{className:"flex flex-col items-end gap-2 min-w-[160px]",children:[w.jsx("div",{className:"flex gap-5",children:Xy.map(t=>w.jsx(_s,{to:t.to,className:"text-xs text-white/30 hover:text-white/60 transition-colors",children:t.label},t.to))}),w.jsxs("p",{className:"text-white/20 text-xs",children:["Powered by"," ",w.jsx("a",{href:"http://frogforce.ai/",target:"_blank",rel:"noopener noreferrer",className:"text-cyan-400/50 hover:text-cyan-400 transition-colors",children:"Frog Force.ai"})]})]})]})})}),w.jsx("div",{className:"md:hidden",children:w.jsxs("div",{className:"px-6 py-10 flex flex-col items-center text-center gap-5",children:[w.jsx("img",{src:Yy,alt:"Deen Anthony",className:"h-14 w-auto object-contain"}),w.jsx("p",{className:"text-white/40 text-xs tracking-widest",children:"DJ ⢠Producer"}),w.jsx("p",{className:"text-white/20 text-xs",children:"Deen Anthony © 2026. All rights reserved."}),w.jsx(df,{}),w.jsx("div",{className:"flex gap-6",children:Xy.map(t=>w.jsx(_s,{to:t.to,className:"text-xs text-white/30 hover:text-white/60 transition-colors",children:t.label},t.to))}),w.jsxs("p",{className:"text-white/20 text-xs",children:["Powered by"," ",w.jsx("a",{href:"http://frogforce.ai/",target:"_blank",rel:"noopener noreferrer",className:"text-cyan-400/50 hover:text-cyan-400 transition-colors",children:"Frog Force.ai"})]})]})})]})}function bR(){return w.jsxs("div",{className:"min-h-screen bg-black text-white",children:[w.jsx(vR,{}),w.jsx("main",{children:w.jsx(GE,{})}),w.jsx(xR,{})]})}function SR(){const{pathname:t}=$r();return I.useEffect(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual")},[]),I.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"auto"})},[t]),null}const u1=I.createContext({});function _R(t){const e=I.useRef(null);return e.current===null&&(e.current=t()),e.current}const th=I.createContext(null),c1=I.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function ER(t=!0){const e=I.useContext(th);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:i,register:o}=e,l=I.useId();I.useEffect(()=>{t&&o(l)},[t]);const u=I.useCallback(()=>t&&i&&i(l),[l,i,t]);return!n&&i?[!1,u]:[!0]}const nh=typeof window<"u",kR=nh?I.useLayoutEffect:I.useEffect,qt=t=>t;let d1=qt;function rh(t){let e;return()=>(e===void 0&&(e=t()),e)}const _i=(t,e,n)=>{const i=e-t;return i===0?1:(n-t)/i},Jn=t=>t*1e3,Zn=t=>t/1e3,CR={useManualTiming:!1};function TR(t){let e=new Set,n=new Set,i=!1,o=!1;const l=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function d(m){l.has(m)&&(h.schedule(m),t()),m(u)}const h={schedule:(m,g=!1,y=!1)=>{const k=y&&i?e:n;return g&&l.add(m),k.has(m)||k.add(m),m},cancel:m=>{n.delete(m),l.delete(m)},process:m=>{if(u=m,i){o=!0;return}i=!0,[e,n]=[n,e],e.forEach(d),e.clear(),i=!1,o&&(o=!1,h.process(m))}};return h}const Cl=["read","resolveKeyframes","update","preRender","render","postRender"],PR=40;function f1(t,e){let n=!1,i=!0;const o={delta:0,timestamp:0,isProcessing:!1},l=()=>n=!0,u=Cl.reduce((b,O)=>(b[O]=TR(l),b),{}),{read:d,resolveKeyframes:h,update:m,preRender:g,render:y,postRender:x}=u,k=()=>{const b=performance.now();n=!1,o.delta=i?1e3/60:Math.max(Math.min(b-o.timestamp,PR),1),o.timestamp=b,o.isProcessing=!0,d.process(o),h.process(o),m.process(o),g.process(o),y.process(o),x.process(o),o.isProcessing=!1,n&&e&&(i=!1,t(k))},P=()=>{n=!0,i=!0,o.isProcessing||t(k)};return{schedule:Cl.reduce((b,O)=>{const T=u[O];return b[O]=(D,B=!1,$=!1)=>(n||P(),T.schedule(D,B,$)),b},{}),cancel:b=>{for(let O=0;O<Cl.length;O++)u[Cl[O]].cancel(b)},state:o,steps:u}}const{schedule:ze,cancel:Ur,state:gt,steps:_d}=f1(typeof requestAnimationFrame<"u"?requestAnimationFrame:qt,!0),h1=I.createContext({strict:!1}),Jy={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"]},Ei={};for(const t in Jy)Ei[t]={isEnabled:e=>Jy[t].some(n=>!!e[n])};function RR(t){for(const e in t)Ei[e]={...Ei[e],...t[e]}}const AR=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 Kl(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||AR.has(t)}let p1=t=>!Kl(t);function NR(t){t&&(p1=e=>e.startsWith("on")?!Kl(e):t(e))}try{NR(require("@emotion/is-prop-valid").default)}catch{}function OR(t,e,n){const i={};for(const o in t)o==="values"&&typeof t.values=="object"||(p1(o)||n===!0&&Kl(o)||!e&&!Kl(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o
vendor: 25,754 bytes, line 181
181]);return i}function jR(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...i)=>t(...i);return new Proxy(n,{get:(i,o)=>o==="create"?t:(e.has(o)||e.set(o,t(o)),e.get(o))})}const ou=I.createContext({});function $o(t){return typeof t=="string"||Array.isArray(t)}function au(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const sh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ih=["initial",...sh];function lu(t){return au(t.animate)||ih.some(e=>$o(t[e]))}function m1(t){return!!(lu(t)||t.variants)}function DR(t,e){if(lu(t)){const{initial:n,animate:i}=t;return{initial:n===!1||$o(n)?n:void 0,animate:$o(i)?i:void 0}}return t.inherit!==!1?e:{}}function LR(t){const{initial:e,animate:n}=DR(t,I.useContext(ou));return I.useMemo(()=>({initial:e,animate:n}),[Zy(e),Zy(n)])}function Zy(t){return Array.isArray(t)?t.join(" "):t}const MR=Symbol.for("motionComponentSymbol");function ii(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function IR(t,e,n){return I.useCallback(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):ii(n)&&(n.current=i))},[e])}const oh=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),FR="framerAppearId",g1="data-"+oh(FR),{schedule:ah}=f1(queueMicrotask,!1),y1=I.createContext({});function UR(t,e,n,i,o){var l,u;const{visualElement:d}=I.useContext(ou),h=I.useContext(h1),m=I.useContext(th),g=I.useContext(c1).reducedMotion,y=I.useRef(null);i=i||h.renderer,!y.current&&i&&(y.current=i(t,{visualState:e,parent:d,props:n,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:g}));const x=y.current,k=I.useContext(y1);x&&!x.projection&&o&&(x.type==="html"||x.type==="svg")&&BR(y.current,n,o,k);const P=I.useRef(!1);I.useInsertionEffect(()=>{x&&P.current&&x.update(n,m)});const E=n[g1],S=I.useRef(!!E&&!(!((l=window.MotionHandoffIsComplete)===null||l===void 0)&&l.call(window,E))&&((u=window.MotionHasOptimisedAnimation)===null||u===void 0?void 0:u.call(window,E)));return kR(()=>{x&&(P.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),ah.render(x.render),S.current&&x.animationState&&x.animationState.animateChanges())}),I.useEffect(()=>{x&&(!S.current&&x.animationState&&x.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(window,E)}),S.current=!1))}),x}function BR(t,e,n,i){const{layoutId:o,layout:l,drag:u,dragConstraints:d,layoutScroll:h,layoutRoot:m}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:v1(t.parent)),t.projection.setOptions({layoutId:o,layout:l,alwaysMeasureLayout:!!u||d&&ii(d),visualElement:t,animationType:typeof l=="string"?l:"both",initialPromotionConfig:i,layoutScroll:h,layoutRoot:m})}function v1(t){if(t)return t.options.allowProjection!==!1?t.projection:v1(t.parent)}function VR({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:i,Component:o}){var l,u;t&&RR(t);function d(m,g){let y;const x={...I.useContext(c1),...m,layoutId:zR(m)},{isStatic:k}=x,P=LR(m),E=i(m,k);if(!k&&nh){$R();const S=HR(x);y=S.MeasureLayout,P.visualElement=UR(o,E,x,e,S.ProjectionNode)}return w.jsxs(ou.Provider,{value:P,children:[y&&P.visualElement?w.jsx(y,{visualElement:P.visualElement,...x}):null,n(o,m,IR(E,P.visualElement,g),E,k,P.visualElement)]})}d.displayName=`motion.${typeof o=="string"?o:`create(${(u=(l=o.displayName)!==null&&l!==void 0?l:o.name)!==null&&u!==void 0?u:""})`}`;const h=I.forwardRef(d);return h[MR]=o,h}function zR({layoutId:t}){const e=I.useContext(u1).id;return e&&t!==void 0?e+"-"+t:t}function $R(t,e){I.useContext(h1).strict}function HR(t){const{drag:e,layout:n}=Ei;if(!e&&!n)return{};const i={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}const WR=["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 lh(t){return typeof t!="string"||t.includes("-")?!1:!!(WR.indexOf(t)>-1||/[A-Z]/u.test(t))}function e0(t){const e=[{},{}];return t==null||t.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}function uh(t,e,n,i){if(typeof e=="function"){const[o,l]=e0(i);e=e(n!==void 0?n:t.custom,o,l)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[o,l]=e0(i);e=e(n!==void 0?n:t.custom,o,l)}return e}const ff=t=>Array.isArray(t),qR=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),KR=t=>ff(t)?t[t.length-1]||0:t,Ct=t=>!!(t&&t.getVelocity);function Fl(t){const e=Ct(t)?t.get():t;return qR(e)?e.toValue():e}function QR({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:n},i,o,l){const u={latestValues:GR(i,o,l,t),renderState:e()};return n&&(u.onMount=d=>n({props:i,current:d,...u}),u.onUpdate=d=>n(d)),u}const w1=t=>(e,n)=>{const i=I.useContext(ou),o=I.useContext(th),l=()=>QR(t,e,i,o);return n?l():_R(l)};function GR(t,e,n,i){const o={},l=i(t,{});for(const x in l)o[x]=Fl(l[x]);let{initial:u,animate:d}=t;const h=lu(t),m=m1(t);e&&m&&!h&&t.inherit!==!1&&(u===void 0&&(u=e.initial),d===void 0&&(d=e.animate));let g=n?n.initial===!1:!1;g=g||u===!1;const y=g?d:u;if(y&&typeof y!="boolean"&&!au(y)){const x=Array.isArray(y)?y:[y];for(let k=0;k<x.length;k++){const P=uh(t,x[k]);if(P){const{transitionEnd:E,transition:S,...b}=P;for(const O in b){let T=b[O];if(Array.isArray(T)){const D=g?T.length-1:0;T=T[D]}T!==null&&(o[O]=T)}for(const O in E)o[O]=E[O]}}}return o}const Ni=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Os=new Set(Ni),x1=t=>e=>typeof e=="string"&&e.startsWith(t),b1=x1("--"),YR=x1("var(--"),ch=t=>YR(t)?XR.test(t.split("/*")[0].trim()):!1,XR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,S1=(t,e)=>e&&typeof t=="number"?e.transform(t):t,er=(t,e,n)=>n>e?e:n<t?t:n,Oi={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Ho={...Oi,transform:t=>er(0,1,t)},Tl={...Oi,default:1},ia=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Cr=ia("deg"),Ln=ia("%"),pe=ia("px"),JR=ia("vh"),ZR=ia("vw"),t0={...Ln,parse:t=>Ln.parse(t)/100,transform:t=>Ln.transform(t*100)},eA={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,radius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,top:pe,right:pe,bottom:pe,left:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,backgroundPositionX:pe,backgroundPositionY:pe},tA={rotate:Cr,rotateX:Cr,rotateY:Cr,rotateZ:Cr,scale:Tl,scaleX:Tl,scaleY:Tl,scaleZ:Tl,skew:Cr,skewX:Cr,skewY:Cr,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:Ho,originX:t0,originY:t0,originZ:pe},n0={...Oi,transform:Math.round},dh={...eA,...tA,zIndex:n0,size:pe,fillOpacity:Ho,strokeOpacity:Ho,numOctaves:n0},nA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rA=Ni.length;function sA(t,e,n){let i="",o=!0;for(let l=0;l<rA;l++){const u=Ni[l],d=t[u];if(d===void 0)continue;let h=!0;if(typeof d=="number"?h=d===(u.startsWith("scale")?1:0):h=parseFloat(d)===0,!h||n){const m=S1(d,dh[u]);if(!h){o=!1;const g=nA[u]||u;i+=`${g}(${m}) `}n&&(e[u]=m)}}return i=i.trim(),n?i=n(e,o?"":i):o&&(i="none"),i}function fh(t,e,n){const{style:i,vars:o,transformOrigin:l}=t;let u=!1,d=!1;for(const h in e){const m=e[h];if(Os.has(h)){u=!0;continue}else if(b1(h)){o[h]=m;continue}else{const g=S1(m,dh[h]);h.startsWith("origin")?(d=!0,l[h]=g):i[h]=g}}if(e.transform||(u||n?i.transform=sA(e,t.transform,n):i.transform&&(i.transform="none")),d){const{originX:h="50%",originY:m="50%",originZ:g=0}=l;i.transformOrigin=`${h} ${m} ${g}`}}const iA={offset:"stroke-dashoffset",array:"stroke-dasharray"},oA={offset:"strokeDashoffset",array:"strokeDasharray"};function aA(t,e,n=1,i=0,o=!0){t.pathLength=1;const l=o?iA:oA;t[l.offset]=pe.transform(-i);const u=pe.transform(e),d=pe.transform(n);t[l.array]=`${u} ${d}`}function r0(t,e,n){return typeof t=="string"?t:pe.transform(e+n*t)}function lA(t,e,n){const i=r0(e,t.x,t.width),o=r0(n,t.y,t.height);return`${i} ${o}`}function hh(t,{attrX:e,attrY:n,attrScale:i,originX:o,originY:l,pathLength:u,pathSpacing:d=1,pathOffset:h=0,...m},g,y){if(fh(t,m,y),g){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:k,dimensions:P}=t;x.transform&&(P&&(k.transform=x.transform),delete x.transform),P&&(o!==void 0||l!==void 0||k.transform)&&(k.transformOrigin=lA(P,o!==void 0?o:.5,l!==void 0?l:.5)),e!==void 0&&(x.x=e),n!==void 0&&(x.y=n),i!==void 0&&(x.scale=i),u!==void 0&&aA(x,u,d,h,!1)}const ph=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),_1=()=>({...ph(),attrs:{}}),mh=t=>typeof t=="string"&&t.toLowerCase()==="svg";function E1(t,{style:e,vars:n},i,o){Object.assign(t.style,e,o&&o.getProjectionStyles(i));for(const l in n)t.style.setProperty(l,n[l])}const k1=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 C1(t,e,n,i){E1(t,e,void 0,i);for(const o in e.attrs)t.setAttribute(k1.has(o)?o:oh(o),e.attrs[o])}const Ql={};function uA(t){Object.assign(Ql,t)}function T1(t,{layout:e,layoutId:n}){return Os.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Ql[t]||t==="opacity")}function gh(t,e,n){var i;const{style:o}=t,l={};for(const u in o)(Ct(o[u])||e.style&&Ct(e.style[u])||T1(u,t)||((i=n==null?void 0:n.getValue(u))===null||i===void 0?void 0:i.liveStyle)!==void 0)&&(l[u]=o[u]);return l}function P1(t,e,n){const i=gh(t,e,n);for(const o in t)if(Ct(t[o])||Ct(e[o])){const l=Ni.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;i[l]=t[o]}return i}function cA(t,e){try{e.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{e.dimensions={x:0,y:0,width:0,height:0}}}const s0=["x","y","width","height","cx","cy","r"],dA={useVisualState:w1({scrapeMotionValuesFromProps:P1,createRenderState:_1,onUpdate:({props:t,prevProps:e,current:n,renderState:i,latestValues:o})=>{if(!n)return;let l=!!t.drag;if(!l){for(const d in o)if(Os.has(d)){l=!0;break}}if(!l)return;let u=!e;if(e)for(let d=0;d<s0.length;d++){const h=s0[d];t[h]!==e[h]&&(u=!0)}u&&ze.read(()=>{cA(n,i),ze.render(()=>{hh(i,o,mh(n.tagName),t.transformTemplate),C1(n,i)})})}})},fA={useVisualState:w1({scrapeMotionValuesFromProps:gh,createRenderState:ph})};function R1(t,e,n){for(const i in e)!Ct(e[i])&&!T1(i,n)&&(t[i]=e[i])}function hA({transformTemplate:t},e){return I.useMemo(()=>{const n=ph();return fh(n,e,t),Object.assign({},n.vars,n.style)},[e])}function pA(t,e){const n=t.style||{},i={};return R1(i,n,t),Object.assign(i,hA(t,e)),i}function mA(t,e){const n={},i=pA(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}function gA(t,e,n,i){const o=I.useMemo(()=>{const l=_1();return hh(l,e,mh(i),t.transformTemplate),{...l.attrs,style:{...l.style}}},[e]);if(t.style){const l={};R1(l,t.style,t),o.style={...l,...o.style}}return o}function yA(t=!1){return(n,i,o,{latestValues:l},u)=>{const h=(lh(n)?gA:mA)(i,l,u,n),m=OR(i,typeof n=="string",t),g=n!==I.Fragment?{...m,...h,ref:o}:{},{children:y}=i,x=I.useMemo(()=>Ct(y)?y.get():y,[y]);return I.createElement(n,{...g,children:x})}}function vA(t,e){return function(i,{forwardMotionProps:o}={forwardMotionProps:!1}){const u={...lh(i)?dA:fA,preloadedFeatures:t,useRender:yA(o),createVisualElement:e,Component:i};return VR(u)}}function A1(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}function uu(t,e,n){const i=t.getProps();return uh(i,e,n!==void 0?n:i.custom,t)}const wA=rh(()=>window.ScrollTimeline!==void 0);class xA{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,n){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=n}attachTimeline(e,n){const i=this.animations.map(o=>{if(wA()&&o.attachTimeline)return o.attachTimeline(e);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(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let n=0;n<this.animations.length;n++)e=Math.max(e,this.animations[n].duration);return e}runAll(e){this.animations.forEach(n=>n[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class bA extends xA{then(e,n){return Promise.all(this.animations).then(e).catch(n)}}function yh(t,e){return t?t[e]||t.default||t:void 0}const hf=2e4;function N1(t){let e=0;const n=50;let i=t.next(e);for(;!i.done&&e<hf;)e+=n,i=t.next(e);return e>=hf?1/0:e}function vh(t){return typeof t=="function"}function i0(t,e){t.timeline=e,t.onfinish=null}const wh=t=>Array.isArray(t)&&typeof t[0]=="number",SA={linearEasing:void 0};function _A(t,e){const n=rh(t);return()=>{var i;return(i=SA[e])!==null&&i!==void 0?i:n()}}const Gl=_A(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),O1=(t,e,n=10)=>{let i="";const o=Math.max(Math.round(e/n),2);for(let l=0;l<o;l++)i+=t(_i(0,o-1,l))+", ";return`linear(${i.substring(0,i.length-2)})`};function j1(t){return!!(typeof t=="function"&&Gl()||!t||typeof t=="string"&&(t in pf||Gl())||wh(t)||Array.isArray(t)&&t.every(j1))}const Ro=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,pf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ro([0,.65,.55,1]),circOut:Ro([.55,0,1,.45]),backIn:Ro([.31,.01,.66,-.59]),backOut:Ro([.33,1.53,.69,.99])};function D1(t,e){if(t)return typeof t=="function"&&Gl()?O1(t,e):wh(t)?Ro(t):Array.isArray(t)?t.map(n=>D1(n,e)||pf.easeOut):pf[t]}const bn={x:!1,y:!1};function L1(){return bn.x||bn.y}function EA(t,e,n){var i;if(t instanceof Element)return[t];if(typeof t=="string"){let o=document;const l=(i=void 0)!==null&&i!==void 0?i:o.querySelectorAll(t);return l?Array.from(l):[]}return Array.from(t)}function M1(t,e){const n=EA(t),i=new AbortController,o={passive:!0,...e,signal:i.signal};return[n,o,()=>i.abort()]}function o0(t){return e=>{e.pointerType==="touch"||L1()||t(e)}}function kA(t,e,n={}){const[i,o,l]=M1(t,n),u=o0(d=>{const{target:h}=d,m=e(d);if(typeof m!="function"||!h)return;const g=o0(y=>{m(y),h.removeEventListener("pointerleave",g)});h.addEventListener("pointerleave",g,o)});return i.forEach(d=>{d.addEventListener("pointerenter",u,o)}),l}const I1=(t,e)=>e?t===e?!0:I1(t,e.parentElement):!1,xh=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,CA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function TA(t){return CA.has(t.tagName)||t.tabIndex!==-1}const Ao=new WeakSet;function a0(t){return e=>{e.key==="Enter"&&t(e)}}function Ed(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const PA=(t,e)=>{const n=t.currentTarget;if(!n)return;const i=a0(()=>{if(Ao.has(n))return;Ed(n,"down");const o=a0(()=>{Ed(n,"up")}),l=()=>Ed(n,"cancel");n.addEventListener("keyup",o,e),n.addEventListener("blur",l,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)};function l0(t){return xh(t)&&!L1()}function RA(t,e,n={}){const[i,o,l]=M1(t,n),u=d=>{const h=d.currentTarget;if(!l0(d)||Ao.has(h))return;Ao.add(h);const m=e(d),g=(k,P)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",x),!(!l0(k)||!Ao.has(h))&&(Ao.delete(h),typeof m=="function"&&m(k,{success:P}))},y=k=>{g(k,n.useGlobalTarget||I1(h,k.target))},x=k=>{g(k,!1)};window.addEventListener("pointerup",y,o),window.addEventListener("pointercancel",x,o)};return i.forEach(d=>{!TA(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0),(n.useGlobalTarget?window:d).addEventListener("pointerdown",u,o),d.addEventListener("focus",m=>PA(m,o),o)}),l}function AA(t){return t==="x"||t==="y"?bn[t]?null:(bn[t]=!0,()=>{bn[t]=!1}):bn.x||bn.y?null:(bn.x=bn.y=!0,()=>{bn.x=bn.y=!1})}const F1=new Set(["width","height","top","left","right","bottom",...Ni]);let Ul;function NA(){Ul=void 0}const Mn={now:()=>(Ul===void 0&&Mn.set(gt.isProcessing||CR.useManualTiming?gt.timestamp:performance.now()),Ul),set:t=>{Ul=t,queueMicrotask(NA)}};function bh(t,e){t.indexOf(e)===-1&&t.push(e)}function Sh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class _h{constructor(){this.subscriptions=[]}add(e){return bh(this.subscriptions,e),()=>Sh(this.subscriptions,e)}notify(e,n,i){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](e,n,i);else for(let l=0;l<o;l++){const u=this.subscriptions[l];u&&u(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function U1(t,e){return e?t*(1e3/e):0}const u0=30,OA=t=>!isNaN(parseFloat(t));class jA{constructor(e,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(i,o=!0)=>{const l=Mn.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(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=Mn.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=OA(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new _h);const i=this.events[e].add(n);return e==="change"?()=>{i(),ze.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Mn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>u0)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,u0);return U1(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(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 Wo(t,e){return new jA(t,e)}function DA(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Wo(n))}function LA(t,e){const n=uu(t,e);let{transitionEnd:i={},transition:o={},...l}=n||{};l={...l,...i};for(const u in l){const d=KR(l[u]);DA(t,u,d)}}function MA(t){return!!(Ct(t)&&t.add)}function mf(t,e){const n=t.getValue("willChange");if(MA(n))return n.add(e)}function B1(t){return t.props[g1]}const V1=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,IA=1e-7,FA=12;function UA(t,e,n,i,o){let l,u,d=0;do u=e+(n-e)/2,l=V1(u,i,o)-t,l>0?n=u:e=u;while(Math.abs(l)>IA&&++d<FA);return u}function oa(t,e,n,i){if(t===e&&n===i)return qt;const o=l=>UA(l,0,1,t,n);return l=>l===0||l===1?l:V1(o(l),e,i)}const z1=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,$1=t=>e=>1-t(1-e),H1=oa(.33,1.53,.69,.99),Eh=$1(H1),W1=z1(Eh),q1=t=>(t*=2)<1?.5*Eh(t):.5*(2-Math.pow(2,-10*(t-1))),kh=t=>1-Math.sin(Math.acos(t)),K1=$1(kh),Q1=z1(kh),G1=t=>/^0[^.\s]+$/u.test(t);function BA(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||G1(t):!0}const Do=t=>Math.round(t*1e5)/1e5,Ch=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function VA(t){return t==null}const zA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Th=(t,e)=>n=>!!(typeof n=="string"&&zA.test(n)&&n.startsWith(t)||e&&!VA(n)&&Object.prototype.hasOwnProperty.call(n,e)),Y1=(t,e,n)=>i=>{if(typeof i!="string")return i;const[o,l,u,d]=i.match(Ch);return{[t]:parseFloat(o),[e]:parseFloat(l),[n]:parseFloat(u),alpha:d!==void 0?parseFloat(d):1}},$A=t=>er(0,255,t),kd={...Oi,transform:t=>Math.round($A(t))},hs={test:Th("rgb","red"),parse:Y1("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+kd.transform(t)+", "+kd.transform(e)+", "+kd.transform(n)+", "+Do(Ho.transform(i))+")"};function HA(t){let e="",n="",i="",o="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),o=t.substring(4,5),e+=e,n+=n,i+=i,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}}const gf={test:Th("#"),parse:HA,transform:hs.transform},oi={test:Th("hsl","hue"),parse:Y1("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+Ln.transform(Do(e))+", "+Ln.transform(Do(n))+", "+Do(Ho.transform(i))+")"},kt={test:t=>hs.test(t)||gf.test(t)||oi.test(t),parse:t=>hs.test(t)?hs.parse(t):oi.test(t)?oi.parse(t):gf.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?hs.transform(t):oi.transform(t)},WA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function qA(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Ch))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(WA))===null||n===void 0?void 0:n.length)||0)>0}const X1="number",J1="color",KA="var",QA="var(",c0="${}",GA=/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 qo(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},o=[];let l=0;const d=e.replace(GA,h=>(kt.test(h)?(i.color.push(l),o.push(J1),n.push(kt.parse(h))):h.startsWith(QA)?(i.var.push(l),o.push(KA),n.push(h)):(i.number.push(l),o.push(X1),n.push(parseFloat(h))),++l,c0)).split(c0);return{values:n,split:d,indexes:i,types:o}}function Z1(t){return qo(t).values}function ex(t){const{split:e,types:n}=qo(t),i=e.length;return o=>{let l="";for(let u=0;u<i;u++)if(l+=e[u],o[u]!==void 0){const d=n[u];d===X1?l+=Do(o[u]):d===J1?l+=kt.transform(o[u]):l+=o[u]}return l}}const YA=t=>typeof t=="number"?0:t;function XA(t){const e=Z1(t);return ex(t)(e.map(YA))}const Br={test:qA,parse:Z1,createTransformer:ex,getAnimatableNone:XA},JA=new Set(["brightness","contrast","saturate","opacity"]);function ZA(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[i]=n.match(Ch)||[];if(!i)return t;const o=n.replace(i,"");let l=JA.has(e)?1:0;return i!==n&&(l*=100),e+"("+l+o+")"}const e4=/\b([a-z-]*)\(.*?\)/gu,yf={...Br,getAnimatableNone:t=>{const e=t.match(e4);return e?e.map(ZA).join(" "):t}},t4={...dh,color:kt,backgroundColor:kt,outlineColor:kt,fill:kt,stroke:kt,borderColor:kt,borderTopColor:kt,borderRightColor:kt,borderBottomColor:kt,borderLeftColor:kt,filter:yf,WebkitFilter:yf},Ph=t=>t4[t];function tx(t,e){let n=Ph(t);return n!==yf&&(n=Br),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const n4=new Set(["auto","none","0"]);function r4(t,e,n){let i=0,o;for(;i<t.length&&!o;){const l=t[i];typeof l=="string"&&!n4.has(l)&&qo(l).values.length&&(o=t[i]),i++}if(o&&n)for(const l of e)t[l]=tx(n,o)}const d0=t=>t===Oi||t===pe,f0=(t,e)=>parseFloat(t.split(", ")[e]),h0=(t,e)=>(n,{transform:i})=>{if(i==="none"||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/u);if(o)return f0(o[1],e);{const l=i.match(/^matrix\((.+)\)$/u);return l?f0(l[1],t):0}},s4=new Set(["x","y","z"]),i4=Ni.filter(t=>!s4.has(t));function o4(t){const e=[];return i4.forEach(n=>{const i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}const ki={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>
vendor: 3,670 bytes, line 181
181parseFloat(e)+(t.max-t.min),x:h0(4,13),y:h0(5,14)};ki.translateX=ki.x;ki.translateY=ki.y;const Cs=new Set;let vf=!1,wf=!1;function nx(){if(wf){const t=Array.from(Cs).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{const o=o4(i);o.length&&(n.set(i,o),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const o=n.get(i);o&&o.forEach(([l,u])=>{var d;(d=i.getValue(l))===null||d===void 0||d.set(u)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}wf=!1,vf=!1,Cs.forEach(t=>t.complete()),Cs.clear()}function rx(){Cs.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(wf=!0)})}function a4(){rx(),nx()}class Rh{constructor(e,n,i,o,l,u=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=o,this.element=l,this.isAsync=u}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Cs.add(this),vf||(vf=!0,ze.read(rx),ze.resolveKeyframes(nx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:i,motionValue:o}=this;for(let l=0;l<e.length;l++)if(e[l]===null)if(l===0){const u=o==null?void 0:o.get(),d=e[e.length-1];if(u!==void 0)e[0]=u;else if(i&&n){const h=i.readValue(n,d);h!=null&&(e[0]=h)}e[0]===void 0&&(e[0]=d),o&&u===void 0&&o.set(e[0])}else e[l]=e[l-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Cs.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Cs.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const sx=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),l4=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function u4(t){const e=l4.exec(t);if(!e)return[,];const[,n,i,o]=e;return[`--${n??i}`,o]}function ix(t,e,n=1){const[i,o]=u4(t);if(!i)return;const l=window.getComputedStyle(e).getPropertyValue(i);if(l){const u=l.trim();return sx(u)?parseFloat(u):u}return ch(o)?ix(o,e,n+1):o}const ox=t=>e=>e.test(t),c4={test:t=>t==="auto",parse:t=>t},ax=[Oi,pe,Ln,Cr,ZR,JR,c4],p0=t=>ax.find(ox(t));class lx extends Rh{constructor(e,n,i,o,l){super(e,n,i,o,l,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let h=0;h<e.length;h++){let m=e[h];if(typeof m=="string"&&(m=m.trim(),ch(m))){const g=ix(m,n.current);g!==void 0&&(e[h]=g),h===e.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!F1.has(i)||e.length!==2)return;const[o,l]=e,u=p0(o),d=p0(l);if(u!==d)if(d0(u)&&d0(d))for(let h=0;h<e.length;h++){const m=e[h];typeof m=="string"&&(e[h]=parseFloat(m))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,i=[];for(let o=0;o<e.length;o++)BA(e[o])&&i.push(o);i.length&&r4(e,i,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ki[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&e.getValue(i,o).jump(o,!1)}measureEndState(){var e;const{element:n,name:i,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const l=n.getValue(i);l&&l.jump(this.measuredOrigin,!1);const u=o.length-1,d=o[u];o[u]=ki[i](n.measureViewportBox(),window.getComputedStyle(n.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((e=this.removedTransforms)===null||e===void 0)&&e.length&&this.removedTransforms.forEac
vendor: 7,100 bytes, line 181
181h(([h,m])=>{n.getValue(h).set(m)}),this.resolveNoneKeyframes()}}const m0=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Br.test(t)||t==="0")&&!t.startsWith("url("));function d4(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function f4(t,e,n,i){const o=t[0];if(o===null)return!1;if(e==="display"||e==="visibility")return!0;const l=t[t.length-1],u=m0(o,e),d=m0(l,e);return!u||!d?!1:d4(t)||(n==="spring"||vh(n))&&i}const h4=t=>t!==null;function cu(t,{repeat:e,repeatType:n="loop"},i){const o=t.filter(h4),l=e&&n!=="loop"&&e%2===1?0:o.length-1;return!l||i===void 0?o[l]:i}const p4=40;class ux{constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:o=0,repeatDelay:l=0,repeatType:u="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Mn.now(),this.options={autoplay:e,delay:n,type:i,repeat:o,repeatDelay:l,repeatType:u,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>p4?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&a4(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=Mn.now(),this.hasAttemptedResolve=!0;const{name:i,type:o,velocity:l,delay:u,onComplete:d,onUpdate:h,isGenerator:m}=this.options;if(!m&&!f4(e,i,o,l))if(u)this.options.duration=0;else{h&&h(cu(e,this.options,n)),d&&d(),this.resolveFinishedPromise();return}const g=this.initPlayback(e,n);g!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...g},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const qe=(t,e,n)=>t+(e-t)*n;function Cd(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function m4({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let o=0,l=0,u=0;if(!e)o=l=u=n;else{const d=n<.5?n*(1+e):n+e-n*e,h=2*n-d;o=Cd(h,d,t+1/3),l=Cd(h,d,t),u=Cd(h,d,t-1/3)}return{red:Math.round(o*255),green:Math.round(l*255),blue:Math.round(u*255),alpha:i}}function Yl(t,e){return n=>n>0?e:t}const Td=(t,e,n)=>{const i=t*t,o=n*(e*e-i)+i;return o<0?0:Math.sqrt(o)},g4=[gf,hs,oi],y4=t=>g4.find(e=>e.test(t));function g0(t){const e=y4(t);if(!e)return!1;let n=e.parse(t);return e===oi&&(n=m4(n)),n}const y0=(t,e)=>{const n=g0(t),i=g0(e);if(!n||!i)return Yl(t,e);const o={...n};return l=>(o.red=Td(n.red,i.red,l),o.green=Td(n.green,i.green,l),o.blue=Td(n.blue,i.blue,l),o.alpha=qe(n.alpha,i.alpha,l),hs.transform(o))},v4=(t,e)=>n=>e(t(n)),aa=(...t)=>t.reduce(v4),xf=new Set(["none","hidden"]);function w4(t,e){return xf.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function x4(t,e){return n=>qe(t,e,n)}function Ah(t){return typeof t=="number"?x4:typeof t=="string"?ch(t)?Yl:kt.test(t)?y0:_4:Array.isArray(t)?cx:typeof t=="object"?kt.test(t)?y0:b4:Yl}function cx(t,e){const n=[...t],i=n.length,o=t.map((l,u)=>Ah(l)(l,e[u]));return l=>{for(let u=0;u<i;u++)n[u]=o[u](l);return n}}function b4(t,e){const n={...t,...e},i={};for(const o in n)t[o]!==void 0&&e[o]!==void 0&&(i[o]=Ah(t[o])(t[o],e[o]));return o=>{for(const l in i)n[l]=i[l](o);return n}}function S4(t,e){var n;const i=[],o={color:0,var:0,number:0};for(let l=0;l<e.values.length;l++){const u=e.types[l],d=t.indexes[u][o[u]],h=(n=t.values[d])!==null&&n!==void 0?n:0;i[l]=h,o[u]++}return i}const _4=(t,e)=>{const n=Br.createTransformer(e),i=qo(t),o=qo(e);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?xf.has(t)&&!o.values.length||xf.has(e)&&!i.values.length?w4(t,e):aa(cx(S4(i,o),o.values),n):Yl(t,e)};function dx(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?qe(t,e,n):Ah(t)(t,e)}const E4=5;function fx(t,e,n){const i=Math.max(e-E4,0);return U1(n-t(i),e-i)}const Ge={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},Pd=.001;function k4({duration:t=Ge.duration,bounce:e=Ge.bounce,velocity:n=Ge.velocity,mass:i=Ge.mass}){let o,l,u=1-e;u=er(Ge.minDamping,Ge.maxDamping,u),t=er(Ge.minDuration,Ge.maxDuration,Zn(t)),u<1?(o=m=>{const g=m*u,y=g*t,x=g-n,k=bf(m,u),P=Math.exp(-y);return Pd-x/k*P},l=m=>{const y=m*u*t,x=y*n+n,k=Math.pow(u,2)*Math.pow(m,2)*t,P=Math.exp(-y),E=bf(Math.pow(m,2),u);return(-o(m)+Pd>0?-1:1)*((x-k)*P)/E}):(o=m=>{const g=Math.exp(-m*t),y=(m-n)*t+1;return-Pd+g*y},l=m=>{const g=Math.exp(-m*t),y=(n-m)*(t*t);return g*y});const d=5/t,h=T4(o,l,d);if(t=Jn(t),isNaN(h))return{stiffness:Ge.stiffness,damping:Ge.damping,duration:t};{const m=Math.pow(h,2)*i;return{stiffness:m,damping:u*2*Math.sqrt(i*m),duration:t}}}const C4=12;function T4(t,e,n){let i=n;for(let o=1;o<C4;o++)i=i-t(i)/e(i);return i}function bf(t,e){return t*Math.sqrt(1-e*e)}const P4=["duration","bounce"],R4=["stiffness","damping","mass"];function v0(t,e){return e.some(n=>t[n]!==void 0)}function A4(t){let e={velocity:Ge.velocity,stiffness:Ge.stiffness,damping:Ge.damping,mass:Ge.mass,isResolvedFromDuration:!1,...t};if(!v0(t,R4)&&v0(t,P4))if(t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(n*1.2),o=i*i,l=2*er(.05,1,1-(t.bounce||0))*Math.sqrt(o);e={...e,mass:Ge.mass,stiffness:o,damping:l}}else{const n=k4(t);e={...e,...n,mass:Ge.mass},e.isResolvedFromDuration=!0}return e}function hx(t=Ge.visualDuration,e=Ge.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:o}=n;const l=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],d={done:!1,value:l},{stiffness:h,damping:m,mass:g,duration:y,velocity:x,isResolvedFromDuration:k}=A4({...n,velocity:-Zn(n.velocity||0)}),P=x||0,E=m/(2*Math.sqrt(h*g)),S=u-l,b=Zn(Math.sqrt(h/g)),O=Math.abs(S)<5;i||(i=O?Ge.restSpeed.granular:Ge.restSpeed.default),o||(o=O?Ge.restDelta.granular:Ge.restDelta.default);let T;if(E<1){const B=bf(b,E);T=$=>{const te=Math.exp(-E*b*$);return u-te*((P+E*b*S)/B*Math.sin(B*$)+S*Math.cos(B*$))}}else if(E===1)T=B=>u-Math.exp(-b*B)*(S+(P+b*S)*B);else{const B=b*Math.sqrt(E*E-1);T=$=>{const te=Math.exp(-E*b*$),U=Math.min(B*$,300);return u-te*((P+E*b*S)*Math.sinh(U)+B*S*Math.cosh(U))/B}}const D={calculatedDuration:k&&y||null,next:B=>{const $=T(B);if(k)d.done=B>=y;else{let te=0;E<1&&(te=B===0?Jn(P):fx(T,B,$));const U=Math.abs(te)<=i,Z=Math.abs(u-$)<=o;d.done=U&&Z}return d.value=d.done?u:$,d},toString:()=>{const B=Math.min(N1(D),hf),$=O1(te=>D.next(B*te).value,B,30);return B+"ms "+$}};return D}function w0({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:l=500,modifyTarget:u,min:d,max:h,restDelta:m=.5,restSpeed:g}){const y=t[0],x={done:!1,value:y},k=U=>d!==void 0&&U<d||h!==void 0&&U>h,P=U=>d===void 0?h:h===void 0||Math.abs(d-U)<Math.abs(h-U)?d:h;let E=n*e;const S=y+E,b=u===void 0?S:u(S);b!==S&&(E=b-y);const O=U=>-E*Math.exp(-U/i),T=U=>b+O(U),D=U=>
vendor: 4,789 bytes, line 181
181{const Z=O(U),le=T(U);x.done=Math.abs(Z)<=m,x.value=x.done?b:le};let B,$;const te=U=>{k(x.value)&&(B=U,$=hx({keyframes:[x.value,P(x.value)],velocity:fx(T,U,x.value),damping:o,stiffness:l,restDelta:m,restSpeed:g}))};return te(0),{calculatedDuration:null,next:U=>{let Z=!1;return!$&&B===void 0&&(Z=!0,D(U),te(U)),B!==void 0&&U>=B?$.next(U-B):(!Z&&D(U),x)}}}const N4=oa(.42,0,1,1),O4=oa(0,0,.58,1),px=oa(.42,0,.58,1),j4=t=>Array.isArray(t)&&typeof t[0]!="number",D4={linear:qt,easeIn:N4,easeInOut:px,easeOut:O4,circIn:kh,circInOut:Q1,circOut:K1,backIn:Eh,backInOut:W1,backOut:H1,anticipate:q1},x0=t=>{if(wh(t)){d1(t.length===4);const[e,n,i,o]=t;return oa(e,n,i,o)}else if(typeof t=="string")return D4[t];return t};function L4(t,e,n){const i=[],o=n||dx,l=t.length-1;for(let u=0;u<l;u++){let d=o(t[u],t[u+1]);if(e){const h=Array.isArray(e)?e[u]||qt:e;d=aa(h,d)}i.push(d)}return i}function M4(t,e,{clamp:n=!0,ease:i,mixer:o}={}){const l=t.length;if(d1(l===e.length),l===1)return()=>e[0];if(l===2&&e[0]===e[1])return()=>e[1];const u=t[0]===t[1];t[0]>t[l-1]&&(t=[...t].reverse(),e=[...e].reverse());const d=L4(e,i,o),h=d.length,m=g=>{if(u&&g<t[0])return e[0];let y=0;if(h>1)for(;y<t.length-2&&!(g<t[y+1]);y++);const x=_i(t[y],t[y+1],g);return d[y](x)};return n?g=>m(er(t[0],t[l-1],g)):m}function I4(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const o=_i(0,e,i);t.push(qe(n,1,o))}}function F4(t){const e=[0];return I4(e,t.length-1),e}function U4(t,e){return t.map(n=>n*e)}function B4(t,e){return t.map(()=>e||px).splice(0,t.length-1)}function Xl({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const o=j4(i)?i.map(x0):x0(i),l={done:!1,value:e[0]},u=U4(n&&n.length===e.length?n:F4(e),t),d=M4(u,e,{ease:Array.isArray(o)?o:B4(e,o)});return{calculatedDuration:t,next:h=>(l.value=d(h),l.done=h>=t,l)}}const V4=t=>{const e=({timestamp:n})=>t(n);return{start:()=>ze.update(e,!0),stop:()=>Ur(e),now:()=>gt.isProcessing?gt.timestamp:Mn.now()}},z4={decay:w0,inertia:w0,tween:Xl,keyframes:Xl,spring:hx},$4=t=>t/100;class Nh extends ux{constructor(e){super(e),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,u=(o==null?void 0:o.KeyframeResolver)||Rh,d=(h,m)=>this.onKeyframesResolved(h,m);this.resolver=new u(l,d,n,i,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:l,velocity:u=0}=this.options,d=vh(n)?n:z4[n]||Xl;let h,m;d!==Xl&&typeof e[0]!="number"&&(h=aa($4,dx(e[0],e[1])),e=[0,100]);const g=d({...this.options,keyframes:e});l==="mirror"&&(m=d({...this.options,keyframes:[...e].reverse(),velocity:-u})),g.calculatedDuration===null&&(g.calculatedDuration=N1(g));const{calculatedDuration:y}=g,x=y+o,k=x*(i+1)-o;return{generator:g,mirroredGenerator:m,mapPercentToKeyframes:h,calculatedDuration:y,resolvedDuration:x,totalDuration:k}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:i}=this;if(!i){const{keyframes:U}=this.options;return{done:!0,value:U[U.length-1]}}const{finalKeyframe:o,generator:l,mirroredGenerator:u,mapPercentToKeyframes:d,keyframes:h,calculatedDuration:m,totalDuration:g,resolvedDuration:y}=i;if(this.startTime===null)return l.next(0);const{delay:x,repeat:k,repeatType:P,repeatDelay:E,onUpdate:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-g/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const b=this.currentTime-x*(this.speed>=0?1:-1),O=this.speed>=0?b<0:b>g;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=g);let T=this.currentTime,D=l;if(k){const U=Math.min(this.currentTime,g)/y;let Z=Math.floor(U),le=U%1;!le&&U>=1&&(le=1),le===1&&Z--,Z=Math.min(Z,k+1),!!(Z%2)&&(P==="reverse"?(le=1-le,E&&(le-=E/y)):P==="mirror"&&(D=u)),T=er(0,1,le)*y}const B=O?{done:!1,value:h[0]}:D.next(T);d&&(B.value=d(B.value));let{done:$}=B;!O&&m!==null&&($=this.speed>=0?this.currentTime>=g:this.currentTime<=0);const te=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&$);return te&&o!==void 0&&(B.value=cu(h,this.options,o)),S&&S(B.value),te&&this.finish(),B}get duration(){const{resolved:e}=this;return e?Zn(e.calculatedDuration):0}
vendor: 54,447 bytes, line 181
181get time(){return Zn(this.currentTime)}set time(e){e=Jn(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Zn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=V4,onPlay:n,startTime:i}=this.options;this.driver||(this.driver=e(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(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}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(e){return this.startTime=0,this.tick(e,!0)}}const H4=new Set(["opacity","clipPath","filter","transform"]);function W4(t,e,n,{delay:i=0,duration:o=300,repeat:l=0,repeatType:u="loop",ease:d="easeInOut",times:h}={}){const m={[e]:n};h&&(m.offset=h);const g=D1(d,o);return Array.isArray(g)&&(m.easing=g),t.animate(m,{delay:i,duration:o,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:l+1,direction:u==="reverse"?"alternate":"normal"})}const q4=rh(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Jl=10,K4=2e4;function Q4(t){return vh(t.type)||t.type==="spring"||!j1(t.ease)}function G4(t,e){const n=new Nh({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:t[0]};const o=[];let l=0;for(;!i.done&&l<K4;)i=n.sample(l),o.push(i.value),l+=Jl;return{times:void 0,keyframes:o,duration:l-Jl,ease:"linear"}}const mx={anticipate:q1,backInOut:W1,circInOut:Q1};function Y4(t){return t in mx}class b0 extends ux{constructor(e){super(e);const{name:n,motionValue:i,element:o,keyframes:l}=this.options;this.resolver=new lx(l,(u,d)=>this.onKeyframesResolved(u,d),n,i,o),this.resolver.scheduleResolve()}initPlayback(e,n){let{duration:i=300,times:o,ease:l,type:u,motionValue:d,name:h,startTime:m}=this.options;if(!d.owner||!d.owner.current)return!1;if(typeof l=="string"&&Gl()&&Y4(l)&&(l=mx[l]),Q4(this.options)){const{onComplete:y,onUpdate:x,motionValue:k,element:P,...E}=this.options,S=G4(e,E);e=S.keyframes,e.length===1&&(e[1]=e[0]),i=S.duration,o=S.times,l=S.ease,u="keyframes"}const g=W4(d.owner.current,h,e,{...this.options,duration:i,times:o,ease:l});return g.startTime=m??this.calcStartTime(),this.pendingTimeline?(i0(g,this.pendingTimeline),this.pendingTimeline=void 0):g.onfinish=()=>{const{onComplete:y}=this.options;d.set(cu(e,this.options,n)),y&&y(),this.cancel(),this.resolveFinishedPromise()},{animation:g,duration:i,times:o,type:u,ease:l,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Zn(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Zn(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.currentTime=Jn(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return qt;const{animation:i}=n;i0(i,e)}return qt}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:i,duration:o,type:l,ease:u,times:d}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:m,onUpdate:g,onComplete:y,element:x,...k}=this.options,P=new Nh({...k,keyframes:i,duration:o,type:l,ease:u,times:d,isGenerator:!0}),E=Jn(this.time);m.setWithVelocity(P.sample(E-Jl).value,P.sample(E).value,Jl)}const{onStop:h}=this.options;h&&h(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:i,repeatDelay:o,repeatType:l,damping:u,type:d}=e;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:m}=n.owner.getProps();return q4()&&i&&H4.has(i)&&!h&&!m&&!o&&l!=="mirror"&&u!==0&&d!=="inertia"}}const X4={type:"spring",stiffness:500,damping:25,restSpeed:10},J4=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Z4={type:"keyframes",duration:.8},eN={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tN=(t,{keyframes:e})=>e.length>2?Z4:Os.has(t)?t.startsWith("scale")?J4(e[1]):X4:eN;function nN({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:l,repeatType:u,repeatDelay:d,from:h,elapsed:m,...g}){return!!Object.keys(g).length}const Oh=(t,e,n,i={},o,l)=>u=>{const d=yh(i,t)||{},h=d.delay||i.delay||0;let{elapsed:m=0}=i;m=m-Jn(h);let g={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-m,onUpdate:x=>{e.set(x),d.onUpdate&&d.onUpdate(x)},onComplete:()=>{u(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:l?void 0:o};nN(d)||(g={...g,...tN(t,g)}),g.duration&&(g.duration=Jn(g.duration)),g.repeatDelay&&(g.repeatDelay=Jn(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(y=!0)),y&&!l&&e.get()!==void 0){const x=cu(g.keyframes,d);if(x!==void 0)return ze.update(()=>{g.onUpdate(x),g.onComplete()}),new bA([])}return!l&&b0.supports(g)?new b0(g):new Nh(g)};function rN({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}function gx(t,e,{delay:n=0,transitionOverride:i,type:o}={}){var l;let{transition:u=t.getDefaultTransition(),transitionEnd:d,...h}=e;i&&(u=i);const m=[],g=o&&t.animationState&&t.animationState.getState()[o];for(const y in h){const x=t.getValue(y,(l=t.latestValues[y])!==null&&l!==void 0?l:null),k=h[y];if(k===void 0||g&&rN(g,y))continue;const P={delay:n,...yh(u||{},y)};let E=!1;if(window.MotionHandoffAnimation){const b=B1(t);if(b){const O=window.MotionHandoffAnimation(b,y,ze);O!==null&&(P.startTime=O,E=!0)}}mf(t,y),x.start(Oh(y,x,k,t.shouldReduceMotion&&F1.has(y)?{type:!1}:P,t,E));const S=x.animation;S&&m.push(S)}return d&&Promise.all(m).then(()=>{ze.update(()=>{d&&LA(t,d)})}),m}function Sf(t,e,n={}){var i;const o=uu(t,e,n.type==="exit"?(i=t.presenceContext)===null||i===void 0?void 0:i.custom:void 0);let{transition:l=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(l=n.transitionOverride);const u=o?()=>Promise.all(gx(t,o,n)):()=>Promise.resolve(),d=t.variantChildren&&t.variantChildren.size?(m=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:x}=l;return sN(t,e,g+m,y,x,n)}:()=>Promise.resolve(),{when:h}=l;if(h){const[m,g]=h==="beforeChildren"?[u,d]:[d,u];return m().then(()=>g())}else return Promise.all([u(),d(n.delay)])}function sN(t,e,n=0,i=0,o=1,l){const u=[],d=(t.variantChildren.size-1)*i,h=o===1?(m=0)=>m*i:(m=0)=>d-m*i;return Array.from(t.variantChildren).sort(iN).forEach((m,g)=>{m.notify("AnimationStart",e),u.push(Sf(m,e,{...l,delay:n+h(g)}).then(()=>m.notify("AnimationComplete",e)))}),Promise.all(u)}function iN(t,e){return t.sortNodePosition(e)}function oN(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){const o=e.map(l=>Sf(t,l,n));i=Promise.all(o)}else if(typeof e=="string")i=Sf(t,e,n);else{const o=typeof e=="function"?uu(t,e,n.custom):e;i=Promise.all(gx(t,o,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}const aN=ih.length;function yx(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?yx(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<aN;n++){const i=ih[n],o=t.props[i];($o(o)||o===!1)&&(e[i]=o)}return e}const lN=[...sh].reverse(),uN=sh.length;function cN(t){return e=>Promise.all(e.map(({animation:n,options:i})=>oN(t,n,i)))}function dN(t){let e=cN(t),n=S0(),i=!0;const o=h=>(m,g)=>{var y;const x=uu(t,g,h==="exit"?(y=t.presenceContext)===null||y===void 0?void 0:y.custom:void 0);if(x){const{transition:k,transitionEnd:P,...E}=x;m={...m,...E,...P}}return m};function l(h){e=h(t)}function u(h){const{props:m}=t,g=yx(t.parent)||{},y=[],x=new Set;let k={},P=1/0;for(let S=0;S<uN;S++){const b=lN[S],O=n[b],T=m[b]!==void 0?m[b]:g[b],D=$o(T),B=b===h?O.isActive:null;B===!1&&(P=S);let $=T===g[b]&&T!==m[b]&&D;if($&&i&&t.manuallyAnimateOnMount&&($=!1),O.protectedKeys={...k},!O.isActive&&B===null||!T&&!O.prevProp||au(T)||typeof T=="boolean")continue;const te=fN(O.prevProp,T);let U=te||b===h&&O.isActive&&!$&&D||S>P&&D,Z=!1;const le=Array.isArray(T)?T:[T];let be=le.reduce(o(b),{});B===!1&&(be={});const{prevResolvedValues:De={}}=O,Se={...De,...be},ke=he=>{U=!0,x.has(he)&&(Z=!0,x.delete(he)),O.needsAnimating[he]=!0;const Q=t.getValue(he);Q&&(Q.liveStyle=!1)};for(const he in Se){const Q=be[he],oe=De[he];if(k.hasOwnProperty(he))continue;let V=!1;ff(Q)&&ff(oe)?V=!A1(Q,oe):V=Q!==oe,V?Q!=null?ke(he):x.add(he):Q!==void 0&&x.has(he)?ke(he):O.protectedKeys[he]=!0}O.prevProp=T,O.prevResolvedValues=be,O.isActive&&(k={...k,...be}),i&&t.blockInitialAnimation&&(U=!1),U&&(!($&&te)||Z)&&y.push(...le.map(he=>({animation:he,options:{type:b}})))}if(x.size){const S={};x.forEach(b=>{const O=t.getBaseTarget(b),T=t.getValue(b);T&&(T.liveStyle=!0),S[b]=O??null}),y.push({animation:S})}let E=!!y.length;return i&&(m.initial===!1||m.initial===m.animate)&&!t.manuallyAnimateOnMount&&(E=!1),i=!1,E?e(y):Promise.resolve()}function d(h,m){var g;if(n[h].isActive===m)return Promise.resolve();(g=t.variantChildren)===null||g===void 0||g.forEach(x=>{var k;return(k=x.animationState)===null||k===void 0?void 0:k.setActive(h,m)}),n[h].isActive=m;const y=u(h);for(const x in n)n[x].protectedKeys={};return y}return{animateChanges:u,setActive:d,setAnimateFunction:l,getState:()=>n,reset:()=>{n=S0(),i=!0}}}function fN(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!A1(e,t):!1}function os(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function S0(){return{animate:os(!0),whileInView:os(),whileHover:os(),whileTap:os(),whileDrag:os(),whileFocus:os(),exit:os()}}class Hr{constructor(e){this.isMounted=!1,this.node=e}update(){}}class hN extends Hr{constructor(e){super(e),e.animationState||(e.animationState=dN(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();au(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let pN=0;class mN extends Hr{constructor(){super(...arguments),this.id=pN++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const o=this.node.animationState.setActive("exit",!e);n&&!e&&o.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const gN={animation:{Feature:hN},exit:{Feature:mN}};function Ko(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}function la(t){return{point:{x:t.pageX,y:t.pageY}}}const yN=t=>e=>xh(e)&&t(e,la(e));function Lo(t,e,n,i){return Ko(t,e,yN(n),i)}const _0=(t,e)=>Math.abs(t-e);function vN(t,e){const n=_0(t.x,e.x),i=_0(t.y,e.y);return Math.sqrt(n**2+i**2)}class vx{constructor(e,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 y=Ad(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,k=vN(y.offset,{x:0,y:0})>=3;if(!x&&!k)return;const{point:P}=y,{timestamp:E}=gt;this.history.push({...P,timestamp:E});const{onStart:S,onMove:b}=this.handlers;x||(S&&S(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,y)},this.handlePointerMove=(y,x)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=Rd(x,this.transformPagePoint),ze.update(this.updatePoint,!0)},this.handlePointerUp=(y,x)=>{this.end();const{onEnd:k,onSessionEnd:P,resumeAnimation:E}=this.handlers;if(this.dragSnapToOrigin&&E&&E(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Ad(y.type==="pointercancel"?this.lastMoveEventInfo:Rd(x,this.transformPagePoint),this.history);this.startEvent&&k&&k(y,S),P&&P(y,S)},!xh(e))return;this.dragSnapToOrigin=l,this.handlers=n,this.transformPagePoint=i,this.contextWindow=o||window;const u=la(e),d=Rd(u,this.transformPagePoint),{point:h}=d,{timestamp:m}=gt;this.history=[{...h,timestamp:m}];const{onSessionStart:g}=n;g&&g(e,Ad(d,this.history)),this.removeListeners=aa(Lo(this.contextWindow,"pointermove",this.handlePointerMove),Lo(this.contextWindow,"pointerup",this.handlePointerUp),Lo(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ur(this.updatePoint)}}function Rd(t,e){return e?{point:e(t.point)}:t}function E0(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Ad({point:t},e){return{point:t,delta:E0(t,wx(e)),offset:E0(t,wN(e)),velocity:xN(e,.1)}}function wN(t){return t[0]}function wx(t){return t[t.length-1]}function xN(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const o=wx(t);for(;n>=0&&(i=t[n],!(o.timestamp-i.timestamp>Jn(e)));)n--;if(!i)return{x:0,y:0};const l=Zn(o.timestamp-i.timestamp);if(l===0)return{x:0,y:0};const u={x:(o.x-i.x)/l,y:(o.y-i.y)/l};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}const xx=1e-4,bN=1-xx,SN=1+xx,bx=.01,_N=0-bx,EN=0+bx;function Kt(t){return t.max-t.min}function kN(t,e,n){return Math.abs(t-e)<=n}function k0(t,e,n,i=.5){t.origin=i,t.originPoint=qe(e.min,e.max,t.origin),t.scale=Kt(n)/Kt(e),t.translate=qe(n.min,n.max,t.origin)-t.originPoint,(t.scale>=bN&&t.scale<=SN||isNaN(t.scale))&&(t.scale=1),(t.translate>=_N&&t.translate<=EN||isNaN(t.translate))&&(t.translate=0)}function Mo(t,e,n,i){k0(t.x,e.x,n.x,i?i.originX:void 0),k0(t.y,e.y,n.y,i?i.originY:void 0)}function C0(t,e,n){t.min=n.min+e.min,t.max=t.min+Kt(e)}function CN(t,e,n){C0(t.x,e.x,n.x),C0(t.y,e.y,n.y)}function T0(t,e,n){t.min=e.min-n.min,t.max=t.min+Kt(e)}function Io(t,e,n){T0(t.x,e.x,n.x),T0(t.y,e.y,n.y)}function TN(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?qe(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?qe(n,t,i.max):Math.min(t,n)),t}function P0(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function PN(t,{top:e,left:n,bottom:i,right:o}){return{x:P0(t.x,n,o),y:P0(t.y,e,i)}}function R0(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function RN(t,e){return{x:R0(t.x,e.x),y:R0(t.y,e.y)}}function AN(t,e){let n=.5;const i=Kt(t),o=Kt(e);return o>i?n=_i(e.min,e.max-i,t.min):i>o&&(n=_i(t.min,t.max-o,e.min)),er(0,1,n)}function NN(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const _f=.35;function ON(t=_f){return t===!1?t=0:t===!0&&(t=_f),{x:A0(t,"left","right"),y:A0(t,"top","bottom")}}function A0(t,e,n){return{min:N0(t,e),max:N0(t,n)}}function N0(t,e){return typeof t=="number"?t:t[e]||0}const O0=()=>({translate:0,scale:1,origin:0,originPoint:0}),ai=()=>({x:O0(),y:O0()}),j0=()=>({min:0,max:0}),Je=()=>({x:j0(),y:j0()});function sn(t){return[t("x"),t("y")]}function Sx({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function jN({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function DN(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}function Nd(t){return t===void 0||t===1}function Ef({scale:t,scaleX:e,scaleY:n}){return!Nd(t)||!Nd(e)||!Nd(n)}function ls(t){return Ef(t)||_x(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function _x(t){return D0(t.x)||D0(t.y)}function D0(t){return t&&t!=="0%"}function Zl(t,e,n){const i=t-n,o=e*i;return n+o}function L0(t,e,n,i,o){return o!==void 0&&(t=Zl(t,o,i)),Zl(t,n,i)+e}function kf(t,e=0,n=1,i,o){t.min=L0(t.min,e,n,i,o),t.max=L0(t.max,e,n,i,o)}function Ex(t,{x:e,y:n}){kf(t.x,e.translate,e.scale,e.originPoint),kf(t.y,n.translate,n.scale,n.originPoint)}const M0=.999999999999,I0=1.0000000000001;function LN(t,e,n,i=!1){const o=n.length;if(!o)return;e.x=e.y=1;let l,u;for(let d=0;d<o;d++){l=n[d],u=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&&ui(t,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),u&&(e.x*=u.x.scale,e.y*=u.y.scale,Ex(t,u)),i&&ls(l.latestValues)&&ui(t,l.latestValues))}e.x<I0&&e.x>M0&&(e.x=1),e.y<I0&&e.y>M0&&(e.y=1)}function li(t,e){t.min=t.min+e,t.max=t.max+e}function F0(t,e,n,i,o=.5){const l=qe(t.min,t.max,o);kf(t,e,n,l,i)}function ui(t,e){F0(t.x,e.x,e.scaleX,e.scale,e.originX),F0(t.y,e.y,e.scaleY,e.scale,e.originY)}function kx(t,e){return Sx(DN(t.getBoundingClientRect(),e))}function MN(t,e,n){const i=kx(t,n),{scroll:o}=e;return o&&(li(i.x,o.offset.x),li(i.y,o.offset.y)),i}const Cx=({current:t})=>t?t.ownerDocument.defaultView:null,IN=new WeakMap;class FN{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Je(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=g=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(la(g).point)},l=(g,y)=>{const{drag:x,dragPropagation:k,onDragStart:P}=this.getProps();if(x&&!k&&(this.openDragLock&&this.openDragLock(),this.openDragLock=AA(x),!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),sn(S=>{let b=this.getAxisMotionValue(S).get()||0;if(Ln.test(b)){const{projection:O}=this.visualElement;if(O&&O.layout){const T=O.layout.layoutBox[S];T&&(b=Kt(T)*(parseFloat(b)/100))}}this.originPoint[S]=b}),P&&ze.postRender(()=>P(g,y)),mf(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},u=(g,y)=>{const{dragPropagation:x,dragDirectionLock:k,onDirectionLock:P,onDrag:E}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:S}=y;if(k&&this.currentDirection===null){this.currentDirection=UN(S),this.currentDirection!==null&&P&&P(this.currentDirection);return}this.updateAxis("x",y.point,S),this.updateAxis("y",y.point,S),this.visualElement.render(),E&&E(g,y)},d=(g,y)=>this.stop(g,y),h=()=>sn(g=>{var y;return this.getAnimationState(g)==="paused"&&((y=this.getAxisMotionValue(g).animation)===null||y===void 0?void 0:y.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new vx(e,{onSessionStart:o,onStart:l,onMove:u,onSessionEnd:d,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,contextWindow:Cx(this.visualElement)})}stop(e,n){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&ze.postRender(()=>l(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.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(e,n,i){const{drag:o}=this.getProps();if(!i||!Pl(e,o,this.currentDirection))return;const l=this.getAxisMotionValue(e);let u=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(u=TN(u,this.constraints[e],this.elastic[e])),l.set(u)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:i}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,l=this.constraints;n&&ii(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=PN(o.layoutBox,n):this.constraints=!1,this.elastic=ON(i),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&sn(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=NN(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ii(e))return!1;const i=e.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const l=MN(i,o.root,this.visualElement.getTransformPagePoint());let u=RN(o.layout.layoutBox,l);if(n){const d=n(jN(u));this.hasMutatedConstraints=!!d,d&&(u=Sx(d))}return u}startAnimation(e){const{drag:n,dragMomentum:i,dragElastic:o,dragTransition:l,dragSnapToOrigin:u,onDragTransitionEnd:d}=this.getProps(),h=this.constraints||{},m=sn(g=>{if(!Pl(g,n,this.currentDirection))return;let y=h&&h[g]||{};u&&(y={min:0,max:0});const x=o?200:1e6,k=o?40:1e7,P={type:"inertia",velocity:i?e[g]:0,bounceStiffness:x,bounceDamping:k,timeConstant:750,restDelta:1,restSpeed:10,...l,...y};return this.startAxisValueAnimation(g,P)});return Promise.all(m).then(d)}startAxisValueAnimation(e,n){const i=this.getAxisMotionValue(e);return mf(this.visualElement,e),i.start(Oh(e,i,0,n,this.visualElement,!1))}stopAnimation(){sn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){sn(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),o=i[n];return o||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){sn(n=>{const{drag:i}=this.getProps();if(!Pl(n,i,this.currentDirection))return;const{projection:o}=this.visualElement,l=this.getAxisMotionValue(n);if(o&&o.layout){const{min:u,max:d}=o.layout.layoutBox[n];l.set(e[n]-qe(u,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!ii(n)||!i||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};sn(u=>{const d=this.getAxisMotionValue(u);if(d&&this.constraints!==!1){const h=d.get();o[u]=AN({min:h,max:h},this.constraints[u])}});const{transformTemplate:l}=this.visualElement.getProps();this.visualElement.current.style.transform=l?l({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),sn(u=>{if(!Pl(u,e,null))return;const d=this.getAxisMotionValue(u),{min:h,max:m}=this.constraints[u];d.set(qe(h,m,o[u]))})}addListeners(){if(!this.visualElement.current)return;IN.set(this.visualElement,this);const e=this.visualElement.current,n=Lo(e,"pointerdown",h=>{const{drag:m,dragListener:g=!0}=this.getProps();m&&g&&this.start(h)}),i=()=>{const{dragConstraints:h}=this.getProps();ii(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()),ze.read(i);const u=Ko(window,"resize",()=>this.scalePositionWithinConstraints()),d=o.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:m})=>{this.isDragging&&m&&(sn(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=h[g].translate,y.set(y.get()+h[g].translate))}),this.visualElement.render())}));return()=>{u(),n(),l(),d&&d()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:o=!1,dragConstraints:l=!1,dragElastic:u=_f,dragMomentum:d=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:l,dragElastic:u,dragMomentum:d}}}function Pl(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function UN(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class BN extends Hr{constructor(e){super(e),this.removeGroupControls=qt,this.removeListeners=qt,this.controls=new FN(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||qt}unmount(){this.removeGroupControls(),this.removeListeners()}}const U0=t=>(e,n)=>{t&&ze.postRender(()=>t(e,n))};class VN extends Hr{constructor(){super(...arguments),this.removePointerDownListener=qt}onPointerDown(e){this.session=new vx(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cx(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:U0(e),onStart:U0(n),onMove:i,onEnd:(l,u)=>{delete this.session,o&&ze.postRender(()=>o(l,u))}}}mount(){this.removePointerDownListener=Lo(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Bl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function B0(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const _o={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(pe.test(t))t=parseFloat(t);else return t;const n=B0(t,e.target.x),i=B0(t,e.target.y);return`${n}% ${i}%`}},zN={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,o=Br.parse(t);if(o.length>5)return i;const l=Br.createTransformer(t),u=typeof o[0]!="number"?1:0,d=n.x.scale*e.x,h=n.y.scale*e.y;o[0+u]/=d,o[1+u]/=h;const m=qe(d,h,.5);return typeof o[2+u]=="number"&&(o[2+u]/=m),typeof o[3+u]=="number"&&(o[3+u]/=m),l(o)}};class $N extends I.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:o}=this.props,{projection:l}=e;uA(HN),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()})),Bl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:i,drag:o,isPresent:l}=this.props,u=i.projection;return u&&(u.isPresent=l,o||e.layoutDependency!==n||n===void 0?u.willUpdate():this.safeToRemove(),e.isPresent!==l&&(l?u.promote():u.relegate()||ze.postRender(()=>{const d=u.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ah.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),i&&i.deregister&&i.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Tx(t){const[e,n]=ER(),i=I.useContext(u1);return w.jsx($N,{...t,layoutGroup:i,switchLayoutGroup:I.useContext(y1),isPresent:e,safeToRemove:n})}const HN={borderRadius:{..._o,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:_o,borderTopRightRadius:_o,borderBottomLeftRadius:_o,borderBottomRightRadius:_o,boxShadow:zN};function WN(t,e,n){const i=Ct(t)?t:Wo(t);return i.start(Oh("",i,e,n)),i.animation}function qN(t){return t instanceof SVGElement&&t.tagName!=="svg"}const KN=(t,e)=>t.depth-e.depth;class QN{constructor(){this.children=[],this.isDirty=!1}add(e){bh(this.children,e),this.isDirty=!0}remove(e){Sh(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(KN),this.isDirty=!1,this.children.forEach(e)}}function GN(t,e){const n=Mn.now(),i=({timestamp:o})=>{const l=o-n;l>=e&&(Ur(i),t(l-e))};return ze.read(i,!0),()=>Ur(i)}const Px=["TopLeft","TopRight","BottomLeft","BottomRight"],YN=Px.length,V0=t=>typeof t=="string"?parseFloat(t):t,z0=t=>typeof t=="number"||pe.test(t);function XN(t,e,n,i,o,l){o?(t.opacity=qe(0,n.opacity!==void 0?n.opacity:1,JN(i)),t.opacityExit=qe(e.opacity!==void 0?e.opacity:1,0,ZN(i))):l&&(t.opacity=qe(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,i));for(let u=0;u<YN;u++){const d=`border${Px[u]}Radius`;let h=$0(e,d),m=$0(n,d);if(h===void 0&&m===void 0)continue;h||(h=0),m||(m=0),h===0||m===0||z0(h)===z0(m)?(t[d]=Math.max(qe(V0(h),V0(m),i),0),(Ln.test(m)||Ln.test(h))&&(t[d]+="%")):t[d]=m}(e.rotate||n.rotate)&&(t.rotate=qe(e.rotate||0,n.rotate||0,i))}function $0(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const JN=Rx(0,.5,K1),ZN=Rx(.5,.95,qt);function Rx(t,e,n){return i=>i<t?0:i>e?1:n(_i(t,e,i))}function H0(t,e){t.min=e.min,t.max=e.max}function rn(t,e){H0(t.x,e.x),H0(t.y,e.y)}function W0(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function q0(t,e,n,i,o){return t-=e,t=Zl(t,1/n,i),o!==void 0&&(t=Zl(t,1/o,i)),t}function eO(t,e=0,n=1,i=.5,o,l=t,u=t){if(Ln.test(e)&&(e=parseFloat(e),e=qe(u.min,u.max,e/100)-u.min),typeof e!="number")return;let d=qe(l.min,l.max,i);t===l&&(d-=e),t.min=q0(t.min,e,n,d,o),t.max=q0(t.max,e,n,d,o)}function K0(t,e,[n,i,o],l,u){eO(t,e[n],e[i],e[o],e.scale,l,u)}const tO=["x","scaleX","originX"],nO=["y","scaleY","originY"];function Q0(t,e,n,i){K0(t.x,e,tO,n?n.x:void 0,i?i.x:void 0),K0(t.y,e,nO,n?n.y:void 0,i?i.y:void 0)}function G0(t){return t.translate===0&&t.scale===1}function Ax(t){return G0(t.x)&&G0(t.y)}function Y0(t,e){return t.min===e.min&&t.max===e.max}function rO(t,e){return Y0(t.x,e.x)&&Y0(t.y,e.y)}function X0(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Nx(t,e){return X0(t.x,e.x)&&X0(t.y,e.y)}function J0(t){return Kt(t.x)/Kt(t.y)}function Z0(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class sO{constructor(){this.members=[]}add(e){bh(this.members,e),e.scheduleRender()}remove(e){if(Sh(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(o=>e===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(e,n){const i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;o===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iO(t,e,n){let i="";const o=t.x.translate/e.x,l=t.y.translate/e.y,u=(n==null?void 0:n.z)||0;if((o||l||u)&&(i=`translate3d(${o}px, ${l}px, ${u}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:m,rotate:g,rotateX:y,rotateY:x,skewX:k,skewY:P}=n;m&&(i=`perspective(${m}px) ${i}`),g&&(i+=`rotate(${g}deg) `),y&&(i+=`rotateX(${y}deg) `),x&&(i+=`rotateY(${x}deg) `),k&&(i+=`skewX(${k}deg) `),P&&(i+=`skewY(${P}deg) `)}const d=t.x.scale*e.x,h=t.y.scale*e.y;return(d!==1||h!==1)&&(i+=`scale(${d}, ${h})`),i||"none"}const us={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},No=typeof window<"u"&&window.MotionDebug!==void 0,Od=["","X","Y","Z"],oO={visibility:"hidden"},ev=1e3;let aO=0;function jd(t,e,n,i){const{latestValues:o}=e;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),i&&(i[t]=0))}function Ox(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=B1(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:l}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",ze,!(o||l))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&Ox(i)}function jx({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(u={},d=e==null?void 0:e()){this.id=aO++,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,No&&(us.totalNodes=us.resolvedTargetDeltas=us.recalculatedProjection=0),this.nodes.forEach(cO),this.nodes.forEach(mO),this.nodes.forEach(gO),this.nodes.forEach(dO),No&&window.MotionDebug.record(us)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new QN)}addEventListener(u,d){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new _h),this.eventHandlers.get(u).add(d)}notifyListeners(u,...d){const h=this.eventHandlers.get(u);h&&h.notify(...d)}hasListeners(u){return this.eventHandlers.has(u)}mount(u,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=qN(u),this.instance=u;const{layoutId:h,layout:m,visualElement:g}=this.options;if(g&&!g.current&&g.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(m||h)&&(this.isLayoutDirty=!0),t){let y;const x=()=>this.root.updateBlockedByResize=!1;t(u,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=GN(x,250),Bl.hasAnimatedSinceResize&&(Bl.hasAnimatedSinceResize=!1,this.nodes.forEach(nv))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&g&&(h||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:x,hasRelativeTargetChanged:k,layout:P})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||g.getDefaultTransition()||bO,{onLayoutAnimationStart:S,onLayoutAnimationComplete:b}=g.getProps(),O=!this.targetLayout||!Nx(this.targetLayout,P)||k,T=!x&&k;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||x&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,T);const D={...yh(E,"layout"),onPlay:S,onComplete:b};(g.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D)}else x||nv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=P})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ur(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(yO),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ox(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:d,layout:h}=this.options;if(d===void 0&&!h)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tv);return}this.isUpdating||this.nodes.forEach(hO),this.isUpdating=!1,this.nodes.forEach(pO),this.nodes.forEach(lO),this.nodes.forEach(uO),this.clearAllSnapshots();const d=Mn.now();gt.delta=er(0,1e3/60,d-gt.timestamp),gt.timestamp=d,gt.isProcessing=!0,_d.update.process(gt),_d.preRender.process(gt),_d.render.process(gt),gt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ah.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fO),this.sharedNodes.forEach(vO)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ze.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ze.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}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 u=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Je(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(d=!1),d){const h=i(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:h,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!o)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Ax(this.projectionDelta),h=this.getTransformTemplate(),m=h?h(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;u&&(d||ls(this.latestValues)||g)&&(o(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const d=this.measurePageBox();let h=this.removeElementScroll(d);return u&&(h=this.removeTransform(h)),SO(h),{animationId:this.root.animationId,measuredBox:d,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:d}=this.options;if(!d)return Je();const h=d.measureViewportBox();if(!(((u=this.scroll)===null||u===void 0?void 0:u.wasRoot)||this.path.some(_O))){const{scroll:g}=this.root;g&&(li(h.x,g.offset.x),li(h.y,g.offset.y))}return h}removeElementScroll(u){var d;const h=Je();if(rn(h,u),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return h;for(let m=0;m<this.path.length;m++){const g=this.path[m],{scroll:y,options:x}=g;g!==this.root&&y&&x.layoutScroll&&(y.wasRoot&&rn(h,u),li(h.x,y.offset.x),li(h.y,y.offset.y))}return h}applyTransform(u,d=!1){const h=Je();rn(h,u);for(let m=0;m<this.path.length;m++){const g=this.path[m];!d&&g.options.layoutScroll&&g.scroll&&g!==g.root&&ui(h,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),ls(g.latestValues)&&ui(h,g.latestValues)}return ls(this.latestValues)&&ui(h,this.latestValues),h}removeTransform(u){const d=Je();rn(d,u);for(let h=0;h<this.path.length;h++){const m=this.path[h];if(!m.instance||!ls(m.latestValues))continue;Ef(m.latestValues)&&m.updateSnapshot();const g=Je(),y=m.measurePageBox();rn(g,y),Q0(d,m.latestValues,m.snapshot?m.snapshot.layoutBox:void 0,g)}return ls(this.latestValues)&&Q0(d,this.latestValues),d}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==gt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){var d;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==h;if(!(u||m&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:x}=this.options;if(!(!this.layout||!(y||x))){if(this.resolvedRelativeTargetAt=gt.timestamp,!this.targetDelta&&!this.relativeTarget){const k=this.getClosestProjectingParent();k&&k.layout&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Je(),this.relativeTargetOrigin=Je(),Io(this.relativeTargetOrigin,this.layout.layoutBox,k.layout.layoutBox),rn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Je(),this.targetWithTransforms=Je()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),CN(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rn(this.target,this.layout.layoutBox),Ex(this.target,this.targetDelta)):rn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const k=this.getClosestProjectingParent();k&&!!k.resumingFrom==!!this.resumingFrom&&!k.options.layoutScroll&&k.target&&this.animationProgress!==1?(this.relativeParent=k,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Je(),this.relativeTargetOrigin=Je(),Io(this.relativeTargetOrigin,this.target,k.target),rn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}No&&us.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ef(this.parent.latestValues)||_x(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 u;const d=this.getLead(),h=!!this.resumingFrom||this!==d;let m=!0;if((this.isProjectionDirty||!((u=this.parent)===null||u===void 0)&&u.isProjectionDirty)&&(m=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===gt.timestamp&&(m=!1),m)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;rn(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,k=this.treeScale.y;LN(this.layoutCorrected,this.treeScale,this.path,h),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=Je());const{target:P}=d;if(!P){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(W0(this.prevProjectionDelta.x,this.projectionDelta.x),W0(this.prevProjectionDelta.y,this.projectionDelta.y)),Mo(this.projectionDelta,this.layoutCorrected,P,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==k||!Z0(this.projectionDelta.x,this.prevProjectionDelta.x)||!Z0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",P)),No&&us.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),u){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ai(),this.projectionDelta=ai(),this.projectionDeltaWithTransform=ai()}setAnimationOrigin(u,d=!1){const h=this.snapshot,m=h?h.latestValues:{},g={...this.latestValues},y=ai();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const x=Je(),k=h?h.source:void 0,P=this.layout?this.layout.source:void 0,E=k!==P,S=this.getStack(),b=!S||S.members.length<=1,O=!!(E&&!b&&this.options.crossfade===!0&&!this.path.some(xO));this.animationProgress=0;let T;this.mixTargetDelta=D=>{const B=D/1e3;rv(y.x,u.x,B),rv(y.y,u.y,B),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Io(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),wO(this.relativeTarget,this.relativeTargetOrigin,x,B),T&&rO(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=Je()),rn(T,this.relativeTarget)),E&&(this.animationValues=g,XN(g,m,this.latestValues,B,O,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=B},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ur(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ze.update(()=>{Bl.hasAnimatedSinceResize=!0,this.currentAnimation=WN(0,ev,{...u,onUpdate:d=>{this.mixTargetDelta(d),u.onUpdate&&u.onUpdate(d)},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ev),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:d,target:h,layout:m,latestValues:g}=u;if(!(!d||!h||!m)){if(this!==u&&this.layout&&m&&Dx(this.options.animationType,this.layout.layoutBox,m.layoutBox)){h=this.target||Je();const y=Kt(this.layout.layoutBox.x);h.x.min=u.target.x.min,h.x.max=h.x.min+y;const x=Kt(this.layout.layoutBox.y);h.y.min=u.target.y.min,h.y.max=h.y.min+x}rn(d,h),ui(d,g),Mo(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(u,d){this.sharedNodes.has(u)||this.sharedNodes.set(u,new sO),this.sharedNodes.get(u).add(d);const m=d.options.initialPromotionConfig;d.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(d):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var u;const{layoutId:d}=this.options;return d?((u=this.getStack())===null||u===void 0?void 0:u.lead)||this:this}getPrevLead(){var u;const{layoutId:d}=this.options;return d?(u=this.getStack())===null||u===void 0?void 0:u.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:d,preserveFollowOpacity:h}={}){const m=this.getStack();m&&m.promote(this,h),u&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let d=!1;const{latestValues:h}=u;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(d=!0),!d)return;const m={};h.z&&jd("z",u,m,this.animationValues);for(let g=0;g<Od.length;g++)jd(`rotate${Od[g]}`,u,m,this.animationValues),jd(`skew${Od[g]}`,u,m,this.animationValues);u.render();for(const g in m)u.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);u.scheduleRender()}getProjectionStyles(u){var d,h;if(!this.instance||this.isSVG)return;if(!this.isVisible)return oO;const m={visibility:""},g=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,m.opacity="",m.pointerEvents=Fl(u==null?void 0:u.pointerEvents)||"",m.transform=g?g(this.latestValues,""):"none",m;const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){const E={};return this.options.layoutId&&(E.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,E.pointerEvents=Fl(u==null?void 0:u.pointerEvents)||""),this.hasProjected&&!ls(this.latestValues)&&(E.transform=g?g({},""):"none",this.hasProjected=!1),E}const x=y.animationValues||y.latestValues;this.applyTransformsToTarget(),m.transform=iO(this.projectionDeltaWithTransform,this.treeScale,x),g&&(m.transform=g(x,m.transform));const{x:k,y:P}=this.projectionDelta;m.transformOrigin=`${k.origin*100}% ${P.origin*100}% 0`,y.animationValues?m.opacity=y===this?(h=(d=x.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&h!==void 0?h:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:m.opacity=y===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const E in Ql){if(x[E]===void 0)continue;const{correct:S,applyTo:b}=Ql[E],O=m.transform==="none"?x[E]:S(x[E],y);if(b){const T=b.length;for(let D=0;D<T;D++)m[b[D]]=O}else m[E]=O}return this.options.layoutId&&(m.pointerEvents=y===this?Fl(u==null?void 0:u.pointerEvents)||"":"none"),m}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>{var d;return(d=u.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(tv),this.root.sharedNodes.clear()}}}function lO(t){t.updateLayout()}function uO(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:o}=t.layout,{animationType:l}=t.options,u=n.source!==t.layout.source;l==="size"?sn(y=>{const x=u?n.measuredBox[y]:n.layoutBox[y],k=Kt(x);x.min=i[y].min,x.max=x.min+k}):Dx(l,n.layoutBox,i)&&sn(y=>{const x=u?n.measuredBox[y]:n.layoutBox[y],k=Kt(i[y]);x.max=x.min+k,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[y].max=t.relativeTarget[y].min+k)});const d=ai();Mo(d,i,n.layoutBox);const h=ai();u?Mo(h,t.applyTransform(o,!0),n.measuredBox):Mo(h,i,n.layoutBox);const m=!Ax(d);let g=!1;if(!t.resumeFrom){const y=t.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:x,layout:k}=y;if(x&&k){const P=Je();Io(P,n.layoutBox,x.layoutBox);const E=Je();Io(E,i,k.layoutBox),Nx(P,E)||(g=!0),y.options.layoutRoot&&(t.relativeTarget=E,t.relativeTargetOrigin=P,t.relativeParent=y)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:n,delta:h,layoutDelta:d,hasLayoutChanged:m,hasRelativeTargetChanged:g})}else if(t.isLead()){const{onExitComplete:i}=t.options;i&&i()}t.options.transition=void 0}function cO(t){No&&us.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function dO(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function fO(t){t.clearSnapshot()}function tv(t){t.clearMeasurements()}function hO(t){t.isLayoutDirty=!1}function pO(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function mO(t){t.resolveTargetDelta()}function gO(t){t.calcProjection()}
vendor: 6,595 bytes, line 181
181function yO(t){t.resetSkewAndRotation()}function vO(t){t.removeLeadSnapshot()}function rv(t,e,n){t.translate=qe(e.translate,0,n),t.scale=qe(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function sv(t,e,n,i){t.min=qe(e.min,n.min,i),t.max=qe(e.max,n.max,i)}function wO(t,e,n,i){sv(t.x,e.x,n.x,i),sv(t.y,e.y,n.y,i)}function xO(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const bO={duration:.45,ease:[.4,0,.1,1]},iv=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ov=iv("applewebkit/")&&!iv("chrome/")?Math.round:qt;function av(t){t.min=ov(t.min),t.max=ov(t.max)}function SO(t){av(t.x),av(t.y)}function Dx(t,e,n){return t==="position"||t==="preserve-aspect"&&!kN(J0(e),J0(n),.2)}function _O(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const EO=jx({attachResizeListener:(t,e)=>Ko(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Dd={current:void 0},Lx=jx({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Dd.current){const t=new EO({});t.mount(window),t.setOptions({layoutScroll:!0}),Dd.current=t}return Dd.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),kO={pan:{Feature:VN},drag:{Feature:BN,ProjectionNode:Lx,MeasureLayout:Tx}};function lv(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,l=i[o];l&&ze.postRender(()=>l(e,la(e)))}class CO extends Hr{mount(){const{current:e}=this.node;e&&(this.unmount=kA(e,n=>(lv(this.node,n,"Start"),i=>lv(this.node,i,"End"))))}unmount(){}}class TO extends Hr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!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=aa(Ko(this.node.current,"focus",()=>this.onFocus()),Ko(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function uv(t,e,n){const{props:i}=t;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),l=i[o];l&&ze.postRender(()=>l(e,la(e)))}class PO extends Hr{mount(){const{current:e}=this.node;e&&(this.unmount=RA(e,n=>(uv(this.node,n,"Start"),(i,{success:o})=>uv(this.node,i,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Cf=new WeakMap,Ld=new WeakMap,RO=t=>{const e=Cf.get(t.target);e&&e(t)},AO=t=>{t.forEach(RO)};function NO({root:t,...e}){const n=t||document;Ld.has(n)||Ld.set(n,{});const i=Ld.get(n),o=JSON.stringify(e);return i[o]||(i[o]=new IntersectionObserver(AO,{root:t,...e})),i[o]}function OO(t,e,n){const i=NO(e);return Cf.set(t,n),i.observe(t),()=>{Cf.delete(t),i.unobserve(t)}}const jO={some:0,all:1};class DO extends Hr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:o="some",once:l}=e,u={root:n?n.current:void 0,rootMargin:i,threshold:typeof o=="number"?o:jO[o]},d=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:g,onViewportLeave:y}=this.node.getProps(),x=m?g:y;x&&x(h)};return OO(this.node.current,u,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(LO(e,n))&&this.startObserver()}unmount(){}}function LO({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const MO={inView:{Feature:DO},tap:{Feature:PO},focus:{Feature:TO},hover:{Feature:CO}},IO={layout:{ProjectionNode:Lx,MeasureLayout:Tx}},Tf={current:null},Mx={current:!1};function FO(){if(Mx.current=!0,!!nh)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Tf.current=t.matches;t.addListener(e),e()}else Tf.current=!1}const UO=[...ax,kt,Br],BO=t=>UO.find(ox(t)),cv=new WeakMap;function VO(t,e,n){for(const i in e){const o=e[i],l=n[i];if(Ct(o))t.addValue(i,o);else if(Ct(l))t.addValue(i,Wo(o,{owner:t}));else if(l!==o)if(t.hasValue(i)){const u=t.getValue(i);u.liveStyle===!0?u.jump(o):u.hasAnimated||u.set(o)}else{const u=t.getStaticValue(i);t.addValue(i,Wo(u!==void 0?u:o,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const dv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class zO{scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:o,blockInitialAnimation:l,visualState:u},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Rh,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 k=Mn.now();this.renderScheduledAt<k&&(this.renderScheduledAt=k,ze.render(this.render,!1,!0))};const{latestValues:h,renderState:m,onUpdate:g}=u;this.onUpdate=g,this.latestValues=h,this.baseTarget={...h},this.initialValues=n.initial?{...h}:{},this.renderState=m,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=o,this.options=d,this.blockInitialAnimation=!!l,this.isControllingVariants=lu(n),this.isVariantNode=m1(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:y,...x}=this.scrapeMotionValuesFromProps(n,{},this);for(const k in x){const P=x[k];h[k]!==void 0&&Ct(P)&&P.set(h[k],!1)}}mount(e){this.current=e,cv.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 5,235 bytes, line 181
181h((n,i)=>this.bindToMotionValue(i,n)),Mx.current||FO(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Tf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){cv.delete(this.current),this.projection&&this.projection.unmount(),Ur(this.notifyUpdate),Ur(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const i=Os.has(e),o=n.on("change",d=>{this.latestValues[e]=d,this.props.onUpdate&&ze.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),l=n.on("renderRequest",this.scheduleRender);let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{o(),l(),u&&u(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Ei){const n=Ei[e];if(!n)continue;const{isEnabled:i,Feature:o}=n;if(!this.features[e]&&o&&i(this.props)&&(this.features[e]=new o(this)),this.features[e]){const l=this.features[e];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):Je()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<dv.length;i++){const o=dv[i];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const l="on"+o,u=e[l];u&&(this.propEventSubscriptions[o]=this.on(o,u))}this.prevMotionValues=VO(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=Wo(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){var i;let o=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(i=this.getBaseTargetFromProps(this.props,e))!==null&&i!==void 0?i:this.readValueFromInstance(this.current,e,this.options);return o!=null&&(typeof o=="string"&&(sx(o)||G1(o))?o=parseFloat(o):!BO(o)&&Br.test(n)&&(o=tx(e,n)),this.setBaseTarget(e,Ct(o)?o.get():o)),Ct(o)?o.get():o}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:i}=this.props;let o;if(typeof i=="string"||typeof i=="object"){const u=uh(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);u&&(o=u[e])}if(i&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,e);return l!==void 0&&!Ct(l)?l:this.initialValues[e]!==void 0&&o===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new _h),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class Ix extends zO{constructor(){super(...arguments),this.KeyframeResolver=lx}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Ct(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function $O(t){return window.getComputedStyle(t)}class HO extends Ix{constructor(){super(...arguments),this.type="html",this.renderInstance=E1}readValueFromInstance(e,n){if(Os.has(n)){const i=Ph(n);return i&&i.default||0}else{const i=$O(e),o=(b1(n)?i.getPropertyValue(n):i[n])||0;
181return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(e,{transformPagePoint:n}){return kx(e,n)}build(e,n,i){fh(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return gh(e,n,i)}}class WO extends Ix{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Je}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Os.has(n)){const i=Ph(n);return i&&i.default||0}return n=k1.has(n)?n:oh(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return P1(e,n,i)}build(e,n,i){hh(e,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,i,o){C1(e,n,i,o)}mount(e){this.isSVGTag=mh(e.tagName),super.mount(e)}}const qO=(t,e)=>lh(t)?new WO(e):new HO(e,{allowProjection:t!==I.Fragment}),KO=vA({...gN,...MO,...kO,...IO},qO),cs=jR(KO);function Bt({children:t,subtitle:e}){return w.jsxs("div",{className:"text-center mb-12",children:[w.jsx("h2",{className:"text-3xl md:text-4xl font-bold tracking-tight text-white",children:t}),e&&w.jsx("p",{className:"text-white/40 mt-3 text-sm tracking-wide",children:e}),w.jsx("div",{className:"mt-4 mx-auto w-12 h-px bg-gradient-to-r from-transparent via-cyan-400/50 to-transparent"})]})}function Pf({venue:t,city:e,date:n,link:i,showLink:o=!0}){return w.jsxs("div",{className:"group relative bg-white/[0.03] border border-white/[0.06] rounded-2xl p-6 hover:border-cyan-400/20 hover:bg-white/[0.05] transition-all duration-500",children:[w.jsx("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-br from-cyan-400/[0.02] to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),w.jsxs("div",{className:"relative z-10",children:[w.jsxs("div",{className:"flex items-start justify-between gap-3",children:[w.jsx("h3",{className:"text-lg font-semibold text-white mb-3",children:t}),i&&o&&w.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"flex-shrink-0 w-9 h-9 rounded-full border border-white/20 flex items-center justify-center text-white/50 hover:text-white hover:border-white/50 transition-all duration-300",children:w.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-4 h-4",children:w.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})})]}),w.jsxs("div",{className:"flex items-center gap-2 text-white/40 text-sm mb-2",children:[w.jsx(p2,{className:"w-3.5 h-3.5"}),w.jsx("span",{children:e})]}),w.jsxs("div",{className:"flex items-center gap-2 text-white/40 text-sm",children:[w.jsx(i2,{className:"w-3.5 h-3.5"}),w.jsx("span",{children:n})]})]})]})}const QO="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/user_69125be953394c3acf43067b/49333c65d_f66e22_c6e2d8c2777441808862be9b029bda36mv2_d_3000_2000_s_2.jpg",GO="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/69b5bffdd540121a8687a82b/d8aa44204_DeenAnthonyLogo-White.png",YO="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/user_69125be953394c3acf43067b/af0eb522a_610903130_18543052288060668_5216519232316816155_n.jpg",XO="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/user_69125be953394c3acf43067b/6d461df3b_Screenshot2026-03-14at125636PM.png",JO=[{venue:"Porta",city:"Asbury Park, NJ",date:"2026 â TBA",link:"https://www.instagram.com/portaasburypark/"}];function ZO(){return w.jsxs("div",{children:[w.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[w.jsxs("div",{className:"absolute inset-0",children:[w.jsx("img",{src:QO,alt:"Deen Anthony performing",className:"w-full h-full object-cover"}),w.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/70 via-black/60 to-black"})]}),w.jsxs("div",{className:"relative z-10 text-center px-6 max-w-3xl mx-auto",children:[w.jsx(cs.img,{src:GO,alt:"Deen Anthony Logo",className:"w-64 md:w-80 mx-auto mb-8 object-contain drop-shadow-2xl",initial:{opacity:0,scale:.8}
181,animate:{opacity:1,scale:1},transition:{duration:.8,ease:"easeOut"}}),w.jsx(cs.p,{className:"text-white/40 text-sm tracking-[0.3em] uppercase mb-6",initial:{opacity:0},animate:{opacity:1},transition:{duration:.8,delay:.4},children:"DJ ⢠Producer"}),w.jsx(cs.p,{className:"text-white/50 text-base md:text-lg leading-relaxed mb-10 max-w-xl mx-auto",initial:{opacity:0},animate:{opacity:1},transition:{duration:.8,delay:.5},children:"Electronic DJ and producer from New Jersey known for high-energy club sets, festival performances, and genre-blending productions."}),w.jsxs(cs.div,{className:"flex flex-wrap justify-center gap-4 mb-10",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.6},children:[w.jsx(kn,{variant:"solid",onClick:()=>{var t;return(t=document.getElementById("music-section"))==null?void 0:t.scrollIntoView({behavior:"smooth"})},children:"Listen Now"}),w.jsx(kn,{variant:"primary",to:"/Contact",children:"Book Deen Anthony"})]}),w.jsx(cs.div,{className:"flex justify-center",initial:{opacity:0}
181,animate:{opacity:1},transition:{duration:.8,delay:.8},children:w.jsx(df,{size:"large"})})]}),w.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 animate-bounce",children:w.jsx("div",{className:"w-px h-12 bg-gradient-to-b from-white/20 to-transparent"})})]}),w.jsx("section",{className:"py-24 px-6 bg-[#0a0a0a]",children:w.jsxs("div",{className:"max-w-6xl mx-auto grid md:grid-cols-2 gap-16 items-center",children:[w.jsxs("div",{children:[w.jsx(Bt,{children:"About Deen Anthony"}),w.jsxs("div",{className:"space-y-5 text-white/50 leading-relaxed text-[15px]",children:[w.jsx("p",{children:"Deen Anthony is a New Jersey based DJ and producer known for high-energy performances and genre-blending club sets that fuse electronic music, house, and open-format sounds."}),w.jsx("p",{children:"Having performed at iconic venues including Webster Hall NYC, Pacha NYC, Space NYC, Harrah's Atlantic City, and Showboat Atlantic City, as well as major events like Electric Adventure Festival, Deen has built a reputation for delivering dynamic sets that keep dance floors packed."}),w.jsx("p",{children:"Blending festival energy with nightlife versatility, Deen Anthony continues to push his sound forward through remixes, mashups, and original productions designed to ignite crowds and elevate the DJ booth experience."})]})]}),w.jsxs("div",{className:"relative",children:[w.jsx("div",{className:"aspect-[3/4] rounded-2xl overflow-hidden border border-white/5",children:w.jsx("img",{src:XO,alt:"Deen Anthony",className:"w-full h-full object-cover"})}),w.jsx("div",{className:"absolute -bottom-6 -left-6 w-32 h-32 rounded-xl overflow-hidden border border-white/10 shadow-2xl hidden md:block",children:w.jsx("img",{src:YO,alt:"Deen Anthony",className:"w-full h-full object-cover"})})]})]})}),w.jsx("section",{id:"music-section",className:"py-24 px-6 bg-black",children:w.jsxs("div",{className:"max-w-4xl mx-auto",children:[w.jsx(Bt,{children:"Latest Music"}),w.jsx("div",{className:"rounded-2xl overflow-hidden border border-white/5",children:w.jsx("iframe",{style:{borderRadius:"12px"},src:"https://open.spotify.com/embed/artist/1OcauCTRrRiTnsI1pMsYWg?utm_source=generator&theme=0",width:"100%",height:"352",frameBorder:"0",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",title:"Spotify Player"})}),w.jsx("div",{className:"text-center mt-8",children:w.jsx(kn,{href:"https://open.spotify.com/artist/1OcauCTRrRiTnsI1pMsYWg",target:"_blank",rel:"noopener noreferrer",children:"View on Spotify"})})]})}),w.jsx("section",{className:"py-24 px-6 bg-[#0a0a0a]",children:w.jsxs("div",{className:"max-w-6xl mx-auto",children:[w.jsx(Bt,{subtitle:"Stay updated on upcoming shows",children:"Upcoming Events"}),w.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:JO.map((t,e)=>w.jsx(Pf,{...t},e))}),w.jsx("div",{className:"text-center mt-10",children:w.jsx(kn,{to:"/Events",children:"View All Events"})})]})}),w.jsxs("section",{className:"py-24 px-6 bg-black relative overflow-hidden",children:[w.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-cyan-400/[0.03] to-purple-500/[0.03]"}),w.jsxs("div",{className:"max-w-2xl mx-auto text-center relative z-10",children:[w.jsx(Bt,{children:"Book Deen Anthony"}),w.jsx("p",{className:"text-white/40 mb-10 leading-relaxed",children:"For bookings, collaborations, or remix requests please reach out."}),w.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[w.jsx(kn,{to:"/Contact",variant:"solid",children:"Contact"}),w.jsx(kn,{onClick:()=>{var t;return(t=document.getElementById("music-section"))==null?void 0:t.scrollIntoView({behavior:"smooth"})},children:"Listen Now"})]})]})]})]})}function e3(){return w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{subtitle:"Stream on your favorite platform",children:"Music"})}),w.jsxs("div",{className:"mb-12",children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-white/30 mb-4",children:"Spotify"}),w.jsx("div",{className:"rounded-2xl overflow-hidden border border-white/5",children:w.jsx("iframe",{style:{borderRadius:"12px"},src:"https://open.spotify.com/embed/artist/1OcauCTRrRiTnsI1pMsYWg?utm_source=generator&theme=0",width:"100%",height:"352",frameBorder:"0",allow:"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture",loading:"lazy",title:"Spotify Player"})})]}),w.jsxs("div",{className:"mb-12",children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-white/30 mb-4",children:"Apple Music"}),w.jsx("div",{className:"rounded-2xl overflow-hidden border border-white/5 flex justify-center bg-white/[0.02] p-4",children:w.jsx("iframe",{allow:"autoplay *; encrypted-media *;",frameBorder:"0",height:"450",style:{width:"100%",maxWidth:"660px",overflow:"hidden",background:"transparent"},sandbox:"allow-forms allow-popups allow-same-origin allow-scripts allow-storage-access-by-user-activation allow-top-navigation-by-user-activation",src:"https://embed.music.apple.com/us/artist/deen-anthony/962333804",title:"Ap
181ple Music Player"})})]}),w.jsxs("div",{className:"mb-12",children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-white/30 mb-4",children:"YouTube"}),w.jsx("div",{className:"rounded-2xl overflow-hidden border border-white/5 aspect-video",children:w.jsx("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/A2l7sXqZ7o4?si=rmRaBm6Nr_BfOJjj",title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})})]})]})})}const t3=[{venue:"Porta",city:"Asbury Park, NJ",date:"2026 â TBA",link:"https://www.instagram.com/portaasburypark/"},{venue:"The Chubby Pickle",city:"Highlands, NJ",date:"Every Thursday â Karaoke Night Residency",link:"https://www.instagram.com/the_chubby_pickle/"}],n3=[{venue:"Harrah's Atlantic City",city:"Atlantic City, NJ",date:"Past Performance"},{venue:"Showboat Atlantic City",city:"Atlantic City, NJ",date:"Past Performance"},{venue:"Electric Adventure Festival",city:"New Jersey",date:"Past Performance"},{venue:"Webster Hall",city:"New York, NY",date:"Past Performance"},{venue:"Pacha NYC",city:"New York, NY",date:"Past Performance"},{venue:"Space NYC",city:"New York, NY",date:"Past Performance"}];function r3(){return w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{subtitle:"Catch Deen Anthony live",children:"Events"})}),w.jsxs("div",{className:"mb-16",children:[w.jsxs("h3",{className:"text-sm tracking-widest uppercase text-cyan-400/60 mb-6 flex items-center gap-3",children:[w.jsx("span",{className:"w-2 h-2 rounded-full bg-cyan-400 animate-pulse"}),"Upcoming Shows"]}),w.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:t3.map((t,e)=>w.jsx(Pf,{...t},e))})]}),w.jsxs("div",{children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-white/30 mb-6",children:"Past Performances"}),w.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:n3.map((t,e)=>w.jsx(Pf,{...t},e))})]})]})})}const s3=[{title:"Club Edits",icon:Rv},{title:"Mashups",icon:a2},{title:"Remixes",icon:c2},{title:"DJ Tools",icon:f2}];function i3(){return w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{subtitle:"Download Deen Anthony's latest mashups, edits, and remixes",children:"DJ Edits & Downloads"})}),w.jsxs("div",{className:"mb-12",children:[w.jsx("h3",{className:"text-lg font-semibold text-white mb-2",children:"Thinkin Bout Me X Anywhere With You"}),w.jsx("p",{className:"text-white/30 text-sm mb-4",children:"Deen Anthony Mashup"}),w.jsx("div",{className:"rounded-2xl overflow-hidden border border-white/5 mb-4",children:w.jsx("iframe",{width:"100%",height:"300",scrolling:"no",frameBorder:"no",allow:"autoplay",src:"https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/soundcloud%253Atracks%253A1491735403&color=%2322d3ee&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true",title:"SoundCloud Player 1"})}),w.jsxs(kn,{href:"https://hypeddit.com/4ru8ee",target:"_blank",rel:"noopener noreferrer",variant:"solid",children:[w.jsx(Mg,{className:"w-4 h-4 mr-2"})," Free Download"]})]}),w.jsxs("div",{className:"mb-16",children:[w.jsx("h3",{className:"text-lg font-semibold text-white mb-2",children:"Dancin In The Country X Baby Don't Hurt Me"}),w.jsx("p",{className:"text-white/30 text-sm mb-4",children:"Deen Anthony Mashup"}),w.jsx("div",{className:"rounded-2xl overflow-hidden border border-white/5 mb-4",children:w.jsx("iframe",{width:"100%",height:"300",scrolling:"no",frameBorder:"no",allow:"autoplay",src:"https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/soundcloud%253Atracks%253A1523369071&color=%2322d3ee&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual
181=true",title:"SoundCloud Player 2"})}),w.jsxs(kn,{href:"https://hypeddit.com/tylerhubbardvsdavidguetta/dancininthecountry",target:"_blank",rel:"noopener noreferrer",variant:"solid",children:[w.jsx(Mg,{className:"w-4 h-4 mr-2"})," Free Download"]})]}),w.jsxs("div",{children:[w.jsx(Bt,{children:"More DJ Edits Coming Soon"}),w.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-8",children:s3.map((t,e)=>w.jsxs("div",{className:"bg-white/[0.03] border border-white/[0.06] rounded-2xl p-6 text-center hover:border-cyan-400/20 transition-all duration-300",children:[w.jsx(t.icon,{className:"w-8 h-8 text-cyan-400/30 mx-auto mb-3"}),w.jsx("p",{className:"text-white/40 text-sm font-medium",children:t.title})]},e))}),w.jsx("p",{className:"text-center text-white/30 text-sm",children:"More downloads and exclusive edits will be added soon."})]})]})})}const fv="https://deen-anthony-merch.myspreadshop.com/";function o3(){const[t,e]=I.useState(!1),n=I.useRef(!0);I.useEffect(()=>(window.scrollTo({top:0,left:0,behavior:"auto"}),()=>{n.current=!1}),[]);const i=()=>{if(e(!0),!n.current)return;const l=[0,100,500,1500].map(u=>window.setTimeout(()=>{n.current&&window.scrollTo({top:0,left:0,behavior:"auto"})},u));window.setTimeout(()=>{l.forEach(clearTimeout)},1700)};return w.jsxs("div",{className:"pt-24 pb-20 bg-black min-h-screen",style:{overflowAnchor:"none"},children:[w.jsx("section",{className:"px-6 pt-6 pb-8",children:w.jsx("div",{className:"max-w-4xl mx-auto text-center",children:w.jsx(cs.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},children:w.jsx(Bt,{subtitle:"Rep the music with official Deen Anthony apparel and merchandise. Browse the latest designs and shop directly below.",children:"Official Deen Anthony Merch"})})})}),w.jsxs("section",{className:"px-4 sm:px-6 pb-10",children:[w.jsx(cs.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1,ease:"easeOut"},className:"max-w-7xl mx-auto w-full min-w-0 rounded-3xl bg-[#0a0a0a] border border-white/5 p-2 sm:p-4 shadow-[0_0_40px_rgba(34,211,238,0.05)] overflow-hidden",style:{overflowAnchor:"none"},children:w.jsxs("div",{className:"relative w-full min-w-0 rounded-2xl overflow-hidden bg-[#0a0a0a] h-[1600px] md:h-[1400px]",style:{overflowAnchor:"none"},children:[!t&&w.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center bg-[#0a0a0a] z-10",style:{overflowAnchor:"none"},children:[w.jsx("div",{className:"w-8 h-8 border-4 border-white/10 border-t-cyan-400 rounded-full animate-spin mb-6"}),w.jsx("h3",{className:"text-lg font-semibold text-white mb-2",children:"Loading Official Merch"}),w.jsx("p",{className:"text-white/40 text-sm tracking-wide",children:"The official Deen Anthony store is loading."})]}),w.jsx("iframe",{src:fv,title:"Official Deen Anthony Merch Store",loading:"lazy",referrerPolicy:"strict-origin-when-cross-origin",onLoad:i,style:{width:"100%",height:"100%",border:0,display:"block",minWidth:0,background:"#0a0a0a",overflowAnchor:"none"},className:"relative z-0"})]})}),w.jsxs("div",{className:"max-w-7xl mx-auto mt-8 text-center",children:[w.jsx("p",{className:"text-white/40 text-sm mb-4",children:"Having trouble viewing the store?"}),w.jsx(kn,{variant:"primary",href:fv,target:"_blank",rel:"noopener noreferrer",children:"Open Official Merch Store"})]})]})]})}const a3="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/user_69125be953394c3acf43067b/af0eb522a_610903130_18543052288060668_5216519232316816155_n.jpg",l3="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/user_69125be953394c3acf43067b/49333c65d_f66e22_c6e2d8c2777441808862be9b029bda36mv2_d_3000_2000_s_2.jpg",u3="https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/user_69125be953394c3acf43067b/6d461df3b_Screenshot2026-03-14at125636PM.png",c3=[{icon:_2,label:"Festival Performances"},{icon:Rv,label:"New York & New Jersey Nightlife"},{icon:b2,label:"Electronic Music Producer"},{icon:v2,label:"Open Format Club DJ"}],d3=["Webster Hall NYC","Pacha NYC","Space NYC","Harrah's Atlantic City","Showboat Atlantic City","Electric Adventure Festival"],f3=[a3,l3,u3];function h3(){return w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{children:"Press Kit"})}),w.jsxs("div",{className:"mb-16",children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-cyan-400/60 mb-4",children:"Artist Bio"}),w.jsxs("div",{className:"bg-white/[0.02] border border-white/[0.06] rounded-2xl p-8 space-y-4",children:[w.jsx("p",{className:"text-white/50 leading-relaxed text-[15px]",children:"Deen Anthony is a New Jersey based DJ and music producer known for delivering high-energy performances that blur the lines between electronic music, house, and open-format club sounds."}),w.jsx("p",{className:"text-white/50 leading-relaxed text-[15px]",children:"Rising from the New York and New Jersey nightlife scene, Deen quickly built a reputation for his ability to read a crowd and control the energy of a room. His sets move effortlessly between festival-ready drops, club anthems, and unexpected mashups, creating a dynamic experience that keeps dance floors locked in from start to finish."}),w.jsx("p",{className:"text-white/50 leading-relaxed text-[15px]",children:"Over the course of his career he has performed at some of the region's most recognized venues including Webster Hall NYC, Pacha NYC, Space NYC, Harrah's Atlantic City, and Showboat Atlantic City, as well as major events such as Electric Adventure Festival."}),w.jsx("p",{className:"text-white/50 leading-relaxed text-[15px]",children:"As a producer, Deen Anthony continues to build a growing catalog of remixes, mashups, and original productions that showcase his signature blend of electronic energy and open-format creativity. His music is designed for DJs and dance floors alike, delivering the kind of explosive moments that define great nights in nightlife."}),w.jsx("p",{className:"text-white/50 leading-relaxed text-[15px]",children:"Whether performing at packed clubs or festival stages, Deen Anthony brings a fearless approach to DJing that keeps crowds moving and energy levels at their peak."})]})]}),w.jsxs("div",{className:"mb-16",children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-cyan-400/60 mb-4",children:"Highlights"}),w.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:c3.map((t,e)=>w.jsxs("div",{className:"bg-white/[0.02] border border-white/[0.06] rounded-2xl p-6 text-center hover:border-cyan-400/20 transition-all duration-300",children:[w.jsx(t.icon,{className:"w-8 h-8 text-cyan-400/40 mx-auto mb-3"}),w.jsx("p",{className:"text-white/50 text-sm",children:t.label})]},e))})]}),w.jsxs("div",{className:"mb-16",children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-cyan-400/60 mb-4",children:"Notable Venues"}),w.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:d3.map((t,e)=>w.jsx("div",{className:"bg-white/[0.03] border border-white/[0.06] rounded-2xl px-6 py-5 text-white/60 text-sm font-medium hover:border-cyan-400/20 hover:text-white/80 transition-all duration-300",children:t},e))})]}),w.jsxs("div",{className:"mb-16",children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-cyan-400/60 mb-4",children:"Press Photos"}),w.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:f3.map((t,e)=>w.jsx("div",{className:"aspect-square rounded-2xl overflow-hidden border border-white/5 hover:border-cyan-400/20 transition-all duration-300",children:w.jsx("img",{src:t,alt:`Deen Anthony press photo ${e+1}`,className:"w-full h-full object-cover"})},e))})]}),w.jsxs("div",{children:[w.jsx("h3",{className:"text-sm tracking-widest uppercase text-cyan-400/60 mb-4",children:"Media Downloads"}),w.jsxs("div",{className:"bg-white/[0.02] border border-white/[0.06] rounded-2xl p-8 text-center",children:[w.jsx("p",{className:"text-white/40 text-sm",children:"Full press kit with high-resolution assets coming soon."}),w.jsx("p",{className:"text-white/30 text-xs mt-2",children:"For media inquiries, please use the contact form."})]})]})]})})}function p3(){return I.useEffect(()=>{const t=document.createElement("script");return t.src="https://link.frogforce.ai/js/form_embed.js",t.async=!0,document.body.appendChild(t),()=>{document.body.removeChild(t)}},[]),w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-2xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{subtitle:"For bookings, collaborations, or remix requests",children:"Contact"})}),w.jsx("div",{className:"w-full",style:{height:"1046px"},children:w.jsx("iframe",{src:"https://link.frogforce.ai/widget/form/5FqdAvRXCb8eQdoYQvyR",style:{width:"100%",height:"100%",border:"none",borderRadius:"8px"},id:"inline-5FqdAvRXCb8eQdoYQvyR","data-layout":"{'id':'INLINE'}","data-trigger-type":"alwaysShow","data-trigger-value":"","data-activation-type":"alwaysActivated","data-activation-value":"","data-deactivation-type":"neverDeactivate","data-deactivation-value":"","data-form-name":"Contact Form","data-height":"1046","data-layout-iframe-id":"inline-5FqdAvRXCb8eQdoYQvyR","data-form-id":"5FqdAvRXCb8eQdoYQvyR",title:"Contact Form"})})]})})}function m3(){return w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-2xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{children:"Terms of Use"})}),w.jsx("div",{className:"bg-white/[0.02] border border-white/[0.06] rounded-2xl p-8",children:w.jsx("p",{className:"text-white/50 leading-relaxed text-[15px]",children:"All music and branding belong to Deen Anthony unless otherwise stated."})})]})})}function g3(){return w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-2xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{children:"Privacy Policy"})}),w.jsx("div",{className:"bg-white/[0.02] border border-white/[0.06] rounded-2xl p-8",children:w.jsx("p",{className:"text-white/50 leading-relaxed text-[15px]",children:"Information submitted through contact forms will only be used for responding to booking inquiries."})})]})})}const y3=[{label:"Home",to:"/Home"},{label:"Music",to:"/Music"},{label:"Events",to:"/Events"},{label:"Downloads",to:"/Downloads"},{label:"Press-Kit",to:"/PressKit"},{label:"Contact",to:"/Contact"},{label:"Terms",to:"/Terms"},{label:"Privacy",to:"/Privacy"}
181];function v3(){return w.jsx("div",{className:"pt-24 pb-20 bg-black min-h-screen",children:w.jsxs("div",{className:"max-w-2xl mx-auto px-6",children:[w.jsx("div",{className:"pt-8",children:w.jsx(Bt,{children:"Sitemap"})}),w.jsx("div",{className:"bg-white/[0.02] border border-white/[0.06] rounded-2xl p-8",children:w.jsx("ul",{className:"space-y-3",children:y3.map(t=>w.jsx("li",{children:w.jsx(_s,{to:t.to,className:"text-white/50 hover:text-cyan-400 transition-colors text-sm tracking-wide",children:t.label})},t.to))})})]})})}const w3=()=>{const{isLoadingAuth:t,isLoadingPublicSettings:e,authError:n,navigateToLogin:i}=mR();if(e||t)return w.jsx("div",{className:"fixed inset-0 flex items-center justify-center bg-black",children:w.jsx("div",{className:"w-8 h-8 border-4 border-white/10 border-t-cyan-400 rounded-full animate-spin"})});if(n){if(n.type==="user_not_registered")return w.jsx(gR,{});if(n.type==="auth_required")return i(),null}return w.jsx(XE,{children:w.jsxs(It,{element:w.jsxs(w.Fragment,{children:[w.jsx(SR,{}),w.jsx(bR,{})]}),children:[w.jsx(It,{path:"/",element:w.jsx(QE,{to:"/Home",replace:!0})}),w.jsx(It,{path:"/Home",element:w.jsx(ZO,{})}),w.jsx(It,{path:"/Music",element:w.jsx(e3,{})}),w.jsx(It,{path:"/Events",element:w.jsx(r3,{})}),w.jsx(It,{path:"/Downloads",element:w.jsx(i3,{})}),w.jsx(It,{path:"/Merch",element:w.jsx(o3,{})}),w.jsx(It,{path:"/PressKit",element:w.jsx(h3,{})}),w.jsx(It,{path:"/Contact",element:w.jsx(p3,{})}),w.jsx(It,{path:"/Terms",element:w.jsx(m3,{})}),w.jsx(It,{path:"/Privacy",element:w.jsx(g3,{})}),w.jsx(It,{path:"/Sitemap",element:w.jsx(v3,{})}),w.jsx(It,{path:"*",element:w.jsx(hR,{})})]})})};function x3(){return w.jsx(pR,{children:w.jsxs(z_,{client:tE,children:[w.jsx(sk,{children:w.jsx(w3,{})}),w.jsx(g_,{})]})})}KS.createRoot(document.getElementById("root")).render(w.jsx(x3,{}));
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.