PageSourceSearch

https://morethanamatchmaker.com/assets/index-DuowlZiL.js

js morethanamatchmaker.com collected 2026-10-09 23:02:21 UTC 718,930 bytes, 229 lines download raw bytes

vendor: 4,425 bytes, lines 1-9
1var vC=Object.defineProperty;var g0=e=>{throw TypeError(e)};var xC=(e,t,n)=>t in e?vC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var He=(e,t,n)=>xC(e,typeof t!="symbol"?t+"":t,n),dh=(e,t,n)=>t.has(e)||g0("Cannot "+n);var D=(e,t,n)=>(dh(e,t,"read from private field"),n?n.call(e):t.get(e)),Te=(e,t,n)=>t.has(e)?g0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),de=(e,t,n,r)=>(dh(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Fe=(e,t,n)=>(dh(e,t,"access private method"),n);var gu=(e,t,n,r)=>({set _(o){de(e,t,o,n)},get _(){return D(e,t,r)}});function wC(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(r,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}})();function cc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hh={exports:{}},na={},fh={exports:{}},Me={};/**
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 y0;function bC(){if(y0)return Me;y0=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function v(O){return O===null||typeof O!="object"?null:(O=g&&O[g]||O["@@iterator"],typeof O=="function"?O:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,T={};function S(O,H,A){this.props=O,this.context=H,this.refs=T,this.updater=A||w}S.prototype.isReactComponent={},S.prototype.setState=function(O,H){if(typeof O!="object"&&typeof O!="function"&&O!=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,O,H,"setState")},S.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function b(){}b.prototype=S.prototype;function P(O,H,A){this.props=O,this.context=H,this.refs=T,this.updater=A||w}var _=P.prototype=new b;_.constructor=P,C(_,S.prototype),_.isPureReactComponent=!0;var R=Array.isArray,B=Object.prototype.hasOwnProperty,j={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function z(O,H,A){var we,be={},Z=null,Ce=null;if(H!=null)for(we in H.ref!==void 0&&(Ce=H.ref),H.key!==void 0&&(Z=""+H.key),H)B.call(H,we)&&!W.hasOwnProperty(we)&&(be[we]=H[we]);var Ie=arguments.length-2;if(Ie===1)be.children=A;else if(1<Ie){for(var ke=Array(Ie),Je=0;Je<Ie;Je++)ke[Je]=arguments[Je+2];be.children=ke}if(O&&O.defaultProps)for(we in Ie=O.defaultProps,Ie)be[we]===void 0&&(be[we]=Ie[we]);return{$$typeof:e,type:O,key:Z,ref:Ce,props:be,_owner:j.current}}function Y(O,H){return{$$typeof:e,type:O.type,key:H,ref:O.ref,props:O.props,_owner:O._owner}}function re(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function ee(O){var H={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(A){return H[A]})}var se=/\/+/g;function he(O,H){return typeof O=="object"&&O!==null&&O.key!=null?ee(""+O.key):H.toString(36)}function ie(O,H,A,we,be){var Z=typeof O;(Z==="undefined"||Z==="boolean")&&(O=null);var Ce=!1;
vendor: 10,293 bytes, lines 9-33
9if(O===null)Ce=!0;else switch(Z){case"string":case"number":Ce=!0;break;case"object":switch(O.$$typeof){case e:case t:Ce=!0}}if(Ce)return Ce=O,be=be(Ce),O=we===""?"."+he(Ce,0):we,R(be)?(A="",O!=null&&(A=O.replace(se,"$&/")+"/"),ie(be,H,A,"",function(Je){return Je})):be!=null&&(re(be)&&(be=Y(be,A+(!be.key||Ce&&Ce.key===be.key?"":(""+be.key).replace(se,"$&/")+"/")+O)),H.push(be)),1;if(Ce=0,we=we===""?".":we+":",R(O))for(var Ie=0;Ie<O.length;Ie++){Z=O[Ie];var ke=we+he(Z,Ie);Ce+=ie(Z,H,A,ke,be)}else if(ke=v(O),typeof ke=="function")for(O=ke.call(O),Ie=0;!(Z=O.next()).done;)Z=Z.value,ke=we+he(Z,Ie++),Ce+=ie(Z,H,A,ke,be);else if(Z==="object")throw H=String(O),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.");return Ce}function X(O,H,A){if(O==null)return O;var we=[],be=0;return ie(O,we,"","",function(Z){return H.call(A,Z,be++)}),we}function ye(O){if(O._status===-1){var H=O._result;H=H(),H.then(function(A){(O._status===0||O._status===-1)&&(O._status=1,O._result=A)},function(A){(O._status===0||O._status===-1)&&(O._status=2,O._result=A)}),O._status===-1&&(O._status=0,O._result=H)}if(O._status===1)return O._result.default;throw O._result}var le={current:null},G={transition:null},ue={ReactCurrentDispatcher:le,ReactCurrentBatchConfig:G,ReactCurrentOwner:j};function E(){throw Error("act(...) is not supported in production builds of React.")}return Me.Children={map:X,forEach:function(O,H,A){X(O,function(){H.apply(this,arguments)},A)},count:function(O){var H=0;return X(O,function(){H++}),H},toArray:function(O){return X(O,function(H){return H})||[]},only:function(O){if(!re(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},Me.Component=S,Me.Fragment=n,Me.Profiler=o,Me.PureComponent=P,Me.StrictMode=r,Me.Suspense=d,Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ue,Me.act=E,Me.cloneElement=function(O,H,A){if(O==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+O+".");var we=C({},O.props),be=O.key,Z=O.ref,Ce=O._owner;if(H!=null){if(H.ref!==void 0&&(Z=H.ref,Ce=j.current),H.key!==void 0&&(be=""+H.key),O.type&&O.type.defaultProps)var Ie=O.type.defaultProps;for(ke in H)B.call(H,ke)&&!W.hasOwnProperty(ke)&&(we[ke]=H[ke]===void 0&&Ie!==void 0?Ie[ke]:H[ke])}var ke=arguments.length-2;if(ke===1)we.children=A;else if(1<ke){Ie=Array(ke);for(var Je=0;Je<ke;Je++)Ie[Je]=arguments[Je+2];we.children=Ie}return{$$typeof:e,type:O.type,key:be,ref:Z,props:we,_owner:Ce}},Me.createContext=function(O){return O={$$typeof:l,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},O.Provider={$$typeof:a,_context:O},O.Consumer=O},Me.createElement=z,Me.createFactory=function(O){var H=z.bind(null,O);return H.type=O,H},Me.createRef=function(){return{current:null}},Me.forwardRef=function(O){return{$$typeof:c,render:O}},Me.isValidElement=re,Me.lazy=function(O){return{$$typeof:p,_payload:{_status:-1,_result:O},_init:ye}},Me.memo=function(O,H){return{$$typeof:f,type:O,compare:H===void 0?null:H}},Me.startTransition=function(O){var H=G.transition;G.transition={};try{O()}finally{G.transition=H}},Me.unstable_act=E,Me.useCallback=function(O,H){return le.current.useCallback(O,H)},Me.useContext=function(O){return le.current.useContext(O)},Me.useDebugValue=function(){},Me.useDeferredValue=function(O){return le.current.useDeferredValue(O)},Me.useEffect=function(O,H){return le.current.useEffect(O,H)},Me.useId=function(){return le.current.useId()},Me.useImperativeHandle=function(O,H,A){return le.current.useImperativeHandle(O,H,A)},Me.useInsertionEffect=function(O,H){return le.current.useInsertionEffect(O,H)},Me.useLayoutEffect=function(O,H){return le.current.useLayoutEffect(O,H)},Me.useMemo=function(O,H){return le.current.useMemo(O,H)},Me.useReducer=function(O,H,A){return le.current.useReducer(O,H,A)},Me.useRef=function(O){return le.current.useRef(O)},Me.useState=function(O){return le.current.useState(O)},Me.useSyncExternalStore=function(O,H,A){return le.current.useSyncExternalStore(O,H,A)},Me.useTransition=function(){return le.current.useTransition()},Me.version="18.3.1",Me}var v0;function mp(){return v0||(v0=1,fh.exports=bC()),fh.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 x0;function kC(){if(x0)return na;x0=1;var e=mp(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(c,d,f){var p,g={},v=null,w=null;f!==void 0&&(v=""+f),d.key!==void 0&&(v=""+d.key),d.ref!==void 0&&(w=d.ref);for(p in d)r.call(d,p)&&!a.hasOwnProperty(p)&&(g[p]=d[p]);if(c&&c.defaultProps)for(p in d=c.defaultProps,d)g[p]===void 0&&(g[p]=d[p]);return{$$typeof:t,type:c,key:v,ref:w,props:g,_owner:o.current}}return na.Fragment=n,na.jsx=l,na.jsxs=l,na}var w0;function SC(){return w0||(w0=1,hh.exports=kC()),hh.exports}var x=SC(),F=mp();const EC=cc(F),TC=wC({__proto__:null,default:EC},[F]);var yu={},ph={exports:{}},rn={},mh={exports:{}},gh={};/**
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 b0;function CC(){return b0||(b0=1,(function(e){function t(G,ue){var E=G.length;G.push(ue);e:for(;0<E;){var O=E-1>>>1,H=G[O];if(0<o(H,ue))G[O]=ue,G[E]=H,E=O;else break e}}function n(G){return G.length===0?null:G[0]}function r(G){if(G.length===0)return null;var ue=G[0],E=G.pop();if(E!==ue){G[0]=E;e:for(var O=0,H=G.length,A=H>>>1;O<A;){var we=2*(O+1)-1,be=G[we],Z=we+1,Ce=G[Z];if(0>o(be,E))Z<H&&0>o(Ce,be)?(G[O]=Ce,G[Z]=E,O=Z):(G[O]=be,G[we]=E,O=we);else if(Z<H&&0>o(Ce,E))G[O]=Ce,G[Z]=E,O=Z;else break e}}return ue}function o(G,ue){var E=G.sortIndex-ue.sortIndex;return E!==0?E:G.id-ue.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var d=[],f=[],p=1,g=null,v=3,w=!1,C=!1,T=!1,S=typeof setTimeout=="function"?setTimeout:null,b=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(G){for(var ue=n(f);ue!==null;){if(ue.callback===null)r(f);else if(ue.startTime<=G)r(f),ue.sortIndex=ue.expirationTime,t(d,ue);else break;ue=n(f)}}function R(G){if(T=!1,_(G),!C)if(n(d)!==null)C=!0,ye(B);else{var ue=n(f);ue!==null&&le(R,ue.startTime-G)}}function B(G,ue){C=!1,T&&(T=!1,b(z),z=-1),w=!0;var E=v;try{for(_(ue),g=n(d);g!==null&&(!(g.expirationTime>ue)||G&&!ee());){var O=g.callback;if(typeof O=="function"){g.callback=null,v=g.priorityLevel;var H=O(g.expirationTime<=ue);ue=e.unstable_now(),typeof H=="function"?g.callback=H:g===n(d)&&r(d),_(ue)}else r(d);g=n(d)}if(g!==null)var A=!0;else{var we=n(f);we!==null&&le(R,we.startTime-ue),A=!1}return A}finally{g=null,v=E,w=!1}}var j=!1,W=null,z=-1,Y=5,re=-1;function ee(){return!(e.unstable_now()-re<Y)}function se(){if(W!==null){var G=e.unstable_now();re=G;var ue=!0;try{ue=W(!0,G)}finally{ue?he():(j=!1,W=null)}}else j=!1}var he;if(typeof P=="function")he=function(){P(se)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,X=ie.port2;ie.port1.onmessage=se,he=function(){X.postMessage(null)}}else he=function(){S(se,0)};function ye(G){W=G,j||(j=!0,he())}function le(G,ue){z=S(function(){G(e.unstable_now())},ue)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(G){G.callback=null},e.unstable_continueExecution=function(){C||w||(C=!0,ye(B))},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(d)},e.unstable_next=function(G){switch(v){case 1:case 2:case 3:var ue=3;break;default:ue=v}var E=v;v=ue;try{return G()}finally{v=E}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(G,ue){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var E=v;v=G;try{return ue()}finally{v=E}},e.unstable_scheduleCallback=function(G,ue,E){var O=e.unstable_now();switch(typeof E=="object"&&E!==null?(E=E.delay,E=typeof E=="number"&&0<E?O+E:O):E=O,G){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=E+H,G={id:p++,callback:ue,priorityLevel:G,startTime:E,expirationTime:H,sortIndex:-1},E>O?(G.sortIndex=E,t(f,G),n(d)===null&&G===n(f)&&(T?(b(z),z=-1):T=!0,le(R,E-O))):(G.sortIndex=H,t(d,G),C||w||(C=!0,ye(B))),G},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(G){var ue=v;return function(){var E=v;v=ue;try{return G.apply(this,arguments)}finally{v=E}}}})(gh)),gh}var k0;function _C(){return k0||(k0=1,mh.exports=CC()),mh.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 S0;function PC(){if(S0)return rn;S0=1;var e=mp(),t=_C();function n(i){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+i,u=1;u<arguments.length;u++)s+="&args[]="+encodeURIComponent(arguments[u]);return"Minified React error #"+i+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,o={};
vendor: 36,963 bytes, lines 33-37
33function a(i,s){l(i,s),l(i+"Capture",s)}function l(i,s){for(o[i]=s,i=0;i<s.length;i++)r.add(s[i])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,f=/^[: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]*$/,p={},g={};function v(i){return d.call(g,i)?!0:d.call(p,i)?!1:f.test(i)?g[i]=!0:(p[i]=!0,!1)}function w(i,s,u,h){if(u!==null&&u.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return h?!1:u!==null?!u.acceptsBooleans:(i=i.toLowerCase().slice(0,5),i!=="data-"&&i!=="aria-");default:return!1}}function C(i,s,u,h){if(s===null||typeof s>"u"||w(i,s,u,h))return!0;if(h)return!1;if(u!==null)switch(u.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 T(i,s,u,h,m,y,k){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=h,this.attributeNamespace=m,this.mustUseProperty=u,this.propertyName=i,this.type=s,this.sanitizeURL=y,this.removeEmptyString=k}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){S[i]=new T(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var s=i[0];S[s]=new T(s,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){S[i]=new T(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){S[i]=new T(i,2,!1,i,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(i){S[i]=new T(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){S[i]=new T(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){S[i]=new T(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){S[i]=new T(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){S[i]=new T(i,5,!1,i.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function P(i){return i[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(i){var s=i.replace(b,P);S[s]=new T(s,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var s=i.replace(b,P);S[s]=new T(s,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var s=i.replace(b,P);S[s]=new T(s,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){S[i]=new T(i,1,!1,i.toLowerCase(),null,!1,!1)}),S.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){S[i]=new T(i,1,!1,i.toLowerCase(),null,!0,!0)});function _(i,s,u,h){var m=S.hasOwnProperty(s)?S[s]:null;(m!==null?m.type!==0:h||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(C(s,u,m,h)&&(u=null),h||m===null?v(s)&&(u===null?i.removeAttribute(s):i.setAttribute(s,""+u)):m.mustUseProperty?i[m.propertyName]=u===null?m.type===3?!1:"":u:(s=m.attributeName,h=m.attributeNamespace,u===null?i.removeAttribute(s):(m=m.type,u=m===3||m===4&&u===!0?"":""+u,h?i.setAttributeNS(h,s,u):i.setAttribute(s,u))))}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,B=Symbol.for("react.element"),j=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),re=Symbol.for("react.provider"),ee=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),he=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),le=Symbol.for("react.offscreen"),G=Symbol.iterator;function ue(i){return i===null||typeof i!="object"?null:(i=G&&i[G]||i["@@iterator"],typeof i=="function"?i:null)}var E=Object.assign,O;function H(i){if(O===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);O=s&&s[1]||""}return`
34`+O+i}var A=!1;function we(i,s){if(!i||A)return"";A=!0;var u=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($){var h=$}Reflect.construct(i,[],s)}else{try{s.call()}catch($){h=$}i.call(s.prototype)}else{try{throw Error()}catch($){h=$}i()}}catch($){if($&&h&&typeof $.stack=="string"){for(var m=$.stack.split(`
35`),y=h.stack.split(`
36`),k=m.length-1,N=y.length-1;1<=k&&0<=N&&m[k]!==y[N];)N--;for(;1<=k&&0<=N;k--,N--)if(m[k]!==y[N]){if(k!==1||N!==1)do if(k--,N--,0>N||m[k]!==y[N]){var I=`
37`+m[k].replace(" at new "," at ");return i.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",i.displayName)),I}while(1<=k&&0<=N);break}}}finally{A=!1,Error.prepareStackTrace=u}return(i=i?i.displayName||i.name:"")?H(i):""}function be(i){switch(i.tag){case 5:return H(i.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return i=we(i.type,!1),i;case 11:return i=we(i.type.render,!1),i;case 1:return i=we(i.type,!0),i;default:return""}}function Z(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case W:return"Fragment";case j:return"Portal";case Y:return"Profiler";case z:return"StrictMode";case he:return"Suspense";case ie:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case ee:return(i.displayName||"Context")+".Consumer";case re:return(i._context.displayName||"Context")+".Provider";case se:var s=i.render;return i=i.displayName,i||(i=s.displayName||s.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case X:return s=i.displayName||null,s!==null?s:Z(i.type)||"Memo";case ye:s=i._payload,i=i._init;try{return Z(i(s))}catch{}}return null}function Ce(i){var s=i.type;switch(i.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 i=s.render,i=i.displayName||i.name||"",s.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Z(s);case 8:return s===z?"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 Ie(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function ke(i){var s=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Je(i){var s=ke(i)?"checked":"value",u=Object.getOwnPropertyDescriptor(i.constructor.prototype,s),h=""+i[s];if(!i.hasOwnProperty(s)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var m=u.get,y=u.set;return Object.defineProperty(i,s,{configurable:!0,get:function(){return m.call(this)},set:function(k){h=""+k,y.call(this,k)}}),Object.defineProperty(i,s,{enumerable:u.enumerable}),{getValue:function(){return h},setValue:function(k){h=""+k},stopTracking:function(){i._valueTracker=null,delete i[s]}}}}function _t(i){i._valueTracker||(i._valueTracker=Je(i))}function xt(i){if(!i)return!1;var s=i._valueTracker;if(!s)return!0;var u=s.getValue(),h="";return i&&(h=ke(i)?i.checked?"true":"false":i.value),i=h,i!==u?(s.setValue(i),!0):!1}function hn(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}function Yt(i,s){var u=s.checked;return E({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??i._wrapperState.initialChecked})}function Wt(i,s){var u=s.defaultValue==null?"":s.defaultValue,h=s.checked!=null?s.checked:s.defaultChecked;u=Ie(s.value!=null?s.value:u),i._wrapperState={initialChecked:h,initialValue:u,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function Ne(i,s){s=s.checked,s!=null&&_(i,"checked",s,!1)}function pt(i,s){Ne(i,s);var u=Ie(s.value),h=s.type;if(u!=null)h==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+u):i.value!==""+u&&(i.value=""+u);else if(h==="submit"||h==="reset"){i.removeAttribute("value");return}s.hasOwnProperty("value")?Xt(i,s.type,u):s.hasOwnProperty("defaultValue")&&Xt(i,s.type,Ie(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(i.defaultChecked=!!s.defaultChecked)}function fn(i,s,u){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var h=s.type;if(!(h!=="submit"&&h!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+i._wrapperState.initialValue,u||s===i.value||(i.value=s),i.defaultValue=s}u=i.name,u!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,u!==""&&(i.name=u)}function Xt(i,s,u){(s!=="number"||hn(i.ownerDocument)!==i)&&(u==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+u&&(i.defaultValue=""+u))}var Mn=Array.isArray;function Yn(i,s,u,h){if(i=i.options,s){s={};for(var m=0;m<u.length;m++)s["$"+u[m]]=!0;for(u=0;u<i.length;u++)m=s.hasOwnProperty("$"+i[u].value),i[u].selected!==m&&(i[u].selected=m),m&&h&&(i[u].defaultSelected=!0)}else{for(u=""+Ie(u),s=null,m=0;m<i.length;m++){if(i[m].value===u){i[m].selected=!0,h&&(i[m].defaultSelected=!0);return}s!==null||i[m].disabled||(s=i[m])}s!==null&&(s.selected=!0)}}function Fn(i,s){if(s.dangerouslySetInnerHTML!=null)throw Error(n(91));return E({},s,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function ol(i,s){var u=s.value;if(u==null){if(u=s.children,s=s.defaultValue,u!=null){if(s!=null)throw Error(n(92));if(Mn(u)){if(1<u.length)throw Error(n(93));u=u[0]}s=u}s==null&&(s=""),u=s}i._wrapperState={initialValue:Ie(u)}}function al(i,s){var u=Ie(s.value),h=Ie(s.defaultValue);u!=null&&(u=""+u,u!==i.value&&(i.value=u),s.defaultValue==null&&i.defaultValue!==u&&(i.defaultValue=u)),h!=null&&(i.defaultValue=""+h)}function ll(i){var s=i.textContent;s===i._wrapperState.initialValue&&s!==""&&s!==null&&(i.value=s)}function q(i){switch(i){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 oe(i,s){return i==null||i==="http://www.w3.org/1999/xhtml"?q(s):i==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var Ae,Le=(function(i){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,u,h,m){MSApp.execUnsafeLocalFunction(function(){return i(s,u,h,m)})}:i})(function(i,s){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=s;else{for(Ae=Ae||document.createElement("div"),Ae.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=Ae.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;s.firstChild;)i.appendChild(s.firstChild)}});function Ve(i,s){if(s){var u=i.firstChild;if(u&&u===i.lastChild&&u.nodeType===3){u.nodeValue=s;return}}i.textContent=s}var Pt={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},pr=["Webkit","ms","Moz","O"];Object.keys(Pt).forEach(function(i){pr.forEach(function(s){s=s+i.charAt(0).toUpperCase()+i.substring(1),Pt[s]=Pt[i]})});function Sn(i,s,u){return s==null||typeof s=="boolean"||s===""?"":u||typeof s!="number"||s===0||Pt.hasOwnProperty(i)&&Pt[i]?(""+s).trim():s+"px"}function jr(i,s){i=i.style;for(var u in s)if(s.hasOwnProperty(u)){var h=u.indexOf("--")===0,m=Sn(u,s[u],h);u==="float"&&(u="cssFloat"),h?i.setProperty(u,m):i[u]=m}}var Si=E({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 At(i,s){if(s){if(Si[i]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(n(137,i));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 Xn(i,s){if(i.indexOf("-")===-1)return typeof s.is=="string";switch(i){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 pn=null;function Cc(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var _c=null,ps=null,ms=null;function Im(i){if(i=Vo(i)){if(typeof _c!="function")throw Error(n(280));var s=i.stateNode;s&&(s=Rl(s),_c(i.stateNode,i.type,s))}}function Om(i){ps?ms?ms.push(i):ms=[i]:ps=i}function Dm(){if(ps){var i=ps,s=ms;if(ms=ps=null,Im(i),s)for(i=0;i<s.length;i++)Im(s[i])}}function Lm(i,s){return i(s)}function Mm(){}var Pc=!1;function Fm(i,s,u){if(Pc)return i(s,u);Pc=!0;try{return Lm(i,s,u)}finally{Pc=!1,(ps!==null||ms!==null)&&(Mm(),Dm())}}function wo(i,s){var u=i.stateNode;if(u===null)return null;var h=Rl(u);if(h===null)return null;u=h[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":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(u&&typeof u!="function")throw Error(n(231,s,typeof u));return u}var Ac=!1;if(c)try{var bo={};Object.defineProperty(bo,"passive",{get:function(){Ac=!0}}),window.addEventListener("test",bo,bo),window.removeEventListener("test",bo,bo)}catch{Ac=!1}function EE(i,s,u,h,m,y,k,N,I){var $=Array.prototype.slice.call(arguments,3);try{s.apply(u,$)}catch(Q){this.onError(Q)}}var ko=!1,ul=null,cl=!1,Nc=null,TE={onError:function(i){ko=!0,ul=i}};function CE(i,s,u,h,m,y,k,N,I){ko=!1,ul=null,EE.apply(TE,arguments)}function _E(i,s,u,h,m,y,k,N,I){if(CE.apply(this,arguments),ko){if(ko){var $=ul;ko=!1,ul=null}else throw Error(n(198));cl||(cl=!0,Nc=$)}}function Ei(i){var s=i,u=i;if(i.alternate)for(;s.return;)s=s.return;else{i=s;do s=i,(s.flags&4098)!==0&&(u=s.return),i=s.return;while(i)}return s.tag===3?u:null}function Bm(i){if(i.tag===13){var s=i.memoizedState;if(s===null&&(i=i.alternate,i!==null&&(s=i.memoizedState)),s!==null)return s.dehydrated}return null}function zm(i){if(Ei(i)!==i)throw Error(n(188))}function PE(i){var s=i.alternate;if(!s){if(s=Ei(i),s===null)throw Error(n(188));return s!==i?null:i}for(var u=i,h=s;;){var m=u.return;if(m===null)break;var y=m.alternate;if(y===null){if(h=m.return,h!==null){u=h;continue}break}if(m.child===y.child){for(y=m.child;y;){if(y===u)return zm(m),i;if(y===h)return zm(m),s;y=y.sibling}throw Error(n(188))}if(u.return!==h.return)u=m,h=y;else{for(var k=!1,N=m.child;N;){if(N===u){k=!0,u=m,h=y;break}if(N===h){k=!0,h=m,u=y;break}N=N.sibling}if(!k){for(N=y.child;N;){if(N===u){k=!0,u=y,h=m;break}if(N===h){k=!0,h=y,u=m;break}N=N.sibling}if(!k)throw Error(n(189))}}if(u.alternate!==h)throw Error(n(190))}if(u.tag!==3)throw Error(n(188));return u.stateNode.current===u?i:s}function Vm(i){return i=PE(i),i!==null?Um(i):null}function Um(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var s=Um(i);if(s!==null)return s;i=i.sibling}return null}var $m=t.unstable_scheduleCallback,Hm=t.unstable_cancelCallback,AE=t.unstable_shouldYield,NE=t.unstable_requestPaint,ct=t.unstable_now,RE=t.unstable_getCurrentPriorityLevel,Rc=t.unstable_ImmediatePriority,qm=t.unstable_UserBlockingPriority,dl=t.unstable_NormalPriority,jE=t.unstable_LowPriority,Wm=t.unstable_IdlePriority,hl=null,Jn=null;function IE(i){if(Jn&&typeof Jn.onCommitFiberRoot=="function")try{Jn.onCommitFiberRoot(hl,i,void 0,(i.current.flags&128)===128)}catch{}}var Bn=Math.clz32?Math.clz32:LE,OE=Math.log,DE=Math.LN2;function LE(i){return i>>>=0,i===0?32:31-(OE(i)/DE|0)|0}var fl=64,pl=4194304;function So(i){switch(i&-i){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 i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function ml(i,s){var u=i.pendingLanes;if(u===0)return 0;var h=0,m=i.suspendedLanes,y=i.pingedLanes,k=u&268435455;if(k!==0){var N=k&~m;N!==0?h=So(N):(y&=k,y!==0&&(h=So(y)))}else k=u&~m,k!==0?h=So(k):y!==0&&(h=So(y));if(h===0)return 0;if(s!==0&&s!==h&&(s&m)===0&&(m=h&-h,y=s&-s,m>=y||m===16&&(y&4194240)!==0))return s;if((h&4)!==0&&(h|=u&16),s=i.entangledLanes,s!==0)for(i=i.entanglements,s&=h;0<s;)u=31-Bn(s),m=1<<u,h|=i[u],s&=~m;return h}function ME(i,s){switch(i){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 FE(i,s){for(var u=i.suspendedLanes,h=i.pingedLanes,m=i.expirationTimes,y=i.pendingLanes;0<y;){var k=31-Bn(y),N=1<<k,I=m[k];I===-1?((N&u)===0||(N&h)!==0)&&(m[k]=ME(N,s)):I<=s&&(i.expiredLanes|=N),y&=~N}}function jc(i){return i=i.pendingLanes&-1073741825,i!==0?i:i&1073741824?1073741824:0}function Km(){var i=fl;return fl<<=1,(fl&4194240)===0&&(fl=64),i}function Ic(i){for(var s=[],u=0;31>u;u++)s.push(i);return s}function Eo(i,s,u){i.pendingLanes|=s,s!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,s=31-Bn(s),i[s]=u}function BE(i,s){var u=i.pendingLanes&~s;i.pendingLanes=s,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=s,i.mutableReadLanes&=s,i.entangledLanes&=s,s=i.entanglements;var h=i.eventTimes;for(i=i.expirationTimes;0<u;){var m=31-Bn(u),y=1<<m;s[m]=0,h[m]=-1,i[m]=-1,u&=~y}}function Oc(i,s){var u=i.entangledLanes|=s;for(i=i.entanglements;u;){var h=31-Bn(u),m=1<<h;m&s|i[h]&s&&(i[h]|=s),u&=~m}}var Ke=0;function Qm(i){return i&=-i,1<i?4<i?(i&268435455)!==0?16:536870912:4:1}var Gm,Dc,Ym,Xm,Jm,Lc=!1,gl=[],Ir=null,Or=null,Dr=null,To=new Map,Co=new Map,Lr=[],zE="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 Zm(i,s){switch(i){case"focusin":case"focusout":Ir=null;break;case"dragenter":case"dragleave":Or=null;break;case"mouseover":case"mouseout":Dr=null;break;case"pointerover":case"pointerout":To.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Co.delete(s.pointerId)}}function _o(i,s,u,h,m,y){return i===null||i.nativeEvent!==y?(i={blockedOn:s,domEventName:u,eventSystemFlags:h,nativeEvent:y,targetContainers:[m]},s!==null&&(s=Vo(s),s!==null&&Dc(s)),i):(i.eventSystemFlags|=h,s=i.targetContainers,m!==null&&s.indexOf(m)===-1&&s.push(m),i)}function VE(i,s,u,h,m){switch(s){case"focusin":return Ir=_o(Ir,i,s,u,h,m),!0;case"dragenter":return Or=_o(Or,i,s,u,h,m),!0;case"mouseover":return Dr=_o(Dr,i,s,u,h,m),!0;case"pointerover":var y=m.pointerId;return To.set(y,_o(To.get(y)||null,i,s,u,h,m)),!0;case"gotpointercapture":return y=m.pointerId,Co.set(y,_o(Co.get(y)||null,i,s,u,h,m)),!0}return!1}function eg(i){var s=Ti(i.target);if(s!==null){var u=Ei(s);if(u!==null){if(s=u.tag,s===13){if(s=Bm(u),s!==null){i.blockedOn=s,Jm(i.priority,function(){Ym(u)});return}}else if(s===3&&u.stateNode.current.memoizedState.isDehydrated){i.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}i.blockedOn=null}function yl(i){if(i.blockedOn!==null)return!1;for(var s=i.targetContainers;0<s.length;){var u=Fc(i.domEventName,i.eventSystemFlags,s[0],i.nativeEvent);if(u===null){u=i.nativeEvent;var h=new u.constructor(u.type,u);pn=h,u.target.dispatchEvent(h),pn=null}else return s=Vo(u),s!==null&&Dc(s),i.blockedOn=u,!1;s.shift()}return!0}function tg(i,s,u){yl(i)&&u.delete(s)}function UE(){Lc=!1,Ir!==null&&yl(Ir)&&(Ir=null),Or!==null&&yl(Or)&&(Or=null),Dr!==null&&yl(Dr)&&(Dr=null),To.forEach(tg),Co.forEach(tg)}function Po(i,s){i.blockedOn===s&&(i.blockedOn=null,Lc||(Lc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,UE)))}function Ao(i){function s(m){return Po(m,i)}if(0<gl.length){Po(gl[0],i);for(var u=1;u<gl.length;u++){var h=gl[u];h.blockedOn===i&&(h.blockedOn=null)}}for(Ir!==null&&Po(Ir,i),Or!==null&&Po(Or,i),Dr!==null&&Po(Dr,i),To.forEach(s),Co.forEach(s),u=0;u<Lr.length;u++)h=Lr[u],h.blockedOn===i&&(h.blockedOn=null);for(;0<Lr.length&&(u=Lr[0],u.blockedOn===null);)eg(u),u.blockedOn===null&&Lr.shift()}var gs=R.ReactCurrentBatchConfig,vl=!0;function $E(i,s,u,h){var m=Ke,y=gs.transition;gs.transition=null;try{Ke=1,Mc(i,s,u,h)}finally{Ke=m,gs.transition=y}}function HE(i,s,u,h){var m=Ke,y=gs.transition;gs.transition=null;try{Ke=4,Mc(i,s,u,h)}finally{Ke=m,gs.transition=y}}function Mc(i,s,u,h){if(vl){var m=Fc(i,s,u,h);if(m===null)td(i,s,h,xl,u),Zm(i,h);else if(VE(m,i,s,u,h))h.stopPropagation();else if(Zm(i,h),s&4&&-1<zE.indexOf(i)){for(;m!==null;){var y=Vo(m);if(y!==null&&Gm(y),y=Fc(i,s,u,h),y===null&&td(i,s,h,xl,u),y===m)break;m=y}m!==null&&h.stopPropagation()}else td(i,s,h,null,u)}}var xl=null;function Fc(i,s,u,h){if(xl=null,i=Cc(h),i=Ti(i),i!==null)if(s=Ei(i),s===null)i=null;else if(u=s.tag,u===13){if(i=Bm(s),i!==null)return i;i=null}else if(u===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;i=null}else s!==i&&(i=null);return xl=i,null}function ng(i){switch(i){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(RE()){case Rc:return 1;case qm:return 4;case dl:case jE:return 16;case Wm:return 536870912;default:return 16}default:return 16}}var Mr=null,Bc=null,wl=null;function rg(){if(wl)return wl;var i,s=Bc,u=s.length,h,m="value"in Mr?Mr.value:Mr.textContent,y=m.length;for(i=0;i<u&&s[i]===m[i];i++);var k=u-i;for(h=1;h<=k&&s[u-h]===m[y-h];h++);return wl=m.slice(i,1<h?1-h:void 0)}function bl(i){var s=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&s===13&&(i=13)):i=s,i===10&&(i=13),32<=i||i===13?i:0}function kl(){return!0}function ig(){return!1}function mn(i){function s(u,h,m,y,k){this._reactName=u,this._targetInst=m,this.type=h,this.nativeEvent=y,this.target=k,this.currentTarget=null;for(var N in i)i.hasOwnProperty(N)&&(u=i[N],this[N]=u?u(y):y[N]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?kl:ig,this.isPropagationStopped=ig,this}return E(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=kl)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=kl)},persist:function(){},isPersistent:kl}),s}var ys={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zc=mn(ys),No=E({},ys,{view:0,detail:0}),qE=mn(No),Vc,Uc,Ro,Sl=E({},No,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Hc,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Ro&&(Ro&&i.type==="mousemove"?(Vc=i.screenX-Ro.screenX,Uc=i.screenY-Ro.screenY):Uc=Vc=0,Ro=i),Vc)},movementY:function(i){return"movementY"in i?i.movementY:Uc}}),sg=mn(Sl),WE=E({},Sl,{dataTransfer:0}),KE=mn(WE),QE=E({},No,{relatedTarget:0}),$c=mn(QE),GE=E({},ys,{animationName:0,elapsedTime:0,pseudoElement:0}),YE=mn(GE),XE=E({},ys,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),JE=mn(XE),ZE=E({},ys,{data:0}),og=mn(ZE),eT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tT={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"},nT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rT(i){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(i):(i=nT[i])?!!s[i]:!1}function Hc(){return rT}var iT=E({},No,{key:function(i){if(i.key){var s=eT[i.key]||i.key;if(s!=="Unidentified")return s}return i.type==="keypress"?(i=bl(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?tT[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Hc,charCode:function(i){return i.type==="keypress"?bl(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?bl(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),sT=mn(iT),oT=E({},Sl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ag=mn(oT),aT=E({},No,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Hc}),lT=mn(aT),uT=E({},ys,{propertyName:0,elapsedTime:0,pseudoElement:0}),cT=mn(uT),dT=E({},Sl,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),hT=mn(dT),fT=[9,13,27,32],qc=c&&"CompositionEvent"in window,jo=null;c&&"documentMode"in document&&(jo=document.documentMode);var pT=c&&"TextEvent"in window&&!jo,lg=c&&(!qc||jo&&8<jo&&11>=jo),ug=" ",cg=!1;function dg(i,s){switch(i){case"keyup":return fT.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hg(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var vs=!1;function mT(i,s){switch(i){case"compositionend":return hg(s);case"keypress":return s.which!==32?null:(cg=!0,ug);case"textInput":return i=s.data,i===ug&&cg?null:i;default:return null}}function gT(i,s){if(vs)return i==="compositionend"||!qc&&dg(i,s)?(i=rg(),wl=Bc=Mr=null,vs=!1,i):null;switch(i){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 lg&&s.locale!=="ko"?null:s.data;default:return null}}var yT={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 fg(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s==="input"?!!yT[i.type]:s==="textarea"}function pg(i,s,u,h){Om(h),s=Pl(s,"onChange"),0<s.length&&(u=new zc("onChange","change",null,u,h),i.push({event:u,listeners:s}))}var Io=null,Oo=null;function vT(i){jg(i,0)}function El(i){var s=Ss(i);if(xt(s))return i}function xT(i,s){if(i==="change")return s}var mg=!1;if(c){var Wc;if(c){var Kc="oninput"in document;if(!Kc){var gg=document.createElement("div");gg.setAttribute("oninput","return;"),Kc=typeof gg.oninput=="function"}Wc=Kc}else Wc=!1;mg=Wc&&(!document.documentMode||9<document.documentMode)}function yg(){Io&&(Io.detachEvent("onpropertychange",vg),Oo=Io=null)}function vg(i){if(i.propertyName==="value"&&El(Oo)){var s=[];pg(s,Oo,i,Cc(i)),Fm(vT,s)}}function wT(i,s,u){i==="focusin"?(yg(),Io=s,Oo=u,Io.attachEvent("onpropertychange",vg)):i==="focusout"&&yg()}function bT(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return El(Oo)}function kT(i,s){if(i==="click")return El(s)}function ST(i,s){if(i==="input"||i==="change")return El(s)}function ET(i,s){return i===s&&(i!==0||1/i===1/s)||i!==i&&s!==s}var zn=typeof Object.is=="function"?Object.is:ET;function Do(i,s){if(zn(i,s))return!0;if(typeof i!="object"||i===null||typeof s!="object"||s===null)return!1;var u=Object.keys(i),h=Object.keys(s);if(u.length!==h.length)return!1;for(h=0;h<u.length;h++){var m=u[h];if(!d.call(s,m)||!zn(i[m],s[m]))return!1}return!0}function xg(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function wg(i,s){var u=xg(i);i=0;for(var h;u;){if(u.nodeType===3){if(h=i+u.textContent.length,i<=s&&h>=s)return{node:u,offset:s-i};i=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=xg(u)}}function bg(i,s){return i&&s?i===s?!0:i&&i.nodeType===3?!1:s&&s.nodeType===3?bg(i,s.parentNode):"contains"in i?i.contains(s):i.compareDocumentPosition?!!(i.compareDocumentPosition(s)&16):!1:!1}function kg(){for(var i=window,s=hn();s instanceof i.HTMLIFrameElement;){try{var u=typeof s.contentWindow.location.href=="string"}catch{u=!1}if(u)i=s.contentWindow;else break;s=hn(i.document)}return s}function Qc(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s&&(s==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||s==="textarea"||i.contentEditable==="true")}function TT(i){var s=kg(),u=i.focusedElem,h=i.selectionRange;if(s!==u&&u&&u.ownerDocument&&bg(u.ownerDocument.documentElement,u)){if(h!==null&&Qc(u)){if(s=h.start,i=h.end,i===void 0&&(i=s),"selectionStart"in u)u.selectionStart=s,u.selectionEnd=Math.min(i,u.value.length);else if(i=(s=u.ownerDocument||document)&&s.defaultView||window,i.getSelection){i=i.getSelection();var m=u.textContent.length,y=Math.min(h.start,m);h=h.end===void 0?y:Math.min(h.end,m),!i.extend&&y>h&&(m=h,h=y,y=m),m=wg(u,y);var k=wg(u,h);m&&k&&(i.rangeCount!==1||i.anchorNode!==m.node||i.anchorOffset!==m.offset||i.focusNode!==k.node||i.focusOffset!==k.offset)&&(s=s.createRange(),s.setStart(m.node,m.offset),i.removeAllRanges(),y>h?(i.addRange(s),i.extend(k.node,k.offset)):(s.setEnd(k.node,k.offset),i.addRange(s)))}}for(s=[],i=u;i=i.parentNode;)i.nodeType===1&&s.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<s.length;u++)i=s[u],i.element.scrollLeft=i.left,i.element.scrollTop=i.top}}var CT=c&&"documentMode"in document&&11>=document.documentMode,xs=null,Gc=null,Lo=null,Yc=!1;function Sg(i,s,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Yc||xs==null||xs!==hn(h)||(h=xs,"selectionStart"in h&&Qc(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Lo&&Do(Lo,h)||(Lo=h,h=Pl(Gc,"onSelect"),0<h.length&&(s=new zc("onSelect","select",null,s,u),i.push({event:s,listeners:h}),s.target=xs)))}function Tl(i,s){var u={};return u[i.toLowerCase()]=s.toLowerCase(),u["Webkit"+i]="webkit"+s,u["Moz"+i]="moz"+s,u}var ws={animationend:Tl("Animation","AnimationEnd"),animationiteration:Tl("Animation","AnimationIteration"),animationstart:Tl("Animation","AnimationStart"),transitionend:Tl("Transition","TransitionEnd")},Xc={},Eg={};c&&(Eg=document.createElement("div").style,"AnimationEvent"in window||(delete ws.animationend.animation,delete ws.animationiteration.animation,delete ws.animationstart.animation),"TransitionEvent"in window||delete ws.transitionend.transition);function Cl(i){if(Xc[i])return Xc[i];if(!ws[i])return i;var s=ws[i],u;for(u in s)if(s.hasOwnProperty(u)&&u in Eg)return Xc[i]=s[u];return i}var Tg=Cl("animationend"),Cg=Cl("animationiteration"),_g=Cl("animationstart"),Pg=Cl("transitionend"),Ag=new Map,Ng="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 Fr(i,s){Ag.set(i,s),a(s,[i])}for(var Jc=0;Jc<Ng.length;Jc++){var Zc=Ng[Jc],_T=Zc.toLowerCase(),PT=Zc[0].toUpperCase()+Zc.slice(1);Fr(_T,"on"+PT)}Fr(Tg,"onAnimationEnd"),Fr(Cg,"onAnimationIteration"),Fr(_g,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(Pg,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focu
37sin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mo="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(" "),AT=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mo));function Rg(i,s,u){var h=i.type||"unknown-event";i.currentTarget=u,_E(h,s,void 0,i),i.currentTarget=null}function jg(i,s){s=(s&4)!==0;for(var u=0;u<i.length;u++){var h=i[u],m=h.event;h=h.listeners;e:{var y=void 0;if(s)for(var k=h.length-1;0<=k;k--){var N=h[k],I=N.instance,$=N.currentTarget;if(N=N.listener,I!==y&&m.isPropagationStopped())break e;Rg(m,N,$),y=I}else for(k=0;k<h.length;k++){if(N=h[k],I=N.instance,$=N.currentTarget,N=N.listener,I!==y&&m.isPropagationStopped())break e;Rg(m,N,$),y=I}}}if(cl)throw i=Nc,cl=!1,Nc=null,i}function Ze(i,s){var u=s[ad];u===void 0&&(u=s[ad]=new Set);var h=i+"__bubble";u.has(h)||(Ig(s,i,2,!1),u.add(h))}function ed(i,s,u){var h=0;s&&(h|=4),Ig(u,i,h,s)}var _l="_reactListening"+Math.random().toString(36).slice(2);function Fo(i){if(!i[_l]){i[_l]=!0,r.forEach(function(u){u!=="selectionchange"&&(AT.has(u)||ed(u,!1,i),ed(u,!0,i))});var s=i.nodeType===9?i:i.ownerDocument;s===null||s[_l]||(s[_l]=!0,ed("selectionchange",!1,s))}}function Ig(i,s,u,h){switch(ng(s)){case 1:var m=$E;break;case 4:m=HE;break;default:m=Mc}u=m.bind(null,s,u,i),m=void 0,!Ac||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(m=!0),h?m!==void 0?i.addEventListener(s,u,{capture:!0,passive:m}):i.addEventListener(s,u,!0):m!==void 0?i.addEventListener(s,u,{passive:m}):i.addEventListener(s,u,!1)}function td(i,s,u,h,m){var y=h;if((s&1)===0&&(s&2)===0&&h!==null)e:for(;;){if(h===null)return;var k=h.tag;if(k===3||k===4){var N=h.stateNode.containerInfo;if(N===m||N.nodeType===8&&N.parentNode===m)break;if(k===4)for(k=h.return;k!==null;){var I=k.tag;if((I===3||I===4)&&(I=k.stateNode.containerInfo,I===m||I.nodeType===8&&I.parentNode===m))return;k=k.return}for(;N!==null;){if(k=Ti(N),k===null)return;if(I=k.tag,I===5||I===6){h=y=k;continue e}N=N.parentNode}}h=h.return}Fm(function(){var $=y,Q=Cc(u),J=[];e:{var K=Ag.get(i);if(K!==void 0){var ce=zc,pe=i;switch(i){case"keypress":if(bl(u)===0)break e;case"keydown":case"keyup":ce=sT;break;case"focusin":pe="focus",ce=$c;break;case"focusout":pe="blur",ce=$c;break;case"beforeblur":case"afterblur":ce=$c;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=sg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=KE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=lT;break;case Tg:case Cg:case _g:ce=YE;break;case Pg:ce=cT;break;case"scroll":ce=qE;break;case"wheel":ce=hT;break;case"copy":case"cut":case"paste":ce=JE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=ag}var ve=(s&4)!==0,dt=!ve&&i==="scroll",V=ve?K!==null?K+"Capture":null:K;ve=[];for(var M=$,U;M!==null;){U=M;var ne=U.stateNode;if(U.tag===5&&ne!==null&&(U=ne,V!==null&&(ne=wo(M,V),ne!=null&&ve.push(Bo(M,ne,U)))),dt)break;M=M.return}0<ve.length&&(K=new ce(K,pe,null,u,Q),J.push({event:K,listeners:ve}))}}if((s&7)===0){e:{if(K=i==="mouseover"||i==="pointerover",ce=i==="mouseout"||i==="pointerout",K&&u!==pn&&(pe=u.relatedTarget||u.fromElement)&&(Ti(pe)||pe[mr]))break e;if((ce||K)&&(K=Q.window===Q?Q:(K=Q.ownerDocument)?K.defaultView||K.parentWindow:window,ce?(pe=u.relatedTarget||u.toElement,ce=$,pe=pe?Ti(pe):null,pe!==null&&(dt=Ei(pe),pe!==dt||pe.tag!==5&&pe.tag!==6)&&(pe=null)):(ce=null,pe=$),ce!==pe)){if(ve=sg,ne="onMouseLeave",V="onMouseEnter",M="mouse",(i==="pointerout"||i==="pointerover")&&(ve=ag,ne="onPointerLeave",V="onPointerEnter",M="pointer"),dt=ce==null?K:Ss(ce),U=pe==null?K:Ss(pe),K=new ve(ne,M+"leave",ce,u,Q),K.target=dt,K.relatedTarget=U,ne=null,Ti(Q
vendor: 8,765 bytes, lines 37-38
37)===$&&(ve=new ve(V,M+"enter",pe,u,Q),ve.target=U,ve.relatedTarget=dt,ne=ve),dt=ne,ce&&pe)t:{for(ve=ce,V=pe,M=0,U=ve;U;U=bs(U))M++;for(U=0,ne=V;ne;ne=bs(ne))U++;for(;0<M-U;)ve=bs(ve),M--;for(;0<U-M;)V=bs(V),U--;for(;M--;){if(ve===V||V!==null&&ve===V.alternate)break t;ve=bs(ve),V=bs(V)}ve=null}else ve=null;ce!==null&&Og(J,K,ce,ve,!1),pe!==null&&dt!==null&&Og(J,dt,pe,ve,!0)}}e:{if(K=$?Ss($):window,ce=K.nodeName&&K.nodeName.toLowerCase(),ce==="select"||ce==="input"&&K.type==="file")var xe=xT;else if(fg(K))if(mg)xe=ST;else{xe=bT;var Se=wT}else(ce=K.nodeName)&&ce.toLowerCase()==="input"&&(K.type==="checkbox"||K.type==="radio")&&(xe=kT);if(xe&&(xe=xe(i,$))){pg(J,xe,u,Q);break e}Se&&Se(i,K,$),i==="focusout"&&(Se=K._wrapperState)&&Se.controlled&&K.type==="number"&&Xt(K,"number",K.value)}switch(Se=$?Ss($):window,i){case"focusin":(fg(Se)||Se.contentEditable==="true")&&(xs=Se,Gc=$,Lo=null);break;case"focusout":Lo=Gc=xs=null;break;case"mousedown":Yc=!0;break;case"contextmenu":case"mouseup":case"dragend":Yc=!1,Sg(J,u,Q);break;case"selectionchange":if(CT)break;case"keydown":case"keyup":Sg(J,u,Q)}var Ee;if(qc)e:{switch(i){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else vs?dg(i,u)&&(Re="onCompositionEnd"):i==="keydown"&&u.keyCode===229&&(Re="onCompositionStart");Re&&(lg&&u.locale!=="ko"&&(vs||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&vs&&(Ee=rg()):(Mr=Q,Bc="value"in Mr?Mr.value:Mr.textContent,vs=!0)),Se=Pl($,Re),0<Se.length&&(Re=new og(Re,i,null,u,Q),J.push({event:Re,listeners:Se}),Ee?Re.data=Ee:(Ee=hg(u),Ee!==null&&(Re.data=Ee)))),(Ee=pT?mT(i,u):gT(i,u))&&($=Pl($,"onBeforeInput"),0<$.length&&(Q=new og("onBeforeInput","beforeinput",null,u,Q),J.push({event:Q,listeners:$}),Q.data=Ee))}jg(J,s)})}function Bo(i,s,u){return{instance:i,listener:s,currentTarget:u}}function Pl(i,s){for(var u=s+"Capture",h=[];i!==null;){var m=i,y=m.stateNode;m.tag===5&&y!==null&&(m=y,y=wo(i,u),y!=null&&h.unshift(Bo(i,y,m)),y=wo(i,s),y!=null&&h.push(Bo(i,y,m))),i=i.return}return h}function bs(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function Og(i,s,u,h,m){for(var y=s._reactName,k=[];u!==null&&u!==h;){var N=u,I=N.alternate,$=N.stateNode;if(I!==null&&I===h)break;N.tag===5&&$!==null&&(N=$,m?(I=wo(u,y),I!=null&&k.unshift(Bo(u,I,N))):m||(I=wo(u,y),I!=null&&k.push(Bo(u,I,N)))),u=u.return}k.length!==0&&i.push({event:s,listeners:k})}var NT=/\r\n?/g,RT=/\u0000|\uFFFD/g;function Dg(i){return(typeof i=="string"?i:""+i).replace(NT,`
38`).replace(RT,"")}function Al(i,s,u){if(s=Dg(s),Dg(i)!==s&&u)throw Error(n(425))}function Nl(){}var nd=null,rd=null;function id(i,s){return i==="textarea"||i==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var sd=typeof setTimeout=="function"?setTimeout:void 0,jT=typeof clearTimeout=="function"?clearTimeout:void 0,Lg=typeof Promise=="function"?Promise:void 0,IT=typeof queueMicrotask=="function"?queueMicrotask:typeof Lg<"u"?function(i){return Lg.resolve(null).then(i).catch(OT)}:sd;function OT(i){setTimeout(function(){throw i})}function od(i,s){var u=s,h=0;do{var m=u.nextSibling;if(i.removeChild(u),m&&m.nodeType===8)if(u=m.data,u==="/$"){if(h===0){i.removeChild(m),Ao(s);return}h--}else u!=="$"&&u!=="$?"&&u!=="$!"||h++;u=m}while(u);Ao(s)}function Br(i){for(;i!=null;i=i.nextSibling){var s=i.nodeType;if(s===1||s===3)break;if(s===8){if(s=i.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return i}function Mg(i){i=i.previousSibling;for(var s=0;i;){if(i.nodeType===8){var u=i.data;if(u==="$"||u==="$!"||u==="$?"){if(s===0)return i;s--}else u==="/$"&&s++}i=i.previousSibling}return null}var ks=Math.random().toString(36).slice(2),Zn="__reactFiber$"+ks,zo="__reactProps$"+ks,mr="__reactContainer$"+ks,ad="__reactEvents$"+ks,DT="__reactListeners$"+ks,LT="__reactHandles$"+ks;function Ti(i){var s=i[Zn];if(s)return s;for(var u=i.parentNode;u;){if(s=u[mr]||u[Zn]){if(u=s.alternate,s.child!==null||u!==null&&u.child!==null)for(i=Mg(i);i!==null;){if(u=i[Zn])return u;i=Mg(i)}return s}i=u,u=i.parentNode}return null}function Vo(i){return i=i[Zn]||i[mr],!i||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function Ss(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(n(33))}function Rl(i){return i[zo]||null}var ld=[],Es=-1;function zr(i){return{current:i}}function et(i){0>Es||(i.current=ld[Es],ld[Es]=null,Es--)}function Ge(i,s){Es++,ld[Es]=i.current,i.current=s}var Vr={},Lt=zr(Vr),Jt=zr(!1),Ci=Vr;function Ts(i,s){var u=i.type.contextTypes;if(!u)return Vr;var h=i.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===s)return h.__reactInternalMemoizedMaskedChildContext;var m={},y;for(y in u)m[y]=s[y];return h&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=s,i.__reactInternalMemoizedMaskedChildContext=m),m}function Zt(i){return i=i.childContextTypes,i!=null}function jl(){et(Jt),et(Lt)}function Fg(i,s,u){if(Lt.current!==Vr)throw Error(n(168));Ge(Lt,s),Ge(Jt,u)}function Bg(i,s,u){var h=i.stateNode;if(s=s.childContextTypes,typeof h.getChildContext!="function")return u;h=h.getChildContext();for(var m in h)if(!(m in s))throw Error(n(108,Ce(i)||"Unknown",m));return E({},u,h)}function Il(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Vr,Ci=Lt.current,Ge(Lt,i),Ge(Jt,Jt.current),!0}function zg(i,s,u){var h=i.stateNode;if(!h)throw Error(n(169));u?(i=Bg(i,s,Ci),h.__reactInternalMemoizedMergedChildContext=i,et(Jt),et(Lt),Ge(Lt,i)):et(Jt),Ge(Jt,u)}var gr=null,Ol=!1,ud=!1;function Vg(i){gr===null?gr=[i]:gr.push(i)}function MT(i){Ol=!0,Vg(i)}function Ur(){if(!ud&&gr!==null){ud=!0;var i=0,s=Ke;try{var u=gr;for(Ke=1;i<u.length;i++){var h=u[i];do h=h(!0);while(h!==null)}gr=null,Ol=!1}catch(m){throw gr!==null&&(gr=gr.slice(i+1)),$m(Rc,Ur),m}finally{Ke=s,ud=!1}}return null}var Cs=[],_s=0,Dl=null,Ll=0,En=[],Tn=0,_i=null,yr=1,vr="";function Pi(i,s){Cs[_s++]=Ll,Cs[_s++]=Dl,Dl=i,Ll=s}function Ug(i,s,u){En[Tn++]=yr,En[Tn++]=vr,En[Tn++]=_i,_i=i;var h=yr;i=vr;var m=32-Bn(h)-1;h&=~(1<<m),u+=1;var y=32-Bn(s)+m;if(30<y){var k=m-m%5;y=(h&(1<<k)-1).toString(32),h>>=k,m-=k,yr=1<<32-Bn(s)+m|u<<m|h,vr=y+i}else yr=1<<y|u<<m|h,vr=i}function cd(i){i.return!==null&&(Pi(i,1),Ug(i,1,0))}function dd(i){for(;i===Dl;)Dl=Cs[--_s],Cs[_s]=null,Ll=Cs[--_s],Cs[_s]=null;for(;i===_i;)_i=En[--Tn],En[Tn]=null,vr=En[--Tn],En[Tn]=null,yr=En[--Tn],En[Tn]=null}var gn=null,yn=null,nt=!1,Vn=null;function $g(i,s){var u=An(5,null,null,0);u.elementType="DELETED",u.stateNode=s,u.return=i,s=i.deletions,s===null?(i.deletions=[u],i.flags|=16):s.push(u)}function Hg(i,s){switch(i.tag){case 5:var u=i.type;return s=s.nodeType!==1||u.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(i.stateNode=s,gn=i,yn=Br(s.firstChild),!0):!1;case 6:return s=i.pendingProps===""||s.nodeType!==3?null:s,s!==null?(i.stateNode=s,gn=i,yn=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(u=_i!==null?{id:yr,overflow:vr}:null,i.memoizedState={dehydrated:s,treeContext:u,retryLane:1073741824},u=An(18,null,null,0),u.stateNode=s,u.return=i,i.child=u,gn=i,yn=null,!0):!1;default:return!1}}function hd(i){return(i.mode&1)!==0&&(i.flags&128)===0}function fd(i){if(nt){var s=yn;if(s){var u=s;if(!Hg(i,s)){if(hd(i))throw Error(n(418));s=Br(u.nextSibling);var h=gn;s&&Hg(i,s)?$g(h,u):(i.flags=i.flags&-4097|2,nt=!1,gn=i)}}else{if(hd(i))throw Error(n(418));i.flags=i.flags&-4097|2,nt=!1,gn=i}}}function qg(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;gn=i}function Ml(i){if(i!==gn)return!1;if(!nt)return qg(i),nt=!0,!1;var s;if((s=i.tag!==3)&&!(s=i.tag!==5)&&(s=i.type,s=s!=="head"&&s!=="body"&&!id(i.type,i.memoizedProps)),s&&(s=yn)){if(hd(i))throw Wg(),Error(n(418));for(;s;)$g(i,s),s=Br(s.nextSibling)}if(qg(i),i.tag===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(n(317));e:{for(i=i.nextSibling,s=0;i;){if(i.nodeType===8){var u=i.data;if(u==="/$"){if(s===0){yn=Br(i.nextSibling);break e}s--}else u!=="$"&&u!=="$!"&&u!=="$?"||s++}i=i.nextSibling}yn=null}}else yn=gn?Br(i.stateNode.nextSibling):null;return!0}function Wg(){for(var i=yn;i;)i=Br(i.nextSibling)}function Ps(){yn=gn=null,nt=!1}function pd(i){Vn===null?Vn=[i]:Vn.push(i)}var FT=R.ReactCurrentBatchConfig;function Uo(i,s,u){if(i=u.ref,i!==null&&typeof i!="function"&&typeof i!="object"){if(u._owner){if(u=u._owner,u){if(u.tag!==1)throw Error(n(309));var h=u.stateNode}if(!h)throw Error(n(147,i));var m=h,y=""+i;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===y?s.ref:(s=function(k){var N=m.refs;k===null?delete N[y]:N[y]=k},s._stringRef=y,s)}
vendor: 13,399 bytes, line 38
38if(typeof i!="string")throw Error(n(284));if(!u._owner)throw Error(n(290,i))}return i}function Fl(i,s){throw i=Object.prototype.toString.call(s),Error(n(31,i==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":i))}function Kg(i){var s=i._init;return s(i._payload)}function Qg(i){function s(V,M){if(i){var U=V.deletions;U===null?(V.deletions=[M],V.flags|=16):U.push(M)}}function u(V,M){if(!i)return null;for(;M!==null;)s(V,M),M=M.sibling;return null}function h(V,M){for(V=new Map;M!==null;)M.key!==null?V.set(M.key,M):V.set(M.index,M),M=M.sibling;return V}function m(V,M){return V=Yr(V,M),V.index=0,V.sibling=null,V}function y(V,M,U){return V.index=U,i?(U=V.alternate,U!==null?(U=U.index,U<M?(V.flags|=2,M):U):(V.flags|=2,M)):(V.flags|=1048576,M)}function k(V){return i&&V.alternate===null&&(V.flags|=2),V}function N(V,M,U,ne){return M===null||M.tag!==6?(M=sh(U,V.mode,ne),M.return=V,M):(M=m(M,U),M.return=V,M)}function I(V,M,U,ne){var xe=U.type;return xe===W?Q(V,M,U.props.children,ne,U.key):M!==null&&(M.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===ye&&Kg(xe)===M.type)?(ne=m(M,U.props),ne.ref=Uo(V,M,U),ne.return=V,ne):(ne=lu(U.type,U.key,U.props,null,V.mode,ne),ne.ref=Uo(V,M,U),ne.return=V,ne)}function $(V,M,U,ne){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=oh(U,V.mode,ne),M.return=V,M):(M=m(M,U.children||[]),M.return=V,M)}function Q(V,M,U,ne,xe){return M===null||M.tag!==7?(M=Li(U,V.mode,ne,xe),M.return=V,M):(M=m(M,U),M.return=V,M)}function J(V,M,U){if(typeof M=="string"&&M!==""||typeof M=="number")return M=sh(""+M,V.mode,U),M.return=V,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case B:return U=lu(M.type,M.key,M.props,null,V.mode,U),U.ref=Uo(V,null,M),U.return=V,U;case j:return M=oh(M,V.mode,U),M.return=V,M;case ye:var ne=M._init;return J(V,ne(M._payload),U)}if(Mn(M)||ue(M))return M=Li(M,V.mode,U,null),M.return=V,M;Fl(V,M)}return null}function K(V,M,U,ne){var xe=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return xe!==null?null:N(V,M,""+U,ne);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case B:return U.key===xe?I(V,M,U,ne):null;case j:return U.key===xe?$(V,M,U,ne):null;case ye:return xe=U._init,K(V,M,xe(U._payload),ne)}if(Mn(U)||ue(U))return xe!==null?null:Q(V,M,U,ne,null);Fl(V,U)}return null}function ce(V,M,U,ne,xe){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return V=V.get(U)||null,N(M,V,""+ne,xe);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case B:return V=V.get(ne.key===null?U:ne.key)||null,I(M,V,ne,xe);case j:return V=V.get(ne.key===null?U:ne.key)||null,$(M,V,ne,xe);case ye:var Se=ne._init;return ce(V,M,U,Se(ne._payload),xe)}if(Mn(ne)||ue(ne))return V=V.get(U)||null,Q(M,V,ne,xe,null);Fl(M,ne)}return null}function pe(V,M,U,ne){for(var xe=null,Se=null,Ee=M,Re=M=0,Tt=null;Ee!==null&&Re<U.length;Re++){Ee.index>Re?(Tt=Ee,Ee=null):Tt=Ee.sibling;var $e=K(V,Ee,U[Re],ne);if($e===null){Ee===null&&(Ee=Tt);break}i&&Ee&&$e.alternate===null&&s(V,Ee),M=y($e,M,Re),Se===null?xe=$e:Se.sibling=$e,Se=$e,Ee=Tt}if(Re===U.length)return u(V,Ee),nt&&Pi(V,Re),xe;if(Ee===null){for(;Re<U.length;Re++)Ee=J(V,U[Re],ne),Ee!==null&&(M=y(Ee,M,Re),Se===null?xe=Ee:Se.sibling=Ee,Se=Ee);return nt&&Pi(V,Re),xe}for(Ee=h(V,Ee);Re<U.length;Re++)Tt=ce(Ee,V,Re,U[Re],ne),Tt!==null&&(i&&Tt.alternate!==null&&Ee.delete(Tt.key===null?Re:Tt.key),M=y(Tt,M,Re),Se===null?xe=Tt:Se.sibling=Tt,Se=Tt);return i&&Ee.forEach(function(Xr){return s(V,Xr)}),nt&&Pi(V,Re),xe}function ve(V,M,U,ne){var xe=ue(U);if(typeof xe!="function")throw Error(n(150));if(U=xe.call(U),U==null)throw Error(n(151));for(var Se=xe=null,Ee=M,Re=M=0,Tt=null,$e=U.next();Ee!==null&&!$e.done;Re++,$e=U.next()){Ee.index>Re?(Tt=Ee,Ee=null):Tt=Ee.sibling;var Xr=K(V,Ee,$e.value,ne);if(Xr===null){Ee===null&&(Ee=Tt);break}i&&Ee&&Xr.alternate===null&&s(V,Ee),M=y(Xr,M,Re),Se===null?xe=Xr:Se.sibling=Xr,Se=Xr,Ee=Tt}if($e.done)return u(V,Ee),nt&&Pi(V,Re),xe;if(Ee===null){for(;!$e.done;Re++,$e=U.next())$e=J(V,$e.value,ne),$e!==null&&(M=y($e,M,Re),Se===null?xe=$e:Se.sibling=$e,Se=$e);return nt&&Pi(V,Re),xe}for(Ee=h(V,Ee);!$e.done;Re++,$e=U.next())$e=ce(Ee,V,Re,$e.value,ne),$e!==null&&(i&&$e.alternate!==null&&Ee.delete($e.key===null?Re:$e.key),M=y($e,M,Re),Se===null?xe=$e:Se.sibling=$e,Se=$e);return i&&Ee.forEach(function(yC){return s(V,yC)}),nt&&Pi(V,Re),xe}function dt(V,M,U,ne){if(typeof U=="object"&&U!==null&&U.type===W&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case B:e:{for(var xe=U.key,Se=M;Se!==null;){if(Se.key===xe){if(xe=U.type,xe===W){if(Se.tag===7){u(V,Se.sibling),M=m(Se,U.props.children),M.return=V,V=M;break e}}else if(Se.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===ye&&Kg(xe)===Se.type){u(V,Se.sibling),M=m(Se,U.props),M.ref=Uo(V,Se,U),M.return=V,V=M;break e}u(V,Se);break}else s(V,Se);Se=Se.sibling}U.type===W?(M=Li(U.props.children,V.mode,ne,U.key),M.return=V,V=M):(ne=lu(U.type,U.key,U.props,null,V.mode,ne),ne.ref=Uo(V,M,U),ne.return=V,V=ne)}return k(V);case j:e:{for(Se=U.key;M!==null;){if(M.key===Se)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){u(V,M.sibling),M=m(M,U.children||[]),M.return=V,V=M;break e}else{u(V,M);break}else s(V,M);M=M.sibling}M=oh(U,V.mode,ne),M.return=V,V=M}return k(V);case ye:return Se=U._init,dt(V,M,Se(U._payload),ne)}if(Mn(U))return pe(V,M,U,ne);if(ue(U))return ve(V,M,U,ne);Fl(V,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,M!==null&&M.tag===6?(u(V,M.sibling),M=m(M,U),M.return=V,V=M):(u(V,M),M=sh(U,V.mode,ne),M.return=V,V=M),k(V)):u(V,M)}return dt}var As=Qg(!0),Gg=Qg(!1),Bl=zr(null),zl=null,Ns=null,md=null;function gd(){md=Ns=zl=null}function yd(i){var s=Bl.current;et(Bl),i._currentValue=s}function vd(i,s,u){for(;i!==null;){var h=i.alternate;if((i.childLanes&s)!==s?(i.childLanes|=s,h!==null&&(h.childLanes|=s)):h!==null&&(h.childLanes&s)!==s&&(h.childLanes|=s),i===u)break;i=i.return}}function Rs(i,s){zl=i,md=Ns=null,i=i.dependencies,i!==null&&i.firstContext!==null&&((i.lanes&s)!==0&&(en=!0),i.firstContext=null)}function Cn(i){var s=i._currentValue;if(md!==i)if(i={context:i,memoizedValue:s,next:null},Ns===null){if(zl===null)throw Error(n(308));Ns=i,zl.dependencies={lanes:0,firstContext:i}}else Ns=Ns.next=i;return s}var Ai=null;function xd(i){Ai===null?Ai=[i]:Ai.push(i)}function Yg(i,s,u,h){var m=s.interleaved;return m===null?(u.next=u,xd(s)):(u.next=m.next,m.next=u),s.interleaved=u,xr(i,h)}function xr(i,s){i.lanes|=s;var u=i.alternate;for(u!==null&&(u.lanes|=s),u=i,i=i.return;i!==null;)i.childLanes|=s,u=i.alternate,u!==null&&(u.childLanes|=s),u=i,i=i.return;return u.tag===3?u.stateNode:null}var $r=!1;function wd(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xg(i,s){i=i.updateQueue,s.updateQueue===i&&(s.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function wr(i,s){return{eventTime:i,lane:s,tag:0,payload:null,callback:null,next:null}}function Hr(i,s,u){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(Ue&2)!==0){var m=h.pending;return m===null?s.next=s:(s.next=m.next,m.next=s),h.pending=s,xr(i,u)}return m=h.interleaved,m===null?(s.next=s,xd(h)):(s.next=m.next,m.next=s),h.interleaved=s,xr(i,u)}function Vl(i,s,u){if(s=s.updateQueue,s!==null&&(s=s.shared,(u&4194240)!==0)){var h=s.lanes;h&=i.pendingLanes,u|=h,s.lanes=u,Oc(i,u)}}function Jg(i,s){var u=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,u===h)){var m=null,y=null;if(u=u.firstBaseUpdate,u!==null){do{var k={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};y===null?m=y=k:y=y.next=k,u=u.next}while(u!==null);y===null?m=y=s:y=y.next=s}else m=y=s;u={baseState:h.baseState,firstBaseUpdate:m,lastBaseUpdate:y,shared:h.shared,effects:h.effects},i.updateQueue=u;return}i=u.lastBaseUpdate,i===null?u.firstBaseUpdate=s:i.next=s,u.lastBaseUpdate=s}function Ul(i,s,u,h){var m=i.updateQueue;$r=!1;var y=m.firstBaseUpdate,k=m.lastBaseUpdate,N=m.shared.pending;if(N!==null){m.shared.pending=null;var I=N,$=I.next;I.next=null,k===null?y=$:k.next=$,k=I;var Q=i.alternate;Q!==null&&(Q=Q.updateQueue,N=Q.lastBaseUpdate,N!==k&&(N===null?Q.firstBaseUpdate=$:N.next=$,Q.lastBaseUpdate=I))}if(y!==null){var J=m.baseState;k=0,Q=$=I=null,N=y;do{var K=N.lane,ce=N.eventTime;if((h&K)===K){Q!==null&&(Q=Q.next={eventTime:ce,lane:0,tag:N.tag,payload:N.payload,callback:N.callback,next:null});e:{var pe=i,ve=N;switch(K=s,ce=u,ve.tag){case 1:if(pe=ve.payload,typeof pe=="function"){J=pe.call(ce,J,K);break e}J=pe;break e;case 3:pe.flags=pe.flags&-65537|128;case 0:if(pe=ve.payload,K=typeof pe=="function"?pe.call(ce,J,K):pe,K==null)break e;J=E({},J,K);break e;case 2:$r=!0}}N.callback!==null&&N.lane!==0&&(i.flags|=64,K=m.effects,K===null?m.effects=[N]:K.push(N))}else ce={eventTime:ce,lane:K,tag:N.tag,payload:N.payload,callback:N.callback,next:null},Q===null?($=Q=ce,I=J):Q=Q.next=ce,k|=K;if(N=N.next,N===null){if(N=m.shared.pending,N===null)break;K=N,N=K.next,K.next=null,m.lastBaseUpdate=K,m.shared.pending=null}}while(!0);if(Q===null&&(I=J),m.baseState=I,m.firstBaseUpdate=$,m.lastBaseUpdate=Q,s=m.shared.interleaved,s!==null){m=s;do k|=m.lane,m=m.next;while(m!==s)}else y===null&&(m.shared.lanes=0);ji|=k,i.lanes=k,i.memoizedState=J}}function Zg(i,s,u){if(i=s.effects,s.effects=null,i!==null)for(s=0;s<i.length;s++){var h=i[s],m=h.callback;if(m!==null){if(h.callback=null,h=u,typeof m!="function")throw Error(n(191,m));m.call(h)}}}var $o={},er=zr($o),Ho=zr($o),qo=zr($o);function Ni(i){if(i===$o)throw Error(n(174));return i}function bd(i,s){switch(Ge(qo,s),Ge(Ho,i),Ge(er,$o),i=s.nodeType,i){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:oe(null,"");break;default:i=i===8?s.parentNode:s,s=i.namespaceURI||null,i=i.tagName,s=oe(s,i)}et(er),Ge(er,s)}function js(){et(er),et(Ho),et(qo)}function ey(i){Ni(qo.current);var s=Ni(er.current),u=oe(s,i.type);s!==u&&(Ge(Ho,i),Ge(er,u))}function kd(i){Ho.current===i&&(et(er),et(Ho))}var it=zr(0);function $l(i){for(var s=i;s!==null;){if(s.tag===13){var u=s.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.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===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Sd=[];function Ed(){for(var i=0;i<Sd.length;i++)Sd[i]._workInProgressVersionPrimary=null;Sd.length=0}var Hl=R.ReactCurrentDispatcher,Td=R.ReactCurrentBatchConfig,Ri=0,st=null,wt=null,St=null,ql=!1,Wo=!1,Ko=0,BT=0;function Mt(){throw Error(n(321))}function Cd(i,s){if(s===null)return!1;for(var u=0;u<s.length&&u<i.length;u++)if(!zn(i[u],s[u]))return!1;return!0}function _d(i,s,u,h,m,y){if(Ri=y,st=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Hl.current=i===null||i.memoizedState===null?$T:HT,i=u(h,m),Wo){y=0;do{if(Wo=!1,Ko=0,25<=y)throw Error(n(301));y+=1,St=wt=null,s.updateQueue=null,Hl.current=qT,i=u(h,m)}while(Wo)}if(Hl.current=Ql,s=wt!==null&&wt.next!==null,Ri=0,St=wt=st=null,ql=!1,s)throw Error(n(300));return i}function Pd(){var i=Ko!==0;return Ko=0,i}function tr(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return St===null?st.memoizedState=St=i:St=St.next=i,St}function _n(){if(wt===null){var i=st.alternate;i=i!==null?i.memoizedState:null}else i=wt.next;var s=St===null?st.memoizedState:St.next;if(s!==null)St=s,wt=i;else{if(i===null)throw Error(n(310));wt=i,i={memoizedState:wt.memoizedState,baseState:wt.baseState,baseQueue:wt.baseQueue,queue:wt.queue,next:null},St===null?st.memoizedState=St=i:St=St.next=i}return St}function Qo(i,s){return typeof s=="function"?s(i):s}function Ad(i){var s=_n(),u=s.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=i;var h=wt,m=h.baseQueue,y=u.pending;if(y!==null){if(m!==null){var k=m.next;m.next=y.next,y.next=k}h.baseQueue=m=y,u.pending=null}if(m!==null){y=m.next,h=h.baseState;var N=k=null,I=null,$=y;do{var Q=$.lane;if((Ri&Q)===Q)I!==null&&(I=I.next={lane:0,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),h=$.hasEagerState?$.eagerState:i(h,$.action);else{var J={lane:Q,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};I===null?(N=I=J,k=h):I=I.next=J,st.lanes|=Q,ji|=Q}$=$.next}while($!==null&&$!==y);I===null?k=h:I.next=N,zn(h,s.memoizedState)||(en=!0),s.memoizedState=h,s.baseState=k,s.baseQueue=I,u.lastRenderedState=h}if(i=u.interleaved,i!==null){m=i;do y=m.lane,st.lanes|=y,ji|=y,m=m.next;while(m!==i)}else m===null&&(u.lanes=0);return[s.memoizedState,u.dispatch]}function Nd(i){var s=_n(),u=s.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=i;var h=u.dispatch,m=u.pending,y=s.memoizedState;if(m!==null){u.pending=null;var k=m=m.next;do y=i(y,k.action),k=k.next;while(k!==m);zn(y,s.memoizedState)||(en=!0),s.memoizedState=y,s.baseQueue===null&&(s.baseState=y),u.lastRenderedState=y}return[y,h]}function ty(){}function ny(i,s){var u=st,h=_n(),m=s(),y=!zn(h.memoizedState,m);if(y&&(h.memoizedState=m,en=!0),h=h.queue,Rd(sy.bind(null,u,h,i),[i]),h.get
vendor: 4,386 bytes, line 38
38Snapshot!==s||y||St!==null&&St.memoizedState.tag&1){if(u.flags|=2048,Go(9,iy.bind(null,u,h,m,s),void 0,null),Et===null)throw Error(n(349));(Ri&30)!==0||ry(u,s,m)}return m}function ry(i,s,u){i.flags|=16384,i={getSnapshot:s,value:u},s=st.updateQueue,s===null?(s={lastEffect:null,stores:null},st.updateQueue=s,s.stores=[i]):(u=s.stores,u===null?s.stores=[i]:u.push(i))}function iy(i,s,u,h){s.value=u,s.getSnapshot=h,oy(s)&&ay(i)}function sy(i,s,u){return u(function(){oy(s)&&ay(i)})}function oy(i){var s=i.getSnapshot;i=i.value;try{var u=s();return!zn(i,u)}catch{return!0}}function ay(i){var s=xr(i,1);s!==null&&qn(s,i,1,-1)}function ly(i){var s=tr();return typeof i=="function"&&(i=i()),s.memoizedState=s.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qo,lastRenderedState:i},s.queue=i,i=i.dispatch=UT.bind(null,st,i),[s.memoizedState,i]}function Go(i,s,u,h){return i={tag:i,create:s,destroy:u,deps:h,next:null},s=st.updateQueue,s===null?(s={lastEffect:null,stores:null},st.updateQueue=s,s.lastEffect=i.next=i):(u=s.lastEffect,u===null?s.lastEffect=i.next=i:(h=u.next,u.next=i,i.next=h,s.lastEffect=i)),i}function uy(){return _n().memoizedState}function Wl(i,s,u,h){var m=tr();st.flags|=i,m.memoizedState=Go(1|s,u,void 0,h===void 0?null:h)}function Kl(i,s,u,h){var m=_n();h=h===void 0?null:h;var y=void 0;if(wt!==null){var k=wt.memoizedState;if(y=k.destroy,h!==null&&Cd(h,k.deps)){m.memoizedState=Go(s,u,y,h);return}}st.flags|=i,m.memoizedState=Go(1|s,u,y,h)}function cy(i,s){return Wl(8390656,8,i,s)}function Rd(i,s){return Kl(2048,8,i,s)}function dy(i,s){return Kl(4,2,i,s)}function hy(i,s){return Kl(4,4,i,s)}function fy(i,s){if(typeof s=="function")return i=i(),s(i),function(){s(null)};if(s!=null)return i=i(),s.current=i,function(){s.current=null}}function py(i,s,u){return u=u!=null?u.concat([i]):null,Kl(4,4,fy.bind(null,s,i),u)}function jd(){}function my(i,s){var u=_n();s=s===void 0?null:s;var h=u.memoizedState;return h!==null&&s!==null&&Cd(s,h[1])?h[0]:(u.memoizedState=[i,s],i)}function gy(i,s){var u=_n();s=s===void 0?null:s;var h=u.memoizedState;return h!==null&&s!==null&&Cd(s,h[1])?h[0]:(i=i(),u.memoizedState=[i,s],i)}function yy(i,s,u){return(Ri&21)===0?(i.baseState&&(i.baseState=!1,en=!0),i.memoizedState=u):(zn(u,s)||(u=Km(),st.lanes|=u,ji|=u,i.baseState=!0),s)}function zT(i,s){var u=Ke;Ke=u!==0&&4>u?u:4,i(!0);var h=Td.transition;Td.transition={};try{i(!1),s()}finally{Ke=u,Td.transition=h}}function vy(){return _n().memoizedState}function VT(i,s,u){var h=Qr(i);if(u={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null},xy(i))wy(s,u);else if(u=Yg(i,s,u,h),u!==null){var m=Qt();qn(u,i,h,m),by(u,s,h)}}function UT(i,s,u){var h=Qr(i),m={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null};if(xy(i))wy(s,m);else{var y=i.alternate;if(i.lanes===0&&(y===null||y.lanes===0)&&(y=s.lastRenderedReducer,y!==null))try{var k=s.lastRenderedState,N=y(k,u);if(m.hasEagerState=!0,m.eagerState=N,zn(N,k)){var I=s.interleaved;I===null?(m.next=m,xd(s)):(m.next=I.next,I.next=m),s.interleaved=m;return}}catch{}finally{}u=Yg(i,s,m,h),u!==null&&(m=Qt(),qn(u,i,h,m),by(u,s,h))}}function xy(i){var s=i.alternate;return i===st||s!==null&&s===st}function wy(i,s){Wo=ql=!0;var u=i.pending;u===null?s.next=s:(s.next=u.next,u.next=s),i.pending=s}function by(i,s,u){if((u&4194240)!==0){var h=s.lanes;h&=i.pendingLanes,u|=h,s.lanes=u,Oc(i,u)}}var Ql={readContext:Cn,useCallback:Mt,useContext:Mt,useEffect:Mt,useImperativeHandle:Mt,useInsertionEffect:Mt,useLayoutEffect:Mt,useMemo:Mt,useReducer:Mt,useRef:Mt,useState:Mt,useDebugValue:Mt,useDeferredValue:Mt,useTransition:Mt,useMutableSource:Mt,useSyncExternalStore:Mt,useId:Mt,unstable_isNewReconciler:!1},$T={readContext:Cn,useCallback:function(i,s){return tr().memoizedState=[i,s===void 0?null:s],i},useContext:Cn,useEffect:cy,useImperativeHandle:function(i,s,u){return u=u!=null?u.concat([i]):null,Wl(4194308,4,fy.bind(null,s,i),u)},useLayoutEffect:function(i,s){return Wl(4194308,4,i,s)},useInsertionEffect:function(i,s){return Wl(4,2,i,s)},useMemo:function(i,s){var u=tr();return s=s===void 0?null:s,i=i(),u.memoizedState=[i,s],i},useReducer:function(i,s,u){var h=tr();return s=u!==void 0?u(s):s,h.memoizedState=h.baseState=s,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:s},h.queue=i,i=i.dispatch=VT.bind(null,st,i),[h.memoizedState,i]}
vendor: 10,454 bytes, lines 38-40
38,useRef:function(i){var s=tr();return i={current:i},s.memoizedState=i},useState:ly,useDebugValue:jd,useDeferredValue:function(i){return tr().memoizedState=i},useTransition:function(){var i=ly(!1),s=i[0];return i=zT.bind(null,i[1]),tr().memoizedState=i,[s,i]},useMutableSource:function(){},useSyncExternalStore:function(i,s,u){var h=st,m=tr();if(nt){if(u===void 0)throw Error(n(407));u=u()}else{if(u=s(),Et===null)throw Error(n(349));(Ri&30)!==0||ry(h,s,u)}m.memoizedState=u;var y={value:u,getSnapshot:s};return m.queue=y,cy(sy.bind(null,h,y,i),[i]),h.flags|=2048,Go(9,iy.bind(null,h,y,u,s),void 0,null),u},useId:function(){var i=tr(),s=Et.identifierPrefix;if(nt){var u=vr,h=yr;u=(h&~(1<<32-Bn(h)-1)).toString(32)+u,s=":"+s+"R"+u,u=Ko++,0<u&&(s+="H"+u.toString(32)),s+=":"}else u=BT++,s=":"+s+"r"+u.toString(32)+":";return i.memoizedState=s},unstable_isNewReconciler:!1},HT={readContext:Cn,useCallback:my,useContext:Cn,useEffect:Rd,useImperativeHandle:py,useInsertionEffect:dy,useLayoutEffect:hy,useMemo:gy,useReducer:Ad,useRef:uy,useState:function(){return Ad(Qo)},useDebugValue:jd,useDeferredValue:function(i){var s=_n();return yy(s,wt.memoizedState,i)},useTransition:function(){var i=Ad(Qo)[0],s=_n().memoizedState;return[i,s]},useMutableSource:ty,useSyncExternalStore:ny,useId:vy,unstable_isNewReconciler:!1},qT={readContext:Cn,useCallback:my,useContext:Cn,useEffect:Rd,useImperativeHandle:py,useInsertionEffect:dy,useLayoutEffect:hy,useMemo:gy,useReducer:Nd,useRef:uy,useState:function(){return Nd(Qo)},useDebugValue:jd,useDeferredValue:function(i){var s=_n();return wt===null?s.memoizedState=i:yy(s,wt.memoizedState,i)},useTransition:function(){var i=Nd(Qo)[0],s=_n().memoizedState;return[i,s]},useMutableSource:ty,useSyncExternalStore:ny,useId:vy,unstable_isNewReconciler:!1};function Un(i,s){if(i&&i.defaultProps){s=E({},s),i=i.defaultProps;for(var u in i)s[u]===void 0&&(s[u]=i[u]);return s}return s}function Id(i,s,u,h){s=i.memoizedState,u=u(h,s),u=u==null?s:E({},s,u),i.memoizedState=u,i.lanes===0&&(i.updateQueue.baseState=u)}var Gl={isMounted:function(i){return(i=i._reactInternals)?Ei(i)===i:!1},enqueueSetState:function(i,s,u){i=i._reactInternals;var h=Qt(),m=Qr(i),y=wr(h,m);y.payload=s,u!=null&&(y.callback=u),s=Hr(i,y,m),s!==null&&(qn(s,i,m,h),Vl(s,i,m))},enqueueReplaceState:function(i,s,u){i=i._reactInternals;var h=Qt(),m=Qr(i),y=wr(h,m);y.tag=1,y.payload=s,u!=null&&(y.callback=u),s=Hr(i,y,m),s!==null&&(qn(s,i,m,h),Vl(s,i,m))},enqueueForceUpdate:function(i,s){i=i._reactInternals;var u=Qt(),h=Qr(i),m=wr(u,h);m.tag=2,s!=null&&(m.callback=s),s=Hr(i,m,h),s!==null&&(qn(s,i,h,u),Vl(s,i,h))}};function ky(i,s,u,h,m,y,k){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,y,k):s.prototype&&s.prototype.isPureReactComponent?!Do(u,h)||!Do(m,y):!0}function Sy(i,s,u){var h=!1,m=Vr,y=s.contextType;return typeof y=="object"&&y!==null?y=Cn(y):(m=Zt(s)?Ci:Lt.current,h=s.contextTypes,y=(h=h!=null)?Ts(i,m):Vr),s=new s(u,y),i.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Gl,i.stateNode=s,s._reactInternals=i,h&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=m,i.__reactInternalMemoizedMaskedChildContext=y),s}function Ey(i,s,u,h){i=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(u,h),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(u,h),s.state!==i&&Gl.enqueueReplaceState(s,s.state,null)}function Od(i,s,u,h){var m=i.stateNode;m.props=u,m.state=i.memoizedState,m.refs={},wd(i);var y=s.contextType;typeof y=="object"&&y!==null?m.context=Cn(y):(y=Zt(s)?Ci:Lt.current,m.context=Ts(i,y)),m.state=i.memoizedState,y=s.getDerivedStateFromProps,typeof y=="function"&&(Id(i,s,y,u),m.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(s=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),s!==m.state&&Gl.enqueueReplaceState(m,m.state,null),Ul(i,u,m,h),m.state=i.memoizedState),typeof m.componentDidMount=="function"&&(i.flags|=4194308)}function Is(i,s){try{var u="",h=s;do u+=be(h),h=h.return;while(h);var m=u}catch(y){m=`
39Error generating stack: `+y.message+`
40`+y.stack}return{value:i,source:s,stack:m,digest:null}}function Dd(i,s,u){return{value:i,source:null,stack:u??null,digest:s??null}}function Ld(i,s){try{console.error(s.value)}catch(u){setTimeout(function(){throw u})}}var WT=typeof WeakMap=="function"?WeakMap:Map;function Ty(i,s,u){u=wr(-1,u),u.tag=3,u.payload={element:null};var h=s.value;return u.callback=function(){nu||(nu=!0,Xd=h),Ld(i,s)},u}function Cy(i,s,u){u=wr(-1,u),u.tag=3;var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var m=s.value;u.payload=function(){return h(m)},u.callback=function(){Ld(i,s)}}var y=i.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(u.callback=function(){Ld(i,s),typeof h!="function"&&(Wr===null?Wr=new Set([this]):Wr.add(this));var k=s.stack;this.componentDidCatch(s.value,{componentStack:k!==null?k:""})}),u}function _y(i,s,u){var h=i.pingCache;if(h===null){h=i.pingCache=new WT;var m=new Set;h.set(s,m)}else m=h.get(s),m===void 0&&(m=new Set,h.set(s,m));m.has(u)||(m.add(u),i=oC.bind(null,i,s,u),s.then(i,i))}function Py(i){do{var s;if((s=i.tag===13)&&(s=i.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return i;i=i.return}while(i!==null);return null}function Ay(i,s,u,h,m){return(i.mode&1)===0?(i===s?i.flags|=65536:(i.flags|=128,u.flags|=131072,u.flags&=-52805,u.tag===1&&(u.alternate===null?u.tag=17:(s=wr(-1,1),s.tag=2,Hr(u,s,1))),u.lanes|=1),i):(i.flags|=65536,i.lanes=m,i)}var KT=R.ReactCurrentOwner,en=!1;function Kt(i,s,u,h){s.child=i===null?Gg(s,null,u,h):As(s,i.child,u,h)}function Ny(i,s,u,h,m){u=u.render;var y=s.ref;return Rs(s,m),h=_d(i,s,u,h,y,m),u=Pd(),i!==null&&!en?(s.updateQueue=i.updateQueue,s.flags&=-2053,i.lanes&=~m,br(i,s,m)):(nt&&u&&cd(s),s.flags|=1,Kt(i,s,h,m),s.child)}function Ry(i,s,u,h,m){if(i===null){var y=u.type;return typeof y=="function"&&!ih(y)&&y.defaultProps===void 0&&u.compare===null&&u.defaultProps===void 0?(s.tag=15,s.type=y,jy(i,s,y,h,m)):(i=lu(u.type,null,h,s,s.mode,m),i.ref=s.ref,i.return=s,s.child=i)}if(y=i.child,(i.lanes&m)===0){var k=y.memoizedProps;if(u=u.compare,u=u!==null?u:Do,u(k,h)&&i.ref===s.ref)return br(i,s,m)}return s.flags|=1,i=Yr(y,h),i.ref=s.ref,i.return=s,s.child=i}function jy(i,s,u,h,m){if(i!==null){var y=i.memoizedProps;if(Do(y,h)&&i.ref===s.ref)if(en=!1,s.pendingProps=h=y,(i.lanes&m)!==0)(i.flags&131072)!==0&&(en=!0);else return s.lanes=i.lanes,br(i,s,m)}return Md(i,s,u,h,m)}function Iy(i,s,u){var h=s.pendingProps,m=h.children,y=i!==null?i.memoizedState:null;if(h.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ge(Ds,vn),vn|=u;else{if((u&1073741824)===0)return i=y!==null?y.baseLanes|u:u,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:i,cachePool:null,transitions:null},s.updateQueue=null,Ge(Ds,vn),vn|=i,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=y!==null?y.baseLanes:u,Ge(Ds,vn),vn|=h}else y!==null?(h=y.baseLanes|u,s.memoizedState=null):h=u,Ge(Ds,vn),vn|=h;return Kt(i,s,m,u),s.child}function Oy(i,s){var u=s.ref;(i===null&&u!==null||i!==null&&i.ref!==u)&&(s.flags|=512,s.flags|=2097152)}function Md(i,s,u,h,m){var y=Zt(u)?Ci:Lt.current;return y=Ts(s,y),Rs(s,m),u=_d(i,s,u,h,y,m),h=Pd(),i!==null&&!en?(s.updateQueue=i.updateQueue,s.flags&=-2053,i.lanes&=~m,br(i,s,m)):(nt&&h&&cd(s),s.flags|=1,Kt(i,s,u,m),s.child)}function Dy(i,s,u,h,m){if(Zt(u)){var y=!0;Il(s)}else y=!1;if(Rs(s,m),s.stateNode===null)Xl(i,s),Sy(s,u,h),Od(s,u,h,m),h=!0;else if(i===null){var k=s.stateNode,N=s.memoizedProps;k.props=N;var I=k.context,$=u.contextType;typeof $=="object"&&$!==null?$=Cn($):($=Zt(u)?Ci:Lt.current,$=Ts(s,$));var Q=u.getDerivedStateFromProps,J=typeof Q=="function"||typeof k.getSnapshotBeforeUpdate=="function";J||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(N!==h||I!==$)&&Ey(s,k,h,$),$r=!1;var K=s.memoizedState;k.state=K,Ul(s,h,k,m),I=s.memoizedState,N!==h||K!==I||Jt.current||$r?(typeof Q=="function"&&(Id(s,u,Q,h),I=s.memoizedState),(N=$r||ky(s,u,N,h,K,I,$))?(J||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(s.flags|=4194308)):(typeof k.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=h,s.memoizedState=I),k.props=h,k.state=I,k.context=$,h=N):(typeof k.componentDidMount=="function"&&(s.flags|=4194308),h=!1)}else{k=s.stateNode,Xg(i,s),N=s.memoizedProps,$=s.type===s.elementType?N:Un(s.type,N),k.props=$,J=s.pendingProps,K=k.context,I=u.contextType,typeof I=="object"&&I!==null?I=Cn(I):(I=Zt(u)?Ci:Lt.current,I=Ts(s,I));var ce=u.getDerivedStateFromProps;(Q=typeof ce=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(N!==J||K!==I)&&Ey(s,k,h,I),$r=!1,K=s.memoizedState,k.state=K,Ul(s,h,k,m);var pe=s.memoizedState;N!==J||K!==pe||Jt.current||$r?(typeof ce=="function"&&(Id(s,u,ce,h),pe=s.memoizedState),($=$r||ky(s,u,$,h,K,pe,I)||!1)?(Q||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(h,pe,I),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(h,pe,I)),typeof k.componentDidUpdate=="function"&&(s.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof k.componentDidUpdate!="function"||N===i.memoizedProps&&K===i.memoizedState||(s.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||N===i.memoizedProps&&K===i.memoizedState||(s.flags|=1024),s.memoizedProps=h,s.memoizedState=pe),k.props=h,k.state=pe,k.context=I,h=$):(typeof k.componentDidUpdate!="function"||N===i.memoizedProps&&K===i.memoizedState||(s.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||N===i.memoizedProps&&K===i.memoizedState||(s.flags|=1024),h=!1)}return Fd(i,s,u,h,y,m)}function Fd(i,s,u,h,m,y){Oy(i,s);var k=(s.flags&128)!==0;
vendor: 36,017 bytes, line 40
40if(!h&&!k)return m&&zg(s,u,!1),br(i,s,y);h=s.stateNode,KT.current=s;var N=k&&typeof u.getDerivedStateFromError!="function"?null:h.render();return s.flags|=1,i!==null&&k?(s.child=As(s,i.child,null,y),s.child=As(s,null,N,y)):Kt(i,s,N,y),s.memoizedState=h.state,m&&zg(s,u,!0),s.child}function Ly(i){var s=i.stateNode;s.pendingContext?Fg(i,s.pendingContext,s.pendingContext!==s.context):s.context&&Fg(i,s.context,!1),bd(i,s.containerInfo)}function My(i,s,u,h,m){return Ps(),pd(m),s.flags|=256,Kt(i,s,u,h),s.child}var Bd={dehydrated:null,treeContext:null,retryLane:0};function zd(i){return{baseLanes:i,cachePool:null,transitions:null}}function Fy(i,s,u){var h=s.pendingProps,m=it.current,y=!1,k=(s.flags&128)!==0,N;if((N=k)||(N=i!==null&&i.memoizedState===null?!1:(m&2)!==0),N?(y=!0,s.flags&=-129):(i===null||i.memoizedState!==null)&&(m|=1),Ge(it,m&1),i===null)return fd(s),i=s.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?((s.mode&1)===0?s.lanes=1:i.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(k=h.children,i=h.fallback,y?(h=s.mode,y=s.child,k={mode:"hidden",children:k},(h&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=k):y=uu(k,h,0,null),i=Li(i,h,u,null),y.return=s,i.return=s,y.sibling=i,s.child=y,s.child.memoizedState=zd(u),s.memoizedState=Bd,i):Vd(s,k));if(m=i.memoizedState,m!==null&&(N=m.dehydrated,N!==null))return QT(i,s,k,h,N,m,u);if(y){y=h.fallback,k=s.mode,m=i.child,N=m.sibling;var I={mode:"hidden",children:h.children};return(k&1)===0&&s.child!==m?(h=s.child,h.childLanes=0,h.pendingProps=I,s.deletions=null):(h=Yr(m,I),h.subtreeFlags=m.subtreeFlags&14680064),N!==null?y=Yr(N,y):(y=Li(y,k,u,null),y.flags|=2),y.return=s,h.return=s,h.sibling=y,s.child=h,h=y,y=s.child,k=i.child.memoizedState,k=k===null?zd(u):{baseLanes:k.baseLanes|u,cachePool:null,transitions:k.transitions},y.memoizedState=k,y.childLanes=i.childLanes&~u,s.memoizedState=Bd,h}return y=i.child,i=y.sibling,h=Yr(y,{mode:"visible",children:h.children}),(s.mode&1)===0&&(h.lanes=u),h.return=s,h.sibling=null,i!==null&&(u=s.deletions,u===null?(s.deletions=[i],s.flags|=16):u.push(i)),s.child=h,s.memoizedState=null,h}function Vd(i,s){return s=uu({mode:"visible",children:s},i.mode,0,null),s.return=i,i.child=s}function Yl(i,s,u,h){return h!==null&&pd(h),As(s,i.child,null,u),i=Vd(s,s.pendingProps.children),i.flags|=2,s.memoizedState=null,i}function QT(i,s,u,h,m,y,k){if(u)return s.flags&256?(s.flags&=-257,h=Dd(Error(n(422))),Yl(i,s,k,h)):s.memoizedState!==null?(s.child=i.child,s.flags|=128,null):(y=h.fallback,m=s.mode,h=uu({mode:"visible",children:h.children},m,0,null),y=Li(y,m,k,null),y.flags|=2,h.return=s,y.return=s,h.sibling=y,s.child=h,(s.mode&1)!==0&&As(s,i.child,null,k),s.child.memoizedState=zd(k),s.memoizedState=Bd,y);if((s.mode&1)===0)return Yl(i,s,k,null);if(m.data==="$!"){if(h=m.nextSibling&&m.nextSibling.dataset,h)var N=h.dgst;return h=N,y=Error(n(419)),h=Dd(y,h,void 0),Yl(i,s,k,h)}if(N=(k&i.childLanes)!==0,en||N){if(h=Et,h!==null){switch(k&-k){case 4:m=2;break;case 16:m=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:m=32;break;case 536870912:m=268435456;break;default:m=0}m=(m&(h.suspendedLanes|k))!==0?0:m,m!==0&&m!==y.retryLane&&(y.retryLane=m,xr(i,m),qn(h,i,m,-1))}return rh(),h=Dd(Error(n(421))),Yl(i,s,k,h)}return m.data==="$?"?(s.flags|=128,s.child=i.child,s=aC.bind(null,i),m._reactRetry=s,null):(i=y.treeContext,yn=Br(m.nextSibling),gn=s,nt=!0,Vn=null,i!==null&&(En[Tn++]=yr,En[Tn++]=vr,En[Tn++]=_i,yr=i.id,vr=i.overflow,_i=s),s=Vd(s,h.children),s.flags|=4096,s)}function By(i,s,u){i.lanes|=s;var h=i.alternate;h!==null&&(h.lanes|=s),vd(i.return,s,u)}function Ud(i,s,u,h,m){var y=i.memoizedState;y===null?i.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:h,tail:u,tailMode:m}:(y.isBackwards=s,y.rendering=null,y.renderingStartTime=0,y.last=h,y.tail=u,y.tailMode=m)}function zy(i,s,u){var h=s.pendingProps,m=h.revealOrder,y=h.tail;if(Kt(i,s,h.children,u),h=it.current,(h&2)!==0)h=h&1|2,s.flags|=128;else{if(i!==null&&(i.flags&128)!==0)e:for(i=s.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&By(i,u,s);else if(i.tag===19)By(i,u,s);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===s)break e;for(;i.sibling===null;){if(i.return===null||i.return===s)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}h&=1}if(Ge(it,h),(s.mode&1)===0)s.memoizedState=null;else switch(m){case"forwards":for(u=s.child,m=null;u!==null;)i=u.alternate,i!==null&&$l(i)===null&&(m=u),u=u.sibling;u=m,u===null?(m=s.child,s.child=null):(m=u.sibling,u.sibling=null),Ud(s,!1,m,u,y);break;case"backwards":for(u=null,m=s.child,s.child=null;m!==null;){if(i=m.alternate,i!==null&&$l(i)===null){s.child=m;break}i=m.sibling,m.sibling=u,u=m,m=i}Ud(s,!0,u,null,y);break;case"together":Ud(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Xl(i,s){(s.mode&1)===0&&i!==null&&(i.alternate=null,s.alternate=null,s.flags|=2)}function br(i,s,u){if(i!==null&&(s.dependencies=i.dependencies),ji|=s.lanes,(u&s.childLanes)===0)return null;if(i!==null&&s.child!==i.child)throw Error(n(153));if(s.child!==null){for(i=s.child,u=Yr(i,i.pendingProps),s.child=u,u.return=s;i.sibling!==null;)i=i.sibling,u=u.sibling=Yr(i,i.pendingProps),u.return=s;u.sibling=null}return s.child}function GT(i,s,u){switch(s.tag){case 3:Ly(s),Ps();break;case 5:ey(s);break;case 1:Zt(s.type)&&Il(s);break;case 4:bd(s,s.stateNode.containerInfo);break;case 10:var h=s.type._context,m=s.memoizedProps.value;Ge(Bl,h._currentValue),h._currentValue=m;break;case 13:if(h=s.memoizedState,h!==null)return h.dehydrated!==null?(Ge(it,it.current&1),s.flags|=128,null):(u&s.child.childLanes)!==0?Fy(i,s,u):(Ge(it,it.current&1),i=br(i,s,u),i!==null?i.sibling:null);Ge(it,it.current&1);break;case 19:if(h=(u&s.childLanes)!==0,(i.flags&128)!==0){if(h)return zy(i,s,u);s.flags|=128}if(m=s.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),Ge(it,it.current),h)break;return null;case 22:case 23:return s.lanes=0,Iy(i,s,u)}return br(i,s,u)}var Vy,$d,Uy,$y;Vy=function(i,s){for(var u=s.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===s)break;for(;u.sibling===null;){if(u.return===null||u.return===s)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},$d=function(){},Uy=function(i,s,u,h){var m=i.memoizedProps;if(m!==h){i=s.stateNode,Ni(er.current);var y=null;switch(u){case"input":m=Yt(i,m),h=Yt(i,h),y=[];break;case"select":m=E({},m,{value:void 0}),h=E({},h,{value:void 0}),y=[];break;case"textarea":m=Fn(i,m),h=Fn(i,h),y=[];break;default:typeof m.onClick!="function"&&typeof h.onClick=="function"&&(i.onclick=Nl)}At(u,h);var k;u=null;for($ in m)if(!h.hasOwnProperty($)&&m.hasOwnProperty($)&&m[$]!=null)if($==="style"){var N=m[$];for(k in N)N.hasOwnProperty(k)&&(u||(u={}),u[k]="")}else $!=="dangerouslySetInnerHTML"&&$!=="children"&&$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&$!=="autoFocus"&&(o.hasOwnProperty($)?y||(y=[]):(y=y||[]).push($,null));for($ in h){var I=h[$];if(N=m!=null?m[$]:void 0,h.hasOwnProperty($)&&I!==N&&(I!=null||N!=null))if($==="style")if(N){for(k in N)!N.hasOwnProperty(k)||I&&I.hasOwnProperty(k)||(u||(u={}),u[k]="");for(k in I)I.hasOwnProperty(k)&&N[k]!==I[k]&&(u||(u={}),u[k]=I[k])}else u||(y||(y=[]),y.push($,u)),u=I;else $==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,N=N?N.__html:void 0,I!=null&&N!==I&&(y=y||[]).push($,I)):$==="children"?typeof I!="string"&&typeof I!="number"||(y=y||[]).push($,""+I):$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&(o.hasOwnProperty($)?(I!=null&&$==="onScroll"&&Ze("scroll",i),y||N===I||(y=[])):(y=y||[]).push($,I))}u&&(y=y||[]).push("style",u);var $=y;(s.updateQueue=$)&&(s.flags|=4)}},$y=function(i,s,u,h){u!==h&&(s.flags|=4)};function Yo(i,s){if(!nt)switch(i.tailMode){case"hidden":s=i.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?i.tail=null:u.sibling=null;break;case"collapsed":u=i.tail;for(var h=null;u!==null;)u.alternate!==null&&(h=u),u=u.sibling;h===null?s||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function Ft(i){var s=i.alternate!==null&&i.alternate.child===i.child,u=0,h=0;if(s)for(var m=i.child;m!==null;)u|=m.lanes|m.childLanes,h|=m.subtreeFlags&14680064,h|=m.flags&14680064,m.return=i,m=m.sibling;else for(m=i.child;m!==null;)u|=m.lanes|m.childLanes,h|=m.subtreeFlags,h|=m.flags,m.return=i,m=m.sibling;return i.subtreeFlags|=h,i.childLanes=u,s}function YT(i,s,u){var h=s.pendingProps;switch(dd(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ft(s),null;case 1:return Zt(s.type)&&jl(),Ft(s),null;case 3:return h=s.stateNode,js(),et(Jt),et(Lt),Ed(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(i===null||i.child===null)&&(Ml(s)?s.flags|=4:i===null||i.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Vn!==null&&(eh(Vn),Vn=null))),$d(i,s),Ft(s),null;case 5:kd(s);var m=Ni(qo.current);if(u=s.type,i!==null&&s.stateNode!=null)Uy(i,s,u,h,m),i.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!h){if(s.stateNode===null)throw Error(n(166));return Ft(s),null}if(i=Ni(er.current),Ml(s)){h=s.stateNode,u=s.type;var y=s.memoizedProps;switch(h[Zn]=s,h[zo]=y,i=(s.mode&1)!==0,u){case"dialog":Ze("cancel",h),Ze("close",h);break;case"iframe":case"object":case"embed":Ze("load",h);break;case"video":case"audio":for(m=0;m<Mo.length;m++)Ze(Mo[m],h);break;case"source":Ze("error",h);break;case"img":case"image":case"link":Ze("error",h),Ze("load",h);break;case"details":Ze("toggle",h);break;case"input":Wt(h,y),Ze("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!y.multiple},Ze("invalid",h);break;case"textarea":ol(h,y),Ze("invalid",h)}At(u,y),m=null;for(var k in y)if(y.hasOwnProperty(k)){var N=y[k];k==="children"?typeof N=="string"?h.textContent!==N&&(y.suppressHydrationWarning!==!0&&Al(h.textContent,N,i),m=["children",N]):typeof N=="number"&&h.textContent!==""+N&&(y.suppressHydrationWarning!==!0&&Al(h.textContent,N,i),m=["children",""+N]):o.hasOwnProperty(k)&&N!=null&&k==="onScroll"&&Ze("scroll",h)}switch(u){case"input":_t(h),fn(h,y,!0);break;case"textarea":_t(h),ll(h);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(h.onclick=Nl)}h=m,s.updateQueue=h,h!==null&&(s.flags|=4)}else{k=m.nodeType===9?m:m.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=q(u)),i==="http://www.w3.org/1999/xhtml"?u==="script"?(i=k.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof h.is=="string"?i=k.createElement(u,{is:h.is}):(i=k.createElement(u),u==="select"&&(k=i,h.multiple?k.multiple=!0:h.size&&(k.size=h.size))):i=k.createElementNS(i,u),i[Zn]=s,i[zo]=h,Vy(i,s,!1,!1),s.stateNode=i;e:{switch(k=Xn(u,h),u){case"dialog":Ze("cancel",i),Ze("close",i),m=h;break;case"iframe":case"object":case"embed":Ze("load",i),m=h;break;case"video":case"audio":for(m=0;m<Mo.length;m++)Ze(Mo[m],i);m=h;break;case"source":Ze("error",i),m=h;break;case"img":case"image":case"link":Ze("error",i),Ze("load",i),m=h;break;case"details":Ze("toggle",i),m=h;break;case"input":Wt(i,h),m=Yt(i,h),Ze("invalid",i);break;case"option":m=h;break;case"select":i._wrapperState={wasMultiple:!!h.multiple},m=E({},h,{value:void 0}),Ze("invalid",i);break;case"textarea":ol(i,h),m=Fn(i,h),Ze("invalid",i);break;default:m=h}At(u,m),N=m;for(y in N)if(N.hasOwnProperty(y)){var I=N[y];y==="style"?jr(i,I):y==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&Le(i,I)):y==="children"?typeof I=="string"?(u!=="textarea"||I!=="")&&Ve(i,I):typeof I=="number"&&Ve(i,""+I):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(o.hasOwnProperty(y)?I!=null&&y==="onScroll"&&Ze("scroll",i):I!=null&&_(i,y,I,k))}switch(u){case"input":_t(i),fn(i,h,!1);break;case"textarea":_t(i),ll(i);break;case"option":h.value!=null&&i.setAttribute("value",""+Ie(h.value));break;case"select":i.multiple=!!h.multiple,y=h.value,y!=null?Yn(i,!!h.multiple,y,!1):h.defaultValue!=null&&Yn(i,!!h.multiple,h.defaultValue,!0);break;default:typeof m.onClick=="function"&&(i.onclick=Nl)}switch(u){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return Ft(s),null;case 6:if(i&&s.stateNode!=null)$y(i,s,i.memoizedProps,h);else{if(typeof h!="string"&&s.stateNode===null)throw Error(n(166));if(u=Ni(qo.current),Ni(er.current),Ml(s)){if(h=s.stateNode,u=s.memoizedProps,h[Zn]=s,(y=h.nodeValue!==u)&&(i=gn,i!==null))switch(i.tag){case 3:Al(h.nodeValue,u,(i.mode&1)!==0);break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&Al(h.nodeValue,u,(i.mode&1)!==0)}y&&(s.flags|=4)}else h=(u.nodeType===9?u:u.ownerDocument).createTextNode(h),h[Zn]=s,s.stateNode=h}return Ft(s),null;case 13:if(et(it),h=s.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(nt&&yn!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Wg(),Ps(),s.flags|=98560,y=!1;else if(y=Ml(s),h!==null&&h.dehydrated!==null){if(i===null){if(!y)throw Error(n(318));if(y=s.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(n(317));y[Zn]=s}else Ps(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Ft(s),y=!1}else Vn!==null&&(eh(Vn),Vn=null),y=!0;if(!y)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=u,s):(h=h!==null,h!==(i!==null&&i.memoizedState!==null)&&h&&(s.child.flags|=8192,(s.mode&1)!==0&&(i===null||(it.current&1)!==0?bt===0&&(bt=3):rh())),s.updateQueue!==null&&(s.flags|=4),Ft(s),null);case 4:return js(),$d(i,s),i===null&&Fo(s.stateNode.containerInfo),Ft(s),null;case 10:return yd(s.type._context),Ft(s),null;case 17:return Zt(s.type)&&jl(),Ft(s),null;case 19:if(et(it),y=s.memoizedState,y===null)return Ft(s),null;if(h=(s.flags&128)!==0,k=y.rendering,k===null)if(h)Yo(y,!1);else{if(bt!==0||i!==null&&(i.flags&128)!==0)for(i=s.child;i!==null;){if(k=$l(i),k!==null){for(s.flags|=128,Yo(y,!1),h=k.updateQueue,h!==null&&(s.updateQueue=h,s.flags|=4),s.subtreeFlags=0,h=u,u=s.child;u!==null;)y=u,i=h,y.flags&=14680066,k=y.alternate,k===null?(y.childLanes=0,y.lanes=i,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=k.childLanes,y.lanes=k.lanes,y.child=k.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=k.memoizedProps,y.memoizedState=k.memoizedState,y.updateQueue=k.updateQueue,y.type=k.type,i=k.dependencies,y.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),u=u.sibling;return Ge(it,it.current&1|2),s.child}i=i.sibling}y.tail!==null&&ct()>Ls&&(s.flags|=128,h=!0,Yo(y,!1),s.lanes=4194304)}else{if(!h)if(i=$l(k),i!==null){if(s.flags|=128,h=!0,u=i.updateQueue,u!==null&&(s.updateQueue=u,s.flags|=4),Yo(y,!0),y.tail===null&&y.tailMode==="hidden"&&!k.alternate&&!nt)return Ft(s),null}else 2*ct()-y.renderingStartTime>Ls&&u!==1073741824&&(s.flags|=128,h=!0,Yo(y,!1),s.lanes=4194304);y.isBackwards?(k.sibling=s.child,s.child=k):(u=y.last,u!==null?u.sibling=k:s.child=k,y.last=k)}return y.tail!==null?(s=y.tail,y.rendering=s,y.tail=s.sibling,y.renderingStartTime=ct(),s.sibling=null,u=it.current,Ge(it,h?u&1|2:u&1),s):(Ft(s),null);case 22:case 23:return nh(),h=s.memoizedState!==null,i!==null&&i.memoizedState!==null!==h&&(s.flags|=8192),h&&(s.mode&1)!==0?(vn&1073741824)!==0&&(Ft(s),s.subtreeFlags&6&&(s.flags|=8192)):Ft(s),null;case 24:return null;case 25:return null}throw Error(n(156,s.tag))}function XT(i,s){switch(dd(s),s.tag){case 1:return Zt(s.type)&&jl(),i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 3:return js(),et(Jt),et(Lt),Ed(),i=s.flags,(i&65536)!==0&&(i&128)===0?(s.flags=i&-65537|128,s):null;case 5:return kd(s),null;case 13:if(et(it),i=s.memoizedState,i!==null&&i.dehydrated!==null){if(s.alternate===null)throw Error(n(340));Ps()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 19:return et(it),null;case 4:return js(),null;case 10:return yd(s.type._context),null;case 22:case 23:return nh(),null;case 24:return null;default:return null}}var Jl=!1,Bt=!1,JT=typeof WeakSet=="function"?WeakSet:Set,fe=null;function Os(i,s){var u=i.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(h){at(i,s,h)}else u.current=null}function Hd(i,s,u){try{u()}catch(h){at(i,s,h)}}var Hy=!1;function ZT(i,s){if(nd=vl,i=kg(),Qc(i)){if("selectionStart"in i)var u={start:i.selectionStart,end:i.selectionEnd};else e:{u=(u=i.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var m=h.anchorOffset,y=h.focusNode;h=h.focusOffset;try{u.nodeType,y.nodeType}catch{u=null;break e}var k=0,N=-1,I=-1,$=0,Q=0,J=i,K=null;t:for(;;){for(var ce;J!==u||m!==0&&J.nodeType!==3||(N=k+m),J!==y||h!==0&&J.nodeType!==3||(I=k+h),J.nodeType===3&&(k+=J.nodeValue.length),(ce=J.firstChild)!==null;)K=J,J=ce;for(;;){if(J===i)break t;if(K===u&&++$===m&&(N=k),K===y&&++Q===h&&(I=k),(ce=J.nextSibling)!==null)break;J=K,K=J.parentNode}J=ce}u=N===-1||I===-1?null:{start:N,end:I}}else u=null}u=u||{start:0,end:0}}else u=null;for(rd={focusedElem:i,selectionRange:u},vl=!1,fe=s;fe!==null;)if(s=fe,i=s.child,(s.subtreeFlags&1028)!==0&&i!==null)i.return=s,fe=i;else for(;fe!==null;){s=fe;try{var pe=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(pe!==null){var ve=pe.memoizedProps,dt=pe.memoizedState,V=s.stateNode,M=V.getSnapshotBeforeUpdate(s.elementType===s.type?ve:Un(s.type,ve),dt);V.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var U=s.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ne){at(s,s.return,ne)}if(i=s.sibling,i!==null){i.return=s.return,fe=i;break}fe=s.return}return pe=Hy,Hy=!1,pe}function Xo(i,s,u){var h=s.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var m=h=h.next;do{if((m.tag&i)===i){var y=m.destroy;m.destroy=void 0,y!==void 0&&Hd(s,u,y)}m=m.next}while(m!==h)}}function Zl(i,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var u=s=s.next;do{if((u.tag&i)===i){var h=u.create;u.destroy=h()}u=u.next}while(u!==s)}}function qd(i){var s=i.ref;if(s!==null){var u=i.stateNode;switch(i.tag){case 5:i=u;break;default:i=u}typeof s=="function"?s(i):s.current=i}}function qy(i){var s=i.alternate;s!==null&&(i.alternate=null,qy(s)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(s=i.stateNode,s!==null&&(delete s[Zn],delete s[zo],delete s[ad],delete s[DT],delete s[LT])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function Wy(i){return i.tag===5||i.tag===3||i.tag===4}function Ky(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Wy(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Wd(i,s,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,s?u.nodeType===8?u.parentNode.insertBefore(i,s):u.insertBefore(i,s):(u.nodeType===8?(s=u.parentNode,s.insertBefore(i,u)):(s=u,s.appendChild(i)),u=u._reactRootContainer,u!=null||s.onclick!==null||(s.onclick=Nl));else if(h!==4&&(i=i.child,i!==null))for(Wd(i,s,u),i=i.sibling;i!==null;)Wd(i,s,u),i=i.sibling}function Kd(i,s,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,s?u.insertBefore(i,s):u.appendChild(i);else if(h!==4&&(i=i.child,i!==null))for(Kd(i,s,u),i=i.sibling;i!==null;)Kd(i,s,u),i=i.sibling}var Nt=null,$n=!1;function qr(i,s,u){for(u=u.child;u!==null;)Qy(i,s,u),u=u.sibling}function Qy(i,s,u){if(Jn&&typeof Jn.onCommitFiberUnmount=="function")try{Jn.onCommitFiberUnmount(hl,u)}catch{}switch(u.tag){case 5:Bt||Os(u,s);case 6:var h=Nt,m=$n;Nt=null,qr(i,s,u),Nt=h,$n=m,Nt!==null&&($n?(i=Nt,u=u.stateNode,i.nodeType===8?i.parentNode.removeChild(u):i.removeChild(u)):Nt.removeChild(u.stateNode));break;case 18:Nt!==null&&($n?(i=Nt,u=u.stateNode,i.nodeType===8?od(i.parentNode,u):i.nodeType===1&&od(i,u),Ao(i)):od(Nt,u.stateNode));break;case 4:h=Nt,m=$n,Nt=u.stateNode.containerInfo,$n=!0,qr(i,s,u),Nt=h,$n=m;break;case 0:case 11:case 14:case 15:if(!Bt&&(h=u.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){m=h=h.next;do{var y=m,k=y.destroy;y=y.tag,k!==void 0&&((y&2)!==0||(y&4)!==0)&&Hd(u,s,k),m=m.next}while(m!==h)}qr(i,s,u);break;case 1:if(!Bt&&(Os(u,s),h=u.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=u.memoizedProps,h.state=u.memoizedState,h.componentWillUnmount()}catch(N){at(u,s,N)}qr(i,s,u);break;case 21:qr(i,s,u);break;case 22:u.mode&1?(Bt=(h=Bt)||u.memoizedState!==null,qr(i,s,u),Bt=h):qr(i,s,u);break;default:qr(i,s,u)}}function Gy(i){var s=i.updateQueue;if(s!==null){i.updateQueue=null;var u=i.stateNode;u===null&&(u=i.stateNode=new JT),s.forEach(function(h){var m=lC.bind(null,i,h);u.has(h)||(u.add(h),h.then(m,m))})}}function Hn(i,s){var u=s.deletions;if(u!==null)for(var h=0;h<u.length;h++){var m=u[h];try{var y=i,k=s,N=k;e:for(;N!==null;){switch(N.tag){case 5:Nt=N.stateNode,$n=!1;break e;case 3:Nt=N.stateNode.containerInfo,$n=!0;break e;case 4:Nt=N.stateNode.containerInfo,$n=!0;break e}N=N.return}if(Nt===null)throw Error(n(160));Qy(y,k,m),Nt=null,$n=!1;var I=m.alternate;I!==null&&(I.return=null),m.return=null}catch($){at(m,s,$)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Yy(s,i),s=s.sibling}function Yy(i,s){var u=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Hn(s,i),nr(i),h&4){try{Xo(3,i,i.return),Zl(3,i)}catch(ve){at(i,i.return,ve)}try{Xo(5,i,i.return)}catch(ve){at(i,i.return,ve)}}break;case 1:Hn(s,i),nr(i),h&512&&u!==null&&Os(u,u.return);break;case 5:if(Hn(s,i),nr(i),h&512&&u!==null&&Os(u,u.return),i.flags&32){var m=i.stateNode;try{Ve(m,"")}catch(ve){at(i,i.return,ve)}}if(h&4&&(m=i.stateNode,m!=null)){var y=i.memoizedProps,k=u!==null?u.memoizedProps:y,N=i.type,I=i.updateQueue;if(i.updateQueue=null,I!==null)try{N==="input"&&y.type==="radio"&&y.name!=null&&Ne(m,y),Xn(N,k);var $=Xn(N,y);for(k=0;k<I.length;k+=2){var Q=I[k],J=I[k+1];Q==="style"?jr(m,J):Q==="dangerouslySetInnerHTML"?Le(m,J):Q==="children"?Ve(m,J):_(m,Q,J,$)}switch(N){case"input":pt(m,y);break;case"textarea":al(m,y);break;case"select":var K=m._wrapperState.wasMultiple;m._wrapperState.wasMultiple=!!y.multiple;var ce=y.value;ce!=null?Yn(m,!!y.multiple,ce,!1):K!==!!y.multiple&&(y.defaultValue!=null?Yn(m,!!y.multiple,y.defaultValue,!0):Yn(m,!!y.multiple,y.multiple?[]:"",!1))}m[zo]=y}catch(ve){at(i,i.return,ve)}}break;case 6:if(Hn(s,i),nr(i),h&4){if(i.stateNode===null)throw Error(n(162));m=i.stateNode,y=i.memoizedProps;try{m.nodeValue=y}catch(ve){at(i,i.return,ve)}}break;case 3:if(Hn(s,i),nr(i),h&4&&u!==null&&u.memoizedState.isDehydrated)try{Ao(s.containerInfo)}catch(ve){at(i,i.return,ve)}break;case 4:Hn(s,i),nr(i);break;case 13:Hn(s,i),nr(i),m=i.child,m.flags&8192&&(y=m.memoizedState!==null,m.stateNode.isHidden=y,!y||m.alternate!==null&&m.alternate.memoizedState!==null||(Yd=ct())),h&4&&Gy(i);break;case 22:if(Q=u!==null&&u.memoizedState!==null,i.mode&1?(Bt=($=Bt)||Q,Hn(s,i),Bt=$):Hn(s,i),nr(i),h&8192){if($=i.memoizedState!==null,(i.stateNode.isHidden=$)&&!Q&&(i.mode&1)!==0)for(fe=i,Q=i.child;Q!==null;){for(J=fe=Q;fe!==null;){switch(K=fe,ce=K.child,K.tag){case 0:case 11:case 14:case 15:Xo(4,K,K.return);break;case 1:Os(K,K.return);var pe=K.stateNode;if(typeof pe.componentWillUnmount=="function"){h=K,u=K.return;try{s=h,pe.props=s.memoizedProps,pe.state=s.memoizedState,pe.componentWillUnmount()}catch(ve){at(h,u,ve)}}break;case 5:Os(K,K.return);break;case 22:if(K.memoizedState!==null){Zy(J);continue}}ce!==null?(ce.return=K,fe=ce):Zy(J)}Q=Q.sibling}e:for(Q=null,J=i;;){if(J.tag===5){if(Q===null){Q=J;try{m=J.stateNode,$?(y=m.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(N=J.stateNode,I=J.memoizedProps.style,k=I!=null&&I.hasOwnProperty("display")?I.display:null,N.style.display=Sn("display",k))}catch(ve){at(i,i.return,ve)}}}else if(J.tag===6){if(Q===null)try{J.stateNode.nodeValue=$?"":J.memoizedProps}catch(ve){at(i,i.return,ve)}}else if((J.tag!==22&&J.tag!==23||J.memoizedState===null||J===i)&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===i)break e;for(;J.sibling===null;){if(J.return===null||J.return===i)break e;Q===J&&(Q=null),J=J.return}Q===J&&(Q=null),J.sibling.return=J.return,J=J.sibling}}break;case 19:Hn(s,i),nr(i),h&4&&Gy(i);break;case 21:break;default:Hn(s,i),nr(i)}}function nr(i){var s=i.flags;if(s&2){try{e:{for(var u=i.return;u!==null;){if(Wy(u)){var h=u;break e}u=u.return}throw Error(n(160))}switch(h.tag){case 5:var m=h.stateNode;h.flags&32&&(Ve(m,""),h.flags&=-33);var y=Ky(i);Kd(i,y,m);break;case 3:case 4:var k=h.stateNode.containerInfo,N=Ky(i);Wd(i,N,k);break;default:throw Error(n(161))}}catch(I){at(i,i.return,I)}i.flags&=-3}s&4096&&(i.flags&=-4097)}function eC(i,s,u){fe=i,Xy(i)}function Xy(i,s,u){for(var h=(i.mode&1)!==0;fe!==null;){var m=fe,y=m.child;if(m.tag===22&&h){var k=m.memoizedState!==null||Jl;if(!k){var N=m.alternate,I=N!==null&&N.memoizedState!==null||Bt;N=Jl;var $=Bt;if(Jl=k,(Bt=I)&&!$)for(fe=m;fe!==null;)k=fe,I=k.child,k.tag===22&&k.memoizedState!==null?e0(m):I!==null?(I.return=k,fe=I):e0(m);for(;y!==null;)fe=y,Xy(y),y=y.sibling;fe=m,Jl=N,Bt=$}Jy(i)}else(m.subtreeFlags&8772)!==0&&y!==null?(y.return=m,fe=y):Jy(i)}}function Jy(i){for(;fe!==null;){var s=fe;if((s.flags&8772)!==0){var u=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:Bt||Zl(5,s);break;case 1:var h=s.stateNode;if(s.flags&4&&!Bt)if(u===null)h.componentDidMount();else{var m=s.elementType===s.type?u.memoizedProps:Un(s.type,u.memoizedProps);h.componentDidUpdate(m,u.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var y=s.updateQueue;y!==null&&Zg(s,y,h);break;case 3:var k=s.updateQueue;if(k!==null){if(u=null,s.child!==null)switch(s.child.tag){case 5:u=s.child.stateNode;break;case 1:u=s.child.stateNode}Zg(s,k,u)}break;case 5:var N=s.stateNode;if(u===null&&s.flags&4){u=N;var I=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":I.autoFocus&&u.focus();break;case"img":I.src&&(u.src=I.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var $=s.alternate;if($!==null){var Q=$.memoizedState;if(Q!==null){var J=Q.dehydrated;J!==null&&Ao(J)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Bt||s.flags&512&&qd(s)}catch(K){at(s,s.return,K)}}if(s===i){fe=null;break}if(u=s.sibling,u!==null){u.return=s.return,fe=u;break}fe=s.return}}function Zy(i){for(;fe!==null;){var s=fe;if(s===i){fe=null;break}var u=s.sibling;if(u!==null){u.return=s.return,fe=u;break}fe=s.return}}function e0(i){for(;fe!==null;){var s=fe;try{switch(s.tag){case 0:case 11:case 15:var u=s.return;try{Zl(4,s)}catch(I){at(s,u,I)}break;case 1:var h=s.stateNode;if(typeof h.componentDidMount=="function"){var m=s.return;try{h.componentDidMount()}catch(I){at(s,m,I)}}var y=s.return;try{qd(s)}catch(I){at(s,y,I)}break;case 5:var k=s.return;try{qd(s)}catch(I){at(s,k,I)}}}catch(I){at(s,s.return,I)}if(s===i){fe=null;break}var N=s.sibling;if(N!==null){N.return=s.return,fe=N;break}fe=s.return}}var tC=Math.ceil,eu=R.ReactCurrentDispatcher,Qd=R.ReactCurrentOwner,Pn=R.ReactCurrentBatchConfig,Ue=0,Et=null,mt=null,Rt=0,vn=0,Ds=zr(0),bt=0,Jo=null,ji=0,tu=0,Gd=0,Zo=null,tn=null,Yd=0,Ls=1/0,kr=null,nu=!1,Xd=null,Wr=null,ru=!1,Kr=null,iu=0,ea=0,Jd=null,su=-1,ou=0;function Qt(){return(Ue&6)!==0?ct():su!==-1?su:su=ct()}function Qr(i){return(i.mode&1)===0?1:(Ue&2)!==0&&Rt!==0?Rt&-Rt:FT.transition!==null?(ou===0&&(ou=Km()),ou):(i=Ke,i!==0||(i=window.event,i=i===void 0?16:ng(i.type)),i)}function qn(i,s,u,h){if(50<ea)throw ea=0,Jd=null,Error(n(185));Eo(i,u,h),((Ue&2)===0||i!==Et)&&(i===Et&&((Ue&2)===0&&(tu|=u),bt===4&&Gr(i,Rt)),nn(i,h),u===1&&Ue===0&&(s.mode&1)===0&&(Ls=ct()+500,Ol&&Ur()))}function nn(i,s){var u=i.callbackNode;FE(i,s);var h=ml(i,i===Et?Rt:0);if(h===0)u!==null&&Hm(u),i.callbackNode=null,i.callbackPriority=0;else if(s=h&-h,i.callbackPriority!==s){if(u!=null&&Hm(u),s===1)i.tag===0?MT(n0.bind(null,i)):Vg(n0.bind(null,i)),IT(function(){(Ue&6)===0&&Ur()}),u=null;else{switch(Qm(h)){case 1:u=Rc;break;case 4:u=qm;break;case 16:u=dl;break;case 536870912:u=Wm;break;default:u=dl}u=c0(u,t0.bind(null,i))}i.callbackPriority=s,i.callbackNode=u}}function t0(i,s){if(su=-1,ou=0,(Ue&6)!==0)throw Error(n(327));var u=i.callbackNode;if(Ms()&&i.callbackNode!==u)return null;var h=ml(i,i===Et?Rt:0);if(h===0)return null;if((h&30)!==0||(h&i.expiredLanes)!==0||s)s=au(i,h);else{s=h;var m=Ue;Ue|=2;var y=i0();(Et!==i||Rt!==s)&&(kr=null,Ls=ct()+500,Oi(i,s));do try{iC();break}catch(N){r0(i,N)}while(!0);gd(),eu.current=y,Ue=m,mt!==null?s=0:(Et=null,Rt=0,s=bt)}if(s!==0){if(s===2&&(m=jc(i),m!==0&&(h=m,s=Zd(i,m))),s===1)throw u=Jo,Oi(i,0),Gr(i,h),nn(i,ct()),u;if(s===6)Gr(i,h);else{if(m=i.current.alternate,(h&30)===0&&!nC(m)&&(s=au(i,h),s===2&&(y=jc(i),y!==0&&(h=y,s=Zd(i,y))),s===1))throw u=Jo,Oi(i,0),Gr(i,h),nn(i,ct()),u;switch(i.finishedWork=m,i.finishedLanes=h,s){case 0:case 1:throw Error(n(345));case 2:Di(i,tn,kr);break;case 3:if(Gr(i,h),(h&130023424)===h&&(s=Yd+500-ct(),10<s)){if(ml(i,0)!==0)break;if(m=i.suspendedLanes,(m&h)!==h){Qt(),i.pingedLanes|=i.suspendedLanes&m;break}i.timeoutHandle=sd(Di.bind(null,i,tn,kr),s);break}Di(i,tn,kr);break;case 4:if(Gr(i,h),(h&4194240)===h)break;for(s=i.eventTimes,m=-1;0<h;){var k=31-Bn(h);y=1<<k,k=s[k],k>m&&(m=k),h&=~y}if(h=m,h=ct()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*tC(h/1960))-h,10<h){i.timeoutHandle=sd(Di.bind(null,i,tn,kr),h);break}Di(i,tn,kr);break;case 5:Di(i,tn,kr);break;default:throw Error(n(329))}}}return nn(i,ct()),i.callbackNode===u?t0.bind(null,i):null}function Zd(i,s){var u=Zo;return i.current.memoizedState.isDehydrated&&(Oi(i,s).flags|=256),i=au(i,s),i!==2&&(s=tn,tn=u,s!==null&&eh(s)),i}function eh(i){tn===null?tn=i:tn.push.apply(tn,i)}function nC(i){for(var s=i;;){if(s.flags&16384){var u=s.updateQueue;if(u!==null&&(u=u.stores,u!==null))for(var h=0;h<u.length;h++){var m=u[h],y=m.getSnapshot;m=m.value;try{if(!zn(y(),m))return!1}catch{return!1}}}if(u=s.child,s.subtreeFlags&16384&&u!==null)u.return=s,s=u;else{if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Gr(i,s){for(s&=~Gd,s&=~tu,i.suspendedLanes|=s,i.pingedLanes&=~s,i=i.expirationTimes;0<s;){var u=31-Bn(s),h=1<<u;i[u]=-1,s&=~h}}function n0(i){if((Ue&6)!==0)throw Error(n(327));Ms();var s=ml(i,0);if((s&1)===0)return nn(i,ct()),null;var u=au(i,s);if(i.tag!==0&&u===2){var h=jc(i);h!==0&&(s=h,u=Zd(i,h))}if(u===1)throw u=Jo,Oi(i,0),Gr(i,s),nn(i,ct()),u;if(u===6)throw Error(n(345));return i.finishedWork=i.current.alternate,i.finishedLanes=s,Di(i,tn,kr),nn(i,ct()),null}function th(i,s){var u=Ue;Ue|=1;try{return i(s)}finally{Ue=u,Ue===0&&(Ls=ct()+500,Ol&&Ur())}}function Ii(i){Kr!==null&&Kr.tag===0&&(Ue&6)===0&&Ms();var s=Ue;Ue|=1;var u=Pn.transition,h=Ke;try{if(Pn.transition=null,Ke=1,i)return i()}finally{Ke=h,Pn.transition=u,Ue=s,(Ue&6)===0&&Ur()}}function nh(){vn=Ds.current,et(Ds)}function Oi(i,s){i.finishedWork=null,i.finishedLanes=0;var u=i.timeoutHandle;if(u!==-1&&(i.timeoutHandle=-1,jT(u)),mt!==null)for(u=mt.return;u!==null;){var h=u;switch(dd(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&jl();break;case 3:js(),et(Jt),et(Lt),Ed();break;case 5:kd(h);break;case 4:js();break;case 13:et(it);break;case 19:et(it);break;case 10:yd(h.type._context);break;case 22:case 23:nh()}u=u.return}if(Et=i,mt=i=Yr(i.current,null),Rt=vn=s,bt=0,Jo=null,Gd=tu=ji=0,tn=Zo=null,Ai!==null){for(s=0;s<Ai.length;s++)if(u=Ai[s],h=u.interleaved,h!==null){u.interleaved=null;var m=h.next,y=u.pending;if(y!==null){var k=y.next;y.next=m,h.next=k}u.pending=h}Ai=null}return i}function r0(i,s){do{var u=mt;try{if(gd(),Hl.current=Ql,ql){for(var h=st.memoizedState;h!==null;){var m=h.queue;m!==null&&(m.pending=null),h=h.next}ql=!1}if(Ri=0,St=wt=st=null,Wo=!1,Ko=0,Qd.current=null,u===null||u.return===null){bt=1,Jo=s,mt=null;break}e:{var y=i,k=u.return,N=u,I=s;if(s=Rt,N.flags|=32768,I!==null&&typeof I=="object"&&typeof I.then=="function"){var $=I,Q=N,J=Q.tag;if((Q.mode&1)===0&&(J===0||J===11||J===15)){var K=Q.alternate;K?(Q.updateQueue=K.updateQueue,Q.memoizedState=K.memoizedState,Q.lanes=K.lanes):(Q.updateQueue=null,Q.memoizedState=null)}var ce=Py(k);if(ce!==null){ce.flags&=-257,Ay(ce,k,N,y,s),ce.mode&1&&_y(y,$,s),s=ce,I=$;var pe=s.updateQueue;if(pe===null){var ve=new Set;ve.add(I),s.updateQueue=ve}else pe.add(I);break e}else{if((s&1)===0){_y(y,$,s),rh();break e}I=Error(n(426))}}else if(nt&&N.mode&1){var dt=Py(k);if(dt!==null){(dt.flags&65536)===0&&(dt.flags|=256),Ay(dt,k,N,y,s),pd(Is(I,N));break e}}y=I=Is(I,N),bt!==4&&(bt=2),Zo===null?Zo=[y]:Zo.push(y),y=k;do{switch(y.tag){case 3:y.flags|=65536,s&=-s,y.lanes|=s;var V=Ty(y,I,s);Jg(y,V);break e;case 1:N=I;var M=y.type,U=y.stateNode;if((y.flags&128)===0&&(typeof M.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(Wr===null||!Wr.has(U)))){y.flags|=65536,s&=-s,y.lanes|=s;var ne=Cy(y,N,s);Jg(y,ne);break e}}y=y.return}while(y!==null)}o0(u)}catch(xe){s=xe,mt===u&&u!==null&&(mt=u=u.return);continue}break}while(!0)}function i0(){var i=eu.current;return eu.current=Ql,i===null?Ql:i}function rh(){(bt===0||bt===3||bt===2)&&(bt=4),Et===null||(ji&268435455)===0&&(tu&268435455)===0||Gr(Et,Rt)}function au(i,s){var u=Ue;Ue|=2;var h=i0();(Et!==i||Rt!==s)&&(kr=null,Oi(i,s));do try{rC();break}catch(m){r0(i,m)}while(!0);if(gd(),Ue=u,eu.current=h,mt!==null)throw Error(n(261));return Et=null,Rt=0,bt}function rC(){for(;mt!==null;)s0(mt)}function iC(){for(;mt!==null&&!AE();)s0(mt)}function s0(i){var s=u0(i.alternate,i,vn);i.memoizedProps=i.pendingProps,s===null?o0(i):mt=s,Qd.current=null}function o0(i){var s=i;do{var u=s.alternate;if(i=s.return,(s.flags&32768)===0){if(u=YT(u,s,vn),u!==null){mt=u;return}}else{if(u=XT(u,s),u!==null){u.flags&=32767,mt=u;return}if(i!==null)i.flags|=32768,i.subtreeFlags=0,i.deletions=null;else{bt=6,mt=null;return}}if(s=s.sibling,s!==null){mt=s;return}mt=s=i}while(s!==null);bt===0&&(bt=5)}function Di(i,s,u){var h=Ke,m=Pn.transition;try{Pn.transition=null,Ke=1,sC(i,s,u,h)}finally{Pn.transition=m,Ke=h}return null}function sC(i,s,u,h){do Ms();while(Kr!==null);if((Ue&6)!==0)throw Error(n(327));u=i.finishedWork;var m=i.finishedLanes;if(u===null)return null;if(i.finishedWork=null,i.finishedLanes=0,u===i.current)throw Error(n(177));i.callbackNode=null,i.callbackPriority=0;var y=u.lanes|u.childLanes;if(BE(i,y),i===Et&&(mt=Et=null,Rt=0),(u.subtreeFlags&2064)===0&&(u.flags&2064)===0||ru||(ru=!0,c0(dl,function(){return Ms(),null})),y=(u.flags&15990)!==0,(u.subtreeFlags&15990)!==0||y){y=Pn.transition,Pn.transition=null;var k=Ke;Ke=1;var N=Ue;Ue|=4,Qd.current=null,ZT(i,u),Yy(u,i),TT(rd),vl=!!nd,rd=nd=null,i.current=u,eC(u),NE(),Ue=N,Ke=k,Pn.transition=y}else i.current=u;if(ru&&(ru=!1,Kr=i,iu=m),y=i.pendingLanes,y===0&&(Wr=null),IE(u.stateNode),nn(i,ct()),s!==null)for(h=i.onRecoverableError,u=0;u<s.length;u++)m=s[u],h(m.value,{componentStack:m.stack,digest:m.digest});if(nu)throw nu=!1,i=Xd,Xd=null,i;return(iu&1)!==0&&i.tag!==0&&Ms(),y=i.pendingLanes,(y&1)!==0?i===Jd?ea++:(ea=0,Jd=i):ea=0,Ur(),null}function Ms(){if(Kr!==null){var i=Qm(iu),s=Pn.transition,u=Ke;try{if(Pn.transition=null,Ke=16>i?16:i,Kr===null)var h=!1;else{if(i=Kr,Kr=null,iu=0,(Ue&6)!==0)throw Error(n(331));var m=Ue;for(Ue|=4,fe=i.current;fe!==null;){var y=fe,k=y.child;if((fe.flags&16)!==0){var N=y.deletions;if(N!==null){for(var I=0;I<N.length;I++){var $=N[I];for(fe=$;fe!==null;){var Q=fe;switch(Q.tag){case 0:case 11:case 15:Xo(8,Q,y)}var J=Q.child;if(J!==null)J.return=Q,fe=J;else for(;
vendor: 6,098 bytes, line 40
40fe!==null;){Q=fe;var K=Q.sibling,ce=Q.return;if(qy(Q),Q===$){fe=null;break}if(K!==null){K.return=ce,fe=K;break}fe=ce}}}var pe=y.alternate;if(pe!==null){var ve=pe.child;if(ve!==null){pe.child=null;do{var dt=ve.sibling;ve.sibling=null,ve=dt}while(ve!==null)}}fe=y}}if((y.subtreeFlags&2064)!==0&&k!==null)k.return=y,fe=k;else e:for(;fe!==null;){if(y=fe,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:Xo(9,y,y.return)}var V=y.sibling;if(V!==null){V.return=y.return,fe=V;break e}fe=y.return}}var M=i.current;for(fe=M;fe!==null;){k=fe;var U=k.child;if((k.subtreeFlags&2064)!==0&&U!==null)U.return=k,fe=U;else e:for(k=M;fe!==null;){if(N=fe,(N.flags&2048)!==0)try{switch(N.tag){case 0:case 11:case 15:Zl(9,N)}}catch(xe){at(N,N.return,xe)}if(N===k){fe=null;break e}var ne=N.sibling;if(ne!==null){ne.return=N.return,fe=ne;break e}fe=N.return}}if(Ue=m,Ur(),Jn&&typeof Jn.onPostCommitFiberRoot=="function")try{Jn.onPostCommitFiberRoot(hl,i)}catch{}h=!0}return h}finally{Ke=u,Pn.transition=s}}return!1}function a0(i,s,u){s=Is(u,s),s=Ty(i,s,1),i=Hr(i,s,1),s=Qt(),i!==null&&(Eo(i,1,s),nn(i,s))}function at(i,s,u){if(i.tag===3)a0(i,i,u);else for(;s!==null;){if(s.tag===3){a0(s,i,u);break}else if(s.tag===1){var h=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Wr===null||!Wr.has(h))){i=Is(u,i),i=Cy(s,i,1),s=Hr(s,i,1),i=Qt(),s!==null&&(Eo(s,1,i),nn(s,i));break}}s=s.return}}function oC(i,s,u){var h=i.pingCache;h!==null&&h.delete(s),s=Qt(),i.pingedLanes|=i.suspendedLanes&u,Et===i&&(Rt&u)===u&&(bt===4||bt===3&&(Rt&130023424)===Rt&&500>ct()-Yd?Oi(i,0):Gd|=u),nn(i,s)}function l0(i,s){s===0&&((i.mode&1)===0?s=1:(s=pl,pl<<=1,(pl&130023424)===0&&(pl=4194304)));var u=Qt();i=xr(i,s),i!==null&&(Eo(i,s,u),nn(i,u))}function aC(i){var s=i.memoizedState,u=0;s!==null&&(u=s.retryLane),l0(i,u)}function lC(i,s){var u=0;switch(i.tag){case 13:var h=i.stateNode,m=i.memoizedState;m!==null&&(u=m.retryLane);break;case 19:h=i.stateNode;break;default:throw Error(n(314))}h!==null&&h.delete(s),l0(i,u)}var u0;u0=function(i,s,u){if(i!==null)if(i.memoizedProps!==s.pendingProps||Jt.current)en=!0;else{if((i.lanes&u)===0&&(s.flags&128)===0)return en=!1,GT(i,s,u);en=(i.flags&131072)!==0}else en=!1,nt&&(s.flags&1048576)!==0&&Ug(s,Ll,s.index);switch(s.lanes=0,s.tag){case 2:var h=s.type;Xl(i,s),i=s.pendingProps;var m=Ts(s,Lt.current);Rs(s,u),m=_d(null,s,h,i,m,u);var y=Pd();return s.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Zt(h)?(y=!0,Il(s)):y=!1,s.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,wd(s),m.updater=Gl,s.stateNode=m,m._reactInternals=s,Od(s,h,i,u),s=Fd(null,s,h,!0,y,u)):(s.tag=0,nt&&y&&cd(s),Kt(null,s,m,u),s=s.child),s;case 16:h=s.elementType;e:{switch(Xl(i,s),i=s.pendingProps,m=h._init,h=m(h._payload),s.type=h,m=s.tag=cC(h),i=Un(h,i),m){case 0:s=Md(null,s,h,i,u);break e;case 1:s=Dy(null,s,h,i,u);break e;case 11:s=Ny(null,s,h,i,u);break e;case 14:s=Ry(null,s,h,Un(h.type,i),u);break e}throw Error(n(306,h,""))}return s;case 0:return h=s.type,m=s.pendingProps,m=s.elementType===h?m:Un(h,m),Md(i,s,h,m,u);case 1:return h=s.type,m=s.pendingProps,m=s.elementType===h?m:Un(h,m),Dy(i,s,h,m,u);case 3:e:{if(Ly(s),i===null)throw Error(n(387));h=s.pendingProps,y=s.memoizedState,m=y.element,Xg(i,s),Ul(s,h,null,u);var k=s.memoizedState;if(h=k.element,y.isDehydrated)if(y={element:h,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},s.updateQueue.baseState=y,s.memoizedState=y,s.flags&256){m=Is(Error(n(423)),s),s=My(i,s,h,u,m);break e}else if(h!==m){m=Is(Error(n(424)),s),s=My(i,s,h,u,m);break e}else for(yn=Br(s.stateNode.containerInfo.firstChild),gn=s,nt=!0,Vn=null,u=Gg(s,null,h,u),s.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(Ps(),h===m){s=br(i,s,u);break e}Kt(i,s,h,u)}s=s.child}return s;case 5:return ey(s),i===null&&fd(s),h=s.type,m=s.pendingProps,y=i!==null?i.memoizedProps:null,k=m.children,id(h,m)?k=null:y!==null&&id(h,y)&&(s.flags|=32),Oy(i,s),Kt(i,s,k,u),s.child;case 6:return i===null&&fd(s),null;case 13:return Fy(i,s,u);case 4:return bd(s,s.stateNode.containerInfo),h=s.pendingProps,i===null?s.child=As(s,null,h,u):Kt(i,s,h,u),s.child;case 11:return h=s.type,m=s.pendingProps,m=s.elementType===h?m:Un(h,m),Ny(i,s,h,m,u);case 7:return Kt(i,s,s.pendingProps,u),s.child;case 8:return Kt(i,s,s.pendingProps.children,u),s.child;case 12:return Kt(i,s,s.pendingProps.children,u),s.child;case 10:e:{if(h=s.type._context,m=s.pendingProps,y=s.memoizedProps,k=m.value,Ge(Bl,h._currentValue),h._currentValue=k,y!==null)if(zn(y.value,k)){if(y.children===m.children&&!Jt.current){s=br(i,s,u);break e}}else for(y=s.child,y!==null&&(y.return=s);y!==null;){var N=y.dependencies;if(N!==null){k=y.child;for(var I=N.firstContext;I!==null;){if(I.context===h){if(y.tag===1){I=wr(-1,u&-u),I.tag=2;var $=y.updateQueue;if($!==null){$=$.shared;var Q=$.pending;Q===null?I.next=I:(I.next=Q.next,Q.next=I),$.pending=I}}y.lanes|=u,I=y.alternate,I!==null&&(I.lanes|=u),vd(y.return,u,s),N.lanes|=u;break}I=I.next}}else if(y.tag===10)k=y.type===s.type?null:y.child;else if(y.tag===18){if(k=y.return,k===null)throw Error(n(341));k.lanes|=u,N=k.alternate,N!==null&&(N.lanes|=u),vd(k,u,s),k=y.sibling}else k=y.child;if(k!==null)k.return=y;else for(k=y;k!==null;){if(k===s){k=null;break}if(y=k.sibling,y!==null){y.return=k.return,k=y;break}k=k.return}y=k}Kt(i,s,m.children,u),s=s.child}return s;case 9:return m=s.type,h=s.pendingProps.children,Rs(s,u),m=Cn(m),h=h(m),s.flags|=1,Kt(i,s,h,u),s.child;case 14:return h=s.type,m=Un(h,s.pendingProps),m=Un(h.type,m),Ry(i,s,h,m,u);case 15:return jy(i,s,s.type,s.pendingProps,u);case 17:return h=s.type,m=s.pendingProps,m=s.elementType===h?m:Un(h,m),Xl(i,s),s.tag=1,Zt(h)?(i=!0,Il(s)):i=!1,Rs(s,u),Sy(s,h,m),Od(s,h,m,u),Fd(null,s,h,!0,i,u);case 19:return zy(i,s,u);case 22:return Iy(i,s,u)}throw Error(n(156,s.tag))};function c0(i,s){return $m(i,s)}function uC(i,s,u,h){this.tag=i,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 9,250 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function An(i,s,u,h){return new uC(i,s,u,h)}function ih(i){return i=i.prototype,!(!i||!i.isReactComponent)}function cC(i){if(typeof i=="function")return ih(i)?1:0;if(i!=null){if(i=i.$$typeof,i===se)return 11;if(i===X)return 14}return 2}function Yr(i,s){var u=i.alternate;return u===null?(u=An(i.tag,s,i.key,i.mode),u.elementType=i.elementType,u.type=i.type,u.stateNode=i.stateNode,u.alternate=i,i.alternate=u):(u.pendingProps=s,u.type=i.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=i.flags&14680064,u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,s=i.dependencies,u.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},u.sibling=i.sibling,u.index=i.index,u.ref=i.ref,u}function lu(i,s,u,h,m,y){var k=2;if(h=i,typeof i=="function")ih(i)&&(k=1);else if(typeof i=="string")k=5;else e:switch(i){case W:return Li(u.children,m,y,s);case z:k=8,m|=8;break;case Y:return i=An(12,u,s,m|2),i.elementType=Y,i.lanes=y,i;case he:return i=An(13,u,s,m),i.elementType=he,i.lanes=y,i;case ie:return i=An(19,u,s,m),i.elementType=ie,i.lanes=y,i;case le:return uu(u,m,y,s);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case re:k=10;break e;case ee:k=9;break e;case se:k=11;break e;case X:k=14;break e;case ye:k=16,h=null;break e}throw Error(n(130,i==null?i:typeof i,""))}return s=An(k,u,s,m),s.elementType=i,s.type=h,s.lanes=y,s}function Li(i,s,u,h){return i=An(7,i,h,s),i.lanes=u,i}function uu(i,s,u,h){return i=An(22,i,h,s),i.elementType=le,i.lanes=u,i.stateNode={isHidden:!1},i}function sh(i,s,u){return i=An(6,i,null,s),i.lanes=u,i}function oh(i,s,u){return s=An(4,i.children!==null?i.children:[],i.key,s),s.lanes=u,s.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},s}function dC(i,s,u,h,m){this.tag=s,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ic(0),this.expirationTimes=Ic(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ic(0),this.identifierPrefix=h,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function ah(i,s,u,h,m,y,k,N,I){return i=new dC(i,s,u,N,I),s===1?(s=1,y===!0&&(s|=8)):s=0,y=An(3,null,null,s),i.current=y,y.stateNode=i,y.memoizedState={element:h,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null},wd(y),i}function hC(i,s,u){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:h==null?null:""+h,children:i,containerInfo:s,implementation:u}}function d0(i){if(!i)return Vr;i=i._reactInternals;e:{if(Ei(i)!==i||i.tag!==1)throw Error(n(170));var s=i;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(Zt(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(n(171))}if(i.tag===1){var u=i.type;if(Zt(u))return Bg(i,u,s)}return s}function h0(i,s,u,h,m,y,k,N,I){return i=ah(u,h,!0,i,m,y,k,N,I),i.context=d0(null),u=i.current,h=Qt(),m=Qr(u),y=wr(h,m),y.callback=s??null,Hr(u,y,m),i.current.lanes=m,Eo(i,m,h),nn(i,h),i}function cu(i,s,u,h){var m=s.current,y=Qt(),k=Qr(m);return u=d0(u),s.context===null?s.context=u:s.pendingContext=u,s=wr(y,k),s.payload={element:i},h=h===void 0?null:h,h!==null&&(s.callback=h),i=Hr(m,s,k),i!==null&&(qn(i,m,k,y),Vl(i,m,k)),k}function du(i){if(i=i.current,!i.child)return null;switch(i.child.tag){case 5:return i.child.stateNode;default:return i.child.stateNode}}function f0(i,s){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var u=i.retryLane;i.retryLane=u!==0&&u<s?u:s}}function lh(i,s){f0(i,s),(i=i.alternate)&&f0(i,s)}function fC(){return null}var p0=typeof reportError=="function"?reportError:function(i){console.error(i)};function uh(i){this._internalRoot=i}hu.prototype.render=uh.prototype.render=function(i){var s=this._internalRoot;if(s===null)throw Error(n(409));cu(i,s,null,null)},hu.prototype.unmount=uh.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var s=i.containerInfo;Ii(function(){cu(null,i,null,null)}),s[mr]=null}};function hu(i){this._internalRoot=i}hu.prototype.unstable_scheduleHydration=function(i){if(i){var s=Xm();i={blockedOn:null,target:i,priority:s};for(var u=0;u<Lr.length&&s!==0&&s<Lr[u].priority;u++);Lr.splice(u,0,i),u===0&&eg(i)}};function ch(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function fu(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function m0(){}function pC(i,s,u,h,m){if(m){if(typeof h=="function"){var y=h;h=function(){var $=du(k);y.call($)}}var k=h0(s,h,i,0,null,!1,!1,"",m0);return i._reactRootContainer=k,i[mr]=k.current,Fo(i.nodeType===8?i.parentNode:i),Ii(),k}for(;m=i.lastChild;)i.removeChild(m);if(typeof h=="function"){var N=h;h=function(){var $=du(I);N.call($)}}var I=ah(i,0,!1,null,null,!1,!1,"",m0);return i._reactRootContainer=I,i[mr]=I.current,Fo(i.nodeType===8?i.parentNode:i),Ii(function(){cu(s,I,u,h)}),I}function pu(i,s,u,h,m){var y=u._reactRootContainer;if(y){var k=y;if(typeof m=="function"){var N=m;m=function(){var I=du(k);N.call(I)}}cu(s,k,i,m)}else k=pC(u,s,i,m,h);return du(k)}Gm=function(i){switch(i.tag){case 3:var s=i.stateNode;if(s.current.memoizedState.isDehydrated){var u=So(s.pendingLanes);u!==0&&(Oc(s,u|1),nn(s,ct()),(Ue&6)===0&&(Ls=ct()+500,Ur()))}break;case 13:Ii(function(){var h=xr(i,1);if(h!==null){var m=Qt();qn(h,i,1,m)}}),lh(i,1)}},Dc=function(i){if(i.tag===13){var s=xr(i,134217728);if(s!==null){var u=Qt();qn(s,i,134217728,u)}lh(i,134217728)}},Ym=function(i){if(i.tag===13){var s=Qr(i),u=xr(i,s);if(u!==null){var h=Qt();qn(u,i,s,h)}lh(i,s)}},Xm=function(){return Ke},Jm=function(i,s){var u=Ke;try{return Ke=i,s()}finally{Ke=u}},_c=function(i,s,u){switch(s){case"input":if(pt(i,u),s=u.name,u.type==="radio"&&s!=null){for(u=i;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<u.length;s++){var h=u[s];if(h!==i&&h.form===i.form){var m=Rl(h);if(!m)throw Error(n(90));xt(h),pt(h,m)}}}break;case"textarea":al(i,u);break;case"select":s=u.value,s!=null&&Yn(i,!!u.multiple,s,!1)}},Lm=th,Mm=Ii;var mC={usingClientEntryPoint:!1,Events:[Vo,Ss,Rl,Om,Dm,th]},ta={findFiberByHostInstance:Ti,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},gC={bundleType:ta.bundleType,version:ta.version,rendererPackageName:ta.rendererPackageName,rendererConfig:ta.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:R.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return i=Vm(i),i===null?null:i.stateNode},findFiberByHostInstance:ta.findFiberByHostInstance||fC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var mu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!mu.isDisabled&&mu.supportsFiber)try{hl=mu.inject(gC),Jn=mu}catch{}}return rn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mC,rn.createPortal=function(i,s){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ch(s))throw Error(n(200));return hC(i,s,null,u)},rn.createRoot=function(i,s){if(!ch(i))throw Error(n(299));var u=!1,h="",m=p0;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onRecoverableError!==void 0&&(m=s.onRecoverableError)),s=ah(i,1,!1,null,null,u,!1,h,m),i[mr]=s.current,Fo(i.nodeType===8?i.parentNode:i),new uh(s)},rn.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var s=i._reactInternals;if(s===void 0)throw typeof i.render=="function"?Error(n(188)):(i=Object.keys(i).join(","),Error(n(268,i)));return i=Vm(s),i=i===null?null:i.stateNode,i},rn.flushSync=function(i){return Ii(i)},rn.hydrate=function(i,s,u){if(!fu(s))throw Error(n(200));return pu(null,i,s,!0,u)},rn.hydrateRoot=function(i,s,u){if(!ch(i))throw Error(n(405));var h=u!=null&&u.hydratedSources||null,m=!1,y="",k=p0;if(u!=null&&(u.unstable_strictMode===!0&&(m=!0),u.identifierPrefix!==void 0&&(y=u.identifierPrefix),u.onRecoverableError!==void 0&&(k=u.onRecoverableError)),s=h0(s,null,i,1,u??null,m,!1,y,k),i[mr]=s.current,Fo(i),h)for(i=0;i<h.length;i++)u=h[i],m=u._getVersion,m=m(u._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[u,m]:s.mutableSourceEagerHydrationData.push(u,m);return new hu(s)},rn.render=function(i,s,u){if(!fu(s))throw Error(n(200));return pu(null,i,s,!1,u)}
40,rn.unmountComponentAtNode=function(i){if(!fu(i))throw Error(n(40));return i._reactRootContainer?(Ii(function(){pu(null,null,i,!1,function(){i._reactRootContainer=null,i[mr]=null})}),!0):!1},rn.unstable_batchedUpdates=th,rn.unstable_renderSubtreeIntoContainer=function(i,s,u,h){if(!fu(u))throw Error(n(200));if(i==null||i._reactInternals===void 0)throw Error(n(38));return pu(i,s,u,!1,h)},rn.version="18.3.1-next-f1338f8080-20240426",rn}var E0;function Sb(){if(E0)return ph.exports;E0=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),ph.exports=PC(),ph.exports}var T0;function AC(){if(T0)return yu;T0=1;var e=Sb();return yu.createRoot=e.createRoot,yu.hydrateRoot=e.hydrateRoot,yu}var NC=AC();const RC=cc(NC),jC=20,IC=1e6,_r={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let yh=0;function OC(){return yh=(yh+1)%Number.MAX_VALUE,yh.toString()}const vh=new Map,C0=e=>{if(vh.has(e))return;const t=setTimeout(()=>{vh.delete(e),ba({type:_r.REMOVE_TOAST,toastId:e})},IC);vh.set(e,t)},DC=(e,t)=>{switch(t.type){case _r.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,jC)};case _r.UPDATE_TOAST:return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case _r.DISMISS_TOAST:{const{toastId:n}=t;return n?C0(n):e.toasts.forEach(r=>{C0(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case _r.REMOVE_TOAST:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Lu=[];let Mu={toasts:[]};function ba(e){Mu=DC(Mu,e),Lu.forEach(t=>{t(Mu)})}function LC({...e}){const t=OC(),n=o=>ba({type:_r.UPDATE_TOAST,toast:{...o,id:t}}),r=()=>ba({type:_r.DISMISS_TOAST,toastId:t});return ba({type:_r.ADD_TOAST,toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function MC(){const[e,t]=F.useState(Mu);return F.useEffect(()=>(Lu.push(t),()=>{const n=Lu.indexOf(t);n>-1&&Lu.splice(n,1)}),[e]),{...e,toast:LC,dismiss:n=>ba({type:_r.DISMISS_TOAST,toastId:n})}}function Eb(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Eb(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Tb(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Eb(e))&&(r&&(r+=" "),r+=t);return r}const _0=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,P0=Tb,FC=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return P0(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:a}=t,l=Object.keys(o).map(f=>{const p=n==null?void 0:n[f],g=a==null?void 0:a[f];if(p===null)return null;const v=_0(p)||_0(g);return o[f][v]}),c=n&&Object.entries(n).reduce((f,p)=>{let[g,v]=p;return v===void 0||(f[g]=v),f},{}),d=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,p)=>{let{class:g,className:v,...w}=p;return Object.entries(w).every(C=>{let[T,S]=C;return Array.isArray(S)?S.includes({...a,...c}[T]):{...a,...c}[T]===S})?[...f,g,v]:f},[]);return P0(e,l,d,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 BC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Cb=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===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 zC={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 VC=F.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:l,...c},d)=>F.createElement("svg",{ref:d,...zC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Cb("lucide",o),...c},[...l.map(([f,p])=>F.createElement(f,p)),...Array.isArray(a)?a:[a]]));/**
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 fr=(e,t)=>{const n=F.forwardRef(({className:r,...o},a)=>F.createElement(VC,{ref:a,iconNode:t,className:Cb(`lucide-${BC(e)}`,r),...o}));return n.displayName=`${e}`,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 UC=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],_b=fr("ArrowLeft",UC);/**
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 $C=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],us=fr("ArrowRight",$C);/**
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 HC=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],qC=fr("ExternalLink",HC);/**
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 WC=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],KC=fr("Facebook",WC);/**
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 QC=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],GC=fr("Linkedin",QC);/**
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 YC=[["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"}]],XC=fr("Menu",YC);/**
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 JC=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],ZC=fr("MessageCircle",JC);/**
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 e_=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],A0=fr("TriangleAlert",e_);/**
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 t_=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],n_=fr("Twitter",t_);/**
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 r_=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 8,405 bytes, line 110
110],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Pb=fr("X",r_),i_=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},s_=(e,t)=>({classGroupId:e,validator:t}),Ab=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Gu="-",N0=[],o_="arbitrary..",a_=e=>{const t=u_(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return l_(l);const c=l.split(Gu),d=c[0]===""&&c.length>1?1:0;return Nb(c,d,t)},getConflictingClassGroupIds:(l,c)=>{if(c){const d=r[l],f=n[l];return d?f?i_(f,d):d:f||N0}return n[l]||N0}}},Nb=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],a=n.nextPart.get(o);if(a){const f=Nb(e,t+1,a);if(f)return f}const l=n.validators;if(l===null)return;const c=t===0?e.join(Gu):e.slice(t).join(Gu),d=l.length;for(let f=0;f<d;f++){const p=l[f];if(p.validator(c))return p.classGroupId}},l_=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?o_+r:void 0})(),u_=e=>{const{theme:t,classGroups:n}=e;return c_(n,t)},c_=(e,t)=>{const n=Ab();for(const r in e){const o=e[r];gp(o,n,r,t)}return n},gp=(e,t,n,r)=>{const o=e.length;for(let a=0;a<o;a++){const l=e[a];d_(l,t,n,r)}},d_=(e,t,n,r)=>{if(typeof e=="string"){h_(e,t,n);return}if(typeof e=="function"){f_(e,t,n,r);return}p_(e,t,n,r)},h_=(e,t,n)=>{const r=e===""?t:Rb(t,e);r.classGroupId=n},f_=(e,t,n,r)=>{if(m_(e)){gp(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(s_(n,e))},p_=(e,t,n,r)=>{const o=Object.entries(e),a=o.length;for(let l=0;l<a;l++){const[c,d]=o[l];gp(d,Rb(t,c),n,r)}},Rb=(e,t)=>{let n=e;const r=t.split(Gu),o=r.length;for(let a=0;a<o;a++){const l=r[a];let c=n.nextPart.get(l);c||(c=Ab(),n.nextPart.set(l,c)),n=c}return n},m_=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,g_=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(a,l)=>{n[a]=l,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(a){let l=n[a];if(l!==void 0)return l;if((l=r[a])!==void 0)return o(a,l),l},set(a,l){a in n?n[a]=l:o(a,l)}}},pf="!",R0=":",y_=[],j0=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),v_=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const a=[];let l=0,c=0,d=0,f;const p=o.length;for(let T=0;T<p;T++){const S=o[T];if(l===0&&c===0){if(S===R0){a.push(o.slice(d,T)),d=T+1;continue}if(S==="/"){f=T;continue}}S==="["?l++:S==="]"?l--:S==="("?c++:S===")"&&c--}const g=a.length===0?o:o.slice(d);let v=g,w=!1;g.endsWith(pf)?(v=g.slice(0,-1),w=!0):g.startsWith(pf)&&(v=g.slice(1),w=!0);const C=f&&f>d?f-d:void 0;return j0(a,w,v,C)};if(t){const o=t+R0,a=r;r=l=>l.startsWith(o)?a(l.slice(o.length)):j0(y_,!1,l,void 0,!0)}if(n){const o=r;r=a=>n({className:a,parseClassName:o})}return r},x_=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let a=0;a<n.length;a++){const l=n[a],c=l[0]==="[",d=t.has(l);c||d?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(l)):o.push(l)}return o.length>0&&(o.sort(),r.push(...o)),r}},w_=e=>({cache:g_(e.cacheSize),parseClassName:v_(e),sortModifiers:x_(e),...a_(e)}),b_=/\s+/,k_=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=t,l=[],c=e.trim().split(b_);let d="";for(let f=c.length-1;f>=0;f-=1){const p=c[f],{isExternal:g,modifiers:v,hasImportantModifier:w,baseClassName:C,maybePostfixModifierPosition:T}=n(p);if(g){d=p+(d.length>0?" "+d:d);continue}let S=!!T,b=r(S?C.substring(0,T):C);if(!b){if(!S){d=p+(d.length>0?" "+d:d);continue}if(b=r(C),!b){d=p+(d.length>0?" "+d:d);continue}S=!1}const P=v.length===0?"":v.length===1?v[0]:a(v).join(":"),_=w?P+pf:P,R=_+b;if(l.indexOf(R)>-1)continue;l.push(R);const B=o(b,S);for(let j=0;j<B.length;++j){const W=B[j];l.push(_+W)}d=p+(d.length>0?" "+d:d)}return d},S_=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=jb(n))&&(o&&(o+=" "),o+=r);return o},jb=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=jb(e[r]))&&(n&&(n+=" "),n+=t);return n},E_=(e,...t)=>{let n,r,o,a;const l=d=>{const f=t.reduce((p,g)=>g(p),e());return n=w_(f),r=n.cache.get,o=n.cache.set,a=c,c(d)},c=d=>{const f=r(d);if(f)return f;const p=k_(d,n);return o(d,p),p};return a=l,(...d)=>a(S_(...d))},T_=[],kt=e=>{const t=n=>n[e]||T_;return t.isThemeGetter=!0,t},Ib=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ob=/^\((?:(\w[\w-]*):)?(.+)\)$/i,C_=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,__=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,P_=/\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$/,A_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,N_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,R_=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jr=e=>C_.test(e),De=e=>!!e&&!Number.isNaN(Number(e)),Zr=e=>!!e&&Number.isInteger(Number(e)),xh=e=>e.endsWith("%")&&De(e.slice(0,-1)),Sr=e=>__.test(e),Db=()=>!0,j_=e=>P_.test(e)&&!A_.test(e),yp=()=>!1,I_=e=>N_.test(e),O_=e=>R_.test(e),D_=e=>!me(e)&&!ge(e),L_=e=>xi(e,Fb,yp),me=e=>Ib.test(e),Mi=e=>xi(e,Bb,j_),I0=e=>xi(e,H_,De),M_=e=>xi(e,Vb,Db),F_=e=>xi(e,zb,yp),O0=e=>xi(e,Lb,yp),B_=e=>xi(e,Mb,O_),vu=e=>xi(e,Ub,I_),ge=e=>Ob.test(e),ra=e=>cs(e,Bb),z_=e=>cs(e,zb),D0=e=>cs(e,Lb),V_=e=>cs(e,Fb),U_=e=>cs(e,Mb),xu=e=>cs(e,Ub,!0),$_=e=>cs(e,Vb,!0),xi=(e,t,n)=>{const r=Ib.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},cs=(e,t,n=!1)=>{const r=Ob.exec(e);return r?r[1]?t(r[1]):n:!1},Lb=e=>e==="position"||e==="percentage",Mb=e=>e==="image"||e==="url",Fb=e=>e==="length"||e==="size"||e==="bg-size",Bb=e=>e==="length",H_=e=>e==="number",zb=e=>e==="family-name",Vb=e=>e==="number"||e==="weight",Ub=e=>e==="shadow",q_=()=>{const e=kt("color"),t=kt("font"),n=kt("text"),r=kt("font-weight"),o=kt("tracking"),a=kt("leading"),l=kt("breakpoint"),c=kt("container"),d=kt("spacing"),f=kt("radius"),p=kt("shadow"),g=kt("inset-shadow"),v=kt("text-shadow"),w=kt("drop-shadow"),C=kt("blur"),T=kt("perspective"),S=kt("aspect"),b=kt("ease"),P=kt("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...R(),ge,me],j=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],z=()=>[ge,me,d],Y=()=>[Jr,"full","auto",...z()],re=()=>[Zr,"none","subgrid",ge,me],ee=()=>["auto",{span:["full",Zr,ge,me]},Zr,ge,me],se=()=>[Zr,"auto",ge,me],he=()=>["auto","min","max","fr",ge,me],ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],X=()=>["start","end","center","stretch","center-safe","end-safe"],ye=()=>["auto",...z()],le=()=>[Jr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...z()],G=()=>[Jr,"screen","full","dvw","lvw","svw","min","max","fit",...z()],ue=()=>[Jr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...z()],E=()=>[e,ge,me],O=()=>[...R(),D0,O0,{position:[ge,me]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",V_,L_,{size:[ge,me]}],we=()=>[xh,ra,Mi],be=()=>["","none","full",f,ge,me],Z=()=>["",De,ra,Mi],Ce=()=>["solid","dashed","dotted","double"],Ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>[De,xh,D0,O0],Je=()=>["","none",C,ge,me],_t=()=>["none",De,ge,me],xt=()=>["none",De,ge,me],hn=()=>[De,ge,me],Yt=()=>[Jr,"full",...z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Sr],breakpoint:[Sr],color:[Db],container:[Sr],"drop-shadow":[Sr],ease:["in","out","in-out"],font:[D_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Sr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Sr],shadow:[Sr],spacing:["px",De],text:[Sr],"text-shadow":[Sr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Jr,me,ge,S]}
vendor: 6,126 bytes, line 110
110],container:["container"],columns:[{columns:[De,me,ge,c]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:B()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{"inset-s":Y(),start:Y()}],end:[{"inset-e":Y(),end:Y()}],"inset-bs":[{"inset-bs":Y()}],"inset-be":[{"inset-be":Y()}],top:[{top:Y()}],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[Zr,"auto",ge,me]}],basis:[{basis:[Jr,"full","auto",c,...z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[De,Jr,"auto","initial","none",me]}],grow:[{grow:["",De,ge,me]}],shrink:[{shrink:["",De,ge,me]}],order:[{order:[Zr,"first","last","none",ge,me]}],"grid-cols":[{"grid-cols":re()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":re()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":he()}],"auto-rows":[{"auto-rows":he()}],gap:[{gap:z()}],"gap-x":[{"gap-x":z()}],"gap-y":[{"gap-y":z()}],"justify-content":[{justify:[...ie(),"normal"]}],"justify-items":[{"justify-items":[...X(),"normal"]}],"justify-self":[{"justify-self":["auto",...X()]}],"align-content":[{content:["normal",...ie()]}],"align-items":[{items:[...X(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...X(),{baseline:["","last"]}]}],"place-content":[{"place-content":ie()}],"place-items":[{"place-items":[...X(),"baseline"]}],"place-self":[{"place-self":["auto",...X()]}],p:[{p:z()}],px:[{px:z()}],py:[{py:z()}],ps:[{ps:z()}],pe:[{pe:z()}],pbs:[{pbs:z()}],pbe:[{pbe:z()}],pt:[{pt:z()}],pr:[{pr:z()}],pb:[{pb:z()}],pl:[{pl:z()}],m:[{m:ye()}],mx:[{mx:ye()}],my:[{my:ye()}],ms:[{ms:ye()}],me:[{me:ye()}],mbs:[{mbs:ye()}],mbe:[{mbe:ye()}],mt:[{mt:ye()}],mr:[{mr:ye()}],mb:[{mb:ye()}],ml:[{ml:ye()}],"space-x":[{"space-x":z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":z()}],"space-y-reverse":["space-y-reverse"],size:[{size:le()}],"inline-size":[{inline:["auto",...G()]}],"min-inline-size":[{"min-inline":["auto",...G()]}],"max-inline-size":[{"max-inline":["none",...G()]}],"block-size":[{block:["auto",...ue()]}],"min-block-size":[{"min-block":["auto",...ue()]}],"max-block-size":[{"max-block":["none",...ue()]}],w:[{w:[c,"screen",...le()]}],"min-w":[{"min-w":[c,"screen","none",...le()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...le()]}],h:[{h:["screen","lh",...le()]}],"min-h":[{"min-h":["screen","lh","none",...le()]}],"max-h":[{"max-h":["screen","lh",...le()]}],"font-size":[{text:["base",n,ra,Mi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,$_,M_]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xh,me]}],"font-family":[{font:[z_,F_,t]}],"font-features":[{"font-features":[me]}],"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,ge,me]}],"line-clamp":[{"line-clamp":[De,"none",ge,I0]}],leading:[{leading:[a,...z()]}],"list-image":[{"list-image":["none",ge,me]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ge,me]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:E()}],"text-color":[{text:E()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[De,"from-font","auto",ge,Mi]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[De,"auto",ge,me]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge,me]}],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",ge,me]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:O()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Zr,ge,me],radial:["",ge,me],conic:[Zr,ge,me]},U_,B_]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:we()}
vendor: 7,387 bytes, line 110
110],"gradient-via-pos":[{via:we()}],"gradient-to-pos":[{to:we()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:be()}],"rounded-s":[{"rounded-s":be()}],"rounded-e":[{"rounded-e":be()}],"rounded-t":[{"rounded-t":be()}],"rounded-r":[{"rounded-r":be()}],"rounded-b":[{"rounded-b":be()}],"rounded-l":[{"rounded-l":be()}],"rounded-ss":[{"rounded-ss":be()}],"rounded-se":[{"rounded-se":be()}],"rounded-ee":[{"rounded-ee":be()}],"rounded-es":[{"rounded-es":be()}],"rounded-tl":[{"rounded-tl":be()}],"rounded-tr":[{"rounded-tr":be()}],"rounded-br":[{"rounded-br":be()}],"rounded-bl":[{"rounded-bl":be()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-bs":[{"border-bs":Z()}],"border-w-be":[{"border-be":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ce(),"hidden","none"]}],"divide-style":[{divide:[...Ce(),"hidden","none"]}],"border-color":[{border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{"border-e":E()}],"border-color-bs":[{"border-bs":E()}],"border-color-be":[{"border-be":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{outline:[...Ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[De,ge,me]}],"outline-w":[{outline:["",De,ra,Mi]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",p,xu,vu]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",g,xu,vu]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[De,Mi]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",v,xu,vu]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[De,ge,me]}],"mix-blend":[{"mix-blend":[...Ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ie()}],"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":[De]}],"mask-image-linear-from-pos":[{"mask-linear-from":ke()}],"mask-image-linear-to-pos":[{"mask-linear-to":ke()}],"mask-image-linear-from-color":[{"mask-linear-from":E()}],"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{"mask-t-from":ke()}],"mask-image-t-to-pos":[{"mask-t-to":ke()}],"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":ke()}],"mask-image-r-to-pos":[{"mask-r-to":ke()}],"mask-image-r-from-color":[{"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],"mask-image-b-from-pos":[{"mask-b-from":ke()}],"mask-image-b-to-pos":[{"mask-b-to":ke()}],"mask-image-b-from-color":[{"mask-b-from":E()}],"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{"mask-l-from":ke()}],"mask-image-l-to-pos":[{"mask-l-to":ke()}],"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":ke()}],"mask-image-x-to-pos":[{"mask-x-to":ke()}],"mask-image-x-from-color":[{"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],"mask-image-y-from-pos":[{"mask-y-from":ke()}],"mask-image-y-to-pos":[{"mask-y-to":ke()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[ge,me]}],"mask-image-radial-from-pos":[{"mask-radial-from":ke()}],"mask-image-radial-to-pos":[{"mask-radial-to":ke()}],"mask-image-radial-from-color":[{"mask-radial-from":E()}],"mask-image-radial-to-color":[{"mask-radial-to":E()}],"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":R()}],"mask-image-conic-pos":[{"mask-conic":[De]}],"mask-image-conic-from-pos":[{"mask-conic-from":ke()}],"mask-image-conic-to-pos":[{"mask-conic-to":ke()}],"mask-image-conic-from-color":[{"mask-conic-from":E()}],"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ge,me]}],filter:[{filter:["","none",ge,me]}],blur:[{blur:Je()}],brightness:[{brightness:[De,ge,me]}],contrast:[{contrast:[De,ge,me]}],"drop-shadow":[{"drop-shadow":["","none",w,xu,vu]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",De,ge,me]}],"hue-rotate":[{"hue-rotate":[De,ge,me]}],invert:[{invert:["",De,ge,me]}],saturate:[{saturate:[De,ge,me]}],sepia:[{sepia:["",De,ge,me]}],"backdrop-filter":[{"backdrop-filter":["","none",ge,me]}],"backdrop-blur":[{"backdrop-blur":Je()}],"backdrop-brightness":[{"backdrop-brightness":[De,ge,me]}],"backdrop-contrast":[{"backdrop-contrast":[De,ge,me]}],"backdrop-grayscale":[{"backdrop-grayscale":["",De,ge,me]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[De,ge,me]}],"backdrop-invert":[{"backdrop-invert":["",De,ge,me]}],"backdrop-opacity":[{"backdrop-opacity":[De,ge,me]}],"backdrop-saturate":[{"backdrop-saturate":[De,ge,me]}],"backdrop-sepia":[{"backdrop-sepia":["",De,ge,me]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":z()}],"border-spacing-x":[{"border-spacing-x":z()}],"border-spacing-y":[{"border-spacing-y":z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ge,me]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[De,"initial",ge,me]}],ease:[{ease:["linear","initial",b,ge,me]}],delay:[{delay:[De,ge,me]}],animate:[{animate:["none",P,ge,me]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,ge,me]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:_t()}],"rotate-x":[{"rotate-x":_t()}],"rotate-y":[{"rotate-y":_t()}],"rotate-z":[{"rotate-z":_t()}],scale:[{scale:xt()}],"scale-x":[{"scale-x":xt()}],"scale-y":[{"scale-y":xt()}],"scale-z":[{"scale-z":xt()}],"scale-3d":["scale-3d"],skew:[{skew:hn()}],"skew-x":[{"skew-x":hn()}],"skew-y":[{"skew-y":hn()}],transform:[{transform:[ge,me,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Yt()}],"translate-x":[{"translate-x":Yt()}],"translate-y":[{"translate-y":Yt()}],"translate-z":[{"translate-z":Yt()}],"translate-none":["translate-none"],accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:E()}
vendor: 6,955 bytes, line 110
110],"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",ge,me]}],"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":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mbs":[{"scroll-mbs":z()}],"scroll-mbe":[{"scroll-mbe":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pbs":[{"scroll-pbs":z()}],"scroll-pbe":[{"scroll-pbe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"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",ge,me]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[De,ra,Mi,I0]}],stroke:[{stroke:["none",...E()]}],"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"]}},W_=E_(q_);function Wa(...e){return W_(Tb(e))}const $b=F.forwardRef(({...e},t)=>x.jsx("div",{ref:t,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]",...e}));$b.displayName="ToastProvider";const Hb=F.forwardRef(({...e},t)=>x.jsx("div",{ref:t,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]",...e}));Hb.displayName="ToastViewport";const K_=FC("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"}}),qb=F.forwardRef(({className:e,variant:t,...n},r)=>x.jsx("div",{ref:r,className:Wa(K_({variant:t}),e),...n}));qb.displayName="Toast";const Q_=F.forwardRef(({className:e,...t},n)=>x.jsx("div",{ref:n,className:Wa("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",e),...t}));Q_.displayName="ToastAction";const Wb=F.forwardRef(({className:e,...t},n)=>x.jsx("button",{ref:n,className:Wa("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 4,734 bytes, line 110
110/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",e),"toast-close":"",...t,children:x.jsx(Pb,{className:"h-4 w-4"})}));Wb.displayName="ToastClose";const Kb=F.forwardRef(({className:e,...t},n)=>x.jsx("div",{ref:n,className:Wa("text-sm font-semibold",e),...t}));Kb.displayName="ToastTitle";const Qb=F.forwardRef(({className:e,...t},n)=>x.jsx("div",{ref:n,className:Wa("text-sm opacity-90",e),...t}));Qb.displayName="ToastDescription";function G_(){const{toasts:e}=MC();return x.jsxs($b,{children:[e.map(function({id:t,title:n,description:r,action:o,...a}){return x.jsxs(qb,{...a,children:[x.jsxs("div",{className:"grid gap-1",children:[n&&x.jsx(Kb,{children:n}),r&&x.jsx(Qb,{children:r})]}),o,x.jsx(Wb,{})]},t)}),x.jsx(Hb,{})]})}var Ka=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Y_={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},si,pp,hb,X_=(hb=class{constructor(){Te(this,si,Y_);Te(this,pp,!1)}setTimeoutProvider(e){de(this,si,e)}setTimeout(e,t){return D(this,si).setTimeout(e,t)}clearTimeout(e){D(this,si).clearTimeout(e)}setInterval(e,t){return D(this,si).setInterval(e,t)}clearInterval(e){D(this,si).clearInterval(e)}},si=new WeakMap,pp=new WeakMap,hb),$i=new X_;function J_(e){setTimeout(e,0)}var ss=typeof window>"u"||"Deno"in globalThis;function an(){}function Z_(e,t){return typeof e=="function"?e(t):e}function mf(e){return typeof e=="number"&&e>=0&&e!==1/0}function Gb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function pi(e,t){return typeof e=="function"?e(t):e}function In(e,t){return typeof e=="function"?e(t):e}function L0(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:a,queryKey:l,stale:c}=e;if(l){if(r){if(t.queryHash!==vp(l,t.options))return!1}else if(!Ra(t.queryKey,l))return!1}if(n!=="all"){const d=t.isActive();if(n==="active"&&!d||n==="inactive"&&d)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||o&&o!==t.state.fetchStatus||a&&!a(t))}function M0(e,t){const{exact:n,status:r,predicate:o,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Na(t.options.mutationKey)!==Na(a))return!1}else if(!Ra(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function vp(e,t){return((t==null?void 0:t.queryKeyHashFn)||Na)(e)}function Na(e){return JSON.stringify(e,(t,n)=>yf(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ra(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ra(e[n],t[n])):!1}var eP=Object.prototype.hasOwnProperty;function Yb(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=F0(e)&&F0(t);if(!r&&!(yf(e)&&yf(t)))return t;const a=(r?e:Object.keys(e)).length,l=r?t:Object.keys(t),c=l.length,d=r?new Array(c):{};let f=0;for(let p=0;p<c;p++){const g=r?p:l[p],v=e[g],w=t[g];if(v===w){d[g]=v,(r?p<a:eP.call(e,g))&&f++;continue}if(v===null||w===null||typeof v!="object"||typeof w!="object"){d[g]=w;continue}const C=Yb(v,w,n+1);d[g]=C,C===v&&f++}return a===c&&f===a?e:d}function gf(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function F0(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function yf(e){if(!B0(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!B0(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function B0(e){return Object.prototype.toString.call(e)==="[object Object]"}function tP(e){return new Promise(t=>{$i.setTimeout(t,e)})}function vf(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Yb(e,t):t}function nP(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function rP(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var xp=Symbol();function Xb(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===xp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Jb(e,t){return typeof e=="function"?e(...t):!!e}function iP(e,t,n){let r=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??(o=t()),r||(r=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),e}
vendor: 1,556 bytes, line 110
110var Wi,oi,Gs,fb,sP=(fb=class extends Ka{constructor(){super();Te(this,Wi);Te(this,oi);Te(this,Gs);de(this,Gs,t=>{if(!ss&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){D(this,oi)||this.setEventListener(D(this,Gs))}onUnsubscribe(){var t;this.hasListeners()||((t=D(this,oi))==null||t.call(this),de(this,oi,void 0))}setEventListener(t){var n;de(this,Gs,t),(n=D(this,oi))==null||n.call(this),de(this,oi,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){D(this,Wi)!==t&&(de(this,Wi,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof D(this,Wi)=="boolean"?D(this,Wi):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Wi=new WeakMap,oi=new WeakMap,Gs=new WeakMap,fb),wp=new sP;function xf(){let e,t;const n=new Promise((o,a)=>{e=o,t=a});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}var oP=J_;function aP(){let e=[],t=0,n=c=>{c()},r=c=>{c()},o=oP;const a=c=>{t?e.push(c):o(()=>{n(c)})},l=()=>{const c=e;e=[],c.length&&o(()=>{r(()=>{c.forEach(d=>{n(d)})})})};return{batch:c=>{let d;t++;try{d=c()}finally{t--,t||l()}return d},batchCalls:c=>(...d)=>{a(()=>{c(...d)})},schedule:a,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{o=c}}}
110var Ot=aP(),Ys,ai,Xs,pb,lP=(pb=class extends Ka{constructor(){super();Te(this,Ys,!0);Te(this,ai);Te(this,Xs);de(this,Xs,t=>{if(!ss&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){D(this,ai)||this.setEventListener(D(this,Xs))}onUnsubscribe(){var t;this.hasListeners()||((t=D(this,ai))==null||t.call(this),de(this,ai,void 0))}setEventListener(t){var n;de(this,Xs,t),(n=D(this,ai))==null||n.call(this),de(this,ai,t(this.setOnline.bind(this)))}setOnline(t){D(this,Ys)!==t&&(de(this,Ys,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return D(this,Ys)}},Ys=new WeakMap,ai=new WeakMap,Xs=new WeakMap,pb),Yu=new lP;function uP(e){return Math.min(1e3*2**e,3e4)}function Zb(e){return(e??"online")==="online"?Yu.isOnline():!0}var wf=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function e1(e){let t=!1,n=0,r;const o=xf(),a=()=>o.status!=="pending",l=T=>{var S;if(!a()){const b=new wf(T);v(b),(S=e.onCancel)==null||S.call(e,b)}},c=()=>{t=!0},d=()=>{t=!1},f=()=>wp.isFocused()&&(e.networkMode==="always"||Yu.isOnline())&&e.canRun(),p=()=>Zb(e.networkMode)&&e.canRun(),g=T=>{a()||(r==null||r(),o.resolve(T))},v=T=>{a()||(r==null||r(),o.reject(T))},w=()=>new Promise(T=>{var S;r=b=>{(a()||f())&&T(b)},(S=e.onPause)==null||S.call(e)}).then(()=>{var T;r=void 0,a()||(T=e.onContinue)==null||T.call(e)}),C=()=>{if(a())return;let T;const S=n===0?e.initialPromise:void 0;try{T=S??e.fn()}catch(b){T=Promise.reject(b)}Promise.resolve(T).then(g).catch(b=>{var j;if(a())return;const P=e.retry??(ss?0:3),_=e.retryDelay??uP,R=typeof _=="function"?_(n,b):_,B=P===!0||typeof P=="number"&&n<P||typeof P=="function"&&P(n,b);if(t||!B){v(b);return}n++,(j=e.onFail)==null||j.call(e,n,b),tP(R).then(()=>f()?void 0:w()).then(()=>{t?v(b):C()})})};return{promise:o,status:()=>o.status,cancel:l,continue:()=>(r==null||r(),o),cancelRetry:c,continueRetry:d,canStart:p,start:()=>(p()?C():w().then(C),o)}}var Ki,mb,t1=(mb=class{constructor(){Te(this,Ki)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mf(this.gcTime)&&de(this,Ki,$i.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ss?1/0:300*1e3))}clearGcTimeout(){D(this,Ki)&&($i.clearTimeout(D(this,Ki)),de(this,Ki,void 0))}},Ki=new WeakMap,mb),Qi,Js,jn,Gi,Ct,Va,Yi,Kn,Er,gb,cP=(gb=class extends t1{constructor(t){super();Te(this,Kn);Te(this,Qi);Te(this,Js);Te(this,jn);Te(this,Gi);Te(this,Ct);Te(this,Va);Te(this,Yi);de(this,Yi,!1),de(this,Va,t.defaultOptions),this.setOptions(t.options),this.observers=[],de(this,Gi,t.client),de(this,jn,D(this,Gi).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,de(this,Qi,V0(this.options)),this.state=t.state??D(this,Qi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=D(this,Ct))==null?void 0:t.promise}setOptions(t){if(this.options={...D(this,Va),...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=V0(this.options);n.data!==void 0&&(this.setState(z0(n.data,n.dataUpdatedAt)),de(this,Qi,n))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&D(this,jn).remove(this)}setData(t,n){const r=vf(this.state.data,t,this.options);return Fe(this,Kn,Er).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Fe(this,Kn,Er).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=D(this,Ct))==null?void 0:r.promise;return(o=D(this,Ct))==null||o.cancel(t),n?n.then(an).catch(an):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(D(this,Qi))}isActive(){return this.observers.some(t=>In(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xp||this.state.dataUpdateCount+this.state.errorUpdate
110Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>pi(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Gb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=D(this,Ct))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=D(this,Ct))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),D(this,jn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(D(this,Ct)&&(D(this,Yi)?D(this,Ct).cancel({revert:!0}):D(this,Ct).cancelRetry()),this.scheduleGc()),D(this,jn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Fe(this,Kn,Er).call(this,{type:"invalidate"})}async fetch(t,n){var d,f,p,g,v,w,C,T,S,b,P,_;if(this.state.fetchStatus!=="idle"&&((d=D(this,Ct))==null?void 0:d.status())!=="rejected"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(D(this,Ct))return D(this,Ct).continueRetry(),D(this,Ct).promise}if(t&&this.setOptions(t),!this.options.queryFn){const R=this.observers.find(B=>B.options.queryFn);R&&this.setOptions(R.options)}const r=new AbortController,o=R=>{Object.defineProperty(R,"signal",{enumerable:!0,get:()=>(de(this,Yi,!0),r.signal)})},a=()=>{const R=Xb(this.options,n),j=(()=>{const W={client:D(this,Gi),queryKey:this.queryKey,meta:this.meta};return o(W),W})();return de(this,Yi,!1),this.options.persister?this.options.persister(R,j,this):R(j)},c=(()=>{const R={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:D(this,Gi),state:this.state,fetchFn:a};return o(R),R})();(f=this.options.behavior)==null||f.onFetch(c,this),de(this,Js,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((p=c.fetchOptions)==null?void 0:p.meta))&&Fe(this,Kn,Er).call(this,{type:"fetch",meta:(g=c.fetchOptions)==null?void 0:g.meta}),de(this,Ct,e1({initialPromise:n==null?void 0:n.initialPromise,fn:c.fetchFn,onCancel:R=>{R instanceof wf&&R.revert&&this.setState({...D(this,Js),fetchStatus:"idle"}),r.abort()},onFail:(R,B)=>{Fe(this,Kn,Er).call(this,{type:"failed",failureCount:R,error:B})},onPause:()=>{Fe(this,Kn,Er).call(this,{type:"pause"})},onContinue:()=>{Fe(this,Kn,Er).call(this,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}));try{const R=await D(this,Ct).start();if(R===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(R),(w=(v=D(this,jn).config).onSuccess)==null||w.call(v,R,this),(T=(C=D(this,jn).config).onSettled)==null||T.call(C,R,this.state.error,this),R}catch(R){if(R instanceof wf){if(R.silent)return D(this,Ct).promise;if(R.revert){if(this.state.data===void 0)throw R;return this.state.data}}throw Fe(this,Kn,Er).call(this,{type:"error",error:R}),(b=(S=D(this,jn).config).onError)==null||b.call(S,R,this),(_=(P=D(this,jn).config).onSettled)==null||_.call(P,this.state.data,R,this),R}finally{this.scheduleGc()}}},Qi=new WeakMap,Js=new WeakMap,jn=new WeakMap,Gi=new WeakMap,Ct=new WeakMap,Va=new WeakMap,Yi=new WeakMap,Kn=new WeakSet,Er=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...n1(r.data,this.options),fetchMeta:t.meta??null};case"success":const o={...r,...z0(t.data,t.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return de(this,Js,t.manual?o:void 0),o;case"error":const a=t.error;
vendor: 1,238 bytes, line 110
110return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ot.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),D(this,jn).notify({query:this,type:"updated",action:t})})},gb);function n1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Zb(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function z0(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function V0(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var on,Be,Ua,Gt,Xi,Zs,Tr,li,$a,eo,to,Ji,Zi,ui,no,We,pa,bf,kf,Sf,Ef,Tf,Cf,_f,r1,yb,dP=(yb=class extends K
vendor: 4,247 bytes, line 110
110a{constructor(t,n){super();Te(this,We);Te(this,on);Te(this,Be);Te(this,Ua);Te(this,Gt);Te(this,Xi);Te(this,Zs);Te(this,Tr);Te(this,li);Te(this,$a);Te(this,eo);Te(this,to);Te(this,Ji);Te(this,Zi);Te(this,ui);Te(this,no,new Set);this.options=n,de(this,on,t),de(this,li,null),de(this,Tr,xf()),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(D(this,Be).addObserver(this),U0(D(this,Be),this.options)?Fe(this,We,pa).call(this):this.updateResult(),Fe(this,We,Ef).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Pf(D(this,Be),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Pf(D(this,Be),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Fe(this,We,Tf).call(this),Fe(this,We,Cf).call(this),D(this,Be).removeObserver(this)}setOptions(t){const n=this.options,r=D(this,Be);if(this.options=D(this,on).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof In(this.options.enabled,D(this,Be))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Fe(this,We,_f).call(this),D(this,Be).setOptions(this.options),n._defaulted&&!gf(this.options,n)&&D(this,on).getQueryCache().notify({type:"observerOptionsUpdated",query:D(this,Be),observer:this});const o=this.hasListeners();o&&$0(D(this,Be),r,this.options,n)&&Fe(this,We,pa).call(this),this.updateResult(),o&&(D(this,Be)!==r||In(this.options.enabled,D(this,Be))!==In(n.enabled,D(this,Be))||pi(this.options.staleTime,D(this,Be))!==pi(n.staleTime,D(this,Be)))&&Fe(this,We,bf).call(this);const a=Fe(this,We,kf).call(this);o&&(D(this,Be)!==r||In(this.options.enabled,D(this,Be))!==In(n.enabled,D(this,Be))||a!==D(this,ui))&&Fe(this,We,Sf).call(this,a)}getOptimisticResult(t){const n=D(this,on).getQueryCache().build(D(this,on),t),r=this.createResult(n,t);return fP(this,r)&&(de(this,Gt,r),de(this,Zs,this.options),de(this,Xi,D(this,Be).state)),r}getCurrentResult(){return D(this,Gt)}trackResult(t,n){return new Proxy(t,{get:(r,o)=>(this.trackProp(o),n==null||n(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&D(this,Tr).status==="pending"&&D(this,Tr).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,o))})}trackProp(t){D(this,no).add(t)}getCurrentQuery(){return D(this,Be)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=D(this,on).defaultQueryOptions(t),r=D(this,on).getQueryCache().build(D(this,on),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Fe(this,We,pa).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),D(this,Gt)))}createResult(t,n){var Y;const r=D(this,Be),o=this.options,a=D(this,Gt),l=D(this,Xi),c=D(this,Zs),f=t!==r?t.state:D(this,Ua),{state:p}=t;let g={...p},v=!1,w;if(n._optimisticResults){const re=this.hasListeners(),ee=!re&&U0(t,n),se=re&&$0(t,r,n,o);(ee||se)&&(g={...g,...n1(p.data,t.options)}),n._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:C,errorUpdatedAt:T,status:S}=g;w=g.data;let b=!1;if(n.placeholderData!==void 0&&w===void 0&&S==="pending"){let re;a!=null&&a.isPlaceholderData&&n.placeholderData===(c==null?void 0:c.placeholderData)?(re=a.data,b=!0):re=typeof n.placeholderData=="function"?n.placeholderData((Y=D(this,to))==null?void 0:Y.state.data,D(this,to)):n.placeholderData,re!==void 0&&(S="success",w=vf(a==null?void 0:a.data,re,n),v=!0)}if(n.select&&w!==void 0&&!b)if(a&&w===(l==null?void 0:l.data)&&n.select===D(this,$a))w=D(this,eo);else try{de(this,$a,n.select),w=n.select(w),w=vf(a==null?void 0:a.data,w,n),de(this,eo,w),de(this,li,null)}catch(re){de(this,li,re)}D(this,li)&&(C=D(this,li),w=D(this,eo),T=Date.now(),S="error");const P=g.fetchStatus==="fetching",_=S==="pending",R=S==="error",B=_&&P,j=w!==void 0,z={status:S,fetchStatus:g.fetchStatus,isPending:_,isSuccess:S==="success",isError:R,isInitialLoading:B,isLoading:B,data:w,dataUpdatedAt:g.dataUpdatedAt,error:C,errorUpdatedAt:T,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdate
vendor: 4,132 bytes, line 110
110Count:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>f.dataUpdateCount||g.errorUpdateCount>f.errorUpdateCount,isFetching:P,isRefetching:P&&!_,isLoadingError:R&&!j,isPaused:g.fetchStatus==="paused",isPlaceholderData:v,isRefetchError:R&&j,isStale:bp(t,n),refetch:this.refetch,promise:D(this,Tr),isEnabled:In(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const re=z.data!==void 0,ee=z.status==="error"&&!re,se=X=>{ee?X.reject(z.error):re&&X.resolve(z.data)},he=()=>{const X=de(this,Tr,z.promise=xf());se(X)},ie=D(this,Tr);switch(ie.status){case"pending":t.queryHash===r.queryHash&&se(ie);break;case"fulfilled":(ee||z.data!==ie.value)&&he();break;case"rejected":(!ee||z.error!==ie.reason)&&he();break}}return z}updateResult(){const t=D(this,Gt),n=this.createResult(D(this,Be),this.options);if(de(this,Xi,D(this,Be).state),de(this,Zs,this.options),D(this,Xi).data!==void 0&&de(this,to,D(this,Be)),gf(n,t))return;de(this,Gt,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!D(this,no).size)return!0;const l=new Set(a??D(this,no));return this.options.throwOnError&&l.add("error"),Object.keys(D(this,Gt)).some(c=>{const d=c;return D(this,Gt)[d]!==t[d]&&l.has(d)})};Fe(this,We,r1).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Fe(this,We,Ef).call(this)}},on=new WeakMap,Be=new WeakMap,Ua=new WeakMap,Gt=new WeakMap,Xi=new WeakMap,Zs=new WeakMap,Tr=new WeakMap,li=new WeakMap,$a=new WeakMap,eo=new WeakMap,to=new WeakMap,Ji=new WeakMap,Zi=new WeakMap,ui=new WeakMap,no=new WeakMap,We=new WeakSet,pa=function(t){Fe(this,We,_f).call(this);let n=D(this,Be).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(an)),n},bf=function(){Fe(this,We,Tf).call(this);const t=pi(this.options.staleTime,D(this,Be));if(ss||D(this,Gt).isStale||!mf(t))return;const r=Gb(D(this,Gt).dataUpdatedAt,t)+1;de(this,Ji,$i.setTimeout(()=>{D(this,Gt).isStale||this.updateResult()},r))},kf=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(D(this,Be)):this.options.refetchInterval)??!1},Sf=function(t){Fe(this,We,Cf).call(this),de(this,ui,t),!(ss||In(this.options.enabled,D(this,Be))===!1||!mf(D(this,ui))||D(this,ui)===0)&&de(this,Zi,$i.setInterval(()=>{(this.options.refetchIntervalInBackground||wp.isFocused())&&Fe(this,We,pa).call(this)},D(this,ui)))},Ef=function(){Fe(this,We,bf).call(this),Fe(this,We,Sf).call(this,Fe(this,We,kf).call(this))},Tf=function(){D(this,Ji)&&($i.clearTimeout(D(this,Ji)),de(this,Ji,void 0))},Cf=function(){D(this,Zi)&&($i.clearInterval(D(this,Zi)),de(this,Zi,void 0))},_f=function(){const t=D(this,on).getQueryCache().build(D(this,on),this.options);if(t===D(this,Be))return;const n=D(this,Be);de(this,Be,t),de(this,Ua,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},r1=function(t){Ot.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(D(this,Gt))}),D(this,on).getQueryCache().notify({query:D(this,Be),type:"observerResultsUpdated"})})},yb);function hP(e,t){return In(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function U0(e,t){return hP(e,t)||e.state.data!==void 0&&Pf(e,t,t.refetchOnMount)}function Pf(e,t,n){if(In(t.enabled,e)!==!1&&pi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&bp(e,t)}return!1}function $0(e,t,n,r){return(e!==t||In(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&bp(e,n)}function bp(e,t){return In(t.enabled,e)!==!1&&e.isStaleByTime(pi(t.staleTime,e))}function fP(e,t){return!gf(e.getCurrentResult(),t)}function H0(e){return{onFetch:(t,n)=>{var p,g,v,w,C;const r=t.options,o=(v=(g=(p=t.fetchOptions)==null?void 0:p.meta)==null?void 0:g.fetchMore)==null?void 0:v.direction,a=((w=t.state.data)==null?void 0:w.pages)||[],l=((C=t.state.data)==null?void 0:C.pageParams)||[];let c={pages:[],pageParams:[]},d=0;const f=async()=>{let T=!1;const S=_=>{iP(_,()=>t.signal,()=>T=!0)},b=Xb(t.options,t.fetchOptions),P=async(_,R,B)=>
vendor: 4,295 bytes, line 110
110{if(T)return Promise.reject();if(R==null&&_.pages.length)return Promise.resolve(_);const W=(()=>{const ee={client:t.client,queryKey:t.queryKey,pageParam:R,direction:B?"backward":"forward",meta:t.options.meta};return S(ee),ee})(),z=await b(W),{maxPages:Y}=t.options,re=B?rP:nP;return{pages:re(_.pages,z,Y),pageParams:re(_.pageParams,R,Y)}};if(o&&a.length){const _=o==="backward",R=_?pP:q0,B={pages:a,pageParams:l},j=R(r,B);c=await P(B,j,_)}else{const _=e??a.length;do{const R=d===0?l[0]??r.initialPageParam:q0(r,c);if(d>0&&R==null)break;c=await P(c,R),d++}while(d<_)}return c};t.options.persister?t.fetchFn=()=>{var T,S;return(S=(T=t.options).persister)==null?void 0:S.call(T,f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=f}}}function q0(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function pP(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Ha,ir,Vt,es,sr,ni,vb,mP=(vb=class extends t1{constructor(t){super();Te(this,sr);Te(this,Ha);Te(this,ir);Te(this,Vt);Te(this,es);de(this,Ha,t.client),this.mutationId=t.mutationId,de(this,Vt,t.mutationCache),de(this,ir,[]),this.state=t.state||gP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){D(this,ir).includes(t)||(D(this,ir).push(t),this.clearGcTimeout(),D(this,Vt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){de(this,ir,D(this,ir).filter(n=>n!==t)),this.scheduleGc(),D(this,Vt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){D(this,ir).length||(this.state.status==="pending"?this.scheduleGc():D(this,Vt).remove(this))}continue(){var t;return((t=D(this,es))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,c,d,f,p,g,v,w,C,T,S,b,P,_,R,B,j,W;const n=()=>{Fe(this,sr,ni).call(this,{type:"continue"})},r={client:D(this,Ha),meta:this.options.meta,mutationKey:this.options.mutationKey};de(this,es,e1({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(new Error("No mutationFn found")),onFail:(z,Y)=>{Fe(this,sr,ni).call(this,{type:"failed",failureCount:z,error:Y})},onPause:()=>{Fe(this,sr,ni).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>D(this,Vt).canRun(this)}));const o=this.state.status==="pending",a=!D(this,es).canStart();try{if(o)n();else{Fe(this,sr,ni).call(this,{type:"pending",variables:t,isPaused:a}),D(this,Vt).config.onMutate&&await D(this,Vt).config.onMutate(t,this,r);const Y=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t,r));Y!==this.state.context&&Fe(this,sr,ni).call(this,{type:"pending",context:Y,variables:t,isPaused:a})}const z=await D(this,es).start();return await((f=(d=D(this,Vt).config).onSuccess)==null?void 0:f.call(d,z,t,this.state.context,this,r)),await((g=(p=this.options).onSuccess)==null?void 0:g.call(p,z,t,this.state.context,r)),await((w=(v=D(this,Vt).config).onSettled)==null?void 0:w.call(v,z,null,this.state.variables,this.state.context,this,r)),await((T=(C=this.options).onSettled)==null?void 0:T.call(C,z,null,t,this.state.context,r)),Fe(this,sr,ni).call(this,{type:"success",data:z}),z}catch(z){try{await((b=(S=D(this,Vt).config).onError)==null?void 0:b.call(S,z,t,this.state.context,this,r))}catch(Y){Promise.reject(Y)}try{await((_=(P=this.options).onError)==null?void 0:_.call(P,z,t,this.state.context,r))}catch(Y){Promise.reject(Y)}try{await((B=(R=D(this,Vt).config).onSettled)==null?void 0:B.call(R,void 0,z,this.state.variables,this.state.context,this,r))}catch(Y){Promise.reject(Y)}try{await((W=(j=this.options).onSettled)==null?void 0:W.call(j,void 0,z,t,this.state.context,r))}catch(Y){Promise.reject(Y)}throw Fe(this,sr,ni).call(this,{type:"error",error:z}),z}finally{D(this,Vt).runNext(this)}}},Ha=new WeakMap,ir=new WeakMap,Vt=new WeakMap,es=new WeakMap,sr=new WeakSet,ni=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};
110case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ot.batch(()=>{D(this,ir).forEach(r=>{r.onMutationUpdate(t)}),D(this,Vt).notify({mutation:this,type:"updated",action:t})})},vb);function gP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cr,Qn,qa,xb,yP=(xb=class extends Ka{constructor(t={}){super();Te(this,Cr);Te(this,Qn);Te(this,qa);this.config=t,de(this,Cr,new Set),de(this,Qn,new Map),de(this,qa,0)}build(t,n,r){const o=new mP({client:t,mutationCache:this,mutationId:++gu(this,qa)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){D(this,Cr).add(t);const n=wu(t);if(typeof n=="string"){const r=D(this,Qn).get(n);r?r.push(t):D(this,Qn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(D(this,Cr).delete(t)){const n=wu(t);if(typeof n=="string"){const r=D(this,Qn).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&D(this,Qn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=wu(t);if(typeof n=="string"){const r=D(this,Qn).get(n),o=r==null?void 0:r.find(a=>a.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=wu(t);if(typeof n=="string"){const o=(r=D(this,Qn).get(n))==null?void 0:r.find(a=>a!==t&&a.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ot.batch(()=>{D(this,Cr).forEach(t=>{this.notify({type:"removed",mutation:t})}),D(this,Cr).clear(),D(this,Qn).clear()})}getAll(){return Array.from(D(this,Cr))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>M0(n,r))}findAll(t={}){return this.getAll().filter(n=>M0(t,n))}notify(t){Ot.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ot.batch(()=>Promise.all(t.map(n=>n.continue().catch(an))))}},Cr=new WeakMap,Qn=new WeakMap,qa=new WeakMap,xb);function wu(e){var t;return(t=e.options.scope)==null?void 0:t.id}
vendor: 5,886 bytes, line 110
110var or,wb,vP=(wb=class extends Ka{constructor(t={}){super();Te(this,or);this.config=t,de(this,or,new Map)}build(t,n,r){const o=n.queryKey,a=n.queryHash??vp(o,n);let l=this.get(a);return l||(l=new cP({client:t,queryKey:o,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(l)),l}add(t){D(this,or).has(t.queryHash)||(D(this,or).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=D(this,or).get(t.queryHash);n&&(t.destroy(),n===t&&D(this,or).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ot.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return D(this,or).get(t)}getAll(){return[...D(this,or).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>L0(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>L0(t,r)):n}notify(t){Ot.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ot.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ot.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},or=new WeakMap,wb),lt,ci,di,ro,io,hi,so,oo,bb,xP=(bb=class{constructor(e={}){Te(this,lt);Te(this,ci);Te(this,di);Te(this,ro);Te(this,io);Te(this,hi);Te(this,so);Te(this,oo);de(this,lt,e.queryCache||new vP),de(this,ci,e.mutationCache||new yP),de(this,di,e.defaultOptions||{}),de(this,ro,new Map),de(this,io,new Map),de(this,hi,0)}mount(){gu(this,hi)._++,D(this,hi)===1&&(de(this,so,wp.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,lt).onFocus())})),de(this,oo,Yu.subscribe(async e=>{e&&(await this.resumePausedMutations(),D(this,lt).onOnline())})))}unmount(){var e,t;gu(this,hi)._--,D(this,hi)===0&&((e=D(this,so))==null||e.call(this),de(this,so,void 0),(t=D(this,oo))==null||t.call(this),de(this,oo,void 0))}isFetching(e){return D(this,lt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return D(this,ci).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=D(this,lt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=D(this,lt).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(pi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return D(this,lt).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=D(this,lt).get(r.queryHash),a=o==null?void 0:o.state.data,l=Z_(t,a);if(l!==void 0)return D(this,lt).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Ot.batch(()=>D(this,lt).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=D(this,lt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=D(this,lt);Ot.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=D(this,lt);return Ot.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ot.batch(()=>D(this,lt).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(an).catch(an)}invalidateQueries(e,t={}){return Ot.batch(()=>(D(this,lt).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ot.batch(()=>D(this,lt).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let a=o.fetch(void 0,n);return n.throwOnError||(a=a.catch(an)),o.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(an)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=D(this,lt).build(this,t);return n.isStaleByTime(pi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(an).catch(an)}fetchInfiniteQuery(e){return e.behavior=H0(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(an).catch(an)}ensureInfiniteQueryData(e){return e.behavior=H0(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Yu.isOnline()?D(this,ci).resumePausedMutations():Promise.resolve()}getQueryCache(){return D(this,lt)}getMutationCache(){return D(this,ci)}getDefaultOptions(){return D(this,di)}setDefaultOptions(e){de(this,di,e)}setQueryDefaults(e,t){D(this,ro).set(Na(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...D(this,ro).values()],n={};return t.forEach(r=>{Ra(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){D(this,io).set(Na(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...D(this,io).values()],n={};return t.forEach(r=>{Ra(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...D(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=vp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===xp&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...D(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){D(this,lt).clear(),D(this,ci).clear()}},lt=new WeakMap,ci=new WeakMap,di=new WeakMap,ro=new WeakMap,io=new WeakMap,hi=new WeakMap,so=new WeakMap,oo=new WeakMap,bb),i1=F.createContext(void 0),wP=e=>{const t=F.useContext(i1);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t}
110,bP=({client:e,children:t})=>(F.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),x.jsx(i1.Provider,{value:e,children:t})),s1=F.createContext(!1),kP=()=>F.useContext(s1);s1.Provider;function SP(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var EP=F.createContext(SP()),TP=()=>F.useContext(EP),CP=(e,t,n)=>{const r=n!=null&&n.state.error&&typeof e.throwOnError=="function"?Jb(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},_P=e=>{F.useEffect(()=>{e.clearReset()},[e])},PP=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&e.data===void 0||Jb(n,[e.error,r])),AP=e=>{if(e.suspense){const n=o=>o==="static"?o:Math.max(o??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...o)=>n(r(...o)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},NP=(e,t)=>e.isLoading&&e.isFetching&&!t,RP=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,W0=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function jP(e,t,n){var v,w,C,T;const r=kP(),o=TP(),a=wP(),l=a.defaultQueryOptions(e);(w=(v=a.getDefaultOptions().queries)==null?void 0:v._experimental_beforeQuery)==null||w.call(v,l);const c=a.getQueryCache().get(l.queryHash);l._optimisticResults=r?"isRestoring":"optimistic",AP(l),CP(l,o,c),_P(o);const d=!a.getQueryCache().get(l.queryHash),[f]=F.useState(()=>new t(a,l)),p=f.getOptimisticResult(l),g=!r&&e.subscribed!==!1;if(F.useSyncExternalStore(F.useCallback(S=>{const b=g?f.subscribe(Ot.batchCalls(S)):an;return f.updateResult(),b},[f,g]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),F.useEffect(()=>{f.setOptions(l)},[l,f]),RP(l,p))throw W0(l,f,o);if(PP({result:p,errorResetBoundary:o,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw p.error;if((T=(C=a.getDefaultOptions().queries)==null?void 0:C._experimental_afterQuery)==null||T.call(C,l,p),l.experimental_prefetchInRender&&!ss&&NP(p,r)){const S=d?W0(l,f,o):c==null?void 0:c.promise;S==null||S.catch(an).finally(()=>{f.updateResult()})}return l.notifyOnChangeProps?p:f.trackResult(p)}function IP(e,t){return jP(e,dP)}const OP=new xP({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}});Sb();/**
111 * @remix-run/router v1.23.2
112 *
113 * Copyright (c) Remix Software Inc.
114 *
115 * This source code is licensed under the MIT license found in the
116 * LICENSE.md file in the root directory of this source tree.
117 *
118 * @license MIT
119 */function ja(){return ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ja.apply(this,arguments)}var fi;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(fi||(fi={}));const K0="popstate";function DP(e){e===void 0&&(e={});function t(r,o){let{pathname:a,search:l,hash:c}=r.location;return Af("",{pathname:a,search:l,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Xu(o)}return MP(t,n,null,e)}function vt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function kp(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function LP(){return Math.random().toString(36).substr(2,8)}function Q0(e,t){return{usr:e.state,key:e.key,idx:t}}function Af(e,t,n,r){return n===void 0&&(n=null),ja({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ho(t):t,{state:n,key:t&&t.key||r||LP()})}function Xu(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ho(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function MP(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:a=!1}=r,l=o.history,c=fi.Pop,d=null,f=p();f==null&&(f=0,l.replaceState(ja({},l.state,{idx:f}),""));function p(){return(l.state||{idx:null}).idx}function g(){c=fi.Pop;let S=p(),b=S==null?null:S-f;f=S,d&&d({action:c,location:T.location,delta:b})}function v(S,b){c=fi.Push;let P=Af(T.location,S,b);f=p()+1;let _=Q0(P,f),R=T.createHref(P);try{l.pushState(_,"",R)}
vendor: 10,382 bytes, lines 119-128
119catch(B){if(B instanceof DOMException&&B.name==="DataCloneError")throw B;o.location.assign(R)}a&&d&&d({action:c,location:T.location,delta:1})}function w(S,b){c=fi.Replace;let P=Af(T.location,S,b);f=p();let _=Q0(P,f),R=T.createHref(P);l.replaceState(_,"",R),a&&d&&d({action:c,location:T.location,delta:0})}function C(S){let b=o.location.origin!=="null"?o.location.origin:o.location.href,P=typeof S=="string"?S:Xu(S);return P=P.replace(/ $/,"%20"),vt(b,"No window.location.(origin|href) available to create URL for href: "+P),new URL(P,b)}let T={get action(){return c},get location(){return e(o,l)},listen(S){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(K0,g),d=S,()=>{o.removeEventListener(K0,g),d=null}},createHref(S){return t(o,S)},createURL:C,encodeLocation(S){let b=C(S);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:v,replace:w,go(S){return l.go(S)}};return T}var G0;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(G0||(G0={}));function FP(e,t,n){return n===void 0&&(n="/"),BP(e,t,n)}function BP(e,t,n,r){let o=typeof t=="string"?ho(t):t,a=Sp(o.pathname||"/",n);if(a==null)return null;let l=o1(e);zP(l);let c=null;for(let d=0;c==null&&d<l.length;++d){let f=JP(a);c=GP(l[d],f)}return c}function o1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(a,l,c)=>{let d={relativePath:c===void 0?a.path||"":c,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};d.relativePath.startsWith("/")&&(vt(d.relativePath.startsWith(r),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(r.length));let f=mi([r,d.relativePath]),p=n.concat(d);a.children&&a.children.length>0&&(vt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),o1(a.children,t,p,f)),!(a.path==null&&!a.index)&&t.push({path:f,score:KP(f,a.index),routesMeta:p})};return e.forEach((a,l)=>{var c;if(a.path===""||!((c=a.path)!=null&&c.includes("?")))o(a,l);else for(let d of a1(a.path))o(a,l,d)}),t}function a1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return o?[a,""]:[a];let l=a1(r.join("/")),c=[];return c.push(...l.map(d=>d===""?a:[a,d].join("/"))),o&&c.push(...l),c.map(d=>e.startsWith("/")&&d===""?"/":d)}function zP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:QP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const VP=/^:[\w-]+$/,UP=3,$P=2,HP=1,qP=10,WP=-2,Y0=e=>e==="*";function KP(e,t){let n=e.split("/"),r=n.length;return n.some(Y0)&&(r+=WP),t&&(r+=$P),n.filter(o=>!Y0(o)).reduce((o,a)=>o+(VP.test(a)?UP:a===""?HP:qP),r)}function QP(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function GP(e,t,n){let{routesMeta:r}=e,o={},a="/",l=[];for(let c=0;c<r.length;++c){let d=r[c],f=c===r.length-1,p=a==="/"?t:t.slice(a.length)||"/",g=YP({path:d.relativePath,caseSensitive:d.caseSensitive,end:f},p),v=d.route;if(!g)return null;Object.assign(o,g.params),l.push({params:o,pathname:mi([a,g.pathname]),pathnameBase:rA(mi([a,g.pathnameBase])),route:v}),g.pathnameBase!=="/"&&(a=mi([a,g.pathnameBase]))}return l}function YP(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=XP(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],l=a.replace(/(.)\/+$/,"$1"),c=o.slice(1);return{params:r.reduce((f,p,g)=>{let{paramName:v,isOptional:w}=p;if(v==="*"){let T=c[g]||"";l=a.slice(0,a.length-T.length).replace(/(.)\/+$/,"$1")}const C=c[g];return w&&!C?f[v]=void 0:f[v]=(C||"").replace(/%2F/g,"/"),f},{}),pathname:a,pathnameBase:l,pattern:e}}function XP(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),kp(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,c,d)=>(r.push({paramName:c,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function JP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return kp(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Sp(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const ZP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,eA=e=>ZP.test(e);function tA(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?ho(e):e,a;if(n)if(eA(n))a=n;else{if(n.includes("//")){let l=n;n=n.replace(/\/\/+/g,"/"),kp(!1,"Pathnames cannot have embedded double slashes - normalizing "+(l+" -> "+n))}n.startsWith("/")?a=X0(n.substring(1),"/"):a=X0(n,t)}else a=t;return{pathname:a,search:iA(r),hash:sA(o)}}function X0(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function wh(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  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 nA(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function l1(e,t){let n=nA(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function u1(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=ho(e):(o=ja({},e),vt(!o.pathname||!o.pathname.includes("?"),wh("?","pathname","search",o)),vt(!o.pathname||!o.pathname.includes("#"),wh("#","pathname","hash",o)),vt(!o.search||!o.search.includes("#"),wh("#","search","hash",o)));let a=e===""||o.pathname==="",l=a?"/":o.pathname,c;if(l==null)c=n;else{let g=t.length-1;if(!r&&l.startsWith("..")){let v=l.split("/");for(;v[0]==="..";)v.shift(),g-=1;o.pathname=v.join("/")}c=g>=0?t[g]:"/"}let d=tA(o,c),f=l&&l!=="/"&&l.endsWith("/"),p=(a||l===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(f||p)&&(d.pathname+="/"),d}const mi=e=>e.join("/").replace(/\/\/+/g,"/"),rA=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),iA=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,sA=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function oA(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const c1=["post","put","patch","delete"];new Set(c1);const aA=["get",...c1];new Set(aA);/**
120 * React Router v6.30.3
121 *
122 * Copyright (c) Remix Software Inc.
123 *
124 * This source code is licensed under the MIT license found in the
125 * LICENSE.md file in the root directory of this source tree.
126 *
127 * @license MIT
128 */function Ia(){return Ia=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ia.apply(this,arguments)}const Ep=F.createContext(null),lA=F.createContext(null),ds=F.createContext(null),dc=F.createContext(null),wi=F.createContext({outlet:null,matches:[],isDataRoute:!1}),d1=F.createContext(null);function uA(e,t){let{relative:n}=t===void 0?{}:t;Qa()||vt(!1);let{basename:r,navigator:o}=F.useContext(ds),{hash:a,pathname:l,search:c}=p1(e,{relative:n}),d=l;return r!=="/"&&(d=l==="/"?r:mi([r,l])),o.createHref({pathname:d,search:c,hash:a})}function Qa(){return F.useContext(dc)!=null}function Ga(){return Qa()||vt(!1),F.useContext(dc).location}function h1(e){F.useContext(ds).static||F.useLayoutEffect(e)}function cA(){let{isDataRoute:e}=F.useContext(wi);return e?SA():dA()}function dA(){Qa()||vt(!1);let e=F.useContext(Ep),{basename:t,future:n,navigator:r}=F.useContext(ds),{matches:o}=F.useContext(wi),{pathname:a}=Ga(),l=JSON.stringify(l1(o,n.v7_relativeSplatPath)),c=F.useRef(!1);return h1(()=>{c.current=!0}),F.useCallback(function(f,p){if(p===void 0&&(p={}),!c.current)return;if(typeof f=="number"){r.go(f);return}let g=u1(f,JSON.parse(l),a,p.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:mi([t,g.pathname])),(p.replace?r.replace:r.push)(g,p.state,p)},[t,r,l,a,e])}function f1(){let{matches:e}=F.useContext(wi),t=e[e.length-1];return t?t.params:{}}function p1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=F.useContext(ds),{matches:o}=F.useContext(wi),{pathname:a}=Ga(),l=JSON.stringify(l1(o,r.v7_relativeSplatPath));return F.useMemo(()=>u1(e,JSON.parse(l),a,n==="path"),[e,l,a,n])}function hA(e,t){return fA(e,t)}function fA(e,t,n,r){Qa()||vt(!1);let{navigator:o}=F.useContext(ds),{matches:a}=F.useContext(wi),l=a[a.length-1],c=l?l.params:{};l&&l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let f=Ga(),p;if(t){var g;let S=typeof t=="string"?ho(t):t;d==="/"||(g=S.pathname)!=null&&g.startsWith(d)||vt(!1),p=S}else p=f;let v=p.pathname||"/",w=v;if(d!=="/"){let S=d.replace(/^\//,"").split("/");w="/"+v.replace(/^\//,"").split("/").slice(S.length).join("/")}let C=FP(e,{pathname:w}),T=vA(C&&C.map(S=>Object.assign({},S,{params:Object.assign({},c,S.params),pathname:mi([d,o.encodeLocation?o.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?d:mi([d,o.encodeLocation?o.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),a,n,r);return t&&T?F.createElement(dc.Provider,{value:{location:Ia({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:fi.Pop}},T):T}function pA(){let e=kA(),t=oA(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application 
128Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),n?F.createElement("pre",{style:o},n):null,null)}const mA=F.createElement(pA,null);class gA extends F.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?F.createElement(wi.Provider,{value:this.props.routeContext},F.createElement(d1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function yA(e){let{routeContext:t,match:n,children:r}=e,o=F.useContext(Ep);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),F.createElement(wi.Provider,{value:t},r)}function vA(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if(!n)return null;if(n.errors)e=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,c=(o=n)==null?void 0:o.errors;if(c!=null){let p=l.findIndex(g=>g.route.id&&(c==null?void 0:c[g.route.id])!==void 0);p>=0||vt(!1),l=l.slice(0,Math.min(l.length,p+1))}let d=!1,f=-1;if(n&&r&&r.v7_partialHydration)for(let p=0;p<l.length;p++){let g=l[p];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(f=p),g.route.id){let{loaderData:v,errors:w}=n,C=g.route.loader&&v[g.route.id]===void 0&&(!w||w[g.route.id]===void 0);if(g.route.lazy||C){d=!0,f>=0?l=l.slice(0,f+1):l=[l[0]];break}}}return l.reduceRight((p,g,v)=>{let w,C=!1,T=null,S=null;n&&(w=c&&g.route.id?c[g.route.id]:void 0,T=g.route.errorElement||mA,d&&(f<0&&v===0?(EA("route-fallback"),C=!0,S=null):f===v&&(C=!0,S=g.route.hydrateFallbackElement||null)));let b=t.concat(l.slice(0,v+1)),P=()=>{let _;return w?_=T:C?_=S:g.route.Component?_=F.createElement(g.route.Component,null):g.route.element?_=g.route.element:_=p,F.createElement(yA,{match:g,routeContext:{outlet:p,matches:b,isDataRoute:n!=null},children:_})};return n&&(g.route.ErrorBoundary||g.route.errorElement||v===0)?F.createElement(gA,{location:n.location,revalidation:n.revalidation,component:T,error:w,children:P(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):P()},null)}var m1=(function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e})(m1||{}),g1=(function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e})(g1||{});function xA(e){let t=F.useContext(Ep);return t||vt(!1),t}function wA(e){let t=F.useContext(lA);return t||vt(!1),t}function bA(e){let t=F.useContext(wi);return t||vt(!1),t}function y1(e){let t=bA(),n=t.matches[t.matches.length-1];return n.route.id||vt(!1),n.route.id}function kA(){var e;let t=F.useContext(d1),n=wA(),r=y1();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function SA(){let{router:e}=xA(m1.UseNavigateStable),t=y1(g1.UseNavigateStable),n=F.useRef(!1);return h1(()=>{n.current=!0}),F.useCallback(function(o,a){a===void 0&&(a={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ia({fromRouteId:t},a)))},[e,t])}const J0={};function EA(e,t,n){J0[e]||(J0[e]=!0)}function TA(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function ri(e){vt(!1)}function CA(e){let{basename:t="/",children:n=null,location:r,navigationType:o=fi.Pop,navigator:a,static:l=!1,future:c}=e;Qa()&&vt(!1);let d=t.replace(/^\/*/,"/"),f=F.useMemo(()=>({basename:d,navigator:a,static:l,future:Ia({v7_relativeSplatPath:!1},c)}),[d,c,a,l]);typeof r=="string"&&(r=ho(r));let{pathname:p="/",search:g="",hash:v="",state:w=null,key:C="default"}=r,T=F.useMemo(()=>{let S=Sp(p,d);return S==null?null:{location:{pathname:S,search:g,hash:v,state:w,key:C},navigationType:o}},[d,p,g,v,w,C,o]);return T==null?null:F.createElement(ds.Provider,{value:f},F.createElement(dc.Provider,{children:n,value:T}))}function _A(e){let{children:t,location:n}=e;return hA(Nf(t),n)}new Promise(()=>{});function Nf(e,t){t===void 0&&(t=[]);let n=[];
128return F.Children.forEach(e,(r,o)=>{if(!F.isValidElement(r))return;let a=[...t,o];if(r.type===F.Fragment){n.push.apply(n,Nf(r.props.children,a));return}r.type!==ri&&vt(!1),!r.props.index||!r.props.children||vt(!1);let l={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Nf(r.props.children,a)),n.push(l)}),n}/**
129 * React Router DOM v6.30.3
130 *
131 * Copyright (c) Remix Software Inc.
132 *
133 * This source code is licensed under the MIT license found in the
134 * LICENSE.md file in the root directory of this source tree.
135 *
136 * @license MIT
137 */function Rf(){return Rf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rf.apply(this,arguments)}function PA(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function AA(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function NA(e,t){return e.button===0&&(!t||t==="_self")&&!AA(e)}const RA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],jA="6";try{window.__reactRouterVersion=jA}catch{}const IA="startTransition",Z0=TC[IA];function OA(e){let{basename:t,children:n,future:r,window:o}=e,a=F.useRef();a.current==null&&(a.current=DP({window:o,v5Compat:!0}));let l=a.current,[c,d]=F.useState({action:l.action,location:l.location}),{v7_startTransition:f}=r||{},p=F.useCallback(g=>{f&&Z0?Z0(()=>d(g)):d(g)},[d,f]);return F.useLayoutEffect(()=>l.listen(p),[l,p]),F.useEffect(()=>TA(r),[r]),F.createElement(CA,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:l,future:r})}const DA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",LA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rt=F.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:a,replace:l,state:c,target:d,to:f,preventScrollReset:p,viewTransition:g}=t,v=PA(t,RA),{basename:w}=F.useContext(ds),C,T=!1;if(typeof f=="string"&&LA.test(f)&&(C=f,DA))try{let _=new URL(window.location.href),R=f.startsWith("//")?new URL(_.protocol+f):new URL(f),B=Sp(R.pathname,w);R.origin===_.origin&&B!=null?f=B+R.search+R.hash:T=!0}catch{}let S=uA(f,{relative:o}),b=MA(f,{replace:l,state:c,target:d,preventScrollReset:p,relative:o,viewTransition:g});function P(_){r&&r(_),_.defaultPrevented||b(_)}return F.createElement("a",Rf({},v,{href:C||S,onClick:T||a?r:P,ref:n,target:d}))});var ev;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ev||(ev={}));var tv;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(tv||(tv={}));function MA(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:l,viewTransition:c}=t===void 0?{}:t,d=cA(),f=Ga(),p=p1(e,{relative:l});return F.useCallback(g=>{if(NA(g,n)){g.preventDefault();let v=r!==void 0?r:Xu(f)===Xu(p);d(e,{replace:v,state:o,preventScrollReset:a,relative:l,viewTransition:c})}},[f,d,p,r,o,n,e,a,l,c])}function v1(e,t){return function(){return e.apply(t,arguments)}}const{toString:FA}=Object.prototype,{getPrototypeOf:ao}=Object,{iterator:Ya,toStringTag:x1}=Symbol,Ju=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Oa=(e,t)=>{let n=e;const r=[];for(;n!=null&&n!==Object.prototype;){if(r.indexOf(n)!==-1)return!1;if(r.push(n),Ju(n,t))return!0;n=ao(n)}return!1},BA=(e,t)=>e!=null&&Oa(e,t)?e[t]:void 0,Tp=(e=>t=>{const n=FA.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ln=e=>(e=e.toLowerCase(),t=>Tp(t)===e),hc=e=>t=>typeof t===e,{isArray:os}=Array,as=hc("undefined");function fo(e){return e!==null&&!as(e)&&e.constructor!==null&&!as(e.constructor)&&un(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const w1=Ln("ArrayBuffer");function zA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&w1(e.buffer),t}const VA=hc("string"),un=hc("function"),b1=hc("number"),po=e=>e!==null&&typeof e=="object",UA=e=>e===!0||e===!1,Fu=e=>{if(!po(e))return!1;const t=ao(e);return(t===null||t===Object.prototype||ao(t)===null)&&!Oa(e,x1)&&!Oa(e,Ya)},$A=e=>{if(!po(e)||fo(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},HA=Ln("Date"),qA=Ln("File"),WA=e=>!!(e&&typeof e.uri<"u"),KA=e=>e&&typeof e.getParts<"u",QA=Ln("Blob"),GA=Ln("FileList"),YA=Ln("Set"),XA=e=>po(e)&&un(e.pipe);function JA(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const nv=JA(),rv=typeof nv.FormData<"u"?nv.FormData:void 0,ZA=e=>{if(!e)return!1;if(rv&&e instanceof rv)return!0;const t=ao(e);if(!t||t===Object.prototype||!un(e.append))return!1;const n=Tp(e);return n==="formdata"||n==="object"&&un(e.toString)&&e.toString()==="[object FormData]"},eN=Ln("URLSearchParams"),[tN,nN,rN,iN]=["ReadableStream","Request","Response","Headers"].map(Ln),sN=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),os(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(fo(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),l=a.length;let c;for(r=0;r<l;r++)c=a[r],t.call(null,e[c],c,e)}}function k1(e,t){if(fo(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Hi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,S1=e=>!as(e)&&e!==Hi;function jf(...e){const{caseless:t,skipUndefined:n}=S1(this)&&this||{},r={},o=(a,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const c=t&&typeof l=="string"&&k1(r,l)||l,d=Ju(r,c)?r[c]:void 0;Fu(d)&&Fu(a)?r[c]=jf(d,a):Fu(a)?r[c]=jf({},a):os(a)?r[c]=a.slice():(!n||!as(a))&&(r[c]=a)};for(let a=0,l=e.length;a<l;a++){const c=e[a];if(!c||fo(c)||(Xa(c,o),typeof c!="object"||os(c)))continue;const d=Object.getOwnPropertySymbols(c);for(let f=0;f<d.length;f++){const p=d[f];yN.call(c,p)&&o(c[p],p)}}return r}const oN=(e,t,n,{allOwnKeys:r}={})=>(Xa(t,(o,a)=>{n&&un(o)?Object.defineProperty(e,a,{__proto__:null,value:v1(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),aN=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lN=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
vendor: 9,102 bytes, lines 137-139
137configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},uN=(e,t,n,r)=>{let o,a,l;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)l=o[a],(!r||r(l,e,t))&&!c[l]&&(t[l]=e[l],c[l]=!0);e=n!==!1&&ao(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},cN=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},dN=e=>{if(!e)return null;if(os(e))return e;let t=e.length;if(!b1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},hN=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ao(Uint8Array)),fN=(e,t)=>{const r=(e&&e[Ya]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},pN=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},mN=Ln("HTMLFormElement"),gN=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),{propertyIsEnumerable:yN}=Object.prototype,vN=Ln("RegExp"),E1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Xa(n,(o,a)=>{let l;(l=t(o,a,e))!==!1&&(r[a]=l||o)}),Object.defineProperties(e,r)},xN=e=>{E1(e,(t,n)=>{if(un(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(un(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},wN=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return os(e)?r(e):r(String(e).split(t)),n},bN=()=>{},kN=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function SN(e){return!!(e&&un(e.append)&&e[x1]==="FormData"&&e[Ya])}const EN=e=>{const t=new WeakSet,n=r=>{if(po(r)){if(t.has(r))return;if(fo(r))return r;if(!("toJSON"in r)){t.add(r);let o;if(YA(r)){o=[];for(const a of r){const l=n(a);!as(l)&&o.push(l)}}else o=os(r)?[]:{},Xa(r,(a,l)=>{const c=n(a);!as(c)&&(o[l]=c)});return t.delete(r),o}}return r};return n(e)},TN=Ln("AsyncFunction"),CN=e=>e&&(po(e)||un(e))&&un(e.then)&&un(e.catch),T1=((e,t)=>e?setImmediate:t?((n,r)=>(Hi.addEventListener("message",({source:o,data:a})=>{o===Hi&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Hi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",un(Hi.postMessage)),_N=typeof queueMicrotask<"u"?queueMicrotask.bind(Hi):typeof process<"u"&&process.nextTick||T1,C1=e=>e!=null&&un(e[Ya]),PN=e=>e!=null&&Oa(e,Ya)&&C1(e),L={isArray:os,isArrayBuffer:w1,isBuffer:fo,isFormData:ZA,isArrayBufferView:zA,isString:VA,isNumber:b1,isBoolean:UA,isObject:po,isPlainObject:Fu,isEmptyObject:$A,isReadableStream:tN,isRequest:nN,isResponse:rN,isHeaders:iN,isUndefined:as,isDate:HA,isFile:qA,isReactNativeBlob:WA,isReactNative:KA,isBlob:QA,isRegExp:vN,isFunction:un,isStream:XA,isURLSearchParams:eN,isTypedArray:hN,isFileList:GA,forEach:Xa,merge:jf,extend:oN,trim:sN,stripBOM:aN,inherits:lN,toFlatObject:uN,kindOf:Tp,kindOfTest:Ln,endsWith:cN,toArray:dN,forEachEntry:fN,matchAll:pN,isHTMLForm:mN,hasOwnProperty:Ju,hasOwnProp:Ju,hasOwnInPrototypeChain:Oa,getSafeProp:BA,reduceDescriptors:E1,freezeMethods:xN,toObjectSet:wN,toCamelCase:gN,noop:bN,toFiniteNumber:kN,findKey:k1,global:Hi,isContextDefined:S1,isSpecCompliantForm:SN,toJSONObject:EN,isAsyncFn:TN,isThenable:CN,setImmediate:T1,asap:_N,isIterable:C1,isSafeIterable:PN},AN=L.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"]),NN=e=>{const t={};let n,r,o;return e&&e.split(`
138`).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),r=l.substring(o+1).trim();const c=L.hasOwnProp(t,n);!n||c&&L.hasOwnProp(AN,n)||(n==="set-cookie"?c?t[n].push(r):t[n]=[r]:t[n]=c?t[n]+", "+r:r)}),t};function RN(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const jN=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),IN=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Cp(e,t){return L.isArray(e)?e.map(n=>Cp(n,t)):RN(String(e).replace(t,""))}const ON=e=>Cp(e,jN),DN=e=>Cp(e,IN);function _1(e){const t=Object.create(null);return L.forEach(e.toJSON(),(n,r)=>{t[r]=DN(n)}),t}const iv=Symbol("internals");function ia(e){return e&&String(e).trim().toLowerCase()}function Bu(e){return e===!1||e==null?e:L.isArray(e)?e.map(Bu):ON(String(e))}function LN(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const MN=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function bh(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function FN(e){const t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let n="";for(let r=1;r<t;r++){const o=e.charCodeAt(r);if(o===34||o===92&&(r+=1,r>=t))return e;n+=e[r]}return n}function BN(e){const t=Object.create(null),n=String(e);let r=0,o=!1,a=!1;function l(c){const d=bh(n.slice(r,c)),f=d.indexOf("=");if(f<1)return;const p=bh(d.slice(0,f));if(!MN.test(p))return;const g=p.toLowerCase();if(g==="__proto__"||g==="constructor"||g==="prototype")return;const v=bh(d.slice(f+1));t[g]=FN(v)}for(let c=0;c<n.length;c++){const d=n.charCodeAt(c);o?a?a=!1:d===92?a=!0:d===34&&(o=!1):d===34?o=!0:(d===44||d===59)&&(l(c),r=c+1)}return l(n.length),t}const zN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function kh(e,t,n,r,o){if(L.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!L.isString(t)){if(L.isString(r))return t.indexOf(r)!==-1;if(L.isRegExp(r))return r.test(t)}}function VN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function UN(e,t){const n=L.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(o,a,l){return this[r].call(this,t,o,a,l)},configurable:!0})})}let Ht=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(c,d,f){const p=ia(d);if(!p)return;const g=L.findKey(o,p);(!g||o[g]===void 0||f===!0||f===void 0&&o[g]!==!1)&&(o[g||d]=Bu(c))}const l=(c,d)=>L.forEach(c,(f,p)=>a(f,p,d));if(L.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(L.isString(t)&&(t=t.trim())&&!zN(t))l(NN(t),n);else if(L.isObject(t)&&L.isSafeIterable(t)){let c=Object.create(null),d,f;for(const p of t){if(!L.isArray(p))throw new TypeError("Object iterator must return a key-value pair");f=p[0],L.hasOwnProp(c,f)?(d=c[f],c[f]=L.isArray(d)?[...d,p[1]]:[d,p[1]]):c[f]=p[1]}l(c,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=ia(t),t){const r=L.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return LN(o);if(L.isFunction(n))return n.call(this,o,r);if(L.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ia(t),t){const r=L.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||kh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(l){if(l=ia(l),l){const c=L.findKey(r,l);c&&(!n||kh(r,r[c],c,n))&&(delete r[c],o=!0)}}return L.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||kh(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return L.forEach(this,(o,a)=>{const l=L.findKey(r,a);if(l){n[l]=Bu(o),delete n[a];return}const c=t?VN(a):String(a).trim();c!==a&&delete n[a],n[c]=Bu(o),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return L.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&L.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
139`)}getSetCookie(){const t=this.get("set-cookie");return L.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return BN(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[iv]=this[iv]={accessors:{}}).accessors,o=this.prototype;function a(l){const c=ia(l);r[c]||(UN(o,l),r[c]=!0)}return L.isArray(t)?t.forEach(a):a(t),this}};Ht.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);L.reduceDescriptors(Ht.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});L.freezeMethods(Ht);const Zu="[REDACTED ****]";function $N(e){if(L.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(L.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function HN(e,t){const n=new Set(t.map(a=>String(a).toLowerCase())),r=[],o=a=>{if(a===null||typeof a!="object"||L.isBuffer(a))return a;
vendor: 4,253 bytes, line 139
139if(r.indexOf(a)!==-1)return;a instanceof Ht&&(a=a.toJSON()),r.push(a);let l;if(L.isArray(a))l=[],a.forEach((c,d)=>{const f=o(c);L.isUndefined(f)||(l[d]=f)});else{if(!L.isPlainObject(a)&&$N(a))return r.pop(),a;l=Object.create(null);for(const[c,d]of Object.entries(a)){const f=n.has(c.toLowerCase())?Zu:o(d);L.isUndefined(f)||(l[c]=f)}}return r.pop(),l};return o(e)}function sv(e){try{return String(e)}catch{return""}}function qN(e){return e.errors.map(n=>{try{return n&&n.message?sv(n.message):sv(n)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let ae=class P1 extends Error{static from(t,n,r,o,a,l){let c=t.message;!c&&L.isArray(t.errors)&&t.errors.length&&(c=qN(t));const d=new P1(c,n||t.code,r,o,a);return Object.defineProperty(d,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),d.name=t.name,t.status!=null&&d.status==null&&(d.status=t.status),l&&Object.assign(d,l),d}constructor(t,n,r,o,a){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),a&&(this.response=a,this.status=a.status)}toJSON(){const t=this.config,n=t&&L.hasOwnProp(t,"redact")?t.redact:void 0,r=L.isArray(n)&&n.length>0?HN(t,n):L.toJSONObject(t);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:r,code:this.code,status:this.status}}};ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ae.ERR_BAD_OPTION="ERR_BAD_OPTION";ae.ECONNABORTED="ECONNABORTED";ae.ETIMEDOUT="ETIMEDOUT";ae.ECONNREFUSED="ECONNREFUSED";ae.ERR_NETWORK="ERR_NETWORK";ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ae.ERR_DEPRECATED="ERR_DEPRECATED";ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ae.ERR_CANCELED="ERR_CANCELED";ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ae.ERR_INVALID_URL="ERR_INVALID_URL";ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const WN=null,A1=100;function If(e){return L.isPlainObject(e)||L.isArray(e)}function N1(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function Sh(e,t,n){return e?e.concat(t).map(function(o,a){return o=N1(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function KN(e){return L.isArray(e)&&!e.some(If)}const QN=L.toFlatObject(L,{},null,function(t){return/^is[A-Z]/.test(t)});function fc(e,t,n){if(!L.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=L.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,_){return!L.isUndefined(_[P])});const r=n.metaTokens,o=n.visitor||C,a=n.dots,l=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,d=n.maxDepth===void 0?A1:n.maxDepth,f=c&&L.isSpecCompliantForm(t),p=[];if(!L.isFunction(o))throw new TypeError("visitor must be a function");function g(b){if(b===null)return"";if(L.isDate(b))return b.toISOString();if(L.isBoolean(b))return b.toString();if(!f&&L.isBlob(b))throw new ae("Blob is not supported. Use a Buffer instead.");if(L.isArrayBuffer(b)||L.isTypedArray(b)){if(f&&typeof c=="function")return new c([b]);throw new ae("Blob is not supported. Use a Buffer instead.",ae.ERR_NOT_SUPPORT)}return b}function v(b){if(b>d)throw new ae("Object is too deeply nested ("+b+" levels). Max depth: "+d,ae.ERR_FORM_DATA_DEPTH_EXCEEDED)}function w(b,P){if(d===1/0)return JSON.stringify(b);const _=[];return JSON.stringify(b,function(B,j){if(!L.isObject(j))return j;for(;_.length&&_[_.length-1]!==this;)_.pop();return _.push(j),v(P+_.length-1),j})}function C(b,P,_){let R=b;if(L.isReactNative(t)&&L.isReactNativeBlob(b))return t.append(Sh(_,P,a),g(b)),!1;if(b&&!_&&typeof b=="object"){if(L.endsWith(P,"{}"))P=r?P:P.slice(0,-2),b=w(b,1);else if(L.isArray(b)&&KN(b)||(L.isFileList(b)||L.endsWith(P,"[]"))&&(R=L.toArray(b)))return P=N1(P),R.forEach(function(j,W){!(L.isUndefined(j)||j===null)&&t.append(l===!0?Sh([P],W,a):l===null?P:P+"[]",g(j))}),!1}return If(b)?!0:(t.append(Sh(_,P,a),g(b)),!1)}const T=Object.assign(QN,{defaultVisitor:C,convertValue:g,isVisitable:If});function S(b,P,_=0){if(!L.isUndefined(b)){if(v(_),p.indexOf(b)!==-1)throw new Error("Circular reference detected in "+P.join("."));
vendor: 4,193 bytes, line 139
139p.push(b),L.forEach(b,function(B,j){(!(L.isUndefined(B)||B===null)&&o.call(t,B,L.isString(j)?j.trim():j,P,T))===!0&&S(B,P?P.concat(j):[j],_+1)}),p.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return S(e),t}function ov(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function _p(e,t){this._pairs=[],e&&fc(e,this,t)}const R1=_p.prototype;R1.append=function(t,n){this._pairs.push([t,n])};R1.toString=function(t){const n=t?r=>t.call(this,r,ov):ov;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function GN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function j1(e,t,n){if(!t)return e;e=e||"";const r=L.isFunction(n)?{serialize:n}:n,o=L.getSafeProp(r,"encode")||GN,a=L.getSafeProp(r,"serialize");let l;if(a?l=a(t,r):l=L.isURLSearchParams(t)?t.toString():new _p(t,r).toString(o),l){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class av{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Pp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},YN=typeof URLSearchParams<"u"?URLSearchParams:_p,XN=typeof FormData<"u"?FormData:null,JN=typeof Blob<"u"?Blob:null,ZN={isBrowser:!0,classes:{URLSearchParams:YN,FormData:XN,Blob:JN},protocols:["http","https","file","blob","url","data"]},Ap=typeof window<"u"&&typeof document<"u",Of=typeof navigator=="object"&&navigator||void 0,eR=Ap&&(!Of||["ReactNative","NativeScript","NS"].indexOf(Of.product)<0),tR=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",nR=Ap&&window.location.href||"http://localhost",rR=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ap,hasStandardBrowserEnv:eR,hasStandardBrowserWebWorkerEnv:tR,navigator:Of,origin:nR},Symbol.toStringTag,{value:"Module"})),Dt={...rR,...ZN};function iR(e,t){return fc(e,new Dt.classes.URLSearchParams,{visitor:function(n,r,o,a){return Dt.isNode&&L.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}const lv=A1;function I1(e){if(e>lv)throw new ae("FormData field is too deeply nested ("+e+" levels). Max depth: "+lv,ae.ERR_FORM_DATA_DEPTH_EXCEEDED)}function sR(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=n.exec(e))!==null;)I1(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function oR(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function O1(e){function t(n,r,o,a){I1(a);let l=n[a++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),d=a>=n.length;return l=!l&&L.isArray(o)?o.length:l,d?(L.hasOwnProp(o,l)?o[l]=L.isArray(o[l])?o[l].concat(r):[o[l],r]:o[l]=r,!c):((!L.hasOwnProp(o,l)||!L.isObject(o[l]))&&(o[l]=[]),t(n,r,o[l],a)&&L.isArray(o[l])&&(o[l]=oR(o[l])),!c)}if(L.isFormData(e)&&L.isFunction(e.entries)){const n={};return L.forEachEntry(e,(r,o)=>{t(sR(r),o,n,0)}),n}return null}const Fs=(e,t)=>e!=null&&L.hasOwnProp(e,t)?e[t]:void 0;function aR(e,t,n){if(L.isString(e))try{return(t||JSON.parse)(e),L.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ja={transitional:Pp,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=L.isObject(t);if(a&&L.isHTMLForm(t)&&(t=new FormData(t)),L.isFormData(t))return o?JSON.stringify(O1(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t)||L.isReadableStream(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;
vendor: 22,389 bytes, lines 139-145
139if(a){const d=Fs(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return iR(t,d).toString();if((c=L.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=Fs(this,"env"),p=f&&f.FormData;return fc(c?{"files[]":t}:t,p&&new p,d)}}return a||o?(n.setContentType("application/json",!1),aR(t)):t}],transformResponse:[function(t){const n=Fs(this,"transitional")||Ja.transitional,r=n&&n.forcedJSONParsing,o=Fs(this,"responseType"),a=o==="json";if(L.isResponse(t)||L.isReadableStream(t))return t;if(t&&L.isString(t)&&(r&&!o||a)){const c=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,Fs(this,"parseReviver"))}catch(d){if(c)throw d.name==="SyntaxError"?ae.from(d,ae.ERR_BAD_RESPONSE,this,null,Fs(this,"response")):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dt.classes.FormData,Blob:Dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch","query"],e=>{Ja.headers[e]={}});function Eh(e,t){const n=this||Ja,r=t||n,o=Ht.from(r.headers);let a=r.data;return L.forEach(e,function(c){a=c.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function D1(e){return!!(e&&e.__CANCEL__)}let Za=class extends ae{constructor(t,n,r){super(t??"canceled",ae.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function L1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ae("Request failed with status code "+n.status,n.status>=400&&n.status<500?ae.ERR_BAD_REQUEST:ae.ERR_BAD_RESPONSE,n.config,n.request,n))}function lR(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function uR(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,l;return t=t!==void 0?t:1e3,function(d){const f=Date.now(),p=r[a];l||(l=f),n[o]=d,r[o]=f;let g=a,v=0;for(;g!==o;)v+=n[g++],g=g%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),f-l<t)return;const w=p&&f-p;return w?Math.round(v*1e3/w):void 0}}function cR(e,t){let n=0,r=1e3/t,o,a;const l=(f,p=Date.now())=>{n=p,o=null,a&&(clearTimeout(a),a=null),e(...f)};return[(...f)=>{const p=Date.now(),g=p-n;g>=r?l(f,p):(o=f,a||(a=setTimeout(()=>{a=null,l(o)},r-g)))},()=>o&&l(o)]}const ec=(e,t,n=3)=>{let r=0;const o=uR(50,250);return cR(a=>{if(!a||typeof a.loaded!="number")return;const l=a.loaded,c=a.lengthComputable?a.total:void 0,d=Math.max(0,c!=null?Math.min(l,c):l),f=Math.max(0,d-r),p=o(f);r=Math.max(r,d);const g={loaded:d,total:c,progress:c?d/c:void 0,bytes:f,rate:p||void 0,estimated:p&&c?(c-d)/p:void 0,event:a,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(g)},n)},uv=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},cv=(e,t=L.asap)=>(...n)=>t(()=>e(...n)),dR=Dt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Dt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Dt.origin),Dt.navigator&&/(msie|trident)/i.test(Dt.navigator.userAgent)):()=>!0,hR=Dt.hasStandardBrowserEnv?{write(e,t,n,r,o,a,l){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];L.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),L.isString(r)&&c.push(`path=${r}`),L.isString(o)&&c.push(`domain=${o}`),a===!0&&c.push("secure"),L.isString(l)&&c.push(`SameSite=${l}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),o=r.indexOf("=");if(o!==-1&&r.slice(0,o)===e)try{return decodeURIComponent(r.slice(o+1))}catch{return r.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function fR(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pR(e,t){if(!t)return e;let n=e.length;for(;n>0&&e.charCodeAt(n-1)===47;)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}const mR=/^https?:(?!\/\/)/i,gR=/[\t\n\r]/g;function yR(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function vR(e){return yR(e).replace(gR,"")}function xR(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,n,r="")=>`${n}${r}${Zu}`)}function wR(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Zu}@`),n=t.indexOf("#"),o=(n===-1?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Zu}`);return n===-1?o:`${o}#${xR(t.slice(n+1))}`}function dv(e,t){if(typeof e=="string"){const n=vR(e);if(mR.test(n))throw new ae(`Invalid URL ${JSON.stringify(wR(n))}: missing "//" after protocol`,ae.ERR_INVALID_URL,t)}}function M1(e,t,n,r){dv(t,r);let o=!fR(t);return e&&(o||n===!1)?(dv(e,r),pR(e,t)):t}const hv=e=>e instanceof Ht?{...e}:e,bR=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function ls(e,t){e=e||{},t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(p,g,v,w){return L.isPlainObject(p)&&L.isPlainObject(g)?L.merge.call({caseless:w},p,g):L.isPlainObject(g)?L.merge({},g):L.isArray(g)?g.slice():g}function o(p,g,v,w){if(L.isUndefined(g)){if(!L.isUndefined(p))return r(void 0,p,v,w)}else return r(p,g,v,w)}function a(p,g){if(!L.isUndefined(g))return r(void 0,g)}function l(p,g){if(L.isUndefined(g)){if(!L.isUndefined(p))return r(void 0,p)}else return r(void 0,g)}function c(p){const g=L.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!L.isUndefined(g))if(L.isPlainObject(g)){if(L.hasOwnProp(g,p))return g[p]}else return;const v=L.hasOwnProp(e,"transitional")?e.transitional:void 0;if(L.isPlainObject(v)&&L.hasOwnProp(v,p))return v[p]}function d(p,g,v){if(L.hasOwnProp(t,v))return r(p,g);if(L.hasOwnProp(e,v))return r(void 0,p)}const f={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:d,headers:(p,g,v)=>o(hv(p),hv(g),v,!0)};return L.forEach(bR({...e,...t}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const v=L.hasOwnProp(f,g)?f[g]:o,w=L.hasOwnProp(e,g)?e[g]:void 0,C=L.hasOwnProp(t,g)?t[g]:void 0,T=v(w,C,g);L.isUndefined(T)&&v!==d||(n[g]=T)}),L.hasOwnProp(t,"validateStatus")&&L.isUndefined(t.validateStatus)&&c("validateStatusUndefinedResolves")===!1&&(L.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.validateStatus),n}const kR=["content-type","content-length"];function SR(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([r,o])=>{kR.includes(r.toLowerCase())&&e.set(r,o)})}const ER=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16)));function F1(e){const t=ls({},e),n=v=>L.hasOwnProp(t,v)?t[v]:void 0,r=n("data");let o=n("withXSRFToken");const a=n("xsrfHeaderName"),l=n("xsrfCookieName");let c=n("headers");const d=n("auth"),f=n("baseURL"),p=n("allowAbsoluteUrls"),g=n("url");if(t.headers=c=Ht.from(c),t.url=j1(M1(f,g,p,t),n("params"),n("paramsSerializer")),d){const v=L.getSafeProp(d,"username")||"",w=L.getSafeProp(d,"password")||"";try{c.set("Authorization","Basic "+btoa(v+":"+(w?ER(w):"")))}catch(C){throw ae.from(C,ae.ERR_BAD_OPTION_VALUE,e)}}if(L.isFormData(r)&&(Dt.hasStandardBrowserEnv||Dt.hasStandardBrowserWebWorkerEnv||L.isReactNative(r)?c.setContentType(void 0):L.isFunction(r.getHeaders)&&SR(c,r.getHeaders(),n("formDataHeaderPolicy"))),Dt.hasStandardBrowserEnv&&(L.isFunction(o)&&(o=o(t)),o===!0||o==null&&dR(t.url))){const w=a&&l&&hR.read(l);w&&c.set(a,w)}return t}const TR=typeof XMLHttpRequest<"u",CR=TR&&function(e){return new Promise(function(n,r){const o=F1(e);let a=o.data;const l=Ht.from(o.headers).normalize();let{responseType:c,onUploadProgress:d,onDownloadProgress:f}=o,p,g,v,w,C;function T(){w&&w(),C&&C(),o.cancelToken&&o.cancelToken.unsubscribe(p),o.signal&&o.signal.removeEventListener("abort",p)}let S=new XMLHttpRequest;S.open(o.method.toUpperCase(),o.url,!0),S.timeout=o.timeout;function b(){if(!S)return;const _=Ht.from("getAllResponseHeaders"in S&&S.getAllResponseHeaders()),B={data:!c||c==="text"||c==="json"?S.responseText:S.response,status:S.status,statusText:S.statusText,headers:_,config:e,request:S};L1(function(W){n(W),T()},function(W){r(W),T()},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&&(r(new ae("Request aborted",ae.ECONNABORTED,e,S)),T(),S=null)},S.onerror=function(R){const B=R&&R.message?R.message:"Network Error",j=new ae(B,ae.ERR_NETWORK,e,S);j.event=R||null,r(j),T(),S=null},S.ontimeout=function(){let R=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const B=o.transitional||Pp;o.timeoutErrorMessage&&(R=o.timeoutErrorMessage),r(new ae(R,B.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,e,S)),T(),S=null},a===void 0&&l.setContentType(null),"setRequestHeader"in S&&L.forEach(_1(l),function(R,B){S.setRequestHeader(B,R)}),L.isUndefined(o.withCredentials)||(S.withCredentials=!!o.withCredentials),c&&c!=="json"&&(S.responseType=o.responseType),f&&([v,C]=ec(f,!0),S.addEventListener("progress",v)),d&&S.upload&&([g,w]=ec(d),S.upload.addEventListener("progress",g),S.upload.addEventListener("loadend",w)),(o.cancelToken||o.signal)&&(p=_=>{S&&(r(!_||_.type?new Za(null,e,S):_),S.abort(),T(),S=null)},o.cancelToken&&o.cancelToken.subscribe(p),o.signal&&(o.signal.aborted?p():o.signal.addEventListener("abort",p)));const P=lR(o.url);if(P&&!Dt.protocols.includes(P)){r(new ae("Unsupported protocol "+P+":",ae.ERR_BAD_REQUEST,e)),T();return}S.send(a||null)})},_R=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const o=function(d){if(!r){r=!0,l();const f=d instanceof Error?d:this.reason;n.abort(f instanceof ae?f:new Za(f instanceof Error?f.message:f))}};let a=t&&setTimeout(()=>{a=null,o(new ae(`timeout of ${t}ms exceeded`,ae.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>{if(!r){if(d.aborted){o.call(d);return}d.addEventListener("abort",o,{once:!0})}});const{signal:c}=n;return c.unsubscribe=()=>L.asap(l),c},PR=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},AR=async function*(e,t){for await(const n of NR(e))yield*PR(n,t)},NR=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},fv=(e,t,n,r)=>{const o=AR(e,t);let a=0,l,c=d=>{l||(l=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:f,value:p}=await o.next();if(f){c(),d.close();return}let g=p.byteLength;if(n){let v=a+=g;n(v)}d.enqueue(new Uint8Array(p))}catch(f){throw c(f),f}},cancel(d){return c(d),o.return()}},{highWaterMark:2})},pv=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,B1=(e,t,n)=>t+2<n&&pv(e.charCodeAt(t+1))&&pv(e.charCodeAt(t+2)),mv=e=>e<=57?e-48:(e&223)-55,RR=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,jR=e=>e===9||e===10||e===12||e===13||e===32,IR=e=>{const t=Math.floor(e/4),n=e%4;return t*3+(n===2?1:n===3?2:0)},OR=e=>{const t=e.length;let n=0;return t>0&&e.charCodeAt(t-1)===61&&(n++,t>1&&e.charCodeAt(t-2)===61&&n++),Math.floor((t-n)*3/4)},DR=e=>{const t=e.length;let n=0,r=0,o=!1;for(let a=0;a<t;a++){let l=e.charCodeAt(a);if(l===37&&B1(e,a,t)&&(l=mv(e.charCodeAt(a+1))*16+mv(e.charCodeAt(a+2)),a+=2),!jR(l)){if(l===61){r++;continue}if(!RR(l)||r>0){o=!0;continue}n++}}return o||r>2||r>0&&(n+r)%4!==0||n%4===1?OR(e):IR(n)},LR=(e,t)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const n=e.indexOf(",");if(n<0)return 0;const r=e.slice(5,n),o=e.slice(n+1);if(/;base64/i.test(r))return t(o);let l=0;for(let c=0,d=o.length;c<d;c++){const f=o.charCodeAt(c);if(f===37&&B1(o,c,d))l+=1,c+=2;else if(f<128)l+=1;else if(f<2048)l+=2;else if(f>=55296&&f<=56319&&c+1<d){const p=o.charCodeAt(c+1);p>=56320&&p<=57343?(l+=4,c++):l+=3}else l+=3}return l};function MR(e){const t=typeof e=="string"?e.indexOf("#"):-1;return LR(t===-1?e:e.slice(0,t),DR)}const Np="1.19.0",gv=64*1024,{isFunction:bu}=L,FR=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),yv=e=>{if(!L.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},vv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},BR=e=>{const t=e.indexOf("://");let n=e;return t!==-1&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")},zR=e=>{const t=L.global!==void 0&&L.global!==null?L.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=L.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:a,Response:l}=e,c=o?bu(o):typeof fetch=="function",d=bu(a),f=bu(l);if(!c)return!1;const p=c&&bu(n),g=c&&(typeof r=="function"?(b=>P=>b.encode(P))(new r):async b=>new Uint8Array(await new a(b).arrayBuffer())),v=d&&p&&vv(()=>{let b=!1;const P=new a(Dt.origin,{body:new n,method:"POST",get duplex(){return b=!0,"half"}}),_=P.headers.has("Content-Type");return P.body!=null&&P.body.cancel(),b&&!_}),w=f&&p&&vv(()=>L.isReadableStream(new l("").body)),C={stream:w&&(b=>b.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!C[b]&&(C[b]=(P,_)=>{let R=P&&P[b];if(R)return R.call(P);throw new ae(`Response type '${b}' is not supported`,ae.ERR_NOT_SUPPORT,_)})});const T=async b=>{if(b==null)return 0;if(L.isBlob(b))return b.size;if(L.isSpecCompliantForm(b))return(await new a(Dt.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(L.isArrayBufferView(b)||L.isArrayBuffer(b))return b.byteLength;if(L.isURLSearchParams(b)&&(b=b+""),L.isString(b))return(await g(b)).byteLength},S=async(b,P)=>{const _=L.toFiniteNumber(b.getContentLength());return _??T(P)};return async b=>{let{url:P,method:_,data:R,signal:B,cancelToken:j,timeout:W,onDownloadProgress:z,onUploadProgress:Y,responseType:re,headers:ee,withCredentials:se="same-origin",fetchOptions:he,maxContentLength:ie,maxBodyLength:X}=F1(b);const ye=L.isNumber(ie)&&ie>-1,le=L.isNumber(X)&&X>-1,G=Z=>L.hasOwnProp(b,Z)?b[Z]:void 0;let ue=o||fetch;re=re?(re+"").toLowerCase():"text";let E=_R([B,j&&j.toAbortSignal()],W),O=null;const H=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let A,we=null;const be=()=>new ae("Request body larger than maxBodyLength limit",ae.ERR_BAD_REQUEST,b,O);try{let Z;const Ce=G("auth");if(Ce){const Ne=L.getSafeProp(Ce,"username")||"",pt=L.getSafeProp(Ce,"password")||"";Z={username:Ne,password:pt}}if(BR(P)){const Ne=new URL(P,Dt.origin);if(!Z&&(Ne.username||Ne.password)){const pt=yv(Ne.username),fn=yv(Ne.password);Z={username:pt,password:fn}}(Ne.username||Ne.password)&&(Ne.username="",Ne.password="",P=Ne.href)}if(Z&&(ee.delete("authorization"),ee.set("Authorization","Basic "+btoa(FR((Z.username||"")+":"+(Z.password||""))))),ye&&typeof P=="string"&&P.startsWith("data:")&&MR(P)>ie)throw new ae("maxContentLength size of "+ie+" exceeded",ae.ERR_BAD_RESPONSE,b,O);if(le&&_!=="get"&&_!=="head"){const Ne=await T(R);if(typeof Ne=="number"&&isFinite(Ne)&&(A=Ne,Ne>X))throw be()}const Ie=le&&(L.isReadableStream(R)||L.isStream(R)),ke=(Ne,pt,fn)=>fv(Ne,gv,Xt=>{if(le&&Xt>X)throw we=be();pt&&pt(Xt)},fn);if(v&&_!=="get"&&_!=="head"&&(Y||Ie)){if(A=A??await S(ee,R),A!==0||Ie){let Ne=new a(P,{method:"POST",body:R,duplex:"half"}),pt;if(L.isFormData(R)&&(pt=Ne.headers.get("content-type"))&&ee.setContentType(pt),Ne.body){const[fn,Xt]=Y&&uv(A,ec(cv(Y)))||[];R=ke(Ne.body,fn,Xt)}}}else if(Ie&&!d&&p&&_!=="get"&&_!=="head")R=ke(R);else if(Ie&&d&&!v&&_!=="get"&&_!=="head")throw new ae("Stream request bodies are not supported by the current fetch implementation",ae.ERR_NOT_SUPPORT,b,O);L.isString(se)||(se=se?"include":"omit");const Je=d&&"credentials"in a.prototype;if(L.isFormData(R)){const Ne=ee.getContentType();Ne&&/^multipart\/form-data/i.test(Ne)&&!/boundary=/i.test(Ne)&&ee.delete("content-type")}ee.set("User-Agent","axios/"+Np,!1);const _t={...he,signal:E,method:_.toUpperCase(),headers:_1(ee.normalize()),body:R,duplex:"half",credentials:Je?se:void 0};O=d&&new a(P,_t);let xt=await(d?ue(O,he):ue(P,_t));const hn=Ht.from(xt.headers);if(ye){const Ne=L.toFiniteNumber(hn.getContentLength());if(Ne!=null&&Ne>ie)throw new ae("maxContentLength size of "+ie+" exceeded",ae.ERR_BAD_RESPONSE,b,O)}const Yt=w&&(re==="stream"||re==="response");if(w&&xt.body&&(z||ye||Yt&&H)){const Ne={};["status","statusText","headers"].forEach(Fn=>{Ne[Fn]=xt[Fn]});const pt=L.toFiniteNumber(hn.getContentLength()),[fn,Xt]=z&&uv(pt,ec(cv(z),!0))||[];let Mn=0;const Yn=Fn=>{if(ye&&(Mn=Fn,Mn>ie))throw new ae("maxContentLength size of "+ie+" exceeded",ae.ERR_BAD_RESPONSE,b,O);fn&&fn(Fn)};xt=new l(fv(xt.body,gv,Yn,()=>{Xt&&Xt(),H&&H()}),Ne)}re=re||"text";let Wt=await C[L.findKey(C,re)||"text"](xt,b);if(ye&&!w&&!Yt){let Ne;if(Wt!=null&&(typeof Wt.byteLength=="number"?Ne=Wt.byteLength:typeof Wt.size=="number"?Ne=Wt.size:typeof Wt=="string"&&(Ne=typeof r=="function"?new r().encode(Wt).byteLength:Wt.length)),typeof Ne=="number"&&Ne>ie)throw new ae("maxContentLength size of "+ie+" exceeded",ae.ERR_BAD_RESPONSE,b,O)}return!Yt&&H&&H(),await new Promise((Ne,pt)=>{L1(Ne,pt,{data:Wt,headers:Ht.from(xt.headers),status:xt.status,statusText:xt.statusText,config:b,request:O})})}catch(Z){if(H&&H(),E&&E.aborted&&E.reason instanceof ae){const Ce=E.reason;throw Ce.config=b,O&&(Ce.request=O),Z!==Ce&&Object.defineProperty(Ce,"cause",{__proto__:null,value:Z,writable:!0,enumerable:!1,configurable:!0}),Ce}if(we)throw O&&!we.request&&(we.request=O),we;if(Z instanceof ae)throw O&&!Z.request&&(Z.request=O),Z;if(Z&&Z.name==="TypeError"&&/Load failed|fetch/i.test(Z.message)){const Ce=new ae("Network Error",ae.ERR_NETWORK,b,O,Z&&Z.response);throw Object.defineProperty(Ce,"cause",{__proto__:null,value:Z.cause||Z,writable:!0,enumerable:!1,configurable:!0}),Ce}throw ae.from(Z,Z&&Z.code,b,O,Z&&Z.response)}}},VR=new Map,z1=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,a=[r,o,n];let l=a.length,c=l,d,f,p=VR;for(;c--;)d=a[c],f=p.get(d),f===void 0&&p.set(d,f=c?new Map:zR(t)),p=f;return f};z1();const Rp={http:WN,xhr:CR,fetch:{get:z1}};L.forEach(Rp,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const xv=e=>`- ${e}`,UR=e=>L.isFunction(e)||e===null||e===!1;function $R(e,t){e=L.isArray(e)?e:[e];const{length:n}=e;let r,o;const a={};for(let l=0;l<n;l++){r=e[l];let c;if(o=r,!UR(r)&&(o=Rp[(c=String(r)).toLowerCase()],o===void 0))throw new ae(`Unknown adapter '${c}'`);if(o&&(L.isFunction(o)||(o=o.get(t))))break;a[c||"#"+l]=o}if(!o){const l=Object.entries(a).map(([d,f])=>`adapter ${d} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=n?l.length>1?`since :
140`+l.map(xv).join(`
141`):" "+xv(l[0]):"as no adapter specified";throw new ae("There is no suitable adapter to dispatch the request "+c,ae.ERR_NOT_SUPPORT)}return o}const V1={getAdapter:$R,adapters:Rp};function Th(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Za(null,e)}function Ch(e){return Th(e),e.headers=Ht.from(e.headers),e.data=Eh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),V1.getAdapter(e.adapter||Ja.adapter,e)(e).then(function(r){Th(e),e.response=r;try{r.data=Eh.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=Ht.from(r.headers),r},function(r){if(!D1(r)&&(Th(e),r&&r.response)){e.response=r.response;try{r.response.data=Eh.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Ht.from(r.response.headers)}return Promise.reject(r)})}const pc={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{pc[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const wv={};pc.transitional=function(t,n,r){function o(a,l){return"[Axios v"+Np+"] Transitional option '"+a+"'"+l+(r?". "+r:"")}return(a,l,c)=>{if(t===!1)throw new ae(o(l," has been removed"+(n?" in "+n:"")),ae.ERR_DEPRECATED);return n&&!wv[l]&&(wv[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,l,c):!0}};pc.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function HR(e,t,n){if(typeof e!="object"||e===null)throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const a=r[o],l=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(l){const c=e[a],d=c===void 0||l(c,a,e);if(d!==!0)throw new ae("option "+a+" must be "+d,ae.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ae("Unknown option "+a,ae.ERR_BAD_OPTION)}}const zu={assertOptions:HR,validators:pc},zt=zu.validators;let ts=class{constructor(t){this.defaults=t||{},this.interceptors={request:new av,response:new av}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=(()=>{if(!o.stack)return"";const l=o.stack.indexOf(`
142`);return l===-1?"":o.stack.slice(l+1)})();try{if(!r.stack)r.stack=a;else if(a){const l=a.indexOf(`
143`),c=l===-1?-1:a.indexOf(`
144`,l+1),d=c===-1?"":a.slice(c+1);String(r.stack).endsWith(d)||(r.stack+=`
145`+a)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ls(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&zu.assertOptions(r,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean),legacyInterceptorReqResOrdering:zt.transitional(zt.boolean),advertiseZstdAcceptEncoding:zt.transitional(zt.boolean),validateStatusUndefinedResolves:zt.transitional(zt.boolean)}
vendor: 3,310 bytes, line 145
145,!1),o!=null&&(L.isFunction(o)?n.paramsSerializer={serialize:o}:zu.assertOptions(o,{encode:zt.function,serialize:zt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),zu.assertOptions(n,{baseUrl:zt.spelling("baseURL"),withXsrfToken:zt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=a&&L.merge(a.common,a[n.method]);a&&L.forEach(["delete","get","head","post","put","patch","query","common"],C=>{delete a[C]}),n.headers=Ht.concat(l,a);const c=[];let d=!0;this.interceptors.request.forEach(function(T){if(typeof T.runWhen=="function"&&T.runWhen(n)===!1)return;d=d&&T.synchronous;const S=n.transitional||Pp;S&&S.legacyInterceptorReqResOrdering?c.unshift(T.fulfilled,T.rejected):c.push(T.fulfilled,T.rejected)});const f=[];this.interceptors.response.forEach(function(T){f.push(T.fulfilled,T.rejected)});let p,g=0,v;if(!d){const C=[Ch.bind(this),void 0];for(C.unshift(...c),C.push(...f),v=C.length,p=Promise.resolve(n);g<v;)p=p.then(C[g++],C[g++]);return p}v=c.length;let w=n;for(;g<v;){const C=c[g++],T=c[g++];try{w=C?C(w):w}catch(S){if(!T){p=Promise.reject(S);break}try{const b=T.call(this,S);L.isThenable(b)&&(p=Promise.resolve(b).then(()=>Ch.call(this,w)))}catch(b){p=Promise.reject(b)}break}}if(!p)try{p=Ch.call(this,w)}catch(C){p=Promise.reject(C)}for(g=0,v=f.length;g<v;)p=p.then(f[g++],f[g++]);return p}getUri(t){t=ls(this.defaults,t);const n=M1(t.baseURL,t.url,t.allowAbsoluteUrls,t);return j1(n,t.params,t.paramsSerializer)}};L.forEach(["delete","get","head","options"],function(t){ts.prototype[t]=function(n,r){return this.request(ls(r||{},{method:t,url:n,data:r&&L.hasOwnProp(r,"data")?r.data:void 0}))}});L.forEach(["post","put","patch","query"],function(t){function n(r){return function(a,l,c){return this.request(ls(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}ts.prototype[t]=n(),t!=="query"&&(ts.prototype[t+"Form"]=n(!0))});let qR=class U1{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const l=new Promise(c=>{r.subscribe(c),a=c}).then(o);return l.cancel=function(){r.unsubscribe(a)},l},t(function(a,l,c){r.reason||(r.reason=new Za(a,l,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new U1(function(o){t=o}),cancel:t}}};function WR(e){return function(n){return e.apply(null,n)}}function KR(e){return L.isObject(e)&&e.isAxiosError===!0}const Df={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
145alContent: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(Df).forEach(([e,t])=>{Df[t]=e});function $1(e){const t=new ts(e),n=v1(ts.prototype.request,t);return L.extend(n,ts.prototype,t,{allOwnKeys:!0}),L.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return $1(ls(e,o))},n}const ft=$1(Ja);ft.Axios=ts;ft.CanceledError=Za;ft.CancelToken=qR;ft.isCancel=D1;ft.VERSION=Np;ft.toFormData=fc;ft.AxiosError=ae;ft.Cancel=ft.CanceledError;ft.all=function(t){return Promise.all(t)};ft.spread=WR;ft.isAxiosError=KR;ft.mergeConfig=ls;ft.AxiosHeaders=Ht;ft.formToJSON=e=>O1(L.isHTMLForm(e)?new FormData(e):e);ft.getAdapter=V1.getAdapter;ft.HttpStatusCode=Df;ft.default=ft;const{Axios:D6,AxiosError:L6,CanceledError:M6,isCancel:F6,CancelToken:B6,VERSION:z6,all:V6,Cancel:U6,isAxiosError:$6,spread:H6,toFormData:q6,AxiosHeaders:W6,HttpStatusCode:K6,formToJSON:Q6,getAdapter:G6,mergeConfig:Y6,create:X6}=ft,H1=typeof window>"u",bv=!H1&&window.self!==window.top,QR=!H1&&typeof document>"u",_h=()=>Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),jt=[];for(let e=0;e<256;++e)jt.push((e+256).toString(16).slice(1));function GR(e,t=0){return(jt[e[t+0]]+jt[e[t+1]]+jt[e[t+2]]+jt[e[t+3]]+"-"+jt[e[t+4]]+jt[e[t+5]]+"-"+jt[e[t+6]]+jt[e[t+7]]+"-"+jt[e[t+8]]+jt[e[t+9]]+"-"+jt[e[t+10]]+jt[e[t+11]]+jt[e[t+12]]+jt[e[t+13]]+jt[e[t+14]]+jt[e[t+15]]).toLowerCase()}let Ph;const YR=new Uint8Array(16);function XR(){if(!Ph){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ph=crypto.getRandomValues.bind(crypto)}return Ph(YR)}const JR=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),kv={randomUUID:JR};function ZR(e,t,n){var o;e=e||{};const r=e.random??((o=e.rng)==null?void 0:o.call(e))??XR();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=r[6]&15|64,r[8]=r[8]&63|128,GR(r)}function e2(e,t,n){return kv.randomUUID&&!e?kv.randomUUID():ZR(e)}const sa=typeof window<"u"?window:{base44SharedInstances:{}};function t2(e,t){return sa.base44SharedInstances||(sa.base44SharedInstances={}),sa.base44SharedInstances[e]||(sa.base44SharedInstances[e]={instance:t()}),sa.base44SharedInstances[e].instance}const n2="__user_heartbeat_event__",r2="__initialization_event__",i2="__session_duration_event__",Sv="analytics-enable",Ev="base44_analytics_session_id",s2={enabled:!0,maxQueueSize:1e3,throttleTime:1e3,batchSize:30,heartBeatInterval:60*1e3},o2="analytics",Qe=t2(o2,()=>({requestsQueue:[],isProcessing:!1,isHeartBeatProcessing:!1,wasInitializationTracked:!1,sessionContext:null,sessionStartTime:null,config:{...s2,...p2()}})),a2=({axiosClient:e,serverUrl:t,appId:n,userAuthModule:r})=>{var o;const{maxQueueSize:a,throttleTime:l,batchSize:c}=Qe.config;if(!(!((o=Qe.config)===null||o===void 0)&&o.enabled)||QR)return{track:()=>{},cleanup:()=>{}};let d;const f=`${t}/api/apps/${n}/analytics/track/batch`,p=async _=>{await e.request({method:"POST",url:`/apps/${n}/analytics/track/batch`,data:{events:_}})},g=_=>{try{const R=JSON.stringify({events:_}),B=new Blob([R],{type:"application/json"});return typeof navigator>"u"||R.length>6e4||!navigator.sendBeacon(f,B)}catch{return!1}},v=async(_,R={})=>
145{if(_.length===0)return;const B=await f2(r),j=_.map(h2(B));try{(!R.isBeacon||!g(j))&&await p(j)}catch{}},w=()=>{Cv(v,{throttleTime:l,batchSize:c})},C=_=>{if(Qe.requestsQueue.length>=a)return;const R=d2();Qe.requestsQueue.push({..._,...R}),w()},T=()=>{Cv(v,{throttleTime:l,batchSize:c}),d=_v(C),u2()},S=()=>{Tv(),d==null||d(),c2(C);const _=Qe.requestsQueue.splice(0);v(_,{isBeacon:!0})},b=()=>{typeof window>"u"||(document.visibilityState==="hidden"?S():document.visibilityState==="visible"&&T())},P=()=>{Tv(),d==null||d(),typeof window<"u"&&window.removeEventListener("visibilitychange",b)};return w(),d=_v(C),l2(C),typeof window<"u"&&window.addEventListener("visibilitychange",b),{track:C,cleanup:P}};function Tv(){Qe.isProcessing=!1}async function Cv(e,t){if(Qe.isProcessing)return;Qe.isProcessing=!0;const{throttleTime:n=1e3,batchSize:r=30}=t??{};for(;Qe.isProcessing&&Qe.requestsQueue.length>0;){const o=Qe.requestsQueue.splice(0,r);o.length&&await e(o),await new Promise(a=>setTimeout(a,n))}Qe.isProcessing=!1}function _v(e){var t;if(Qe.isHeartBeatProcessing||((t=Qe.config.heartBeatInterval)!==null&&t!==void 0?t:0)<10)return()=>{};Qe.isHeartBeatProcessing=!0;const n=setInterval(()=>{e({eventName:n2})},Qe.config.heartBeatInterval);return()=>{clearInterval(n),Qe.isHeartBeatProcessing=!1}}function l2(e){typeof window>"u"||Qe.wasInitializationTracked||(Qe.wasInitializationTracked=!0,e({eventName:r2,properties:{referrer:document==null?void 0:document.referrer}}))}function u2(){typeof window>"u"||Qe.sessionStartTime!==null||(Qe.sessionStartTime=new Date().toISOString())}function c2(e){if(typeof window>"u"||Qe.sessionStartTime===null)return;const t=new Date().getTime()-new Date(Qe.sessionStartTime).getTime();Qe.sessionStartTime=null,e({eventName:i2,properties:{sessionDuration:t}})}function d2(){return{timestamp:new Date().toISOString(),pageUrl:typeof window<"u"?window.location.pathname:null}}function h2(e){return t=>({event_name:t.eventName,properties:t.properties,timestamp:t.timestamp,page_url:t.pageUrl,...e})}let Ah=null;async function f2(e){if(!Qe.sessionContext){if(!Ah){const t=jp();Ah=e.me().then(n=>({user_id:n.id,session_id:t})).catch(()=>({user_id:null,session_id:t}))}Qe.sessionContext=await Ah}return Qe.sessionContext}function p2(){if(typeof window>"u"||!window.location)return;const t=new URLSearchParams(window.location.search).get(Sv);if(t==null||!t.length)return;const n=new URLSearchParams(window.location.search);n.delete(Sv);const r=window.location.pathname+(n.toString()?"?"+n.toString():"");return window.history.replaceState({},"",r),{enabled:t==="true"}}function jp(){if(typeof window>"u")return _h();try{const e=localStorage.getItem(Ev);if(!e){const t=_h();return localStorage.setItem(Ev,t),t}return e}catch{return _h()}}class m2 extends Error{constructor(t,n,r,o,a){super(t),this.name="Base44Error",this.status=n,this.code=r,this.data=o,this.originalError=a}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code,data:this.data}}}function ma({baseURL:e,headers:t={},token:n,interceptResponses:r=!0,onError:o}){const a=ft.create({baseURL:e,headers:{"Content-Type":"application/json",Accept:"application/json",...t}});return n&&(a.defaults.headers.common.Authorization=`Bearer ${n}`),a.interceptors.request.use(l=>{typeof window<"u"&&window.location&&(l.headers.set("X-Origin-URL",window.location.href),l.headers.get("Authorization")||l.headers.set("X-Base44-Anonymous-Id",jp()));const c=e2();if(l.requestId=c,bv)try{window.parent.postMessage({type:"api-request-start",requestId:c,data:{url:e+l.url,method:l.method,body:l.data instanceof FormData?"[FormData object]":l.data}},"*")}catch{}return l}),r&&a.interceptors.response.use(l=>{var c;const d=(c=l.config)===null||c===void 0?void 0:c.requestId;try{bv&&d&&window.parent.postMessage({type:"api-request-end",requestId:d,data:{statusCode:l.status,response:l.data}},"*")}catch{}return l.data},l=>{var c,d,f,p,g,v,w,C;const T=((d=(c=l.response)===null||c===void 0?void 0:c.data)===null||d===void 0?void 0:d.message)||((p=(f=l.response)===null||f===void 0?void 0:f.data)===null||p===void 0?void 0:p.detail)||l.message,S=new m2(T,(g=l.response)===null||g===void 0?void 0:g.status,(w=(v=l.response)===null||v===void 0?void 0:v.data)===null||w===void 0?void 0:w.code,(C=l.response)===null||C===void 0?void 0:C.data,l);return o==null||o(S),Promise.reject(S)}),a}function Pv(e){const{axios:t,appId:n,getSocket:r}=e;return new Proxy({},{get(o,a){if(!(typeof a!="string"||a==="then"||a.startsWith("_")))return y2(t,n,a,r)}})}function g2(e){var t;try{const n=JSON.parse(e);return{type:n.type,data:n.data,id:n.id||((t=n.data)===null||t===void 0?void 0:t.id),timestamp:n.timestamp||new Date().toISOString()}}catch(n){return console.warn("[Base44 SDK] Failed to parse realtime message:",n),null}}function y2(e,t,n,r){const o=`/apps/${t}/entities/${n}`;return{async list(a,l,c,d){const f={};
145return a&&(f.sort=a),l&&(f.limit=l),c&&(f.skip=c),d&&(f.fields=Array.isArray(d)?d.join(","):d),e.get(o,{params:f})},async filter(a,l,c,d,f){const p={q:JSON.stringify(a)};return l&&(p.sort=l),c&&(p.limit=c),d&&(p.skip=d),f&&(p.fields=Array.isArray(f)?f.join(","):f),e.get(o,{params:p})},async get(a){return e.get(`${o}/${a}`)},async create(a){return e.post(o,a)},async update(a,l){return e.put(`${o}/${a}`,l)},async delete(a){return e.delete(`${o}/${a}`)},async deleteMany(a){return e.delete(o,{data:a})},async bulkCreate(a){return e.post(`${o}/bulk`,a)},async updateMany(a,l){return e.patch(`${o}/update-many`,{query:a,data:l})},async bulkUpdate(a){return e.put(`${o}/bulk`,a)},async importEntities(a){const l=new FormData;return l.append("file",a,a.name),e.post(`${o}/import`,l,{headers:{"Content-Type":"multipart/form-data"}})},subscribe(a){const l=`entities:${t}:${n}`;return r().subscribeToRoom(l,{update_model:f=>{var p;const g=g2(f.data);if(g){g.type!=="delete"&&(!((p=g.data)===null||p===void 0)&&p._oversize)&&console.error(`[Base44 SDK] Realtime broadcast for ${n}#${g.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("${g.id}")\` to fetch the full record.`);try{a(g)}catch(v){console.error("[Base44 SDK] Subscription callback error:",v)}}}})}}}function v2(e,t){return{async call(n,r,o){if(!(n!=null&&n.trim()))throw new Error("Integration slug is required and cannot be empty");if(!(r!=null&&r.trim()))throw new Error("Operation ID is required and cannot be empty");const{pathParams:a,queryParams:l,...c}=o??{},d={...c,...a&&{path_params:a},...l&&{query_params:l}};return await e.post(`/apps/${t}/integrations/custom/${n}/${r}`,d)}}}function Av(e,t){const n=v2(e,t);return new Proxy({},{get(r,o){if(!(typeof o!="string"||o==="then"||o.startsWith("_")))return o==="custom"?n:new Proxy({},{get(a,l){if(!(typeof l!="string"||l==="then"||l.startsWith("_")))return async c=>{if(typeof c=="string")throw new Error(`Integration ${l} must receive an object with named parameters, received: ${c}`);let d,f;return c instanceof FormData||c&&Object.values(c).some(p=>p instanceof File)?(d=new FormData,Object.keys(c).forEach(p=>{c[p]instanceof File?d.append(p,c[p],c[p].name):typeof c[p]=="object"&&c[p]!==null?d.append(p,JSON.stringify(c[p])):d.append(p,c[p])}),f="multipart/form-data"):(d=c,f="application/json"),o==="Core"?e.post(`/apps/${t}/integration-endpoints/Core/${l}`,d||c,{headers:{"Content-Type":f}}):e.post(`/apps/${t}/integration-endpoints/installable/${o}/integration-endpoints/${l}`,d||c,{headers:{"Content-Type":f}})}}})}})}function x2(){return typeof window>"u"?!1:window!==window.parent}function w2(e,t,n){const a=Math.round(window.screenX+(window.outerWidth-500)/2),l=Math.round(window.screenY+(window.outerHeight-600)/2),c=window.open(e,"base44_auth",`width=500,height=600,left=${a},top=${l},resizable=yes,scrollbars=yes`);if(!c)return;const d=()=>{window.removeEventListener("message",f),clearInterval(p),c.closed||c.close()},f=g=>{var v;if(g.origin!==n||g.source!==c||!(!((v=g.data)===null||v===void 0)&&v.access_token))return;d();const w=new URL(t),{access_token:C,is_new_user:T}=g.data;w.searchParams.set("access_token",C),T!=null&&w.searchParams.set("is_new_user",String(T)),window.location.href=w.toString()},p=setInterval(()=>{c.closed&&d()},500);window.addEventListener("message",f)}function b2(e,t,n,r){return{async me(){return e.get(`/apps/${n}/entities/User/me`)},async updateMe(o){return e.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 a=o?new URL(o,window.location.origin).toString():window.location.href,l=`${r.appBaseUrl}/login?from_url=${encodeURIComponent(a)}`;window.location.href=l},loginWithProvider(o,a="/"){const l=new URL(a,window.location.origin).toString(),c=`app_id=${n}&from_url=${encodeURIComponent(l)}`;let d;o==="sso"?d=`/apps/${n}/auth/sso/login`:d=`/apps/auth${o==="google"?"":`/${o}`}/login`;const f=`${r.appBaseUrl}/api${d}?${c}`;if(x2()){const p=`${f}&popup_origin=${encodeURIComponent(window.location.origin)}`;return w2(p,l,window.location.origin)}window.location.href=f}
145,logout(o){if(delete e.defaults.headers.common.Authorization,typeof window<"u"){if(window.localStorage)try{window.localStorage.removeItem("base44_access_token"),window.localStorage.removeItem("token")}catch(c){console.error("Failed to remove token from localStorage:",c)}const a=o||window.location.href,l=`${r.appBaseUrl}/api/apps/auth/logout?from_url=${encodeURIComponent(a)}`;window.location.href=l}},setToken(o,a=!0){if(o&&(e.defaults.headers.common.Authorization=`Bearer ${o}`,t.defaults.headers.common.Authorization=`Bearer ${o}`,a&&typeof window<"u"&&window.localStorage))try{window.localStorage.setItem("base44_access_token",o),window.localStorage.setItem("token",o)}catch(l){console.error("Failed to save token to localStorage:",l)}},async loginViaEmailPassword(o,a,l){var c;try{const d=await e.post(`/apps/${n}/auth/login`,{email:o,password:a,...l&&{turnstile_token:l}}),{access_token:f,user:p}=d;return f&&this.setToken(f),{access_token:f,user:p}}catch(d){throw((c=d.response)===null||c===void 0?void 0:c.status)===401&&await this.logout(),d}},async isAuthenticated(){try{return await this.me(),!0}catch{return!1}},inviteUser(o,a){return e.post(`/apps/${n}/users/invite-user`,{user_email:o,role:a})},register(o){return e.post(`/apps/${n}/auth/register`,o)},verifyOtp({email:o,otpCode:a}){return e.post(`/apps/${n}/auth/verify-otp`,{email:o,otp_code:a})},resendOtp(o){return e.post(`/apps/${n}/auth/resend-otp`,{email:o})},resetPasswordRequest(o){return e.post(`/apps/${n}/auth/reset-password-request`,{email:o})},resetPassword({resetToken:o,newPassword:a}){return e.post(`/apps/${n}/auth/reset-password`,{reset_token:o,new_password:a})},changePassword({userId:o,currentPassword:a,newPassword:l}){return e.post(`/apps/${n}/auth/change-password`,{user_id:o,current_password:a,new_password:l})}}}function k2(e,t){return{async getAccessToken(n){const r=`/apps/${t}/auth/sso/accesstoken/${n}`;return e.get(r)},async getIdToken(n){const r=`/apps/${t}/auth/sso/idtoken/${n}`;return e.get(r)}}}function S2(e,t){return{async getAccessToken(n){if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");return(await e.get(`/apps/${t}/external-auth/tokens/${n}`)).access_token},async getConnection(n){var r;if(!n||typeof n!="string")throw new Error("Integration type is required and must be a string");const a=await e.get(`/apps/${t}/external-auth/tokens/${n}`);return{accessToken:a.access_token,connectionConfig:(r=a.connection_config)!==null&&r!==void 0?r:null}},async getWorkspaceConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const a=await e.get(`/apps/${t}/external-auth/tokens/connectors/${n}`);return{accessToken:a.access_token,connectionConfig:(r=a.connection_config)!==null&&r!==void 0?r:null}},async getCurrentAppUserAccessToken(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.get(`/apps/${t}/app-user-auth/connectors/${n}/token`)).access_token},async getCurrentAppUserConnection(n){var r;if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");const a=await e.get(`/apps/${t}/app-user-auth/connectors/${n}/token`);return{accessToken:a.access_token,connectionConfig:(r=a.connection_config)!==null&&r!==void 0?r:null}}}}function E2(e,t){return{async connectAppUser(n){if(!n||typeof n!="string")throw new Error("Connector ID is required and must be a string");return(await e.post(`/apps/${t}/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 e.delete(`/apps/${t}/app-user-auth/connectors/${n}`)}}}function ns(e={}){const{storageKey:t="base44_access_token",paramName:n="access_token",saveToStorage:r=!0,removeFromUrl:o=!0}=e;let a=null;if(typeof window<"u"&&window.location)try{const l=new URLSearchParams(window.location.search);if(a=l.get(n),a){if(r&&T2(a,{storageKey:t}),o){l.delete(n);const c=`${window.location.pathname}${l.toString()?`?${l.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,c)}return a}}catch(l){console.error("Error retrieving token from URL:",l)}if(typeof window<"u"&&window.localStorage)try{return a=window.localStorage.getItem(t),a}catch(l){console.error("Error retrieving token from local storage:",l)}return null}function T2(e,t){const{storageKey:n="base44_access_token"}=t;if(typeof window>"u"||!window.localStorage||!e)return!1;try{return window.localStorage.setItem(n,e),window.localStorage.setItem("token",e),!0}catch(r){return console.error("Error saving token to local storage:",r),!1}}function Nv(e,t,n){const r=(a,l)=>a?`${String(a).replace(/\/$/,"")}${l}`:l,o=a=>{const l=new Headers;if(n!=null&&n.getAuthHeaders){const c=n.getAuthHeaders();
145Object.entries(c).forEach(([d,f])=>{f!=null&&l.set(d,String(f))})}return a&&new Headers(a).forEach((c,d)=>{l.set(d,c)}),l};return{async invoke(a,l){if(typeof l=="string")throw new Error(`Function ${a} must receive an object with named parameters, received: ${l}`);let c,d;return l instanceof FormData||l&&Object.values(l).some(f=>f instanceof File)?(c=new FormData,Object.keys(l).forEach(f=>{l[f]instanceof File?c.append(f,l[f],l[f].name):typeof l[f]=="object"&&l[f]!==null?c.append(f,JSON.stringify(l[f])):c.append(f,l[f])}),d="multipart/form-data"):(c=l,d="application/json"),e.post(`/apps/${t}/functions/${a}`,c||l,{headers:{"Content-Type":d}})},async fetch(a,l={}){const d=`/functions${a.startsWith("/")?a:`/${a}`}`,f=o(l.headers),p={...l,headers:f};return await fetch(r(n==null?void 0:n.baseURL,d),p)}}}function Rv({axios:e,getSocket:t,appId:n,serverUrl:r,token:o}){const a=`/apps/${n}/agents`,l={},c=()=>e.get(`${a}/conversations`),d=T=>e.get(`${a}/conversations/${T}`);return{getConversations:c,getConversation:d,listConversations:T=>e.get(`${a}/conversations`,{params:T}),createConversation:T=>e.post(`${a}/conversations`,T),addMessage:async(T,S)=>e.post(`${a}/conversations/v2/${T.id}/messages`,S),subscribeToConversation:(T,S)=>{const b=`/agent-conversations/${T}`,P=t(),_=d(T).then(R=>(l[T]=R,R));return P.subscribeToRoom(b,{connect:()=>{},update_model:async({data:R})=>{const B=JSON.parse(R);if(B._message){await _;const j=B._message,W=l[T];if(W){const z=W.messages||[],Y=z.findIndex(ee=>ee.id===j.id),re=Y!==-1?z.map((ee,se)=>se===Y?j:ee):[...z,j];l[T]={...W,messages:re},S==null||S(l[T])}}}})},getWhatsAppConnectURL:T=>{const S=`${r}/api/apps/${n}/agents/${encodeURIComponent(T)}/whatsapp`,b=o??ns();return b?`${S}?token=${b}`:S},getTelegramConnectURL:T=>{const S=`${r}/api/apps/${n}/agents/${encodeURIComponent(T)}/telegram`,b=o??ns();return b?`${S}?token=${b}`:S}}}function jv({serverUrl:e,token:t,appId:n}){return{connection:()=>{var o;return{baseURL:`${e}/api/apps/${n}/ai/openai/v1`,token:(o=t??ns())!==null&&o!==void 0?o:""}}}}function Iv(e,t){const n=`/app-logs/${t}`;return{async logUserInApp(r){await e.post(`${n}/log-user-in-app/${r}`)},async fetchLogs(r={}){return await e.get(n,{params:r})},async getStats(r={}){return await e.get(`${n}/stats`,{params:r})}}}function C2(e,t){return{async inviteUser(n,r){if(r!=="user"&&r!=="admin")throw new Error(`Invalid role: "${r}". Role must be either "user" or "admin".`);return await e.post(`/apps/${t}/runtime/users/invite-user`,{user_email:n,role:r})}}}const dr=Object.create(null);dr.open="0";dr.close="1";dr.ping="2";dr.pong="3";dr.message="4";dr.upgrade="5";dr.noop="6";const Vu=Object.create(null);Object.keys(dr).forEach(e=>{Vu[dr[e]]=e});const Lf={type:"error",data:"parser error"},q1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",W1=typeof ArrayBuffer=="function",K1=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Ip=({type:e,data:t},n,r)=>q1&&t instanceof Blob?n?r(t):Ov(t,r):W1&&(t instanceof ArrayBuffer||K1(t))?n?r(t):Ov(new Blob([t]),r):r(dr[e]+(t||"")),Ov=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Dv(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Nh;function _2(e,t){if(q1&&e.data instanceof Blob)return e.data.arrayBuffer().then(Dv).then(t);if(W1&&(e.data instanceof ArrayBuffer||K1(e.data)))return t(Dv(e.data));Ip(e,!1,n=>{Nh||(Nh=new TextEncoder),t(Nh.encode(n))})}const Lv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ga=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<Lv.length;e++)ga[Lv.charCodeAt(e)]=e;const P2=e=>{let t=e.length*.75,n=e.length,r,o=0,a,l,c,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const f=new ArrayBuffer(t),p=new Uint8Array(f);for(r=0;r<n;r+=4)a=ga[e.charCodeAt(r)],l=ga[e.charCodeAt(r+1)],c=ga[e.charCodeAt(r+2)],d=ga[e.charCodeAt(r+3)],p[o++]=a<<2|l>>4,p[o++]=(l&15)<<4|c>>2,p[o++]=(c&3)<<6|d&63;return f},A2=typeof ArrayBuffer=="function",Op=(e,t)=>{if(typeof e!="string")return{type:"message",data:Q1(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:N2(e.substring(1),t)}:Vu[n]?e.length>1?{type:Vu[n],data:e.substring(1)}:{type:Vu[n]}:Lf},N2=(e,t)=>
vendor: 4,246 bytes, line 145
145{if(A2){const n=P2(e);return Q1(n,t)}else return{base64:!0,data:e}},Q1=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},G1="�",R2=(e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach((a,l)=>{Ip(a,!1,c=>{r[l]=c,++o===n&&t(r.join(G1))})})},j2=(e,t)=>{const n=e.split(G1),r=[];for(let o=0;o<n.length;o++){const a=Op(n[o],t);if(r.push(a),a.type==="error")break}return r};function I2(){return new TransformStream({transform(e,t){_2(e,n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const a=new DataView(o.buffer);a.setUint8(0,126),a.setUint16(1,r)}else{o=new Uint8Array(9);const a=new DataView(o.buffer);a.setUint8(0,127),a.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(o[0]|=128),t.enqueue(o),t.enqueue(n)})}})}let Rh;function ku(e){return e.reduce((t,n)=>t+n.length,0)}function Su(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let o=0;o<t;o++)n[o]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function O2(e,t){Rh||(Rh=new TextDecoder);const n=[];let r=0,o=-1,a=!1;return new TransformStream({transform(l,c){for(n.push(l);;){if(r===0){if(ku(n)<1)break;const d=Su(n,1);a=(d[0]&128)===128,o=d[0]&127,o<126?r=3:o===126?r=1:r=2}else if(r===1){if(ku(n)<2)break;const d=Su(n,2);o=new DataView(d.buffer,d.byteOffset,d.length).getUint16(0),r=3}else if(r===2){if(ku(n)<8)break;const d=Su(n,8),f=new DataView(d.buffer,d.byteOffset,d.length),p=f.getUint32(0);if(p>Math.pow(2,21)-1){c.enqueue(Lf);break}o=p*Math.pow(2,32)+f.getUint32(4),r=3}else{if(ku(n)<o)break;const d=Su(n,o);c.enqueue(Op(a?d:Rh.decode(d),t)),r=0}if(o===0||o>e){c.enqueue(Lf);break}}}})}const Y1=4;function yt(e){if(e)return D2(e)}function D2(e){for(var t in yt.prototype)e[t]=yt.prototype[t];return e}yt.prototype.on=yt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};yt.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};yt.prototype.off=yt.prototype.removeListener=yt.prototype.removeAllListeners=yt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+e],this};yt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this};yt.prototype.emitReserved=yt.prototype.emit;yt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};yt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const mc=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),On=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),L2="arraybuffer";function X1(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const M2=On.setTimeout,F2=On.clearTimeout;function gc(e,t){t.useNativeTimers?(e.setTimeoutFn=M2.bind(On),e.clearTimeoutFn=F2.bind(On)):(e.setTimeoutFn=On.setTimeout.bind(On),e.clearTimeoutFn=On.clearTimeout.bind(On))}const B2=1.33;function z2(e){return typeof e=="string"?V2(e):Math.ceil((e.byteLength||e.size)*B2)}function V2(e){let t=0,n=0;for(let r=0,o=e.length;r<o;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function J1(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function U2(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function $2(e){let t={},n=e.split("&");for(let r=0,o=n.length;r<o;r++){let a=n[r].split("=");
vendor: 6,261 bytes, line 145
145t[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return t}class H2 extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Dp extends yt{constructor(t){super(),this.writable=!1,gc(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new H2(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Op(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_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(t){const n=U2(t);return n.length?"?"+n:""}}class q2 extends Dp{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};j2(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,R2(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=J1()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let Z1=!1;try{Z1=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const W2=Z1;function K2(){}class Q2 extends q2{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(o,a)=>{this.onError("xhr post error",o,a)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class lr extends yt{constructor(t,n,r){super(),this.createRequest=t,gc(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=X1(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var o;r.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=lr.requestsCount++,lr.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=K2,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete lr.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}lr.requestsCount=0;lr.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Mv);else if(typeof addEventListener=="function"){const e="onpagehide"in On?"pagehide":"unload";addEventListener(e,Mv,!1)}}function Mv(){for(let e in lr.requests)lr.requests.hasOwnProperty(e)&&lr.requests[e].abort()}const G2=(function(){const e=ek({xdomain:!1});return e&&e.responseType!==null})();class Y2 extends Q2{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=G2&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new lr(ek,this.uri(),t)}}function ek(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||W2))return new XMLHttpRequest}catch{}if(!t)try{return new On[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const tk=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class X2 extends Dp{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=tk?{}:X1(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(o){return this.emitReserved("error",o)}
vendor: 15,989 bytes, line 145
145this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],o=n===t.length-1;Ip(r,this.supportsBinary,a=>{try{this.doWrite(r,a)}catch{}o&&mc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=J1()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const jh=On.WebSocket||On.MozWebSocket;class J2 extends X2{createSocket(t,n,r){return tk?new jh(t,n,r):n?new jh(t,n):new jh(t)}doWrite(t,n){this.ws.send(n)}}class Z2 extends Dp{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=O2(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),o=I2();o.readable.pipeTo(t.writable),this._writer=o.writable.getWriter();const a=()=>{r.read().then(({done:c,value:d})=>{c||(this.onPacket(d),a())}).catch(c=>{})};a();const l={type:"open"};this.query.sid&&(l.data=`{"sid":"${this.query.sid}"}`),this._writer.write(l).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],o=n===t.length-1;this._writer.write(r).then(()=>{o&&mc(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const ej={websocket:J2,webtransport:Z2,polling:Y2},tj=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,nj=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Mf(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=tj.exec(e||""),a={},l=14;for(;l--;)a[nj[l]]=o[l]||"";return n!=-1&&r!=-1&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=rj(a,a.path),a.queryKey=ij(a,a.query),a}function rj(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function ij(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,o,a){o&&(n[o]=a)}),n}const Ff=typeof addEventListener=="function"&&typeof removeEventListener=="function",Uu=[];Ff&&addEventListener("offline",()=>{Uu.forEach(e=>e())},!1);class gi extends yt{constructor(t,n){if(super(),this.binaryType=L2,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=Mf(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=Mf(n.host).host);gc(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(r=>{const o=r.prototype.name;this.transports.push(o),this._transportsByName[o]=r}),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=$2(this.opts.query)),Ff&&(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"})},Uu.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Y1,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&gi.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.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",gi.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.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=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),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 t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const o=this.writeBuffer[r].data;if(o&&(n+=z2(o)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,mc(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,o){if(typeof n=="function"&&(o=n,n=void 0),typeof r=="function"&&(o=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const a={type:t,data:n,options:r};this.emitReserved("packetCreate",a),this.writeBuffer.push(a),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{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?r():t()}):this.upgrading?r():t()),this}_onError(t){if(gi.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,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(),Ff&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=Uu.indexOf(this._offlineEventListener);r!==-1&&Uu.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}gi.protocol=Y1;class sj extends gi{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;gi.priorWebsocketSuccess=!1;const o=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",g=>{if(!r)if(g.type==="pong"&&g.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;gi.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(p(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=n.name,this.emitReserved("upgradeError",v)}}))};function a(){r||(r=!0,p(),n.close(),n=null)}const l=g=>{const v=new Error("probe error: "+g);v.transport=n.name,a(),this.emitReserved("upgradeError",v)};function c(){l("transport closed")}function d(){l("socket closed")}function f(g){n&&g.name!==n.name&&a()}const p=()=>{n.removeListener("open",o),n.removeListener("error",l),n.removeListener("close",c),this.off("close",d),this.off("upgrading",f)};n.once("open",o),n.once("error",l),n.once("close",c),this.once("close",d),this.once("upgrading",f),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let oj=class extends sj{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(o=>ej[o]).filter(o=>!!o)),super(t,r)}};function aj(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=Mf(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const a=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port+t,r.href=r.protocol+"://"+a+(n&&n.port===r.port?"":":"+r.port),r}const lj=typeof ArrayBuffer=="function",uj=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,nk=Object.prototype.toString,cj=typeof Blob=="function"||typeof Blob<"u"&&nk.call(Blob)==="[object BlobConstructor]",dj=typeof File=="function"||typeof File<"u"&&nk.call(File)==="[object FileConstructor]";function Lp(e){return lj&&(e instanceof ArrayBuffer||uj(e))||cj&&e instanceof Blob||dj&&e instanceof File}function $u(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if($u(e[n]))return!0;return!1}if(Lp(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return $u(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&$u(e[n]))return!0;return!1}function hj(e){const t=[],n=e.data,r=e;return r.data=Bf(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Bf(e,t){if(!e)return e;if(Lp(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=Bf(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=Bf(e[r],t));return n}return e}function fj(e,t){return e.data=zf(e.data,t),delete e.attachments,e}function zf(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=zf(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=zf(e[n],t));return e}const pj=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var ze;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(ze||(ze={}));class mj{constructor(t){this.replacer=t}encode(t){return(t.type===ze.EVENT||t.type===ze.ACK)&&$u(t)?this.encodeAsBinary({type:t.type===ze.EVENT?ze.BINARY_EVENT:ze.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===ze.BINARY_EVENT||t.type===ze.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=hj(t),r=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(r),o}}class Mp extends yt{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===ze.BINARY_EVENT;r||n.type===ze.BINARY_ACK?(n.type=r?ze.EVENT:ze.ACK,this.reconstructor=new gj(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Lp(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),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: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(ze[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===ze.BINARY_EVENT||r.type===ze.BINARY_ACK){const a=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const l=t.substring(a,n);if(l!=Number(l)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(l)}if(t.charAt(n+1)==="/"){const a=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(a,n)}else r.nsp="/";const o=t.charAt(n+1);if(o!==""&&Number(o)==o){const a=n+1;for(;++n;){const l=t.charAt(n);if(l==null||Number(l)!=l){--n;break}if(n===t.length)break}r.id=Number(t.substring(a,n+1))}
vendor: 4,501 bytes, line 145
145if(t.charAt(++n)){const a=this.tryParse(t.substr(n));if(Mp.isPayloadValid(r.type,a))r.data=a;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case ze.CONNECT:return Fv(n);case ze.DISCONNECT:return n===void 0;case ze.CONNECT_ERROR:return typeof n=="string"||Fv(n);case ze.EVENT:case ze.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&pj.indexOf(n[0])===-1);case ze.ACK:case ze.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class gj{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=fj(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Fv(e){return Object.prototype.toString.call(e)==="[object Object]"}const yj=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Mp,Encoder:mj,get PacketType(){return ze}},Symbol.toStringTag,{value:"Module"}));function Gn(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const vj=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class rk extends yt{constructor(t,n,r){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=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Gn(t,"open",this.onopen.bind(this)),Gn(t,"packet",this.onpacket.bind(this)),Gn(t,"error",this.onerror.bind(this)),Gn(t,"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(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,o,a;if(vj.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const l={type:ze.EVENT,data:n};if(l.options={},l.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const p=this.ids++,g=n.pop();this._registerAckCallback(p,g),l.id=p}const c=(o=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||o===void 0?void 0:o.writable,d=this.connected&&!(!((a=this.io.engine)===null||a===void 0)&&a._hasPingExpired());return this.flags.volatile&&!c||(d?(this.notifyOutgoingListeners(l),this.packet(l)):this.sendBuffer.push(l)),this.flags={},this}_registerAckCallback(t,n){var r;const o=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(o===void 0){this.acks[t]=n;return}const a=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===t&&this.sendBuffer.splice(c,1);n.call(this,new Error("operation has timed out"))},o),l=(...c)=>{this.io.clearTimeoutFn(a),n.apply(this,c)};l.withError=!0,this.acks[t]=l}emitWithAck(t,...n){return new Promise((r,o)=>{const a=(l,c)=>l?o(l):r(c);a.withError=!0,n.push(a),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...a)=>(this._queue[0],o!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...a)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:ze.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}
vendor: 7,087 bytes, line 145
145_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case ze.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.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 ze.EVENT:case ze.BINARY_EVENT:this.onevent(t);break;case ze.ACK:case ze.BINARY_ACK:this.onack(t);break;case ze.DISCONNECT:this.ondisconnect();break;case ze.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...o){r||(r=!0,n.packet({type:ze.ACK,id:t,data:o}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ze.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function mo(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}mo.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-n:e+n}return Math.min(e,this.max)|0};mo.prototype.reset=function(){this.attempts=0};mo.prototype.setMin=function(e){this.ms=e};mo.prototype.setMax=function(e){this.max=e};mo.prototype.setJitter=function(e){this.jitter=e};class Vf extends yt{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,gc(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((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new mo({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const o=n.parser||yj;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new oj(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const o=Gn(n,"open",function(){r.onopen(),t&&t()}),a=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),t?t(c):this.maybeReconnectOnOpen()},l=Gn(n,"error",a);if(this._timeout!==!1){const c=this._timeout,d=this.setTimeoutFn(()=>{o(),a(new Error("timeout")),n.close()},c);this.opts.autoUnref&&d.unref(),this.subs.push(()=>{this.clearTimeoutFn(d)})}return this.subs.push(o),this.subs.push(l),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Gn(t,"ping",this.onping.bind(this)),Gn(t,"data",this.ondata.bind(this)),Gn(t,"error",this.onerror.bind(this)),Gn(t,"close",this.onclose.bind(this)),Gn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){mc(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new rk(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}
145cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=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 r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const oa={};function Hu(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=aj(e,t.path||"/socket.io"),r=n.source,o=n.id,a=n.path,l=oa[o]&&a in oa[o].nsps,c=t.forceNew||t["force new connection"]||t.multiplex===!1||l;let d;return c?d=new Vf(r,t):(oa[o]||(oa[o]=new Vf(r,t)),d=oa[o]),n.query&&!t.query&&(t.query=n.queryKey),d.socket(n.path,t)}Object.assign(Hu,{Manager:Vf,Socket:rk,io:Hu,connect:Hu});const xj=250;function Bv(e,t){var n;const r=(n=e.token)!==null&&n!==void 0?n:ns(),o={app_id:e.appId,token:r};r||(o.anonymous_id=jp());const a=Hu(e.serverUrl,{path:e.mountPath,transports:e.transports,query:o});return a.on("connect",async()=>{var l;return console.log("connect",a.id),(l=t.connect)===null||l===void 0?void 0:l.call(t)}),a.on("update_model",async l=>{var c;return(c=t.update_model)===null||c===void 0?void 0:c.call(t,l)}),a.on("error",async l=>{var c;return(c=t.error)===null||c===void 0?void 0:c.call(t,l)}),a.on("connect_error",async l=>{var c;return console.error("connect_error",l),(c=t.error)===null||c===void 0?void 0:c.call(t,l)}),a}function wj({config:e}){let t={...e};const n={},r={},o={connect:async()=>{const b=[];Object.keys(n).forEach(P=>{const _=v(P);_.length!==0&&(f(P),_.forEach(({connect:R})=>{const B=async()=>R==null?void 0:R();b.push(B())}))}),await Promise.all(b)},update_model:async b=>{const _=v(b.room).map(R=>{var B;return(B=R.update_model)===null||B===void 0?void 0:B.call(R,b)});await Promise.all(_)},error:async b=>{console.error("error",b);const P=Object.values(n).flat().map(_=>{var R;return(R=_.error)===null||R===void 0?void 0:R.call(_,b)});await Promise.all(P)}};let a=Bv(e,o);function l(){c()}function c(){C(),a&&a.disconnect()}function d(b){l(),t={...t,...b},a=Bv(t,o)}function f(b){a.emit("join",b)}function p(b){a.emit("leave",b)}async function g(b,P){var _;const R=JSON.stringify(P);return(_=o.update_model)===null||_===void 0?void 0:_.call(o,{room:b,data:R})}function v(b){var P;return(P=n[b])!==null&&P!==void 0?P:[]}function w(b){const P=r[b];P&&(clearTimeout(P),delete r[b])}function C(){Object.keys(r).forEach(b=>{var P,_;clearTimeout(r[b]),delete r[b],((_=(P=n[b])===null||P===void 0?void 0:P.length)!==null&&_!==void 0?_:0)===0&&delete n[b]})}function T(b){w(b),r[b]=setTimeout(()=>{var P,_;delete r[b],!(((_=(P=n[b])===null||P===void 0?void 0:P.length)!==null&&_!==void 0?_:0)>0)&&(p(b),delete n[b])},xj)}return{socket:a,subscribeToRoom:(b,P)=>{n[b]?w(b):(f(b),n[b]=[]),n[b].push(P);let _=!1;return()=>{var R,B;_||(_=!0,n[b]=(B=(R=n[b])===null||R===void 0?void 0:R.filter(j=>j!==P))!==null&&B!==void 0?B:[],n[b].length===0&&T(b))}},updateConfig:d,updateModel:g,disconnect:c}}(!globalThis.EventTarget||!globalThis.Event)&&console.error(`
146  PartySocket requires a global 'EventTarget' class to be available!
147  You can polyfill this global by adding this to your code before any partysocket imports: 
148  
149  \`\`\`
150  import 'partysocket/event-target-polyfill';
151  \`\`\`
152  Please file an issue at https://github.com/partykit/partykit if you're still having trouble.
153`);
vendor: 5,074 bytes, line 153
153var ik=class extends Event{constructor(t,n){super("error",n);He(this,"message");He(this,"error");this.message=t.message,this.error=t}},sk=class extends Event{constructor(t=1e3,n="",r){super("close",r);He(this,"code");He(this,"reason");He(this,"wasClean",!0);this.code=t,this.reason=n}},Ih={Event,ErrorEvent:ik,CloseEvent:sk};function bj(e,t){if(!e)throw new Error(t)}function kj(e){return new e.constructor(e.type,e)}function Sj(e){return"data"in e?new MessageEvent(e.type,e):"code"in e||"reason"in e?new sk(e.code||1999,e.reason||"unknown reason",e):"error"in e?new ik(e.error,e):new Event(e.type,e)}var kb,Ej=typeof process<"u"&&typeof((kb=process.versions)==null?void 0:kb.node)<"u"&&typeof document>"u",Eu=Ej?Sj:kj,Fi={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:1/0,maxEnqueuedMessages:1/0},zv=!1,Tj=class zi extends EventTarget{constructor(n,r,o={}){super();He(this,"_ws");He(this,"_retryCount",-1);He(this,"_uptimeTimeout");He(this,"_connectTimeout");He(this,"_shouldReconnect",!0);He(this,"_connectLock",!1);He(this,"_binaryType","blob");He(this,"_closeCalled",!1);He(this,"_messageQueue",[]);He(this,"_url");He(this,"_protocols");He(this,"_options");He(this,"onclose",null);He(this,"onerror",null);He(this,"onmessage",null);He(this,"onopen",null);He(this,"_handleOpen",n=>{this._debug("open event");const{minUptime:r=Fi.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),r),bj(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(o=>{var a;return(a=this._ws)==null?void 0:a.send(o)}),this._messageQueue=[],this.onopen&&this.onopen(n),this.dispatchEvent(Eu(n))});He(this,"_handleMessage",n=>{this._debug("message event"),this.onmessage&&this.onmessage(n),this.dispatchEvent(Eu(n))});He(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(Eu(n)),this._connect()});He(this,"_handleClose",n=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(n),this.dispatchEvent(Eu(n))});this._url=n,this._protocols=r,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 zi.CONNECTING}get OPEN(){return zi.OPEN}get CLOSING(){return zi.CLOSING}get CLOSED(){return zi.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((r,o)=>(typeof o=="string"?r+=o.length:o instanceof Blob?r+=o.size:r+=o.byteLength,r),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?zi.CLOSED:zi.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}close(n=1e3,r){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,r)}reconnect(n,r){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(n,r),this._connect())}send(n){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",n),this._ws.send(n);else{const{maxEnqueuedMessages:r=Fi.maxEnqueuedMessages}=this._options;this._messageQueue.length<r&&(this._debug("enqueue",n),this._messageQueue.push(n))}}_debug(...n){this._options.debug&&console.log.apply(console,["RWS>",...n])}_getNextDelay(){const{reconnectionDelayGrowFactor:n=Fi.reconnectionDelayGrowFactor,minReconnectionDelay:r=Fi.minReconnectionDelay,maxReconnectionDelay:o=Fi.maxReconnectionDelay}=this._options;let a=0;return this._retryCount>0&&(a=r*Math.pow(n,this._retryCount-1),a>o&&(a=o)),this._debug("next delay",a),a}_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 r=n();if(!r)return Promise.resolve(null);if(typeof r=="string"||Array.isArray(r))return Promise.resolve(r);if(r.then)return r}throw Error("Invalid protocols")}_getNextUrl(n){if(typeof n=="string")return Promise.resolve(n);if(typeof n=="function"){const r=n();if(typeof r=="string")return Promise.resolve(r);if(r.then)return r}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;
153const{maxRetries:n=Fi.maxRetries,connectionTimeout:r=Fi.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,a])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!zv&&(console.error(`‼️ No WebSocket implementation available. You should define options.WebSocket. 
154
155For example, if you're using node.js, run \`npm install ws\`, and then in your code:
156
157import PartySocket from 'partysocket';
158import WS from 'ws';
159
160const partysocket = new PartySocket({
161  host: "127.0.0.1:1999",
162  room: "test-room",
163  WebSocket: WS
164});
165
166`),zv=!0);const l=this._options.WebSocket||WebSocket;this._debug("connect",{url:o,protocols:a}),this._ws=a?new l(o,a):new l(o),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),r)}).catch(o=>{this._connectLock=!1,this._handleError(new Ih.ErrorEvent(Error(o.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new Ih.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(n=1e3,r){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{this._ws.close(n,r),this._handleClose(new Ih.CloseEvent(n,r,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)}};/*!
167 * Reconnecting WebSocket
168 * by Pedro Ladaria <[email protected]>
169 * https://github.com/pladaria/reconnecting-websocket
170 * License MIT
171 */var Cj=e=>e[1]!==null&&e[1]!==void 0;function _j(){if(typeof crypto<"u"&&crypto.randomUUID)return crypto.randomUUID();let e=new Date().getTime(),t=typeof performance<"u"&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),(n==="x"?r:r&3|8).toString(16)})}function ok(e,t,n={}){const{host:r,path:o,protocol:a,room:l,party:c,query:d}=e;let f=r.replace(/^(http|https|ws|wss):\/\//,"");if(f.endsWith("/")&&(f=f.slice(0,-1)),o&&o.startsWith("/"))throw new Error("path must not start with a slash");const p=c??"main",g=o?`/${o}`:"",v=a||(f.startsWith("localhost:")||f.startsWith("127.0.0.1:")||f.startsWith("192.168.")||f.startsWith("10.")||f.startsWith("172.")&&f.split(".")[1]>="16"&&f.split(".")[1]<="31"||f.startsWith("[::ffff:7f00:1]:")?t:t+"s"),w=`${v}://${f}/${c?`parties/${c}`:"party"}/${l}${g}`,C=(S={})=>`${w}?${new URLSearchParams([...Object.entries(n),...Object.entries(S).filter(Cj)])}`,T=typeof d=="function"?async()=>C(await d()):C(d);return{host:f,path:g,room:l,name:p,protocol:v,partyUrl:w,urlProvider:T}}var Pj=class extends Tj{constructor(t){const n=Vv(t);super(n.urlProvider,n.protocols,n.socketOptions);He(this,"_pk");He(this,"_pkurl");He(this,"name");He(this,"room");He(this,"host");He(this,"path");this.partySocketOptions=t,this.setWSProperties(n)}updateProperties(t){const n=Vv({...t,host:t.host??this.host,room:t.room??this.room,path:t.path??this.path});this._url=n.urlProvider,this._protocols=n.protocols,this._options=n.socketOptions,this.setWSProperties(n)}setWSProperties(t){const{_pk:n,_pkurl:r,name:o,room:a,host:l,path:c}=t;this._pk=n,this._pkurl=r,this.name=o,this.room=a,this.host=l,this.path=c}reconnect(t,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(t,n)}get id(){return this._pk}get roomUrl(){return this._pkurl}static async fetch(t,n){const r=ok(t,"http"),o=typeof r.urlProvider=="string"?r.urlProvider:await r.urlProvider();return(t.fetch??fetch)(o,n)}};function Vv(e){const{id:t,host:n,path:r,party:o,room:a,protocol:l,query:c,protocols:d,...f}=e,p=t||_j(),g=ok(e,"ws",{_pk:p});return{_pk:p,_pkurl:g.partyUrl,name:g.name,room:g.room,host:g.host,path:g.path,protocols:d,socketOptions:f,urlProvider:g.urlProvider}}const Aj=1e3,Nj=3e3;class Rj{constructor(t,n,r,o,a){var l;this.onClose=a,this.listeners=new Set,this.heartbeat=null,this.id=(l=o==null?void 0:o.id)!==null&&l!==void 0?l:crypto.randomUUID();const c=new Pj({host:r.host,party:t,room:n,id:this.id,query:()=>{const p=r.getAuthToken();return{app_id:r.appId,handler:t,...p?{token:p}:{},...r.functionsVersion?{fv:r.functionsVersion}:{}}}});this.ws=c;let d=Date.now();const f=()=>{d=Date.now()};c.addEventListener("open",f),c.addEventListener("message",p=>{f();let g;
171try{g=JSON.parse(p.data)}catch{return}if((g&&typeof g=="object"?g.type:void 0)!=="__pong")for(const w of this.listeners)w(g)}),this.heartbeat=setInterval(()=>{if(Date.now()-d>Nj){f(),c.reconnect();return}try{c.send(JSON.stringify({type:"__ping"}))}catch{}},Aj)}subscribe(t){return this.listeners.add(t),{unsubscribe:()=>{this.listeners.delete(t)}}}send(t){this.ws.send(JSON.stringify(t))}close(){this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null),this.listeners.clear(),this.ws.close(),this.onClose()}}function jj(e,t,n,r){let o=null;return{connect(a){if(o)return o;const l=new Rj(e,t,n,a,()=>{r.delete(l),o===l&&(o=null)});return o=l,r.add(l),l}}}function Ij(e,t){return e&&!e.startsWith("/")?e:t??e}function Oj(e){const t=new Set;return{module:new Proxy({},{get(r,o){if(!(typeof o!="string"||o==="then"))return a=>jj(o,a,e,t)}}),closeAll:()=>{for(const r of[...t])r.close()}}}function Dj(e){var t,n,r;const{serverUrl:o="https://base44.app",appId:a,token:l,serviceToken:c,requiresAuth:d=!1,appBaseUrl:f,options:p,functionsVersion:g,headers:v}=e,w=typeof f=="string"?f:"",C={serverUrl:o,mountPath:"/ws-user-apps/socket.io/",transports:["websocket"],appId:a,token:l};let T=null;const S=()=>(T||(T=wj({config:C})),T),b={...v,"X-App-Id":String(a)},P=g?{...b,"Base44-Functions-Version":g}:b,_=ma({baseURL:`${o}/api`,headers:b,token:l,onError:p==null?void 0:p.onError}),R=ma({baseURL:`${o}/api`,headers:P,token:l,interceptResponses:!1,onError:p==null?void 0:p.onError}),B={...b,...l?{"on-behalf-of":`Bearer ${l}`}:{}},j=ma({baseURL:`${o}/api`,headers:B,token:c,onError:p==null?void 0:p.onError}),W=ma({baseURL:`${o}/api`,headers:P,token:c,interceptResponses:!1}),z=b2(_,R,a,{appBaseUrl:w});if(typeof window<"u"){const he=l||ns();he&&z.setToken(he)}const Y=Oj({appId:a,host:Ij(o,typeof window<"u"?(t=window.location)===null||t===void 0?void 0:t.origin:void 0),functionsVersion:g,getAuthToken:()=>l||ns()}),re={entities:Pv({axios:_,appId:a,getSocket:S}),integrations:Av(_,a),connectors:E2(_,a),auth:z,functions:Nv(R,a,{getAuthHeaders:()=>{const he={},ie=l||ns();return ie&&(he.Authorization=`Bearer ${ie}`),he},baseURL:(n=R.defaults)===null||n===void 0?void 0:n.baseURL}),agents:Rv({axios:_,getSocket:S,appId:a,serverUrl:o,token:l}),aiGateway:jv({serverUrl:o,token:l,appId:a}),appLogs:Iv(_,a),users:C2(_,a),analytics:a2({axiosClient:_,serverUrl:o,appId:a,userAuthModule:z}),actors:Y.module,cleanup:()=>{re.analytics.cleanup(),Y.closeAll(),T&&T.disconnect()}},ee={entities:Pv({axios:j,appId:a,getSocket:S}),integrations:Av(j,a),sso:k2(j,a),connectors:S2(j,a),functions:Nv(W,a,{getAuthHeaders:()=>{const he={};return c&&(he.Authorization=`Bearer ${c}`),he},baseURL:(r=W.defaults)===null||r===void 0?void 0:r.baseURL}),agents:Rv({axios:j,getSocket:S,appId:a,serverUrl:o,token:l}),aiGateway:jv({serverUrl:o,token:c,appId:a}),appLogs:Iv(j,a),cleanup:()=>{T&&T.disconnect()}};return d&&typeof window<"u"&&setTimeout(async()=>{try{await re.auth.isAuthenticated()||re.auth.redirectToLogin(window.location.href)}catch(he){console.error("Authentication check failed:",he),re.auth.redirectToLogin(window.location.href)}},0),{...re,setToken(he){re.auth.setToken(he),T&&T.updateConfig({token:he}),C.token=he},getConfig(){return{serverUrl:o,appId:a,requiresAuth:d}},get asServiceRole(){if(!c)throw new Error("Service token is required to use asServiceRole. Please provide a serviceToken when creating the client.");return ee}}}const ak=typeof window>"u",Lj=ak?{localStorage:new Map}:window,ka=Lj.localStorage,Mj=e=>e.replace(/([A-Z])/g,"_$1").toLowerCase(),Bs=(e,{defaultValue:t=void 0,removeFromUrl:n=!1}={})=>{if(ak)return t;const r=`base44_${Mj(e)}`,o=new URLSearchParams(window.location.search),a=o.get(e);if(n){o.delete(e);const c=`${window.location.pathname}${o.toString()?`?${o.toString()}`:""}${window.location.hash}`;window.history.replaceState({},document.title,c)}if(a)return ka.setItem(r,a),a;if(t)return ka.setItem(r,t),t;const l=ka.getItem(r);return l||null},Fj=()=>(Bs("clear_access_token")==="true"&&(ka.removeItem("base44_access_token"),ka.removeItem("token")),{appId:Bs("app_id",{defaultValue:"6a0dc0c087a55e4aa251c760"}),token:Bs("access_token",{removeFromUrl:!0}),fromUrl:Bs("from_url",{defaultValue:window.location.href}),functionsVersion:Bs("functions_version",{defaultValue:"prod"}),appBaseUrl:Bs("app_base_url",{defaultValue:void 0})}),ya={...Fj()},{appId:Bj,token:zj,functionsVersion:Vj,appBaseUrl:Uj}=ya,ln=Dj({appId:Bj,token:zj,functionsVersion:Vj,serverUrl:"",requiresAuth:!1,appBaseUrl:Uj});function $j({}){var o;const t=Ga().pathname.substring(1),{data:n,isFetched:r}=IP({queryKey:["user"],queryFn:async()=>{try{return{user:await ln.auth.me(),isAuthenticated:!0}}catch{return{user:null,isAuthenticated:!1}}}});return x.jsx("div",{className:"min-h-screen flex items-center justify-center p-6 bg-slate-50",children:x.jsx("div",{className:"max-w-md w-full",children:x.jsxs("div",{className:"text-center space-y-6",children:[x.jsxs("div",{className:"space-y-2",children:[x.jsx("h1",{className:"text-7xl font-light text-slate-300",children:"404"}),x.jsx("div",{className:"h-0.5 w-16 bg-slate-200 mx-auto"})]}),x.jsxs("div",{className:"space-y-3",children:[x.jsx("h2",{className:"text-2xl font-medium text-slate-800",children:"Page Not Found"}),x.jsxs("p",{className:"text-slate-600 leading-relaxed",children:["The page ",x.jsxs("span",{className:"font-medium text-slate-700",children:['"',t,'"']})," could not be found in this application."]})]}),r&&n.isAuthenticated&&((o=n.user)==null?void 0:o.role)==="admin"&&x.jsx("div",{className:"mt-8 p-4 bg-slate-100 rounded-lg border border-slate-200",children:x.jsxs("div",{className:"flex items-start space-x-3",children:[x.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full bg-orange-100 flex items-center justify-center mt-0.5",children:x.jsx("div",{className:"w-2 h-2 rounded-full bg-orange-400"})}),x.jsxs("div",{className:"text-left space-y-1",children:[x.jsx("p",{className:"text-sm font-medium text-slate-700",children:"Admin Note"}),x.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."})]})]})}),x.jsx("div",{className:"pt-6",children:x.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:[x.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:x.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 lk=F.createContext(),Hj=({children:e})=>{const[t,n]=F.useState(null),[r,o]=F.useState(!1),[a,l]=F.useState(!0),[c,d]=F.useState(!0),[f,p]=F.useState(null),[g,v]=F.useState(!1),[w,C]=F.useState(null);F.useEffect(()=>{T()},[]);const T=async()=>{var _,R;try{d(!0),p(null);const B=ma({baseURL:"/api/apps/public",headers:{"X-App-Id":ya.appId},token:ya.token,interceptResponses:!0});try{const j=await B.get(`/prod/public-settings/by-id/${ya.appId}`);C(j),ya.token?await S():(l(!1),o(!1),v(!0)),d(!1)}catch(j){if(console.error("App state check failed:",j),j.status===403&&((R=(_=j.data)==null?void 0:_.extra_data)!=null&&R.reason)){const W=j.data.extra_data.reason;p(W==="auth_required"?{type:"auth_required",message:"Authentication required"}:W==="user_not_registered"?{type:"user_not_registered",message:"User not registered for this app"}:{type:W,message:j.message})}else p({type:"unknown",message:j.message||"Failed to load app"});d(!1),l(!1)}}catch(B){console.error("Unexpected error:",B),p({type:"unknown",message:B.message||"An unexpected error occurred"}),d(!1),l(!1)}},S=async()=>{try{l(!0);const _=await ln.auth.me();n(_),o(!0),l(!1),v(!0)}catch(_){console.error("User auth check failed:",_),l(!1),o(!1),v(!0),(_.status===401||_.status===403)&&p({type:"auth_required",message:"Authentication required"})}},b=(_=!0)=>{n(null),o(!1),_?ln.auth.logout(window.location.href):ln.auth.logout()},P=()=>{ln.auth.redirectToLogin(window.location.href)};return x.jsx(lk.Provider,{value:{user:t,isAuthenticated:r,isLoadingAuth:a,isLoadingPublicSettings:c,authError:f,appPublicSettings:w,authChecked:g,logout:b,navigateToLogin:P,checkUserAuth:S,checkAppState:T},children:e})},qj=()=>{const e=F.useContext(lk);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e},Wj=()=>x.jsx("div",{className:"flex flex-col items-center justify-center min-h-screen bg-gradient-to-b from-white to-slate-50",children:x.jsx("div",{className:"max-w-md w-full p-8 bg-white rounded-lg shadow-lg border border-slate-100",children:x.jsxs("div",{className:"text-center",children:[x.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 mb-6 rounded-full bg-orange-100",children:x.jsx("svg",{className:"w-8 h-8 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:x.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"})})}),x.jsx("h1",{className:"text-3xl font-bold text-slate-900 mb-4",children:"Access Restricted"}),x.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."}),x.jsxs("div",{className:"p-4 bg-slate-50 rounded-md text-sm text-slate-600",children:[x.jsx("p",{children:"If you believe this is an error, you can:"}),x.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[x.jsx("li",{children:"Verify you are logged in with the correct account"}),x.jsx("li",{children:"Contact the app administrator for access"}),x.jsx("li",{children:"Try logging out and back in again"})]})]})]})})}),Fp=F.createContext({});function Bp(e){const t=F.useRef(null);return t.current===null&&(t.current=e()),t.current}const yc=F.createContext(null),zp=F.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});
vendor: 8,815 bytes, lines 171-179
171class Kj extends F.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Qj({children:e,isPresent:t}){const n=F.useId(),r=F.useRef(null),o=F.useRef({width:0,height:0,top:0,left:0}),{nonce:a}=F.useContext(zp);return F.useInsertionEffect(()=>{const{width:l,height:c,top:d,left:f}=o.current;if(t||!r.current||!l||!c)return;r.current.dataset.motionPopId=n;const p=document.createElement("style");return a&&(p.nonce=a),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
172          [data-motion-pop-id="${n}"] {
173            position: absolute !important;
174            width: ${l}px !important;
175            height: ${c}px !important;
176            top: ${d}px !important;
177            left: ${f}px !important;
178          }
179        `),()=>{document.head.removeChild(p)}},[t]),x.jsx(Kj,{isPresent:t,childRef:r,sizeRef:o,children:F.cloneElement(e,{ref:r})})}const Gj=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:a,mode:l})=>{const c=Bp(Yj),d=F.useId(),f=F.useCallback(g=>{c.set(g,!0);for(const v of c.values())if(!v)return;r&&r()},[c,r]),p=F.useMemo(()=>({id:d,initial:t,isPresent:n,custom:o,onExitComplete:f,register:g=>(c.set(g,!1),()=>c.delete(g))}),a?[Math.random(),f]:[n,f]);return F.useMemo(()=>{c.forEach((g,v)=>c.set(v,!1))},[n]),F.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),l==="popLayout"&&(e=x.jsx(Qj,{isPresent:n,children:e})),x.jsx(yc.Provider,{value:p,children:e})};function Yj(){return new Map}function uk(e=!0){const t=F.useContext(yc);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,a=F.useId();F.useEffect(()=>{e&&o(a)},[e]);const l=F.useCallback(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,l]:[!0]}const Tu=e=>e.key||"";function Uv(e){const t=[];return F.Children.forEach(e,n=>{F.isValidElement(n)&&t.push(n)}),t}const Vp=typeof window<"u",ck=Vp?F.useLayoutEffect:F.useEffect,dk=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:a="sync",propagate:l=!1})=>{const[c,d]=uk(l),f=F.useMemo(()=>Uv(e),[e]),p=l&&!c?[]:f.map(Tu),g=F.useRef(!0),v=F.useRef(f),w=Bp(()=>new Map),[C,T]=F.useState(f),[S,b]=F.useState(f);ck(()=>{g.current=!1,v.current=f;for(let R=0;R<S.length;R++){const B=Tu(S[R]);p.includes(B)?w.delete(B):w.get(B)!==!0&&w.set(B,!1)}},[S,p.length,p.join("-")]);const P=[];if(f!==C){let R=[...f];for(let B=0;B<S.length;B++){const j=S[B],W=Tu(j);p.includes(W)||(R.splice(B,0,j),P.push(j))}a==="wait"&&P.length&&(R=P),b(Uv(R)),T(f);return}const{forceRender:_}=F.useContext(Fp);return x.jsx(x.Fragment,{children:S.map(R=>{const B=Tu(R),j=l&&!c?!1:f===S||p.includes(B),W=()=>{if(w.has(B))w.set(B,!0);else return;let z=!0;w.forEach(Y=>{Y||(z=!1)}),z&&(_==null||_(),b(v.current),l&&(d==null||d()),r&&r())};return x.jsx(Gj,{isPresent:j,initial:!g.current||n?void 0:!1,custom:j?void 0:t,presenceAffectsLayout:o,mode:a,onExitComplete:j?void 0:W,children:R},B)})})},bn=e=>e;let hk=bn;function Up(e){let t;return()=>(t===void 0&&(t=e()),t)}const lo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Ar=e=>e*1e3,Nr=e=>e/1e3,Xj={useManualTiming:!1};function Jj(e){let t=new Set,n=new Set,r=!1,o=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(f){a.has(f)&&(d.schedule(f),e()),f(l)}const d={schedule:(f,p=!1,g=!1)=>{const w=g&&r?t:n;return p&&a.add(f),w.has(f)||w.add(f),f},cancel:f=>{n.delete(f),a.delete(f)},process:f=>{if(l=f,r){o=!0;return}r=!0,[t,n]=[n,t],t.forEach(c),t.clear(),r=!1,o&&(o=!1,d.process(f))}};return d}const Cu=["read","resolveKeyframes","update","preRender","render","postRender"],Zj=40;function fk(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,l=Cu.reduce((b,P)=>(b[P]=Jj(a),b),{}),{read:c,resolveKeyframes:d,update:f,preRender:p,render:g,postRender:v}=l,w=()=>{const b=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(b-o.timestamp,Zj),1),o.timestamp=b,o.isProcessing=!0,c.process(o),d.process(o),f.process(o),p.process(o),g.process(o),v.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(w))},C=()=>{n=!0,r=!0,o.isProcessing||e(w)};return{schedule:Cu.reduce((b,P)=>{const _=l[P];return b[P]=(R,B=!1,j=!1)=>(n||C(),_.schedule(R,B,j)),b},{}),cancel:b=>{for(let P=0;P<Cu.length;P++)l[Cu[P]].cancel(b)},state:o,steps:l}}const{schedule:tt,cancel:yi,state:It,steps:Oh}=fk(typeof requestAnimationFrame<"u"?requestAnimationFrame:bn,!0),pk=F.createContext({strict:!1}),$v={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"]},uo={};for(const e in $v)uo[e]={isEnabled:t=>$v[e].some(n=>!!t[n])};function eI(e){for(const t in e)uo[t]={...uo[t],...e[t]}}const tI=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 tc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tI.has(e)}let mk=e=>!tc(e);function nI(e){e&&(mk=t=>t.startsWith("on")?!tc(t):e(t))}try{nI(require("@emotion/is-prop-valid").default)}catch{}function rI(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(mk(o)||n===!0&&tc(o)||!t&&!tc(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function iI(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const vc=F.createContext({});function Da(e){return typeof e=="string"||Array.isArray(e)}function xc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const $p=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hp=["initial",...$p];function wc(e){return xc(e.animate)||Hp.some(t=>Da(e[t]))}function gk(e){return!!(wc(e)||e.variants)}function sI(e,t){if(wc(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Da(n)?n:void 0,animate:Da(r)?r:void 0}}return e.inherit!==!1?t:{}}function oI(e){const{initial:t,animate:n}=sI(e,F.useContext(vc));return F.useMemo(()=>({initial:t,animate:n}),[Hv(t),Hv(n)])}function Hv(e){return Array.isArray(e)?e.join(" "):e}const aI=Symbol.for("motionComponentSymbol");function Us(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function lI(e,t,n){return F.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Us(n)&&(n.current=r))},[t])}const qp=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),uI="framerAppearId",yk="data-"+qp(uI),{schedule:Wp}=fk(queueMicrotask,!1),vk=F.createContext({});function cI(e,t,n,r,o){var a,l;const{visualElement:c}=F.useContext(vc),d=F.useContext(pk),f=F.useContext(yc),p=F.useContext(zp).reducedMotion,g=F.useRef(null);r=r||d.renderer,!g.current&&r&&(g.current=r(e,{visualState:t,parent:c,props:n,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:p}));const v=g.current,w=F.useContext(vk);v&&!v.projection&&o&&(v.type==="html"||v.type==="svg")&&dI(g.current,n,o,w);const C=F.useRef(!1);F.useInsertionEffect(()=>{v&&C.current&&v.update(n,f)});const T=n[yk],S=F.useRef(!!T&&!(!((a=window.MotionHandoffIsComplete)===null||a===void 0)&&a.call(window,T))&&((l=window.MotionHasOptimisedAnimation)===null||l===void 0?void 0:l.call(window,T)));return ck(()=>{v&&(C.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),Wp.render(v.render),S.current&&v.animationState&&v.animationState.animateChanges())}),F.useEffect(()=>{v&&(!S.current&&v.animationState&&v.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)===null||b===void 0||b.call(window,T)}),S.current=!1))}),v}function dI(e,t,n,r){const{layoutId:o,layout:a,drag:l,dragConstraints:c,layoutScroll:d,layoutRoot:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:xk(e.parent)),e.projection.setOptions({layoutId:o,layout:a,alwaysMeasureLayout:!!l||c&&Us(c),visualElement:e,animationType:typeof a=="str
179ing"?a:"both",initialPromotionConfig:r,layoutScroll:d,layoutRoot:f})}function xk(e){if(e)return e.options.allowProjection!==!1?e.projection:xk(e.parent)}function hI({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){var a,l;e&&eI(e);function c(f,p){let g;const v={...F.useContext(zp),...f,layoutId:fI(f)},{isStatic:w}=v,C=oI(f),T=r(f,w);if(!w&&Vp){pI();const S=mI(v);g=S.MeasureLayout,C.visualElement=cI(o,T,v,t,S.ProjectionNode)}return x.jsxs(vc.Provider,{value:C,children:[g&&C.visualElement?x.jsx(g,{visualElement:C.visualElement,...v}):null,n(o,f,lI(T,C.visualElement,p),T,w,C.visualElement)]})}c.displayName=`motion.${typeof o=="string"?o:`create(${(l=(a=o.displayName)!==null&&a!==void 0?a:o.name)!==null&&l!==void 0?l:""})`}`;const d=F.forwardRef(c);return d[aI]=o,d}function fI({layoutId:e}){const t=F.useContext(Fp).id;return t&&e!==void 0?t+"-"+e:e}function pI(e,t){F.useContext(pk).strict}function mI(e){const{drag:t,layout:n}=uo;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const gI=["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 Kp(e){return typeof e!="string"||e.includes("-")?!1:!!(gI.indexOf(e)>-1||/[A-Z]/u.test(e))}function qv(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Qp(e,t,n,r){if(typeof t=="function"){const[o,a]=qv(r);t=t(n!==void 0?n:e.custom,o,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,a]=qv(r);t=t(n!==void 0?n:e.custom,o,a)}return t}const Uf=e=>Array.isArray(e),yI=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),vI=e=>Uf(e)?e[e.length-1]||0:e,$t=e=>!!(e&&e.getVelocity);function qu(e){const t=$t(e)?e.get():e;return yI(t)?t.toValue():t}function xI({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,a){const l={latestValues:wI(r,o,a,e),renderState:t()};return n&&(l.onMount=c=>n({props:r,current:c,...l}),l.onUpdate=c=>n(c)),l}const wk=e=>(t,n)=>{const r=F.useContext(vc),o=F.useContext(yc),a=()=>xI(e,t,r,o);return n?a():Bp(a)};function wI(e,t,n,r){const o={},a=r(e,{});for(const v in a)o[v]=qu(a[v]);let{initial:l,animate:c}=e;const d=wc(e),f=gk(e);t&&f&&!d&&e.inherit!==!1&&(l===void 0&&(l=t.initial),c===void 0&&(c=t.animate));let p=n?n.initial===!1:!1;p=p||l===!1;const g=p?c:l;if(g&&typeof g!="boolean"&&!xc(g)){const v=Array.isArray(g)?g:[g];for(let w=0;w<v.length;w++){const C=Qp(e,v[w]);if(C){const{transitionEnd:T,transition:S,...b}=C;for(const P in b){let _=b[P];if(Array.isArray(_)){const R=p?_.length-1:0;_=_[R]}_!==null&&(o[P]=_)}for(const P in T)o[P]=T[P]}}}return o}const go=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hs=new Set(go),bk=e=>t=>typeof t=="string"&&t.startsWith(e),kk=bk("--"),bI=bk("var(--"),Gp=e=>bI(e)?kI.test(e.split("/*")[0].trim()):!1,kI=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Sk=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Rr=(e,t,n)=>n>t?t:n<e?e:n,yo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},La={...yo,transform:e=>Rr(0,1,e)},_u={...yo,default:1},el=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ii=el("deg"),ur=el("%"),_e=el("px"),SI=el("vh"),EI=el("vw"),Wv={...ur,parse:e=>ur.parse(e)/100,transform:e=>ur.transform(e*100)},TI={borderWidth:_e,borderTopWidth:_e,borderRightWidth:_e,borderBottomWidth:_e,borderLeftWidth:_e,borderRadius:_e,radius:_e,borderTopLeftRadius:_e,borderTopRightRadius:_e,borderBottomRightRadius:_e,borderBottomLeftRadius:_e,width:_e,maxWidth:_e,height:_e,maxHeight:_e,top:_e,right:_e,bottom:_e,left:_e,padding:_e,paddingTop:_e,paddingRight:_e,paddingBottom:_e,paddingLeft:_e,margin:_e,marginTop:_e,marginRight:_e,marginBottom:_e,marginLeft:_e,backgroundPositionX:_e,backgroundPositionY:_e},CI={rotate:ii,rotateX:ii,rotateY:ii,rotateZ:ii,scale:_u,scaleX:_u,scaleY:_u,scaleZ:_u,skew:ii,skewX:ii,skewY:ii,distance:_e,translateX:_e,translateY:_e,translateZ:_e,x:_e,y:_e,z:_e,perspective:_e,transformPerspective:_e,opacity:La,originX:Wv,originY:Wv,originZ:_e},Kv={...yo,transform:Math.round},Yp={...TI,...CI,zIndex:Kv,size:_e,fillOpacity:La,strokeOpacity:La,numOctaves:Kv},_I={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},PI=go.length;function AI(e,t,n){let r="",o=!0;for(let a=0;a<PI;a++){const l=go[a],c=e[l];
vendor: 21,950 bytes, line 179
179if(c===void 0)continue;let d=!0;if(typeof c=="number"?d=c===(l.startsWith("scale")?1:0):d=parseFloat(c)===0,!d||n){const f=Sk(c,Yp[l]);if(!d){o=!1;const p=_I[l]||l;r+=`${p}(${f}) `}n&&(t[l]=f)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Xp(e,t,n){const{style:r,vars:o,transformOrigin:a}=e;let l=!1,c=!1;for(const d in t){const f=t[d];if(hs.has(d)){l=!0;continue}else if(kk(d)){o[d]=f;continue}else{const p=Sk(f,Yp[d]);d.startsWith("origin")?(c=!0,a[d]=p):r[d]=p}}if(t.transform||(l||n?r.transform=AI(t,e.transform,n):r.transform&&(r.transform="none")),c){const{originX:d="50%",originY:f="50%",originZ:p=0}=a;r.transformOrigin=`${d} ${f} ${p}`}}const NI={offset:"stroke-dashoffset",array:"stroke-dasharray"},RI={offset:"strokeDashoffset",array:"strokeDasharray"};function jI(e,t,n=1,r=0,o=!0){e.pathLength=1;const a=o?NI:RI;e[a.offset]=_e.transform(-r);const l=_e.transform(t),c=_e.transform(n);e[a.array]=`${l} ${c}`}function Qv(e,t,n){return typeof e=="string"?e:_e.transform(t+n*e)}function II(e,t,n){const r=Qv(t,e.x,e.width),o=Qv(n,e.y,e.height);return`${r} ${o}`}function Jp(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:a,pathLength:l,pathSpacing:c=1,pathOffset:d=0,...f},p,g){if(Xp(e,f,g),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:w,dimensions:C}=e;v.transform&&(C&&(w.transform=v.transform),delete v.transform),C&&(o!==void 0||a!==void 0||w.transform)&&(w.transformOrigin=II(C,o!==void 0?o:.5,a!==void 0?a:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),l!==void 0&&jI(v,l,c,d,!1)}const Zp=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Ek=()=>({...Zp(),attrs:{}}),em=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Tk(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const Ck=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 _k(e,t,n,r){Tk(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Ck.has(o)?o:qp(o),t.attrs[o])}const nc={};function OI(e){Object.assign(nc,e)}function Pk(e,{layout:t,layoutId:n}){return hs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!nc[e]||e==="opacity")}function tm(e,t,n){var r;const{style:o}=e,a={};for(const l in o)($t(o[l])||t.style&&$t(t.style[l])||Pk(l,e)||((r=n==null?void 0:n.getValue(l))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[l]=o[l]);return a}function Ak(e,t,n){const r=tm(e,t,n);for(const o in e)if($t(e[o])||$t(t[o])){const a=go.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[a]=e[o]}return r}function DI(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Gv=["x","y","width","height","cx","cy","r"],LI={useVisualState:wk({scrapeMotionValuesFromProps:Ak,createRenderState:Ek,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let a=!!e.drag;if(!a){for(const c in o)if(hs.has(c)){a=!0;break}}if(!a)return;let l=!t;if(t)for(let c=0;c<Gv.length;c++){const d=Gv[c];e[d]!==t[d]&&(l=!0)}l&&tt.read(()=>{DI(n,r),tt.render(()=>{Jp(r,o,em(n.tagName),e.transformTemplate),_k(n,r)})})}})},MI={useVisualState:wk({scrapeMotionValuesFromProps:tm,createRenderState:Zp})};function Nk(e,t,n){for(const r in t)!$t(t[r])&&!Pk(r,n)&&(e[r]=t[r])}function FI({transformTemplate:e},t){return F.useMemo(()=>{const n=Zp();return Xp(n,t,e),Object.assign({},n.vars,n.style)},[t])}function BI(e,t){const n=e.style||{},r={};return Nk(r,n,e),Object.assign(r,FI(e,t)),r}function zI(e,t){const n={},r=BI(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function VI(e,t,n,r){const o=F.useMemo(()=>{const a=Ek();return Jp(a,t,em(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};Nk(a,e.style,e),o.style={...a,...o.style}}return o}function UI(e=!1){return(n,r,o,{latestValues:a},l)=>{const d=(Kp(n)?VI:zI)(r,a,l,n),f=rI(r,typeof n=="string",e),p=n!==F.Fragment?{...f,...d,ref:o}:{},{children:g}=r,v=F.useMemo(()=>$t(g)?g.get():g,[g]);return F.createElement(n,{...p,children:v})}}function $I(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const l={...Kp(r)?LI:MI,preloadedFeatures:e,useRender:UI(o),createVisualElement:t,Component:r};return hI(l)}}function Rk(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function bc(e,t,n){const r=e.getProps();return Qp(r,t,n!==void 0?n:r.custom,e)}const HI=Up(()=>window.ScrollTimeline!==void 0);class qI{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>{if(HI()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{r.forEach((o,a)=>{o&&o(),this.animations[a].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class WI extends qI{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function nm(e,t){return e?e[t]||e.default||e:void 0}const $f=2e4;function jk(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<$f;)t+=n,r=e.next(t);return t>=$f?1/0:t}function rm(e){return typeof e=="function"}function Yv(e,t){e.timeline=t,e.onfinish=null}const im=e=>Array.isArray(e)&&typeof e[0]=="number",KI={linearEasing:void 0};function QI(e,t){const n=Up(e);return()=>{var r;return(r=KI[t])!==null&&r!==void 0?r:n()}}const rc=QI(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ik=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let a=0;a<o;a++)r+=e(lo(0,o-1,a))+", ";return`linear(${r.substring(0,r.length-2)})`};function Ok(e){return!!(typeof e=="function"&&rc()||!e||typeof e=="string"&&(e in Hf||rc())||im(e)||Array.isArray(e)&&e.every(Ok))}const va=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Hf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:va([0,.65,.55,1]),circOut:va([.55,0,1,.45]),backIn:va([.31,.01,.66,-.59]),backOut:va([.33,1.53,.69,.99])};function Dk(e,t){if(e)return typeof e=="function"&&rc()?Ik(e,t):im(e)?va(e):Array.isArray(e)?e.map(n=>Dk(n,t)||Hf.easeOut):Hf[e]}const Wn={x:!1,y:!1};function Lk(){return Wn.x||Wn.y}function GI(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const a=(r=void 0)!==null&&r!==void 0?r:o.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function Mk(e,t){const n=GI(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function Xv(e){return t=>{t.pointerType==="touch"||Lk()||e(t)}}function YI(e,t,n={}){const[r,o,a]=Mk(e,n),l=Xv(c=>{const{target:d}=c,f=t(c);if(typeof f!="function"||!d)return;const p=Xv(g=>{f(g),d.removeEventListener("pointerleave",p)});d.addEventListener("pointerleave",p,o)});return r.forEach(c=>{c.addEventListener("pointerenter",l,o)}),a}const Fk=(e,t)=>t?e===t?!0:Fk(e,t.parentElement):!1,sm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,XI=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function JI(e){return XI.has(e.tagName)||e.tabIndex!==-1}const xa=new WeakSet;function Jv(e){return t=>{t.key==="Enter"&&e(t)}}function Dh(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const ZI=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Jv(()=>{if(xa.has(n))return;Dh(n,"down");const o=Jv(()=>{Dh(n,"up")}),a=()=>Dh(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",a,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Zv(e){return sm(e)&&!Lk()}function eO(e,t,n={}){const[r,o,a]=Mk(e,n),l=c=>{const d=c.currentTarget;if(!Zv(c)||xa.has(d))return;xa.add(d);const f=t(c),p=(w,C)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",v),!(!Zv(w)||!xa.has(d))&&(xa.delete(d),typeof f=="function"&&f(w,{success:C}))},g=w=>{p(w,n.useGlobalTarget||Fk(d,w.target))},v=w=>{p(w,!1)};window.addEventListener("pointerup",g,o),window.addEventListener("pointercancel",v,o)};return r.forEach(c=>{!JI(c)&&c.getAttribute("tabindex")===null&&(c.tabIndex=0),(n.useGlobalTarget?window:c).addEventListener("pointerdown",l,o),c.addEventListener("focus",f=>ZI(f,o),o)}),a}function tO(e){return e==="x"||e==="y"?Wn[e]?null:(Wn[e]=!0,()=>{Wn[e]=!1}):Wn.x||Wn.y?null:(Wn.x=Wn.y=!0,()=>{Wn.x=Wn.y=!1})}const Bk=new Set(["width","height","top","left","right","bottom",...go]);let Wu;function nO(){Wu=void 0}const cr={now:()=>(Wu===void 0&&cr.set(It.isProcessing||Xj.useManualTiming?It.timestamp:performance.now()),Wu),set:e=>{Wu=e,queueMicrotask(nO)}};function om(e,t){e.indexOf(t)===-1&&e.push(t)}function am(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class lm{constructor(){this.subscriptions=[]}add(t){return om(this.subscriptions,t),()=>am(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let a=0;a<o;a++){const l=this.subscriptions[a];l&&l(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function zk(e,t){return t?e*(1e3/t):0}const ex=30,rO=e=>!isNaN(parseFloat(e));class iO{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const a=cr.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=cr.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=rO(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new lm);const r=this.events[t].add(n);return t==="change"?()=>{r(),tt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=cr.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>ex)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,ex);return zk(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ma(e,t){return new iO(e,t)}function sO(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ma(n))}function oO(e,t){const n=bc(e,t);let{transitionEnd:r={},transition:o={},...a}=n||{};a={...a,...r};for(const l in a){const c=vI(a[l]);sO(e,l,c)}}function aO(e){return!!($t(e)&&e.add)}function qf(e,t){const n=e.getValue("willChange");if(aO(n))return n.add(t)}function Vk(e){return e.props[yk]}const Uk=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lO=1e-7,uO=12;function cO(e,t,n,r,o){let a,l,c=0;do l=t+(n-t)/2,a=Uk(l,r,o)-e,a>0?n=l:t=l;while(Math.abs(a)>lO&&++c<uO);return l}function tl(e,t,n,r){if(e===t&&n===r)return bn;const o=a=>cO(a,0,1,e,n);return a=>a===0||a===1?a:Uk(o(a),t,r)}const $k=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hk=e=>t=>1-e(1-t),qk=tl(.33,1.53,.69,.99),um=Hk(qk),Wk=$k(um),Kk=e=>(e*=2)<1?.5*um(e):.5*(2-Math.pow(2,-10*(e-1))),cm=e=>1-Math.sin(Math.acos(e)),Qk=Hk(cm),Gk=$k(cm),Yk=e=>/^0[^.\s]+$/u.test(e);function dO(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yk(e):!0}const Sa=e=>Math.round(e*1e5)/1e5,dm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function hO(e){return e==null}const fO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,hm=(e,t)=>n=>!!(typeof n=="string"&&fO.test(n)&&n.startsWith(e)||t&&!hO(n)&&Object.prototype.hasOwnProperty.call(n,t)),Xk=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,a,l,c]=r.match(dm);return{[e]:parseFloat(o),[t]:parseFloat(a),[n]:parseFloat(l),alpha:c!==void 0?parseFloat(c):1}},pO=e=>Rr(0,255,e),Lh={...yo,transform:e=>Math.round(pO(e))},qi={test:hm("rgb","red"),parse:Xk("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Lh.transform(e)+", "+Lh.transform(t)+", "+Lh.transform(n)+", "+Sa(La.transform(r))+")"};function mO(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Wf={test:hm("#"),parse:mO,transform:qi.transform},$s={test:hm("hsl","hue"),parse:Xk("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+ur.transform(Sa(t))+", "+ur.transform(Sa(n))+", "+Sa(La.transform(r))+")"},Ut={test:e=>qi.test(e)||Wf.test(e)||$s.test(e),parse:e=>qi.test(e)?qi.parse(e):$s.test(e)?$s.parse(e):Wf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?qi.transform(e):$s.transform(e)},gO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(dm))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(gO))===null||n===void 0?void 0:n.length)||0)>0}const Jk="number",Zk="color",vO="var",xO="var(",tx="${}",wO=/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 Fa(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let a=0;const c=t.replace(wO,d=>(Ut.test(d)?(r.color.push(a),o.push(Zk),n.push(Ut.parse(d))):d.startsWith(xO)?(r.var.push(a),o.push(vO),n.push(d)):(r.number.push(a),o.push(Jk),n.push(parseFloat(d))),++a,tx)).split(tx);return{values:n,split:c,indexes:r,types:o}}function eS(e){return Fa(e).values}function tS(e){const{split:t,types:n}=Fa(e),r=t.length;return o=>{let a="";for(let l=0;l<r;l++)if(a+=t[l],o[l]!==void 0){const c=n[l];c===Jk?a+=Sa(o[l]):c===Zk?a+=Ut.transform(o[l]):a+=o[l]}return a}}const bO=e=>typeof e=="number"?0:e;function kO(e){const t=eS(e);return tS(e)(t.map(bO))}const vi={test:yO,parse:eS,createTransformer:tS,getAnimatableNone:kO},SO=new Set(["brightness","contrast","saturate","opacity"]);function EO(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(dm)||[];if(!r)return e;const o=n.replace(r,"");let a=SO.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+o+")"}const TO=/\b([a-z-]*)\(.*?\)/gu,Kf={...vi,getAnimatableNone:e=>{const t=e.match(TO);return t?t.map(EO).join(" "):e}},CO={...Yp,color:Ut,backgroundColor:Ut,outlineColor:Ut,fill:Ut,stroke:Ut,borderColor:Ut,borderTopColor:Ut,borderRightColor:Ut,borderBottomColor:Ut,borderLeftColor:Ut,filter:Kf,WebkitFilter:Kf},fm=e=>CO[e];function nS(e,t){let n=fm(e);return n!==Kf&&(n=vi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const _O=new Set(["auto","none","0"]);function PO(e,t,n){let r=0,o;for(;r<e.length&&!o;){const a=e[r];typeof a=="string"&&!_O.has(a)&&Fa(a).values.length&&(o=e[r]),r++}if(o&&n)for(const a of t)e[a]=nS(n,o)}const nx=e=>e===yo||e===_e,rx=(e,t)=>parseFloat(e.split(", ")[t]),ix=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return rx(o[1],t);{const a=r.match(/^matrix\((.+)\)$/u);return a?rx(a[1],e):0}},AO=new Set(["x","y","z"]),NO=go.filter(e=>!AO.has(e));function RO(e){const t=[];return NO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const co={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ix(4,13),y:ix(5,14)};co.translateX=co.x;co.translateY=co.y;const rs=new Set;let Qf=!1,Gf=!1;function rS(){if(Gf){const e=Array.from(rs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=RO(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([a,l])=>{var c;(c=r.getValue(a))===null||c===void 0||c.set(l)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Gf=!1,Qf=!1,rs.forEach(e=>e.complete()),rs.clear()}function iS(){rs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gf=!0)})}function jO(){iS(),rS()}class pm{constructor(t,n,r,o,a,l=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=a,this.isAsync=l}scheduleResolve(){this.isScheduled=!0,this.isAsync?(rs.add(this),Qf||(Qf=!0,tt.read(iS),tt.resolveKeyframes(rS))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let a=0;a<t.length;a++)if(t[a]===null)if(a===0){const l=o==null?void 0:o.get(),c=t[t.length-1];if(l!==void 0)t[0]=l;else if(r&&n){const d=r.readValue(n,c);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=c),o&&l===void 0&&o.set(t[0])}else t[a]=t[a-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),rs.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,rs.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const sS=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),IO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function OO(e){const t=IO.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function oS(e,t,n=1){const[r,o]=OO(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const l=a.trim();return sS(l)?parseFloat(l):l}return Gp(o)?oS(o,t,n+1):o}const aS=e=>t=>t.test(e),DO={test:e=>e==="auto",parse:e=>e},lS=[yo,_e,ur,ii,EI,SI,DO],sx=e=>lS.find(aS(e));class uS extends pm{constructor(t,n,r,o,a){super(t,n,r,o,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),Gp(f))){const p=oS(f,n.current);p!==void 0&&(t[d]=p),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!Bk.has(r)||t.length!==2)return;const[o,a]=t,l=sx(o),c=sx(a);if(l!==c)if(nx(l)&&nx(c))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)dO(t[o])&&r.push(o);r.length&&PO(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=co[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const a=n.getValue(r);a&&a.jump(this.measuredOrigin,!1);const l=o.length-1,c=o[l];o[l]=co[r](n.measureViewportBox(),window.getComputedStyle(n.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEac
vendor: 4,597 bytes, line 179
179h(([d,f])=>{n.getValue(d).set(f)}),this.resolveNoneKeyframes()}}const ox=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(vi.test(e)||e==="0")&&!e.startsWith("url("));function LO(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function MO(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],l=ox(o,t),c=ox(a,t);return!l||!c?!1:LO(e)||(n==="spring"||rm(n))&&r}const FO=e=>e!==null;function kc(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(FO),a=t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const BO=40;class cS{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:l="loop",...c}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=cr.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:a,repeatType:l,...c},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>BO?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&jO(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=cr.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:a,delay:l,onComplete:c,onUpdate:d,isGenerator:f}=this.options;if(!f&&!MO(t,r,o,a))if(l)this.options.duration=0;else{d&&d(kc(t,this.options,n)),c&&c(),this.resolveFinishedPromise();return}const p=this.initPlayback(t,n);p!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...p},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const ot=(e,t,n)=>e+(t-e)*n;function Mh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function zO({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,a=0,l=0;if(!t)o=a=l=n;else{const c=n<.5?n*(1+t):n+t-n*t,d=2*n-c;o=Mh(d,c,e+1/3),a=Mh(d,c,e),l=Mh(d,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(a*255),blue:Math.round(l*255),alpha:r}}function ic(e,t){return n=>n>0?t:e}const Fh=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},VO=[Wf,qi,$s],UO=e=>VO.find(t=>t.test(e));function ax(e){const t=UO(e);if(!t)return!1;let n=t.parse(e);return t===$s&&(n=zO(n)),n}const lx=(e,t)=>{const n=ax(e),r=ax(t);if(!n||!r)return ic(e,t);const o={...n};return a=>(o.red=Fh(n.red,r.red,a),o.green=Fh(n.green,r.green,a),o.blue=Fh(n.blue,r.blue,a),o.alpha=ot(n.alpha,r.alpha,a),qi.transform(o))},$O=(e,t)=>n=>t(e(n)),nl=(...e)=>e.reduce($O),Yf=new Set(["none","hidden"]);function HO(e,t){return Yf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function qO(e,t){return n=>ot(e,t,n)}function mm(e){return typeof e=="number"?qO:typeof e=="string"?Gp(e)?ic:Ut.test(e)?lx:QO:Array.isArray(e)?dS:typeof e=="object"?Ut.test(e)?lx:WO:ic}function dS(e,t){const n=[...e],r=n.length,o=e.map((a,l)=>mm(a)(a,t[l]));return a=>{for(let l=0;l<r;l++)n[l]=o[l](a);return n}}function WO(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=mm(e[o])(e[o],t[o]));return o=>{for(const a in r)n[a]=r[a](o);return n}}function KO(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const l=t.types[a],c=e.indexes[l][o[l]],d=(n=e.values[c])!==null&&n!==void 0?n:0;r[a]=d,o[l]++}return r}const QO=(e,t)=>{const n=vi.createTransformer(t),r=Fa(e),o=Fa(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Yf.has(e)&&!o.values.length||Yf.has(t)&&!r.values.length?HO(e,t):nl(dS(KO(r,o),o.values),n):ic(e,t)};function hS(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ot(e,t,n):mm(e)(e,t)}const GO=5;function fS(e,t,n){const r=Math.max(t-GO,0);return zk(n-e(r),t-r)}const ut={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},Bh=.001;function YO({duration:e=ut.duration,bounce:t=ut.bounce,velocity:n=ut.velocity,mass:r=ut.mass}){let o,a,l=1-t;l=Rr(ut.minDamping,ut.maxDamping,l),e=Rr(ut.minDuration,ut.maxDuration,Nr(e)),l<1?(o=f=>{const p=f*l,g=p*e,v=p-n,w=Xf(f,l),C=Math.exp(-g);return Bh-v/w*C},a=f=>{const g=f*l*e,v=g*n+n,w=Math.pow(l,2)*Math.pow(f,2)*e,C=Math.exp(-g),T=Xf(Math.pow(f,2),l);return(-o(f)+Bh>
vendor: 40,320 bytes, line 179
1790?-1:1)*((v-w)*C)/T}):(o=f=>{const p=Math.exp(-f*e),g=(f-n)*e+1;return-Bh+p*g},a=f=>{const p=Math.exp(-f*e),g=(n-f)*(e*e);return p*g});const c=5/e,d=JO(o,a,c);if(e=Ar(e),isNaN(d))return{stiffness:ut.stiffness,damping:ut.damping,duration:e};{const f=Math.pow(d,2)*r;return{stiffness:f,damping:l*2*Math.sqrt(r*f),duration:e}}}const XO=12;function JO(e,t,n){let r=n;for(let o=1;o<XO;o++)r=r-e(r)/t(r);return r}function Xf(e,t){return e*Math.sqrt(1-t*t)}const ZO=["duration","bounce"],e4=["stiffness","damping","mass"];function ux(e,t){return t.some(n=>e[n]!==void 0)}function t4(e){let t={velocity:ut.velocity,stiffness:ut.stiffness,damping:ut.damping,mass:ut.mass,isResolvedFromDuration:!1,...e};if(!ux(e,e4)&&ux(e,ZO))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,a=2*Rr(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ut.mass,stiffness:o,damping:a}}else{const n=YO(e);t={...t,...n,mass:ut.mass},t.isResolvedFromDuration=!0}return t}function pS(e=ut.visualDuration,t=ut.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const a=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],c={done:!1,value:a},{stiffness:d,damping:f,mass:p,duration:g,velocity:v,isResolvedFromDuration:w}=t4({...n,velocity:-Nr(n.velocity||0)}),C=v||0,T=f/(2*Math.sqrt(d*p)),S=l-a,b=Nr(Math.sqrt(d/p)),P=Math.abs(S)<5;r||(r=P?ut.restSpeed.granular:ut.restSpeed.default),o||(o=P?ut.restDelta.granular:ut.restDelta.default);let _;if(T<1){const B=Xf(b,T);_=j=>{const W=Math.exp(-T*b*j);return l-W*((C+T*b*S)/B*Math.sin(B*j)+S*Math.cos(B*j))}}else if(T===1)_=B=>l-Math.exp(-b*B)*(S+(C+b*S)*B);else{const B=b*Math.sqrt(T*T-1);_=j=>{const W=Math.exp(-T*b*j),z=Math.min(B*j,300);return l-W*((C+T*b*S)*Math.sinh(z)+B*S*Math.cosh(z))/B}}const R={calculatedDuration:w&&g||null,next:B=>{const j=_(B);if(w)c.done=B>=g;else{let W=0;T<1&&(W=B===0?Ar(C):fS(_,B,j));const z=Math.abs(W)<=r,Y=Math.abs(l-j)<=o;c.done=z&&Y}return c.value=c.done?l:j,c},toString:()=>{const B=Math.min(jk(R),$f),j=Ik(W=>R.next(B*W).value,B,30);return B+"ms "+j}};return R}function cx({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:l,min:c,max:d,restDelta:f=.5,restSpeed:p}){const g=e[0],v={done:!1,value:g},w=z=>c!==void 0&&z<c||d!==void 0&&z>d,C=z=>c===void 0?d:d===void 0||Math.abs(c-z)<Math.abs(d-z)?c:d;let T=n*t;const S=g+T,b=l===void 0?S:l(S);b!==S&&(T=b-g);const P=z=>-T*Math.exp(-z/r),_=z=>b+P(z),R=z=>{const Y=P(z),re=_(z);v.done=Math.abs(Y)<=f,v.value=v.done?b:re};let B,j;const W=z=>{w(v.value)&&(B=z,j=pS({keyframes:[v.value,C(v.value)],velocity:fS(_,z,v.value),damping:o,stiffness:a,restDelta:f,restSpeed:p}))};return W(0),{calculatedDuration:null,next:z=>{let Y=!1;return!j&&B===void 0&&(Y=!0,R(z),W(z)),B!==void 0&&z>=B?j.next(z-B):(!Y&&R(z),v)}}}const n4=tl(.42,0,1,1),r4=tl(0,0,.58,1),mS=tl(.42,0,.58,1),i4=e=>Array.isArray(e)&&typeof e[0]!="number",s4={linear:bn,easeIn:n4,easeInOut:mS,easeOut:r4,circIn:cm,circInOut:Gk,circOut:Qk,backIn:um,backInOut:Wk,backOut:qk,anticipate:Kk},dx=e=>{if(im(e)){hk(e.length===4);const[t,n,r,o]=e;return tl(t,n,r,o)}else if(typeof e=="string")return s4[e];return e};function o4(e,t,n){const r=[],o=n||hS,a=e.length-1;for(let l=0;l<a;l++){let c=o(e[l],e[l+1]);if(t){const d=Array.isArray(t)?t[l]||bn:t;c=nl(d,c)}r.push(c)}return r}function a4(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const a=e.length;if(hk(a===t.length),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];const l=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const c=o4(t,r,o),d=c.length,f=p=>{if(l&&p<e[0])return t[0];let g=0;if(d>1)for(;g<e.length-2&&!(p<e[g+1]);g++);const v=lo(e[g],e[g+1],p);return c[g](v)};return n?p=>f(Rr(e[0],e[a-1],p)):f}function l4(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=lo(0,t,r);e.push(ot(n,1,o))}}function u4(e){const t=[0];return l4(t,e.length-1),t}function c4(e,t){return e.map(n=>n*t)}function d4(e,t){return e.map(()=>t||mS).splice(0,e.length-1)}function sc({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=i4(r)?r.map(dx):dx(r),a={done:!1,value:t[0]},l=c4(n&&n.length===t.length?n:u4(t),e),c=a4(l,t,{ease:Array.isArray(o)?o:d4(t,o)});return{calculatedDuration:e,next:d=>(a.value=c(d),a.done=d>=e,a)}}const h4=e=>{const t=({timestamp:n})=>e(n);return{start:()=>tt.update(t,!0),stop:()=>yi(t),now:()=>It.isProcessing?It.timestamp:cr.now()}},f4={decay:cx,inertia:cx,tween:sc,keyframes:sc,spring:pS},p4=e=>e/100;class gm extends cS{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:d}=this.options;d&&d()};const{name:n,motionValue:r,element:o,keyframes:a}=this.options,l=(o==null?void 0:o.KeyframeResolver)||pm,c=(d,f)=>this.onKeyframesResolved(d,f);this.resolver=new l(a,c,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:a,velocity:l=0}=this.options,c=rm(n)?n:f4[n]||sc;let d,f;c!==sc&&typeof t[0]!="number"&&(d=nl(p4,hS(t[0],t[1])),t=[0,100]);const p=c({...this.options,keyframes:t});a==="mirror"&&(f=c({...this.options,keyframes:[...t].reverse(),velocity:-l})),p.calculatedDuration===null&&(p.calculatedDuration=jk(p));const{calculatedDuration:g}=p,v=g+o,w=v*(r+1)-o;return{generator:p,mirroredGenerator:f,mapPercentToKeyframes:d,calculatedDuration:g,resolvedDuration:v,totalDuration:w}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:z}=this.options;return{done:!0,value:z[z.length-1]}}const{finalKeyframe:o,generator:a,mirroredGenerator:l,mapPercentToKeyframes:c,keyframes:d,calculatedDuration:f,totalDuration:p,resolvedDuration:g}=r;if(this.startTime===null)return a.next(0);const{delay:v,repeat:w,repeatType:C,repeatDelay:T,onUpdate:S}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-p/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const b=this.currentTime-v*(this.speed>=0?1:-1),P=this.speed>=0?b<0:b>p;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=p);let _=this.currentTime,R=a;if(w){const z=Math.min(this.currentTime,p)/g;let Y=Math.floor(z),re=z%1;!re&&z>=1&&(re=1),re===1&&Y--,Y=Math.min(Y,w+1),!!(Y%2)&&(C==="reverse"?(re=1-re,T&&(re-=T/g)):C==="mirror"&&(R=l)),_=Rr(0,1,re)*g}const B=P?{done:!1,value:d[0]}:R.next(_);c&&(B.value=c(B.value));let{done:j}=B;!P&&f!==null&&(j=this.speed>=0?this.currentTime>=p:this.currentTime<=0);const W=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&j);return W&&o!==void 0&&(B.value=kc(d,this.options,o)),S&&S(B.value),W&&this.finish(),B}get duration(){const{resolved:t}=this;return t?Nr(t.calculatedDuration):0}get time(){return Nr(this.currentTime)}set time(t){t=Ar(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Nr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=h4,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),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=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const m4=new Set(["opacity","clipPath","filter","transform"]);function g4(e,t,n,{delay:r=0,duration:o=300,repeat:a=0,repeatType:l="loop",ease:c="easeInOut",times:d}={}){const f={[t]:n};d&&(f.offset=d);const p=Dk(c,o);return Array.isArray(p)&&(f.easing=p),e.animate(f,{delay:r,duration:o,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:a+1,direction:l==="reverse"?"alternate":"normal"})}const y4=Up(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),oc=10,v4=2e4;function x4(e){return rm(e.type)||e.type==="spring"||!Ok(e.ease)}function w4(e,t){const n=new gm({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let a=0;for(;!r.done&&a<v4;)r=n.sample(a),o.push(r.value),a+=oc;return{times:void 0,keyframes:o,duration:a-oc,ease:"linear"}}const gS={anticipate:Kk,backInOut:Wk,circInOut:Gk};function b4(e){return e in gS}class hx extends cS{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:a}=this.options;this.resolver=new uS(a,(l,c)=>this.onKeyframesResolved(l,c),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:o,ease:a,type:l,motionValue:c,name:d,startTime:f}=this.options;if(!c.owner||!c.owner.current)return!1;if(typeof a=="string"&&rc()&&b4(a)&&(a=gS[a]),x4(this.options)){const{onComplete:g,onUpdate:v,motionValue:w,element:C,...T}=this.options,S=w4(t,T);t=S.keyframes,t.length===1&&(t[1]=t[0]),r=S.duration,o=S.times,a=S.ease,l="keyframes"}const p=g4(c.owner.current,d,t,{...this.options,duration:r,times:o,ease:a});return p.startTime=f??this.calcStartTime(),this.pendingTimeline?(Yv(p,this.pendingTimeline),this.pendingTimeline=void 0):p.onfinish=()=>{const{onComplete:g}=this.options;c.set(kc(t,this.options,n)),g&&g(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:r,times:o,type:l,ease:a,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Nr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Nr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ar(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return bn;const{animation:r}=n;Yv(r,t)}return bn}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:a,ease:l,times:c}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:f,onUpdate:p,onComplete:g,element:v,...w}=this.options,C=new gm({...w,keyframes:r,duration:o,type:a,ease:l,times:c,isGenerator:!0}),T=Ar(this.time);f.setWithVelocity(C.sample(T-oc).value,C.sample(T).value,oc)}const{onStop:d}=this.options;d&&d(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:a,damping:l,type:c}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:d,transformTemplate:f}=n.owner.getProps();return y4()&&r&&m4.has(r)&&!d&&!f&&!o&&a!=="mirror"&&l!==0&&c!=="inertia"}}const k4={type:"spring",stiffness:500,damping:25,restSpeed:10},S4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),E4={type:"keyframes",duration:.8},T4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},C4=(e,{keyframes:t})=>t.length>2?E4:hs.has(e)?e.startsWith("scale")?S4(t[1]):k4:T4;function _4({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:a,repeatType:l,repeatDelay:c,from:d,elapsed:f,...p}){return!!Object.keys(p).length}const ym=(e,t,n,r={},o,a)=>l=>{const c=nm(r,e)||{},d=c.delay||r.delay||0;let{elapsed:f=0}=r;f=f-Ar(d);let p={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...c,delay:-f,onUpdate:v=>{t.set(v),c.onUpdate&&c.onUpdate(v)},onComplete:()=>{l(),c.onComplete&&c.onComplete()},name:e,motionValue:t,element:a?void 0:o};_4(c)||(p={...p,...C4(e,p)}),p.duration&&(p.duration=Ar(p.duration)),p.repeatDelay&&(p.repeatDelay=Ar(p.repeatDelay)),p.from!==void 0&&(p.keyframes[0]=p.from);let g=!1;if((p.type===!1||p.duration===0&&!p.repeatDelay)&&(p.duration=0,p.delay===0&&(g=!0)),g&&!a&&t.get()!==void 0){const v=kc(p.keyframes,c);if(v!==void 0)return tt.update(()=>{p.onUpdate(v),p.onComplete()}),new WI([])}return!a&&hx.supports(p)?new hx(p):new gm(p)};function P4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function yS(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var a;let{transition:l=e.getDefaultTransition(),transitionEnd:c,...d}=t;r&&(l=r);const f=[],p=o&&e.animationState&&e.animationState.getState()[o];for(const g in d){const v=e.getValue(g,(a=e.latestValues[g])!==null&&a!==void 0?a:null),w=d[g];if(w===void 0||p&&P4(p,g))continue;const C={delay:n,...nm(l||{},g)};let T=!1;if(window.MotionHandoffAnimation){const b=Vk(e);if(b){const P=window.MotionHandoffAnimation(b,g,tt);P!==null&&(C.startTime=P,T=!0)}}qf(e,g),v.start(ym(g,v,w,e.shouldReduceMotion&&Bk.has(g)?{type:!1}:C,e,T));const S=v.animation;S&&f.push(S)}return c&&Promise.all(f).then(()=>{tt.update(()=>{c&&oO(e,c)})}),f}function Jf(e,t,n={}){var r;const o=bc(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:a=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(a=n.transitionOverride);const l=o?()=>Promise.all(yS(e,o,n)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(f=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:v}=a;return A4(e,t,p+f,g,v,n)}:()=>Promise.resolve(),{when:d}=a;if(d){const[f,p]=d==="beforeChildren"?[l,c]:[c,l];return f().then(()=>p())}else return Promise.all([l(),c(n.delay)])}function A4(e,t,n=0,r=0,o=1,a){const l=[],c=(e.variantChildren.size-1)*r,d=o===1?(f=0)=>f*r:(f=0)=>c-f*r;return Array.from(e.variantChildren).sort(N4).forEach((f,p)=>{f.notify("AnimationStart",t),l.push(Jf(f,t,{...a,delay:n+d(p)}).then(()=>f.notify("AnimationComplete",t)))}),Promise.all(l)}function N4(e,t){return e.sortNodePosition(t)}function R4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(a=>Jf(e,a,n));r=Promise.all(o)}else if(typeof t=="string")r=Jf(e,t,n);else{const o=typeof t=="function"?bc(e,t,n.custom):t;r=Promise.all(yS(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const j4=Hp.length;function vS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?vS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<j4;n++){const r=Hp[n],o=e.props[r];(Da(o)||o===!1)&&(t[r]=o)}return t}const I4=[...$p].reverse(),O4=$p.length;function D4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>R4(e,n,r)))}function L4(e){let t=D4(e),n=fx(),r=!0;const o=d=>(f,p)=>{var g;const v=bc(e,p,d==="exit"?(g=e.presenceContext)===null||g===void 0?void 0:g.custom:void 0);if(v){const{transition:w,transitionEnd:C,...T}=v;f={...f,...T,...C}}return f};function a(d){t=d(e)}function l(d){const{props:f}=e,p=vS(e.parent)||{},g=[],v=new Set;let w={},C=1/0;for(let S=0;S<O4;S++){const b=I4[S],P=n[b],_=f[b]!==void 0?f[b]:p[b],R=Da(_),B=b===d?P.isActive:null;B===!1&&(C=S);let j=_===p[b]&&_!==f[b]&&R;if(j&&r&&e.manuallyAnimateOnMount&&(j=!1),P.protectedKeys={...w},!P.isActive&&B===null||!_&&!P.prevProp||xc(_)||typeof _=="boolean")continue;const W=M4(P.prevProp,_);let z=W||b===d&&P.isActive&&!j&&R||S>C&&R,Y=!1;const re=Array.isArray(_)?_:[_];let ee=re.reduce(o(b),{});B===!1&&(ee={});const{prevResolvedValues:se={}}=P,he={...se,...ee},ie=le=>{z=!0,v.has(le)&&(Y=!0,v.delete(le)),P.needsAnimating[le]=!0;const G=e.getValue(le);G&&(G.liveStyle=!1)};for(const le in he){const G=ee[le],ue=se[le];if(w.hasOwnProperty(le))continue;let E=!1;Uf(G)&&Uf(ue)?E=!Rk(G,ue):E=G!==ue,E?G!=null?ie(le):v.add(le):G!==void 0&&v.has(le)?ie(le):P.protectedKeys[le]=!0}P.prevProp=_,P.prevResolvedValues=ee,P.isActive&&(w={...w,...ee}),r&&e.blockInitialAnimation&&(z=!1),z&&(!(j&&W)||Y)&&g.push(...re.map(le=>({animation:le,options:{type:b}})))}if(v.size){const S={};v.forEach(b=>{const P=e.getBaseTarget(b),_=e.getValue(b);_&&(_.liveStyle=!0),S[b]=P??null}),g.push({animation:S})}let T=!!g.length;return r&&(f.initial===!1||f.initial===f.animate)&&!e.manuallyAnimateOnMount&&(T=!1),r=!1,T?t(g):Promise.resolve()}function c(d,f){var p;if(n[d].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(v=>{var w;return(w=v.animationState)===null||w===void 0?void 0:w.setActive(d,f)}),n[d].isActive=f;const g=l(d);for(const v in n)n[v].protectedKeys={};return g}return{animateChanges:l,setActive:c,setAnimateFunction:a,getState:()=>n,reset:()=>{n=fx(),r=!0}}}function M4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Rk(t,e):!1}function Bi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function fx(){return{animate:Bi(!0),whileInView:Bi(),whileHover:Bi(),whileTap:Bi(),whileDrag:Bi(),whileFocus:Bi(),exit:Bi()}}class bi{constructor(t){this.isMounted=!1,this.node=t}update(){}}class F4 extends bi{constructor(t){super(t),t.animationState||(t.animationState=L4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();xc(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let B4=0;class z4 extends bi{constructor(){super(...arguments),this.id=B4++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const V4={animation:{Feature:F4},exit:{Feature:z4}};function Ba(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function rl(e){return{point:{x:e.pageX,y:e.pageY}}}const U4=e=>t=>sm(t)&&e(t,rl(t));function Ea(e,t,n,r){return Ba(e,t,U4(n),r)}const px=(e,t)=>Math.abs(e-t);function $4(e,t){const n=px(e.x,t.x),r=px(e.y,t.y);return Math.sqrt(n**2+r**2)}class xS{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:a=!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 g=Vh(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,w=$4(g.offset,{x:0,y:0})>=3;if(!v&&!w)return;const{point:C}=g,{timestamp:T}=It;this.history.push({...C,timestamp:T});const{onStart:S,onMove:b}=this.handlers;v||(S&&S(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),b&&b(this.lastMoveEvent,g)},this.handlePointerMove=(g,v)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=zh(v,this.transformPagePoint),tt.update(this.updatePoint,!0)},this.handlePointerUp=(g,v)=>{this.end();const{onEnd:w,onSessionEnd:C,resumeAnimation:T}=this.handlers;if(this.dragSnapToOrigin&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Vh(g.type==="pointercancel"?this.lastMoveEventInfo:zh(v,this.transformPagePoint),this.history);this.startEvent&&w&&w(g,S),C&&C(g,S)},!sm(t))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const l=rl(t),c=zh(l,this.transformPagePoint),{point:d}=c,{timestamp:f}=It;this.history=[{...d,timestamp:f}];const{onSessionStart:p}=n;p&&p(t,Vh(c,this.history)),this.removeListeners=nl(Ea(this.contextWindow,"pointermove",this.handlePointerMove),Ea(this.contextWindow,"pointerup",this.handlePointerUp),Ea(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yi(this.updatePoint)}}function zh(e,t){return t?{point:t(e.point)}:e}function mx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vh({point:e},t){return{point:e,delta:mx(e,wS(t)),offset:mx(e,H4(t)),velocity:q4(t,.1)}}function H4(e){return e[0]}function wS(e){return e[e.length-1]}function q4(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=wS(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ar(t)));)n--;if(!r)return{x:0,y:0};const a=Nr(o.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const l={x:(o.x-r.x)/a,y:(o.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}const bS=1e-4,W4=1-bS,K4=1+bS,kS=.01,Q4=0-kS,G4=0+kS;function kn(e){return e.max-e.min}function Y4(e,t,n){return Math.abs(e-t)<=n}function gx(e,t,n,r=.5){e.origin=r,e.originPoint=ot(t.min,t.max,e.origin),e.scale=kn(n)/kn(t),e.translate=ot(n.min,n.max,e.origin)-e.originPoint,(e.scale>=W4&&e.scale<=K4||isNaN(e.scale))&&(e.scale=1),(e.translate>=Q4&&e.translate<=G4||isNaN(e.translate))&&(e.translate=0)}function Ta(e,t,n,r){gx(e.x,t.x,n.x,r?r.originX:void 0),gx(e.y,t.y,n.y,r?r.originY:void 0)}function yx(e,t,n){e.min=n.min+t.min,e.max=e.min+kn(t)}function X4(e,t,n){yx(e.x,t.x,n.x),yx(e.y,t.y,n.y)}function vx(e,t,n){e.min=t.min-n.min,e.max=e.min+kn(t)}function Ca(e,t,n){vx(e.x,t.x,n.x),vx(e.y,t.y,n.y)}function J4(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ot(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ot(n,e,r.max):Math.min(e,n)),e}function xx(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Z4(e,{top:t,left:n,bottom:r,right:o}){return{x:xx(e.x,n,o),y:xx(e.y,t,r)}}function wx(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function eD(e,t){return{x:wx(e.x,t.x),y:wx(e.y,t.y)}}function tD(e,t){let n=.5;const r=kn(e),o=kn(t);return o>r?n=lo(t.min,t.max-r,e.min):r>o&&(n=lo(e.min,e.max-o,t.min)),Rr(0,1,n)}function nD(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Zf=.35;function rD(e=Zf){return e===!1?e=0:e===!0&&(e=Zf),{x:bx(e,"left","right"),y:bx(e,"top","bottom")}}function bx(e,t,n){return{min:kx(e,t),max:kx(e,n)}}function kx(e,t){return typeof e=="number"?e:e[t]||0}const Sx=()=>({translate:0,scale:1,origin:0,originPoint:0}),Hs=()=>({x:Sx(),y:Sx()}),Ex=()=>({min:0,max:0}),ht=()=>({x:Ex(),y:Ex()});function Rn(e){return[e("x"),e("y")]}function SS({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function iD({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function sD(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Uh(e){return e===void 0||e===1}function ep({scale:e,scaleX:t,scaleY:n}){return!Uh(e)||!Uh(t)||!Uh(n)}function Vi(e){return ep(e)||ES(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ES(e){return Tx(e.x)||Tx(e.y)}function Tx(e){return e&&e!=="0%"}function ac(e,t,n){const r=e-n,o=t*r;return n+o}function Cx(e,t,n,r,o){return o!==void 0&&(e=ac(e,o,r)),ac(e,n,r)+t}function tp(e,t=0,n=1,r,o){e.min=Cx(e.min,t,n,r,o),e.max=Cx(e.max,t,n,r,o)}function TS(e,{x:t,y:n}){tp(e.x,t.translate,t.scale,t.originPoint),tp(e.y,n.translate,n.scale,n.originPoint)}const _x=.999999999999,Px=1.0000000000001;function oD(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let a,l;for(let c=0;c<o;c++){a=n[c],l=a.projectionDelta;const{visualElement:d}=a.options;d&&d.props.style&&d.props.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Ws(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,TS(e,l)),r&&Vi(a.latestValues)&&Ws(e,a.latestValues))}t.x<Px&&t.x>_x&&(t.x=1),t.y<Px&&t.y>_x&&(t.y=1)}function qs(e,t){e.min=e.min+t,e.max=e.max+t}function Ax(e,t,n,r,o=.5){const a=ot(e.min,e.max,o);tp(e,t,n,a,r)}function Ws(e,t){Ax(e.x,t.x,t.scaleX,t.scale,t.originX),Ax(e.y,t.y,t.scaleY,t.scale,t.originY)}function CS(e,t){return SS(sD(e.getBoundingClientRect(),t))}function aD(e,t,n){const r=CS(e,n),{scroll:o}=t;return o&&(qs(r.x,o.offset.x),qs(r.y,o.offset.y)),r}const _S=({current:e})=>e?e.ownerDocument.defaultView:null,lD=new WeakMap;class uD{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ht(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=p=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(rl(p).point)},a=(p,g)=>{const{drag:v,dragPropagation:w,onDragStart:C}=this.getProps();if(v&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=tO(v),!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),Rn(S=>{let b=this.getAxisMotionValue(S).get()||0;if(ur.test(b)){const{projection:P}=this.visualElement;if(P&&P.layout){const _=P.layout.layoutBox[S];_&&(b=kn(_)*(parseFloat(b)/100))}}this.originPoint[S]=b}),C&&tt.postRender(()=>C(p,g)),qf(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},l=(p,g)=>{const{dragPropagation:v,dragDirectionLock:w,onDirectionLock:C,onDrag:T}=this.getProps();if(!v&&!this.openDragLock)return;const{offset:S}=g;if(w&&this.currentDirection===null){this.currentDirection=cD(S),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",g.point,S),this.updateAxis("y",g.point,S),this.visualElement.render(),T&&T(p,g)},c=(p,g)=>this.stop(p,g),d=()=>Rn(p=>{var g;return this.getAnimationState(p)==="paused"&&((g=this.getAxisMotionValue(p).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:f}=this.getProps();this.panSession=new xS(t,{onSessionStart:o,onStart:a,onMove:l,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f,contextWindow:_S(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&tt.postRender(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Pu(t,o,this.currentDirection))return;const a=this.getAxisMotionValue(t);let l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=J4(l,this.constraints[t],this.elastic[t])),a.set(l)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,a=this.constraints;n&&Us(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=Z4(o.layoutBox,n):this.constraints=!1,this.elastic=rD(r),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Rn(l=>{this.constraints!==!1&&this.getAxisMotionValue(l)&&(this.constraints[l]=nD(o.layoutBox[l],this.constraints[l]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Us(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const a=aD(r,o.root,this.visualElement.getTransformPagePoint());let l=eD(o.layout.layoutBox,a);if(n){const c=n(iD(l));this.hasMutatedConstraints=!!c,c&&(l=SS(c))}return l}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:a,dragSnapToOrigin:l,onDragTransitionEnd:c}=this.getProps(),d=this.constraints||{},f=Rn(p=>{if(!Pu(p,n,this.currentDirection))return;let g=d&&d[p]||{};l&&(g={min:0,max:0});const v=o?200:1e6,w=o?40:1e7,C={type:"inertia",velocity:r?t[p]:0,bounceStiffness:v,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...a,...g};return this.startAxisValueAnimation(p,C)});return Promise.all(f).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return qf(this.visualElement,t),r.start(ym(t,r,0,n,this.visualElement,!1))}stopAnimation(){Rn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Rn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Rn(n=>{const{drag:r}=this.getProps();if(!Pu(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,a=this.getAxisMotionValue(n);if(o&&o.layout){const{min:l,max:c}=o.layout.layoutBox[n];a.set(t[n]-ot(l,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Us(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Rn(l=>{const c=this.getAxisMotionValue(l);if(c&&this.constraints!==!1){const d=c.get();o[l]=tD({min:d,max:d},this.constraints[l])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Rn(l=>{if(!Pu(l,t,null))return;const c=this.getAxisMotionValue(l),{min:d,max:f}=this.constraints[l];c.set(ot(d,f,o[l]))})}addListeners(){if(!this.visualElement.current)return;lD.set(this.visualElement,this);const t=this.visualElement.current,n=Ea(t,"pointerdown",d=>{const{drag:f,dragListener:p=!0}=this.getProps();f&&p&&this.start(d)}),r=()=>{const{dragConstraints:d}=this.getProps();Us(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,a=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),tt.read(r);const l=Ba(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:f})=>{this.isDragging&&f&&(Rn(p=>{const g=this.getAxisMotionValue(p);g&&(this.originPoint[p]+=d[p].translate,g.set(g.get()+d[p].translate))}),this.visualElement.render())}));return()=>{l(),n(),a(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:a=!1,dragElastic:l=Zf,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:a,dragElastic:l,dragMomentum:c}}}function Pu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function cD(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class dD extends bi{constructor(t){super(t),this.removeGroupControls=bn,this.removeListeners=bn,this.controls=new uD(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bn}unmount(){this.removeGroupControls(),this.removeListeners()}}const Nx=e=>(t,n)=>{e&&tt.postRender(()=>e(t,n))};class hD extends bi{constructor(){super(...arguments),this.removePointerDownListener=bn}onPointerDown(t){this.session=new xS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:_S(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Nx(t),onStart:Nx(n),onMove:r,onEnd:(a,l)=>{delete this.session,o&&tt.postRender(()=>o(a,l))}}}mount(){this.removePointerDownListener=Ea(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ku={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Rx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const aa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(_e.test(e))e=parseFloat(e);else return e;const n=Rx(e,t.target.x),r=Rx(e,t.target.y);return`${n}% ${r}%`}},fD={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=vi.parse(e);if(o.length>5)return r;const a=vi.createTransformer(e),l=typeof o[0]!="number"?1:0,c=n.x.scale*t.x,d=n.y.scale*t.y;o[0+l]/=c,o[1+l]/=d;const f=ot(c,d,.5);return typeof o[2+l]=="number"&&(o[2+l]/=f),typeof o[3+l]=="number"&&(o[3+l]/=f),a(o)}};class pD extends F.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:a}=t;OI(mD),a&&(n.group&&n.group.add(a),r&&r.register&&o&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Ku.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:a}=this.props,l=r.projection;return l&&(l.isPresent=a,o||t.layoutDependency!==n||n===void 0?l.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?l.promote():l.relegate()||tt.postRender(()=>{const c=l.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Wp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function PS(e){const[t,n]=uk(),r=F.useContext(Fp);return x.jsx(pD,{...e,layoutGroup:r,switchLayoutGroup:F.useContext(vk),isPresent:t,safeToRemove:n})}const mD={borderRadius:{...aa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:aa,borderTopRightRadius:aa,borderBottomLeftRadius:aa,borderBottomRightRadius:aa,boxShadow:fD};function gD(e,t,n){const r=$t(e)?e:Ma(e);return r.start(ym("",r,t,n)),r.animation}function yD(e){return e instanceof SVGElement&&e.tagName!=="svg"}const vD=(e,t)=>e.depth-t.depth;class xD{constructor(){this.children=[],this.isDirty=!1}add(t){om(this.children,t),this.isDirty=!0}remove(t){am(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(vD),this.isDirty=!1,this.children.forEach(t)}}function wD(e,t){const n=cr.now(),r=({timestamp:o})=>{const a=o-n;a>=t&&(yi(r),e(a-t))};return tt.read(r,!0),()=>yi(r)}const AS=["TopLeft","TopRight","BottomLeft","BottomRight"],bD=AS.length,jx=e=>typeof e=="string"?parseFloat(e):e,Ix=e=>typeof e=="number"||_e.test(e);function kD(e,t,n,r,o,a){o?(e.opacity=ot(0,n.opacity!==void 0?n.opacity:1,SD(r)),e.opacityExit=ot(t.opacity!==void 0?t.opacity:1,0,ED(r))):a&&(e.opacity=ot(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let l=0;l<bD;l++){const c=`border${AS[l]}Radius`;let d=Ox(t,c),f=Ox(n,c);if(d===void 0&&f===void 0)continue;d||(d=0),f||(f=0),d===0||f===0||Ix(d)===Ix(f)?(e[c]=Math.max(ot(jx(d),jx(f),r),0),(ur.test(f)||ur.test(d))&&(e[c]+="%")):e[c]=f}(t.rotate||n.rotate)&&(e.rotate=ot(t.rotate||0,n.rotate||0,r))}function Ox(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const SD=NS(0,.5,Qk),ED=NS(.5,.95,bn);function NS(e,t,n){return r=>r<e?0:r>t?1:n(lo(e,t,r))}function Dx(e,t){e.min=t.min,e.max=t.max}function Nn(e,t){Dx(e.x,t.x),Dx(e.y,t.y)}function Lx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Mx(e,t,n,r,o){return e-=t,e=ac(e,1/n,r),o!==void 0&&(e=ac(e,1/o,r)),e}function TD(e,t=0,n=1,r=.5,o,a=e,l=e){if(ur.test(t)&&(t=parseFloat(t),t=ot(l.min,l.max,t/100)-l.min),typeof t!="number")return;let c=ot(a.min,a.max,r);e===a&&(c-=t),e.min=Mx(e.min,t,n,c,o),e.max=Mx(e.max,t,n,c,o)}function Fx(e,t,[n,r,o],a,l){TD(e,t[n],t[r],t[o],t.scale,a,l)}const CD=["x","scaleX","originX"],_D=["y","scaleY","originY"];function Bx(e,t,n,r){Fx(e.x,t,CD,n?n.x:void 0,r?r.x:void 0),Fx(e.y,t,_D,n?n.y:void 0,r?r.y:void 0)}function zx(e){return e.translate===0&&e.scale===1}function RS(e){return zx(e.x)&&zx(e.y)}function Vx(e,t){return e.min===t.min&&e.max===t.max}function PD(e,t){return Vx(e.x,t.x)&&Vx(e.y,t.y)}function Ux(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function jS(e,t){return Ux(e.x,t.x)&&Ux(e.y,t.y)}function $x(e){return kn(e.x)/kn(e.y)}function Hx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class AD{constructor(){this.members=[]}add(t){om(this.members,t),t.scheduleRender()}remove(t){if(am(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const a=this.members[o];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ND(e,t,n){let r="";const o=e.x.translate/t.x,a=e.y.translate/t.y,l=(n==null?void 0:n.z)||0;if((o||a||l)&&(r=`translate3d(${o}px, ${a}px, ${l}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:f,rotate:p,rotateX:g,rotateY:v,skewX:w,skewY:C}=n;f&&(r=`perspective(${f}px) ${r}`),p&&(r+=`rotate(${p}deg) `),g&&(r+=`rotateX(${g}deg) `),v&&(r+=`rotateY(${v}deg) `),w&&(r+=`skewX(${w}deg) `),C&&(r+=`skewY(${C}deg) `)}const c=e.x.scale*t.x,d=e.y.scale*t.y;return(c!==1||d!==1)&&(r+=`scale(${c}, ${d}
179)`),r||"none"}const Ui={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},wa=typeof window<"u"&&window.MotionDebug!==void 0,$h=["","X","Y","Z"],RD={visibility:"hidden"},qx=1e3;let jD=0;function Hh(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function IS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Vk(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tt,!(o||a))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&IS(r)}function OS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(l={},c=t==null?void 0:t()){this.id=jD++,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,wa&&(Ui.totalNodes=Ui.resolvedTargetDeltas=Ui.recalculatedProjection=0),this.nodes.forEach(DD),this.nodes.forEach(zD),this.nodes.forEach(VD),this.nodes.forEach(LD),wa&&window.MotionDebug.record(Ui)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new xD)}addEventListener(l,c){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new lm),this.eventHandlers.get(l).add(c)}notifyListeners(l,...c){const d=this.eventHandlers.get(l);d&&d.notify(...c)}hasListeners(l){return this.eventHandlers.has(l)}mount(l,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=yD(l),this.instance=l;const{layoutId:d,layout:f,visualElement:p}=this.options;if(p&&!p.current&&p.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(f||d)&&(this.isLayoutDirty=!0),e){let g;const v=()=>this.root.updateBlockedByResize=!1;e(l,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=wD(v,250),Ku.hasAnimatedSinceResize&&(Ku.hasAnimatedSinceResize=!1,this.nodes.forEach(Kx))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||f)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeTargetChanged:w,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||p.getDefaultTransition()||WD,{onLayoutAnimationStart:S,onLayoutAnimationComplete:b}=p.getProps(),P=!this.targetLayout||!jS(this.targetLayout,C)||w,_=!v&&w;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||_||v&&(P||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,_);const R={...nm(T,"layout"),onPlay:S,onComplete:b};(p.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R)}else v||Kx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,yi(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.forEac
vendor: 17,059 bytes, line 179
179h(UD),this.animationId++)}getTransformTemplate(){const{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&IS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const g=this.path[p];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:d}=this.options;if(c===void 0&&!d)return;const f=this.getTransformTemplate();this.prevTransformTemplateValue=f?f(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Wx);return}this.isUpdating||this.nodes.forEach(FD),this.isUpdating=!1,this.nodes.forEach(BD),this.nodes.forEach(ID),this.nodes.forEach(OD),this.clearAllSnapshots();const c=cr.now();It.delta=Rr(0,1e3/60,c-It.timestamp),It.timestamp=c,It.isProcessing=!0,Oh.update.process(It),Oh.preRender.process(It),Oh.render.process(It),It.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Wp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(MD),this.sharedNodes.forEach($D)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tt.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 d=0;d<this.path.length;d++)this.path[d].updateScroll();const l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ht(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let c=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(c=!1),c){const d=r(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:d,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:d}}}resetTransform(){if(!o)return;const l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,c=this.projectionDelta&&!RS(this.projectionDelta),d=this.getTransformTemplate(),f=d?d(this.latestValues,""):void 0,p=f!==this.prevTransformTemplateValue;l&&(c||Vi(this.latestValues)||p)&&(o(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){const c=this.measurePageBox();let d=this.removeElementScroll(c);return l&&(d=this.removeTransform(d)),KD(d),{animationId:this.root.animationId,measuredBox:c,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){var l;const{visualElement:c}=this.options;if(!c)return ht();const d=c.measureViewportBox();if(!(((l=this.scroll)===null||l===void 0?void 0:l.wasRoot)||this.path.some(QD))){const{scroll:p}=this.root;p&&(qs(d.x,p.offset.x),qs(d.y,p.offset.y))}return d}removeElementScroll(l){var c;const d=ht();if(Nn(d,l),!((c=this.scroll)===null||c===void 0)&&c.wasRoot)return d;for(let f=0;f<this.path.length;f++){const p=this.path[f],{scroll:g,options:v}=p;p!==this.root&&g&&v.layoutScroll&&(g.wasRoot&&Nn(d,l),qs(d.x,g.offset.x),qs(d.y,g.offset.y))}return d}applyTransform(l,c=!1){const d=ht();Nn(d,l);for(let f=0;f<this.path.length;f++){const p=this.path[f];!c&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Ws(d,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),Vi(p.latestValues)&&Ws(d,p.latestValues)}return Vi(this.latestValues)&&Ws(d,this.latestValues),d}removeTransform(l){const c=ht();Nn(c,l);for(let d=0;d<this.path.length;d++){const f=this.path[d];if(!f.instance||!Vi(f.latestValues))continue;ep(f.latestValues)&&f.updateSnapshot();const p=ht(),g=f.measurePageBox();Nn(p,g),Bx(c,f.latestValues,f.snapshot?f.snapshot.layoutBox:void 0,p)}return Vi(this.latestValues)&&Bx(c,this.latestValues),c}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.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!==It.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){var c;const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==d;if(!(l||f&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!(!this.layout||!(g||v))){if(this.resolvedRelativeTargetAt=It.timestamp,!this.targetDelta&&!this.relativeTarget){const w=this.getClosestProjectingParent();w&&w.layout&&this.animationProgress!==1?(this.relativeParent=w,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ht(),this.relativeTargetOrigin=ht(),Ca(this.relativeTargetOrigin,this.layout.layoutBox,w.layout.layoutBox),Nn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ht(),this.targetWithTransforms=ht()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),X4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Nn(this.target,this.layout.layoutBox),TS(this.target,this.targetDelta)):Nn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const w=this.getClosestProjectingParent();w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?(this.relativeParent=w,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ht(),this.relativeTargetOrigin=ht(),Ca(this.relativeTargetOrigin,this.target,w.target),Nn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}wa&&Ui.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ep(this.parent.latestValues)||ES(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 l;const c=this.getLead(),d=!!this.resumingFrom||this!==c;let f=!0;if((this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty)&&(f=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===It.timestamp&&(f=!1),f)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;Nn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,w=this.treeScale.y;oD(this.layoutCorrected,this.treeScale,this.path,d),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=ht());const{target:C}=c;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Lx(this.prevProjectionDelta.x,this.projectionDelta.x),Lx(this.prevProjectionDelta.y,this.projectionDelta.y)),Ta(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==w||!Hx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Hx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C)),wa&&Ui.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){var c;if((c=this.options.visualElement)===null||c===void 0||c.scheduleRender(),l){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Hs(),this.projectionDelta=Hs(),this.projectionDeltaWithTransform=Hs()}setAnimationOrigin(l,c=!1){const d=this.snapshot,f=d?d.latestValues:{},p={...this.latestValues},g=Hs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const v=ht(),w=d?d.source:void 0,C=this.layout?this.layout.source:void 0,T=w!==C,S=this.getStack(),b=!S||S.members.length<=1,P=!!(T&&!b&&this.options.crossfade===!0&&!this.path.some(qD));this.animationProgress=0;let _;this.mixTargetDelta=R=>{const B=R/1e3;Qx(g.x,l.x,B),Qx(g.y,l.y,B),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ca(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),HD(this.relativeTarget,this.relativeTargetOrigin,v,B),_&&PD(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=ht()),Nn(_,this.relativeTarget)),T&&(this.animationValues=p,kD(p,f,this.latestValues,B,P,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=B},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(yi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tt.update(()=>{Ku.hasAnimatedSinceResize=!0,this.currentAnimation=gD(0,qx,{...l,onUpdate:c=>{this.mixTargetDelta(c),l.onUpdate&&l.onUpdate(c)},onComplete:()=>{l.onComplete&&l.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 l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qx),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const l=this.getLead();let{targetWithTransforms:c,target:d,layout:f,latestValues:p}=l;if(!(!c||!d||!f)){if(this!==l&&this.layout&&f&&DS(this.options.animationType,this.layout.layoutBox,f.layoutBox)){d=this.target||ht();const g=kn(this.layout.layoutBox.x);d.x.min=l.target.x.min,d.x.max=d.x.min+g;const v=kn(this.layout.layoutBox.y);d.y.min=l.target.y.min,d.y.max=d.y.min+v}Nn(c,d),Ws(c,p),Ta(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(l,c){this.sharedNodes.has(l)||this.sharedNodes.set(l,new AD),this.sharedNodes.get(l).add(c);const f=c.options.initialPromotionConfig;c.promote({transition:f?f.transition:void 0,preserveFollowOpacity:f&&f.shouldPreserveFollowOpacity?f.shouldPreserveFollowOpacity(c):void 0})}isLead(){const l=this.getStack();return l?l.lead===this:!0}getLead(){var l;const{layoutId:c}=this.options;return c?((l=this.getStack())===null||l===void 0?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:c}=this.options;return c?(l=this.getStack())===null||l===void 0?void 0:l.prevLead:void 0}getStack(){const{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:c,preserveFollowOpacity:d}={}){const f=this.getStack();f&&f.promote(this,d),l&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){const{visualElement:l}=this.options;if(!l)return;let c=!1;const{latestValues:d}=l;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(c=!0),!c)return;const f={};d.z&&Hh("z",l,f,this.animationValues);for(let p=0;p<$h.length;p++)Hh(`rotate${$h[p]}`,l,f,this.animationValues),Hh(`skew${$h[p]}`,l,f,this.animationValues);l.render();for(const p in f)l.setStaticValue(p,f[p]),this.animationValues&&(this.animationValues[p]=f[p]);l.scheduleRender()}getProjectionStyles(l){var c,d;if(!this.instance||this.isSVG)return;if(!this.isVisible)return RD;const f={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,f.opacity="",f.pointerEvents=qu(l==null?void 0:l.pointerEvents)||"",f.transform=p?p(this.latestValues,""):"none",f;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const T={};return this.options.layoutId&&(T.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,T.pointerEvents=qu(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!Vi(this.latestValues)&&(T.transform=p?p({},""):"none",this.hasProjected=!1),T}const v=g.animationValues||g.latestValues;this.applyTransformsToTarget(),f.transform=ND(this.projectionDeltaWithTransform,this.treeScale,v),p&&(f.transform=p(v,f.transform));const{x:w,y:C}=this.projectionDelta;f.transformOrigin=`${w.origin*100}% ${C.origin*100}% 0`,g.animationValues?f.opacity=g===this?(d=(c=v.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=g===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const T in nc){if(v[T]===void 0)continue;const{correct:S,applyTo:b}=nc[T],P=f.transform==="none"?v[T]:S(v[T],g);if(b){const _=b.length;for(let R=0;R<_;R++)f[b[R]]=P}else f[T]=P}return this.options.layoutId&&(f.pointerEvents=g===this?qu(l==null?void 0:l.pointerEvents)||"":"none"),f}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>{var c;return(c=l.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(Wx),this.root.sharedNodes.clear()}}}function ID(e){e.updateLayout()}function OD(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:a}=e.options,l=n.source!==e.layout.source;a==="size"?Rn(g=>{const v=l?n.measuredBox[g]:n.layoutBox[g],w=kn(v);v.min=r[g].min,v.max=v.min+w}):DS(a,n.layoutBox,r)&&Rn(g=>{const v=l?n.measuredBox[g]:n.layoutBox[g],w=kn(r[g]);v.max=v.min+w,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+w)});const c=Hs();Ta(c,r,n.layoutBox);const d=Hs();l?Ta(d,e.applyTransform(o,!0),n.measuredBox):Ta(d,r,n.layoutBox);const f=!RS(c);let p=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:v,layout:w}=g;if(v&&w){const C=ht();Ca(C,n.layoutBox,v.layoutBox);const T=ht();Ca(T,r,w.layoutBox),jS(C,T)||(p=!0),g.options.layoutRoot&&(e.relativeTarget=T,e.relativeTargetOrigin=C,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:d,layoutDelta:c,hasLayoutChanged:f,hasRelativeTargetChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function DD(e){wa&&Ui.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function LD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function MD(e){e.clearSnapshot()}function Wx(e){e.clearMeasurements()}function FD(e){e.isLayoutDirty=!1}function BD(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Kx(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zD(e){e.resolveTargetDelta()}function VD(e){e.calcProjection()}
vendor: 6,595 bytes, line 179
179function UD(e){e.resetSkewAndRotation()}function $D(e){e.removeLeadSnapshot()}function Qx(e,t,n){e.translate=ot(t.translate,0,n),e.scale=ot(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Gx(e,t,n,r){e.min=ot(t.min,n.min,r),e.max=ot(t.max,n.max,r)}function HD(e,t,n,r){Gx(e.x,t.x,n.x,r),Gx(e.y,t.y,n.y,r)}function qD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const WD={duration:.45,ease:[.4,0,.1,1]},Yx=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Xx=Yx("applewebkit/")&&!Yx("chrome/")?Math.round:bn;function Jx(e){e.min=Xx(e.min),e.max=Xx(e.max)}function KD(e){Jx(e.x),Jx(e.y)}function DS(e,t,n){return e==="position"||e==="preserve-aspect"&&!Y4($x(t),$x(n),.2)}function QD(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const GD=OS({attachResizeListener:(e,t)=>Ba(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),qh={current:void 0},LS=OS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!qh.current){const e=new GD({});e.mount(window),e.setOptions({layoutScroll:!0}),qh.current=e}return qh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),YD={pan:{Feature:hD},drag:{Feature:dD,ProjectionNode:LS,MeasureLayout:PS}};function Zx(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,a=r[o];a&&tt.postRender(()=>a(t,rl(t)))}class XD extends bi{mount(){const{current:t}=this.node;t&&(this.unmount=YI(t,n=>(Zx(this.node,n,"Start"),r=>Zx(this.node,r,"End"))))}unmount(){}}class JD extends bi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=nl(Ba(this.node.current,"focus",()=>this.onFocus()),Ba(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ew(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),a=r[o];a&&tt.postRender(()=>a(t,rl(t)))}class ZD extends bi{mount(){const{current:t}=this.node;t&&(this.unmount=eO(t,n=>(ew(this.node,n,"Start"),(r,{success:o})=>ew(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const np=new WeakMap,Wh=new WeakMap,eL=e=>{const t=np.get(e.target);t&&t(e)},tL=e=>{e.forEach(eL)};function nL({root:e,...t}){const n=e||document;Wh.has(n)||Wh.set(n,{});const r=Wh.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(tL,{root:e,...t})),r[o]}function rL(e,t,n){const r=nL(t);return np.set(e,n),r.observe(e),()=>{np.delete(e),r.unobserve(e)}}const iL={some:0,all:1};class sL extends bi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:a}=t,l={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:iL[o]},c=d=>{const{isIntersecting:f}=d;if(this.isInView===f||(this.isInView=f,a&&!f&&this.hasEnteredView))return;f&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",f);const{onViewportEnter:p,onViewportLeave:g}=this.node.getProps(),v=f?p:g;v&&v(d)};return rL(this.node.current,l,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(oL(t,n))&&this.startObserver()}unmount(){}}function oL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const aL={inView:{Feature:sL},tap:{Feature:ZD},focus:{Feature:JD},hover:{Feature:XD}},lL={layout:{ProjectionNode:LS,MeasureLayout:PS}},rp={current:null},MS={current:!1};function uL(){if(MS.current=!0,!!Vp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rp.current=e.matches;e.addListener(t),t()}else rp.current=!1}const cL=[...lS,Ut,vi],dL=e=>cL.find(aS(e)),tw=new WeakMap;function hL(e,t,n){for(const r in t){const o=t[r],a=n[r];if($t(o))e.addValue(r,o);else if($t(a))e.addValue(r,Ma(o,{owner:e}));else if(a!==o)if(e.hasValue(r)){const l=e.getValue(r);l.liveStyle===!0?l.jump(o):l.hasAnimated||l.set(o)}else{const l=e.getStaticValue(r);e.addValue(r,Ma(l!==void 0?l:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const nw=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class fL{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:a,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=pm,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 w=cr.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,tt.render(this.render,!1,!0))};const{latestValues:d,renderState:f,onUpdate:p}=l;this.onUpdate=p,this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=f,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=c,this.blockInitialAnimation=!!a,this.isControllingVariants=wc(n),this.isVariantNode=gk(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:g,...v}=this.scrapeMotionValuesFromProps(n,{},this);for(const w in v){const C=v[w];d[w]!==void 0&&$t(C)&&C.set(d[w],!1)}}mount(t){this.current=t,tw.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 5,235 bytes, line 179
179h((n,r)=>this.bindToMotionValue(r,n)),MS.current||uL(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){tw.delete(this.current),this.projection&&this.projection.unmount(),yi(this.notifyUpdate),yi(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=hs.has(t),o=n.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&tt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);let l;window.MotionCheckAppearSync&&(l=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),a(),l&&l(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in uo){const n=uo[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ht()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<nw.length;r++){const o=nw[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const a="on"+o,l=t[a];l&&(this.propEventSubscriptions[o]=this.on(o,l))}this.prevMotionValues=hL(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ma(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(sS(o)||Yk(o))?o=parseFloat(o):!dL(o)&&vi.test(n)&&(o=nS(t,n)),this.setBaseTarget(t,$t(o)?o.get():o)),$t(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const l=Qp(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);l&&(o=l[t])}if(r&&o!==void 0)return o;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!$t(a)?a:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new lm),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class FS extends fL{constructor(){super(...arguments),this.KeyframeResolver=uS}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;$t(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function pL(e){return window.getComputedStyle(e)}class mL extends FS{constructor(){super(...arguments),this.type="html",this.renderInstance=Tk}readValueFromInstance(t,n){if(hs.has(n)){const r=fm(n);return r&&r.default||0}else{const r=pL(t),o=(kk(n)?r.getPropertyValue(n):r[n])||0;
179return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return CS(t,n)}build(t,n,r){Xp(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return tm(t,n,r)}}class gL extends FS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ht}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(hs.has(n)){const r=fm(n);return r&&r.default||0}return n=Ck.has(n)?n:qp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Ak(t,n,r)}build(t,n,r){Jp(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){_k(t,n,r,o)}mount(t){this.isSVGTag=em(t.tagName),super.mount(t)}}const yL=(e,t)=>Kp(e)?new gL(t):new mL(t,{allowProjection:e!==F.Fragment}),vL=$I({...V4,...aL,...YD,...lL},yL),Pe=iI(vL),rw=[{label:"Home",href:"/"},{label:"About",href:"/about"},{label:"Dear Matchmaker",href:"/dear-matchmaker"},{label:"Articles",href:"/articles"}];function Pr(){const[e,t]=F.useState(!1);return x.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-md border-b border-border/60",children:[x.jsxs("div",{className:"max-w-7xl mx-auto px-10 md:px-16 flex items-center justify-between h-20 md:h-24",children:[x.jsx("a",{href:"/",className:"font-serif text-lg md:text-xl font-500 tracking-[0.12em] text-foreground italic",children:"America's Dating Coach"}),x.jsxs("div",{className:"hidden md:flex items-center gap-10",children:[rw.map(n=>x.jsx(rt,{to:n.href,className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground hover:text-foreground transition-colors duration-300",children:n.label},n.label)),x.jsx("a",{href:"/#qualification-form-top",className:"font-sans text-[10px] tracking-[0.3em] uppercase border border-primary text-primary px-6 py-3 hover:bg-primary hover:text-primary-foreground transition-colors duration-300",children:"Contact"})]}),x.jsx("button",{className:"md:hidden w-11 h-11 flex items-center justify-center text-foreground",onClick:()=>t(!e),"aria-label":e?"Close menu":"Open menu",children:e?x.jsx(Pb,{className:"w-5 h-5"}):x.jsx(XC,{className:"w-5 h-5"})})]}),x.jsx(dk,{children:e&&x.jsx(Pe.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.4,ease:[.16,1,.3,1]},className:"md:hidden bg-background border-t border-border/60 overflow-hidden",children:x.jsxs("div",{className:"px-6 py-8 flex flex-col gap-6",children:[rw.map(n=>x.jsx(rt,{to:n.href,onClick:()=>t(!1),className:"font-sans text-sm tracking-widest uppercase text-muted-foreground hover:text-foreground py-1",children:n.label},n.label)),x.jsx("a",{href:"/#qualification-form-top",onClick:()=>t(!1),className:"font-sans text-xs tracking-widest uppercase border border-primary text-primary px-6 py-4 text-center mt-2 min-h-[44px] flex items-center justify-center",children:"Contact"})]})})})]})}const ei=[.16,1,.3,1],xL="https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/3401aff00_hEADSHOT.jpg";function wL(){return x.jsx("section",{"aria-label":"Hero",className:"min-h-screen flex flex-col justify-center pt-16 md:pt-20 pb-16 bg-background",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-10 w-full grid grid-cols-1 lg:grid-cols-[60%_40%] gap-10 lg:gap-12 items-center",children:[x.jsxs("div",{className:"order-2 lg:order-1 min-w-0",children:[x.jsx(Pe.p,{initial:{opacity:0}
179,animate:{opacity:1},transition:{duration:.7,ease:ei,delay:.05},className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-6",children:"Executive Matchmaking"}),x.jsxs(Pe.h1,{initial:{opacity:0,y:28},animate:{opacity:1,y:0},transition:{duration:1,ease:ei,delay:.1},className:"font-serif font-500 text-foreground leading-[1.02] mb-6",style:{fontSize:"clamp(2.6rem, 6vw, 5rem)"},children:["America's Dating Coach",x.jsx("br",{className:"hidden md:block"})," Returns to Florida."]}),x.jsx(Pe.p,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:ei,delay:.2},className:"font-serif italic text-foreground/70 mb-2 max-w-2xl",style:{fontSize:"clamp(1.15rem, 2.4vw, 1.7rem)"},children:"Private, discreet concierge matchmaking for accomplished singles across Florida."}),x.jsx(Pe.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.7,ease:ei,delay:.3},className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-10 border-b border-border/50 pb-8",children:"By Patti Feinstein"}),x.jsxs(Pe.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:ei,delay:.35},className:"mb-10",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground mb-4",children:"Servicing"}),x.jsx("div",{className:"flex flex-wrap gap-x-6 gap-y-2",children:["Naples","Sarasota","Miami","Ft. Lauderdale","Boca Raton","Palm Beach","Jupiter"].map(e=>x.jsx("span",{className:"font-serif italic text-foreground/80 text-lg",children:e},e))})]}),x.jsx(Pe.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:ei,delay:.4},className:"mb-10 max-w-2xl",children:x.jsx("blockquote",{className:"border-l-4 border-primary pl-6 py-1",children:x.jsx("p",{className:"font-serif font-400 italic text-foreground/80 leading-relaxed",style:{fontSize:"1.2rem"},children:`"After decades with the same person, dating isn't just awkward. It's grief, it's identity, it's wondering whether you even remember how to begin again."`})})}),x.jsx(Pe.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{duration:.8,ease:ei,delay:.45},className:"flex flex-col sm:flex-row gap-4",children:x.jsx("a",{href:"#qualification-form-top",className:"inline-block font-sans text-[11px] tracking-[0.3em] uppercase bg-primary text-primary-foreground px-8 py-4 hover:bg-primary/85 transition-colors duration-300 text-center",children:"Apply for Matchmaking"})})]}),x.jsx(Pe.div,{initial:{opacity:0,x:24},animate:{opacity:1,x:0},transition:{duration:1.1,ease:ei,delay:.2},className:"order-1 lg:order-2 flex justify-center items-center min-w-0",children:x.jsx("img",{src:xL,alt:"Patti Feinstein — America's Dating Coach",className:"w-full max-w-[420px] lg:max-w-[600px] aspect-square object-cover object-left"})})]})})}const Kh=[.16,1,.3,1],Qh={once:!0,margin:"-60px"};function bL(){return x.jsx("section",{className:"py-20 md:py-28 bg-background border-t border-border/50",children:x.jsxs("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:[x.jsx(Pe.p,{initial:{opacity:0}
179,whileInView:{opacity:1},viewport:Qh,transition:{duration:.7,ease:Kh},className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-10",children:"About Patti Feinstein"}),x.jsxs(Pe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:Qh,transition:{duration:.9,ease:Kh},className:"border-l-2 border-primary/50 pl-6",children:[x.jsx("p",{className:"font-serif italic text-foreground/90 leading-[1.3] mb-5",style:{fontSize:"clamp(1.35rem, 2.4vw, 1.85rem)"},children:`"After decades as America's Dating Coach, I'm coming home to Florida — to work privately with a small number of accomplished singles who are done with apps and ready for something real."`}),x.jsxs("p",{className:"font-serif italic font-400 text-foreground/75 text-sm leading-[1.85]",children:["Patti Feinstein — known nationally as America's Dating Coach and Founder of America's Dating Coach — has spent over three decades inside real conversations about love, loneliness, long marriages, divorce, widowhood, and modern dating. Her work has been featured on NBC, CBS, and PR Newswire. Now she's returned to Florida to offer private, discreet executive matchmaking for accomplished singles across Naples, Sarasota, Miami, Ft. Lauderdale, Boca Raton, Palm Beach, and Jupiter. Her column, ",x.jsx("span",{className:"font-serif italic text-foreground/70",children:"Let's Call It Out"}),", is a direct, experience-driven commentary on relationships, emotional behavior, and the things people think but rarely say out loud."]})]}),x.jsx(Pe.div,{initial:{opacity:0}
179,whileInView:{opacity:1},viewport:Qh,transition:{duration:.7,ease:Kh,delay:.2},className:"mt-10",children:x.jsxs(rt,{to:"/about",className:"inline-flex items-center gap-2 font-sans text-[10px] tracking-[0.3em] uppercase text-primary border-b border-primary/40 pb-0.5 hover:gap-3 transition-all duration-300",children:["Read More",x.jsx(us,{className:"w-3.5 h-3.5"})]})})]})})}const kL=[{num:"I",title:"The Private Consultation",body:"An intimate, confidential conversation with your dedicated matchmaker. We explore your history, values, vision for partnership, and what you've discovered about yourself along the way."},{num:"II",title:"The Portrait",body:"We craft a nuanced, multi-dimensional portrait of who you are and who you seek — far beyond demographics. This becomes the compass for every introduction we make."},{num:"III",title:"Curated Introductions",body:"Each introduction is deliberately considered. We present one exceptional match at a time, with context, so you can approach each encounter with genuine curiosity and presence."},{num:"IV",title:"Ongoing Guidance",body:"Your matchmaker remains a trusted guide throughout. Thoughtful feedback, gentle coaching, and unwavering discretion at every stage of your journey."}],Gh=[.16,1,.3,1],Yh={once:!0,margin:"-60px"};function SL(){return x.jsx("section",{id:"how-i-help",className:"py-20 md:py-28 bg-background border-t border-border/50",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-10",children:[x.jsxs("div",{className:"mb-16",children:[x.jsx(Pe.p,{initial:{opacity:0}
179,whileInView:{opacity:1},viewport:Yh,transition:{duration:.7,ease:Gh},className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-5",children:"How I Help"}),x.jsx(Pe.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:Yh,transition:{duration:.9,ease:Gh},className:"font-serif font-500 text-foreground leading-[1.1]",style:{fontSize:"clamp(1.8rem, 3.5vw, 2.8rem)"},children:"A Journey Toward Lasting Connection"})]}),x.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-px bg-border/60",children:kL.map((e,t)=>x.jsxs(Pe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:Yh,transition:{duration:.8,ease:Gh,delay:t*.1},className:"bg-background p-8 md:p-12 group hover:bg-secondary/40 transition-colors duration-500",children:[x.jsx("span",{className:"font-serif text-4xl font-300 text-primary/40 block mb-5 group-hover:text-primary/50 transition-colors duration-500",children:e.num}),x.jsx("h3",{className:"font-serif text-lg md:text-xl font-400 text-foreground mb-3 leading-snug",children:e.title}),x.jsx("p",{className:"font-sans font-400 text-muted-foreground text-sm leading-[1.85]",children:e.body})]},e.num))})]})})}const iw=[.16,1,.3,1],sw={once:!0,margin:"-60px"};function EL(){const[e,t]=F.useState(null);return F.useEffect(()=>{ln.entities.DearMatchmakerColumn.filter({published:!0},"-issue_number",1).then(n=>t(n[0]||null)).catch(()=>t(null))},[]),x.jsx("section",{className:"py-20 md:py-28 border-t border-border/50 bg-background",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-10",children:[x.jsxs(Pe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:sw,transition:{duration:.9,ease:iw},className:"max-w-2xl mb-12",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-5",children:"Signature Advice Column"}),x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.05] mb-5",style:{fontSize:"clamp(1.8rem, 3.5vw, 2.8rem)"},children:"Dear Matchmaker"}),x.jsx("p",{className:"font-serif italic font-400 text-foreground/75 text-lg leading-[1.7]",children:"A recurring advice column by Patti Feinstein — readers' questions about dating, relationships, and navigating love, answered with the discretion and experience of a matchmaker who has spent decades inside these conversations."})]}),e&&x.jsx(Pe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:sw,transition:{duration:.9,ease:iw},className:"border-l-2 border-primary/50 pl-6",children:x.jsxs(rt,{to:`/dear-matchmaker/${e.slug}`,children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground mb-3",children:"Latest Column"}),x.jsx("h3",{className:"font-serif font-500 text-foreground leading-[1.15] mb-3 hover:text-primary transition-colors duration-300",style:{fontSize:"clamp(1.3rem, 2.2vw, 1.75rem)"},children:e.title}),e.excerpt&&x.jsx("p",{className:"font-serif italic text-foreground/65 text-sm leading-relaxed mb-4",children:e.excerpt})]})})]})})}const ow=[.16,1,.3,1],aw={once:!0,margin:"-60px"},TL=[{id:"dating-doggy-style-henri-vs-vinny",title:"Dating Doggy Style",deck:"You be the matchmaker.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/6f551f540_DatingDoggySytle3.jpg"},{id:"wishing-upon-the-same-bright-star",title:"Wishing Upon the Same Bright Star",deck:"Love Survives in Silence",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/73abbcb54_IMG_7051.jpg"},{id:"the-tell-all-toothbrush",title:"The Tell-All Toothbrush",deck:"Nothing tells the truth about a person more intimately than a toothbrush.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/a7cccddef_IMG_7037.png"},{id:"the-right-person-makes-it-normal",title:"The Right Person Makes It Normal",deck:"Because suddenly, it just is.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/aab8761b8_IMG_6994.png"},{id:"turn-on-the-laughing-gas",title:"Turn On the Laughing Gas",deck:"Some relationships just end. Others charge by the hour.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/a4eb46873_generated_image.png"},{id:"mustard-and-mayo",title:"Mustard and Mayo",deck:"Do Opposites really attract?",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/0066e3acb_cornedbeef.jpg"},{id:"chicken-and-scrambled-eggs",title:"Chicken and Scrambled Eggs",deck:"Tell Me You Love Me Without Saying You Love Me",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/df8df66b0_image_123650291.jpg"}
179,{id:"bloopers",title:"Bloopers",deck:"A correction. Not because the writing was wrong.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/d41efa0b1_generated_image.png",warnings:["⚠️ ChatGPT can make mistakes.","⚠️ Breakfast was innocent."]},{id:"ghosting-is-the-new-black",title:"Ghosting Is the New Black",deck:"Why Modern Dating Rewards Disappearing Acts and Emotional Unavailability",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/d38842b36_generated_image.png"},{id:"maybe-ken-is-a-gold-digger",title:"I Have Questions for Dr. Mattel",deck:"At what point did everyone decide Ken was a catch?",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/0f15e8d6d_generated_image.png"},{id:"the-emergency-date-cleanup",title:"The Emergency Date Cleanup",deck:"What people do in the hours before a first date reveals more than the date itself.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/1c4c13288_image_1236502911.jpg"},{id:"still-swiping",title:"Still Swiping…",deck:"Endless Options, Exhausted People",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/15f679224_generated_image.png"},{id:"what-your-texting-style-says-about-you",title:"That Text You Probably Shouldn't Have Sent",deck:"But couldn't help yourself.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/f6a29c5af_generated_image.png"},{id:"bring-me-your-list",title:"Everyone Brings a Wishlist",deck:"Nobody talks about Tuesday.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/6fd945b6e_IMG_7258.jpg"},{id:"over-sharing",title:"Over Sharing",deck:"When did dating become a tax return audit",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/72506c31f_generated_image.png"},{id:"looking-through-the-lens",title:"Looking Through the Lens",deck:"Sometimes the picture changes when you change the angle",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/7f8fdef3d_IMG_7264.jpg"}];function CL(){return x.jsx("section",{id:"articles",className:"py-20 md:py-28 bg-background border-t border-border/50",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-10",children:[x.jsxs(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:aw,transition:{duration:.7,ease:ow},className:"flex items-center gap-4 mb-12",children:[x.jsx("span",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary",children:"Let's Call It Out"}),x.jsx("div",{className:"flex-1 h-px bg-border/40"}),x.jsx(rt,{to:"/articles",className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground hover:text-primary transition-colors duration-300 border-b border-transparent hover:border-primary/50 pb-0.5",children:"All Columns →"})]}),x.jsx("div",{className:"divide-y divide-border/40",children:TL.map((e,t)=>x.jsx(rt,{to:`/articles/${e.id}`,children:x.jsx(Pe.article,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:aw,transition:{duration:.6,ease:ow,delay:t*.04},className:"py-7 hover:opacity-70 transition-opacity duration-300",children:x.jsxs("div",{className:"flex gap-6 items-start",children:[e.image&&x.jsx("div",{className:`flex-shrink-0 overflow-hidden ${e.id==="bloopers"?"w-14 h-14 md:w-[78px] md:h-[78px]":"w-20 h-20 md:w-28 md:h-28"}`,children:x.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover",style:e.id==="the-tell-all-toothbrush"?{objectPosition:"center 20%"}:e.id==="the-emergency-date-cleanup"?{objectPosition:"center 40%"}:e.id==="mustard-and-mayo"?{objectFit:"contain"}:{}})}),x.jsxs("div",{children:[x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-2",style:{fontSize:"clamp(1.3rem, 2.2vw, 1.75rem)"},children:e.title}),x.jsx("p",{className:"font-serif italic text-foreground/65 text-sm leading-relaxed",children:e.deck})]})]})})},e.id))})]})})}const lw=[.16,1,.3,1],la=[{id:1,title:"",fields:[{name:"why_now",label:"What's the 'aha' moment that brought you to my door? Be honest—what's broken about the way you've been doing it?",type:"textarea"},{name:"impact_if_unchanged",label:"If you're in the exact same place you are today, staring at the same screen, feeling the same way—what does that cost you?",type:"textarea"},{name:"seriousness",label:"On a scale of 1–10, how serious are you about finding a long-term relationship?",type:"select",options:["1","2","3","4","5","6","7","8","9","10"]},{name:"prior_investment",label:"What have you already 'spent' trying to find your person? (Time, money, coaching, endless app subscriptions—lay it out for me.)",type:"textarea"},{name:"marital_status",label:"What is your marital status?",type:"select",options:["Single, never married","Divorced","Widowed","Separated"]},{name:"living_with_spouse",label:"Are you currently living with a spouse or ex-spouse?",type:"select",options:["Yes","No"]},{name:"why_choose_you",label:"I don't need a resume. I need to know the 'private part out loud' version: Why are you a unicorn in this market? What makes you the person someone would actually be lucky to have?",type:"textarea"},{name:"criminal_history",label:"Do you have any criminal convictions or legal history?",type:"select",options:["None","Felony","Misdemeanor","DUI — 1","DUI — 2","DUI — 3+","Bankruptcy","Domestic Violence"]}]},{id:2,title:"",fields:[{name:"investment_readiness",label:"Professional matchmaking programs range from $10,000 to $100,000+. Are you prepared to make an investment in that range if the service is a good fit?",type:"select",options:["Yes","No","Possibly"]},{name:"annual_income",label:"What is your annual income?",type:"select",options:["Under $100K","$100K–$150K","$150K–$200K","$200K–$250K","$250K–$500K","$500K+"]}]},{id:3,title:"",fields:[{name:"net_worth",label:"What is your approximate net worth?",type:"select",options:["Under $500K","$500K–$1M","$1M–$3M","$3M–$5M","$5M+"]}]},{id:4,title:"",fields:[{name:"start_timeline",label:"If accepted, how soon would you be prepared to begin?",type:"select",options:["Immediately","Within 30 days","Within 90 days","Just researching"]}]},{id:5,title:"",fields:[{name:"sole_decision_maker",label:"Are you the sole decision maker regarding this investment?",type:"select",options:["Yes","No"]},{name:"first_name",label:"First Name",type:"text",required:!0},{name:"email",label:"Email Address",type:"email",required:!0},{name:"phone",label:"Phone Number",type:"text"}]}],Xh="w-full bg-transparent border border-border text-foreground font-sans text-sm px-4 py-3 placeholder:text-muted-foreground
179/50 focus:outline-none focus:border-primary/60 transition-colors",_L="font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground mb-2 block leading-relaxed";function BS(){const[e,t]=F.useState(0),[n,r]=F.useState({}),[o,a]=F.useState(!1),[l,c]=F.useState(!1),d=la[e-1],f=(w,C)=>{r(T=>({...T,[w]:C}))},p=()=>d?d.fields.filter(C=>C.required).every(C=>n[C.name]&&n[C.name].toString().trim()!==""):!1,g=()=>{var w;e<la.length&&(t(C=>C+1),(w=document.getElementById("qualification-form-top"))==null||w.scrollIntoView({behavior:"smooth"}))},v=async()=>{c(!0);const w=Object.entries(n).map(([C,T])=>`${C.replace(/_/g," ")}: ${T}`).join(`
180`);await ln.integrations.Core.SendEmail({to:"[email protected]",subject:`New Matchmaking Inquiry — ${n.first_name||"Anonymous"}`,body:w}),await ln.entities.Inquiry.create({first_name:n.first_name||"",email:n.email||"",phone:n.phone||"",message:w}),c(!1),a(!0)};return o?x.jsx("section",{className:"border-t border-border/60 py-20 md:py-28",children:x.jsxs("div",{className:"max-w-2xl mx-auto px-6 md:px-10 text-center",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-6",children:"Thank You"}),x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-6",style:{fontSize:"clamp(1.8rem, 3vw, 2.8rem)"},children:"Patti will be in touch shortly."}),x.jsx("p",{className:"font-serif italic text-foreground/70 text-base leading-relaxed",children:"Your application has been received. If you're a strong fit, you'll hear from us directly."})]})}):e===0?x.jsx("section",{id:"qualification-form-top",className:"border-t border-border/60 py-20 md:py-28",children:x.jsx("div",{className:"max-w-2xl mx-auto px-6 md:px-10",children:x.jsxs(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,ease:lw},children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-6",children:"Let's Call It Out"}),x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-6",style:{fontSize:"clamp(1.8rem, 3vw, 2.8rem)"},children:"See If We're a Fit"}),x.jsx("p",{className:"font-serif italic text-foreground/70 text-base leading-relaxed mb-6",children:"Patti works with a select number of clients each year. The following questions help determine whether this is the right fit — for both of you."}),x.jsx("p",{className:"font-sans text-[10px] text-muted-foreground/70 leading-relaxed mb-10",children:"By submitting this form, you understand that your inquiry may be reviewed by Patti Feinstein and, when appropriate, shared with carefully selected professional partners who may be able to assist you. Your information will never be sold for marketing purposes or distributed to unrelated third parties."}),x.jsx("button",{onClick:()=>t(1),className:"font-sans text-[10px] tracking-[0.3em] uppercase border border-primary text-primary px-8 py-4 hover:bg-primary hover:text-primary-foreground transition-colors duration-300",children:"Shall We See If We're a Match?"})]})})}):x.jsx("section",{id:"qualification-form-top",className:"border-t border-border/60 py-20 md:py-28",children:x.jsxs("div",{className:"max-w-2xl mx-auto px-6 md:px-10",children:[x.jsx("div",{className:"flex gap-1.5 mb-10",children:la.map(w=>x.jsx("div",{className:`h-px flex-1 transition-colors duration-300 ${e>=w.id?"bg-primary":"bg-border/60"}`},w.id))}),x.jsx(dk,{mode:"wait",children:x.jsxs(Pe.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.4,ease:lw},children:[x.jsxs("p",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary mb-2",children:["Step ",e," of ",la.length]}),d.title&&x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-10",style:{fontSize:"clamp(1.6rem, 2.5vw, 2.4rem)"},children:d.title}),x.jsx("div",{className:"space-y-8",children:d.fields.map(w=>x.jsxs("div",{children:[x.jsx("label",{className:_L,children:w.label}),w.type==="textarea"&&x.jsx("textarea",{rows:3,value:n[w.name]||"",onChange:C=>f(w.name,C.target.value),className:Xh+" resize-none",placeholder:"Your answer…"}),w.type==="select"&&x.jsxs("select",{value:n[w.name]||"",onChange:C=>f(w.name,C.target.value),className:Xh+" cursor-pointer",children:[x.jsx("option",{value:"",disabled:!0,children:"Select…"}),w.options.map(C=>x.jsx("option",{value:C,children:C},C))]}),(w.type==="text"||w.type==="email")&&x.jsx("input",{type:w.type,value:n[w.name]||"",onChange:C=>f(w.name,C.target.value),className:Xh,placeholder:w.type==="email"?"[email protected]":""})]},w.name))}),x.jsxs("div",{className:"mt-12 flex items-center justify-between",children:[e>1?x.jsx("button",{onClick:()=>t(w=>w-1),className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground hover:text-foreground transition-colors",children:"← Back"}):x.jsx("span",{}),e<la.length?x.jsx("button",{onClick:g,disabled:!p(),className:"font-sans text-[10px] tracking-[0.3em] uppercase border border-primary text-primary px-8 py-4 hover:bg-primary hover:text-primary-foreground transition-colors duration-300 disabled:opacity-30 disabled:cursor-not-allowed",children:e===1?"Tell me more →":e===2?"Keep going →":e===3?"Go on →":"just a little bit more... →"}):x.jsx("button",{onClick:v,disabled:l||!n.first_name||!n.email,className:"font-sans text-[10px] tracking-[0.3em] uppercase border border-primary px-8 py-4 hover:bg-primary hover:text-primary-foreground transition-colors duration-300 disabled:opacity-30 disabled:cursor-not-allowed text-primary",children:l?"Submitting…":"Let's Do This"})]})]},e)})]})})}const uw=[.16,1,.3,1],cw={once:!0,margin:"-60px"},Jh=[{source:"CBS News",title:"Romantically Challenged? Get Coaching",url:"https://www.cbsnews.com/news/romantically-challenged-get-coaching/",type:"Television"},{source:"DatingNews",title:"America's Dating Coach Patti Feinstein Launches Small Group Coaching to Support Single Women",url:"https://www.datingnews.com/industry-trends/patti-feinstein-launches-small-group-coaching-to-support-single-women/",type:"Industry Press"},{source:"ABC7 Chicago",title:"Old-School Dating Makes a Comeback",url:"https://abc7chicago.com/archive/6657825/",type:"Television"},{source:"PR Newswire",title:'Patti Feinstein Has Launched "More Than a Matchmaker," an Upscale, Boutique, Executive Matchmaking Service for Wealthy Men Looking for Love',url:"https://www.prnewswire.com/news-releases/patti-feinstein-has-launched-more-than-a-matchmaker-an-upscale-boutique-executive-matchmaking-service-for-wealthy-men-looking-for-love-301543840.html",type:"Press Release"},{source:"The Journal Record",title:"Date Doctors",url:"https://journalrecord.com/2006/07/12/date-doctors/",type:"Newspaper · Associated Press"},{source:"CBS News",title:"Book People — Patti Feinstein",url:"https://www.cbsnews.com/pictures/book-people-25-7-06/",type:"Photo Feature · Associated Press"}];function zS({limit:e}){const t=e?Jh.slice(0,e):Jh,n=e&&Jh.length>e;return x.jsx("section",{"aria-label":"In the News",className:"py-16 md:py-20 bg-background border-t border-border/50",children:x.jsx("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:x.jsxs(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:cw,transition:{duration:.7,ease:uw},children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-3",children:"In the News"}
180),x.jsx("p",{className:"font-serif italic text-foreground/70 text-sm leading-relaxed mb-10 max-w-xl",children:"America's Dating Coach has been featured in the following media and publications."}),x.jsx("div",{className:"border-t border-border/50",children:t.map((r,o)=>x.jsx(Pe.a,{href:r.url,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:cw,transition:{duration:.5,ease:uw,delay:o*.06},className:"block py-6 border-b border-border/50 group hover:bg-secondary/40 transition-colors duration-300 -mx-3 px-3 md:mx-0 md:px-0",children:x.jsxs("div",{className:"flex items-start justify-between gap-6",children:[x.jsxs("div",{className:"min-w-0",children:[x.jsxs("p",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground mb-2",children:[r.source,r.type?` · ${r.type}`:""]}),x.jsx("p",{className:"font-serif text-lg md:text-xl text-foreground/90 leading-snug group-hover:text-primary transition-colors duration-300",children:r.title})]}),x.jsx(qC,{className:"w-4 h-4 text-muted-foreground/60 group-hover:text-primary shrink-0 mt-1 transition-colors duration-300"})]})},o))}),n&&x.jsx("div",{className:"mt-10",children:x.jsxs(rt,{to:"/about",className:"inline-flex items-center gap-2 font-sans text-[10px] tracking-[0.3em] uppercase text-primary border-b border-primary/50 pb-0.5 hover:gap-3 transition-all duration-300",children:["View All Media",x.jsx(us,{className:"w-3.5 h-3.5"})]})})]})})})}const PL=[.16,1,.3,1],AL={once:!0,margin:"-60px"},Au="w-full bg-transparent border border-border text-foreground font-sans text-sm px-4 py-3 placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/60 transition-colors",Nu="font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground mb-2 block";function VS(){const[e,t]=F.useState({name:"",outlet:"",email:"",message:""}),[n,r]=F.useState(!1),[o,a]=F.useState(!1),l=d=>t(f=>({...f,[d.target.name]:d.target.value})),c=async d=>{d.preventDefault(),a(!0),await ln.integrations.Core.SendEmail({to:"[email protected]",subject:`Press Inquiry — ${e.outlet||e.name}`,body:`Name: ${e.name}
181Outlet: ${e.outlet}
182Email: ${e.email}
183
184Message:
185${e.message}`}),a(!1),r(!0)};return x.jsx("section",{className:"border-t border-border/60 py-20 md:py-28",children:x.jsx("div",{className:"max-w-2xl mx-auto px-6 md:px-10",children:x.jsxs(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:AL,transition:{duration:.8,ease:PL},children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-6",children:"Media"}),x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-4",style:{fontSize:"clamp(1.8rem, 3vw, 2.8rem)"},children:"Press Inquiries"}),x.jsx("p",{className:"font-serif italic text-foreground/70 text-base leading-relaxed mb-10",children:"For interview requests, expert commentary, and media appearances."}),n?x.jsx("p",{className:"font-serif italic text-foreground/80 text-lg",children:"Thank you. We'll be in touch shortly."}):x.jsxs("form",{onSubmit:c,className:"space-y-6",children:[x.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[x.jsxs("div",{children:[x.jsx("label",{className:Nu,children:"Name"}),x.jsx("input",{name:"name",value:e.name,onChange:l,required:!0,className:Au,placeholder:"Your name"})]}),x.jsxs("div",{children:[x.jsx("label",{className:Nu,children:"Publication / Outlet"}),x.jsx("input",{name:"outlet",value:e.outlet,onChange:l,className:Au,placeholder:"e.g. The New York Times"})]})]}),x.jsxs("div",{children:[x.jsx("label",{className:Nu,children:"Email"}),x.jsx("input",{name:"email",type:"email",value:e.email,onChange:l,required:!0,className:Au,placeholder:"[email protected]"})]}),x.jsxs("div",{children:[x.jsx("label",{className:Nu,children:"Message"}),x.jsx("textarea",{name:"message",value:e.message,onChange:l,required:!0,rows:4,className:Au+" resize-none",placeholder:"Tell us about your inquiry…"})]}),x.jsx("p",{className:"font-sans text-[10px] text-muted-foreground/70 leading-relaxed",children:"By submitting this form, you understand that your inquiry may be reviewed by Patti Feinstein and, when appropriate, shared with carefully selected professional partners who may be able to assist you. Your information will never be sold for marketing purposes or distributed to unrelated third parties."}),x.jsx("button",{type:"submit",disabled:o,className:"font-sans text-[10px] tracking-[0.3em] uppercase border border-primary text-primary px-8 py-4 hover:bg-primary hover:text-primary-foreground transition-colors duration-300 disabled:opacity-30 disabled:cursor-not-allowed",children:o?"Sending…":"Send Inquiry"})]})]})})})}function is(){return x.jsx("footer",{className:"bg-background",children:x.jsx("div",{className:"border-t border-border/60 py-10",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-10 flex flex-col md:flex-row justify-between items-center gap-4",children:[x.jsx("span",{className:"font-serif text-lg italic text-foreground/75",children:"America's Dating Coach"}),x.jsx("p",{className:"font-sans text-xs text-muted-foreground tracking-wider text-center",children:"© 2026 America's Dating Coach · All rights reserved"}),x.jsxs("div",{className:"flex gap-6",children:[x.jsx("a",{href:"#",className:"font-sans text-xs tracking-wider text-muted-foreground hover:text-foreground transition-colors uppercase",children:"Privacy"}),x.jsx("a",{href:"#",className:"font-sans text-xs tracking-wider text-muted-foreground hover:text-foreground transition-colors uppercase",children:"Contact"})]})]})})})}const NL=[{key:"hero",Component:wL},{key:"about",Component:bL},{key:"press",Component:zS,props:{limit:3}},{key:"dear-matchmaker",Component:EL},{key:"how-i-help",Component:SL},{key:"work-with-me",Component:BS},{key:"press-inquiries",Component:VS},{key:"articles",Component:CL}];function RL(){return x.jsxs("main",{className:"min-h-screen bg-background overflow-x-hidden",children:[x.jsx(Pr,{}),NL.map(({key:e,Component:t,props:n})=>x.jsx(t,{...n},e)),x.jsx(is,{})]})}const dw=[.16,1,.3,1],jL={once:!0,margin:"-60px"};function IL(){return x.jsx("section",{className:"py-20 md:py-28 bg-background",children:x.jsxs("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:[x.jsxs(Pe.div,{initial:{opacity:0,y:16}
185,animate:{opacity:1,y:0},transition:{duration:.9,ease:dw},className:"border-b border-border/60 pb-10 mb-14",children:[x.jsx("h1",{className:"font-serif font-500 text-foreground leading-[1.05]",style:{fontSize:"clamp(2.2rem, 4vw, 3.6rem)"},children:"About America's Dating Coach"}),x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mt-4",children:"Patti Feinstein"})]}),x.jsx(Pe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:jL,transition:{duration:.9,ease:dw},children:x.jsxs("p",{className:"font-serif italic font-400 text-foreground/75 text-lg leading-[1.8] mb-8",children:["Patti Feinstein, previously known as America's Dating Coach and Founder of America's Dating Coach, has spent over 3 decades inside real conversations about love, loneliness, long marriages, divorce, widowhood, and modern dating. She has been featured on NBC, CBS, PR Newswire and The Chicago Sun Times. Her column, ",x.jsx("span",{className:"font-serif italic text-foreground/80",children:"Let's Call It Out"}),", is a direct, experience-driven commentary on relationships, emotional behavior, and the things people think but rarely say out loud."]})})]})})}const hw=[.16,1,.3,1],fw={once:!0,margin:"-60px"},pw=[];function OL(){return pw.length===0?null:x.jsx("section",{className:"py-20 md:py-28 bg-background border-t border-border/30",children:x.jsxs("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:[x.jsx(Pe.p,{initial:{opacity:0}
185,whileInView:{opacity:1},viewport:fw,transition:{duration:.7,ease:hw},className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-10",children:"Experience & Expertise"}),x.jsx("div",{className:"divide-y divide-border/30",children:pw.map((e,t)=>x.jsxs(Pe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:fw,transition:{duration:.7,ease:hw,delay:t*.08},className:"py-6",children:[x.jsx("p",{className:"font-serif text-lg text-foreground mb-1",children:e.label}),x.jsx("p",{className:"font-sans text-sm text-muted-foreground leading-relaxed",children:e.detail})]},t))})]})})}const mw=[.16,1,.3,1],gw={once:!0,margin:"-80px"};function DL(){return x.jsx("section",{id:"philosophy",className:"py-20 md:py-28 bg-background border-t border-border/50",children:x.jsxs("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:[x.jsxs(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:gw,transition:{duration:.7,ease:mw},className:"flex items-center gap-4 mb-12",children:[x.jsx("span",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary",children:"Let's Call It Out"}),x.jsx("div",{className:"flex-1 h-px bg-border/40"})]}),x.jsx(rt,{to:"/articles",className:"group block",children:x.jsxs(Pe.article,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:gw,transition:{duration:.9,ease:mw},className:"border-b border-border/50 pb-10 hover:opacity-70 transition-opacity duration-300",children:[x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-3",style:{fontSize:"clamp(1.25rem, 2.2vw, 1.7rem)"},children:"What changes after 50 is not the desire for connection — it's the awareness of what it actually takes."}),x.jsx("p",{className:"font-serif italic text-foreground/65 text-sm leading-relaxed mb-6",children:"After decades of sitting across from people at every stage of life — freshly divorced, widowed, cautiously hopeful — Patti has formed opinions. Strong ones."}),x.jsx("span",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-primary border-b border-primary/50 pb-0.5 group-hover:border-primary transition-colors duration-300 inline-block",children:"Read the Column →"})]})})]})})}const LL=[.16,1,.3,1],ML={once:!0,margin:"-60px"};function FL(){return x.jsx("section",{className:"py-16 md:py-20 bg-background border-t border-border/50",children:x.jsx("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:x.jsxs(Pe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:ML,transition:{duration:.9,ease:LL},className:"max-w-2xl",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-4",children:"Signature Advice Column"}),x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-4",style:{fontSize:"clamp(1.5rem, 3vw, 2.2rem)"},children:"Dear Matchmaker"}),x.jsx("p",{className:"font-serif italic font-400 text-foreground/75 text-base leading-[1.7] mb-6",children:"A recurring advice column by Patti Feinstein — readers' questions about dating, relationships, and navigating love, answered with the discretion and experience of a matchmaker who has spent decades inside these conversations."}),x.jsxs(rt,{to:"/dear-matchmaker",className:"inline-flex items-center gap-2 font-sans text-[10px] tracking-[0.3em] uppercase text-primary border-b border-primary/50 pb-0.5 hover:gap-3 transition-all duration-300",children:["Read the Column",x.jsx(us,{className:"w-3.5 h-3.5"})]})]})})})}const BL=[.16,1,.3,1],zL={once:!0,margin:"-60px"};function VL(){return x.jsx("section",{className:"py-12 md:py-16 bg-background border-t border-border/50",children:x.jsx("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:x.jsxs(Pe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:zL,transition:{duration:.9,ease:BL},className:"flex items-center justify-between gap-4",children:[x.jsx("span",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary",children:"Let's Call It Out"}),x.jsxs(rt,{to:"/articles",className:"inline-flex items-center gap-2 font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground hover:text-primary transition-colors duration-300 border-b border-border/60 hover:border-primary/40 pb-0.5",children:["Browse All Articles",x.jsx(us,{className:"w-3.5 h-3.5"})]})]})})})}const UL=[{key:"about",Component:IL}
185,{key:"experience",Component:OL},{key:"credibility",Component:zS},{key:"philosophy",Component:DL},{key:"dear-matchmaker",Component:FL},{key:"articles",Component:VL},{key:"contact",Component:BS},{key:"press-inquiries",Component:VS}];function $L(){return x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsx("main",{className:"pt-20 md:pt-24",children:UL.map(({key:e,Component:t})=>x.jsx(t,{},e))}),x.jsx(is,{})]})}function HL({title:e,articleId:t}){const n=`${window.location.origin}/articles/${t}`,r=encodeURIComponent(n),o=encodeURIComponent(e),a=[{name:"LinkedIn",icon:GC,url:`https://www.linkedin.com/sharing/share-offsite/?url=${r}`,color:"text-[#0A66C2] hover:text-[#0A66C2]/80"},{name:"Twitter",icon:n_,url:`https://twitter.com/intent/tweet?text=${o}&url=${r}`,color:"text-[#1DA1F2] hover:text-[#1DA1F2]/80"},{name:"Facebook",icon:KC,url:"https://facebook.com/patti.feinstein",color:"text-[#1877F2] hover:text-[#1877F2]/80"},{name:"Text",icon:ZC,url:`sms:?body=${o}%20${r}`,color:"text-[#25D366] hover:text-[#25D366]/80"}];return x.jsxs("div",{className:"flex items-center gap-4 mt-8 pt-8 border-t border-border/50",children:[x.jsx("span",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground",children:"Share"}),x.jsx("div",{className:"flex gap-4",children:a.map(l=>{const c=l.icon;return x.jsx("a",{href:l.url,target:"_blank",rel:"noopener noreferrer",title:`Share on ${l.name}`,className:`${l.color} transition-colors duration-300`,children:x.jsx(c,{className:"w-5 h-5"})},l.name)})})]})}const vm=[.16,1,.3,1],US={once:!0,margin:"-60px"},qL={name:"Henri",height:'12"',image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/2af535b8a_IMG_7215.jpg",traits:["Short, Dark & Handsome","Bossy","Wealthy","Judgmental"],assets:["Family Money","Luxury transportation","Multiple vacation properties","Designer collar collection"],seeking:"A woman who appreciates a high-net-worth individual. Must pass financial background check. References required.",tagline:"I don't fetch. I delegate."},WL={name:"Vinny",height:'18"',image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/1d0746a78_IMG_7209.jpg",traits:["Loyal","Sensitive","Affectionate","Strong"],assets:["Lives with my mother","Currently between opportunities","Great in bed","Excellent cuddler"],seeking:"A woman who can see beyond labels like 'unemployed.' I get you. I really get you.",tagline:"Photo taken after Henri showed me his investment portfolio."};function KL(){return x.jsx("div",{className:"flex flex-col items-center justify-center px-2 md:px-4 select-none",children:x.jsxs("div",{className:"relative flex flex-col items-center",children:[x.jsx("div",{style:{width:28,height:320,background:"linear-gradient(180deg, #f5c518 0%, #f0bc10 100%)",border:"1px solid #c48a00",borderRadius:2,position:"relative",overflow:"hidden"},children:Array.from({length:20}).map((e,t)=>{const n=t%4===0,r=n?`${(t/4+1)*3}"`:null;return x.jsxs("div",{style:{position:"absolute",top:t*15+8,left:0,display:"flex",alignItems:"center",width:"100%"},children:[x.jsx("div",{style:{height:1,background:"#7a5c00",width:n?16:10}}),r&&x.jsx("span",{style:{fontSize:7,color:"#4a3800",fontFamily:"monospace",marginLeft:1,fontWeight:"bold"},children:r})]},t)})}),x.jsx("div",{className:"flex items-center justify-center rounded-full font-sans font-bold text-xs mt-3 shadow",style:{width:36,height:36,background:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))",fontSize:13},children:"VS"})]})})}function yw({dog:e,side:t}){return x.jsxs(Pe.div,{initial:{opacity:0,x:t==="left"?-24:24},whileInView:{opacity:1,x:0},viewport:US,transition:{duration:.8,ease:vm},className:"flex-1 min-w-0 flex flex-col",children:[x.jsx("div",{className:"w-full aspect-square overflow-hidden mb-5",style:{maxHeight:300},children:x.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover",style:e.name==="Vinny"?{objectPosition:"center 30%"}:{objectPosition:"center 20%"}})}),x.jsxs("div",{className:`mb-3 ${t==="right"?"text-right":"text-left"}`,children:[x.jsx("h3",{className:"font-serif text-foreground",style:{fontSize:"clamp(1.6rem, 3vw, 2.2rem)"},children:e.name}),x.jsxs("p",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-primary mt-1",children:["Height: ",e.height]})]}),x.jsxs("p",{className:"font-serif italic text-muted-foreground text-sm mb-4 leading-relaxed",children:['"',e.tagline,'"']}),x.jsxs("div",{className:"mb-4",children:[x.jsx("p",{className:"font-sans text-[9px] tracking-[0.3em] uppercase text-muted-foreground
185/80 mb-2",children:"Personality"}),x.jsx("div",{className:`flex flex-wrap gap-1.5 ${t==="right"?"justify-end":"justify-start"}`,children:e.traits.map(n=>x.jsx("span",{className:"font-sans text-xs px-2 py-0.5 border border-border text-muted-foreground",children:n},n))})]}),x.jsxs("div",{className:"mb-4",children:[x.jsx("p",{className:"font-sans text-[9px] tracking-[0.3em] uppercase text-muted-foreground/80 mb-2",children:"What He Brings to the Table"}),x.jsx("ul",{className:`space-y-1 ${t==="right"?"text-right":"text-left"}`,children:e.assets.map(n=>x.jsxs("li",{className:"font-sans text-xs text-muted-foreground/80",children:[t==="left"?"· ":"",n,t==="right"?" ·":""]},n))})]}),x.jsxs("div",{children:[x.jsx("p",{className:"font-sans text-[9px] tracking-[0.3em] uppercase text-muted-foreground/80 mb-2",children:"Seeking"}),x.jsx("p",{className:"font-sans text-xs text-muted-foreground/80 leading-relaxed italic",children:e.seeking})]})]})}function QL(){const[e,t]=F.useState(null),[n,r]=F.useState({henri:47,vinny:53}),[o,a]=F.useState(""),[l,c]=F.useState(""),[d,f]=F.useState(""),[p,g]=F.useState(""),[v,w]=F.useState([]),C=()=>{ln.entities.Vote.filter({article_id:"dating-doggy-style-henri-vs-vinny"}).then(b=>{const P=47+b.filter(R=>R.choice==="henri").length,_=53+b.filter(R=>R.choice==="vinny").length;r({henri:P,vinny:_}),w(b.filter(R=>R.reason).reverse())})};F.useEffect(()=>{C()},[]);const T=async b=>{if(e)return;t(b),r(j=>({...j,[b]:j[b]+1}));const P={choice:b,article_id:"dating-doggy-style-henri-vs-vinny"};l&&(P.reason=l),d&&(P.voter_name=d),p&&(P.comments=p),await ln.entities.Vote.create(P),l&&w(j=>[{choice:b,reason:l,voter_name:d},...j]);const _=n.henri+(b==="henri"?1:0),R=n.vinny+(b==="vinny"?1:0),B=_+R;await ln.integrations.Core.SendEmail({to:"[email protected]",subject:`New Vote: ${b==="henri"?"Henri":"Vinny"}`,body:`Someone just voted for ${b==="henri"?"Henri":"Vinny"}!
186
187Name: ${d||"not provided"}
188Email: ${o||"not provided"}
189Why: ${l||"not provided"}
190Comments: ${p||"not provided"}
191
192Current tally:
193Henri: ${_} votes (${Math.round(_/B*100)}%)
194Vinny: ${R} votes (${Math.round(R/B*100)}%)`})},S=n.henri+n.vinny;return x.jsxs(Pe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:US,transition:{duration:.8,ease:vm},className:"mt-14 border border-border/60 p-8",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary mb-3 text-center",children:"The Vote"}),x.jsx("h4",{className:"font-serif text-foreground text-center mb-4",style:{fontSize:"clamp(1.2rem, 2.5vw, 1.8rem)"},children:"Who would you set up?"}),x.jsx("p",{className:"font-serif italic text-muted-foreground text-center text-sm mb-8",children:"Results will be announced."}),e?x.jsxs("div",{className:"space-y-4",children:[x.jsxs("p",{className:"font-serif italic text-muted-foreground text-center text-sm mb-6",children:["You voted for ",x.jsx("span",{className:"text-primary",children:e==="henri"?"Henri":"Vinny"}),". The people have spoken."]}),["henri","vinny"].map(b=>{const P=Math.round(n[b]/S*100);return x.jsxs("div",{children:[x.jsxs("div",{className:"flex justify-between items-center mb-1",children:[x.jsx("span",{className:"font-sans text-[10px] tracking-[0.2em] uppercase text-muted-foreground",children:b==="henri"?"Henri":"Vinny"}),x.jsxs("span",{className:"font-sans text-[10px] text-primary",children:[P,"%"]})]}),x.jsx("div",{className:"w-full h-1.5 bg-muted/60",children:x.jsx("div",{className:"h-full bg-primary transition-all duration-700",style:{width:`${P}%`}})})]},b)})]}):x.jsxs("div",{className:"space-y-5",children:[x.jsxs("div",{className:"flex flex-col gap-1.5",children:[x.jsx("label",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground",children:"Your Name (optional)"}),x.jsx("input",{type:"text",value:d,onChange:b=>f(b.target.value),placeholder:"First name or nickname",className:"bg-transparent border border-border text-foreground font-sans text-sm px-4 py-3 placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/60 transition-colors"})]}),x.jsxs("div",{className:"flex flex-col gap-1.5",children:[x.jsx("label",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground",children:"Email (optional)"}),x.jsx("input",{type:"email",value:o,onChange:b=>a(b.target.value),placeholder:"[email protected]",className:"bg-transparent border border-border text-foreground font-sans text-sm px-4 py-3 placeholder:text-muted-foreground
194/50 focus:outline-none focus:border-primary/60 transition-colors"})]}),x.jsxs("div",{className:"flex flex-col gap-1.5",children:[x.jsx("label",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground",children:"Why? (optional — will be shown publicly)"}),x.jsx("textarea",{value:l,onChange:b=>c(b.target.value),placeholder:"Tell us why...",rows:3,className:"bg-transparent border border-border text-foreground font-sans text-sm px-4 py-3 placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/60 transition-colors resize-none"})]}),x.jsxs("div",{className:"flex flex-col gap-1.5",children:[x.jsx("label",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground",children:"Comments (optional)"}),x.jsx("textarea",{value:p,onChange:b=>g(b.target.value),placeholder:"Any other thoughts...",rows:2,className:"bg-transparent border border-border text-foreground font-sans text-sm px-4 py-3 placeholder:text-muted-foreground/50 focus:outline-none focus:border-primary/60 transition-colors resize-none"})]}),x.jsxs("div",{className:"flex gap-4 justify-center pt-2",children:[x.jsx("button",{onClick:()=>T("henri"),className:"font-sans text-[11px] tracking-[0.25em] uppercase px-8 py-4 border border-primary text-primary hover:bg-primary hover:text-primary-foreground transition-colors duration-300",children:"Henri"}),x.jsx("button",{onClick:()=>T("vinny"),className:"font-sans text-[11px] tracking-[0.25em] uppercase px-8 py-4 border border-primary text-primary hover:bg-primary hover:text-primary-foreground transition-colors duration-300",children:"Vinny"})]})]}),v.length>0&&x.jsxs("div",{className:"mt-10 border-t border-border/50 pt-8 space-y-5",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary text-center mb-4",children:"What People Are Saying"}),v.map((b,P)=>x.jsxs("div",{className:"border-b border-border/40 pb-4 last:border-0",children:[x.jsxs("p",{className:"font-sans text-[9px] tracking-[0.25em] uppercase text-primary/80 mb-1",children:["Team ",b.choice==="henri"?"Henri":"Vinny",b.voter_name?` · ${b.voter_name}`:""]}),x.jsxs("p",{className:"font-serif italic text-muted-foreground text-sm leading-relaxed",children:['"',b.reason,'"']})]},P))]})]})}const vw=encodeURIComponent("Henri vs. Vinny — Dating Doggy Style · Who would you set up?"),Ru=[{label:"Facebook",icon:x.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",children:x.jsx("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})})},{label:"X",icon:x.jsx("svg",{width:"14",height:"14",fill:"currentColor",viewBox:"0 0 24 24",children:x.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{label:"Instagram",icon:x.jsxs("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",children:[x.jsx("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5",fill:"none",stroke:"currentColor",strokeWidth:"2"}),x.jsx("circle",{cx:"12",cy:"12",r:"4",fill:"none",stroke:"currentColor",strokeWidth:"2"}),x.jsx("circle",{cx:"17.5",cy:"6.5",r:"1",fill:"currentColor"})]})},{label:"WhatsApp",icon:x.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",children:x.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z"})})}];function GL(){const e=encodeURIComponent(window.location.href),t=[{label:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`,icon:Ru[0].icon},{label:"X",href:`https://twitter.com/intent/tweet?url=${e}&text=${vw}`,icon:Ru[1].icon},{label:"Instagram",href:"https://www.instagram.com/",icon:Ru[2].icon},{label:"WhatsApp",href:`https://wa.me/?text=${vw}%20${e}`,icon:Ru[3].icon}];return x.jsxs("div",{className:"mt-10 flex flex-col items-center gap-4",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-muted-foreground
194/80",children:"Share This"}),x.jsx("div",{className:"flex gap-3",children:t.map(n=>x.jsxs("a",{href:n.href,target:"_blank",rel:"noopener noreferrer",title:n.label,className:"flex items-center gap-2 px-4 py-2.5 border border-border/60 text-muted-foreground hover:border-primary/60 hover:text-primary transition-colors duration-300 font-sans text-[10px] tracking-[0.2em] uppercase",children:[n.icon,x.jsx("span",{className:"hidden sm:inline",children:n.label})]},n.label))})]})}function YL(){return x.jsxs("div",{className:"max-w-4xl mx-auto px-6 md:px-10 py-16",children:[x.jsxs(Pe.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:vm},className:"border-b border-border/60 pb-10 mb-14",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-4",children:"Dating Doggy Style · No. 1"}),x.jsx("h1",{className:"font-serif font-500 text-foreground leading-[1.05] mb-4",style:{fontSize:"clamp(2.2rem, 4vw, 3.6rem)"},children:"Dating Doggy Style"}),x.jsx("p",{className:"font-serif italic text-foreground/70 text-lg",children:"You be the matchmaker."})]}),x.jsxs("div",{className:"flex items-start gap-4 md:gap-6",children:[x.jsx(yw,{dog:qL,side:"left"}),x.jsx(KL,{}),x.jsx(yw,{dog:WL,side:"right"})]}),x.jsx(QL,{}),x.jsx(GL,{})]})}const ju=[.16,1,.3,1],Zh={once:!0,margin:"-60px"};function xw(e){return e.id==="mustard-and-mayo"?{objectFit:"contain"}:e.id==="chicken-and-scrambled-eggs"?{objectFit:"contain",objectPosition:"center"}:e.id==="the-tell-all-toothbrush"?{objectPosition:"center 20%"}:e.id==="the-emergency-date-cleanup"?{objectPosition:"center 40%"}:e.id==="over-sharing"?{objectPosition:"center 20%"}:{}}function ww({article:e}){return x.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.issue&&x.jsxs(x.Fragment,{children:[x.jsx("span",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-primary",children:e.issue}),x.jsx("span",{className:"w-1 h-1 bg-primary/50 rounded-full"})]}),x.jsx("span",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground",children:e.tag})]})}function bw({size:e="normal"}){const t=e==="large"?"text-[11px]":"text-[10px]",n=e==="large"?"w-3.5 h-3.5":"w-3 h-3";return x.jsxs("span",{className:`inline-flex items-center gap-2 font-sans ${t} tracking-[0.3em] uppercase text-primary whitespace-nowrap group-hover:gap-3 transition-all duration-300`,children:["Read the Column",x.jsx(us,{className:n})]})}function XL({articles:e}){const[t,...n]=e,r=n.slice(0,4),o=n.slice(4);return x.jsx("main",{className:"pt-20 pb-24 md:pt-24 md:pb-36",children:x.jsxs("div",{className:"max-w-5xl mx-auto px-6 md:px-10",children:[x.jsxs(Pe.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:ju},className:"border-b border-border/60 pb-14 mb-20",children:[x.jsx("h1",{className:"font-serif font-bold text-foreground leading-[1.0]",style:{fontSize:"clamp(3rem, 5.5vw, 5rem)"},children:"Let's Call It Out"}),x.jsx("p",{className:"font-serif italic text-foreground/85 text-xl mt-6 max-w-2xl",children:"We're going to say the private part out loud."}),x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mt-8",children:"By Patti Feinstein"})]}),x.jsx(rt,{to:`/articles/${t.id}`,className:"group block mb-28",children:x.jsxs(Pe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:Zh,transition:{duration:.9,ease:ju},children:[t.image&&x.jsx("div",{className:"mb-10 overflow-hidden",children:x.jsx("img",{src:t.image,alt:t.title,className:"w-full aspect-[16/9] object-cover",style:xw(t)})}),x.jsx(ww,{article:t}),x.jsx("h2",{className:"font-serif font-bold text-foreground leading-[1.02] mb-6 group-hover:text-primary transition-colors duration-300",style:{fontSize:"clamp(2.4rem, 5vw, 4rem)"},children:t.title}),x.jsx("p",{className:"font-sans text-foreground/80 text-lg leading-relaxed max-w-2xl mb-8",children:t.deck}),x.jsx(bw,{size:"large"})]})}),x.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-12 gap-y-20 mb-28",children:r.map((a,l)=>x.jsx(rt,{to:`/articles/${a.id}`,className:"group",children:x.jsxs(Pe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:Zh,transition:{duration:.7,ease:ju,delay:l*.05},children:[a.image&&x.jsx("div",{className:"mb-6 overflow-hidden",children:x.jsx("img",{src:a.image,alt:a.title,className:"w-full aspect-[4/3] object-cover",style:xw(a)})}),x.jsx(ww,{article:a}),x.jsx("h3",{className:"font-serif font-semibold text-foreground leading-[1.05] mb-3 group-hover:text-primary transition-colors duration-300",style:{fontSize:"clamp(1.6rem, 2.8vw, 2.2rem)"},children:a.title}
194),x.jsx("p",{className:"font-sans text-foreground/80 text-base leading-relaxed mb-5",children:a.deck}),x.jsx(bw,{})]})},a.id))}),x.jsx("div",{className:"border-t border-border/60",children:o.map((a,l)=>x.jsx(rt,{to:`/articles/${a.id}`,className:"group block",children:x.jsx(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:Zh,transition:{duration:.5,ease:ju,delay:Math.min(l*.03,.3)},className:"py-10 border-b border-border/40",children:x.jsxs("div",{className:"flex gap-8 items-start",children:[a.issue&&x.jsx("span",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-primary flex-shrink-0 pt-2 whitespace-nowrap",children:a.issue}),x.jsxs("div",{className:"flex-1 min-w-0",children:[x.jsx("h3",{className:"font-serif font-semibold text-foreground leading-[1.1] mb-2 group-hover:text-primary transition-colors duration-300",style:{fontSize:"clamp(1.5rem, 2.5vw, 2rem)"},children:a.title}),x.jsx("p",{className:"font-sans text-foreground/75 text-sm leading-relaxed",children:a.deck})]})]})})},a.id))})]})})}const kw=[.16,1,.3,1],JL={once:!0,margin:"-60px"},Sw=[{id:"whats-my-new-normal",issue:"No. 23",tag:"Relationships",title:"What's My New Normal?",deck:"The silence has been deafening.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/fde0bb66f_generated_image.png",content:["The silence has been deafening.","For fifty years, there was always another person in the house. Maybe we weren't talking. Maybe we were arguing. Maybe we were simply passing each other in the hallway. But there was another heartbeat. Another car in the driveway. Another toothbrush on the counter.","Now?","It's quiet.","Too quiet.","I never imagined that silence could make so much noise.",'Everyone tells you to "embrace your next chapter."',"That's easy to say when you're not eating dinner alone.","When Alexa has become your most reliable conversation.","When the highlight of your afternoon is the dog looking up at you because he heard a squirrel.","This isn't just about being single.","It's about waking up one morning and realizing you have absolutely no idea what your new normal is supposed to look like.","Do I stay in Chicago?","Do I move to Southwest Florida?","Should I choose Estero?","Marco Island?","Naples?","Sarasota?","Do I throw caution to the wind and become an expat somewhere warm where nobody knows my story?","Every possibility sounds exciting...","...until it's time to sign a lease.","Then suddenly every choice feels permanent.","And terrifying.","Friends tell me to download another dating app.","Absolutely not.","I've been ghosted.","Catfished.","Matched with people who looked nothing like their photos.","People looking for pen pals.","People looking for therapists.","People looking for someone twenty years younger.","I'm exhausted.","The apps don't make me feel hopeful.","They make me feel disposable.","Then someone says...",`"Why don't you hire a matchmaker?"`,"Honestly?","That depends.","I've spent my career around matchmaking.","I've seen the television ver
194sions.","The flashy promises.","The luxury branding.","The expensive dinners.","But if I ever hired a matchmaker myself, I wouldn't just want introductions.","I'd want someone who actually gets me.","Someone who understands that after decades with the same person, dating isn't just awkward.","It's grief.","It's identity.","It's wondering whether you even remember how to flirt.","It's worrying about walking into a restaurant alone.","It's questioning whether you're too old to start over.","I'd want a luxury matchmaker who understood that concierge matchmaking isn't just about finding chemistry.","It's about rebuilding confidence.","Maybe she reminds me what to wear.","Maybe she drives me to my first date because my nerves are shot.",`Maybe she says, "You're going to be fine."`,"Maybe she laughs with me afterward over coffee if it was awful.","Maybe she celebrates if it wasn't.","That's not just matchmaking.","That's having someone in your corner.","Because loneliness isn't always solved by finding love.","Sometimes it's solved by feeling understood.","Maybe that's what so many of us are really looking for.","Not another app.","Not another algorithm.","Not another profile.","We're looking for a guide.","Someone who understands that this isn't simply dating after divorce or dating after losing a spouse.","It's learning how to build an entirely new life.","A new normal.","If you're reading this from Chicago...","Or Naples.","Or Estero.","Or Marco Island.","Or Sarasota.","Or anywhere in between...","...and you're quietly asking yourself the very same question—",'"What am I supposed to do now?"',"You're not the only one.","Maybe the next chapter doesn't begin with knowing exactly where you'll live.","Maybe it begins with finding people who make wherever you are feel a little less lonely.","And maybe the right luxury matchmaker doesn't just introduce you to someone new.","Maybe she helps introduce you...to yourself again."]},{id:"life-is-a-bottle-of-variety-club-pop",issue:"No. 22",tag:"Relationships",title:"Life Is a Bottle of Variety Club Pop",deck:"Not a bad return on $15.37.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/d8427afe3_IMG_8334.jpg",content:["My dad handed me a collection of old Variety Club bottles and said:",`"Save these. They'll be worth something someday."`,"So I did the math.","Today they're worth about $15.00.","In another 15 years, they'll be worth about $15.37.","In another 30 years, maybe $15.69.","At this rate, my descendants will be fighting over a twenty-dollar inheritance.","It got me thinking.","Variety Club came in all kinds of flavors.","Grape pop.","Orange pop.","Red pop.","Cola.","As a matchmaker, I've learned people do too.","Tall women.","Short women.","Quiet women.","Talkative women.","Dog people.","Cat people.","Some matches fizzled out before the bottle was opened.","Some fell flat.","Some lasted a few months.","And some lasted a lifetime.","Maybe that's why the bottles were never really worth $15.37.","The value was never in the bottle.","It was in the memories attached to it.","Just like the people.","Just like the dates.","Just like life.","Not a bad return on $15.37."]},{id:"maybe-ken-is-a-gold-digger",issue:"No. 11",tag:"Culture",title:"I Have Questions for Dr. Mattel",deck:"At what point did everyone decide Ken was a catch?",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/0f15e8d6d_generated_image.png",content:["Dear Dr. Mattel,","At what point did everyone decide Ken was a catch?","Barbie has the Dream House.","Barbie has the Dream Car.","Barbie has had more careers than most people have had passwords.","Ken is at the pool at two o'clock on a Tuesday with a glass of orange juice and absolutely nowhere he needs to be.","That's not a criticism. It's an observation.","Barbie's friends are waving red flags like they're directing airplanes on a runway.","Barbie says,",`"You don't know him like I do."`,"Ken has been married twice.","Doesn't talk to his sister.","Has a fascinating explanation for every relationship, job, and misunderstanding in his life.","Barbie says,",`"You don't know him like I do."`,"Dr. Mattel, help me understand.","Was Ken always a catch?","Or was Barbie so dazzled by the smile, the tan, and the abs that she skipped the part where her friends were trying to tell her something?","Because from where I'm sitting, Ken may be the greatest salesman ever produced by Mattel.","And Barbie?","Barbie thinks the red flags are part of the décor.","Respectfully,","A woman with questions."]},{id:"mustard-and-mayo",issue:"No. 12.5",tag:"Culture",title:"Mustard and Mayo",deck:"Do Opposites really attract?",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/0066e3acb_cornedbeef.jpg",content:['"Howdy, partner."',`"I'll take a corned beef on rye with mayo."`,"Silence.","The deli guy in a white apron with mustard stains on it stops slicing.","A woman at the next table slowly lowers her newspaper.","Somewhere in the distance, the dentist's mother looks up from a plate of pickles.",'"Excuse me?!"',"The deli guy looks around nervously.",`"That's kinda illegal, isn't it?"`,"The cowboy shrugs.",`"It's just mayo."`,"The dentist's mother throws her hands in the air.",`"It's Just Mayo?!"`,"The deli guy nods.","The woman with the newsp
194aper nods too.","The dentist's mother shakes her head.",'"White bread and mayonnaise. Rye bread and mustard."',"The cowboy tips his hat.",`"Thank you for your time, ma'am."`,"He walks out of the deli, gets on his horse, and rides off into the Dallas sunset holding a sandwich.","The woman with the newspaper goes back to reading.","The deli guy picks up his slicer.","The dentist's mother watches the cowboy disappear into the distance.","She shakes her head.",'"Nice boy."','"Wrong sandwich."']},{id:"dating-doggy-style-henri-vs-vinny",issue:"No. 1",tag:"Dating Doggy Style",title:"Dating Doggy Style",deck:"Two dogs. One question. Who's more dateable?",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/6f551f540_DatingDoggySytle3.jpg",isDatingDoggyStyle:!0},{id:"turn-on-the-laughing-gas",issue:"No. 14",tag:"Relationships",title:"Turn On the Laughing Gas",deck:"Some relationships just end. Others charge by the hour.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/a4eb46873_generated_image.png",content:["I am trying to fire my dentist. She is ruining my teeth, refusing sedation, and charging me for endless visits that mostly involve drilling directly into my nervous system.","Lately, she's been stopping by to visit the ex-husband I currently need an oxygen mask around because of the never-ending opened cat food cans.","Years ago, before we got married, they slept together. Now, for reasons no therapist can explain, she brings ME flowers.","At night, the two of them sit in the smelly den watching television while I walk around wondering if adulthood is just a series of hostage situations.","Tomorrow is his birthday. Somehow, she convinced me that the two of us should take him out for a fancy dinner.","Will someone please… turn on the laughing gas already."]},{id:"over-sharing",issue:"No. 18",tag:"Modern Dating",title:"Over Sharing",deck:"When did dating become a tax return audit",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/72506c31f_generated_image.png",content:["6:58 a.m. A YouTube video.","7:01 a.m. A comedian clip. You have to watch this.","7:04 a.m. A dating article.","7:09 a.m. A screenshot of a text someone else received.","7:14 a.m. A dentist bill, forwarded for emotional support.","7:22 a.m. A podcast episode. Just the first twenty minutes.","7:31 a.m. A follow-up text asking if I watched the YouTube video from 6:58.","I haven't had coffee. I haven't brushed my teeth. I'm not completely convinced I'm awake. Yet somehow I already have homework. Watch this. Read this. Listen to this. Tell me what you think.","9:03 a.m. A meme.","9:47 a.m. A reel about red flags in relationships.","10:12 a.m. An article about attachment styles.","10:13 a.m. A follow-up article about the first article.","11:28 a.m. A screenshot of someone else's Instagram story.","11:44 a.m. A voice memo explaining the screenshot.","12:02 p.m. A restaurant menu. We are not going to this restaurant.","12:16 p.m. A meme about the restaurant menu.",'1:38 p.m. A video. "Only 90 seconds, I promise."',"1:39 p.m. A second video. No time estimate given.",'2:55 p.m. A third video. Described as "life changing."',"3:17 p.m. A podcast clip about modern loneliness.","4:02 p.m. A screenshot of a dating profile with no context.","4:44 p.m. A New York Times article requiring a subscription.","I used to think over-sharing meant your childhood. Your divorce. Your feelings. Now it's everyone else's — videos, memes, articles, podcasts, screenshots, restaurant menus.",'Somewhere along the way, "I thought of you" became an assignment.',"6:11 p.m. A reel.","6:49 p.m. A TikTok that is somehow also a reel.","7:22 p.m. A meme about people who send too many memes.","8:03 p.m. An article I will definitely read later.","8:31 p.m. A podcast clip, part two of this morning's podcast clip.","9:08 p.m. A screenshot. A voice memo. A follow-up text asking if I got the voice memo.","9:44 p.m. One last thing before bed.","9:58 p.m. Okay, this is actually the last one.","10:17 p.m. Found one more.","10:41 p.m. Going to sleep now. But first.","I was prepared to be annoyed by all of it until I checked my own text history. Oops. Apparently, I had sent thirty minutes of videos, three articles, screenshots, and commentary on every single one.","I'll read yours if you read mine."]},{id:"wishing-upon-the-same-bright-star",issue:"No. 17",tag:"Relationships",title:"Wishing Upon the Same Bright Star",deck:"Love Survives in Silence",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/73abbcb54_IMG_7051.jpg",content:["Every Valentine's Day goes by.","Tuesday. Thursday.","Birthdays. Christmases.","Random afternoons in March.","You may never speak to me again.","I may never cross your mind.","But no matter what happens…","No matter how much unspoken time goes by…","I still love you.","Maybe alone for now…","The star will always shine."]},{id:"looking-through-the-lens",tag:"Relationships",title:"Looking Through the Lens",deck:"Sometimes the picture changes when you change the angle",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/7f8fdef3d_IMG_7264.jpg",content:["It's more like a dirty window. I woke up, looked out the window above me and noticed dust. There was pollen, fingerprints, years of weather. At first, that's all I saw. The dirt. Then I looked through it. And there were trees.","It reminded me of dating. People walk into my office and tell me what's wrong. He's too short, he has a missing tooth, she talks too much, he's living with his ex, single never married, no good. Distance, kids. They see dirt on the window. We all do.","What takes longer is looking through it. Past the height, past the age, past the list. Sometimes, when you look through the glass instead of at it, you see something completely different.","The funny guy is kind. The quiet woman becomes interesting. The widow became brave. The person you almost dismissed becomes the person you can't stop thinking about.","The trees were there the whole time. I just had to stop staring at the dirt.","Nobody's perfect.","And that's the realization that changes everything. It's not about finding someone without flaws. It's about finding someone whose flaws you can look through. Someone who looks at your imperfections and sees the trees anyway. That's when you stop shopping and start building. That's when you finally see what was in front of you all along."]},{id:"the-right-person-makes-it-normal",issue:"No. 15",tag:"Relationships",title:"The Right Person Makes It Normal",deck:"Because suddenly, it just is.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/aab8761b8_IMG_6994.png",content:["You know you've found it when suddenly things that should make absolutely no sense…do.",'No questions. No over analyzing. Just lying in bed comfortably texting: "What do you want for dinner?" While eating a "dirty luncher."',"Not to be confused with a dirty martini. Just…a rice cake covered with stuffed green olives and black olives eaten in the middle of the afternoon like it's a completely normal meal.","And somehow, with the right person, it is.","Two people comfortable enough together to eat something mildly insane in bed and call it lunch.","Maybe that's the real thing people are looking for. Not fireworks. Not perfection. Not compatibility quizzes.","Just the quiet moment where your weird no longer needs explaining."]},{id:"chicken-and-scrambled-eggs",issue:"No. 13",tag:"Relationships",title:"Chicken and Scrambled Eggs",deck:"Tell Me You Love Me Without Saying You Love Me",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/453c4c57d_generated_image.png",content:['I told him I loved him. I said it in the way that makes you feel exposed afterward. And he said: "ty." TY? Huh? What? WTF.',`"I love you too" was nowhere in sight. "I feel the same" never arrived. There wasn't even a FULL "thank you." Just: "ty." I honestly sat there staring at my phone trying to process what had just happened. So I asked him how he felt. Nothing. He just went silent.`,"Oh my God, I was furious. My head was spinning. I was convinced he had been breadcrumbing me the entire time. How could I have known this man for over 40 years and he still couldn't tell me one simple thing? I remember thinking, either you love me or you don't. You can't even say it???????","And then everything went radio silent for two days. Nothing. No explanation. No reassurance. No follow-up.",'Then a few days later, in the early morning hours, I was sound asleep in my bed when that annoying text notification went off. You know when you charge your phone next to you and you were fully planning to sleep late for once? That sound. I grabbed my phone, half asleep and already irritated. And there it was: "Have you ever thought about why a chicken and a scrambled egg should be eaten together?"',`I just stared at my phone. What? No. I have literally never thought about that. What does that even mean? I didn't answer. An hour later, another text: "Pathways."`,"At this point I decided he had completely lost his mind. Because I had asked for emotional honesty, and somehow this man had responded with cryptic breakfast philosophy. I was hurt. Angry. Completely exhausted by him.","And then, hours later, it hit me."],list:["Salt and pepper","Shoes and socks","Sun and moon","Chicken and scrambled eggs"],closing:"You and me.",warning:"A note on accuracy: This column reflects a personal interpretation. The meaning described here is one possibility — not a confirmed fact. Sometimes people are just making breakfast."},{id:"bloopers",issue:"No. 13.5",tag:"Behind the Column",title:"Bloopers",deck:"A correction. Not because the writing was wrong.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/d41efa0b1_generated_image.png",warnings:["⚠️ ChatGPT can make mistakes.","⚠️ Breakfast was innocent."],content:['After publishing "Chicken and Eggs," I feel obligated to issue a correction.',"Not because the writing was wrong.","Because AI and I may have accidentally turned breakfast into a relationship theory."],closing:`Written by Patti Feinstein and ChatGPT,
195
196who would like to apologize to breakfast,
197
198for making it more complicated than it needed to be.`},{id:"ghosting-is-the-new-black",issue:"No. 12",tag:"Modern Dating",title:"Ghosting Is the New Black",deck:"Why Modern Dating Rewards Disappearing Acts and Emotional Unavailability",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/d38842b36_generated_image.png",content:[`We now live in a dating culture where people can explain attachment theory for forty-five minutes but still cannot send: "Hey, I don't think we're a match." The digital age has made it easier than ever to disappear without explanation. Ghosting has become normalized, almost expected. It's the modern breakup — one where there is no actual break, just a slow fade into silence.`,`I've had clients come to me devastated. Not because the relationship ended. Because they never found out it had. They were sitting there, waiting, checking their phone, making excuses for the silence. "He's busy." "She travels for work." "The timing is bad." And then weeks later, they finally say it out loud: he's not coming back. She stopped responding.`,"The cruelty isn't intentional in most cases. That almost makes it worse. People ghost because it's easier than a conversation. Because they don't want to see someone hurt. Because they've convinced themselves that disappearing is somehow kinder than the truth. It isn't. Silence doesn't spare anyone pain — it just transfers it entirely to the other person, plus interest.",`What I find most interesting is what ghosting reveals about the person doing it. Not their cruelty. Their fear. The inability to say "this isn't working for me" is a profou
198nd failure of emotional maturity. And yet, the culture rewards it. Apps make it easy. There are always more matches. Why have a hard conversation when you can just swipe again?`,"The people I work with are older. They've been through things. They don't have time for this. And yet they're experiencing it too — ghosted after six dates, after three months, after what felt like genuine intimacy. It's disorienting at any age. At 55, it's insulting.","My advice is always the same: don't chase the ghost. They already told you everything you need to know — not with their silence, but with their inability to show up for a simple, adult conversation. That's not the partner you want. Let them disappear."]},{id:"the-tell-all-toothbrush",issue:"No. 16",tag:"Relationships",title:"The Tell-All Toothbrush",deck:"Nothing tells the truth about a person more intimately than a toothbrush.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/a7cccddef_IMG_7037.png",content:["Nothing tells the truth about a person more intimately than a toothbrush.","An old pink electric one proudly displayed on the bathroom counter with cracked bristles so hard they could sand furniture.","Meanwhile nobody's actually brushing.","Because honestly… why bother?","When every year you can simply visit your old girlfriend the dentist for a cleaning.","Which somehow slowly turns into every nine months.","Then every six months.","Then suddenly the cavities become… convenient.","At some point the dental work starts feeling less like oral hygiene and more like unresolved feelings with fluoride.","The dentist even sends you home with a brand new toothbrush every visit.","Like a pediatrician handing out lollipops after shots.","And every single new toothbrush immediately gets thrown into the junk drawer.","Still sealed.","Unused.","Perfectly functional.","Because the old toothbrush isn't really a toothbrush anymore.","It's decor.","And honestly? Only Oral-B knows for sure."]},{id:"the-emergency-date-cleanup",issue:"No. 10",tag:"Behavior",title:"The Emergency Date Cleanup",deck:"What people do in the hours before a first date reveals more than the date itself.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/1c4c13288_image_1236502911.jpg",content:["What people do in the hours before a first date reveals more than the actual date itself. Some people clean obsessively. Others call their therapist. Some practice conversations in the mirror. These preparatory rituals tell you everything about how they approach intimacy — with anxiety, hope, or resignation.","I've started asking clients about this directly. Not because it's therapeutic, but because it's diagnostic. What did you do the morning before you met him? What were the three hours before the date like? The answers are illuminating.","One woman told me she spent the afternoon before a date reorganizing her entire kitchen. Alphabetized the spices. Relabeled the containers. The date was at a restaurant across town — the kitchen was entirely irrelevant. But the need for control before vulnerability? That's the whole story.","A man once told me he rehearsed. Wrote out five potential conversation topics on an index card. Practiced delivery in the car. He was fifty-three years old, had run a company for two decades, and he was rehearsing for dinner. Not because he wasn't confident. Because he cared.","That's the thing — the prep work usually tells you that someone is in it. The people who show up without thinking about it, who haven't given the date a second thought all day, those are often the people who won't give it a second thought after either.","The emergency cleanup, the outfit deliberation, the nervous energy channeled into some completely unrelated task — that's investment. That's hope showing up the only way it knows how, before someone arrives and possibly disappoints it.","There's something tender about it. And if I'm being honest, I'd rather work with someone who alphabetized their spices than someone who didn't think about it at all."]},{id:"still-swiping",issue:"No. 9",tag:"Modern Dating",title:"Still Swiping…",deck:"Endless Options, Exhausted People",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/15f679224_generated_image.png",content:["When did personal ads become dating apps?","At some point we stopped trying to meet people and started trying to optimize them.","Now everyone is a thumbnail, a slogan, a filtered vacation photo holding a fish or standing in front of a bathroom mirror pretending not to care while caring deeply.","The apps promised unlimited possibilities.","Instead, they created people who can't pick a restaurant.","You ever go out to dinner with someone who spends forty-five minutes reading Yelp reviews while everyone else is starving?","That's modern dating.","Nobody orders. Nobody commits. Everybody keeps staring at the menu wondering if something better is coming.","And the strange part is…people are lonelier than ever.",`Barry Schwartz called it "The Paradox of Choice" years ago. Too many options don't make people happier. They make them anxious.`,"He was talking about consumers.","But honestly, he could have been talking about Hinge.","There are perfectly nice people unable to invest in a first date because somewhere in the back of their mind is the idea that maybe the algorithm still has someone better loading.","So they keep swiping.","And swiping.","And swiping.","Meanwhile, the person they actually liked is sitting at home wondering what happened.","That's why matchmaking still works.","I don't hand people an endless catalog. I hand them a person.","And without fifty other options lined up behind the screen, something interesting happens:","People pay attention.","They show up differently.","Not because the match is perfect.","Because they're finally present."]},{id:"what-your-texting-style-says-about-you",issue:"No. 8",tag:"Modern Dating",title:"That Text You Probably Shouldn't Have Sent",deck:"But couldn't help yourself.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/f6a29c5af_generated_image.png",content:["For context, Tony works at the deli in Dallas.","This matters because several years ago, Tony sent me a text that perfectly captures what happens when people hit send before they've fully thought things through.","Tony has a unique ability to restart his emotional operating system without warning.","At 7:00 a.m., he's questioning the future of the relationship.","By 10:45, he's sent a picture of his sandwich.","By noon, he's forgotten why he was upset in the first place.","The funny part is that Tony has already moved on.","The rest of us haven't.","We're still reviewing the original conversation, analyzing the evidence, discussing feelings, and wondering whether a response is required.","Meanwhile, Tony is standing at the deli counter ordering extra onions.","It's as if his emotional operating system crashed, rebooted and installed a new update while everyone else was still reading the error message.","No explanation, no transition, no acknowledgement that Version 1.0 ever existed. Just, Tony 2.0 has loaded successfully."],midImage:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/afe9b440c_IMG_7317.png",midImageAfterIndex:1},{id:"good-thing-i-have-a-lot-of-hobbies",issue:"No. 19",tag:"Modern Dating",title:"Good thing I have a lot of hobbies",deck:"My dentist sees things other people don't.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/13f5aa004_HobbiesImage.jpg",content:["My dentist sees things other people don't. At least that's what she says.",'"I see him," she told me. The man she was describing was unemployed. "He had a difficult childhood."',"A few months later, he disappeared. She was disappointed. Not surprised. Disappointed.",'Then she met another one. "I see him." This one lived with his ex-wife. "Only temporarily."','Then another. "I see him." This one borrowed money. Then another. "I see him." This one was finding himself. Apparently, he had been finding himself for twelve years.',"I began to notice a pattern. She did not. Every bad decision came with an explanation. Every explanation came with hope. Every hope came with another bad decision.",`Then one day she announced she was changing her life. "I'm getting involved." "With what?" "Everything."`,"And she did. Golf. Boating. Walking club. Community theater. Health club. Volunteer work. Cooking classes. If there was an activity within fifty miles, she joined it.",'For years I received updates. "I met someone." Then six months later: "Never mind." Then: "I met someone." Then: "Never mind." Then: "I met someone." Then: "Definitely never mind."','The hobbies continued. The men continued. The explanations continued. "I see him." Of course she did.','Then recently she called with exciting news. "I finally figured it out." "Figured what out?" "The secret."',"I waited. After all these years, I assumed it would be something profound.",'"It was the hobbies." "The hobbies?" "Absolutely."',`She started counting. "Golf. Boating. C
198ommunity theater. Walking club. The health club." "You have to get out there," she said. "That's how you meet people."`,'I nodded. "Where did you meet him?" "Match.com." "Not golf?" "No." "Not boating?" "No." "Not community theater?" "No." "Not the walking club?" "No." "The health club?" "No." "Match.com." "Yes."','She smiled. "Good thing I have a lot of hobbies."',"WHACK!"]},{id:"the-toilet-salesman",issue:"No. 21",tag:"Matchmaking",title:"Everyone Wants The Toilet, Nobody Wants the Bill",deck:"Nobody wants to spend money. We spend money because we want an outcome.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/2c978f011_toilet.jpg",content:["No one wants to spend money. Not me. Not you. Nobody. In an ideal world, we'd all have money trees. Unfortunately, that's not how it works.","One day, a man walked into my office because he wanted to hire a matchmaker. There was just one problem. He didn't want to spend any money. Guess what he did for a living? He sold toilets. Toilets.",'After we talked for a while, he leaned back in his chair and said, "I want to think about it."',`I said, "Okay, let me ask you a question. You sell toilets, right?" "Yes." "What happens when someone's toilet breaks and they need a new one, but they want to think about it?"`,`He didn't answer. So I kept going. "Do they go next door and borrow the neighbor's toilet? Do they walk outside and pee on a tree? What exactly is the plan when you don't have a working toilet?"`,"He laughed. Because he knew where I was going.","When people need a toilet, they buy a toilet. Not because they enjoy spending money. Because they need a solution. Nobody wakes up excited to buy a toilet. They buy one because the old one doesn't work.",`Then I asked him another question. "Are you planning to borrow your neighbor's girlfriend?" He laughed again. "No." "Then what's your plan?"`,"The truth is, nobody wants to spend money. We spend money because we want an outcome. The roof keeps the rain out. The dentist saves the tooth. The plumber fixes the leak. The toilet flushes.","And sometimes people hire a matchmaker because they're tired of doing it alone. Not because they love spending money. Because they want the outcome. A relationship. A partner. A future.","The funny thing is that the toilet salesman understood this better than most people. He sold solutions all day long. He just forgot that when he sat down in my office.","Then he smiled. Pulled out his checkbook. Wrote the check. And handed it to me.","Apparently, he decided not to borrow his neighbor's girlfriend after all."]},{id:"barbie-does-dallas",issue:"No. 20",tag:"Culture",title:"Barbie Does Dallas",deck:"When in Dallas.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/9272cda76_BarbiedoesDallas.jpg",content:["The deli had its regulars.","A Jewish woman yelling at her grandchildren on the phone.","A woman knitting.","Tony mopping the floor.","The bell over the door jingled.","In walked a cowboy.","He studied the menu.",'"I have a question."',"The Jewish woman stopped talking.","The knitting needles stopped clicking.","Tony stopped mopping.","The cowboy pointed at the menu.",'"Is it legal to get a turkey sandwich with mayo?"',"The Jewish woman looked at him.","The knitter looked at him.","Tony looked at him.","The cowboy smiled.",'"I thought so."',"The Jewish woman went back to yelling at her grandchildren.","The knitting resumed.","Tony resumed mopping.","The bell over the door jingled.","In walked Barbie.","She was dressed in her finest western wear.","(When in Dallas.)","Pink hat.","Pink boots.","A hoop skirt.","Enough rhinestones to be seen from Oklahoma.","The cowboy looked her up and down.","Slowly.","A smile spread across his face.","Barbie walked to the counter.","In a terrible Southern accent, she said,",`"Ah'd lahk a grande mocha latte with extra whipped cream and caramel drizzle."`,"Silence.","Tony blinked.","The Jewish woman held up a finger.",`"Don't go anywhere. I'll call you right back."`,"The knitting woman stared.","Missed a stitch.","Poked herself in the face.",'"Ow!"',"Tony sighed.",'"Lady, this is a deli."','"Perfect."',"The cowboy grinned.",`"Hey, good lookin'."`,"Barbie turned around.",'"You wanna go for a ride on my horse?"',"The Jewish woman slowly lowered her phone.","The knitting woman put down her needles.","Tony abandoned the mop.","Barbie smiled.",`"You're so handsome."`,"The cowboy blinked.","Blushed.","Looked at the floor.","Then the ceiling.","Then Tony.","The bell over the door jingled.","Ken walked in.","Smiling that weird Ken smile.",'"Ken?" said Barbie.','"Barb."','"What are you doing here?"',"Ken smiled.",'"I heard they had good orange juice."','"In Dallas?"',"Ken nodded.","The cowboy looked at him.",`"Ain't orange juice from Florida?"`,"Ken smiled.","The cowboy stared at him.",'"Huh."',"Barbie smiled.","Ken smiled.","Barbie took Ken's hand.",'"Come on."',"Together they headed for the door.","Ken stopped.","Turned around.","Walked back to the cowboy.","Reached into his pocket.","And handed him an orange juice.","The cowboy looked at the orange juice.","Then at Ken.","Then at Barbie.","Then back at the orange juice.","Ken smiled.","Barbie smiled.","The bell over the door jingled.","They were gone.","The Jewish woman shook her head.","The knitting woman shook her head.","Tony shook her head.","The cowboy stood there holding an orange juice.",'"Huh."']},{id:"bring-me-your-list",issue:"No. 3",tag:"Matchmaking",title:"Everyone Brings a Wishlist",deck:"Nobody talks about Tuesday.",image:"https://media.base44.com/images/public/6a0dc0c087a55e4aa251c760/6fd945b6e_IMG_7258.jpg",content:`Every client brings a list. Tall, successful, funny, emotionally available. Financially secure, adventurous, family-oriented.
199
200Some are handwritten. Some arrive in spreadsheets.
201
202Then I ask a different question.
203
204Describe a Tuesday.
205
206Silence.
207
208Nobody ever has an answer.
209
210A Tuesday isn't romantic. A Tuesday is leftovers, laundry, a barking dog, and somebody asking if you've seen their reading glasses.
211
212A Tuesday is where a relationship lives.
213
214The list gets people excited. Tuesday tells me whether they'll last.`}];function Ew(){const{id:e}=f1(),t=e?Sw.find(n=>n.id===e):null;return F.useEffect(()=>{window.scrollTo(0,0)},[e]),e&&!t?x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsx("main",{className:"pt-20 pb-24 md:pt-24 md:pb-36",children:x.jsxs("div",{className:"max-w-4xl mx-auto px-6 md:px-10 text-center",children:[x.jsx("h1",{className:"font-serif font-500 text-foreground text-2xl mb-4",children:"Article not found"}),x.jsx(rt,{to:"/articles",className:"text-primary hover:text-primary/80",children:"← Back to all articles"})]})})]}):e&&t&&t.isDatingDoggyStyle?x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsxs("main",{className:"pt-20 pb-24 md:pt-24 md:pb-36",children:[x.jsx("div",{className:"max-w-4xl mx-auto px-6 md:px-10 pt-4",children:x.jsx(rt,{to:"/articles",className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground hover:text-foreground mb-8 inl
214ine-block",children:"← All Articles"})}),x.jsx(YL,{})]}),x.jsx(is,{})]}):e&&t?x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsx("main",{className:"pt-20 pb-24 md:pt-24 md:pb-36",children:x.jsxs("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:[x.jsx(rt,{to:"/articles",className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground hover:text-foreground mb-8 inline-block",children:"← All Articles"}),x.jsx(Pe.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:kw},className:"border-b border-border/60 pb-10 mb-14",children:x.jsxs("div",{className:"flex gap-6 items-start",children:[t.image&&x.jsx("img",{src:t.image,alt:t.title,className:"flex-shrink-0 block",style:{width:"120px",height:"120px",objectFit:"cover"}}),x.jsxs("div",{children:[x.jsx("h1",{className:"font-serif font-500 text-foreground leading-[1.05] mb-4",style:{fontSize:"clamp(2.2rem, 4vw, 3.6rem)"},children:t.title}),x.jsx("p",{className:"font-serif italic text-foreground/70 text-lg",children:t.deck})]})]})}),x.jsxs(Pe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:JL,transition:{duration:.9,ease:kw},className:"mb-16",children:[Array.isArray(t.content)?x.jsx("div",{className:"space-y-6",children:t.content.map((n,r)=>x.jsxs("div",{children:[x.jsx("p",{className:"font-sans font-400 text-foreground/80 text-lg leading-[1.85]",children:n}),t.midImage&&t.midImageAfterIndex===r&&x.jsx("div",{className:"mt-10 flex justify-center",children:x.jsx("img",{src:t.midImage,alt:"",className:"max-w-[280px] w-full",style:{objectFit:"contain"}})})]},r))}):x.jsx("p",{className:"font-sans font-400 text-foreground/80 text-lg leading-[1.85]",children:t.content}),t.midImage&&!t.midImageAfterIndex&&t.midImageAfterIndex!==0&&x.jsx("div",{className:"my-10 flex justify-center",children:x.jsx("img",{src:t.midImage,alt:"",className:"max-w-[280px] w-full",style:{objectFit:"contain"}})}),t.list&&x.jsx("ul",{className:"mt-6 mb-2 space-y-1 font-sans font-400 text-foreground/80 text-lg leading-[1.85] list-none pl-0",children:t.list.map((n,r)=>x.jsx("li",{children:n},r))}),t.closing&&x.jsx("div",{className:"mt-10 space-y-4",children:t.closing.split(`
215
216`).map((n,r)=>x.jsx("p",{className:"font-sans font-400 text-foreground/80 text-lg leading-[1.85]",children:n},r))}),t.warning&&x.jsxs("div",{className:"mt-10 flex gap-3 items-start border border-border/60 px-5 py-4 bg-muted/50",children:[x.jsx(A0,{className:"w-4 h-4 text-primary/80 flex-shrink-0 mt-0.5"}),x.jsx("p",{className:"font-sans text-xs text-muted-foreground/80 leading-relaxed",children:t.warning})]}),t.warnings&&x.jsx("div",{className:"mt-16 space-y-2",children:t.warnings.map((n,r)=>x.jsxs("div",{className:"flex gap-3 items-start border border-border/60 px-5 py-4 bg-muted/50",children:[x.jsx(A0,{className:"w-4 h-4 text-primary/80 flex-shrink-0 mt-0.5"}),x.jsx("p",{className:"font-sans text-xs text-muted-foreground/80 leading-relaxed",children:n})]},r))}),x.jsx(HL,{title:t.title,articleId:t.id})]})]})}),x.jsx(is,{})]}):x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsx(XL,{articles:Sw}),x.jsx(is,{})]})}const ZL=[.16,1,.3,1];function eM(){return x.jsx("section",{className:"py-16 md:py-24 border-b border-border/60",children:x.jsx("div",{className:"max-w-4xl mx-auto px-6 md:px-10",children:x.jsxs(Pe.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:ZL},children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-6",children:"An Advice Column"}),x.jsx("h1",{className:"font-serif font-500 text-foreground leading-[1.02] mb-6",style:{fontSize:"clamp(2.6rem, 6vw, 5rem)"},children:"Dear Matchmaker"}),x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-10 border-b border-border/50 pb-8",children:"By Patti Feinstein"}),x.jsx("p",{className:"font-serif italic font-400 text-foreground/75 text-lg md:text-xl leading-[1.8] max-w-2xl mb-10",children:"An ongoing advice column for the discerning single. Readers are invited to submit questions about dating, relationships, matchmaking, and the quiet complexities of navigating love later in life. Each week, a letter is answered with the discretion, honesty, and experience of a matchmaker who has spent decades inside these conversations."}),x.jsx("div",{className:"flex flex-col sm:flex-row gap-4",children:x.jsx("a",{href:"#dear-matchmaker-columns",className:"font-sans text-[11px] tracking-[0.3em] uppercase bg-primary text-primary-foreground px-8 py-4 hover:bg-primary/85 transition-colors duration-300 text-center",children:"Read the Column"})})]})})})}const tM=[.16,1,.3,1],nM={once:!0,margin:"-60px"};function rM({column:e,index:t=0}){return x.jsx(Pe.article,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:nM,transition:{duration:.6,ease:tM,delay:t*.04},className:"py-8 group",children:x.jsxs(rt,{to:`/dear-matchmaker/${e.slug}`,className:"block",children:[x.jsx("h2",{className:"font-serif font-500 text-foreground leading-[1.1] mb-3 group-hover:text-primary transition-colors duration-300",style:{fontSize:"clamp(1.3rem, 2.2vw, 1.9rem)"},children:e.title}),e.excerpt&&x.jsx("p",{className:"font-serif italic text-foreground
216/65 text-base leading-relaxed max-w-2xl mb-5",children:e.excerpt}),x.jsxs("span",{className:"inline-flex items-center gap-2 font-sans text-[10px] tracking-[0.3em] uppercase text-primary border-b border-primary/50 pb-0.5 group-hover:gap-3 transition-all duration-300",children:["Read Column",x.jsx(us,{className:"w-3.5 h-3.5"})]})]})})}const Tw=[.16,1,.3,1],Cw={once:!0,margin:"-60px"},_w=6;function iM(){const[e,t]=F.useState([]),[n,r]=F.useState(!0),[o,a]=F.useState(_w);F.useEffect(()=>{ln.entities.DearMatchmakerColumn.filter({published:!0},"-created_date",100).then(d=>{t(d),r(!1)}).catch(()=>r(!1))},[]);const l=e.slice(0,o),c=o<e.length;return x.jsx("section",{id:"dear-matchmaker-columns",className:"py-20 md:py-28 bg-background border-t border-border/50",children:x.jsxs("div",{className:"max-w-6xl mx-auto px-6 md:px-10",children:[x.jsxs(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:Cw,transition:{duration:.7,ease:Tw},className:"flex items-center gap-4 mb-12",children:[x.jsx("span",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary",children:"The Column"}),x.jsx("div",{className:"flex-1 h-px bg-border/40"}),e.length>0&&x.jsxs("span",{className:"font-sans text-[10px] tracking-[0.25em] uppercase text-muted-foreground/70",children:[e.length," ",e.length===1?"Column":"Columns"]})]}),n?x.jsx("div",{className:"py-20 flex justify-center",children:x.jsx("div",{className:"w-8 h-8 border-4 border-border/60 border-t-primary rounded-full animate-spin"})}):e.length===0?x.jsx(Pe.div,{initial:{opacity:0,y:12},whileInView:{opacity:1,y:0},viewport:Cw,transition:{duration:.7,ease:Tw},className:"py-16 text-center",children:x.jsxs("p",{className:"font-serif italic text-foreground/60 text-lg leading-relaxed max-w-md mx-auto",children:["The first Dear Matchmaker column will appear here soon. Have a question of your own? ",x.jsx("a",{href:"/#qualification-form-top",className:"text-primary border-b border-primary/50 pb-0.5 hover:gap-3 transition-all duration-300",children:"Contact us"}),"."]})}):x.jsxs(x.Fragment,{children:[x.jsx("div",{className:"divide-y divide-border/40",children:l.map((d,f)=>x.jsx(rM,{column:d,index:f},d.id))}),c&&x.jsx("div",{className:"mt-12 text-center",children:x.jsx("button",{onClick:()=>a(d=>d+_w),className:"font-sans text-[10px] tracking-[0.3em] uppercase border border-primary text-primary px-8 py-4 hover:bg-primary hover:text-primary-foreground transition-colors duration-300",children:"Load More Columns"})})]})]})})}const sM=[{key:"masthead",Component:eM},{key:"columns",Component:iM}];function oM(){return x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsxs("main",{className:"pt-20 md:pt-24",children:[sM.map(({key:e,Component:t})=>x.jsx(t,{},e)),x.jsx(is,{})]})]})}function aM(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const lM=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,uM=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,cM={};function Pw(e,t){return(cM.jsx?uM:lM).test(e)}const dM=/[ \t\n\f\r]/g;function hM(e){return typeof e=="object"?e.type==="text"?Aw(e.value):!1:Aw(e)}function Aw(e){return e.replace(dM,"")===""}class il{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}il.prototype.normal={};il.prototype.property={};il.prototype.space=void 0;function $S(e,t){const n={},r={};for(const o of e)Object.assign(n,o.property),Object.assign(r,o.normal);return new il(n,r,t)}function ip(e){return e.toLowerCase()}class dn{constructor(t,n){this.attribute=n,this.property=t}}dn.prototype.attribute="";dn.prototype.booleanish=!1;dn.prototype.boolean=!1;dn.prototype.commaOrSpaceSeparated=!1;dn.prototype.commaSeparated=!1;dn.prototype.defined=!1;dn.prototype.mustUseProperty=!1;dn.prototype.number=!1;dn.prototype.overloadedBoolean=!1;dn.prototype.property="";dn.prototype.spaceSeparated=!1;dn.prototype.space=void 0;let fM=0;const Oe=fs(),gt=fs(),sp=fs(),te=fs(),Ye=fs(),Ks=fs(),xn=fs();function fs(){return 2**++fM}const op=Object.freeze(Object.defineProperty({__proto__:null,boolean:Oe,booleanish:gt,commaOrSpaceSeparated:xn,commaSeparated:Ks,number:te,overloadedBoolean:sp,spaceSeparated:Ye},Symbol.toStringTag,{value:"Module"})),ef=Object.keys(op);class xm extends dn{constructor(t,n,r,o){let a=-1;if(super(t,n),Nw(this,"space",o),typeof r=="number")for(;++a<ef.length;){const l=ef[a];Nw(this,ef[a],(r&op[l])===op[l])}}}xm.prototype.defined=!0;function Nw(e,t,n){n&&(e[t]=n)}function vo(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const a=new xm(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[ip(r)]=r,n[ip(a.attribute)]=r}return new il(t,n,e.space)}const HS=vo({properties:{ariaActiveDescendant:null,ariaAtomic:gt,ariaAutoComplete:null,ariaBusy:gt,ariaChecked:gt,ariaColCount:te,ariaColIndex:te,ariaColSpan:te,ariaControl
vendor: 5,434 bytes, line 216
216s:Ye,ariaCurrent:null,ariaDescribedBy:Ye,ariaDetails:null,ariaDisabled:gt,ariaDropEffect:Ye,ariaErrorMessage:null,ariaExpanded:gt,ariaFlowTo:Ye,ariaGrabbed:gt,ariaHasPopup:null,ariaHidden:gt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ye,ariaLevel:te,ariaLive:null,ariaModal:gt,ariaMultiLine:gt,ariaMultiSelectable:gt,ariaOrientation:null,ariaOwns:Ye,ariaPlaceholder:null,ariaPosInSet:te,ariaPressed:gt,ariaReadOnly:gt,ariaRelevant:null,ariaRequired:gt,ariaRoleDescription:Ye,ariaRowCount:te,ariaRowIndex:te,ariaRowSpan:te,ariaSelected:gt,ariaSetSize:te,ariaSort:null,ariaValueMax:te,ariaValueMin:te,ariaValueNow:te,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function qS(e,t){return t in e?e[t]:t}function WS(e,t){return qS(e,t.toLowerCase())}const pM=vo({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ks,acceptCharset:Ye,accessKey:Ye,action:null,allow:null,allowFullScreen:Oe,allowPaymentRequest:Oe,allowUserMedia:Oe,alt:null,as:null,async:Oe,autoCapitalize:null,autoComplete:Ye,autoFocus:Oe,autoPlay:Oe,blocking:Ye,capture:null,charSet:null,checked:Oe,cite:null,className:Ye,cols:te,colSpan:null,content:null,contentEditable:gt,controls:Oe,controlsList:Ye,coords:te|Ks,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Oe,defer:Oe,dir:null,dirName:null,disabled:Oe,download:sp,draggable:gt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Oe,formTarget:null,headers:Ye,height:te,hidden:sp,high:te,href:null,hrefLang:null,htmlFor:Ye,httpEquiv:Ye,id:null,imageSizes:null,imageSrcSet:null,inert:Oe,inputMode:null,integrity:null,is:null,isMap:Oe,itemId:null,itemProp:Ye,itemRef:Ye,itemScope:Oe,itemType:Ye,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Oe,low:te,manifest:null,max:null,maxLength:te,media:null,method:null,min:null,minLength:te,multiple:Oe,muted:Oe,name:null,nonce:null,noModule:Oe,noValidate:Oe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Oe,optimum:te,pattern:null,ping:Ye,placeholder:null,playsInline:Oe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Oe,referrerPolicy:null,rel:Ye,required:Oe,reversed:Oe,rows:te,rowSpan:te,sandbox:Ye,scope:null,scoped:Oe,seamless:Oe,selected:Oe,shadowRootClonable:Oe,shadowRootDelegatesFocus:Oe,shadowRootMode:null,shape:null,size:te,sizes:null,slot:null,span:te,spellCheck:gt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:te,step:null,style:null,tabIndex:te,target:null,title:null,translate:null,type:null,typeMustMatch:Oe,useMap:null,value:gt,width:te,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ye,axis:null,background:null,bgColor:null,border:te,borderColor:null,bottomMargin:te,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Oe,declare:Oe,event:null,face:null,frame:null,frameBorder:null,hSpace:te,leftMargin:te,link:null,longDesc:null,lowSrc:null,marginHeight:te,marginWidth:te,noResize:Oe,noHref:Oe,noShade:Oe,noWrap:Oe,object:null,profile:null,prompt:null,rev:null,rightMargin:te,rules:null,scheme:null,scrolling:gt,standby:null,summary:null,text:null,topMargin:te,valueType:null,version:null,vAlign:null,vLink:null,vSpace:te,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Oe,disableRemotePlayback:Oe,prefix:null,property:null,results:te,security:null,unselectable:null},space:"html",transform:WS}),mM=vo({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
216dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:xn,accentHeight:te,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:te,amplitude:te,arabicForm:null,ascent:te,attributeName:null,attributeType:null,azimuth:te,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:te,by:null,calcMode:null,capHeight:te,className:Ye,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
216dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:te,diffuseConstant:te,direction:null,display:null,dur:null,divisor:te,dominantBaseline:null,download:Oe,dx:null,dy:null,edgeMode:null,editable:null,elevation:te,enableBackground:null,end:null,event:null,exponent:te,externalResourcesRequired:null,fill:null,fillOpacity:te,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ks,g2:Ks,glyphName:Ks,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:te,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:te,horizOriginX:te,horizOriginY:te,id:null,ideographic:te,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:te,k:te,k1:te,k2:te,k3:te,k4:te,kernelMatrix:xn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:te,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:te,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:te,overlineThickness:te,paintOrder:null,panose1:null,path:null,pathLength:te,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ye,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:te,pointsAtY:te,pointsAtZ:te,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xn,rev:xn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xn,requiredFeatures:xn,requiredFonts:xn,requiredFormats:xn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:te,specularExponent:te,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:te,strikethroughThickness:te,string:null,stroke:null,strokeDashArray:xn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:te,strokeOpacity:te,strokeWidth:null,style:null,surfaceScale:te,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xn,tabIndex:te,tableValues:null,target:null,targetX:te,targetY:te,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:te,underlineThickness:te,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:te,values:null,vAlphabetic:te,vMathematical:te,vectorEffect:null,vHanging:te,vIdeographic:te,version:null,vertAdvY:te,vertOriginX:te,vertOriginY:te,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:te,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:qS}),KS=vo({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,215 bytes, lines 216-217
216,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),QS=vo({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:WS}),GS=vo({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),gM={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},yM=/[A-Z]/g,Rw=/-[a-z]/g,vM=/^data[-\w.:]+$/i;function xM(e,t){const n=ip(t);let r=t,o=dn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&vM.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Rw,bM);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Rw.test(a)){let l=a.replace(yM,wM);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}o=xm}return new o(r,t)}function wM(e){return"-"+e.toLowerCase()}function bM(e){return e.charAt(1).toUpperCase()}const kM=$S([HS,pM,KS,QS,GS],"html"),wm=$S([HS,mM,KS,QS,GS],"svg");function SM(e){return e.join(" ").trim()}var zs={},tf,jw;function EM(){if(jw)return tf;jw=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,c=/^\s+|\s+$/g,d=`
217`,f="/",p="*",g="",v="comment",w="declaration";function C(S,b){if(typeof S!="string")throw new TypeError("First argument must be a string");if(!S)return[];b=b||{};var P=1,_=1;function R(ie){var X=ie.match(t);X&&(P+=X.length);var ye=ie.lastIndexOf(d);_=~ye?ie.length-ye:_+ie.length}function B(){var ie={line:P,column:_};return function(X){return X.position=new j(ie),Y(),X}}function j(ie){this.start=ie,this.end={line:P,column:_},this.source=b.source}j.prototype.content=S;function W(ie){var X=new Error(b.source+":"+P+":"+_+": "+ie);if(X.reason=ie,X.filename=b.source,X.line=P,X.column=_,X.source=S,!b.silent)throw X}function z(ie){var X=ie.exec(S);if(X){var ye=X[0];return R(ye),S=S.slice(ye.length),X}}function Y(){z(n)}function re(ie){var X;for(ie=ie||[];X=ee();)X!==!1&&ie.push(X);return ie}function ee(){var ie=B();if(!(f!=S.charAt(0)||p!=S.charAt(1))){for(var X=2;g!=S.charAt(X)&&(p!=S.charAt(X)||f!=S.charAt(X+1));)++X;if(X+=2,g===S.charAt(X-1))return W("End of comment missing");var ye=S.slice(2,X-2);return _+=2,R(ye),S=S.slice(X),_+=2,ie({type:v,comment:ye})}}function se(){var ie=B(),X=z(r);if(X){if(ee(),!z(o))return W("property missing ':'");var ye=z(a),le=ie({type:w,property:T(X[0].replace(e,g)),value:ye?T(ye[0].replace(e,g)):g});return z(l),le}}function he(){var ie=[];re(ie);for(var X;X=se();)X!==!1&&(ie.push(X),re(ie));return ie}return Y(),he()}function T(S){return S?S.replace(c,g):g}return tf=C,tf}var Iw;function TM(){if(Iw)return zs;Iw=1;var e=zs&&zs.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(zs,"__esModule",{value:!0}),zs.default=n;const t=e(EM());function n(r,o){let a=null;if(!r||typeof r!="string")return a;const l=(0,t.default)(r),c=typeof o=="function";return l.forEach(d=>{if(d.type!=="declaration")return;const{property:f,value:p}=d;c?o(f,p,d):p&&(a=a||{},a[f]=p)}),a}return zs}var ua={},Ow;function CM(){if(Ow)return ua;Ow=1,Object.defineProperty(ua,"__esModule",{value:!0}),ua.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(f){return!f||n.test(f)||e.test(f)},l=function(f,p){return p.toUpperCase()},c=function(f,p){return"".concat(p,"-")},d=function(f,p){return p===void 0&&(p={}),a(f)?f:(f=f.toLowerCase(),p.reactCompat?f=f.replace(o,c):f=f.replace(r,c),f.replace(t,l))};return ua.camelCase=d,ua}var ca,Dw;function _M(){if(Dw)return ca;Dw=1;var e=ca&&ca.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},t=e(TM()),n=CM();function r(o,a){var l={};return!o||typeof o!="string"||(0,t.default)(o,function(c,d){c&&d&&(l[(0,n.camel
vendor: 2,654 bytes, line 217
217Case)(c,a)]=d)}),l}return r.default=r,ca=r,ca}var PM=_M();const AM=cc(PM),YS=XS("end"),bm=XS("start");function XS(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function NM(e){const t=bm(e),n=YS(e);if(t&&n)return{start:t,end:n}}function _a(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Lw(e.position):"start"in e||"end"in e?Lw(e):"line"in e||"column"in e?ap(e):""}function ap(e){return Mw(e&&e.line)+":"+Mw(e&&e.column)}function Lw(e){return ap(e&&e.start)+"-"+ap(e&&e.end)}function Mw(e){return e&&typeof e=="number"?e:1}class qt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",a={},l=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?o=t:!a.cause&&t&&(l=!0,o=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const d=r.indexOf(":");d===-1?a.ruleId=r:(a.source=r.slice(0,d),a.ruleId=r.slice(d+1))}if(!a.place&&a.ancestors&&a.ancestors){const d=a.ancestors[a.ancestors.length-1];d&&(a.place=d.position)}const c=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=c?c.line:void 0,this.name=_a(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}qt.prototype.file="";qt.prototype.name="";qt.prototype.reason="";qt.prototype.message="";qt.prototype.stack="";qt.prototype.column=void 0;qt.prototype.line=void 0;qt.prototype.ancestors=void 0;qt.prototype.cause=void 0;qt.prototype.fatal=void 0;qt.prototype.place=void 0;qt.prototype.ruleId=void 0;qt.prototype.source=void 0;const km={}.hasOwnProperty,RM=new Map,jM=/[A-Z]/g,IM=new Set(["table","tbody","thead","tfoot","tr"]),OM=new Set(["td","th"]),JS="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function DM(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=$M(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 217
217if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=UM(n,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?wm:kM,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=ZS(o,e,void 0);return a&&typeof a!="string"?a:o.create(e,o.Fragment,{children:a||void 0},void 0)}function ZS(e,t,n){if(t.type==="element")return LM(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return MM(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return BM(e,t,n);if(t.type==="mdxjsEsm")return FM(e,t);if(t.type==="root")return zM(e,t,n);if(t.type==="text")return VM(e,t)}function LM(e,t,n){const r=e.schema;let o=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(o=wm,e.schema=o),e.ancestors.push(t);const a=tE(e,t.tagName,!1),l=HM(e,t);let c=Em(e,t);return IM.has(t.tagName)&&(c=c.filter(function(d){return typeof d=="string"?!hM(d):!0})),eE(e,l,a,t),Sm(l,c),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function MM(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}za(e,t.position)}function FM(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);za(e,t.position)}function BM(e,t,n){const r=e.schema;let o=r;t.name==="svg"&&r.space==="html"&&(o=wm,e.schema=o),e.ancestors.push(t);const a=t.name===null?e.Fragment:tE(e,t.name,!0),l=qM(e,t),c=Em(e,t);return eE(e,l,a,t),Sm(l,c),e.ancestors.pop(),e.schema=r,e.create(t,a,l,n)}function zM(e,t,n){const r={};return Sm(r,Em(e,t)),e.create(t,e.Fragment,r,n)}function VM(e,t){return t.value}function eE(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Sm(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function UM(e,t,n){return r;function r(o,a,l,c){const f=Array.isArray(l.children)?n:t;return c?f(a,l,c):f(a,l)}}function $M(e,t){return n;function n(r,o,a,l){const c=Array.isArray(a.children),d=bm(r);return t(o,a,l,c,{columnNumber:d?d.column-1:void 0,fileName:e,lineNumber:d?d.line:void 0},void 0)}}function HM(e,t){const n={};let r,o;for(o in t.properties)if(o!=="children"&&km.call(t.properties,o)){const a=WM(e,o,t.properties[o]);if(a){const[l,c]=a;e.tableCellAlignToStyle&&l==="align"&&typeof c=="string"&&OM.has(t.tagName)?r=c:n[l]=c}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function qM(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const l=a.expression;l.type;const c=l.properties[0];c.type,Object.assign(n,e.evaluater.evaluateExpression(c.argument))}else za(e,t.position);else{const o=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const c=r.value.data.estree.body[0];c.type,a=e.evaluater.evaluateExpression(c.expression)}else za(e,t.position);else a=r.value===null?!0:r.value;n[o]=a}return n}function Em(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:RM;for(;++r<t.children.length;){const a=t.children[r];let l;if(e.passKeys){const d=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(d){const f=o.get(d)||0;l=d+"-"+f,o.set(d,f+1)}}const c=ZS(e,a,l);c!==void 0&&n.push(c)}return n}function WM(e,t,n){const r=xM(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?aM(n):SM(n)),r.property==="style"){let o=typeof n=="object"?n:KM(e,String(n));return e.stylePropertyNameCase==="css"&&(o=QM(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&r.space?gM[r.property]||r.property:r.attribute,n]}}function KM(e,t){try{return AM(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,o=new qt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=JS+"#cannot-parse-style-attribute",o}}function tE(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let a=-1,l;for(;++a<o.length;){const c=Pw(o[a])?{type:"Identifier",name:o[a]}:{type:"Literal",value:o[a]};l=l?{type:"MemberExpression",object:l,property:c,computed:!!(a&&c.type==="Literal"),optional:!1}:c}r=l}else r=Pw(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const o=r.value;return km.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(r);za(e)}function za(e,t){const n=new qt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=JS+"#cannot-handle-mdx-estrees-without-createevaluater",n}function QM(e){const t={};let n;for(n in e)km.call(e,n)&&(t[GM(n)]=e[n]);return t}function GM(e){let t=e.replace(jM,YM);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function YM(e){return"-"+e.toLowerCase()}const nf={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},XM={};function JM(e,t){const n=XM,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return nE(e,r,o)}function nE(e,t,n){if(ZM(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Fw(e.children,t,n)}return Array.isArray(e)?Fw(e,t,n):""}function Fw(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=nE(e[o],t,n);return r.join("")}function ZM(e){return!!(e&&typeof e=="object")}const Bw=document.createElement("i");function Tm(e){const t="&"+e+";";Bw.innerHTML=t;const n=Bw.textContent;
vendor: 10,883 bytes, line 217
217return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function hr(e,t,n,r){const o=e.length;let a=0,l;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);a<r.length;)l=r.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function Dn(e,t){return e.length>0?(hr(e,e.length,0,t),e):t}const zw={}.hasOwnProperty;function e3(e){const t={};let n=-1;for(;++n<e.length;)t3(t,e[n]);return t}function t3(e,t){let n;for(n in t){const o=(zw.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let l;if(a)for(l in a){zw.call(o,l)||(o[l]=[]);const c=a[l];n3(o[l],Array.isArray(c)?c:c?[c]:[])}}}function n3(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);hr(e,0,0,r)}function rE(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Qs(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ar=ki(/[A-Za-z]/),wn=ki(/[\dA-Za-z]/),r3=ki(/[#-'*+\--9=?A-Z^-~]/);function lp(e){return e!==null&&(e<32||e===127)}const up=ki(/\d/),i3=ki(/[\dA-Fa-f]/),s3=ki(/[!-/:-@[-`{-~]/);function je(e){return e!==null&&e<-2}function cn(e){return e!==null&&(e<0||e===32)}function qe(e){return e===-2||e===-1||e===32}const o3=ki(new RegExp("\\p{P}|\\p{S}","u")),a3=ki(/\s/);function ki(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function xo(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const a=e.charCodeAt(n);let l="";if(a===37&&wn(e.charCodeAt(n+1))&&wn(e.charCodeAt(n+2)))o=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const c=e.charCodeAt(n+1);a<56320&&c>56319&&c<57344?(l=String.fromCharCode(a,c),o=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+o+1,l=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Xe(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(d){return qe(d)?(e.enter(n),c(d)):t(d)}function c(d){return qe(d)&&a++<o?(e.consume(d),c):(e.exit(n),t(d))}}const l3={tokenize:u3};function u3(e){const t=e.attempt(this.parser.constructs.contentInitial,r,o);let n;return t;function r(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),Xe(e,t,"linePrefix")}function o(c){return e.enter("paragraph"),a(c)}function a(c){const d=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=d),n=d,l(c)}function l(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return je(c)?(e.consume(c),e.exit("chunkText"),a):(e.consume(c),l)}}const c3={tokenize:d3},Vw={tokenize:h3};function d3(e){const t=this,n=[];let r=0,o,a,l;return c;function c(_){if(r<n.length){const R=n[r];return t.containerState=R[1],e.attempt(R[0].continuation,d,f)(_)}return f(_)}function d(_){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&P();const R=t.events.length;let B=R,j;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){j=t.events[B][1].end;break}b(r);let W=R;for(;W<t.events.length;)t.events[W][1].end={...j},W++;return hr(t.events,B+1,0,t.events.slice(R)),t.events.length=W,f(_)}return c(_)}function f(_){if(r===n.length){if(!o)return v(_);if(o.currentConstruct&&o.currentConstruct.concrete)return C(_);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Vw,p,g)(_)}function p(_){return o&&P(),b(r),v(_)}function g(_){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,C(_)}function v(_){return t.containerState={},e.attempt(Vw,w,C)(_)}function w(_){return r++,n.push([t.currentConstruct,t.containerState]),v(_)}function C(_){if(_===null){o&&P(),b(0),e.consume(_);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:a}),T(_)}function T(_){if(_===null){S(e.exit("chunkFlow"),!0),b(0),e.consume(_);return}return je(_)?(e.consume(_),S(e.exit("chunkFlow")),r=0,t.interrupt=void 0,c):(e.consume(_),T)}function S(_,R){const B=t.sliceStream(_);if(R&&B.push(null),_.previous=a,a&&(a.next=_),a=_,o.defineSkip(_.start),o.write(B),t.parser.lazy[_.start.line]){let j=o.events.length;for(;j--;)if(o.events[j][1].start.offset<l&&(!o.events[j][1].end||o.events[j][1].end.offset>l))return;const W=t.events.length;let z=W,Y,re;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(Y){re=t.events[z][1].end;break}Y=!0}for(b(r),j=W;j<t.events.length;)t.events[j][1].end={...re},j++;hr(t.events,z+1,0,t.events.slice(W)),t.events.length=j}}function b(_){let R=n.length;for(;R-- >_;){const B=n[R];t.containerState=B[1],B[0].exit.call(t,e)}n.length=_}function P(){o.write([null]),a=void 0,o=void 0,t.containerState._closeFlow=void 0}}function h3(e,t,n){return Xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Uw(e){if(e===null||cn(e)||a3(e))return 1;if(o3(e))return 2}function Cm(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const a=e[o].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const cp={name:"attention",resolveAll:f3,tokenize:p3};function f3(e,t){let n=-1,r,o,a,l,c,d,f,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;d=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const g={...e[r][1].end},v={...e[n][1].start};$w(g,-d),$w(v,d),l={type:d>1?"strongSequence":"emphasisSequence",start:g,end:{...e[r][1].end}},c={type:d>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:v},a={type:d>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},o={type:d>1?"strong":"emphasis",start:{...l.start},end:{...c.end}},e[r][1].end={...l.start},e[n][1].start={...c.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=Dn(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=Dn(f,[["enter",o,t],["enter",l,t],["exit",l,t],["enter",a,t]]),f=Dn(f,Cm(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=Dn(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,f=Dn(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,hr(e,r-1,n-r+3,f),n=r+f.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function p3(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Uw(r);let a;return l;function l(d){return a=d,e.enter("attentionSequence"),c(d)}function c(d){if(d===a)return e.consume(d),c;const f=e.exit("attentionSequence"),p=Uw(d),g=!p||p===2&&o||n.includes(d),v=!o||o===2&&p||n.includes(r);return f._open=!!(a===42?g:g&&(o||!v)),f._close=!!(a===42?v:v&&(p||!g)),t(d)}}function $w(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const m3={name:"autolink",tokenize:g3};function g3(e,t,n){let r=0;return o;function o(w){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(w),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(w){return ar(w)?(e.consume(w),l):w===64?n(w):f(w)}function l(w){return w===43||w===45||w===46||wn(w)?(r=1,c(w)):f(w)}function c(w){return w===58?(e.consume(w),r=0,d):(w===43||w===45||w===46||wn(w))&&r++<32?(e.consume(w),c):(r=0,f(w))}function d(w){return w===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(w),e.exit("autolinkMarker"),e.exit("autolink"),t):w===null||w===32||w===60||lp(w)?n(w):(e.consume(w),d)}function f(w){return w===64?(e.consume(w),p):r3(w)?(e.consume(w),f):n(w)}function p(w){return wn(w)?g(w):n(w)}function g(w){return w===46?(e.consume(w),r=0,p):w===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(w),e.exit("autolinkMarker"),e.exit("autolink"),t):v(w)}function v(w){if((w===45||wn(w))&&r++<63){const C=w===45?v:g;return e.consume(w),C}return n(w)}}const Sc={partial:!0,tokenize:y3};function y3(e,t,n){return r;function r(a){return qe(a)?Xe(e,o,"linePrefix")(a):o(a)}function o(a){return a===null||je(a)?t(a):n(a)}}const iE={continuation:{tokenize:x3},exit:w3,name:"blockQuote",tokenize:v3};function v3(e,t,n){const r=this;return o;function o(l){if(l===62){const c=r.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return n(l)}function a(l){return qe(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function x3(e,t,n){const r=this;return o;function o(l){return qe(l)?Xe(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(iE,t,n)(l)}}function w3(e){e.exit("blockQuote")}const sE={name:"characterEscape",tokenize:b3};function b3(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),o}function o(a){return s3(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const oE={name:"characterReference",tokenize:k3};function k3(e,t,n){const r=this;let o=0,a,l;return c;function c(g){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),d}function d(g){return g===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(g),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),a=31,l=wn,p(g))}function f(g){return g===88||g===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(g),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=i3,p):(e.enter("characterReferenceValue"),a=7,l=up,p(g))}function p(g){if(g===59&&o){const v=e.exit("characterReferenceValue");return l===wn&&!Tm(r.sliceSerialize(v))?n(g):(e.enter("characterReferenceMarker"),e.consume(g),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(g)&&o++<a?(e.consume(g),p):n(g)}}const Hw={partial:!0,tokenize:E3},qw={concrete:!0,name:"codeFenced",tokenize:S3};function S3(e,t,n){const r=this,o={partial:!0,tokenize:B};let a=0,l=0,c;return d;function d(j){return f(j)}function f(j){const W=r.events[r.events.length-1];return a=W&&W[1].type==="linePrefix"?W[2].sliceSerialize(W[1],!0).length:0,c=j,e.enter("co
217deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(j)}function p(j){return j===c?(l++,e.consume(j),p):l<3?n(j):(e.exit("codeFencedFenceSequence"),qe(j)?Xe(e,g,"whitespace")(j):g(j))}function g(j){return j===null||je(j)?(e.exit("codeFencedFence"),r.interrupt?t(j):e.check(Hw,T,R)(j)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),v(j))}function v(j){return j===null||je(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),g(j)):qe(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Xe(e,w,"whitespace")(j)):j===96&&j===c?n(j):(e.consume(j),v)}function w(j){return j===null||je(j)?g(j):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),C(j))}function C(j){return j===null||je(j)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(j)):j===96&&j===c?n(j):(e.consume(j),C)}function T(j){return e.attempt(o,R,S)(j)}function S(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),b}function b(j){return a>0&&qe(j)?Xe(e,P,"linePrefix",a+1)(j):P(j)}function P(j){return j===null||je(j)?e.check(Hw,T,R)(j):(e.enter("codeFlowValue"),_(j))}function _(j){return j===null||je(j)?(e.exit("codeFlowValue"),P(j)):(e.consume(j),_)}function R(j){return e.exit("codeFenced"),t(j)}function B(j,W,z){let Y=0;return re;function re(X){return j.enter("lineEnding"),j.consume(X),j.exit("lineEnding"),ee}function ee(X){return j.enter("codeFencedFence"),qe(X)?Xe(j,se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X):se(X)}function se(X){return X===c?(j.enter("codeFencedFenceSequence"),he(X)):z(X)}function he(X){return X===c?(Y++,j.consume(X),he):Y>=l?(j.exit("codeFencedFenceSequence"),qe(X)?Xe(j,ie,"whitespace")(X):ie(X)):z(X)}function ie(X){return X===null||je(X)?(j.exit("codeFencedFence"),W(X)):z(X)}}}function E3(e,t,n){const r=this;return o;function o(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const rf={name:"codeIndented",tokenize:C3},T3={partial:!0,tokenize:_3};function C3(e,t,n){const r=this;return o;function o(f){return e.enter("codeIndented"),Xe(e,a,"linePrefix",5)(f)}function a(f){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?l(f):n(f)}function l(f){return f===null?d(f):je(f)?e.attempt(T3,l,d)(f):(e.enter("codeFlowValue"),c(f))}function c(f){return f===null||je(f)?(e.exit("codeFlowValue"),l(f)):(e.consume(f),c)}function d(f){return e.exit("codeIndented"),t(f)}}function _3(e,t,n){const r=this;return o;function o(l){return r.parser.lazy[r.now().line]?n(l):je(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):Xe(e,a,"linePrefix",5)(l)}function a(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(l):je(l)?o(l):n(l)}}const P3={name:"codeText",previous:N3,resolve:A3,tokenize:R3};function A3(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)o===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(o=r):(r===t||e[r][1].type==="lineEnding")&&(e[o][1].type="codeTextData",r!==o+2&&(e[o][1].end=e[r-1][1].end,e.splice(o+2,r-o-2),t-=r-o-2,r=o+2),o=void 0);return e}function N3(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function R3(e,t,n){let r=0,o,a;return l;function l(g){return e.enter("codeText"),e.enter("codeTextSequence"),c(g)}function c(g){return g===96?(e.consume(g),r++,c):(e.exit("codeTextSequence"),d(g))}function d(g){return g===null?n(g):g===32?(e.enter("space"),e.consume(g),e.exit("space"),d):g===96?(a=e.enter("codeTextSequence"),o=0,p(g)):je(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),d):(e.enter("codeTextData"),f(g))}function f(g){return g===null||g===32||g===96||je(g)?(e.exit("codeTextData"),d(g)):(e.consume(g),f)}function p(g){return g===96?(e.consume(g),o++,p):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(g)):(a.type="codeTextData",f(g))}}class j3{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const o=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return r&&da(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),da(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),da(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);da(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);da(this.left,n.reverse())}}}function da(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function aE(e){const t={};let n=-1,r,o,a,l,c,d,f;const p=new j3(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(d=r[1]._tokenizer.events,a=0,a<d.length&&d[a][1].type==="lineEndingBlank"&&(a+=2),a<d.length&&d[a][1].type==="content"))for(;++a<d.length&&d[a][1].type!=="content";)d[a][1].type==="chunkText"&&(d[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,I3(p,n)),n=t[n],f=!0);else if(r[1]._container){for(a=n,o=void 0;a--;)if(l=p.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(o&&(p.get(o)[1].type="lineEndingBlank"),l[1].type="lineEnding",o=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;o&&(r[1].end={...p.get(o)[1].start},c=p.slice(o,n),c.unshift(r),p.splice(o,n-o+1,c))}}return hr(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!f}function I3(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const a=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const c=l.events,d=[],f={};let p,g,v=-1,w=n,C=0,T=0;const S=[T];for(;w;){for(;e.get(++o)[1]!==w;);a.push(o),w._tokenizer||(p=r.sliceStream(w),w.next||p.push(null),g&&l.defineSki
vendor: 18,632 bytes, line 217
217p(w.start),w._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(p),w._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),g=w,w=w.next}for(w=n;++v<c.length;)c[v][0]==="exit"&&c[v-1][0]==="enter"&&c[v][1].type===c[v-1][1].type&&c[v][1].start.line!==c[v][1].end.line&&(T=v+1,S.push(T),w._tokenizer=void 0,w.previous=void 0,w=w.next);for(l.events=[],w?(w._tokenizer=void 0,w.previous=void 0):S.pop(),v=S.length;v--;){const b=c.slice(S[v],S[v+1]),P=a.pop();d.push([P,P+b.length-1]),e.splice(P,2,b)}for(d.reverse(),v=-1;++v<d.length;)f[C+d[v][0]]=C+d[v][1],C+=d[v][1]-d[v][0]-1;return f}const O3={resolve:L3,tokenize:M3},D3={partial:!0,tokenize:F3};function L3(e){return aE(e),e}function M3(e,t){let n;return r;function r(c){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(c)}function o(c){return c===null?a(c):je(c)?e.check(D3,l,a)(c):(e.consume(c),o)}function a(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function l(c){return e.consume(c),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,o}}function F3(e,t,n){const r=this;return o;function o(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),Xe(e,a,"linePrefix")}function a(l){if(l===null||je(l))return n(l);const c=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function lE(e,t,n,r,o,a,l,c,d){const f=d||Number.POSITIVE_INFINITY;let p=0;return g;function g(b){return b===60?(e.enter(r),e.enter(o),e.enter(a),e.consume(b),e.exit(a),v):b===null||b===32||b===41||lp(b)?n(b):(e.enter(r),e.enter(l),e.enter(c),e.enter("chunkString",{contentType:"string"}),T(b))}function v(b){return b===62?(e.enter(a),e.consume(b),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),w(b))}function w(b){return b===62?(e.exit("chunkString"),e.exit(c),v(b)):b===null||b===60||je(b)?n(b):(e.consume(b),b===92?C:w)}function C(b){return b===60||b===62||b===92?(e.consume(b),w):w(b)}function T(b){return!p&&(b===null||b===41||cn(b))?(e.exit("chunkString"),e.exit(c),e.exit(l),e.exit(r),t(b)):p<f&&b===40?(e.consume(b),p++,T):b===41?(e.consume(b),p--,T):b===null||b===32||b===40||lp(b)?n(b):(e.consume(b),b===92?S:T)}function S(b){return b===40||b===41||b===92?(e.consume(b),T):T(b)}}function uE(e,t,n,r,o,a){const l=this;let c=0,d;return f;function f(w){return e.enter(r),e.enter(o),e.consume(w),e.exit(o),e.enter(a),p}function p(w){return c>999||w===null||w===91||w===93&&!d||w===94&&!c&&"_hiddenFootnoteSupport"in l.parser.constructs?n(w):w===93?(e.exit(a),e.enter(o),e.consume(w),e.exit(o),e.exit(r),t):je(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===null||w===91||w===93||je(w)||c++>999?(e.exit("chunkString"),p(w)):(e.consume(w),d||(d=!qe(w)),w===92?v:g)}function v(w){return w===91||w===92||w===93?(e.consume(w),c++,g):g(w)}}function cE(e,t,n,r,o,a){let l;return c;function c(v){return v===34||v===39||v===40?(e.enter(r),e.enter(o),e.consume(v),e.exit(o),l=v===40?41:v,d):n(v)}function d(v){return v===l?(e.enter(o),e.consume(v),e.exit(o),e.exit(r),t):(e.enter(a),f(v))}function f(v){return v===l?(e.exit(a),d(l)):v===null?n(v):je(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),Xe(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===l||v===null||je(v)?(e.exit("chunkString"),f(v)):(e.consume(v),v===92?g:p)}function g(v){return v===l||v===92?(e.consume(v),p):p(v)}}function Pa(e,t){let n;return r;function r(o){return je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):qe(o)?Xe(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}const B3={name:"definition",tokenize:V3},z3={partial:!0,tokenize:U3};function V3(e,t,n){const r=this;let o;return a;function a(w){return e.enter("definition"),l(w)}function l(w){return uE.call(r,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(w)}function c(w){return o=Qs(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),w===58?(e.enter("definitionMarker"),e.consume(w),e.exit("definitionMarker"),d):n(w)}function d(w){return cn(w)?Pa(e,f)(w):f(w)}function f(w){return lE(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(w)}function p(w){return e.attempt(z3,g,g)(w)}function g(w){return qe(w)?Xe(e,v,"whitespace")(w):v(w)}function v(w){return w===null||je(w)?(e.exit("definition"),r.parser.defined.push(o),t(w)):n(w)}}function U3(e,t,n){return r;function r(c){return cn(c)?Pa(e,o)(c):n(c)}function o(c){return cE(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function a(c){return qe(c)?Xe(e,l,"whitespace")(c):l(c)}function l(c){return c===null||je(c)?t(c):n(c)}}const $3={name:"hardBreakEscape",tokenize:H3};function H3(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),o}function o(a){return je(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const q3={name:"headingAtx",resolve:W3,tokenize:K3};function W3(e,t){let n=e.length-2,r=3,o,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},hr(e,r,n-r+1,[["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t]])),e}function K3(e,t,n){let r=0;return o;function o(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),l(p)}function l(p){return p===35&&r++<6?(e.consume(p),l):p===null||cn(p)?(e.exit("atxHeadingSequence"),c(p)):n(p)}function c(p){return p===35?(e.enter("atxHeadingSequence"),d(p)):p===null||je(p)?(e.exit("atxHeading"),t(p)):qe(p)?Xe(e,c,"whitespace")(p):(e.enter("atxHeadingText"),f(p))}function d(p){return p===35?(e.consume(p),d):(e.exit("atxHeadingSequence"),c(p))}function f(p){return p===null||p===35||cn(p)?(e.exit("atxHeadingText"),c(p)):(e.consume(p),f)}}const Q3=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Ww=["pre","script","style","textarea"],G3={concrete:!0,name:"htmlFlow",resolveTo:J3,tokenize:Z3},Y3={partial:!0,tokenize:t5},X3={partial:!0,tokenize:e5};function J3(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Z3(e,t,n){const r=this;let o,a,l,c,d;return f;function f(A){return p(A)}function p(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),g}function g(A){return A===33?(e.consume(A),v):A===47?(e.consume(A),a=!0,T):A===63?(e.consume(A),o=3,r.interrupt?t:E):ar(A)?(e.consume(A),l=String.fromCharCode(A),S):n(A)}function v(A){return A===45?(e.consume(A),o=2,w):A===91?(e.consume(A),o=5,c=0,C):ar(A)?(e.consume(A),o=4,r.interrupt?t:E):n(A)}function w(A){return A===45?(e.consume(A),r.interrupt?t:E):n(A)}function C(A){const we="CDATA[";return A===we.charCodeAt(c++)?(e.consume(A),c===we.length?r.interrupt?t:se:C):n(A)}function T(A){return ar(A)?(e.consume(A),l=String.fromCharCode(A),S):n(A)}function S(A){if(A===null||A===47||A===62||cn(A)){const we=A===47,be=l.toLowerCase();return!we&&!a&&Ww.includes(be)?(o=1,r.interrupt?t(A):se(A)):Q3.includes(l.toLowerCase())?(o=6,we?(e.consume(A),b):r.interrupt?t(A):se(A)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(A):a?P(A):_(A))}return A===45||wn(A)?(e.consume(A),l+=String.fromCharCode(A),S):n(A)}function b(A){return A===62?(e.consume(A),r.interrupt?t:se):n(A)}function P(A){return qe(A)?(e.consume(A),P):re(A)}function _(A){return A===47?(e.consume(A),re):A===58||A===95||ar(A)?(e.consume(A),R):qe(A)?(e.consume(A),_):re(A)}function R(A){return A===45||A===46||A===58||A===95||wn(A)?(e.consume(A),R):B(A)}function B(A){return A===61?(e.consume(A),j):qe(A)?(e.consume(A),B):_(A)}function j(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),d=A,W):qe(A)?(e.consume(A),j):z(A)}function W(A){return A===d?(e.consume(A),d=null,Y):A===null||je(A)?n(A):(e.consume(A),W)}function z(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||cn(A)?B(A):(e.consume(A),z)}function Y(A){return A===47||A===62||qe(A)?_(A):n(A)}function re(A){return A===62?(e.consume(A),ee):n(A)}function ee(A){return A===null||je(A)?se(A):qe(A)?(e.consume(A),ee):n(A)}function se(A){return A===45&&o===2?(e.consume(A),ye):A===60&&o===1?(e.consume(A),le):A===62&&o===4?(e.consume(A),O):A===63&&o===3?(e.consume(A),E):A===93&&o===5?(e.consume(A),ue):je(A)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(Y3,H,he)(A)):A===null||je(A)?(e.exit("htmlFlowData"),he(A)):(e.consume(A),se)}function he(A){return e.check(X3,ie,H)(A)}function ie(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),X}function X(A){return A===null||je(A)?he(A):(e.enter("htmlFlowData"),se(A))}function ye(A){return A===45?(e.consume(A),E):se(A)}function le(A){return A===47?(e.consume(A),l="",G):se(A)}function G(A){if(A===62){const we=l.toLowerCase();return Ww.includes(we)?(e.consume(A),O):se(A)}return ar(A)&&l.length<8?(e.consume(A),l+=String.fromCharCode(A),G):se(A)}function ue(A){return A===93?(e.consume(A),E):se(A)}function E(A){return A===62?(e.consume(A),O):A===45&&o===2?(e.consume(A),E):se(A)}function O(A){return A===null||je(A)?(e.exit("htmlFlowData"),H(A)):(e.consume(A),O)}function H(A){return e.exit("htmlFlow"),t(A)}}function e5(e,t,n){const r=this;return o;function o(l){return je(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):n(l)}function a(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function t5(e,t,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Sc,t,n)}}const n5={name:"htmlText",tokenize:r5};function r5(e,t,n){const r=this;let o,a,l;return c;function c(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),d}function d(E){return E===33?(e.consume(E),f):E===47?(e.consume(E),B):E===63?(e.consume(E),_):ar(E)?(e.consume(E),z):n(E)}function f(E){return E===45?(e.consume(E),p):E===91?(e.consume(E),a=0,C):ar(E)?(e.consume(E),P):n(E)}function p(E){return E===45?(e.consume(E),w):n(E)}function g(E){return E===null?n(E):E===45?(e.consume(E),v):je(E)?(l=g,le(E)):(e.consume(E),g)}function v(E){return E===45?(e.consume(E),w):g(E)}function w(E){return E===62?ye(E):E===45?v(E):g(E)}function C(E){const O="CDATA[";return E===O.charCodeAt(a++)?(e.consume(E),a===O.length?T:C):n(E)}function T(E){return E===null?n(E):E===93?(e.consume(E),S):je(E)?(l=T,le(E)):(e.consume(E),T)}function S(E){return E===93?(e.consume(E),b):T(E)}function b(E){return E===62?ye(E):E===93?(e.consume(E),b):T(E)}function P(E){return E===null||E===62?ye(E):je(E)?(l=P,le(E)):(e.consume(E),P)}function _(E){return E===null?n(E):E===63?(e.consume(E),R):je(E)?(l=_,le(E)):(e.consume(E),_)}function R(E){return E===62?ye(E):_(E)}function B(E){return ar(E)?(e.consume(E),j):n(E)}function j(E){return E===45||wn(E)?(e.consume(E),j):W(E)}function W(E){return je(E)?(l=W,le(E)):qe(E)?(e.consume(E),W):ye(E)}function z(E){return E===45||wn(E)?(e.consume(E),z):E===47||E===62||cn(E)?Y(E):n(E)}function Y(E){return E===47?(e.consume(E),ye):E===58||E===95||ar(E)?(e.consume(E),re):je(E)?(l=Y,le(E)):qe(E)?(e.consume(E),Y):ye(E)}function re(E){return E===45||E===46||E===58||E===95||wn(E)?(e.consume(E),re):ee(E)}function ee(E){return E===61?(e.consume(E),se):je(E)?(l=ee,le(E)):qe(E)?(e.consume(E),ee):Y(E)}function se(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),o=E,he):je(E)?(l=se,le(E)):qe(E)?(e.consume(E),se):(e.consume(E),ie)}function he(E){return E===o?(e.consume(E),o=void 0,X):E===null?n(E):je(E)?(l=he,le(E)):(e.consume(E),he)}function ie(E){return E===null||E===34||E===39||E===60||E===61||E===96?n(E):E===47||E===62||cn(E)?Y(E):(e.consume(E),ie)}function X(E){return E===47||E===62||cn(E)?Y(E):n(E)}function ye(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):n(E)}function le(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),G}function G(E){return qe(E)?Xe(e,ue,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):ue(E)}function ue(E){return e.enter("htmlTextData"),l(E)}}const _m={name:"labelEnd",resolveAll:a5,resolveTo:l5,tokenize:u5},i5={tokenize:c5},s5={tokenize:d5},o5={tokenize:h5};function a5(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const o=r.type==="labelImage"?4:2;r.type="data",t+=o}}return e.length!==n.length&&hr(e,0,e.length,n),e}function l5(e,t){let n=e.length,r=0,o,a,l,c;for(;n--;)if(o=e[n][1],a){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[n][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(a=n,o.type!=="labelLink")){r=2;break}}else o.type==="labelEnd"&&(l=n);const d={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},p={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[l-2][1].start}};return c=[["enter",d,t],["enter",f,t]],c=Dn(c,e.slice(a+1,a+r+3)),c=Dn(c,[["enter",p,t]]),c=Dn(c,Cm(t.parser.constructs.insideSpan.null,e.slice(a+r+4,l-3),t)),c=Dn(c,[["exit",p,t],e[l-2],e[l-1],["exit",f,t]]),c=Dn(c,e.slice(l+1)),c=Dn(c,[["exit",d,t]]),hr(e,a,e.length,c),e}function u5(e,t,n){const r=this;let o=r.events.length,a,l;for(;o--;)if((r.events[o][1].type==="labelImage"||r.events[o][1].type==="labelLink")&&!r.events[o][1]._balanced){a=r.events[o][1];break}return c;function c(v){return a?a._inactive?g(v):(l=r.parser.defined.includes(Qs(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(v),e.exit("labelMarker"),e.exit("labelEnd"),d):n(v)}function d(v){return v===40?e.attempt(i5,p,l?p:g)(v):v===91?e.attempt(s5,p,l?f:g)(v):l?p(v):g(v)}function f(v){return e.attempt(o5,p,g)(v)}function p(v){return t(v)}function g(v){return a._balanced=!0,n(v)}}function c5(e,t,n){return r;function r(g){return e.enter("resource"),e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),o}function o(g){return cn(g)?Pa(e,a)(g):a(g)}function a(g){return g===41?p(g):lE(e,l,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function l(g){return cn(g)?Pa(e,d)(g):p(g)}function c(g){return n(g)}function d(g){return g===34||g===39||g===40?cE(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):p(g)}function f(g){return cn(g)?Pa(e,p)(g):p(g)}function p(g){return g===41?(e.enter("resourceMarker"),e.consume(g),e.exit("resourceMarker"),e.exit("resource"),t):n(g)}}function d5(e,t,n){const r=this;return o;function o(c){return uE.call(r,e,a,l,"reference","referenceMarker","referenceString")(c)}function a(c){return r.parser.defined.includes(Qs(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function l(c){return n(c)}}function h5(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),o}function o(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const f5={name:"labelStartImage",resolveAll:_m.resolveAll,tokenize:p5};function p5(e,t,n){const r=this;return o;function o(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),a}function a(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),l):n(c)}function l(c){return c===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(c):t(c)}}const m5={name:"labelStartLink",resolveAll:_m.resolveAll,tokenize:g5};function g5(e,t,n){const r=this;return o;function o(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const sf={name:"lineEnding",tokenize:y5};function y5(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Xe(e,t,"linePrefix")}}const Qu={name:"thematicBreak",tokenize:v5};function v5(e,t,n){let r=0,o;return a;function a(f){return e.enter("thematicBreak"),l(f)}function l(f){return o=f,c(f)}function c(f){return f===o?(e.enter("thematicBreakSequence"),d(f)):r>=3&&(f===null||je(f))?(e.exit("thematicBreak"),t(f)):n(f)}function d(f){return f===o?(e.consume(f),r++,d):(e.exit("thematicBreakSequence"),qe(f)?Xe(e,c,"whitespace")(f):c(f))}}const sn={continuation:{tokenize:k5},exit:E5,name:"list",tokenize:b5},x5={partial:!0,tokenize:T5},w5={partial:!0,tokenize:S5};function b5(e,t,n){const r=this,o=r.events[r.events.length-1];let a=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,l=0;return c;function c(w){const C=r.containerState.type||(w===42||w===43||w===45?"listUnordered":"listOrdered");if(C==="listUnordered"?!r.containerState.marker||w===r.containerState.marker:up(w)){if(r.containerState.type||(r.containerState.type=C,e.enter(C,{_container:!0})),C==="listUnordered")return e.enter("listItemPrefix"),w===42||w===45?e.check(Qu,n,f)(w):f(w);if(!r.interrupt||w===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),d(w)}return n(w)}function d(w){return up(w)&&++l<10?(e.consume(w),d):(!r.interrupt||l<2)&&(r.containerState.marker?w===r.containerState.marker:w===41||w===46)?(e.exit("listItemValue"),f(w)):n(w)}function f(w){return e.enter("listItemMarker"),e.consume(w),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||w,e.check(Sc,r.interrupt?n:p,e.attempt(x5,v,g))}
vendor: 4,414 bytes, line 217
217function p(w){return r.containerState.initialBlankLine=!0,a++,v(w)}function g(w){return qe(w)?(e.enter("listItemPrefixWhitespace"),e.consume(w),e.exit("listItemPrefixWhitespace"),v):n(w)}function v(w){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(w)}}function k5(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Sc,o,a);function o(c){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Xe(e,t,"listItemIndent",r.containerState.size+1)(c)}function a(c){return r.containerState.furtherBlankLines||!qe(c)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(c)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(w5,t,l)(c))}function l(c){return r.containerState._closeFlow=!0,r.interrupt=void 0,Xe(e,e.attempt(sn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function S5(e,t,n){const r=this;return Xe(e,o,"listItemIndent",r.containerState.size+1);function o(a){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(a):n(a)}}function E5(e){e.exit(this.containerState.type)}function T5(e,t,n){const r=this;return Xe(e,o,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(a){const l=r.events[r.events.length-1];return!qe(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Kw={name:"setextUnderline",resolveTo:C5,tokenize:_5};function C5(e,t){let n=e.length,r,o,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(o=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",a?(e.splice(o,0,["enter",l,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end={...e[a][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function _5(e,t,n){const r=this;let o;return a;function a(f){let p=r.events.length,g;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){g=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||g)?(e.enter("setextHeadingLine"),o=f,l(f)):n(f)}function l(f){return e.enter("setextHeadingLineSequence"),c(f)}function c(f){return f===o?(e.consume(f),c):(e.exit("setextHeadingLineSequence"),qe(f)?Xe(e,d,"lineSuffix")(f):d(f))}function d(f){return f===null||je(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const P5={tokenize:A5};function A5(e){const t=this,n=e.attempt(Sc,r,e.attempt(this.parser.constructs.flowInitial,o,Xe(e,e.attempt(this.parser.constructs.flow,o,e.attempt(O3,o)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function o(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const N5={resolveAll:hE()},R5=dE("string"),j5=dE("text");function dE(e){return{resolveAll:hE(e==="text"?I5:void 0),tokenize:t};function t(n){const r=this,o=this.parser.constructs[e],a=n.attempt(o,l,c);return l;function l(p){return f(p)?a(p):c(p)}function c(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),d}function d(p){return f(p)?(n.exit("data"),a(p)):(n.consume(p),d)}function f(p){if(p===null)return!0;const g=o[p];let v=-1;if(g)for(;++v<g.length;){const w=g[v];if(!w.previous||w.previous.call(r,r.previous))return!0}return!1}}}function hE(e){return t;function t(n,r){let o=-1,a;for(;++o<=n.length;)a===void 0?n[o]&&n[o][1].type==="data"&&(a=o,o++):(!n[o]||n[o][1].type!=="data")&&(o!==a+2&&(n[a][1].end=n[o-1][1].end,n.splice(a+2,o-a-2),o=a+2),a=void 0);return e?e(n,r):n}}function I5(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],o=t.sliceStream(r);let a=o.length,l=-1,c=0,d;for(;a--;){const f=o[a];if(typeof f=="string"){for(l=f.length;f.charCodeAt(l-1)===32;)c++,l--;if(l)break;l=-1}else if(f===-2)d=!0,c++;else if(f!==-1){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const f={type:n===e.length||d||
vendor: 4,485 bytes, lines 217-219
217c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:r.start._bufferIndex+l,_index:r.start._index+a,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}const O5={42:sn,43:sn,45:sn,48:sn,49:sn,50:sn,51:sn,52:sn,53:sn,54:sn,55:sn,56:sn,57:sn,62:iE},D5={91:B3},L5={[-2]:rf,[-1]:rf,32:rf},M5={35:q3,42:Qu,45:[Kw,Qu],60:G3,61:Kw,95:Qu,96:qw,126:qw},F5={38:oE,92:sE},B5={[-5]:sf,[-4]:sf,[-3]:sf,33:f5,38:oE,42:cp,60:[m3,n5],91:m5,92:[$3,sE],93:_m,95:cp,96:P3},z5={null:[cp,N5]},V5={null:[42,95]},U5={null:[]},$5=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:V5,contentInitial:D5,disable:U5,document:O5,flow:M5,flowInitial:L5,insideSpan:z5,string:F5,text:B5},Symbol.toStringTag,{value:"Module"}));function H5(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},a=[];let l=[],c=[];const d={attempt:W(B),check:W(j),consume:P,enter:_,exit:R,interrupt:W(j,{interrupt:!0})},f={code:null,containerState:{},defineSkip:T,events:[],now:C,parser:e,previous:null,sliceSerialize:v,sliceStream:w,write:g};let p=t.tokenize.call(f,d);return t.resolveAll&&a.push(t),f;function g(ee){return l=Dn(l,ee),S(),l[l.length-1]!==null?[]:(z(t,0),f.events=Cm(a,f.events,f),f.events)}function v(ee,se){return W5(w(ee),se)}function w(ee){return q5(l,ee)}function C(){const{_bufferIndex:ee,_index:se,line:he,column:ie,offset:X}=r;return{_bufferIndex:ee,_index:se,line:he,column:ie,offset:X}}function T(ee){o[ee.line]=ee.column,re()}function S(){let ee;for(;r._index<l.length;){const se=l[r._index];if(typeof se=="string")for(ee=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===ee&&r._bufferIndex<se.length;)b(se.charCodeAt(r._bufferIndex));else b(se)}}function b(ee){p=p(ee)}function P(ee){je(ee)?(r.line++,r.column=1,r.offset+=ee===-3?2:1,re()):ee!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=ee}function _(ee,se){const he=se||{};return he.type=ee,he.start=C(),f.events.push(["enter",he,f]),c.push(he),he}function R(ee){const se=c.pop();return se.end=C(),f.events.push(["exit",se,f]),se}function B(ee,se){z(ee,se.from)}function j(ee,se){se.restore()}function W(ee,se){return he;function he(ie,X,ye){let le,G,ue,E;return Array.isArray(ie)?H(ie):"tokenize"in ie?H([ie]):O(ie);function O(Z){return Ce;function Ce(Ie){const ke=Ie!==null&&Z[Ie],Je=Ie!==null&&Z.null,_t=[...Array.isArray(ke)?ke:ke?[ke]:[],...Array.isArray(Je)?Je:Je?[Je]:[]];return H(_t)(Ie)}}function H(Z){return le=Z,G=0,Z.length===0?ye:A(Z[G])}function A(Z){return Ce;function Ce(Ie){return E=Y(),ue=Z,Z.partial||(f.currentConstruct=Z),Z.name&&f.parser.constructs.disable.null.includes(Z.name)?be():Z.tokenize.call(se?Object.assign(Object.create(f),se):f,d,we,be)(Ie)}}function we(Z){return ee(ue,E),X}function be(Z){return E.restore(),++G<le.length?A(le[G]):ye}}}function z(ee,se){ee.resolveAll&&!a.includes(ee)&&a.push(ee),ee.resolve&&hr(f.events,se,f.events.length-se,ee.resolve(f.events.slice(se),f)),ee.resolveTo&&(f.events=ee.resolveTo(f.events,f))}function Y(){const ee=C(),se=f.previous,he=f.currentConstruct,ie=f.events.length,X=Array.from(c);return{from:ie,restore:ye};function ye(){r=ee,f.previous=se,f.currentConstruct=he,f.events.length=ie,c=X,re()}}function re(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function q5(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;let l;if(n===o)l=[e[n].slice(r,a)];else{if(l=e.slice(n,o),r>-1){const c=l[0];typeof c=="string"?l[0]=c.slice(r):l.shift()}a>0&&l.push(e[o].slice(0,a))}return l}function W5(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const a=e[n];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
218`;break}case-3:{l=`\r
219`;break}case-2:{l=t?" ":"	";break}case-1:{if(!t&&o)continue;l=" ";break}default:l=String.fromCharCode(a)}o=a===-2,r.push(l)}return r.join("")}function K5(e){const r={constructs:e3([$5,...(e||{}).extensions||[]]),content:o(l3),defined:[],document:o(c3),flow:o(P5),lazy:{},string:o(R5),text:o(j5)};return r;function o(a){return l;function l(c){return H5(r,a,c)}}}function Q5(e){for(;!aE(e););return e}const Qw=/[\0\t\n\r]/g;function G5(){let e=1,t="",n=!0,r;return o;function o(a,l,c){const d=[];let f,p,g,v,w;
vendor: 9,880 bytes, line 219
219for(a=t+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),g=0,t="",n&&(a.charCodeAt(0)===65279&&g++,n=void 0);g<a.length;){if(Qw.lastIndex=g,f=Qw.exec(a),v=f&&f.index!==void 0?f.index:a.length,w=a.charCodeAt(v),!f){t=a.slice(g);break}if(w===10&&g===v&&r)d.push(-3),r=void 0;else switch(r&&(d.push(-5),r=void 0),g<v&&(d.push(a.slice(g,v)),e+=v-g),w){case 0:{d.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,d.push(-2);e++<p;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:r=!0,e=1}g=v+1}return c&&(r&&d.push(-5),t&&d.push(t),d.push(null)),d}}const Y5=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function X5(e){return e.replace(Y5,J5)}function J5(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),a=o===120||o===88;return rE(n.slice(a?2:1),a?16:10)}return Tm(n)||e}const fE={}.hasOwnProperty;function Z5(e,t,n){return typeof t!="string"&&(n=t,t=void 0),eF(n)(Q5(K5(n).document().write(G5()(e,t,!0))))}function eF(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Xt),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:a(Wt),blockQuote:a(Je),characterEscape:Y,characterReference:Y,codeFenced:a(_t),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(_t,l),codeText:a(xt,l),codeTextData:Y,data:Y,codeFlowValue:Y,definition:a(hn),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(Yt),hardBreakEscape:a(Ne),hardBreakTrailing:a(Ne),htmlFlow:a(pt,l),htmlFlowData:Y,htmlText:a(pt,l),htmlTextData:Y,image:a(fn),label:l,link:a(Xt),listItem:a(Yn),listItemValue:v,listOrdered:a(Mn,g),listUnordered:a(Mn),paragraph:a(Fn),reference:A,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Wt),strong:a(ol),thematicBreak:a(ll)},exit:{atxHeading:d(),atxHeadingSequence:B,autolink:d(),autolinkEmail:ke,autolinkProtocol:Ie,blockQuote:d(),characterEscapeValue:re,characterReferenceMarkerHexadecimal:be,characterReferenceMarkerNumeric:be,characterReferenceValue:Z,characterReference:Ce,codeFenced:d(S),codeFencedFence:T,codeFencedFenceInfo:w,codeFencedFenceMeta:C,codeFlowValue:re,codeIndented:d(b),codeText:d(X),codeTextData:re,data:re,definition:d(),definitionDestinationString:R,definitionLabelString:P,definitionTitleString:_,emphasis:d(),hardBreakEscape:d(se),hardBreakTrailing:d(se),htmlFlow:d(he),htmlFlowData:re,htmlText:d(ie),htmlTextData:re,image:d(le),label:ue,labelText:G,lineEnding:ee,link:d(ye),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:we,resourceDestinationString:E,resourceTitleString:O,resource:H,setextHeading:d(z),setextHeadingLineSequence:W,setextHeadingText:j,strong:d(),thematicBreak:d()}};pE(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(q){let oe={type:"root",children:[]};const Ae={stack:[oe],tokenStack:[],config:t,enter:c,exit:f,buffer:l,resume:p,data:n},Le=[];let Ve=-1;for(;++Ve<q.length;)if(q[Ve][1].type==="listOrdered"||q[Ve][1].type==="listUnordered")if(q[Ve][0]==="enter")Le.push(Ve);else{const Pt=Le.pop();Ve=o(q,Pt,Ve)}for(Ve=-1;++Ve<q.length;){const Pt=t[q[Ve][0]];fE.call(Pt,q[Ve][1].type)&&Pt[q[Ve][1].type].call(Object.assign({sliceSerialize:q[Ve][2].sliceSerialize},Ae),q[Ve][1])}if(Ae.tokenStack.length>0){const Pt=Ae.tokenStack[Ae.tokenStack.length-1];(Pt[1]||Gw).call(Ae,void 0,Pt[0])}for(oe.position={start:ti(q.length>0?q[0][1].start:{line:1,column:1,offset:0}),end:ti(q.length>0?q[q.length-2][1].end:{line:1,column:1,offset:0})},Ve=-1;++Ve<t.transforms.length;)oe=t.transforms[Ve](oe)||oe;return oe}function o(q,oe,Ae){let Le=oe-1,Ve=-1,Pt=!1,pr,Sn,jr,Si;for(;++Le<=Ae;){const At=q[Le];switch(At[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{At[0]==="enter"?Ve++:Ve--,Si=void 0;break}case"lineEndingBlank":{At[0]==="enter"&&(pr&&!Si&&!Ve&&!jr&&(jr=Le),Si=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Si=void 0}if(!Ve&&At[0]==="enter"&&At[1].type==="listItemPrefix"||Ve===-1&&At[0]==="exit"&&(At[1].type==="listUnordered"||At[1].type==="listOrdered")){if(pr){let Xn=Le;for(Sn=void 0;Xn--;){const pn=q[Xn];if(pn[1].type==="lineEnding"||pn[1].type==="lineEndingBlank"){if(pn[0]==="exit")continue;Sn&&(q[Sn][1].type="lineEndingBlank",Pt=!0),pn[1].type="lineEnding",Sn=Xn}else if(!(pn[1].type==="linePrefix"||pn[1].type==="blockQuotePrefix"||pn[1].type==="blockQuotePrefixWhitespace"||pn[1].type==="blockQuoteMarker"||pn[1].type==="listItemIndent"))break}jr&&(!Sn||jr<Sn)&&(pr._spread=!0),pr.end=Object.assign({},Sn?q[Sn][1].start:At[1].end),q.splice(Sn||Le,0,["exit",pr,At[2]]),Le++,Ae++}if(At[1].type==="listItemPrefix"){const Xn={type:"listItem",_spread:!1,start:Object.assign({},At[1].start),end:void 0};pr=Xn,q.splice(Le,0,["enter",Xn,At[2]]),Le++,Ae++,jr=void 0,Si=!0}}}return q[oe][1]._spread=Pt,Ae}function a(q,oe){return Ae;function Ae(Le){c.call(this,q(Le),Le),oe&&oe.call(this,Le)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(q,oe,Ae){this.stack[this.stack.length-1].children.push(q),this.stack.push(q),this.tokenStack.push([oe,Ae||void 0]),q.position={start:ti(oe.start),end:void 0}}function d(q){return oe;function oe(Ae){q&&q.call(this,Ae),f.call(this,Ae)}}function f(q,oe){const Ae=this.stack.pop(),Le=this.tokenStack.pop();if(Le)Le[0].type!==q.type&&(oe?oe.call(this,q,Le[0]):(Le[1]||Gw).call(this,q,Le[0]));else throw new Error("Cannot close `"+q.type+"` ("+_a({start:q.start,end:q.end})+"): it’s not open");Ae.position.end=ti(q.end)}function p(){return JM(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function v(q){if(this.data.expectingFirstListItemValue){const oe=this.stack[this.stack.length-2];oe.start=Number.parseInt(this.sliceSerialize(q),10),this.data.expectingFirstListItemValue=void 0}}function w(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.lang=q}function C(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.meta=q}function T(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function S(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q.replace(/(\r?\n|\r)$/g,"")}function P(q){const oe=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=oe,Ae.identifier=Qs(this.sliceSerialize(q)).toLowerCase()}function _(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.title=q}function R(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.url=q}function B(q){const oe=this.stack[this.stack.length-1];if(!oe.depth){const Ae=this.sliceSerialize(q).length;oe.depth=Ae}}function j(){this.data.setextHeadingSlurpLineEnding=!0}function W(q){const oe=this.stack[this.stack.length-1];oe.depth=this.sliceSerialize(q).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function Y(q){const Ae=this.stack[this.stack.length-1].children;let Le=Ae[Ae.length-1];(!Le||Le.type!=="text")&&(Le=al(),Le.position={start:ti(q.start),end:void 0},Ae.push(Le)),this.stack.push(Le)}function re(q){const oe=this.stack.pop();oe.value+=this.sliceSerialize(q),oe.position.end=ti(q.end)}function ee(q){const oe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ae=oe.children[oe.children.length-1];Ae.position.end=ti(q.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(oe.type)&&(Y.call(this,q),re.call(this,q))}function se(){this.data.atHardBreak=!0}function he(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function ie(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function X(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.value=q}function ye(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const oe=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=oe,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function le(){const q=this.stack[this.stack.length-1];if(this.data.inReference){const oe=this.data.referenceType||"shortcut";q.type+="Reference",q.referenceType=oe,delete q.url,delete q.title}else delete q.identifier,delete q.label;this.data.referenceType=void 0}function G(q){const oe=this.sliceSerialize(q),Ae=this.stack[this.stack.length-2];Ae.label=X5(oe),Ae.identifier=Qs(oe).toLowerCase()}function ue(){const q=this.stack[this.stack.length-1],oe=this.resume(),Ae=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ae.type==="link"){const Le=q.children;Ae.children=Le}else Ae.alt=oe}function E(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.url=q}function O(){const q=this.resume(),oe=this.stack[this.stack.length-1];oe.title=q}function H(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function we(q){const oe=this.resume(),Ae=this.stack[this.stack.length-1];Ae.label=oe,Ae.identifier=Qs(this.sliceSerialize(q)).toLowerCase(),this.data.referenceType="full"}function be(q){this.data.characterReferenceType=q.type}function Z(q){const oe=this.sliceSerialize(q),Ae=this.data.characterReferenceType;let Le;Ae?(Le=rE(oe,Ae==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Le=Tm(oe);const Ve=this.stack[this.stack.length-1];Ve.value+=Le}function Ce(q){const oe=this.stack.pop();oe.position.end=ti(q.end)}function Ie(q){re.call(this,q);const oe=this.stack[this.stack.length-1];oe.url=this.sliceSerialize(q)}function ke(q){re.call(this,q);const oe=this.stack[this.stack.length-1];oe.url="mailto:"+this.sliceSerialize(q)}function Je(){return{type:"blockquote",children:[]}}function _t(){return{type:"code",lang:null,meta:null,value:""}}
vendor: 5,158 bytes, lines 219-221
219function xt(){return{type:"inlineCode",value:""}}function hn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yt(){return{type:"emphasis",children:[]}}function Wt(){return{type:"heading",depth:0,children:[]}}function Ne(){return{type:"break"}}function pt(){return{type:"html",value:""}}function fn(){return{type:"image",title:null,url:"",alt:null}}function Xt(){return{type:"link",title:null,url:"",children:[]}}function Mn(q){return{type:"list",ordered:q.type==="listOrdered",start:null,spread:q._spread,children:[]}}function Yn(q){return{type:"listItem",spread:q._spread,checked:null,children:[]}}function Fn(){return{type:"paragraph",children:[]}}function ol(){return{type:"strong",children:[]}}function al(){return{type:"text",value:""}}function ll(){return{type:"thematicBreak"}}}function ti(e){return{line:e.line,column:e.column,offset:e.offset}}function pE(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?pE(e,r):tF(e,r)}}function tF(e,t){let n;for(n in t)if(fE.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Gw(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+_a({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+_a({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+_a({start:t.start,end:t.end})+") is still open")}function nF(e){const t=this;t.parser=n;function n(r){return Z5(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function rF(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function iF(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
220`}]}function sF(e,t){const n=t.value?t.value+`
221`:"",r={},o=t.lang?t.lang.split(/\s+/):[];o.length>0&&(r.className=["language-"+o[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function oF(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function aF(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lF(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=xo(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let l,c=e.footnoteCounts.get(r);c===void 0?(c=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=a+1,c+=1,e.footnoteCounts.set(r,c);const d={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,d);const f={type:"element",tagName:"sup",properties:{},children:[d]};return e.patch(t,f),e.applyData(t,f)}function uF(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function cF(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function mE(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),a=o[0];a&&a.type==="text"?a.value="["+a.value:o.unshift({type:"text",value:"["});const l=o[o.length-1];return l&&l.type==="text"?l.value+=r:o.push({type:"text",value:r}),o}function dF(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return mE(e,t);const o={src:xo(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(o.title=r.title);const a={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,a),e.applyData(t,a)}function hF(e,t){const n={src:xo(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function fF(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function pF(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return mE(e,t);const o={href:xo(r.url||"")};r.title!==null&&r.title!==void 0&&(o.title=r.title);const a={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function mF(e,t){const n={href:xo(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function gF(e,t,n){const r=e.all(t),o=n?yF(n):gE(t),a={},l=[];
vendor: 3,082 bytes, lines 221-223
221if(typeof t.checked=="boolean"){const p=r[0];let g;p&&p.type==="element"&&p.tagName==="p"?g=p:(g={type:"element",tagName:"p",properties:{},children:[]},r.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let c=-1;for(;++c<r.length;){const p=r[c];(o||c!==0||p.type!=="element"||p.tagName!=="p")&&l.push({type:"text",value:`
222`}),p.type==="element"&&p.tagName==="p"&&!o?l.push(...p.children):l.push(p)}const d=r[r.length-1];d&&(o||d.type!=="element"||d.tagName!=="p")&&l.push({type:"text",value:`
223`});const f={type:"element",tagName:"li",properties:a,children:l};return e.patch(t,f),e.applyData(t,f)}function yF(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=gE(n[r])}return t}function gE(e){const t=e.spread;return t??e.children.length>1}function vF(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<r.length;){const l=r[o];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function xF(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wF(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function bF(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kF(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),o.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},c=bm(t.children[1]),d=YS(t.children[t.children.length-1]);c&&d&&(l.position={start:c,end:d}),o.push(l)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)}function SF(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,c=l?l.length:t.children.length;let d=-1;const f=[];for(;++d<c;){const g=t.children[d],v={},w=l?l[d]:void 0;w&&(v.align=w);let C={type:"element",tagName:a,properties:v,children:[]};g&&(C.children=e.all(g),e.patch(g,C),C=e.applyData(g,C)),f.push(C)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,p),e.applyData(t,p)}function EF(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Yw=9,Xw=32;function TF(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const a=[];for(;r;)a.push(Jw(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(Jw(t.slice(o),o>0,!1)),a.join("")}
vendor: 5,210 bytes, line 223
223function Jw(e,t,n){let r=0,o=e.length;if(t){let a=e.codePointAt(r);for(;a===Yw||a===Xw;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(o-1);for(;a===Yw||a===Xw;)o--,a=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function CF(e,t){const n={type:"text",value:TF(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function _F(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const PF={blockquote:rF,break:iF,code:sF,delete:oF,emphasis:aF,footnoteReference:lF,heading:uF,html:cF,imageReference:dF,image:hF,inlineCode:fF,linkReference:pF,link:mF,listItem:gF,list:vF,paragraph:xF,root:wF,strong:bF,table:kF,tableCell:EF,tableRow:SF,text:CF,thematicBreak:_F,toml:Iu,yaml:Iu,definition:Iu,footnoteDefinition:Iu};function Iu(){}const yE=-1,Ec=0,Aa=1,lc=2,Pm=3,Am=4,Nm=5,Rm=6,vE=7,xE=8,Zw=typeof self=="object"?self:globalThis,AF=(e,t)=>{const n=(o,a)=>(e.set(a,o),o),r=o=>{if(e.has(o))return e.get(o);const[a,l]=t[o];switch(a){case Ec:case yE:return n(l,o);case Aa:{const c=n([],o);for(const d of l)c.push(r(d));return c}case lc:{const c=n({},o);for(const[d,f]of l)c[r(d)]=r(f);return c}case Pm:return n(new Date(l),o);case Am:{const{source:c,flags:d}=l;return n(new RegExp(c,d),o)}case Nm:{const c=n(new Map,o);for(const[d,f]of l)c.set(r(d),r(f));return c}case Rm:{const c=n(new Set,o);for(const d of l)c.add(r(d));return c}case vE:{const{name:c,message:d}=l;return n(new Zw[c](d),o)}case xE:return n(BigInt(l),o);case"BigInt":return n(Object(BigInt(l)),o);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:c}=new Uint8Array(l);return n(new DataView(c),l)}}return n(new Zw[a](l),o)};return r},eb=e=>AF(new Map,e)(0),Vs="",{toString:NF}={},{keys:RF}=Object,ha=e=>{const t=typeof e;if(t!=="object"||!e)return[Ec,t];const n=NF.call(e).slice(8,-1);switch(n){case"Array":return[Aa,Vs];case"Object":return[lc,Vs];case"Date":return[Pm,Vs];case"RegExp":return[Am,Vs];case"Map":return[Nm,Vs];case"Set":return[Rm,Vs];case"DataView":return[Aa,n]}return n.includes("Array")?[Aa,n]:n.includes("Error")?[vE,n]:[lc,n]},Ou=([e,t])=>e===Ec&&(t==="function"||t==="symbol"),jF=(e,t,n,r)=>{const o=(l,c)=>{const d=r.push(l)-1;return n.set(c,d),d},a=l=>{if(n.has(l))return n.get(l);let[c,d]=ha(l);switch(c){case Ec:{let p=l;switch(d){case"bigint":c=xE,p=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+d);p=null;break;case"undefined":return o([yE],l)}return o([c,p],l)}case Aa:{if(d){let v=l;return d==="DataView"?v=new Uint8Array(l.buffer):d==="ArrayBuffer"&&(v=new Uint8Array(l)),o([d,[...v]],l)}const p=[],g=o([c,p],l);for(const v of l)p.push(a(v));return g}case lc:{if(d)switch(d){case"BigInt":return o([d,l.toString()],l);case"Boolean":case"Number":case"String":return o([d,l.valueOf()],l)}if(t&&"toJSON"in l)return a(l.toJSON());const p=[],g=o([c,p],l);for(const v of RF(l))(e||!Ou(ha(l[v])))&&p.push([a(v),a(l[v])]);return g}case Pm:return o([c,l.toISOString()],l);case Am:{const{source:p,flags:g}=l;return o([c,{source:p,flags:g}],l)}case Nm:{const p=[],g=o([c,p],l);for(const[v,w]of l)(e||!(Ou(ha(v))||Ou(ha(w))))&&p.push([a(v),a(w)]);return g}case Rm:{const p=[],g=o([c,p],l);for(const v of l)(e||!Ou(ha(v)))&&p.push(a(v));return g}}const{message:f}=l;return o([c,{name:d,message:f}],l)};return a},tb=(e,{json:t,lossy:n}={})=>{const r=[];return jF(!(t||n),!!t,new Map,r)(e),r},uc=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?eb(tb(e,t)):structuredClone(e):(e,t)=>eb(tb(e,t));function IF(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function OF(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function DF(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||IF,r=e.options.footnoteBackLabel||OF,o=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let d=-1;for(;++d<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[d]);if(!f)continue;const p=e.all(f),g=String(f.identifier).toUpperCase(),v=xo(g.toLowerCase());let w=0;const C=[],T=e.footnoteCounts.get(g);for(;T!==void 0&&++w<=T;){C.length>0&&C.push({type:"text",value:" "});let P=typeof n=="string"?n:n(d,w);typeof P=="string"&&(P={type:"text",value:P}),C.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+v+(w>1?"-"+w:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(d,w),className:["data-footnote-backref"]},children:Array.isArray(P)?P:[P]})}const S=p[p.length-1];if(S&&S.type==="element"&&S.tagName==="p"){const P=S.children[S.children.length-1];P&&P.type==="text"?P.value+=" ":S.children.push({type:"text",value:" "}),S.children.push(...C)}else p.push(...C);const b={type:"element",tagName:"li",properties:{id:t+"fn-"+v},children:e.wrap(p,!0)};e.patch(f,b),c.push(b)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...uc(l),id:"footnote-label"},children:[{type:"text",value:o}]}
vendor: 4,318 bytes, lines 223-229
223,{type:"text",value:`
224`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
225`}]}}const wE=(function(e){if(e==null)return BF;if(typeof e=="function")return Tc(e);if(typeof e=="object")return Array.isArray(e)?LF(e):MF(e);if(typeof e=="string")return FF(e);throw new Error("Expected function, string, or object as test")});function LF(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=wE(e[n]);return Tc(r);function r(...o){let a=-1;for(;++a<t.length;)if(t[a].apply(this,o))return!0;return!1}}function MF(e){const t=e;return Tc(n);function n(r){const o=r;let a;for(a in e)if(o[a]!==t[a])return!1;return!0}}function FF(e){return Tc(t);function t(n){return n&&n.type===e}}function Tc(e){return t;function t(n,r,o){return!!(zF(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function BF(){return!0}function zF(e){return e!==null&&typeof e=="object"&&"type"in e}const bE=[],VF=!0,nb=!1,UF="skip";function $F(e,t,n,r){let o;typeof t=="function"&&typeof n!="function"?(r=n,n=t):o=t;const a=wE(o),l=r?-1:1;c(e,void 0,[])();function c(d,f,p){const g=d&&typeof d=="object"?d:{};if(typeof g.type=="string"){const w=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(d.type+(w?"<"+w+">":""))+")"})}return v;function v(){let w=bE,C,T,S;if((!t||a(d,f,p[p.length-1]||void 0))&&(w=HF(n(d,p)),w[0]===nb))return w;if("children"in d&&d.children){const b=d;if(b.children&&w[0]!==UF)for(T=(r?b.children.length:-1)+l,S=p.concat(b);T>-1&&T<b.children.length;){const P=b.children[T];if(C=c(P,T,S)(),C[0]===nb)return C;T=typeof C[1]=="number"?C[1]:T+l}}return w}}}function HF(e){return Array.isArray(e)?e:typeof e=="number"?[VF,e]:e==null?bE:[e]}function kE(e,t,n,r){let o,a,l;typeof t=="function"&&typeof n!="function"?(a=void 0,l=t,o=n):(a=t,l=n,o=r),$F(e,a,c,o);function c(d,f){const p=f[f.length-1],g=p?p.children.indexOf(d):void 0;return l(d,g,p)}}const dp={}.hasOwnProperty,qF={};function WF(e,t){const n=t||qF,r=new Map,o=new Map,a=new Map,l={...PF,...n.handlers},c={all:f,applyData:QF,definitionById:r,footnoteById:o,footnoteCounts:a,footnoteOrder:[],handlers:l,one:d,options:n,patch:KF,wrap:YF};return kE(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const g=p.type==="definition"?r:o,v=String(p.identifier).toUpperCase();g.has(v)||g.set(v,p)}}),c;function d(p,g){const v=p.type,w=c.handlers[v];if(dp.call(c.handlers,v)&&w)return w(c,p,g);if(c.options.passThrough&&c.options.passThrough.includes(v)){if("children"in p){const{children:T,...S}=p,b=uc(S);return b.children=c.all(p),b}return uc(p)}return(c.options.unknownHandler||GF)(c,p,g)}function f(p){const g=[];if("children"in p){const v=p.children;let w=-1;for(;++w<v.length;){const C=c.one(v[w],p);if(C){if(w&&v[w-1].type==="break"&&(!Array.isArray(C)&&C.type==="text"&&(C.value=rb(C.value)),!Array.isArray(C)&&C.type==="element")){const T=C.children[0];T&&T.type==="text"&&(T.value=rb(T.value))}Array.isArray(C)?g.push(...C):g.push(C)}}}return g}}function KF(e,t){e.position&&(t.position=NM(e))}function QF(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,a=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&a&&Object.assign(n.properties,uc(a)),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function GF(e,t){const n=t.data||{},r="value"in t&&!(dp.call(n,"hProperties")||dp.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function YF(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
226`});++r<e.length;)r&&n.push({type:"text",value:`
227`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
228`}),n}function rb(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function ib(e,t){const n=WF(e,t),r=n.one(e,void 0),o=DF(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&a.children.push({type:"text",value:`
229`},o),a}function XF(e,t){return e&&"run"in e?async function(n,r){const o=ib(n,{file:r,...t});await e.run(o,r)}:function(n,r){return ib(n,{file:r,...e||t})}}
vendor: 9,203 bytes, line 229
229function sb(e){if(e)throw e}var of,ob;function JF(){if(ob)return of;ob=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},a=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var p=e.call(f,"constructor"),g=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!p&&!g)return!1;var v;for(v in f);return typeof v>"u"||e.call(f,v)},l=function(f,p){n&&p.name==="__proto__"?n(f,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):f[p.name]=p.newValue},c=function(f,p){if(p==="__proto__")if(e.call(f,p)){if(r)return r(f,p).value}else return;return f[p]};return of=function d(){var f,p,g,v,w,C,T=arguments[0],S=1,b=arguments.length,P=!1;for(typeof T=="boolean"&&(P=T,T=arguments[1]||{},S=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});S<b;++S)if(f=arguments[S],f!=null)for(p in f)g=c(T,p),v=c(f,p),T!==v&&(P&&v&&(a(v)||(w=o(v)))?(w?(w=!1,C=g&&o(g)?g:[]):C=g&&a(g)?g:{},l(T,{name:p,newValue:d(P,C,v)})):typeof v<"u"&&l(T,{name:p,newValue:v}));return T},of}var ZF=JF();const af=cc(ZF);function hp(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function e6(){const e=[],t={run:n,use:r};return t;function n(...o){let a=-1;const l=o.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);c(null,...o);function c(d,...f){const p=e[++a];let g=-1;if(d){l(d);return}for(;++g<o.length;)(f[g]===null||f[g]===void 0)&&(f[g]=o[g]);o=f,p?t6(p,c)(...f):l(null,...f)}}function r(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function t6(e,t){let n;return r;function r(...l){const c=e.length>l.length;let d;c&&l.push(o);try{d=e.apply(this,l)}catch(f){const p=f;if(c&&n)throw p;return o(p)}c||(d&&d.then&&typeof d.then=="function"?d.then(a,o):d instanceof Error?o(d):a(d))}function o(l,...c){n||(n=!0,t(l,...c))}function a(l){o(null,l)}}const rr={basename:n6,dirname:r6,extname:i6,join:s6,sep:"/"};function n6(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');sl(e);let n=0,r=-1,o=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(a){n=o+1;break}}else r<0&&(a=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,c=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(a){n=o+1;break}}else l<0&&(a=!0,l=o+1),c>-1&&(e.codePointAt(o)===t.codePointAt(c--)?c<0&&(r=o):(c=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function r6(e){if(sl(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function i6(e){sl(e);let t=e.length,n=-1,r=0,o=-1,a=0,l;for(;t--;){const c=e.codePointAt(t);if(c===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),c===46?o<0?o=t:a!==1&&(a=1):o>-1&&(a=-1)}return o<0||n<0||a===0||a===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function s6(...e){let t=-1,n;for(;++t<e.length;)sl(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":o6(n)}function o6(e){sl(e);const t=e.codePointAt(0)===47;let n=a6(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function a6(e,t){let n="",r=0,o=-1,a=0,l=-1,c,d;for(;++l<=e.length;){if(l<e.length)c=e.codePointAt(l);else{if(c===47)break;c=47}if(c===47){if(!(o===l-1||a===1))if(o!==l-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(d=n.lastIndexOf("/"),d!==n.length-1){d<0?(n="",r=0):(n=n.slice(0,d),r=n.length-1-n.lastIndexOf("/")),o=l,a=0;continue}}else if(n.length>0){n="",r=0,o=l,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,l):n=e.slice(o+1,l),r=l-o-1;o=l,a=0}else c===46&&a>-1?a++:a=-1}return n}function sl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const l6={cwd:u6};function u6(){return"/"}function fp(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function c6(e){if(typeof e=="string")e=new URL(e);else if(!fp(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return d6(e)}function d6(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const lf=["history","path","basename","stem","extname","dirname"];class SE{constructor(t){let n;t?fp(t)?n={path:t}:typeof t=="string"||h6(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":l6.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<lf.length;){const a=lf[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let o;for(o in n)lf.includes(o)||(this[o]=n[o])}get basename(){return typeof this.path=="string"?rr.basename(this.path):void 0}set basename(t){cf(t,"basename"),uf(t,"basename"),this.path=rr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?rr.dirname(this.path):void 0}set dirname(t){ab(this.basename,"dirname"),this.path=rr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?rr.extname(this.path):void 0}set extname(t){if(uf(t,"extname"),ab(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=rr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){fp(t)&&(t=c6(t)),cf(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?rr.basename(this.path,this.extname):void 0}set stem(t){cf(t,"stem"),uf(t,"stem"),this.path=rr.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const o=this.message(t,n,r);throw o.fatal=!0,o}info(t,n,r){const o=this.message(t,n,r);return o.fatal=void 0,o}message(t,n,r){const o=new qt(t,n,r);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function uf(e,t){if(e&&e.includes(rr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+rr.sep+"`")}function cf(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ab(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function h6(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const f6=(function(e){const r=this.constructor.prototype,o=r[e],a=function(){return o.apply(a,arguments)};return Object.setPrototypeOf(a,r),a}),p6={}.hasOwnProperty;class jm extends f6{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=e6()}copy(){const t=new jm;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(af(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(ff("data",this.frozen),this.namespace[t]=n,this):p6.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ff("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const o=n.call(t,...r);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Du(t),r=this.parser||this.Parser;return df("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),df("process",this.parser||this.Parser),hf("process",this.compiler||this.Compiler),n?o(void 0,n):new Promise(o);function o(a,l){const c=Du(t),d=r.parse(c);r.run(d,c,function(p,g,v){if(p||!g||!v)return f(p);const w=g,C=r.stringify(w,v);y6(C)?v.value=C:v.result=C,f(p,v)});function f(p,g){p||!g?l(p):a?a(g):n(void 0,g)}}}processSync(t){let n=!1,r;return this.freeze(),df("processSync",this.parser||this.Parser),hf("processSync",this.compiler||this.Compiler),this.process(t,o),ub("processSync","process",n),r;function o(a,l){n=!0,sb(a),r=l}}
vendor: 4,122 bytes, line 229
229run(t,n,r){lb(t),this.freeze();const o=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(l,c){const d=Du(n);o.run(t,d,f);function f(p,g,v){const w=g||t;p?c(p):l?l(w):r(void 0,w,v)}}}runSync(t,n){let r=!1,o;return this.run(t,n,a),ub("runSync","run",r),o;function a(l,c){sb(l),o=c,r=!0}}stringify(t,n){this.freeze();const r=Du(n),o=this.compiler||this.Compiler;return hf("stringify",o),lb(t),o(t,r)}use(t,...n){const r=this.attachers,o=this.namespace;if(ff("use",this.frozen),t!=null)if(typeof t=="function")d(t,n);else if(typeof t=="object")Array.isArray(t)?c(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(f){if(typeof f=="function")d(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[p,...g]=f;d(p,g)}else l(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function l(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");c(f.plugins),f.settings&&(o.settings=af(!0,o.settings,f.settings))}function c(f){let p=-1;if(f!=null)if(Array.isArray(f))for(;++p<f.length;){const g=f[p];a(g)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function d(f,p){let g=-1,v=-1;for(;++g<r.length;)if(r[g][0]===f){v=g;break}if(v===-1)r.push([f,...p]);else if(p.length>0){let[w,...C]=p;const T=r[v][1];hp(T)&&hp(w)&&(w=af(!0,T,w)),r[v]=[f,w,...C]}}}}const m6=new jm().freeze();function df(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function hf(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ff(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function lb(e){if(!hp(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ub(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Du(e){return g6(e)?e:new SE(e)}function g6(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function y6(e){return typeof e=="string"||v6(e)}function v6(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const x6="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",cb=[],db={allowDangerousHtml:!0},w6=/^(https?|ircs?|mailto|xmpp)$/i,b6=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function k6(e){const t=S6(e),n=E6(e);return T6(t.runSync(t.parse(n),n),e)}function S6(e){const t=e.rehypePlugins||cb,n=e.remarkPlugins||cb,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...db}:db;return m6().use(nF).use(n).use(XF,r).use(t)}function E6(e){const t=e.children||"",n=new SE;return typeof t=="string"&&(n.value=t),n}function T6(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,a=t.disallowedElements,l=t.skipHtml,c=t.unwrapDisallowed,d=t.urlTransform||
229C6;for(const p of b6)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+x6+p.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),kE(e,f),DM(e,{Fragment:x.Fragment,components:o,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function f(p,g,v){if(p.type==="raw"&&v&&typeof g=="number")return l?v.children.splice(g,1):v.children[g]={type:"text",value:p.value},g;if(p.type==="element"){let w;for(w in nf)if(Object.hasOwn(nf,w)&&Object.hasOwn(p.properties,w)){const C=p.properties[w],T=nf[w];(T===null||T.includes(p.tagName))&&(p.properties[w]=d(String(C||""),w,p))}}if(p.type==="element"){let w=n?!n.includes(p.tagName):a?a.includes(p.tagName):!1;if(!w&&r&&typeof g=="number"&&(w=!r(p,g,v)),w&&v&&typeof g=="number")return c&&p.children?v.children.splice(g,1,...p.children):v.children.splice(g,1),g}}}function C6(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t===-1||o!==-1&&t>o||n!==-1&&t>n||r!==-1&&t>r||w6.test(e.slice(0,t))?e:""}function _6({prevColumn:e,nextColumn:t}){return!e&&!t?null:x.jsx("nav",{className:"max-w-3xl mx-auto px-6 md:px-10 mt-16 pt-10 border-t border-border/60",children:x.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[e&&x.jsxs(rt,{to:`/dear-matchmaker/${e.slug}`,className:"group block",children:[x.jsxs("span",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground/80 mb-2 flex items-center gap-2",children:[x.jsx(_b,{className:"w-3.5 h-3.5"}),"Previous Column"]}),x.jsx("span",{className:"font-serif italic text-foreground/80 group-hover:text-primary transition-colors duration-300 block",children:e.title})]}),t&&x.jsxs(rt,{to:`/dear-matchmaker/${t.slug}`,className:"group block md:text-right",children:[x.jsxs("span",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground/80 mb-2 flex items-center gap-2 md:justify-end",children:["Next Column",x.jsx(us,{className:"w-3.5 h-3.5"})]}),x.jsx("span",{className:"font-serif italic text-foreground/80 group-hover:text-primary transition-colors duration-300 block",children:t.title})]})]})})}const fa=[.16,1,.3,1];function P6(){const{slug:e}=f1(),[t,n]=F.useState(null),[r,o]=F.useState([]),[a,l]=F.useState(!0),[c,d]=F.useState(!1);F.useEffect(()=>{l(!0),d(!1),n(null),ln.entities.DearMatchmakerColumn.filter({published:!0},"-created_date",100).then(v=>{o(v);const w=v.find(C=>C.slug===e);w?n(w):d(!0),l(!1)}).catch(()=>{d(!0),l(!1)})},[e]),F.useEffect(()=>{if(!t)return;document.title=`${t.title} | America's Dating Coach`;const v=(P,_,R)=>{let B=document.querySelector(`meta[${P}="${_}"]`);B||(B=document.createElement("meta"),B.setAttribute(P,_),document.head.appendChild(B)),B.setAttribute("content",R)},w=t.excerpt||t.title,C=window.location.href;v("name","description",w),v("property","og:title",t.title),v("property","og:description",w),v("property","og:type","article"),v("property","og:url",C);let T=document.querySelector('link[rel="canonical"]');T||(T=document.createElement("link"),T.rel="canonical",document.head.appendChild(T)),T.href=C;const S={"@context":"https://schema.org","@type":"Article",headline:t.title,description:w,author:{"@type":"Person",name:"Patti Feinstein",url:`${window.location.origin}/about`},publisher:{"@type":"Organization",name:"America's Dating Coach",url:window.location.origin},mainEntityOfPage:{"@type":"WebPage","@url":C},articleSection:"Dear Matchmaker"};let b=document.querySelector('script[type="application/ld+json"][data-article-schema]');return b||(b=document.createElement("script"),b.type="application/ld+json",b.setAttribute("data-article-schema","true"),document.head.appendChild(b)),b.textContent=JSON.stringify(S),()=>{const P=document.querySelector('script[type="application/ld+json"][data-article-schema]');P&&P.remove()}},[t]);const f=r.findIndex(v=>v.slug===e),p=f>=0&&f<r.length-1?r[f+1]:null,g=f>0?r[f-1]:null;return a?x.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:x.jsx("div",{className:"w-8 h-8 border-4 border-border/60 border-t-primary rounded-full animate-spin"})}):c?x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsxs("main",{className:"pt-32 pb-24 max-w-2xl mx-auto px-6 md:px-10 text-center",children:[x.jsx("h1",{className:"font-serif font-500 text-foreground mb-6",style:{fontSize:"clamp(2rem, 4vw, 3rem)"},children:"Column not found"}),x.jsx(rt,{to:"/dear-matchmaker",className:"font-sans text-[10px] tracking-[0.3em] uppercase text-primary border-b border-primary/50 pb-0.5",children:"Return to Dear Matchmaker"})]})]}):x.jsxs("div",{className:"min-h-screen bg-background",children:[x.jsx(Pr,{}),x.jsxs("main",{className:"pt-20 md:pt-24 pb-24",children:[x.jsxs("article",{className:"max-w-3xl mx-auto px-6 md:px-10",children:[x.jsx(Pe.div,{initial:{opacity:0}
229,animate:{opacity:1},transition:{duration:.6,ease:fa},className:"pt-8 mb-10",children:x.jsxs(rt,{to:"/dear-matchmaker",className:"inline-flex items-center gap-2 font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground hover:text-primary transition-colors duration-300",children:[x.jsx(_b,{className:"w-3.5 h-3.5"}),"Back to Dear Matchmaker"]})}),x.jsxs(Pe.header,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:fa},className:"border-b border-border/60 pb-10 mb-12",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.4em] uppercase text-primary mb-6",children:t.issue_number?`Issue No. ${t.issue_number}`:"Dear Matchmaker"}),x.jsx("h1",{className:"font-serif font-500 text-foreground leading-[1.05] mb-8",style:{fontSize:"clamp(2rem, 4.5vw, 3.4rem)"},children:t.title}),x.jsx("p",{className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground",children:"By Patti Feinstein"})]}),x.jsxs(Pe.section,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:fa,delay:.1},className:"mb-14",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary mb-4",children:"Dear Matchmaker,"}),x.jsx("blockquote",{className:"border-l-4 border-primary pl-6 py-1",children:x.jsx("p",{className:"font-serif italic font-400 text-foreground/80 leading-[1.7]",style:{fontSize:"clamp(1.15rem, 2vw, 1.5rem)"},children:t.question})}),x.jsxs("p",{className:"font-serif italic text-foreground/65 text-sm mt-5",children:["— Signed, ",t.question_signature||"[NAME OR INITIALS]",t.question_city?`, ${t.question_city}`:""]})]}),x.jsx(Pe.section,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.9,ease:fa,delay:.15},className:"font-serif font-400 text-foreground/85 leading-[1.85] text-lg md:text-xl",children:x.jsx(k6,{components:{p:({children:v})=>x.jsx("p",{className:"mb-6",children:v}),h2:({children:v})=>x.jsx("h2",{className:"font-serif font-500 text-foreground mt-10 mb-4",style:{fontSize:"clamp(1.4rem, 2.5vw, 1.9rem)"},children:v}),h3:({children:v})=>x.jsx("h3",{className:"font-serif font-500 text-foreground mt-8 mb-3",style:{fontSize:"clamp(1.2rem, 2vw, 1.5rem)"},children:v}),blockquote:({children:v})=>x.jsx("blockquote",{className:"border-l-4 border-primary/50 pl-6 my-6 italic text-foreground/70",children:v}),strong:({children:v})=>x.jsx("strong",{className:"font-500 text-foreground",children:v}),em:({children:v})=>x.jsx("em",{className:"italic",children:v}),ul:({children:v})=>x.jsx("ul",{className:"list-none space-y-3 mb-6",children:v}),ol:({children:v})=>x.jsx("ol",{className:"list-decimal list-inside space-y-3 mb-6",children:v}),li:({children:v})=>x.jsx("li",{className:"leading-relaxed",children:v}),a:({children:v,href:w})=>x.jsx("a",{href:w,className:"text-primary underline underline-offset-4 hover:text-primary/70 transition-colors",children:v})},children:t.answer})})]}),x.jsxs(Pe.section,{initial:{opacity:0}
229,animate:{opacity:1},transition:{duration:.6,ease:fa,delay:.2},className:"max-w-3xl mx-auto px-6 md:px-10 mt-16 pt-10 border-t border-border/60",children:[x.jsx("p",{className:"font-sans text-[10px] tracking-[0.35em] uppercase text-primary mb-6",children:"Continue Reading"}),x.jsxs("div",{className:"flex flex-col sm:flex-row gap-5 flex-wrap",children:[x.jsx(rt,{to:"/about",className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground hover:text-primary border-b border-border/60 pb-0.5 transition-colors duration-300",children:"About America's Dating Coach"}),x.jsx(rt,{to:"/articles",className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground hover:text-primary border-b border-border/60 pb-0.5 transition-colors duration-300",children:"Read More Articles"}),x.jsx(rt,{to:"/dear-matchmaker",className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground hover:text-primary border-b border-border/60 pb-0.5 transition-colors duration-300",children:"All Dear Matchmaker Columns"}),x.jsx("a",{href:"/#qualification-form-top",className:"font-sans text-[10px] tracking-[0.3em] uppercase text-muted-foreground hover:text-primary border-b border-border/60 pb-0.5 transition-colors duration-300",children:"Contact America's Dating Coach"})]})]}),x.jsx(_6,{prevColumn:p,nextColumn:g}),x.jsx(is,{})]})]})}const A6=()=>{const{isLoadingAuth:e,isLoadingPublicSettings:t,authError:n,navigateToLogin:r}=qj();if(t||e)return x.jsx("div",{className:"fixed inset-0 flex items-center justify-center",children:x.jsx("div",{className:"w-8 h-8 border-4 border-slate-200 border-t-slate-800 rounded-full animate-spin"})});if(n){if(n.type==="user_not_registered")return x.jsx(Wj,{});if(n.type==="auth_required")return r(),null}return x.jsxs(_A,{children:[x.jsx(ri,{path:"/",element:x.jsx(RL,{})}),x.jsx(ri,{path:"/about",element:x.jsx($L,{})}),x.jsx(ri,{path:"/articles",element:x.jsx(Ew,{})}),x.jsx(ri,{path:"/articles/:id",element:x.jsx(Ew,{})}),x.jsx(ri,{path:"/dear-matchmaker",element:x.jsx(oM,{})}),x.jsx(ri,{path:"/dear-matchmaker/:slug",element:x.jsx(P6,{})}),x.jsx(ri,{path:"*",element:x.jsx($j,{})})]})};function N6(){return x.jsx(Hj,{children:x.jsxs(bP,{client:OP,children:[x.jsx(OA,{children:x.jsx(A6,{})}),x.jsx(G_,{})]})})}RC.createRoot(document.getElementById("root")).render(x.jsx(N6,{}));

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.