vendor: 5,973 bytes, lines 1-9
1var V2=Object.defineProperty;var Wv=e=>{throw TypeError(e)};var B2=(e,t,n)=>t in e?V2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xr=(e,t,n)=>B2(e,typeof t!="symbol"?t+"":t,n),dh=(e,t,n)=>t.has(e)||Wv("Cannot "+n);var U=(e,t,n)=>(dh(e,t,"read from private field"),n?n.call(e):t.get(e)),ze=(e,t,n)=>t.has(e)?Wv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ee=(e,t,n,r)=>(dh(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Wt=(e,t,n)=>(dh(e,t,"access private method"),n);var Gc=(e,t,n,r)=>({set _(i){Ee(e,t,i,n)},get _(){return U(e,t,r)}});function z2(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var nd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nS={exports:{}},sf={},rS={exports:{}},De={};/** 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 Tc=Symbol.for("react.element"),$2=Symbol.for("react.portal"),U2=Symbol.for("react.fragment"),W2=Symbol.for("react.strict_mode"),H2=Symbol.for("react.profiler"),K2=Symbol.for("react.provider"),q2=Symbol.for("react.context"),G2=Symbol.for("react.forward_ref"),Y2=Symbol.for("react.suspense"),Z2=Symbol.for("react.memo"),Q2=Symbol.for("react.lazy"),Hv=Symbol.iterator;function X2(e){return e===null||typeof e!="object"?null:(e=Hv&&e[Hv]||e["@@iterator"],typeof e=="function"?e:null)}var iS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sS=Object.assign,oS={};function Aa(e,t,n){this.props=e,this.context=t,this.refs=oS,this.updater=n||iS}Aa.prototype.isReactComponent={};Aa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Aa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function aS(){}aS.prototype=Aa.prototype;function Yg(e,t,n){this.props=e,this.context=t,this.refs=oS,this.updater=n||iS}var Zg=Yg.prototype=new aS;Zg.constructor=Yg;sS(Zg,Aa.prototype);Zg.isPureReactComponent=!0;var Kv=Array.isArray,lS=Object.prototype.hasOwnProperty,Qg={current:null},cS={key:!0,ref:!0,__self:!0,__source:!0};function uS(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)lS.call(t,r)&&!cS.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Tc,type:e,key:s,ref:o,props:i,_owner:Qg.current}}function J2(e,t){return{$$typeof:Tc,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Xg(e){return typeof e=="object"&&e!==null&&e.$$typeof===Tc}function eM(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var qv=/\/+/g;function fh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?eM(""+e.key):t.toString(36)}function _u(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Tc:case $2:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+fh(o,0):r,Kv(i)?(n="",e!=null&&(n=e.replace(qv,"$&/")+"/"),_u(i,t,n,"",function(c){return c})):i!=null&&(Xg(i)&&(i=J2(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(qv,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Kv(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+fh(s,a);o+=_u(s,t,n,l,i)}else if(l=X2(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+fh(s,a++),o+=_u(s,t,n,l,i);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function Yc(e,t,n){if(e==null)return e;var r=[],i=0;return _u(e,r,"","",function(s){return t.call(n,s,i++)}),r}function tM(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var un={current:null},Au={transition:null},nM={ReactCurrentDispatcher:un,ReactCurrentBatchConfig:Au,ReactCurrentOwner:Qg};function dS(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,373 bytes, lines 9-25
9De.Children={map:Yc,forEach:function(e,t,n){Yc(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Yc(e,function(){t++}),t},toArray:function(e){return Yc(e,function(t){return t})||[]},only:function(e){if(!Xg(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};De.Component=Aa;De.Fragment=U2;De.Profiler=H2;De.PureComponent=Yg;De.StrictMode=W2;De.Suspense=Y2;De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nM;De.act=dS;De.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=sS({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Qg.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)lS.call(t,l)&&!cS.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];r.children=a}return{$$typeof:Tc,type:e.type,key:i,ref:s,props:r,_owner:o}};De.createContext=function(e){return e={$$typeof:q2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:K2,_context:e},e.Consumer=e};De.createElement=uS;De.createFactory=function(e){var t=uS.bind(null,e);return t.type=e,t};De.createRef=function(){return{current:null}};De.forwardRef=function(e){return{$$typeof:G2,render:e}};De.isValidElement=Xg;De.lazy=function(e){return{$$typeof:Q2,_payload:{_status:-1,_result:e},_init:tM}};De.memo=function(e,t){return{$$typeof:Z2,type:e,compare:t===void 0?null:t}};De.startTransition=function(e){var t=Au.transition;Au.transition={};try{e()}finally{Au.transition=t}};De.unstable_act=dS;De.useCallback=function(e,t){return un.current.useCallback(e,t)};De.useContext=function(e){return un.current.useContext(e)};De.useDebugValue=function(){};De.useDeferredValue=function(e){return un.current.useDeferredValue(e)};De.useEffect=function(e,t){return un.current.useEffect(e,t)};De.useId=function(){return un.current.useId()};De.useImperativeHandle=function(e,t,n){return un.current.useImperativeHandle(e,t,n)};De.useInsertionEffect=function(e,t){return un.current.useInsertionEffect(e,t)};De.useLayoutEffect=function(e,t){return un.current.useLayoutEffect(e,t)};De.useMemo=function(e,t){return un.current.useMemo(e,t)};De.useReducer=function(e,t,n){return un.current.useReducer(e,t,n)};De.useRef=function(e){return un.current.useRef(e)};De.useState=function(e){return un.current.useState(e)};De.useSyncExternalStore=function(e,t,n){return un.current.useSyncExternalStore(e,t,n)};De.useTransition=function(){return un.current.useTransition()};De.version="18.3.1";rS.exports=De;var b=rS.exports;const V=mo(b),Jg=z2({__proto__:null,default:V},[b]);/** 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 rM=b,iM=Symbol.for("react.element"),sM=Symbol.for("react.fragment"),oM=Object.prototype.hasOwnProperty,aM=rM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lM={key:!0,ref:!0,__self:!0,__source:!0};function fS(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)oM.call(t,r)&&!lM.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:iM,type:e,key:s,ref:o,props:i,_owner:aM.current}}sf.Fragment=sM;sf.jsx=fS;sf.jsxs=fS;nS.exports=sf;var d=nS.exports,hS={exports:{}},Mn={},pS={exports:{}},mS={};/** 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 */(function(e){function t(I,L){var E=I.length;I.push(L);e:for(;0<E;){var ne=E-1>>>1,re=I[ne];if(0<i(re,L))I[ne]=L,I[E]=re,E=ne;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var L=I[0],E=I.pop();if(E!==L){I[0]=E;e:for(var ne=0,re=I.length,j=re>>>1;ne<j;){var oe=2*(ne+1)-1,Te=I[oe],ye=oe+1,q=I[ye];if(0>i(Te,E))ye<re&&0>
vendor: 10,308 bytes, lines 25-34
25i(q,Te)?(I[ne]=q,I[ye]=E,ne=ye):(I[ne]=Te,I[oe]=E,ne=oe);else if(ye<re&&0>i(q,E))I[ne]=q,I[ye]=E,ne=ye;else break e}}return L}function i(I,L){var E=I.sortIndex-L.sortIndex;return E!==0?E:I.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],c=[],u=1,f=null,h=3,p=!1,v=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(I){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=I)r(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(c)}}function k(I){if(m=!1,y(I),!v)if(n(l)!==null)v=!0,K(C);else{var L=n(c);L!==null&&H(k,L.startTime-I)}}function C(I,L){v=!1,m&&(m=!1,g(N),N=-1),p=!0;var E=h;try{for(y(L),f=n(l);f!==null&&(!(f.expirationTime>L)||I&&!O());){var ne=f.callback;if(typeof ne=="function"){f.callback=null,h=f.priorityLevel;var re=ne(f.expirationTime<=L);L=e.unstable_now(),typeof re=="function"?f.callback=re:f===n(l)&&r(l),y(L)}else r(l);f=n(l)}if(f!==null)var j=!0;else{var oe=n(c);oe!==null&&H(k,oe.startTime-L),j=!1}return j}finally{f=null,h=E,p=!1}}var S=!1,P=null,N=-1,A=5,T=-1;function O(){return!(e.unstable_now()-T<A)}function R(){if(P!==null){var I=e.unstable_now();T=I;var L=!0;try{L=P(!0,I)}finally{L?z():(S=!1,P=null)}}else S=!1}var z;if(typeof x=="function")z=function(){x(R)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,W=F.port2;F.port1.onmessage=R,z=function(){W.postMessage(null)}}else z=function(){w(R,0)};function K(I){P=I,S||(S=!0,z())}function H(I,L){N=w(function(){I(e.unstable_now())},L)}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(I){I.callback=null},e.unstable_continueExecution=function(){v||p||(v=!0,K(C))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(I){switch(h){case 1:case 2:case 3:var L=3;break;default:L=h}var E=h;h=L;try{return I()}finally{h=E}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,L){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var E=h;h=I;try{return L()}finally{h=E}},e.unstable_scheduleCallback=function(I,L,E){var ne=e.unstable_now();switch(typeof E=="object"&&E!==null?(E=E.delay,E=typeof E=="number"&&0<E?ne+E:ne):E=ne,I){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=E+re,I={id:u++,callback:L,priorityLevel:I,startTime:E,expirationTime:re,sortIndex:-1},E>ne?(I.sortIndex=E,t(c,I),n(l)===null&&I===n(c)&&(m?(g(N),N=-1):m=!0,H(k,E-ne))):(I.sortIndex=re,t(l,I),v||p||(v=!0,K(C))),I},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(I){var L=h;return function(){var E=h;h=L;try{return I.apply(this,arguments)}finally{h=E}}}})(mS);pS.exports=mS;var cM=pS.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 uM=b,_n=cM;function Y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var gS=new Set,$l={};function go(e,t){pa(e,t),pa(e+"Capture",t)}function pa(e,t){for($l[e]=t,e=0;e<t.length;e++)gS.add(t[e])}var di=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vp=Object.prototype.hasOwnProperty,dM=/^[: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]*$/,Gv={},Yv={};function fM(e){return Vp.call(Yv,e)?!0:Vp.call(Gv,e)?!1:dM.test(e)?Yv[e]=!0:(Gv[e]=!0,!1)}function hM(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function pM(e,t,n,r){if(t===null||typeof t>"u"||hM(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dn(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Bt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Bt[e]=new dn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Bt[t]=new dn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Bt[e]=new dn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Bt[e]=new dn(e,2,!1,e,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(e){Bt[e]=new dn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Bt[e]=new dn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Bt[e]=new dn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Bt[e]=new dn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Bt[e]=new dn(e,5,!1,e.toLowerCase(),null,!1,!1)});var ey=/[\-:]([a-z])/g;function ty(e){return e[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(e){var t=e.replace(ey,ty);Bt[t]=new dn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ey,ty);Bt[t]=new dn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ey,ty);Bt[t]=new dn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Bt[e]=new dn(e,1,!1,e.toLowerCase(),null,!1,!1)});Bt.xlinkHref=new dn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Bt[e]=new dn(e,1,!1,e.toLowerCase(),null,!0,!0)});function ny(e,t,n,r){var i=Bt.hasOwnProperty(t)?Bt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(pM(t,n,i,r)&&(n=null),r||i===null?fM(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var wi=uM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Zc=Symbol.for("react.element"),Ao=Symbol.for("react.portal"),Mo=Symbol.for("react.fragment"),ry=Symbol.for("react.strict_mode"),Bp=Symbol.for("react.profiler"),yS=Symbol.for("react.provider"),xS=Symbol.for("react.context"),iy=Symbol.for("react.forward_ref"),zp=Symbol.for("react.suspense"),$p=Symbol.for("react.suspense_list"),sy=Symbol.for("react.memo"),Ri=Symbol.for("react.lazy"),vS=Symbol.for("react.offscreen"),Zv=Symbol.iterator;function Ga(e){return e===null||typeof e!="object"?null:(e=Zv&&e[Zv]||e["@@iterator"],typeof e=="function"?e:null)}var ft=Object.assign,hh;function hl(e){if(hh===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);hh=t&&t[1]||""}return` 34`+hh+e}var ph=!1;function mh(e,t){if(!e||ph)return"";ph=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}
vendor: 4,643 bytes, lines 34-37
34catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(` 35`),s=r.stack.split(` 36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=` 37`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{ph=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hl(e):""}function mM(e){switch(e.tag){case 5:return hl(e.type);case 16:return hl("Lazy");case 13:return hl("Suspense");case 19:return hl("SuspenseList");case 0:case 2:case 15:return e=mh(e.type,!1),e;case 11:return e=mh(e.type.render,!1),e;case 1:return e=mh(e.type,!0),e;default:return""}}function Up(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mo:return"Fragment";case Ao:return"Portal";case Bp:return"Profiler";case ry:return"StrictMode";case zp:return"Suspense";case $p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xS:return(e.displayName||"Context")+".Consumer";case yS:return(e._context.displayName||"Context")+".Provider";case iy:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sy:return t=e.displayName||null,t!==null?t:Up(e.type)||"Memo";case Ri:t=e._payload,e=e._init;try{return Up(e(t))}catch{}}return null}function gM(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Up(t);case 8:return t===ry?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function os(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wS(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yM(e){var t=wS(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Qc(e){e._valueTracker||(e._valueTracker=yM(e))}function bS(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=wS(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function rd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wp(e,t){var n=t.checked;return ft({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qv(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=os(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kS(e,t){t=t.checked,t!=null&&ny(e,"checked",t,!1)}function Hp(e,t){kS(e,t);var n=os(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Kp(e,t.type,n):t.hasOwnProperty("defaultValue")&&Kp(e,t.type,os(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Xv(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}
vendor: 9,447 bytes, line 37
37function Kp(e,t,n){(t!=="number"||rd(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var pl=Array.isArray;function qo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+os(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function qp(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Y(91));return ft({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Jv(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Y(92));if(pl(n)){if(1<n.length)throw Error(Y(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:os(n)}}function SS(e,t){var n=os(t.value),r=os(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function e0(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function CS(e){switch(e){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 Gp(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?CS(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Xc,ES=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Xc=Xc||document.createElement("div"),Xc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Xc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ul(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var kl={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},xM=["Webkit","ms","Moz","O"];Object.keys(kl).forEach(function(e){xM.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),kl[t]=kl[e]})});function TS(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||kl.hasOwnProperty(e)&&kl[e]?(""+t).trim():t+"px"}function PS(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=TS(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var vM=ft({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 Yp(e,t){if(t){if(vM[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Y(62))}}function Zp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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 Qp=null;function oy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xp=null,Go=null,Yo=null;function t0(e){if(e=Nc(e)){if(typeof Xp!="function")throw Error(Y(280));var t=e.stateNode;t&&(t=uf(t),Xp(e.stateNode,e.type,t))}}function jS(e){Go?Yo?Yo.push(e):Yo=[e]:Go=e}function NS(){if(Go){var e=Go,t=Yo;if(Yo=Go=null,t0(e),t)for(e=0;e<t.length;e++)t0(t[e])}}function _S(e,t){return e(t)}function AS(){}var gh=!1;function MS(e,t,n){if(gh)return e(t,n);gh=!0;try{return _S(e,t,n)}finally{gh=!1,(Go!==null||Yo!==null)&&(AS(),NS())}}function Wl(e,t){var n=e.stateNode;if(n===null)return null;var r=uf(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(Y(231,t,typeof n));return n}var Jp=!1;if(di)try{var Ya={};Object.defineProperty(Ya,"passive",{get:function(){Jp=!0}}),window.addEventListener("test",Ya,Ya),window.removeEventListener("test",Ya,Ya)}catch{Jp=!1}function wM(e,t,n,r,i,s,o,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Sl=!1,id=null,sd=!1,em=null,bM={onError:function(e){Sl=!0,id=e}};function kM(e,t,n,r,i,s,o,a,l){Sl=!1,id=null,wM.apply(bM,arguments)}function SM(e,t,n,r,i,s,o,a,l){if(kM.apply(this,arguments),Sl){if(Sl){var c=id;Sl=!1,id=null}else throw Error(Y(198));sd||(sd=!0,em=c)}}function yo(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function RS(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function n0(e){if(yo(e)!==e)throw Error(Y(188))}function CM(e){var t=e.alternate;if(!t){if(t=yo(e),t===null)throw Error(Y(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return n0(i),e;if(s===r)return n0(i),t;s=s.sibling}throw Error(Y(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(Y(189))}}if(n.alternate!==r)throw Error(Y(190))}if(n.tag!==3)throw Error(Y(188));return n.stateNode.current===n?e:t}function IS(e){return e=CM(e),e!==null?DS(e):null}function DS(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=DS(e);if(t!==null)return t;e=e.sibling}return null}var OS=_n.unstable_scheduleCallback,r0=_n.unstable_cancelCallback,EM=_n.unstable_shouldYield,TM=_n.unstable_requestPaint,wt=_n.unstable_now,PM=_n.unstable_getCurrentPriorityLevel,ay=_n.unstable_ImmediatePriority,LS=_n.unstable_UserBlockingPriority,od=_n.unstable_NormalPriority,jM=_n.unstable_LowPriority,FS=_n.unstable_IdlePriority,of=null,Vr=null;function NM(e){if(Vr&&typeof Vr.onCommitFiberRoot=="function")try{Vr.onCommitFiberRoot(of,e,void 0,(e.current.flags&128)===128)}catch{}}var xr=Math.clz32?Math.clz32:MM,_M=Math.log,AM=Math.LN2;function MM(e){return e>>>=0,e===0?32:31-(_M(e)/AM|0)|0}var Jc=64,eu=4194304;function ml(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ad(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=ml(a):(s&=o,s!==0&&(r=ml(s)))}else o=n&~i,o!==0?r=ml(o):s!==0&&(r=ml(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-xr(t),i=1<<n,r|=e[n],t&=~i;return r}function RM(e,t){switch(e){case 1:case 2:case 4:return t+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 t+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 IM(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-xr(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=RM(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function tm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function VS(){var e=Jc;return Jc<<=1,!(Jc&4194240)&&(Jc=64),e}function yh(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,087 bytes, line 37
37function Pc(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xr(t),e[t]=n}function DM(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-xr(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function ly(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-xr(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var qe=0;function BS(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var zS,cy,$S,US,WS,nm=!1,tu=[],Gi=null,Yi=null,Zi=null,Hl=new Map,Kl=new Map,Oi=[],OM="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 i0(e,t){switch(e){case"focusin":case"focusout":Gi=null;break;case"dragenter":case"dragleave":Yi=null;break;case"mouseover":case"mouseout":Zi=null;break;case"pointerover":case"pointerout":Hl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kl.delete(t.pointerId)}}function Za(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=Nc(t),t!==null&&cy(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function LM(e,t,n,r,i){switch(t){case"focusin":return Gi=Za(Gi,e,t,n,r,i),!0;case"dragenter":return Yi=Za(Yi,e,t,n,r,i),!0;case"mouseover":return Zi=Za(Zi,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Hl.set(s,Za(Hl.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Kl.set(s,Za(Kl.get(s)||null,e,t,n,r,i)),!0}return!1}function HS(e){var t=Fs(e.target);if(t!==null){var n=yo(t);if(n!==null){if(t=n.tag,t===13){if(t=RS(n),t!==null){e.blockedOn=t,WS(e.priority,function(){$S(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Mu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=rm(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Qp=r,n.target.dispatchEvent(r),Qp=null}else return t=Nc(n),t!==null&&cy(t),e.blockedOn=n,!1;t.shift()}return!0}function s0(e,t,n){Mu(e)&&n.delete(t)}function FM(){nm=!1,Gi!==null&&Mu(Gi)&&(Gi=null),Yi!==null&&Mu(Yi)&&(Yi=null),Zi!==null&&Mu(Zi)&&(Zi=null),Hl.forEach(s0),Kl.forEach(s0)}function Qa(e,t){e.blockedOn===t&&(e.blockedOn=null,nm||(nm=!0,_n.unstable_scheduleCallback(_n.unstable_NormalPriority,FM)))}function ql(e){function t(i){return Qa(i,e)}if(0<tu.length){Qa(tu[0],e);for(var n=1;n<tu.length;n++){var r=tu[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gi!==null&&Qa(Gi,e),Yi!==null&&Qa(Yi,e),Zi!==null&&Qa(Zi,e),Hl.forEach(t),Kl.forEach(t),n=0;n<Oi.length;n++)r=Oi[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Oi.length&&(n=Oi[0],n.blockedOn===null);)HS(n),n.blockedOn===null&&Oi.shift()}var Zo=wi.ReactCurrentBatchConfig,ld=!0;function VM(e,t,n,r){var i=qe,s=Zo.transition;Zo.transition=null;try{qe=1,uy(e,t,n,r)}finally{qe=i,Zo.transition=s}}function BM(e,t,n,r){var i=qe,s=Zo.transition;Zo.transition=null;try{qe=4,uy(e,t,n,r)}finally{qe=i,Zo.transition=s}}function uy(e,t,n,r){if(ld){var i=rm(e,t,n,r);if(i===null)Ph(e,t,r,cd,n),i0(e,r);else if(LM(i,e,t,n,r))r.stopPropagation();else if(i0(e,r),t&4&&-1<OM.indexOf(e)){for(;i!==null;){var s=Nc(i);if(s!==null&&zS(s),s=rm(e,t,n,r),s===null&&Ph(e,t,r,cd,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else Ph(e,t,r,null,n)}}var cd=null;function rm(e,t,n,r){if(cd=null,e=oy(r),e=Fs(e),e!==null)if(t=yo(e),t===null)e=null;else if(n=t.tag,n===13){if(e=RS(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return cd=e,null}
vendor: 10,401 bytes, line 37
37function KS(e){switch(e){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(PM()){case ay:return 1;case LS:return 4;case od:case jM:return 16;case FS:return 536870912;default:return 16}default:return 16}}var Ui=null,dy=null,Ru=null;function qS(){if(Ru)return Ru;var e,t=dy,n=t.length,r,i="value"in Ui?Ui.value:Ui.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Ru=i.slice(e,1<r?1-r:void 0)}function Iu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function nu(){return!0}function o0(){return!1}function Rn(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?nu:o0,this.isPropagationStopped=o0,this}return ft(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=nu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=nu)},persist:function(){},isPersistent:nu}),t}var Ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fy=Rn(Ma),jc=ft({},Ma,{view:0,detail:0}),zM=Rn(jc),xh,vh,Xa,af=ft({},jc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Xa&&(Xa&&e.type==="mousemove"?(xh=e.screenX-Xa.screenX,vh=e.screenY-Xa.screenY):vh=xh=0,Xa=e),xh)},movementY:function(e){return"movementY"in e?e.movementY:vh}}),a0=Rn(af),$M=ft({},af,{dataTransfer:0}),UM=Rn($M),WM=ft({},jc,{relatedTarget:0}),wh=Rn(WM),HM=ft({},Ma,{animationName:0,elapsedTime:0,pseudoElement:0}),KM=Rn(HM),qM=ft({},Ma,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),GM=Rn(qM),YM=ft({},Ma,{data:0}),l0=Rn(YM),ZM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},QM={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"},XM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function JM(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=XM[e])?!!t[e]:!1}function hy(){return JM}var eR=ft({},jc,{key:function(e){if(e.key){var t=ZM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Iu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?QM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hy,charCode:function(e){return e.type==="keypress"?Iu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Iu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),tR=Rn(eR),nR=ft({},af,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),c0=Rn(nR),rR=ft({},jc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hy}),iR=Rn(rR),sR=ft({},Ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),oR=Rn(sR),aR=ft({},af,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),lR=Rn(aR),cR=[9,13,27,32],py=di&&"CompositionEvent"in window,Cl=null;di&&"documentMode"in document&&(Cl=document.documentMode);var uR=di&&"TextEvent"in window&&!Cl,GS=di&&(!py||Cl&&8<Cl&&11>=Cl),u0=" ",d0=!1;function YS(e,t){switch(e){case"keyup":return cR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ZS(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ro=!1;function dR(e,t){switch(e){case"compositionend":return ZS(t);case"keypress":return t.which!==32?null:(d0=!0,u0);case"textInput":return e=t.data,e===u0&&d0?null:e;default:return null}}function fR(e,t){if(Ro)return e==="compositionend"||!py&&YS(e,t)?(e=qS(),Ru=dy=Ui=null,Ro=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return GS&&t.locale!=="ko"?null:t.data;default:return null}}var hR={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 f0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!hR[e.type]:t==="textarea"}function QS(e,t,n,r){jS(r),t=ud(t,"onChange"),0<t.length&&(n=new fy("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var El=null,Gl=null;function pR(e){lC(e,0)}function lf(e){var t=Oo(e);if(bS(t))return e}function mR(e,t){if(e==="change")return t}var XS=!1;if(di){var bh;if(di){var kh="oninput"in document;if(!kh){var h0=document.createElement("div");h0.setAttribute("oninput","return;"),kh=typeof h0.oninput=="function"}bh=kh}else bh=!1;XS=bh&&(!document.documentMode||9<document.documentMode)}function p0(){El&&(El.detachEvent("onpropertychange",JS),Gl=El=null)}function JS(e){if(e.propertyName==="value"&&lf(Gl)){var t=[];QS(t,Gl,e,oy(e)),MS(pR,t)}}function gR(e,t,n){e==="focusin"?(p0(),El=t,Gl=n,El.attachEvent("onpropertychange",JS)):e==="focusout"&&p0()}function yR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return lf(Gl)}function xR(e,t){if(e==="click")return lf(t)}function vR(e,t){if(e==="input"||e==="change")return lf(t)}function wR(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kr=typeof Object.is=="function"?Object.is:wR;function Yl(e,t){if(kr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Vp.call(t,i)||!kr(e[i],t[i]))return!1}return!0}function m0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function g0(e,t){var n=m0(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=m0(n)}}function eC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?eC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function tC(){for(var e=window,t=rd();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=rd(e.document)}return t}function my(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bR(e){var t=tC(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&eC(n.ownerDocument.documentElement,n)){if(r!==null&&my(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=g0(n,s);var o=g0(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var kR=di&&"documentMode"in document&&11>=document.documentMode,Io=null,im=null,Tl=null,sm=!1;function y0(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sm||Io==null||Io!==rd(r)||(r=Io,"selectionStart"in r&&my(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Tl&&Yl(Tl,r)||(Tl=r,r=ud(im,"onSelect"),0<r.length&&(t=new fy("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Io)))}function ru(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Do={animationend:ru("Animation","AnimationEnd"),animationiteration:ru("Animation","AnimationIteration"),animationstart:ru("Animation","AnimationStart"),transitionend:ru("Transition","TransitionEnd")},Sh={},nC={};di&&(nC=document.createElement("div").style,"AnimationEvent"in window||(delete Do.animationend.animation,delete Do.animationiteration.animation,delete Do.animationstart.animation),"TransitionEvent"in window||delete Do.transitionend.transition);function cf(e){if(Sh[e])return Sh[e];if(!Do[e])return e;var t=Do[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in nC)return Sh[e]=t[n];return e}var rC=cf("animationend"),iC=cf("animationiteration"),sC=cf("animationstart"),oC=cf("transitionend"),aC=new Map,x0="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 gs(e,t){aC.set(e,t),go(t,[e])}for(var Ch=0;Ch<x0.length;Ch++){var Eh=x0[Ch],SR=Eh.toLowerCase(),CR=Eh[0].toUpperCase()+Eh.slice(1);gs(SR,"on"+CR)}gs(rC,"onAnimationEnd");gs(iC,"onAnimationIteration");gs(sC,"onAnimationStart");gs("dblclick","onDoubleClick");gs("focusin","onFocus");gs("focusout","onBlur");gs(oC,"onTransitionEnd");pa("onMouseEnter",["mouseout","mouseover"]);pa("onMouseLeave",["mouseout","mouseover"]);pa("onPointerEnter",["pointerout","pointerover"]);pa("onPointerLeave",["pointerout","pointerover"]);go("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));go("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));go("onBeforeInput",["compositionend","keypress","textInput","paste"]);go("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));go("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));go("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gl="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(" "),ER=new Set("cancel close invalid load scroll toggle".split(" ").concat(gl));function v0(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,SM(r,t,void 0,e),e.currentTarget=null}function lC(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;v0(i,a,c),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,c=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;v0(i,a,c),s=l}}}if(sd)throw e=em,sd=!1,em=null,e}function nt(e,t){var n=t[um];n===void 0&&(n=t[um]=new Set);var r=e+"__bubble";n.has(r)||(cC(t,e,2,!1),n.add(r))}function Th(e,t,n){var r=0;t&&(r|=4),cC(n,e,r,t)}var iu="_reactListening"+Math.random().toString(36).slice(2);function Zl(e){if(!e[iu]){e[iu]=!0,gS.forEach(function(n){n!=="selectionchange"&&(ER.has(n)||Th(n,!1,e),Th(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[iu]||(t[iu]=!0,Th("selectionchange",!1,t))}}function cC(e,t,n,r){switch(KS(t)){case 1:var i=VM;break;case 4:i=BM;break;default:i=uy}n=i.bind(null,t,n,e),i=void 0,!Jp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ph(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;
vendor: 4,157 bytes, line 37
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Fs(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}MS(function(){var c=s,u=oy(n),f=[];e:{var h=aC.get(e);if(h!==void 0){var p=fy,v=e;switch(e){case"keypress":if(Iu(n)===0)break e;case"keydown":case"keyup":p=tR;break;case"focusin":v="focus",p=wh;break;case"focusout":v="blur",p=wh;break;case"beforeblur":case"afterblur":p=wh;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=a0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=UM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=iR;break;case rC:case iC:case sC:p=KM;break;case oC:p=oR;break;case"scroll":p=zM;break;case"wheel":p=lR;break;case"copy":case"cut":case"paste":p=GM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=c0}var m=(t&4)!==0,w=!m&&e==="scroll",g=m?h!==null?h+"Capture":null:h;m=[];for(var x=c,y;x!==null;){y=x;var k=y.stateNode;if(y.tag===5&&k!==null&&(y=k,g!==null&&(k=Wl(x,g),k!=null&&m.push(Ql(x,k,y)))),w)break;x=x.return}0<m.length&&(h=new p(h,v,null,n,u),f.push({event:h,listeners:m}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==Qp&&(v=n.relatedTarget||n.fromElement)&&(Fs(v)||v[fi]))break e;if((p||h)&&(h=u.window===u?u:(h=u.ownerDocument)?h.defaultView||h.parentWindow:window,p?(v=n.relatedTarget||n.toElement,p=c,v=v?Fs(v):null,v!==null&&(w=yo(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(p=null,v=c),p!==v)){if(m=a0,k="onMouseLeave",g="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(m=c0,k="onPointerLeave",g="onPointerEnter",x="pointer"),w=p==null?h:Oo(p),y=v==null?h:Oo(v),h=new m(k,x+"leave",p,n,u),h.target=w,h.relatedTarget=y,k=null,Fs(u)===c&&(m=new m(g,x+"enter",v,n,u),m.target=y,m.relatedTarget=w,k=m),w=k,p&&v)t:{for(m=p,g=v,x=0,y=m;y;y=bo(y))x++;for(y=0,k=g;k;k=bo(k))y++;for(;0<x-y;)m=bo(m),x--;for(;0<y-x;)g=bo(g),y--;for(;x--;){if(m===g||g!==null&&m===g.alternate)break t;m=bo(m),g=bo(g)}m=null}else m=null;p!==null&&w0(f,h,p,m,!1),v!==null&&w!==null&&w0(f,w,v,m,!0)}}e:{if(h=c?Oo(c):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var C=mR;else if(f0(h))if(XS)C=vR;else{C=yR;var S=gR}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(C=xR);if(C&&(C=C(e,c))){QS(f,C,n,u);break e}S&&S(e,h,c),e==="focusout"&&(S=h._wrapperState)&&S.controlled&&h.type==="number"&&Kp(h,"number",h.value)}switch(S=c?Oo(c):window,e){case"focusin":(f0(S)||S.contentEditable==="true")&&(Io=S,im=c,Tl=null);break;case"focusout":Tl=im=Io=null;break;case"mousedown":sm=!0;break;case"contextmenu":case"mouseup":case"dragend":sm=!1,y0(f,n,u);break;case"selectionchange":if(kR)break;case"keydown":case"keyup":y0(f,n,u)}var P;if(py)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Ro?YS(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(GS&&n.locale!=="ko"&&(Ro||N!=="onCompositionStart"?N==="onCompositionEnd"&&Ro&&(P=qS()):(Ui=u,dy="value"in Ui?Ui.value:Ui.textContent,Ro=!0)),S=ud(c,N),0<S.length&&(N=new l0(N,e,null,n,u),f.push({event:N,listeners:S}),P?N.data=P:(P=ZS(n),P!==null&&(N.data=P)))),(P=uR?dR(e,n):fR(e,n))&&(c=ud(c,"onBeforeInput"),0<c.length&&(u=new l0("onBeforeInput","beforeinput",null,n,u),f.push({event:u,listeners:c}),u.data=P))}lC(f,t)})}function Ql(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ud(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Wl(e,n),s!=null&&r.unshift(Ql(e,s,i)
vendor: 4,742 bytes, lines 37-38
37),s=Wl(e,t),s!=null&&r.push(Ql(e,s,i))),e=e.return}return r}function bo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function w0(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var a=n,l=a.alternate,c=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&c!==null&&(a=c,i?(l=Wl(n,s),l!=null&&o.unshift(Ql(n,l,a))):i||(l=Wl(n,s),l!=null&&o.push(Ql(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var TR=/\r\n?/g,PR=/\u0000|\uFFFD/g;function b0(e){return(typeof e=="string"?e:""+e).replace(TR,` 38`).replace(PR,"")}function su(e,t,n){if(t=b0(t),b0(e)!==t&&n)throw Error(Y(425))}function dd(){}var om=null,am=null;function lm(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var cm=typeof setTimeout=="function"?setTimeout:void 0,jR=typeof clearTimeout=="function"?clearTimeout:void 0,k0=typeof Promise=="function"?Promise:void 0,NR=typeof queueMicrotask=="function"?queueMicrotask:typeof k0<"u"?function(e){return k0.resolve(null).then(e).catch(_R)}:cm;function _R(e){setTimeout(function(){throw e})}function jh(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ql(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ql(t)}function Qi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function S0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ra=Math.random().toString(36).slice(2),Dr="__reactFiber$"+Ra,Xl="__reactProps$"+Ra,fi="__reactContainer$"+Ra,um="__reactEvents$"+Ra,AR="__reactListeners$"+Ra,MR="__reactHandles$"+Ra;function Fs(e){var t=e[Dr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fi]||n[Dr]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=S0(e);e!==null;){if(n=e[Dr])return n;e=S0(e)}return t}e=n,n=e.parentNode}return null}function Nc(e){return e=e[Dr]||e[fi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Oo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Y(33))}function uf(e){return e[Xl]||null}var dm=[],Lo=-1;function ys(e){return{current:e}}function rt(e){0>Lo||(e.current=dm[Lo],dm[Lo]=null,Lo--)}function Je(e,t){Lo++,dm[Lo]=e.current,e.current=t}var as={},Xt=ys(as),yn=ys(!1),to=as;function ma(e,t){var n=e.type.contextTypes;if(!n)return as;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xn(e){return e=e.childContextTypes,e!=null}function fd(){rt(yn),rt(Xt)}function C0(e,t,n){if(Xt.current!==as)throw Error(Y(168));Je(Xt,t),Je(yn,n)}function uC(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Y(108,gM(e)||"Unknown",i));return ft({},n,r)}function hd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||as,to=Xt.current,Je(Xt,e),Je(yn,yn.current),!0}function E0(e,t,n){var r=e.stateNode;if(!r)throw Error(Y(169));n?(e=uC(e,t,to),r.__reactInternalMemoizedMergedChildContext=e,rt(yn),rt(Xt),Je(Xt,e)):rt(yn),Je(yn,n)}var ii=null,df=!1,Nh=!1;function dC(e){ii===null?ii=[e]:ii.push(e)}function RR(e){df=!0,dC(e)}function xs(){if(!Nh&&ii!==null){Nh=!0;var e=0,t=qe;try{var n=ii;for(qe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ii=null,df=!1}catch(i){throw ii!==null&&(ii=ii.slice(e+1)),OS(ay,xs),i}finally{qe=t,Nh=!1}}return null}var Fo=[],Vo=0,pd=null,md=0,Bn=[],zn=0,no=null,ai=1,li="";function _s(e,t){Fo[Vo++]=md,Fo[Vo++]=pd,pd=e,md=t}function fC(e,t,n){Bn[zn++]=ai,Bn[zn++]=li,Bn[zn++]=no,no=e;var r=ai;e=li;var i=32-xr(r)-1;r&=~(1<<i),n+=1;var s=32-xr(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ai=1<<32-xr(t)+i|n<<i|r,li=s+e}else ai=1<<s|n<<i|r,li=e}function gy(e){e.return!==null&&(_s(e,1),fC(e,1,0))}function yy(e){for(;e===pd;)pd=Fo[--Vo],Fo[Vo]=null,md=Fo[--Vo],Fo[Vo]=null;for(;e===no;)no=Bn[--zn],Bn[zn]=null,li=Bn[--zn],Bn[zn]=null,ai=Bn[--zn],Bn[zn]=null}var Pn=null,Tn=null,ot=!1,pr=null;function hC(e,t){var n=Un(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function T0(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 24,172 bytes, lines 38-40
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Pn=e,Tn=Qi(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Pn=e,Tn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=no!==null?{id:ai,overflow:li}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Un(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Pn=e,Tn=null,!0):!1;default:return!1}}function fm(e){return(e.mode&1)!==0&&(e.flags&128)===0}function hm(e){if(ot){var t=Tn;if(t){var n=t;if(!T0(e,t)){if(fm(e))throw Error(Y(418));t=Qi(n.nextSibling);var r=Pn;t&&T0(e,t)?hC(r,n):(e.flags=e.flags&-4097|2,ot=!1,Pn=e)}}else{if(fm(e))throw Error(Y(418));e.flags=e.flags&-4097|2,ot=!1,Pn=e}}}function P0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Pn=e}function ou(e){if(e!==Pn)return!1;if(!ot)return P0(e),ot=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!lm(e.type,e.memoizedProps)),t&&(t=Tn)){if(fm(e))throw pC(),Error(Y(418));for(;t;)hC(e,t),t=Qi(t.nextSibling)}if(P0(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Y(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Tn=Qi(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Tn=null}}else Tn=Pn?Qi(e.stateNode.nextSibling):null;return!0}function pC(){for(var e=Tn;e;)e=Qi(e.nextSibling)}function ga(){Tn=Pn=null,ot=!1}function xy(e){pr===null?pr=[e]:pr.push(e)}var IR=wi.ReactCurrentBatchConfig;function Ja(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(Y(309));var r=n.stateNode}if(!r)throw Error(Y(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(Y(284));if(!n._owner)throw Error(Y(290,e))}return e}function au(e,t){throw e=Object.prototype.toString.call(t),Error(Y(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function j0(e){var t=e._init;return t(e._payload)}function mC(e){function t(g,x){if(e){var y=g.deletions;y===null?(g.deletions=[x],g.flags|=16):y.push(x)}}function n(g,x){if(!e)return null;for(;x!==null;)t(g,x),x=x.sibling;return null}function r(g,x){for(g=new Map;x!==null;)x.key!==null?g.set(x.key,x):g.set(x.index,x),x=x.sibling;return g}function i(g,x){return g=ts(g,x),g.index=0,g.sibling=null,g}function s(g,x,y){return g.index=y,e?(y=g.alternate,y!==null?(y=y.index,y<x?(g.flags|=2,x):y):(g.flags|=2,x)):(g.flags|=1048576,x)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,x,y,k){return x===null||x.tag!==6?(x=Oh(y,g.mode,k),x.return=g,x):(x=i(x,y),x.return=g,x)}function l(g,x,y,k){var C=y.type;return C===Mo?u(g,x,y.props.children,k,y.key):x!==null&&(x.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ri&&j0(C)===x.type)?(k=i(x,y.props),k.ref=Ja(g,x,y),k.return=g,k):(k=zu(y.type,y.key,y.props,null,g.mode,k),k.ref=Ja(g,x,y),k.return=g,k)}function c(g,x,y,k){return x===null||x.tag!==4||x.stateNode.containerInfo!==y.containerInfo||x.stateNode.implementation!==y.implementation?(x=Lh(y,g.mode,k),x.return=g,x):(x=i(x,y.children||[]),x.return=g,x)}function u(g,x,y,k,C){return x===null||x.tag!==7?(x=Js(y,g.mode,k,C),x.return=g,x):(x=i(x,y),x.return=g,x)}function f(g,x,y){if(typeof x=="string"&&x!==""||typeof x=="number")return x=Oh(""+x,g.mode,y),x.return=g,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Zc:return y=zu(x.type,x.key,x.props,null,g.mode,y),y.ref=Ja(g,null,x),y.return=g,y;case Ao:return x=Lh(x,g.mode,y),x.return=g,x;case Ri:var k=x._init;return f(g,k(x._payload),y)}if(pl(x)||Ga(x))return x=Js(x,g.mode,y,null),x.return=g,x;au(g,x)}return null}function h(g,x,y,k){var C=x!==null?x.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return C!==null?null:a(g,x,""+y,k);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Zc:return y.key===C?l(g,x,y,k):null;case Ao:return y.key===C?c(g,x,y,k):null;case Ri:return C=y._init,h(g,x,C(y._payload),k)}if(pl(y)||Ga(y))return C!==null?null:u(g,x,y,k,null);au(g,y)}return null}function p(g,x,y,k,C){if(typeof k=="string"&&k!==""||typeof k=="number")return g=g.get(y)||null,a(x,g,""+k,C);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Zc:return g=g.get(k.key===null?y:k.key)||null,l(x,g,k,C);case Ao:return g=g.get(k.key===null?y:k.key)||null,c(x,g,k,C);case Ri:var S=k._init;return p(g,x,y,S(k._payload),C)}if(pl(k)||Ga(k))return g=g.get(y)||null,u(x,g,k,C,null);au(x,k)}return null}function v(g,x,y,k){for(var C=null,S=null,P=x,N=x=0,A=null;P!==null&&N<y.length;N++){P.index>N?(A=P,P=null):A=P.sibling;var T=h(g,P,y[N],k);if(T===null){P===null&&(P=A);break}e&&P&&T.alternate===null&&t(g,P),x=s(T,x,N),S===null?C=T:S.sibling=T,S=T,P=A}if(N===y.length)return n(g,P),ot&&_s(g,N),C;if(P===null){for(;N<y.length;N++)P=f(g,y[N],k),P!==null&&(x=s(P,x,N),S===null?C=P:S.sibling=P,S=P);return ot&&_s(g,N),C}for(P=r(g,P);N<y.length;N++)A=p(P,g,N,y[N],k),A!==null&&(e&&A.alternate!==null&&P.delete(A.key===null?N:A.key),x=s(A,x,N),S===null?C=A:S.sibling=A,S=A);return e&&P.forEach(function(O){return t(g,O)}),ot&&_s(g,N),C}function m(g,x,y,k){var C=Ga(y);if(typeof C!="function")throw Error(Y(150));if(y=C.call(y),y==null)throw Error(Y(151));for(var S=C=null,P=x,N=x=0,A=null,T=y.next();P!==null&&!T.done;N++,T=y.next()){P.index>N?(A=P,P=null):A=P.sibling;var O=h(g,P,T.value,k);if(O===null){P===null&&(P=A);break}e&&P&&O.alternate===null&&t(g,P),x=s(O,x,N),S===null?C=O:S.sibling=O,S=O,P=A}if(T.done)return n(g,P),ot&&_s(g,N),C;if(P===null){for(;!T.done;N++,T=y.next())T=f(g,T.value,k),T!==null&&(x=s(T,x,N),S===null?C=T:S.sibling=T,S=T);return ot&&_s(g,N),C}for(P=r(g,P);!T.done;N++,T=y.next())T=p(P,g,N,T.value,k),T!==null&&(e&&T.alternate!==null&&P.delete(T.key===null?N:T.key),x=s(T,x,N),S===null?C=T:S.sibling=T,S=T);return e&&P.forEach(function(R){return t(g,R)}),ot&&_s(g,N),C}function w(g,x,y,k){if(typeof y=="object"&&y!==null&&y.type===Mo&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Zc:e:{for(var C=y.key,S=x;S!==null;){if(S.key===C){if(C=y.type,C===Mo){if(S.tag===7){n(g,S.sibling),x=i(S,y.props.children),x.return=g,g=x;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Ri&&j0(C)===S.type){n(g,S.sibling),x=i(S,y.props),x.ref=Ja(g,S,y),x.return=g,g=x;break e}n(g,S);break}else t(g,S);S=S.sibling}y.type===Mo?(x=Js(y.props.children,g.mode,k,y.key),x.return=g,g=x):(k=zu(y.type,y.key,y.props,null,g.mode,k),k.ref=Ja(g,x,y),k.return=g,g=k)}return o(g);case Ao:e:{for(S=y.key;x!==null;){if(x.key===S)if(x.tag===4&&x.stateNode.containerInfo===y.containerInfo&&x.stateNode.implementation===y.implementation){n(g,x.sibling),x=i(x,y.children||[]),x.return=g,g=x;break e}else{n(g,x);break}else t(g,x);x=x.sibling}x=Lh(y,g.mode,k),x.return=g,g=x}return o(g);case Ri:return S=y._init,w(g,x,S(y._payload),k)}if(pl(y))return v(g,x,y,k);if(Ga(y))return m(g,x,y,k);au(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,x!==null&&x.tag===6?(n(g,x.sibling),x=i(x,y),x.return=g,g=x):(n(g,x),x=Oh(y,g.mode,k),x.return=g,g=x),o(g)):n(g,x)}return w}var ya=mC(!0),gC=mC(!1),gd=ys(null),yd=null,Bo=null,vy=null;function wy(){vy=Bo=yd=null}function by(e){var t=gd.current;rt(gd),e._currentValue=t}function pm(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qo(e,t){yd=e,vy=Bo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(gn=!0),e.firstContext=null)}function Gn(e){var t=e._currentValue;if(vy!==e)if(e={context:e,memoizedValue:t,next:null},Bo===null){if(yd===null)throw Error(Y(308));Bo=e,yd.dependencies={lanes:0,firstContext:e}}else Bo=Bo.next=e;return t}var Vs=null;function ky(e){Vs===null?Vs=[e]:Vs.push(e)}function yC(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ky(t)):(n.next=i.next,i.next=n),t.interleaved=n,hi(e,r)}function hi(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ii=!1;function Sy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xC(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ui(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ve&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,hi(e,n)}return i=r.interleaved,i===null?(t.next=t,ky(r)):(t.next=i.next,i.next=t),r.interleaved=t,hi(e,n)}function Du(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ly(e,n)}}function N0(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function xd(e,t,n,r){var i=e.updateQueue;Ii=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,c=l.next;l.next=null,o===null?s=c:o.next=c,o=l;var u=e.alternate;u!==null&&(u=u.updateQueue,a=u.lastBaseUpdate,a!==o&&(a===null?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;o=0,u=c=l=null,a=s;do{var h=a.lane,p=a.eventTime;if((r&h)===h){u!==null&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,m=a;switch(h=t,p=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){f=v.call(p,f,h);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,h=typeof v=="function"?v.call(p,f,h):v,h==null)break e;f=ft({},f,h);break e;case 2:Ii=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},u===null?(c=u=p,l=f):u=u.next=p,o|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(u===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);io|=o,e.lanes=o,e.memoizedState=f}}function _0(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(Y(191,i));i.call(r)}}}var _c={},Br=ys(_c),Jl=ys(_c),ec=ys(_c);function Bs(e){if(e===_c)throw Error(Y(174));return e}function Cy(e,t){switch(Je(ec,t),Je(Jl,e),Je(Br,_c),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Gp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Gp(t,e)}rt(Br),Je(Br,t)}function xa(){rt(Br),rt(Jl),rt(ec)}function vC(e){Bs(ec.current);var t=Bs(Br.current),n=Gp(t,e.type);t!==n&&(Je(Jl,e),Je(Br,n))}function Ey(e){Jl.current===e&&(rt(Br),rt(Jl))}var lt=ys(0);function vd(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var _h=[];function Ty(){for(var e=0;e<_h.length;e++)_h[e]._workInProgressVersionPrimary=null;_h.length=0}var Ou=wi.ReactCurrentDispatcher,Ah=wi.ReactCurrentBatchConfig,ro=0,dt=null,_t=null,It=null,wd=!1,Pl=!1,tc=0,DR=0;function Ht(){throw Error(Y(321))}function Py(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!kr(e[n],t[n]))return!1;return!0}function jy(e,t,n,r,i,s){if(ro=s,dt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ou.current=e===null||e.memoizedState===null?VR:BR,e=n(r,i),Pl){s=0;do{if(Pl=!1,tc=0,25<=s)throw Error(Y(301));s+=1,It=_t=null,t.updateQueue=null,Ou.current=zR,e=n(r,i)}while(Pl)}if(Ou.current=bd,t=_t!==null&&_t.next!==null,ro=0,It=_t=dt=null,wd=!1,t)throw Error(Y(300));return e}function Ny(){var e=tc!==0;return tc=0,e}function _r(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return It===null?dt.memoizedState=It=e:It=It.next=e,It}function Yn(){if(_t===null){var e=dt.alternate;e=e!==null?e.memoizedState:null}else e=_t.next;var t=It===null?dt.memoizedState:It.next;if(t!==null)It=t,_t=e;else{if(e===null)throw Error(Y(310));_t=e,e={memoizedState:_t.memoizedState,baseState:_t.baseState,baseQueue:_t.baseQueue,queue:_t.queue,next:null},It===null?dt.memoizedState=It=e:It=It.next=e}return It}function nc(e,t){return typeof t=="function"?t(e):t}function Mh(e){var t=Yn(),n=t.queue;if(n===null)throw Error(Y(311));n.lastRenderedReducer=e;var r=_t,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,c=s;do{var u=c.lane;if((ro&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=f,o=r):l=l.next=f,dt.lanes|=u,io|=u}c=c.next}while(c!==null&&c!==s);l===null?o=r:l.next=a,kr(r,t.memoizedState)||(gn=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,dt.lanes|=s,io|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Rh(e){var t=Yn(),n=t.queue;if(n===null)throw Error(Y(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);kr(s,t.memoizedState)||(gn=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function wC(){}function bC(e,t){var n=dt,r=Yn(),i=t(),s=!kr(r.memoizedState,i);if(s&&(r.memoizedState=i,gn=!0),r=r.queue,_y(CC.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||It!==null&&It.memoizedState.tag&1){if(n.flags|=2048,rc(9,SC.bind(null,n,r,i,t),void 0,null),Dt===null)throw Error(Y(349));ro&30||kC(n,t,i)}return i}function kC(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=dt.updateQueue,t===null?(t={lastEffect:null,stores:null},dt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function SC(e,t,n,r){t.value=n,t.getSnapshot=r,EC(t)&&TC(e)}function CC(e,t,n){return n(function(){EC(t)&&TC(e)})}function EC(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kr(e,n)}catch{return!0}}function TC(e){var t=hi(e,1);t!==null&&vr(t,e,1,-1)}function A0(e){var t=_r();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:nc,lastRenderedState:e},t.queue=e,e=e.dispatch=FR.bind(null,dt,e),[t.memoizedState,e]}function rc(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=dt.updateQueue,t===null?(t={lastEffect:null,stores:null},dt.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function PC(){return Yn().memoizedState}function Lu(e,t,n,r){var i=_r();dt.flags|=e,i.memoizedState=rc(1|t,n,void 0,r===void 0?null:r)}function ff(e,t,n,r){var i=Yn();r=r===void 0?null:r;var s=void 0;if(_t!==null){var o=_t.memoizedState;if(s=o.destroy,r!==null&&Py(r,o.deps)){i.memoizedState=rc(t,n,s,r);return}}dt.flags|=e,i.memoizedState=rc(1|t,n,s,r)}function M0(e,t){return Lu(8390656,8,e,t)}function _y(e,t){return ff(2048,8,e,t)}function jC(e,t){return ff(4,2,e,t)}function NC(e,t){return ff(4,4,e,t)}function _C(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function AC(e,t,n){return n=n!=null?n.concat([e]):null,ff(4,4,_C.bind(null,t,e),n)}function Ay(){}function MC(e,t){var n=Yn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Py(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function RC(e,t){var n=Yn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Py(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function IC(e,t,n){return ro&21?(kr(n,t)||(n=VS(),dt.lanes|=n,io|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,gn=!0),e.memoizedState=n)}function OR(e,t){var n=qe;qe=n!==0&&4>n?n:4,e(!0);var r=Ah.transition;Ah.transition={};try{e(!1),t()}finally{qe=n,Ah.transition=r}}function DC(){return Yn().memoizedState}function LR(e,t,n){var r=es(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},OC(e))LC(t,n);else if(n=yC(e,t,n,r),n!==null){var i=cn();vr(n,e,r,i),FC(n,t,r)}}function FR(e,t,n){var r=es(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(OC(e))LC(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,kr(a,o)){var l=t.interleaved;l===null?(i.next=i,ky(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=yC(e,t,i,r),n!==null&&(i=cn(),vr(n,e,r,i),FC(n,t,r))}}function OC(e){var t=e.alternate;return e===dt||t!==null&&t===dt}function LC(e,t){Pl=wd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function FC(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ly(e,n)}}var bd={readContext:Gn,useCallback:Ht,useContext:Ht,useEffect:Ht,useImperativeHandle:Ht,useInsertionEffect:Ht,useLayoutEffect:Ht,useMemo:Ht,useReducer:Ht,useRef:Ht,useState:Ht,useDebugValue:Ht,useDeferredValue:Ht,useTransition:Ht,useMutableSource:Ht,useSyncExternalStore:Ht,useId:Ht,unstable_isNewReconciler:!1},VR={readContext:Gn,useCallback:function(e,t){return _r().memoizedState=[e,t===void 0?null:t],e},useContext:Gn,useEffect:M0,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Lu(4194308,4,_C.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Lu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Lu(4,2,e,t)},useMemo:function(e,t){var n=_r();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_r();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=LR.bind(null,dt,e),[r.memoizedState,e]},useRef:function(e){var t=_r();return e={current:e},t.memoizedState=e},useState:A0,useDebugValue:Ay,useDeferredValue:function(e){return _r().memoizedState=e},useTransition:function(){var e=A0(!1),t=e[0];return e=OR.bind(null,e[1]),_r().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=dt,i=_r();if(ot){if(n===void 0)throw Error(Y(407));n=n()}else{if(n=t(),Dt===null)throw Error(Y(349));ro&30||kC(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,M0(CC.bind(null,r,s,e),[e]),r.flags|=2048,rc(9,SC.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=_r(),t=Dt.identifierPrefix;if(ot){var n=li,r=ai;n=(r&~(1<<32-xr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=tc++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=DR++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},BR={readContext:Gn,useCallback:MC,useContext:Gn,useEffect:_y,useImperativeHandle:AC,useInsertionEffect:jC,useLayoutEffect:NC,useMemo:RC,useReducer:Mh,useRef:PC,useState:function(){return Mh(nc)},useDebugValue:Ay,useDeferredValue:function(e){var t=Yn();return IC(t,_t.memoizedState,e)},useTransition:function(){var e=Mh(nc)[0],t=Yn().memoizedState;return[e,t]},useMutableSource:wC,useSyncExternalStore:bC,useId:DC,unstable_isNewReconciler:!1},zR={readContext:Gn,useCallback:MC,useContext:Gn,useEffect:_y,useImperativeHandle:AC,useInsertionEffect:jC,useLayoutEffect:NC,useMemo:RC,useReducer:Rh,useRef:PC,useState:function(){return Rh(nc)},useDebugValue:Ay,useDeferredValue:function(e){var t=Yn();return _t===null?t.memoizedState=e:IC(t,_t.memoizedState,e)},useTransition:function(){var e=Rh(nc)[0],t=Yn().memoizedState;return[e,t]},useMutableSource:wC,useSyncExternalStore:bC,useId:DC,unstable_isNewReconciler:!1};function cr(e,t){if(e&&e.defaultProps){t=ft({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function mm(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ft({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var hf={isMounted:function(e){return(e=e._reactInternals)?yo(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cn(),i=es(e),s=ui(r,i);s.payload=t,n!=null&&(s.callback=n),t=Xi(e,s,i),t!==null&&(vr(t,e,i,r),Du(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cn(),i=es(e),s=ui(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=Xi(e,s,i),t!==null&&(vr(t,e,i,r),Du(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cn(),r=es(e),i=ui(n,r);i.tag=2,t!=null&&(i.callback=t),t=Xi(e,i,r),t!==null&&(vr(t,e,r,n),Du(t,e,r))}};function R0(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Yl(n,r)||!Yl(i,s):!0}function VC(e,t,n){var r=!1,i=as,s=t.contextType;return typeof s=="object"&&s!==null?s=Gn(s):(i=xn(t)?to:Xt.current,r=t.contextTypes,s=(r=r!=null)?ma(e,i):as),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=hf,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function I0(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&hf.enqueueReplaceState(t,t.state,null)}function gm(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Sy(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=Gn(s):(s=xn(t)?to:Xt.current,i.context=ma(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(mm(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&hf.enqueueReplaceState(i,i.state,null),xd(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function va(e,t){try{var n="",r=t;do n+=mM(r),r=r.return;while(r);var i=n}catch(s){i=` 39Error generating stack: `+s.message+` 40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Ih(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ym(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $R=typeof WeakMap=="function"?WeakMap:Map;function BC(e,t,n){n=ui(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Sd||(Sd=!0,Pm=r),ym(e,t)},n}
vendor: 9,303 bytes, line 40
40function zC(e,t,n){n=ui(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ym(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){ym(e,t),typeof r!="function"&&(Ji===null?Ji=new Set([this]):Ji.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function D0(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $R;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=nI.bind(null,e,t,n),t.then(e,e))}function O0(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function L0(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ui(-1,1),t.tag=2,Xi(n,t,1))),n.lanes|=1),e)}var UR=wi.ReactCurrentOwner,gn=!1;function nn(e,t,n,r){t.child=e===null?gC(t,null,n,r):ya(t,e.child,n,r)}function F0(e,t,n,r,i){n=n.render;var s=t.ref;return Qo(t,i),r=jy(e,t,n,r,s,i),n=Ny(),e!==null&&!gn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,pi(e,t,i)):(ot&&n&&gy(t),t.flags|=1,nn(e,t,r,i),t.child)}function V0(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Vy(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,$C(e,t,s,r,i)):(e=zu(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Yl,n(o,r)&&e.ref===t.ref)return pi(e,t,i)}return t.flags|=1,e=ts(s,r),e.ref=t.ref,e.return=t,t.child=e}function $C(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Yl(s,r)&&e.ref===t.ref)if(gn=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(gn=!0);else return t.lanes=e.lanes,pi(e,t,i)}return xm(e,t,n,r,i)}function UC(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Je($o,Sn),Sn|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Je($o,Sn),Sn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Je($o,Sn),Sn|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,Je($o,Sn),Sn|=r;return nn(e,t,i,n),t.child}function WC(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xm(e,t,n,r,i){var s=xn(n)?to:Xt.current;return s=ma(t,s),Qo(t,i),n=jy(e,t,n,r,s,i),r=Ny(),e!==null&&!gn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,pi(e,t,i)):(ot&&r&&gy(t),t.flags|=1,nn(e,t,n,i),t.child)}function B0(e,t,n,r,i){if(xn(n)){var s=!0;hd(t)}else s=!1;if(Qo(t,i),t.stateNode===null)Fu(e,t),VC(t,n,r),gm(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Gn(c):(c=xn(n)?to:Xt.current,c=ma(t,c));var u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==c)&&I0(t,o,r,c),Ii=!1;var h=t.memoizedState;o.state=h,xd(t,r,o,i),l=t.memoizedState,a!==r||h!==l||yn.current||Ii?(typeof u=="function"&&(mm(t,n,u,r),l=t.memoizedState),(a=Ii||R0(t,n,a,r,h,l,c))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,xC(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:cr(t.type,a),o.props=c,f=t.pendingProps,h=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Gn(l):(l=xn(n)?to:Xt.current,l=ma(t,l));var p=n.getDerivedStateFromProps;(u=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==f||h!==l)&&I0(t,o,r,l),Ii=!1,h=t.memoizedState,o.state=h,xd(t,r,o,i);var v=t.memoizedState;a!==f||h!==v||yn.current||Ii?(typeof p=="function"&&(mm(t,n,p,r),v=t.memoizedState),(c=Ii||R0(t,n,c,r,h,v,l)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=l,r=c):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return vm(e,t,n,r,s,i)}function vm(e,t,n,r,i,s){WC(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&E0(t,n,!1),pi(e,t,s);r=t.stateNode,UR.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=ya(t,e.child,null,s),t.child=ya(t,null,a,s)):nn(e,t,a,s),t.memoizedState=r.state,i&&E0(t,n,!0),t.child}function HC(e){var t=e.stateNode;t.pendingContext?C0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&C0(e,t.context,!1),Cy(e,t.containerInfo)}function z0(e,t,n,r,i){return ga(),xy(i),t.flags|=256,nn(e,t,n,r),t.child}var wm={dehydrated:null,treeContext:null,retryLane:0};function bm(e){return{baseLanes:e,cachePool:null,transitions:null}}function KC(e,t,n){var r=t.pendingProps,i=lt.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Je(lt,i&1),e===null)return hm(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=gf(o,r,0,null),e=Js(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=bm(n),t.memoizedState=wm,e):My(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return WR(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ts(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=ts(a,s):(s=Js(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?bm(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=wm,r}return s=e.child,e=s.sibling,r=ts(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function My(e,t){return t=gf({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function lu(e,t,n,r){return r!==null&&xy(r),ya(t,e.child,null,n),e=My(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function WR(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Ih(Error(Y(422))),lu(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=gf({mode:"visible",children:r.children},i,0,null),s=Js(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&ya(t,e.child,null,o),t.child.memoizedState=bm(o),t.memoizedState=wm,s);if(!(t.mode&1))return lu(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(Y(419)),r=Ih(s,r,void 0),lu(e,t,o,r)}if(a=(o&e.childLanes)!==0,gn||a){if(r=Dt,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,hi(e,i),vr(r,e,i,-1))}return Fy(),r=Ih(Error(Y(421))),lu(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=rI.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,Tn=Qi(i.nextSibling),Pn=t,ot=!0,pr=null,e!==null&&(Bn[zn++]=ai,Bn[zn++]=li,Bn[zn++]=no,ai=e.id,li=e.overflow,no=t),t=My(t,r.children),t.flags|=4096,t)}
vendor: 6,286 bytes, line 40
40function $0(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),pm(e.return,t,n)}function Dh(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function qC(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(nn(e,t,r.children,n),r=lt.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$0(e,n,t);else if(e.tag===19)$0(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Je(lt,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&vd(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Dh(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&vd(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Dh(t,!0,n,null,s);break;case"together":Dh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fu(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function pi(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),io|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Y(153));if(t.child!==null){for(e=t.child,n=ts(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ts(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function HR(e,t,n){switch(t.tag){case 3:HC(t),ga();break;case 5:vC(t);break;case 1:xn(t.type)&&hd(t);break;case 4:Cy(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Je(gd,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Je(lt,lt.current&1),t.flags|=128,null):n&t.child.childLanes?KC(e,t,n):(Je(lt,lt.current&1),e=pi(e,t,n),e!==null?e.sibling:null);Je(lt,lt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return qC(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Je(lt,lt.current),r)break;return null;case 22:case 23:return t.lanes=0,UC(e,t,n)}return pi(e,t,n)}var GC,km,YC,ZC;GC=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};km=function(){};YC=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Bs(Br.current);var s=null;switch(n){case"input":i=Wp(e,i),r=Wp(e,r),s=[];break;case"select":i=ft({},i,{value:void 0}),r=ft({},r,{value:void 0}),s=[];break;case"textarea":i=qp(e,i),r=qp(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=dd)}Yp(n,r);var o;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&($l.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in r){var l=r[c];if(a=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&($l.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&nt("scroll",e),s||a===l||(s=[])):(s=s||[]).push(c,l))}n&&(s=s||[]).push("style",n);var c=s;(t.updateQueue=c)&&(t.flags|=4)}};ZC=function(e,t,n,r){n!==r&&(t.flags|=4)};function el(e,t){if(!ot)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Kt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function KR(e,t,n){var r=t.pendingProps;switch(yy(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kt(t),null;case 1:return xn(t.type)&&fd(),Kt(t),null;case 3:return r=t.stateNode,xa(),rt(yn),rt(Xt),Ty(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ou(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,pr!==null&&(_m(pr),pr=null))),km(e,t),Kt(t),null;case 5:Ey(t);var i=Bs(ec.current);if(n=t.type,e!==null&&t.stateNode!=null)YC(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Y(166));return Kt(t),null}if(e=Bs(Br.current),ou(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Dr]=t,r[Xl]=s,e=(t.mode&1)!==0,n){case"dialog":nt("cancel",r),nt("close",r);break;case"iframe":case"object":case"embed":nt("load",r);break;case"video":case"audio":for(i=0;i<gl.length;i++)nt(gl[i],r);break;case"source":nt("error",r);break;case"img":case"image":case"link":nt("error",r),nt("load",r);break;case"details":nt("toggle",r);break;case"input":Qv(r,s),nt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},nt("invalid",r);break;case"textarea":Jv(r,s),nt("invalid",r)}Yp(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];
vendor: 32,503 bytes, line 40
40o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&su(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&su(r.textContent,a,e),i=["children",""+a]):$l.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&nt("scroll",r)}switch(n){case"input":Qc(r),Xv(r,s,!0);break;case"textarea":Qc(r),e0(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=dd)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=CS(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Dr]=t,e[Xl]=r,GC(e,t,!1,!1),t.stateNode=e;e:{switch(o=Zp(n,r),n){case"dialog":nt("cancel",e),nt("close",e),i=r;break;case"iframe":case"object":case"embed":nt("load",e),i=r;break;case"video":case"audio":for(i=0;i<gl.length;i++)nt(gl[i],e);i=r;break;case"source":nt("error",e),i=r;break;case"img":case"image":case"link":nt("error",e),nt("load",e),i=r;break;case"details":nt("toggle",e),i=r;break;case"input":Qv(e,r),i=Wp(e,r),nt("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ft({},r,{value:void 0}),nt("invalid",e);break;case"textarea":Jv(e,r),i=qp(e,r),nt("invalid",e);break;default:i=r}Yp(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?PS(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ES(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ul(e,l):typeof l=="number"&&Ul(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&($l.hasOwnProperty(s)?l!=null&&s==="onScroll"&&nt("scroll",e):l!=null&&ny(e,s,l,o))}switch(n){case"input":Qc(e),Xv(e,r,!1);break;case"textarea":Qc(e),e0(e);break;case"option":r.value!=null&&e.setAttribute("value",""+os(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?qo(e,!!r.multiple,s,!1):r.defaultValue!=null&&qo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=dd)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Kt(t),null;case 6:if(e&&t.stateNode!=null)ZC(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(Y(166));if(n=Bs(ec.current),Bs(Br.current),ou(t)){if(r=t.stateNode,n=t.memoizedProps,r[Dr]=t,(s=r.nodeValue!==n)&&(e=Pn,e!==null))switch(e.tag){case 3:su(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&su(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Dr]=t,t.stateNode=r}return Kt(t),null;case 13:if(rt(lt),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ot&&Tn!==null&&t.mode&1&&!(t.flags&128))pC(),ga(),t.flags|=98560,s=!1;else if(s=ou(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(Y(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(Y(317));s[Dr]=t}else ga(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Kt(t),s=!1}else pr!==null&&(_m(pr),pr=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||lt.current&1?At===0&&(At=3):Fy())),t.updateQueue!==null&&(t.flags|=4),Kt(t),null);case 4:return xa(),km(e,t),e===null&&Zl(t.stateNode.containerInfo),Kt(t),null;case 10:return by(t.type._context),Kt(t),null;case 17:return xn(t.type)&&fd(),Kt(t),null;case 19:if(rt(lt),s=t.memoizedState,s===null)return Kt(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)el(s,!1);else{if(At!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=vd(e),o!==null){for(t.flags|=128,el(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Je(lt,lt.current&1|2),t.child}e=e.sibling}s.tail!==null&&wt()>wa&&(t.flags|=128,r=!0,el(s,!1),t.lanes=4194304)}else{if(!r)if(e=vd(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),el(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!ot)return Kt(t),null}else 2*wt()-s.renderingStartTime>wa&&n!==1073741824&&(t.flags|=128,r=!0,el(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=wt(),t.sibling=null,n=lt.current,Je(lt,r?n&1|2:n&1),t):(Kt(t),null);case 22:case 23:return Ly(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Sn&1073741824&&(Kt(t),t.subtreeFlags&6&&(t.flags|=8192)):Kt(t),null;case 24:return null;case 25:return null}throw Error(Y(156,t.tag))}function qR(e,t){switch(yy(t),t.tag){case 1:return xn(t.type)&&fd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xa(),rt(yn),rt(Xt),Ty(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ey(t),null;case 13:if(rt(lt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Y(340));ga()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return rt(lt),null;case 4:return xa(),null;case 10:return by(t.type._context),null;case 22:case 23:return Ly(),null;case 24:return null;default:return null}}var cu=!1,Gt=!1,GR=typeof WeakSet=="function"?WeakSet:Set,ae=null;function zo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){yt(e,t,r)}else n.current=null}function Sm(e,t,n){try{n()}catch(r){yt(e,t,r)}}var U0=!1;function YR(e,t){if(om=ld,e=tC(),my(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,c=0,u=0,f=e,h=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=o+i),f!==s||r!==0&&f.nodeType!==3||(l=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===i&&(a=o),h===s&&++u===r&&(l=o),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(am={focusedElem:e,selectionRange:n},ld=!1,ae=t;ae!==null;)if(t=ae,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ae=e;else for(;ae!==null;){t=ae;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,w=v.memoizedState,g=t.stateNode,x=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:cr(t.type,m),w);g.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Y(163))}}catch(k){yt(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,ae=e;break}ae=t.return}return v=U0,U0=!1,v}function jl(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Sm(t,n,s)}i=i.next}while(i!==r)}}function pf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Cm(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function QC(e){var t=e.alternate;t!==null&&(e.alternate=null,QC(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Dr],delete t[Xl],delete t[um],delete t[AR],delete t[MR])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function XC(e){return e.tag===5||e.tag===3||e.tag===4}function W0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||XC(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Em(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=dd));else if(r!==4&&(e=e.child,e!==null))for(Em(e,t,n),e=e.sibling;e!==null;)Em(e,t,n),e=e.sibling}function Tm(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Tm(e,t,n),e=e.sibling;e!==null;)Tm(e,t,n),e=e.sibling}var Lt=null,hr=!1;function Ti(e,t,n){for(n=n.child;n!==null;)JC(e,t,n),n=n.sibling}function JC(e,t,n){if(Vr&&typeof Vr.onCommitFiberUnmount=="function")try{Vr.onCommitFiberUnmount(of,n)}catch{}switch(n.tag){case 5:Gt||zo(n,t);case 6:var r=Lt,i=hr;Lt=null,Ti(e,t,n),Lt=r,hr=i,Lt!==null&&(hr?(e=Lt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Lt.removeChild(n.stateNode));break;case 18:Lt!==null&&(hr?(e=Lt,n=n.stateNode,e.nodeType===8?jh(e.parentNode,n):e.nodeType===1&&jh(e,n),ql(e)):jh(Lt,n.stateNode));break;case 4:r=Lt,i=hr,Lt=n.stateNode.containerInfo,hr=!0,Ti(e,t,n),Lt=r,hr=i;break;case 0:case 11:case 14:case 15:if(!Gt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Sm(n,t,o),i=i.next}while(i!==r)}Ti(e,t,n);break;case 1:if(!Gt&&(zo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){yt(n,t,a)}Ti(e,t,n);break;case 21:Ti(e,t,n);break;case 22:n.mode&1?(Gt=(r=Gt)||n.memoizedState!==null,Ti(e,t,n),Gt=r):Ti(e,t,n);break;default:Ti(e,t,n)}}function H0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new GR),t.forEach(function(r){var i=iI.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ir(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Lt=a.stateNode,hr=!1;break e;case 3:Lt=a.stateNode.containerInfo,hr=!0;break e;case 4:Lt=a.stateNode.containerInfo,hr=!0;break e}a=a.return}if(Lt===null)throw Error(Y(160));JC(s,o,i),Lt=null,hr=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){yt(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)eE(t,e),t=t.sibling}function eE(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ir(t,e),Nr(e),r&4){try{jl(3,e,e.return),pf(3,e)}catch(m){yt(e,e.return,m)}try{jl(5,e,e.return)}catch(m){yt(e,e.return,m)}}break;case 1:ir(t,e),Nr(e),r&512&&n!==null&&zo(n,n.return);break;case 5:if(ir(t,e),Nr(e),r&512&&n!==null&&zo(n,n.return),e.flags&32){var i=e.stateNode;try{Ul(i,"")}catch(m){yt(e,e.return,m)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&kS(i,s),Zp(a,o);var c=Zp(a,s);for(o=0;o<l.length;o+=2){var u=l[o],f=l[o+1];u==="style"?PS(i,f):u==="dangerouslySetInnerHTML"?ES(i,f):u==="children"?Ul(i,f):ny(i,u,f,c)}switch(a){case"input":Hp(i,s);break;case"textarea":SS(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?qo(i,!!s.multiple,p,!1):h!==!!s.multiple&&(s.defaultValue!=null?qo(i,!!s.multiple,s.defaultValue,!0):qo(i,!!s.multiple,s.multiple?[]:"",!1))}i[Xl]=s}catch(m){yt(e,e.return,m)}}break;case 6:if(ir(t,e),Nr(e),r&4){if(e.stateNode===null)throw Error(Y(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(m){yt(e,e.return,m)}}break;case 3:if(ir(t,e),Nr(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ql(t.containerInfo)}catch(m){yt(e,e.return,m)}break;case 4:ir(t,e),Nr(e);break;case 13:ir(t,e),Nr(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(Dy=wt())),r&4&&H0(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Gt=(c=Gt)||u,ir(t,e),Gt=c):ir(t,e),Nr(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(ae=e,u=e.child;u!==null;){for(f=ae=u;ae!==null;){switch(h=ae,p=h.child,h.tag){case 0:case 11:case 14:case 15:jl(4,h,h.return);break;case 1:zo(h,h.return);var v=h.stateNode;if(typeof v.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){yt(r,n,m)}}break;case 5:zo(h,h.return);break;case 22:if(h.memoizedState!==null){q0(f);continue}}p!==null?(p.return=h,ae=p):q0(f)}u=u.sibling}e:for(u=null,f=e;;){if(f.tag===5){if(u===null){u=f;try{i=f.stateNode,c?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=f.stateNode,l=f.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=TS("display",o))}catch(m){yt(e,e.return,m)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(m){yt(e,e.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ir(t,e),Nr(e),r&4&&H0(e);break;case 21:break;default:ir(t,e),Nr(e)}}function Nr(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(XC(n)){var r=n;break e}n=n.return}throw Error(Y(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ul(i,""),r.flags&=-33);var s=W0(e);Tm(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=W0(e);Em(e,a,o);break;default:throw Error(Y(161))}}catch(l){yt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ZR(e,t,n){ae=e,tE(e)}function tE(e,t,n){for(var r=(e.mode&1)!==0;ae!==null;){var i=ae,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||cu;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Gt;a=cu;var c=Gt;if(cu=o,(Gt=l)&&!c)for(ae=i;ae!==null;)o=ae,l=o.child,o.tag===22&&o.memoizedState!==null?G0(i):l!==null?(l.return=o,ae=l):G0(i);for(;s!==null;)ae=s,tE(s),s=s.sibling;ae=i,cu=a,Gt=c}K0(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,ae=s):K0(e)}}function K0(e){for(;ae!==null;){var t=ae;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Gt||pf(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Gt)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:cr(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&_0(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}_0(t,o,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&ql(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Y(163))}Gt||t.flags&512&&Cm(t)}catch(h){yt(t,t.return,h)}}if(t===e){ae=null;break}if(n=t.sibling,n!==null){n.return=t.return,ae=n;break}ae=t.return}}function q0(e){for(;ae!==null;){var t=ae;if(t===e){ae=null;break}var n=t.sibling;if(n!==null){n.return=t.return,ae=n;break}ae=t.return}}function G0(e){for(;ae!==null;){var t=ae;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{pf(4,t)}catch(l){yt(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){yt(t,i,l)}}var s=t.return;try{Cm(t)}catch(l){yt(t,s,l)}break;case 5:var o=t.return;try{Cm(t)}catch(l){yt(t,o,l)}}}catch(l){yt(t,t.return,l)}if(t===e){ae=null;break}var a=t.sibling;if(a!==null){a.return=t.return,ae=a;break}ae=t.return}}var QR=Math.ceil,kd=wi.ReactCurrentDispatcher,Ry=wi.ReactCurrentOwner,Hn=wi.ReactCurrentBatchConfig,Ve=0,Dt=null,Pt=null,Vt=0,Sn=0,$o=ys(0),At=0,ic=null,io=0,mf=0,Iy=0,Nl=null,mn=null,Dy=0,wa=1/0,ni=null,Sd=!1,Pm=null,Ji=null,uu=!1,Wi=null,Cd=0,_l=0,jm=null,Vu=-1,Bu=0;function cn(){return Ve&6?wt():Vu!==-1?Vu:Vu=wt()}function es(e){return e.mode&1?Ve&2&&Vt!==0?Vt&-Vt:IR.transition!==null?(Bu===0&&(Bu=VS()),Bu):(e=qe,e!==0||(e=window.event,e=e===void 0?16:KS(e.type)),e):1}function vr(e,t,n,r){if(50<_l)throw _l=0,jm=null,Error(Y(185));Pc(e,n,r),(!(Ve&2)||e!==Dt)&&(e===Dt&&(!(Ve&2)&&(mf|=n),At===4&&Li(e,Vt)),vn(e,r),n===1&&Ve===0&&!(t.mode&1)&&(wa=wt()+500,df&&xs()))}function vn(e,t){var n=e.callbackNode;IM(e,t);var r=ad(e,e===Dt?Vt:0);if(r===0)n!==null&&r0(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&r0(n),t===1)e.tag===0?RR(Y0.bind(null,e)):dC(Y0.bind(null,e)),NR(function(){!(Ve&6)&&xs()}),n=null;else{switch(BS(r)){case 1:n=ay;break;case 4:n=LS;break;case 16:n=od;break;case 536870912:n=FS;break;default:n=od}n=cE(n,nE.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function nE(e,t){if(Vu=-1,Bu=0,Ve&6)throw Error(Y(327));var n=e.callbackNode;if(Xo()&&e.callbackNode!==n)return null;var r=ad(e,e===Dt?Vt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ed(e,r);else{t=r;var i=Ve;Ve|=2;var s=iE();(Dt!==e||Vt!==t)&&(ni=null,wa=wt()+500,Xs(e,t));do try{eI();break}catch(a){rE(e,a)}while(!0);wy(),kd.current=s,Ve=i,Pt!==null?t=0:(Dt=null,Vt=0,t=At)}if(t!==0){if(t===2&&(i=tm(e),i!==0&&(r=i,t=Nm(e,i))),t===1)throw n=ic,Xs(e,0),Li(e,r),vn(e,wt()),n;if(t===6)Li(e,r);else{if(i=e.current.alternate,!(r&30)&&!XR(i)&&(t=Ed(e,r),t===2&&(s=tm(e),s!==0&&(r=s,t=Nm(e,s))),t===1))throw n=ic,Xs(e,0),Li(e,r),vn(e,wt()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(Y(345));case 2:As(e,mn,ni);break;case 3:if(Li(e,r),(r&130023424)===r&&(t=Dy+500-wt(),10<t)){if(ad(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){cn(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=cm(As.bind(null,e,mn,ni),t);break}As(e,mn,ni);break;case 4:if(Li(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-xr(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=wt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*QR(r/1960))-r,10<r){e.timeoutHandle=cm(As.bind(null,e,mn,ni),r);break}As(e,mn,ni);break;case 5:As(e,mn,ni);break;default:throw Error(Y(329))}}}return vn(e,wt()),e.callbackNode===n?nE.bind(null,e):null}function Nm(e,t){var n=Nl;return e.current.memoizedState.isDehydrated&&(Xs(e,t).flags|=256),e=Ed(e,t),e!==2&&(t=mn,mn=n,t!==null&&_m(t)),e}function _m(e){mn===null?mn=e:mn.push.apply(mn,e)}function XR(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!kr(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Li(e,t){for(t&=~Iy,t&=~mf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-xr(t),r=1<<n;e[n]=-1,t&=~r}}function Y0(e){if(Ve&6)throw Error(Y(327));Xo();var t=ad(e,0);if(!(t&1))return vn(e,wt()),null;var n=Ed(e,t);if(e.tag!==0&&n===2){var r=tm(e);r!==0&&(t=r,n=Nm(e,r))}if(n===1)throw n=ic,Xs(e,0),Li(e,t),vn(e,wt()),n;if(n===6)throw Error(Y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,As(e,mn,ni),vn(e,wt()),null}function Oy(e,t){var n=Ve;Ve|=1;try{return e(t)}finally{Ve=n,Ve===0&&(wa=wt()+500,df&&xs())}}function so(e){Wi!==null&&Wi.tag===0&&!(Ve&6)&&Xo();var t=Ve;Ve|=1;var n=Hn.transition,r=qe;try{if(Hn.transition=null,qe=1,e)return e()}finally{qe=r,Hn.transition=n,Ve=t,!(Ve&6)&&xs()}}function Ly(){Sn=$o.current,rt($o)}function Xs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,jR(n)),Pt!==null)for(n=Pt.return;n!==null;){var r=n;switch(yy(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&fd();break;case 3:xa(),rt(yn),rt(Xt),Ty();break;case 5:Ey(r);break;case 4:xa();break;case 13:rt(lt);break;case 19:rt(lt);break;case 10:by(r.type._context);break;case 22:case 23:Ly()}n=n.return}if(Dt=e,Pt=e=ts(e.current,null),Vt=Sn=t,At=0,ic=null,Iy=mf=io=0,mn=Nl=null,Vs!==null){for(t=0;t<Vs.length;t++)if(n=Vs[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Vs=null}return e}function rE(e,t){do{var n=Pt;try{if(wy(),Ou.current=bd,wd){for(var r=dt.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}wd=!1}if(ro=0,It=_t=dt=null,Pl=!1,tc=0,Ry.current=null,n===null||n.return===null){At=1,ic=t,Pt=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Vt,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=a,f=u.tag;if(!(u.mode&1)&&(f===0||f===11||f===15)){var h=u.alternate;h?(u.updateQueue=h.updateQueue,u.memoizedState=h.memoizedState,u.lanes=h.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=O0(o);if(p!==null){p.flags&=-257,L0(p,o,a,s,t),p.mode&1&&D0(s,c,t),t=p,l=c;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if(!(t&1)){D0(s,c,t),Fy();break e}l=Error(Y(426))}}else if(ot&&a.mode&1){var w=O0(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),L0(w,o,a,s,t),xy(va(l,a));break e}}s=l=va(l,a),At!==4&&(At=2),Nl===null?Nl=[s]:Nl.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=BC(s,l,t);N0(s,g);break e;case 1:a=l;var x=s.type,y=s.stateNode;if(!(s.flags&128)&&(typeof x.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Ji===null||!Ji.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t;var k=zC(s,a,t);N0(s,k);break e}}s=s.return}while(s!==null)}oE(n)}catch(C){t=C,Pt===n&&n!==null&&(Pt=n=n.return);continue}break}while(!0)}function iE(){var e=kd.current;return kd.current=bd,e===null?bd:e}function Fy(){(At===0||At===3||At===2)&&(At=4),Dt===null||!(io&268435455)&&!(mf&268435455)||Li(Dt,Vt)}function Ed(e,t){var n=Ve;Ve|=2;var r=iE();(Dt!==e||Vt!==t)&&(ni=null,Xs(e,t));do try{JR();break}catch(i){rE(e,i)}while(!0);if(wy(),Ve=n,kd.current=r,Pt!==null)throw Error(Y(261));return Dt=null,Vt=0,At}function JR(){for(;Pt!==null;)sE(Pt)}function eI(){for(;Pt!==null&&!EM();)sE(Pt)}function sE(e){var t=lE(e.alternate,e,Sn);e.memoizedProps=e.pendingProps,t===null?oE(e):Pt=t,Ry.current=null}function oE(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=qR(n,t),n!==null){n.flags&=32767,Pt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{At=6,Pt=null;return}}else if(n=KR(n,t,Sn),n!==null){Pt=n;return}if(t=t.sibling,t!==null){Pt=t;return}Pt=t=e}while(t!==null);At===0&&(At=5)}function As(e,t,n){var r=qe,i=Hn.transition;try{Hn.transition=null,qe=1,tI(e,t,n,r)}finally{Hn.transition=i,qe=r}return null}function tI(e,t,n,r){do Xo();while(Wi!==null);if(Ve&6)throw Error(Y(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Y(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(DM(e,s),e===Dt&&(Pt=Dt=null,Vt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||uu||(uu=!0,cE(od,function(){return Xo(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=Hn.transition,Hn.transition=null;var o=qe;qe=1;var a=Ve;Ve|=4,Ry.current=null,YR(e,n),eE(n,e),bR(am),ld=!!om,am=om=null,e.current=n,ZR(n),TM(),Ve=a,qe=o,Hn.transition=s}else e.current=n;if(uu&&(uu=!1,Wi=e,Cd=i),s=e.pendingLanes,s===0&&(Ji=null),NM(n.stateNode),vn(e,wt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Sd)throw Sd=!1,e=Pm,Pm=null,e;return Cd&1&&e.tag!==0&&Xo(),s=e.pendingLanes,s&1?e===jm?_l++:(_l=0,jm=e):_l=0,xs(),null}function Xo(){if(Wi!==null){var e=BS(Cd),t=Hn.transition,n=qe;try{if(Hn.transition=null,qe=16>e?16:e,Wi===null)var r=!1;else{if(e=Wi,Wi=null,Cd=0,Ve&6)throw Error(Y(331));var i=Ve;for(Ve|=4,ae=e.current;ae!==null;){var s=ae,o=s.child;if(ae.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(ae=c;ae!==null;){var u=ae;switch(u.tag){case 0:case 11:case 15:jl(8,u,s)}var f=u.child;if(f!==null)f.return=u,ae=f;else for(;ae!==null;){u=ae;var h=u.sibling,p=u.return;if(QC(u),u===c){ae=null;break}if(h!==null){h.return=p,ae=h;break}ae=p}}}var v=s.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}ae=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,ae=o;else e:for(;ae!==null;){if(s=ae,s.flags&2048)switch(s.tag){case 0:case 11:case 15:jl(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,ae=g;break e}ae=s.return}}var x=e.current;for(ae=x;ae!==null;){o=ae;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,ae=y;else e:for(o=x;ae!==null;){if(a=ae,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:pf(9,a)}}catch(C){yt(a,a.return,C)}if(a===o){ae=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,ae=k;break e}ae=a.return}}if(Ve=i,xs(),Vr&&typeof Vr.onPostCommitFiberRoot=="function")try{Vr.onPostCommitFiberRoot(of,e)}catch{}r=!0}return r}finally{qe=n,Hn.transition=t}}return!1}function Z0(e,t,n){t=va(n,t),t=BC(e,t,1),e=Xi(e,t,1),t=cn(),e!==null&&(Pc(e,1,t),vn(e,t))}function yt(e,t,n){if(e.tag===3)Z0(e,e,n);else for(;t!==null;){if(t.tag===3){Z0(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ji===null||!Ji.has(r))){e=va(n,e),e=zC(t,e,1),t=Xi(t,e,1),e=cn(),t!==null&&(Pc(t,1,e),vn(t,e));break}}t=t.return}}function nI(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=cn(),e.pingedLanes|=e.suspendedLanes&n,Dt===e&&(Vt&n)===n&&(At===4||At===3&&(Vt&130023424)===Vt&&500>wt()-Dy?Xs(e,0):Iy|=n),vn(e,t)}function aE(e,t){t===0&&(e.mode&1?(t=eu,eu<<=1,!(eu&130023424)&&(eu=4194304)):t=1);var n=cn();e=hi(e,t),e!==null&&(Pc(e,t,n),vn(e,n))}function rI(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),aE(e,n)}function iI(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Y(314))}r!==null&&r.delete(t),aE(e,n)}var lE;lE=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||yn.current)gn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return gn=!1,HR(e,t,n);gn=!!(e.flags&131072)}else gn=!1,ot&&t.flags&1048576&&fC(t,md,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fu(e,t),e=t.pendingProps;var i=ma(t,Xt.current);Qo(t,n),i=jy(null,t,r,e,i,n);var s=Ny();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xn(r)?(s=!0,hd(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Sy(t),i.updater=hf,t.stateNode=i,i._reactInternals=t,gm(t,r,e,n),t=vm(null,t,r,!0,s,n)):(t.tag=0,ot&&s&&gy(t),nn(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fu(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=oI(r),e=cr(r,e),i){case 0:t=xm(null,t,r,e,n);break e;case 1:t=B0(null,t,r,e,n);break e;case 11:t=F0(null,t,r,e,n);break e;case 14:t=V0(null,t,r,cr(r.type,e),n);break e}throw Error(Y(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:cr(r,i),xm(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:cr(r,i),B0(e,t,r,i,n);case 3:e:{if(HC(t),e===null)throw Error(Y(387));r=t.pendingProps,s=t.memoizedState,i=s.element,xC(e,t),xd(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=va(Error(Y(423)),t),t=z0(e,t,r,n,i);break e}else if(r!==i){i=va(Error(Y(424)),t),t=z0(e,t,r,n,i);break e}else for(Tn=Qi(t.stateNode.containerInfo.firstChild),Pn=t,ot=!0,pr=null,n=gC(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ga(),r===i){t=pi(e,t,n);break e}nn(e,t,r,n)}t=t.child}return t;case 5:return vC(t),e===null&&hm(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,lm(r,i)?o=null:s!==null&&lm(r,s)&&(t.flags|=32),WC(e,t),nn(e,t,o,n),t.child;case 6:return e===null&&hm(t),null;case 13:return KC(e,t,n);case 4:return Cy(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ya(t,null,r,n):nn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:cr(r,i),F0(e,t,r,i,n);case 7:return nn(e,t,t.pendingProps,n),t.child;case 8:return nn(e,t,t.pendingProps.children,n),t.child;case 12:return nn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Je(gd,r._currentValue),r._currentValue=o,s!==null)if(kr(s.value,o)){if(s.children===i.children&&!yn.current){t=pi(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=ui(-1,n&-n),l.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),pm(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(Y(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),pm(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}nn(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Qo(t,n),i=Gn(i),r=r(i),t.flags|=1,nn(e,t,r,n),t.child;case 14:return r=t.type,i=cr(r,t.pendingProps),i=cr(r.type,i),V0(e,t,r,i,n);case 15:return $C(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:cr(r,i),Fu(e,t),t.tag=1,xn(r)?(e=!0,hd(t)):e=!1,Qo(t,n),VC(t,r,i),gm(t,r,i,n),vm(null,t,r,!0,e,n);case 19:return qC(e,t,n);case 22:return UC(e,t,n)}throw Error(Y(156,t.tag))};function cE(e,t){return OS(e,t)}function sI(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Un(e,t,n,r){return new sI(e,t,n,r)}function Vy(e){return e=e.prototype,!(!e||!e.isReactComponent)}function oI(e){if(typeof e=="function")return Vy(e)?1:0;if(e!=null){if(e=e.$$typeof,e===iy)return 11;if(e===sy)return 14}return 2}function ts(e,t){var n=e.alternate;return n===null?(n=Un(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deleti
vendor: 5,546 bytes, line 40
40ons=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zu(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Vy(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Mo:return Js(n.children,i,s,t);case ry:o=8,i|=8;break;case Bp:return e=Un(12,n,t,i|2),e.elementType=Bp,e.lanes=s,e;case zp:return e=Un(13,n,t,i),e.elementType=zp,e.lanes=s,e;case $p:return e=Un(19,n,t,i),e.elementType=$p,e.lanes=s,e;case vS:return gf(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yS:o=10;break e;case xS:o=9;break e;case iy:o=11;break e;case sy:o=14;break e;case Ri:o=16,r=null;break e}throw Error(Y(130,e==null?e:typeof e,""))}return t=Un(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Js(e,t,n,r){return e=Un(7,e,r,t),e.lanes=n,e}function gf(e,t,n,r){return e=Un(22,e,r,t),e.elementType=vS,e.lanes=n,e.stateNode={isHidden:!1},e}function Oh(e,t,n){return e=Un(6,e,null,t),e.lanes=n,e}function Lh(e,t,n){return t=Un(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function aI(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yh(0),this.expirationTimes=yh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yh(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function By(e,t,n,r,i,s,o,a,l){return e=new aI(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Un(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sy(s),e}function lI(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ao,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function uE(e){if(!e)return as;e=e._reactInternals;e:{if(yo(e)!==e||e.tag!==1)throw Error(Y(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(xn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(Y(171))}if(e.tag===1){var n=e.type;if(xn(n))return uC(e,n,t)}return t}function dE(e,t,n,r,i,s,o,a,l){return e=By(n,r,!0,e,i,s,o,a,l),e.context=uE(null),n=e.current,r=cn(),i=es(n),s=ui(r,i),s.callback=t??null,Xi(n,s,i),e.current.lanes=i,Pc(e,i,r),vn(e,r),e}function yf(e,t,n,r){var i=t.current,s=cn(),o=es(i);return n=uE(n),t.context===null?t.context=n:t.pendingContext=n,t=ui(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Xi(i,t,o),e!==null&&(vr(e,i,o,s),Du(e,i,o)),o}function Td(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Q0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function zy(e,t){Q0(e,t),(e=e.alternate)&&Q0(e,t)}function cI(){return null}var fE=typeof reportError=="function"?reportError:function(e){console.error(e)};function $y(e){this._internalRoot=e}xf.prototype.render=$y.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Y(409));yf(e,t,null,null)};xf.prototype.unmount=$y.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;so(function(){yf(null,e,null,null)}),t[fi]=null}};function xf(e){this._internalRoot=e}xf.prototype.unstable_scheduleHydration=function(e){if(e){var t=US();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Oi.length&&t!==0&&t<Oi[n].priority;n++);Oi.splice(n,0,e),n===0&&HS(e)}};function Uy(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function vf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function X0(){}function uI(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var c=Td(o);s.call(c)}}var o=dE(t,r,e,0,null,!1,!1,"",X0);return e._reactRootContainer=o,e[fi]=o.current,Zl(e.nodeType===8?e.parentNode:e),so(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var c=Td(l);a.call(c)}}var l=By(e,0,!1,null,null,!1,!1,"",X0);return e._reactRootContainer=l,e[fi]=l.current,Zl(e.nodeType===8?e.parentNode:e),so(function(){yf(t,l,n,r)}),l}function wf(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Td(o);a.call(l)}}yf(t,o,e,i)}else o=uI(n,t,e,i,r);return Td(o)}zS=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ml(t.pendingLanes);n!==0&&(ly(t,n|1),vn(t,wt()),!(Ve&6)&&(wa=wt()+500,xs()))}break;case 13:so(function(){var r=hi(e,1);if(r!==null){var i=cn();vr(r,e,1,i)}}),zy(e,1)}};cy=function(e){if(e.tag===13){var t=hi(e,134217728);if(t!==null){var n=cn();vr(t,e,134217728,n)}zy(e,134217728)}};$S=function(e){if(e.tag===13){var t=es(e),n=hi(e,t);if(n!==null){var r=cn();vr(n,e,t,r)}zy(e,t)}};US=function(){return qe};WS=function(e,t){var n=qe;try{return qe=e,t()}finally{qe=n}};
40Xp=function(e,t,n){switch(t){case"input":if(Hp(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=uf(r);if(!i)throw Error(Y(90));bS(r),Hp(r,i)}}}break;case"textarea":SS(e,n);break;case"select":t=n.value,t!=null&&qo(e,!!n.multiple,t,!1)}};_S=Oy;AS=so;var dI={usingClientEntryPoint:!1,Events:[Nc,Oo,uf,jS,NS,Oy]},tl={findFiberByHostInstance:Fs,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},fI={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=IS(e),e===null?null:e.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance||cI,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 du=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!du.isDisabled&&du.supportsFiber)try{of=du.inject(fI),Vr=du}catch{}}Mn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dI;Mn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Uy(t))throw Error(Y(200));return lI(e,t,null,n)};Mn.createRoot=function(e,t){if(!Uy(e))throw Error(Y(299));var n=!1,r="",i=fE;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=By(e,1,!1,null,null,n,!1,r,i),e[fi]=t.current,Zl(e.nodeType===8?e.parentNode:e),new $y(t)};Mn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(Y(188)):(e=Object.keys(e).join(","),Error(Y(268,e)));return e=IS(t),e=e===null?null:e.stateNode,e};Mn.flushSync=function(e){return so(e)};Mn.hydrate=function(e,t,n){if(!vf(t))throw Error(Y(200));return wf(null,e,t,!0,n)};Mn.hydrateRoot=function(e,t,n){if(!Uy(e))throw Error(Y(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=fE;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=dE(t,null,e,1,n??null,i,!1,s,o),e[fi]=t.current,Zl(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new xf(t)};Mn.render=function(e,t,n){if(!vf(t))throw Error(Y(200));return wf(null,e,t,!1,n)};Mn.unmountComponentAtNode=function(e){if(!vf(e))throw Error(Y(40));return e._reactRootContainer?(so(function(){wf(null,null,e,!1,function(){e._reactRootContainer=null,e[fi]=null})}),!0):!1};Mn.unstable_batchedUpdates=Oy;Mn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!vf(n))throw Error(Y(200));if(e==null||e._reactInternals===void 0)throw Error(Y(38));return wf(e,t,n,!1,r)};Mn.version="18.3.1-next-f1338f8080-20240426";function hE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hE)}catch(e){console.error(e)}}hE(),hS.exports=Mn;var xo=hS.exports;const pE=mo(xo);var mE,J0=xo;mE=J0.createRoot,J0.hydrateRoot;var hI=typeof Element<"u",pI=typeof Map=="function",mI=typeof Set=="function",gI=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function $u(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!$u(e[r],t[r]))return!1;return!0}var s;if(pI&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!$u(r.value[1],t.get(r.value[0])))return!1;return!0}if(mI&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(gI&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(hI&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!$u(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var yI=function(t,n){try{return $u(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const xI=mo(yI);var vI=function(e,t,n,r,i,s,o,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,s,o,a],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},wI=vI;const ew=mo(wI);var bI=function(t,n,r,i){var s=r?r.call(i,t,n):void 0;if(s!==void 0)return!!s;
40if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),a=Object.keys(n);if(o.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c<o.length;c++){var u=o[c];if(!l(u))return!1;var f=t[u],h=n[u];if(s=r?r.call(i,f,h,u):void 0,s===!1||s===void 0&&f!==h)return!1}return!0};const kI=mo(bI);var gE=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(gE||{}),Fh={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},tw=Object.values(gE),Wy={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},SI=Object.entries(Wy).reduce((e,[t,n])=>(e[n]=t,e),{}),yr="data-rh",Jo={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},ea=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},CI=e=>{let t=ea(e,"title");const n=ea(e,Jo.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=ea(e,Jo.DEFAULT_TITLE);return t||r||void 0},EI=e=>ea(e,Jo.ON_CHANGE_CLIENT_STATE)||(()=>{}),Vh=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),TI=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let s=0;s<i.length;s+=1){const a=i[s].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),PI=e=>console&&typeof console.warn=="function"&&console.warn(e),nl=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&PI(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,s)=>{const o={};s.filter(l=>{let c;const u=Object.keys(l);for(let h=0;h<u.length;h+=1){const p=u[h],v=p.toLowerCase();t.indexOf(v)!==-1&&!(c==="rel"&&l[c].toLowerCase()==="canonical")&&!(v==="rel"&&l[v].toLowerCase()==="stylesheet")&&(c=v),t.indexOf(p)!==-1&&(p==="innerHTML"||p==="cssText"||p==="itemprop")&&(c=p)}if(!c||!l[c])return!1;const f=l[c].toLowerCase();return r[c]||(r[c]={}),o[c]||(o[c]={}),r[c][f]?!1:(o[c][f]=!0,!0)}).reverse().forEach(l=>i.push(l));const a=Object.keys(o);for(let l=0;l<a.length;l+=1){const c=a[l],u={...r[c],...o[c]};r[c]=u}return i},[]).reverse()},jI=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},NI=e=>({baseTag:TI(["href"],e),bodyAttributes:Vh("bodyAttributes",e),defer:ea(e,Jo.DEFER),encode:ea(e,Jo.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Vh("htmlAttributes",e),linkTags:nl("link",["rel","href"],e),metaTags:nl("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:nl("noscript",["innerHTML"],e),onChangeClientState:EI(e),scriptTags:nl("script",["src","innerHTML"],e),styleTags:nl("style",["cssText"],e),title:CI(e),titleAttributes:Vh("titleAttributes",e),prioritizeSeoTags:jI(e,Jo.PRIORITIZE_SEO_TAGS)}),yE=e=>Array.isArray(e)?e.join(""):e,_I=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Bh=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(_I(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},nw=(e,t)=>({...e,[t]:void 0}),AI=["noscript","script","style"],Am=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),xE=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),MI=(e,t,n,r)=>{const i=xE(n),s=yE(t);return i?`<${e} ${yr}="true" ${i}>${Am(s,r)}</${e}>`:`<${e} ${yr}="true">${Am(s,r)}</${e}>`},RI=(e,t,n=!0)=>t.reduce((r,i)=>{const s=i,o=Object.keys(s).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,u)=>{const f=typeof s[u]>"u"?u:`${u}="${Am(s[u],n)}"`;return c?`${c} ${f}`:f},""),a=s.innerHTML||s.cssText||"",l=AI.indexOf(e)===-1;return`${r}<${e} ${yr}="true" ${o}${l?"/>":`>${a}</${e}>`}`},""),vE=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Wy[r];return n[i||r]=e[r],n},t),II=(e,t,n)=>{const r={key:t,[yr]:!0},i=vE(n,r);return[V.createElement("title",i,t)]},Uu=(e,t)=>t.map((n,r)=>{const i={key:r,[yr]:!0};
40return Object.keys(n).forEach(s=>{const a=Wy[s]||s;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[a]=n[s]}),V.createElement(e,i)}),Ln=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>II(e,t.title,t.titleAttributes),toString:()=>MI(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>vE(t),toString:()=>xE(t)};default:return{toComponent:()=>Uu(e,t),toString:()=>RI(e,t,n)}}},DI=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=Bh(e,Fh.meta),s=Bh(t,Fh.link),o=Bh(n,Fh.script);return{priorityMethods:{toComponent:()=>[...Uu("meta",i.priority),...Uu("link",s.priority),...Uu("script",o.priority)],toString:()=>`${Ln("meta",i.priority,r)} ${Ln("link",s.priority,r)} ${Ln("script",o.priority,r)}`},metaTags:i.default,linkTags:s.default,scriptTags:o.default}},OI=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:s,styleTags:o,title:a="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:u,metaTags:f,scriptTags:h}=e,p={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:p,linkTags:u,metaTags:f,scriptTags:h}=DI(e)),{priority:p,base:Ln("base",t,r),bodyAttributes:Ln("bodyAttributes",n,r),htmlAttributes:Ln("htmlAttributes",i,r),link:Ln("link",u,r),meta:Ln("meta",f,r),noscript:Ln("noscript",s,r),script:Ln("script",h,r),style:Ln("style",o,r),title:Ln("title",{title:a,titleAttributes:l},r)}},Mm=OI,fu=[],wE=!!(typeof window<"u"&&window.document&&window.document.createElement),Rm=class{constructor(e,t){Xr(this,"instances",[]);Xr(this,"canUseDOM",wE);Xr(this,"context");Xr(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?fu:this.instances,add:e=>{(this.canUseDOM?fu:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?fu:this.instances).indexOf(e);(this.canUseDOM?fu:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Mm({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},LI={},bE=V.createContext(LI),Hs,kE=(Hs=class extends b.Component{constructor(n){super(n);Xr(this,"helmetData");this.helmetData=new Rm(this.props.context||{},Hs.canUseDOM)}render(){return V.createElement(bE.Provider,{value:this.helmetData.value},this.props.children)}},Xr(Hs,"canUseDOM",wE),Hs),ko=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${yr}]`),i=[].slice.call(r),s=[];let o;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c))if(c==="innerHTML")l.innerHTML=a.innerHTML;else if(c==="cssText")l.styleSheet?l.styleSheet.cssText=a.cssText:l.appendChild(document.createTextNode(a.cssText));else{const u=c,f=typeof a[u]>"u"?"":a[u];l.setAttribute(c,f)}l.setAttribute(yr,"true"),i.some((c,u)=>(o=u,l.isEqualNode(c)))?i.splice(o,1):s.push(l)}),i.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),s.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:s}},Im=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(yr),i=r?r.split(","):[],s=[...i],o=Object.keys(t);for(const a of o){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),i.indexOf(a)===-1&&i.push(a);const c=s.indexOf(a);c!==-1&&s.splice(c,1)}for(let a=s.length-1;a>=0;a-=1)n.removeAttribute(s[a]);i.length===s.length?n.removeAttribute(yr):n.getAttribute(yr)!==o.join(",")&&n.setAttribute(yr,o.join(","))},FI=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=yE(e)),Im("title",t)},rw=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:s,metaTags:o,noscriptTags:a,onChangeClientState:l,scriptTags:c,styleTags:u,title:f,titleAttributes:h}=e;Im("body",r),Im("html",i),FI(f,h);const p={baseTag:ko("base",n),linkTags:ko("link",s),metaTags:ko("meta",o),noscriptTags:ko("noscript",a),scriptTags:ko("script",c),styleTags:ko("style",u)},v={},m={};Object.keys(p).forEach(w=>{const{newTags:g,oldTags:x}=p[w];g.length&&(v[w]=g),x.length&&(m[w]=p[w].oldTags)}),t&&t(),l(e,v,m)},rl=null,VI=e=>{rl&&cancelAnimationFrame(rl),e.defer?rl=requestAnimationFrame(()=>{rw(e,()=>{rl=null})}):(rw(e),rl=null)},BI=VI,iw=class extends b.Component{constructor(){super(...arguments);Xr(this,"rendered",!1)}shouldComponentUpdate(t){return!kI(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=NI(t.get().map(s=>{const o={...s.props};return delete o.context,o}));kE.canUseDOM?BI(i):Mm&&(r=Mm(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Fp,SE=(Fp=class extends b.Component{shouldComponentUpdate(e){return!xI(nw(this.props,"helmetData"),nw(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
40warnOnInvalidChildren(e,t){return ew(tw.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${tw.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),ew(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return V.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...s}=r.props,o=Object.keys(s).reduce((l,c)=>(l[SI[c]||c]=s[c],l),{});let{type:a}=r;switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,i);break;default:t=this.mapObjectTypeChildren(r,t,o,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Rm)){const i=r;r=new Rm(i.context,!0),delete n.helmetData}return r?V.createElement(iw,{...n,context:r.value}):V.createElement(bE.Consumer,null,i=>V.createElement(iw,{...n,context:i}))}},Xr(Fp,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Fp);const zI=1,$I=1e6;let zh=0;function UI(){return zh=(zh+1)%Number.MAX_SAFE_INTEGER,zh.toString()}const $h=new Map,sw=e=>{if($h.has(e))return;const t=setTimeout(()=>{$h.delete(e),Al({type:"REMOVE_TOAST",toastId:e})},$I);$h.set(e,t)},WI=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,zI)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?sw(n):e.toasts.forEach(r=>{sw(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Wu=[];let Hu={toasts:[]};function Al(e){Hu=WI(Hu,e),Wu.forEach(t=>{t(Hu)})}function HI({...e}){const t=UI(),n=i=>Al({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Al({type:"DISMISS_TOAST",toastId:t});return Al({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function CE(){const[e,t]=b.useState(Hu);return b.useEffect(()=>(Wu.push(t),()=>{const n=Wu.indexOf(t);n>-1&&Wu.splice(n,1)}),[e]),{...e,toast:HI,dismiss:n=>Al({type:"DISMISS_TOAST",toastId:n})}}function we(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function ow(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function EE(...e){return t=>{let n=!1;const r=e.map(i=>{const s=ow(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():ow(e[i],null)}}}}function Ge(...e){return b.useCallback(EE(...e),e)}function KI(e,t){const n=b.createContext(t),r=s=>{const{children:o,...a}=s,l=b.useMemo(()=>a,Object.values(a));return d.jsx(n.Provider,{value:l,children:o})};r.displayName=e+"Provider";function i(s){const o=b.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,i]}function bi(e,t=[]){let n=[];function r(s,o){const a=b.createContext(o),l=n.length;n=[...n,o];const c=f=>{var g;const{scope:h,children:p,...v}=f,m=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,w=b.useMemo(()=>v,Object.values(v));return d.jsx(m.Provider,{value:w,children:p})};c.displayName=s+"Provider";function u(f,h){var m;const p=((m=h==null?void 0:h[e])==null?void 0:m[l])||a,v=b.useContext(p);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[c,u]}const i=()=>{const s=n.map(o=>b.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,qI(i,...t)]}function qI(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:c}
vendor: 10,635 bytes, line 40
40)=>{const f=l(s)[`__scope${c}`];return{...a,...f}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function ba(e){const t=GI(e),n=b.forwardRef((r,i)=>{const{children:s,...o}=r,a=b.Children.toArray(s),l=a.find(ZI);if(l){const c=l.props.children,u=a.map(f=>f===l?b.Children.count(c)>1?b.Children.only(null):b.isValidElement(c)?c.props.children:null:f);return d.jsx(t,{...o,ref:i,children:b.isValidElement(c)?b.cloneElement(c,void 0,u):null})}return d.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var TE=ba("Slot");function GI(e){const t=b.forwardRef((n,r)=>{const{children:i,...s}=n;if(b.isValidElement(i)){const o=XI(i),a=QI(s,i.props);return i.type!==b.Fragment&&(a.ref=r?EE(r,o):o),b.cloneElement(i,a)}return b.Children.count(i)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var PE=Symbol("radix.slottable");function YI(e){const t=({children:n})=>d.jsx(d.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=PE,t}function ZI(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===PE}function QI(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function XI(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Hy(e){const t=e+"CollectionProvider",[n,r]=bi(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=m=>{const{scope:w,children:g}=m,x=V.useRef(null),y=V.useRef(new Map).current;return d.jsx(i,{scope:w,itemMap:y,collectionRef:x,children:g})};o.displayName=t;const a=e+"CollectionSlot",l=ba(a),c=V.forwardRef((m,w)=>{const{scope:g,children:x}=m,y=s(a,g),k=Ge(w,y.collectionRef);return d.jsx(l,{ref:k,children:x})});c.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",h=ba(u),p=V.forwardRef((m,w)=>{const{scope:g,children:x,...y}=m,k=V.useRef(null),C=Ge(w,k),S=s(u,g);return V.useEffect(()=>(S.itemMap.set(k,{ref:k,...y}),()=>void S.itemMap.delete(k))),d.jsx(h,{[f]:"",ref:C,children:x})});p.displayName=u;function v(m){const w=s(e+"CollectionConsumer",m);return V.useCallback(()=>{const x=w.collectionRef.current;if(!x)return[];const y=Array.from(x.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((S,P)=>y.indexOf(S.ref.current)-y.indexOf(P.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:c,ItemSlot:p},v,r]}var JI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],je=JI.reduce((e,t)=>{const n=ba(`Primitive.${t}`),r=b.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function jE(e,t){e&&xo.flushSync(()=>e.dispatchEvent(t))}function Sr(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function eD(e,t=globalThis==null?void 0:globalThis.document){const n=Sr(e);b.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var tD="DismissableLayer",Dm="dismissableLayer.update",nD="dismissableLayer.pointerDownOutside",rD="dismissableLayer.focusOutside",aw,NE=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ac=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,c=b.useContext(NE),[u,f]=b.useState(null),h=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=b.useState({}),v=Ge(t,P=>f(P)),m=Array.from(c.layers),[w]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(w),x=u?m.indexOf(u):-1,y=c.layersWithOutsidePointerEventsDisabled.size>0,k=x>=g,C=sD(P=>{const N=P.target,A=[...c.branches].some(T=>T.contains(N));!k||A||(i==null||i(P),o==null||o(P),P.defaultPrevented||a==null||a())},h),S=oD(P=>{const N=P.target;[...c.branches].some(T=>T.contains(N))||(s==null||s(P),o==null||o(P),P.defaultPrevented||a==null||a())},h);return eD(P=>{x===c.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},h),b.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(aw=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),lw(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=aw)}},[u,h,n,c]),b.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),lw())},[u,c]),b.useEffect(()=>{const P=()=>p({});return document.addEventListener(Dm,P),()=>document.removeEventListener(Dm,P)},[]),d.jsx(je.div,{...l,ref:v,style:{pointerEvents:y?k?"auto":"none":void 0,...e.style},onFocusCapture:we(e.onFocusCapture,S.onFocusCapture),onBlurCapture:we(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:we(e.onPointerDownCapture,C.onPointerDownCapture)})});Ac.displayName=tD;var iD="DismissableLayerBranch",_E=b.forwardRef((e,t)=>{const n=b.useContext(NE),r=b.useRef(null),i=Ge(t,r);return b.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),d.jsx(je.div,{...e,ref:i})});_E.displayName=iD;function sD(e,t=globalThis==null?void 0:globalThis.document){const n=Sr(e),r=b.useRef(!1),i=b.useRef(()=>{});return b.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){AE(nD,n,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function oD(e,t=globalThis==null?void 0:globalThis.document){const n=Sr(e),r=b.useRef(!1);return b.useEffect(()=>{const i=s=>{s.target&&!r.current&&AE(rD,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function lw(){const e=new CustomEvent(Dm);document.dispatchEvent(e)}function AE(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?jE(i,s):i.dispatchEvent(s)}var aD=Ac,lD=_E,Ot=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},cD="Portal",bf=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=b.useState(!1);Ot(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?pE.createPortal(d.jsx(je.div,{...r,ref:t}),o):null});bf.displayName=cD;function uD(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var vs=e=>{const{present:t,children:n}=e,r=dD(t),i=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),s=Ge(r.ref,fD(i));return typeof n=="function"||r.isPresent?b.cloneElement(i,{ref:s}):null};vs.displayName="Presence";function dD(e){const[t,n]=b.useState(),r=b.useRef(null),i=b.useRef(e),s=b.useRef("none"),o=e?"mounted":"unmounted",[a,l]=uD(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const c=hu(r.current);s.current=a==="mounted"?c:"none"},[a]),Ot(()=>{const c=r.current,u=i.current;if(u!==e){const h=s.current,p=hu(c);e?l("MOUNT"):p==="none"||(c==null?void 0:c.display)==="none"?l("UNMOUNT"):l(u&&h!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Ot(()=>{if(t){let c;const u=t.ownerDocument.defaultView??window,f=p=>{const m=hu(r.current).includes(p.animationName);if(p.target===t&&m&&(l("ANIMATION_END"),!i.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",c=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(s.current=hu(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{u.clearTimeout(c),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(c=>{r.current=c?getComputedStyle(c):null,n(c)},[])}}function hu(e){return(e==null?void 0:e.animationName)||"none"}function fD(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var hD=Jg[" useInsertionEffect ".trim().toString()]||Ot;function ls({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=pD({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const u=b.useRef(e!==void 0);b.useEffect(()=>{const f=u.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=a},[a,r])}const c=b.useCallback(u=>{var f;if(a){const h=mD(u)?u(e):u;h!==e&&((f=o.current)==null||f.call(o,h))}else s(u)},[a,e,s,o]);return[l,c]}function pD({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),i=b.useRef(n),s=b.useRef(t);return hD(()=>{s.current=t},[t]),b.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function mD(e){return typeof e=="function"}var ME=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),gD="VisuallyHidden",kf=b.forwardRef((e,t)=>
40d.jsx(je.span,{...e,ref:t,style:{...ME,...e.style}}));kf.displayName=gD;var yD=kf,Ky="ToastProvider",[qy,xD,vD]=Hy("Toast"),[RE,oQ]=bi("Toast",[vD]),[wD,Sf]=RE(Ky),IE=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=b.useState(null),[c,u]=b.useState(0),f=b.useRef(!1),h=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Ky}\`. Expected non-empty \`string\`.`),d.jsx(qy.Provider,{scope:t,children:d.jsx(wD,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:c,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>u(p=>p+1),[]),onToastRemove:b.useCallback(()=>u(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:o})})};IE.displayName=Ky;var DE="ToastViewport",bD=["F8"],Om="toast.viewportPause",Lm="toast.viewportResume",OE=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=bD,label:i="Notifications ({hotkey})",...s}=e,o=Sf(DE,n),a=xD(n),l=b.useRef(null),c=b.useRef(null),u=b.useRef(null),f=b.useRef(null),h=Ge(t,f,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=o.toastCount>0;b.useEffect(()=>{const w=g=>{var y;r.length!==0&&r.every(k=>g[k]||g.code===k)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=l.current,g=f.current;if(v&&w&&g){const x=()=>{if(!o.isClosePausedRef.current){const S=new CustomEvent(Om);g.dispatchEvent(S),o.isClosePausedRef.current=!0}},y=()=>{if(o.isClosePausedRef.current){const S=new CustomEvent(Lm);g.dispatchEvent(S),o.isClosePausedRef.current=!1}},k=S=>{!w.contains(S.relatedTarget)&&y()},C=()=>{w.contains(document.activeElement)||y()};return w.addEventListener("focusin",x),w.addEventListener("focusout",k),w.addEventListener("pointermove",x),w.addEventListener("pointerleave",C),window.addEventListener("blur",x),window.addEventListener("focus",y),()=>{w.removeEventListener("focusin",x),w.removeEventListener("focusout",k),w.removeEventListener("pointermove",x),w.removeEventListener("pointerleave",C),window.removeEventListener("blur",x),window.removeEventListener("focus",y)}}},[v,o.isClosePausedRef]);const m=b.useCallback(({tabbingDirection:w})=>{const x=a().map(y=>{const k=y.ref.current,C=[k,...ID(k)];return w==="forwards"?C:C.reverse()});return(w==="forwards"?x.reverse():x).flat()},[a]);return b.useEffect(()=>{const w=f.current;if(w){const g=x=>{var C,S,P;const y=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!y){const N=document.activeElement,A=x.shiftKey;if(x.target===w&&A){(C=c.current)==null||C.focus();return}const R=m({tabbingDirection:A?"backwards":"forwards"}),z=R.findIndex(F=>F===N);Uh(R.slice(z+1))?x.preventDefault():A?(S=c.current)==null||S.focus():(P=u.current)==null||P.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[a,m]),d.jsxs(lD,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&d.jsx(Fm,{ref:c,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"forwards"});Uh(w)}}),d.jsx(qy.Slot,{scope:n,children:d.jsx(je.ol,{tabIndex:-1,...s,ref:h})}),v&&d.jsx(Fm,{ref:u,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"backwards"});Uh(w)}})]})});OE.displayName=DE;var LE="ToastFocusProxy",Fm=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Sf(LE,n);return d.jsx(kf,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var c;const a=o.relatedTarget;!((c=s.viewport)!=null&&c.contains(a))&&r()}})});Fm.displayName=LE;var Mc="Toast",kD="toast.swipeStart",SD="toast.swipeMove",CD="toast.swipeCancel",ED="toast.swipeEnd",FE=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=ls({prop:r,defaultProp:i??!0,onChange:s,caller:Mc});return d.jsx(vs,{present:n||a,children:d.jsx(jD,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:Sr(e.onPause),onResume:Sr(e.onResume),onSwipeStart:we(e.onSwipeStart,c=>{c.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:we(e.onSwipeMove,c=>{const{x:u,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","move"),c.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:we(e.onSwipeCancel,c=>{c.currentTarget.setAttribute("data-swipe","cancel"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:we(e.onSwipeEnd,c=>{const{x:u,y:f}=c.detail.delta;c.currentTarget.setAttribute("data-swipe","end"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),c.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),c.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),c.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),l(!1)})})})});FE.displayName=Mc;var[TD,PD]=RE(Mc,{onClose(){}}),jD=b.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:c,onSwipeStart:u,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...v}=e,m=Sf(Mc,n),[w,g]=b.useState(null),x=Ge(t,F=>g(F)),y=b.useRef(null),k=b.useRef(null),C=i||m.duration,S=b.useRef(0),P=b.useRef(C),N=b.useRef(0),{onToastAdd:A,onToastRemove:T}=m,O=Sr(()=>{var W;(w==null?void 0:w.contains(document.activeElement))&&((W=m.viewport)==null||W.focus()),o()}),R=b.useCallback(F=>{!F||F===1/0||(window.clearTimeout(N.current),S.current=new Date().getTime(),N.current=window.setTimeout(O,F))},[O]);b.useEffect(()=>{const F=m.viewport;if(F){const W=()=>{R(P.current),c==null||c()},K=()=>{const H=new Date().getTime()-S.current;P.current=P.current-H,window.clearTimeout(N.current),l==null||l()};return F.addEventListener(Om,K),F.addEventListener(Lm,W),()=>{F.removeEventListener(Om,K),F.removeEventListener(Lm,W)}}},[m.viewport,C,l,c,R]),b.useEffect(()=>{s&&!m.isClosePausedRef.current&&R(C)},[s,C,m.isClosePausedRef,R]),b.useEffect(()=>(A(),()=>T()),[A,T]);const z=b.useMemo(()=>w?HE(w):null,[w]);return m.viewport?d.jsxs(d.Fragment,{children:[z&&d.jsx(ND,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:z}),d.jsx(TD,{scope:n,onClose:O,children:xo.createPortal(d.jsx(qy.ItemSlot,{scope:n,children:d.jsx(aD,{asChild:!0,onEscapeKeyDown:we(a,()=>{m.isFocusedToastEscapeKeyDownRef.current||O(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:d.jsx(je.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":m.swipeDirection,...v,ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:we(e.onKeyDown,F=>{F.key==="Escape"&&(a==null||a(F.nativeEvent),F.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,O()))}),onPointerDown:we(e.onPointerDown,F=>{F.button===0&&(y.current={x:F.clientX,y:F.clientY})}),onPointerMove:we(e.onPointerMove,F=>{if(!y.current)return;const W=F.clientX-y.current.x,K=F.clientY-y.current.y,H=!!k.current,I=["left","right"].includes(m.swipeDirection),L=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,E=I?L(0,W):0,ne=I?0:L(0,K),re=F.pointerType==="touch"?10:2,j={x:E,y:ne},oe={originalEvent:F,delta:j};H?(k.current=j,pu(SD,f,oe,{discrete:!1})):cw(j,m.swipeDirection,re)?(k.current=j,pu(kD,u,oe,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs(W)>re||Math.abs(K)>re)&&(y.current=null)}),onPointerUp:we(e.onPointerUp,F=>{const W=k.current,K=F.target;if(K.hasPointerCapture(F.pointerId)&&K.releasePointerCapture(F.pointerId),k.current=null,y.current=null,W){const H=F.currentTarget,I={originalEvent:F,delta:W};cw(W,m.swipeDirection,m.swipeThreshold)?pu(ED,p,I,{discrete:!0}):pu(CD,h,I,{discrete:!0}),H.addEventListener("click",L=>L.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),ND=e=>{const{__scopeToast:t,children:n,...r}=e,i=Sf(Mc,t),[s,o]=b.useState(!1),[a,l]=b.useState(!1);return MD(()=>o(!0)),b.useEffect(()=>{const c=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(c)},[]),a?null:d.jsx(bf,{asChild:!0,children:d.jsx(kf,{...r,children:s&&d.jsxs(d.Fragment,{children:[i.label," ",n]})})})},_D="ToastTitle",VE=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return d.jsx(je.div,{...r,ref:t})});VE.displayName=_D;var AD="ToastDescription",BE=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return d.jsx(je.div,{...r,ref:t})});BE.displayName=AD;var zE="ToastAction",$E=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?d.jsx(WE,{altText:n,asChild:!0,children:d.jsx(Gy,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${zE}\`. Expected non-empty \`string\`.`),null)});$E.displayName=zE;var UE="ToastClose",Gy=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=PD(UE,n);return d.jsx(WE,{asChild:!0,children:d.jsx(je.button,{type:"button",...r,ref:t,onClick:we(e.onClick,i.onClose)})})});Gy.displayName=UE;var WE=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return d.jsx(je.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function HE(e){const t=[];
vendor: 10,493 bytes, lines 40-155
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),RD(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...HE(r))}}),t}function pu(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?jE(i,s):i.dispatchEvent(s)}var cw=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function MD(e=()=>{}){const t=Sr(e);Ot(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function RD(e){return e.nodeType===e.ELEMENT_NODE}function ID(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Uh(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var DD=IE,KE=OE,qE=FE,GE=VE,YE=BE,ZE=$E,QE=Gy;function XE(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=XE(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function JE(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=XE(e))&&(r&&(r+=" "),r+=t);return r}const uw=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,dw=JE,Yy=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return dw(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(c=>{const u=n==null?void 0:n[c],f=s==null?void 0:s[c];if(u===null)return null;const h=uw(u)||uw(f);return i[c][h]}),a=n&&Object.entries(n).reduce((c,u)=>{let[f,h]=u;return h===void 0||(c[f]=h),c},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((c,u)=>{let{class:f,className:h,...p}=u;return Object.entries(p).every(v=>{let[m,w]=v;return Array.isArray(w)?w.includes({...s,...a}[m]):{...s,...a}[m]===w})?[...c,f,h]:c},[]);return dw(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.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 OD=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),eT=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.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 LD={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.462.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 FD=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>b.createElement("svg",{ref:l,...LD,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:eT("lucide",i),...a},[...o.map(([c,u])=>b.createElement(c,u)),...Array.isArray(s)?s:[s]]));/** 56 * @license lucide-react v0.462.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 Fe=(e,t)=>{const n=b.forwardRef(({className:r,...i},s)=>b.createElement(FD,{ref:s,iconNode:t,className:eT(`lucide-${OD(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.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 tT=Fe("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 66 * @license lucide-react v0.462.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 bt=Fe("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 71 * @license lucide-react v0.462.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 VD=Fe("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** 76 * @license lucide-react v0.462.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 BD=Fe("Baby",[["path",{d:"M9 12h.01",key:"157uk2"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M19 6.3a9 9 0 0 1 1.8 3.9 2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"5yv0yz"}]]);/** 81 * @license lucide-react v0.462.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 zD=Fe("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 86 * @license lucide-react v0.462.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 Rc=Fe("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 91 * @license lucide-react v0.462.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 zs=Fe("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 96 * @license lucide-react v0.462.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 $D=Fe("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 101 * @license lucide-react v0.462.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 UD=Fe("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 106 * @license lucide-react v0.462.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 WD=Fe("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const nT=Fe("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const Ic=Fe("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const HD=Fe("Dumbbell",[["path",{d:"M14.4 14.4 9.6 9.6",key:"ic80wn"}],["path",{d:"M18.657 21.485a2 2 0 1 1-2.829-2.828l-1.767 1.768a2 2 0 1 1-2.829-2.829l6.364-6.364a2 2 0 1 1 2.829 2.829l-1.768 1.767a2 2 0 1 1 2.828 2.829z",key:"nnl7wr"}],["path",{d:"m21.5 21.5-1.4-1.4",key:"1f1ice"}],["path",{d:"M3.9 3.9 2.5 2.5",key:"1evmna"}],["path",{d:"M6.404 12.768a2 2 0 1 1-2.829-2.829l1.768-1.767a2 2 0 1 1-2.828-2.829l2.828-2.828a2 2 0 1 1 2.829 2.828l1.767-1.768a2 2 0 1 1 2.829 2.829z",key:"yhosts"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const KD=Fe("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const qD=Fe("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const GD=Fe("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const YD=Fe("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const ZD=Fe("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const QD=Fe("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",ke
155y:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const Cf=Fe("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 161 * @license lucide-react v0.462.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const Ia=Fe("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 166 * @license lucide-react v0.462.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const XD=Fe("Medal",[["path",{d:"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",key:"143lza"}],["path",{d:"M11 12 5.12 2.2",key:"qhuxz6"}],["path",{d:"m13 12 5.88-9.8",key:"hbye0f"}],["path",{d:"M8 7h8",key:"i86dvs"}],["circle",{cx:"12",cy:"17",r:"5",key:"qbz8iq"}],["path",{d:"M12 18v-2h-.5",key:"fawc4q"}]]);/** 171 * @license lucide-react v0.462.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const JD=Fe("Menu",[["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"}]]);/** 176 * @license lucide-react v0.462.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const cs=Fe("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 181 * @license lucide-react v0.462.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree. 185 */const Zy=Fe("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 186 * @license lucide-react v0.462.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const Qy=Fe("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 191 * @license lucide-react v0.462.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const eO=Fe("Swords",[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]]);/** 196 * @license lucide-react v0.462.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const rT=Fe("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 201 * @license lucide-react v0.462.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const tO=Fe("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}
vendor: 11,157 bytes, lines 205-230
205],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const nO=Fe("Twitter",[["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"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const rO=Fe("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const iT=Fe("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const Xy=Fe("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const iO=Fe("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),Jy="-",sO=e=>{const t=aO(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Jy);return a[0]===""&&a.length!==1&&a.shift(),sT(a,t)||oO(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},sT=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?sT(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(Jy);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},fw=/^\[(.+)\]$/,oO=e=>{if(fw.test(e)){const t=fw.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},aO=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return cO(Object.entries(e.classGroups),n).forEach(([s,o])=>{Vm(o,r,s,t)}),r},Vm=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:hw(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(lO(i)){Vm(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Vm(o,hw(t,s),n,r)})})},hw=(e,t)=>{let n=e;return t.split(Jy).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},lO=e=>e.isThemeGetter,cO=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,uO=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},oT="!",dO=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let c=0,u=0,f;for(let w=0;w<a.length;w++){let g=a[w];if(c===0){if(g===i&&(r||a.slice(w,w+s)===t)){l.push(a.slice(u,w)),u=w+s;continue}if(g==="/"){f=w;continue}}g==="["?c++:g==="]"&&c--}const h=l.length===0?a:a.substring(u),p=h.startsWith(oT),v=p?h.substring(1):h,m=f&&f>u?f-u:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:m}};return n?a=>n({className:a,parseClassName:o}):o},fO=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},hO=e=>({cache:uO(e.cacheSize),parseClassName:dO(e),...sO(e)}),pO=/\s+/,mO=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(pO);let a="";for(let l=o.length-1;l>=0;l-=1){const c=o[l],{modifiers:u,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(c);let v=!!p,m=r(v?h.substring(0,p):h);if(!m){if(!v){a=c+(a.length>0?" "+a:a);continue}if(m=r(h),!m){a=c+(a.length>0?" "+a:a);continue}v=!1}const w=fO(u).join(":"),g=f?w+oT:w,x=g+m;if(s.includes(x))continue;s.push(x);const y=i(m,v);for(let k=0;k<y.length;++k){const C=y[k];s.push(g+C)}a=c+(a.length>0?" "+a:a)}return a};function gO(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=aT(t))&&(r&&(r+=" "),r+=n);return r}const aT=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=aT(e[r]))&&(n&&(n+=" "),n+=t);return n};function yO(e,...t){let n,r,i,s=o;function o(l){const c=t.reduce((u,f)=>f(u),e());return n=hO(c),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const c=r(l);if(c)return c;const u=mO(l,n);return i(l,u),u}return function(){return s(gO.apply(null,arguments))}}const tt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},lT=/^\[(?:([a-z-]+):)?(.+)\]$/i,xO=/^\d+\/\d+$/,vO=new Set(["px","full","screen"]),wO=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bO=/\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$/,kO=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,SO=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,CO=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jr=e=>ta(e)||vO.has(e)||xO.test(e),Pi=e=>Da(e,"length",MO),ta=e=>!!e&&!Number.isNaN(Number(e)),Wh=e=>Da(e,"number",ta),il=e=>!!e&&Number.isInteger(Number(e)),EO=e=>e.endsWith("%")&&ta(e.slice(0,-1)),Ne=e=>lT.test(e),ji=e=>wO.test(e),TO=new Set(["length","size","percentage"]),PO=e=>Da(e,TO,cT),jO=e=>Da(e,"position",cT),NO=new Set(["image","url"]),_O=e=>Da(e,NO,IO),AO=e=>Da(e,"",RO),sl=()=>!0,Da=(e,t,n)=>{const r=lT.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},MO=e=>bO.test(e)&&!kO.test(e),cT=()=>!1,RO=e=>SO.test(e),IO=e=>CO.test(e),DO=()=>{const e=tt("colors"),t=tt("spacing"),n=tt("blur"),r=tt("brightness"),i=tt("borderColor"),s=tt("borderRadius"),o=tt("borderSpacing"),a=tt("borderWidth"),l=tt("contrast"),c=tt("grayscale"),u=tt("hueRotate"),f=tt("invert"),h=tt("gap"),p=tt("gradientColorStops"),v=tt("gradientColorStopPositions"),m=tt("inset"),w=tt("margin"),g=tt("opacity"),x=tt("padding"),y=tt("saturate"),k=tt("scale"),C=tt("sepia"),S=tt("skew"),P=tt("space"),N=tt("translate"),A=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",Ne,t],R=()=>[Ne,t],z=()=>["",Jr,Pi],F=()=>["auto",ta,Ne],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",Ne],E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[ta,Ne];return{cacheSize:500,separator:":",theme:{colors:[sl],spacing:[Jr,Pi],blur:["none","",ji,Ne],brightness:ne(),borderColor:[e],borderRadius:["none","","full",ji,Ne],borderSpacing:R(),borderWidth:z(),contrast:ne(),grayscale:L(),hueRotate:ne(),invert:L(),gap:R(),gradientColorStops:[e],gradientColorStopPositions:[EO,Pi],inset:O(),margin:O(),opacity:ne(),padding:R(),saturate:ne(),scale:ne(),sepia:L(),skew:ne(),space:R(),translate:R()},classGroups:{aspect:[{aspect:["auto","square","video",Ne]}],container:["container"],columns:[{columns:[ji]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"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"],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:[...W(),Ne]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",il,Ne]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ne]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",il,Ne]}],"grid-cols":[{"grid-cols":[sl]}],"col-start-end":[{col:["auto",{span:["full",il,Ne]},Ne]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[sl]}],"row-start-end":[{row:["auto",{span:[il,Ne]},Ne]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ne]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ne]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}
vendor: 8,341 bytes, line 230
230],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ne,t]}],"min-w":[{"min-w":[Ne,t,"min","max","fit"]}],"max-w":[{"max-w":[Ne,t,"none","full","min","max","fit","prose",{screen:[ji]},ji]}],h:[{h:[Ne,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ne,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ne,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ne,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ji,Pi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Wh]}],"font-family":[{font:[sl]}],"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:["tighter","tight","normal","wide","wider","widest",Ne]}],"line-clamp":[{"line-clamp":["none",ta,Wh]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jr,Ne]}],"list-image":[{"list-image":["none",Ne]}],"list-style-type":[{list:["none","disc","decimal",Ne]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jr,Pi]}],"underline-offset":[{"underline-offset":["auto",Jr,Ne]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ne]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ne]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),jO]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",PO]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_O]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...K(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:K()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[Jr,Ne]}],"outline-w":[{outline:[Jr,Pi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Jr,Pi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ji,AO]}],"shadow-color":[{shadow:[sl]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ji,Ne]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[y]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ne]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",Ne]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ne]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[il,Ne]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ne]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",Ne]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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"]}
vendor: 4,647 bytes, line 230
230],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",Ne]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Jr,Pi,Wh]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},OO=yO(DO);function Ae(...e){return OO(JE(e))}const LO=DD,uT=b.forwardRef(({className:e,...t},n)=>d.jsx(KE,{ref:n,className:Ae("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),...t}));uT.displayName=KE.displayName;const FO=Yy("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"}}),dT=b.forwardRef(({className:e,variant:t,...n},r)=>d.jsx(qE,{ref:r,className:Ae(FO({variant:t}),e),...n}));dT.displayName=qE.displayName;const VO=b.forwardRef(({className:e,...t},n)=>d.jsx(ZE,{ref:n,className:Ae("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 group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));VO.displayName=ZE.displayName;const fT=b.forwardRef(({className:e,...t},n)=>d.jsx(QE,{ref:n,className:Ae("absolute right-2 top-2 rounded-md p-1 text-foreground
230/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:d.jsx(Xy,{className:"h-4 w-4"})}));fT.displayName=QE.displayName;const hT=b.forwardRef(({className:e,...t},n)=>d.jsx(GE,{ref:n,className:Ae("text-sm font-semibold",e),...t}));hT.displayName=GE.displayName;const pT=b.forwardRef(({className:e,...t},n)=>d.jsx(YE,{ref:n,className:Ae("text-sm opacity-90",e),...t}));pT.displayName=YE.displayName;function BO(){const{toasts:e}=CE();return d.jsxs(LO,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return d.jsxs(dT,{...s,children:[d.jsxs("div",{className:"grid gap-1",children:[n&&d.jsx(hT,{children:n}),r&&d.jsx(pT,{children:r})]}),i,d.jsx(fT,{})]},t)}),d.jsx(uT,{})]})}var pw=["light","dark"],zO="(prefers-color-scheme: dark)",$O=b.createContext(void 0),UO={setTheme:e=>{},themes:[]},WO=()=>{var e;return(e=b.useContext($O))!=null?e:UO};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let c=s==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;
230${`c.remove(${a.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?pw.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(v,m=!1,w=!0)=>{let g=o?o[v]:v,x=m?v+"|| ''":`'${g}'`,y="";return i&&w&&!m&&pw.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),n==="class"?m||g?y+=`c.add(${x})`:y+="null":g&&(y+=`d[s](n,${x})`),y},p=e?`!function(){${u}${h(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${c})){var t='${zO}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${c?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var HO=e=>{switch(e){case"success":return GO;case"info":return ZO;case"warning":return YO;case"error":return QO;default:return null}},KO=Array(12).fill(0),qO=({visible:e,className:t})=>V.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},V.createElement("div",{className:"sonner-spinner"},KO.map((n,r)=>V.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),GO=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),YO=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),ZO=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"}
230)),QO=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},V.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),XO=V.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},V.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),V.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),JO=()=>{let[e,t]=V.useState(document.hidden);return V.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Bm=1,eL=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Bm++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
230this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,s,o=r.then(async l=>{if(s=["resolve",l],V.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(nL(l)&&!l.ok){i=!1;let c=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,u=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:c,description:u})}else if(t.success!==void 0){i=!1;let c=typeof t.success=="function"?await t.success(l):t.success,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:c,description:u})}}).catch(async l=>{if(s=["reject",l],t.error!==void 0){i=!1;let c=typeof t.error=="function"?await t.error(l):t.error,u=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:c,description:u})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,c)=>o.then(()=>s[0]==="reject"?c(s[1]):l(s[1])).catch(c));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Bm++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},pn=new eL,tL=(e,t)=>{let n=(t==null?void 0:t.id)||Bm++;return pn.addToast({title:e,...t,id:n}),n},nL=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",rL=tL,iL=()=>pn.toasts,sL=()=>pn.getActiveToasts();Object.assign(rL,{success:pn.success,info:pn.info,warning:pn.warning,error:pn.error,custom:pn.custom,message:pn.message,promise:pn.promise,dismiss:pn.dismiss,loading:pn.loading},{getHistory:iL,getToasts:sL});function oL(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}oL(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
230left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
230:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
230--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 231`);function mu(e){return e.label!==void 0}var aL=3,lL="32px",cL="16px",mw=4e3,uL=356,dL=14,fL=20,hL=200;function sr(...e){return e.filter(Boolean).join(" ")}function pL(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var mL=e=>{var t,n,r,i,s,o,a,l,c,u,f;let{invert:h,toast:p,unstyled:v,interacting:m,setHeights:w,visibleToasts:g,heights:x,index:y,toasts:k,expanded:C,removeToast:S,defaultRichColors:P,closeButton:N,style:A,cancelButtonStyle:T,actionButtonStyle:O,className:R="",descriptionClassName:z="",duration:F,position:W,gap:K,loadingIcon:H,expandByDefault:I,classNames:L,icons:E,closeButtonAriaLabel:ne="Close toast",pauseWhenPageIsHidden:re}=e,[j,oe]=V.useState(null),[Te,ye]=V.useState(null),[q,he]=V.useState(!1),[Ce,pe]=V.useState(!1),[le,G]=V.useState(!1),[xe,Me]=V.useState(!1),[He,st]=V.useState(!1),[ht,zt]=V.useState(0),[xt,_]=V.useState(0),D=V.useRef(p.duration||F||mw),B=V.useRef(null),J=V.useRef(null),ee=y===0,Q=y+1<=g,M=p.type,$=p.dismissible!==!1,ie=p.className||"",me=p.descriptionClassName||"",be=V.useMemo(()=>x.findIndex(ve=>ve.toastId===p.id)||0,[x,p.id]),Ze=V.useMemo(()=>{var ve;return(ve=p.closeButton)!=null?ve:N},[p.closeButton,N]),$t=V.useMemo(()=>p.duration||F||mw,[p.duration,F]),pt=V.useRef(0),Rt=V.useRef(0),In=V.useRef(0),et=V.useRef(null),[Dn,Ut]=W.split("-"),qa=V.useMemo(()=>x.reduce((ve,Ue,Qe)=>Qe>
231=be?ve:ve+Ue.height,0),[x,be]),Kc=JO(),qc=p.invert||h,wo=M==="loading";Rt.current=V.useMemo(()=>be*K+qa,[be,qa]),V.useEffect(()=>{D.current=$t},[$t]),V.useEffect(()=>{he(!0)},[]),V.useEffect(()=>{let ve=J.current;if(ve){let Ue=ve.getBoundingClientRect().height;return _(Ue),w(Qe=>[{toastId:p.id,height:Ue,position:p.position},...Qe]),()=>w(Qe=>Qe.filter(tr=>tr.toastId!==p.id))}},[w,p.id]),V.useLayoutEffect(()=>{if(!q)return;let ve=J.current,Ue=ve.style.height;ve.style.height="auto";let Qe=ve.getBoundingClientRect().height;ve.style.height=Ue,_(Qe),w(tr=>tr.find(nr=>nr.toastId===p.id)?tr.map(nr=>nr.toastId===p.id?{...nr,height:Qe}:nr):[{toastId:p.id,height:Qe,position:p.position},...tr])},[q,p.title,p.description,w,p.id]);let er=V.useCallback(()=>{pe(!0),zt(Rt.current),w(ve=>ve.filter(Ue=>Ue.toastId!==p.id)),setTimeout(()=>{S(p)},hL)},[p,S,w,Rt]);V.useEffect(()=>{if(p.promise&&M==="loading"||p.duration===1/0||p.type==="loading")return;let ve;return C||m||re&&Kc?(()=>{if(In.current<pt.current){let Ue=new Date().getTime()-pt.current;D.current=D.current-Ue}In.current=new Date().getTime()})():D.current!==1/0&&(pt.current=new Date().getTime(),ve=setTimeout(()=>{var Ue;(Ue=p.onAutoClose)==null||Ue.call(p,p),er()},D.current)),()=>clearTimeout(ve)},[C,m,p,M,re,Kc,er]),V.useEffect(()=>{p.delete&&er()},[er,p.delete]);function uh(){var ve,Ue,Qe;return E!=null&&E.loading?V.createElement("div",{className:sr(L==null?void 0:L.loader,(ve=p==null?void 0:p.classNames)==null?void 0:ve.loader,"sonner-loader"),"data-visible":M==="loading"},E.loading):H?V.createElement("div",{className:sr(L==null?void 0:L.loader,(Ue=p==null?void 0:p.classNames)==null?void 0:Ue.loader,"sonner-loader"),"data-visible":M==="loading"},H):V.createElement(qO,{className:sr(L==null?void 0:L.loader,(Qe=p==null?void 0:p.classNames)==null?void 0:Qe.loader),visible:M==="loading"})}return V.createElement("li",{tabIndex:0,ref:J,className:sr(R,ie,L==null?void 0:L.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,L==null?void 0:L.default,L==null?void 0:L[M],(n=p==null?void 0:p.classNames)==null?void 0:n[M]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:P,"data-styled":!(p.jsx||p.unstyled||v),"data-mounted":q,"data-promise":!!p.promise,"data-swiped":He,"data-removed":Ce,"data-visible":Q,"data-y-position":Dn,"data-x-position":Ut,"data-index":y,"data-front":ee,"data-swiping":le,"data-dismissible":$,"data-type":M,"data-invert":qc,"data-swipe-out":xe,"data-swipe-direction":Te,"data-expanded":!!(C||I&&q),style:{"--index":y,"--toasts-before":y,"--z-index":k.length-y,"--offset":`${Ce?ht:Rt.current}px`,"--initial-height":I?"auto":`${xt}px`,...A,...p.style},onDragEnd:()=>{G(!1),oe(null),et.current=null},onPointerDown:ve=>{wo||!$||(B.current=new Date,zt(Rt.current),ve.target.setPointerCapture(ve.pointerId),ve.target.tagName!=="BUTTON"&&(G(!0),et.current={x:ve.clientX,y:ve.clientY}))},onPointerUp:()=>{var ve,Ue,Qe,tr;if(xe||!$)return;et.current=null;let nr=Number(((ve=J.current)==null?void 0:ve.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ci=Number(((Ue=J.current)==null?void 0:Ue.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ps=new Date().getTime()-((Qe=B.current)==null?void 0:Qe.getTime()),rr=j==="x"?nr:Ci,Ei=Math.abs(rr)/Ps;if(Math.abs(rr)>
231=fL||Ei>.11){zt(Rt.current),(tr=p.onDismiss)==null||tr.call(p,p),ye(j==="x"?nr>0?"right":"left":Ci>0?"down":"up"),er(),Me(!0),st(!1);return}G(!1),oe(null)},onPointerMove:ve=>{var Ue,Qe,tr,nr;if(!et.current||!$||((Ue=window.getSelection())==null?void 0:Ue.toString().length)>0)return;let Ci=ve.clientY-et.current.y,Ps=ve.clientX-et.current.x,rr=(Qe=e.swipeDirections)!=null?Qe:pL(W);!j&&(Math.abs(Ps)>1||Math.abs(Ci)>1)&&oe(Math.abs(Ps)>Math.abs(Ci)?"x":"y");let Ei={x:0,y:0};j==="y"?(rr.includes("top")||rr.includes("bottom"))&&(rr.includes("top")&&Ci<0||rr.includes("bottom")&&Ci>0)&&(Ei.y=Ci):j==="x"&&(rr.includes("left")||rr.includes("right"))&&(rr.includes("left")&&Ps<0||rr.includes("right")&&Ps>0)&&(Ei.x=Ps),(Math.abs(Ei.x)>0||Math.abs(Ei.y)>0)&&st(!0),(tr=J.current)==null||tr.style.setProperty("--swipe-amount-x",`${Ei.x}px`),(nr=J.current)==null||nr.style.setProperty("--swipe-amount-y",`${Ei.y}px`)}},Ze&&!p.jsx?V.createElement("button",{"aria-label":ne,"data-disabled":wo,"data-close-button":!0,onClick:wo||!$?()=>{}:()=>{var ve;er(),(ve=p.onDismiss)==null||ve.call(p,p)},className:sr(L==null?void 0:L.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=E==null?void 0:E.close)!=null?s:XO):null,p.jsx||b.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:V.createElement(V.Fragment,null,M||p.icon||p.promise?V.createElement("div",{"data-icon":"",className:sr(L==null?void 0:L.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||uh():null,p.type!=="loading"?p.icon||(E==null?void 0:E[M])||HO(M):null):null,V.createElement("div",{"data-content":"",className:sr(L==null?void 0:L.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},V.createElement("div",{"data-title":"",className:sr(L==null?void 0:L.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?V.createElement("div",{"data-description":"",className:sr(z,me,L==null?void 0:L.description,(c=p==null?void 0:p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),b.isValidElement(p.cancel)?p.cancel:p.cancel&&mu(p.cancel)?V.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||T,onClick:ve=>{var Ue,Qe;mu(p.cancel)&&$&&((Qe=(Ue=p.cancel).onClick)==null||Qe.call(Ue,ve),er())},className:sr(L==null?void 0:L.cancelButton,(u=p==null?void 0:p.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,b.isValidElement(p.action)?p.action:p.action&&mu(p.action)?V.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||O,onClick:ve=>{var Ue,Qe;mu(p.action)&&((Qe=(Ue=p.action).onClick)==null||Qe.call(Ue,ve),!ve.defaultPrevented&&er())},className:sr(L==null?void 0:L.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function gw(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function gL(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?cL:lL;function l(c){["top","right","bottom","left"].forEach(u=>{n[`${o}-${u}`]=typeof c=="number"?`${c}px`:c})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(c=>{r[c]===void 0?n[`${o}-${c}`]=a:n[`${o}-${c}`]=typeof r[c]=="number"?`${r[c]}px`:r[c]}):l(a)}),n}var yL=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,mobileOffset:c,theme:u="light",richColors:f,duration:h,style:p,visibleToasts:v=aL,toastOptions:m,dir:w=gw(),gap:g=dL,loadingIcon:x,icons:y,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:C}=e,[S,P]=V.useState([]),N=V.useMemo(()=>Array.from(new Set([r].concat(S.filter(re=>re.position).map(re=>re.position)))),[S,r]),[A,T]=V.useState([]),[O,R]=V.useState(!1),[z,F]=V.useState(!1),[W,K]=V.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
231k":"light"),H=V.useRef(null),I=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),L=V.useRef(null),E=V.useRef(!1),ne=V.useCallback(re=>{P(j=>{var oe;return(oe=j.find(Te=>Te.id===re.id))!=null&&oe.delete||pn.dismiss(re.id),j.filter(({id:Te})=>Te!==re.id)})},[]);return V.useEffect(()=>pn.subscribe(re=>{if(re.dismiss){P(j=>j.map(oe=>oe.id===re.id?{...oe,delete:!0}:oe));return}setTimeout(()=>{pE.flushSync(()=>{P(j=>{let oe=j.findIndex(Te=>Te.id===re.id);return oe!==-1?[...j.slice(0,oe),{...j[oe],...re},...j.slice(oe+1)]:[re,...j]})})})}),[]),V.useEffect(()=>{if(u!=="system"){K(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?K("dark"):K("light")),typeof window>"u")return;let re=window.matchMedia("(prefers-color-scheme: dark)");try{re.addEventListener("change",({matches:j})=>{K(j?"dark":"light")})}catch{re.addListener(({matches:oe})=>{try{K(oe?"dark":"light")}catch(Te){console.error(Te)}})}},[u]),V.useEffect(()=>{S.length<=1&&R(!1)},[S]),V.useEffect(()=>{let re=j=>{var oe,Te;i.every(ye=>j[ye]||j.code===ye)&&(R(!0),(oe=H.current)==null||oe.focus()),j.code==="Escape"&&(document.activeElement===H.current||(Te=H.current)!=null&&Te.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",re),()=>document.removeEventListener("keydown",re)},[i]),V.useEffect(()=>{if(H.current)return()=>{L.current&&(L.current.focus({preventScroll:!0}),L.current=null,E.current=!1)}},[H.current]),V.createElement("section",{ref:t,"aria-label":`${k} ${I}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((re,j)=>{var oe;let[Te,ye]=re.split("-");return S.length?V.createElement("ol",{key:re,dir:w==="auto"?gw():w,tabIndex:-1,ref:H,className:a,"data-sonner-toaster":!0,"data-theme":W,"data-y-position":Te,"data-lifted":O&&S.length>1&&!s,"data-x-position":ye,style:{"--front-toast-height":`${((oe=A[0])==null?void 0:oe.height)||0}px`,"--width":`${uL}px`,"--gap":`${g}px`,...p,...gL(l,c)},onBlur:q=>{E.current&&!q.currentTarget.contains(q.relatedTarget)&&(E.current=!1,L.current&&(L.current.focus({preventScroll:!0}),L.current=null))},onFocus:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||E.current||(E.current=!0,L.current=q.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{z||R(!1)},onDragEnd:()=>R(!1),onPointerDown:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},S.filter(q=>!q.position&&j===0||q.position===re).map((q,he)=>{var Ce,pe;return V.createElement(mL,{key:q.id,icons:y,index:he,toast:q,defaultRichColors:f,duration:(Ce=m==null?void 0:m.duration)!=null?Ce:h,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:v,closeButton:(pe=m==null?void 0:m.closeButton)!=null?pe:o,interacting:z,position:re,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:ne,toasts:S.filter(le=>le.position==q.position),heights:A.filter(le=>le.position==q.position),setHeights:T,expandByDefault:s,gap:g,loadingIcon:x,expanded:O,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const xL=({...e})=>{const{theme:t="system"}=WO();return d.jsx(yL,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var vL=Jg[" useId ".trim().toString()]||(()=>{}),wL=0;function ns(e){const[t,n]=b.useState(vL());return Ot(()=>{n(r=>r??String(wL++))},[e]),t?`radix-${t}`:""}const bL=["top","right","bottom","left"],us=Math.min,En=Math.max,Pd=Math.round,gu=Math.floor,zr=e=>({x:e,y:e}
vendor: 10,342 bytes, line 231
231),kL={left:"right",right:"left",bottom:"top",top:"bottom"},SL={start:"end",end:"start"};function zm(e,t,n){return En(e,us(t,n))}function mi(e,t){return typeof e=="function"?e(t):e}function gi(e){return e.split("-")[0]}function Oa(e){return e.split("-")[1]}function ex(e){return e==="x"?"y":"x"}function tx(e){return e==="y"?"height":"width"}const CL=new Set(["top","bottom"]);function Lr(e){return CL.has(gi(e))?"y":"x"}function nx(e){return ex(Lr(e))}function EL(e,t,n){n===void 0&&(n=!1);const r=Oa(e),i=nx(e),s=tx(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=jd(o)),[o,jd(o)]}function TL(e){const t=jd(e);return[$m(e),t,$m(t)]}function $m(e){return e.replace(/start|end/g,t=>SL[t])}const yw=["left","right"],xw=["right","left"],PL=["top","bottom"],jL=["bottom","top"];function NL(e,t,n){switch(e){case"top":case"bottom":return n?t?xw:yw:t?yw:xw;case"left":case"right":return t?PL:jL;default:return[]}}function _L(e,t,n,r){const i=Oa(e);let s=NL(gi(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map($m)))),s}function jd(e){return e.replace(/left|right|bottom|top/g,t=>kL[t])}function AL(e){return{top:0,right:0,bottom:0,left:0,...e}}function mT(e){return typeof e!="number"?AL(e):{top:e,right:e,bottom:e,left:e}}function Nd(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function vw(e,t,n){let{reference:r,floating:i}=e;const s=Lr(t),o=nx(t),a=tx(o),l=gi(t),c=s==="y",u=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-i.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-i.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Oa(t)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const ML=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:f}=vw(c,r,l),h=r,p={},v=0;for(let m=0;m<a.length;m++){const{name:w,fn:g}=a[m],{x,y,data:k,reset:C}=await g({x:u,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}});u=x??u,f=y??f,p={...p,[w]:{...p[w],...k}},C&&v<=50&&(v++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(c=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:u,y:f}=vw(c,h,l)),m=-1)}return{x:u,y:f,placement:h,strategy:i,middlewareData:p}};async function sc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=mi(t,e),v=mT(p),w=a[h?f==="floating"?"reference":"floating":f],g=Nd(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),x=f==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),k=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},C=Nd(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:y,strategy:l}):x);return{top:(g.top-C.top+v.top)/k.y,bottom:(C.bottom-g.bottom+v.bottom)/k.y,left:(g.left-C.left+v.left)/k.x,right:(C.right-g.right+v.right)/k.x}}const RL=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=mi(e,t)||{};if(c==null)return{};const f=mT(u),h={x:n,y:r},p=nx(i),v=tx(p),m=await o.getDimensions(c),w=p==="y",g=w?"top":"left",x=w?"bottom":"right",y=w?"clientHeight":"clientWidth",k=s.reference[v]+s.reference[p]-h[p]-s.floating[v],C=h[p]-s.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c));let P=S?S[y]:0;(!P||!await(o.isElement==null?void 0:o.isElement(S)))&&(P=a.floating[y]||s.floating[v]);const N=k/2-C/2,A=P/2-m[v]/2-1,T=us(f[g],A),O=us(f[x],A),R=T,z=P-m[v]-O,F=P/2-m[v]/2+N,W=zm(R,F,z),K=!l.arrow&&Oa(i)!=null&&F!==W&&s.reference[v]/2-(F<R?T:O)-m[v]/2<0,H=K?F<R?F-R:F-z:0;return{[p]:h[p]+H,data:{[p]:W,centerOffset:F-W-H,...K&&{alignmentOffset:H}},reset:K}}}),IL=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...w}=mi(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=gi(i),x=Lr(a),y=gi(a)===a,k=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=h||(y||!m?[jd(a)]:TL(a)),S=v!=="none";!h&&S&&C.push(..._L(a,m,v,k));const P=[a,...C],N=await sc(t,w),A=[];let T=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&A.push(N[g]),f){const F=EL(i,o,k);A.push(N[F[0]],N[F[1]])}if(T=[...T,{placement:i,overflows:A}],!A.every(F=>F<=0)){var O,R;const F=(((O=s.flip)==null?void 0:O.index)||0)+1,W=P[F];if(W&&(!(f==="alignment"?x!==Lr(W):!1)||T.every(I=>I.overflows[0]>0&&Lr(I.placement)===x)))return{data:{index:F,overflows:T},reset:{placement:W}};let K=(R=T.filter(H=>H.overflows[0]<=0).sort((H,I)=>H.overflows[1]-I.overflows[1])[0])==null?void 0:R.placement;if(!K)switch(p){case"bestFit":{var z;const H=(z=T.filter(I=>{if(S){const L=Lr(I.placement);return L===x||L==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(L=>L>0).reduce((L,E)=>L+E,0)]).sort((I,L)=>I[1]-L[1])[0])==null?void 0:z[0];H&&(K=H);break}case"initialPlacement":K=a;break}if(i!==K)return{reset:{placement:K}}}return{}}}};function ww(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function bw(e){return bL.some(t=>e[t]>=0)}const DL=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=mi(e,t);switch(r){case"referenceHidden":{const s=await sc(t,{...i,elementContext:"reference"}),o=ww(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:bw(o)}}}case"escaped":{const s=await sc(t,{...i,altBoundary:!0}),o=ww(s,n.floating);return{data:{escapedOffsets:o,escaped:bw(o)}}}default:return{}}}}},gT=new Set(["left","top"]);async function OL(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=gi(n),a=Oa(n),l=Lr(n)==="y",c=gT.has(o)?-1:1,u=s&&l?-1:1,f=mi(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof v=="number"&&(p=a==="end"?v*-1:v),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}const LL=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await OL(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},FL=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:g,y:x}=w;return{x:g,y:x}}},...l}=mi(e,t),c={x:n,y:r},u=await sc(t,l),f=Lr(gi(i)),h=ex(f);let p=c[h],v=c[f];if(s){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=p+u[w],y=p-u[g];p=zm(x,p,y)}if(o){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",x=v+u[w],y=v-u[g];v=zm(x,v,y)}const m=a.fn({...t,[h]:p,[f]:v});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:s,[f]:o}}}}}},VL=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=mi(e,t),u={x:n,y:r},f=Lr(i),h=ex(f);let p=u[h],v=u[f];const m=mi(a,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const y=h==="y"?"height":"width",k=s.reference[h]-s.floating[y]+w.mainAxis,C=s.reference[h]+s.reference[y]-w.mainAxis;p<k?p=k:p>C&&(p=C)}if(c){var g,x;const y=h==="y"?"width":"height",k=gT.has(gi(i)),C=s.reference[f]-s.floating[y]+(k&&((g=o.offset)==null?void 0:g[f])||0)+(k?0:w.crossAxis),S=s.reference[f]+s.reference[y]+(k?0:((x=o.offset)==null?void 0:x[f])||0)-(k?w.crossAxis:0);v<C?v=C:v>S&&(v=S)}return{[h]:p,[f]:v}}}},BL=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...c}=mi(e,t),u=await sc(t,c),f=gi(i),h=Oa(i),p=Lr(i)==="y",{width:v,height:m}=s.floating;let w,g;f==="top"||f==="bottom"?(w=f,g=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,w=h==="end"?"top":"bottom");const x=m-u.top-u.bottom,y=v-u.left-u.right,k=us(m-u[w],x),C=us(v-u[g],y),S=!t.middlewareData.shift;let P=k,N=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=x),S&&!h){const T=En(u.left,0),O=En(u.right,0),R=En(u.top,0),z=En(u.bottom,0);p?N=v-2*(T!==0||O!==0?T+O:En(u.left,u.right)):P=m-2*(R!==0||z!==0?R+z:En(u.top,u.bottom))}await l({...t,availableWidth:N,availableHeight:P});const A=await o.getDimensions(a.floating);return v!==A.width||m!==A.height?{reset:{rects:!0}}:{}}}};function Ef(){return typeof window<"u"}function La(e){return yT(e)?(e.nodeName||"").toLowerCase():"#document"}function jn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gr(e){var t;return(t=(yT(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yT(e){return Ef()?e instanceof Node||e instanceof jn(e).Node:!1}function Cr(e){return Ef()?e instanceof Element||e instanceof jn(e).Element:!1}function Hr(e){return Ef()?e instanceof HTMLElement||e instanceof jn(e).HTMLElement:!1}function kw(e){return!Ef()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jn(e).ShadowRoot}const zL=new Set(["inline","contents"]);function Dc(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Er(e);
vendor: 4,121 bytes, line 231
231return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!zL.has(i)}const $L=new Set(["table","td","th"]);function UL(e){return $L.has(La(e))}const WL=[":popover-open",":modal"];function Tf(e){return WL.some(t=>{try{return e.matches(t)}catch{return!1}})}const HL=["transform","translate","scale","rotate","perspective"],KL=["transform","translate","scale","rotate","perspective","filter"],qL=["paint","layout","strict","content"];function rx(e){const t=ix(),n=Cr(e)?Er(e):e;return HL.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||KL.some(r=>(n.willChange||"").includes(r))||qL.some(r=>(n.contain||"").includes(r))}function GL(e){let t=ds(e);for(;Hr(t)&&!ka(t);){if(rx(t))return t;if(Tf(t))return null;t=ds(t)}return null}function ix(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const YL=new Set(["html","body","#document"]);function ka(e){return YL.has(La(e))}function Er(e){return jn(e).getComputedStyle(e)}function Pf(e){return Cr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ds(e){if(La(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kw(e)&&e.host||Gr(e);return kw(t)?t.host:t}function xT(e){const t=ds(e);return ka(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hr(t)&&Dc(t)?t:xT(t)}function oc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=xT(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=jn(i);if(s){const a=Um(o);return t.concat(o,o.visualViewport||[],Dc(i)?i:[],a&&n?oc(a):[])}return t.concat(i,oc(i,[],n))}function Um(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vT(e){const t=Er(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Hr(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Pd(n)!==s||Pd(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function sx(e){return Cr(e)?e:e.contextElement}function na(e){const t=sx(e);if(!Hr(t))return zr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=vT(t);let o=(s?Pd(n.width):n.width)/r,a=(s?Pd(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const ZL=zr(0);function wT(e){const t=jn(e);return!ix()||!t.visualViewport?ZL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function QL(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==jn(e)?!1:t}function oo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=sx(e);let o=zr(1);t&&(r?Cr(r)&&(o=na(r)):o=na(e));const a=QL(s,n,r)?wT(s):zr(0);let l=(i.left+a.x)/o.x,c=(i.top+a.y)/o.y,u=i.width/o.x,f=i.height/o.y;if(s){const h=jn(s),p=r&&Cr(r)?jn(r):r;let v=h,m=Um(v);for(;m&&r&&p!==v;){const w=na(m),g=m.getBoundingClientRect(),x=Er(m),y=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*w.x,k=g.top+(m.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,c*=w.y,u*=w.x,f*=w.y,l+=y,c+=k,v=jn(m),m=Um(v)}}return Nd({width:u,height:f,x:l,y:c})}function ox(e,t){const n=Pf(e).scrollLeft;return t?t.left+n:oo(Gr(e)).left+n}function bT(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:ox(e,r)),s=r.top+t.scrollTop;return{x:i,y:s}}function XL(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=Gr(r),a=t?Tf(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},c=zr(1);const u=zr(0),f=Hr(r);if((f||!f&&!s)&&((La(r)!=="body"||Dc(o))&&(l=Pf(r)),Hr(r))){const p=oo(r);c=na(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const h=o&&!f&&!s?bT(o,l,!0):zr(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function JL(e){return Array.from(e.getClientRects())}function e4(e){const t=Gr(e),n=Pf(e),r=e.ownerDocument.body,i=En(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=En(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+ox(e);const a=-n.scrollTop;return Er(r).direction==="rtl"&&(o+=En(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}
vendor: 13,209 bytes, line 231
231function t4(e,t){const n=jn(e),r=Gr(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const c=ix();(!c||c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}const n4=new Set(["absolute","fixed"]);function r4(e,t){const n=oo(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Hr(e)?na(e):zr(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,c=r*s.y;return{width:o,height:a,x:l,y:c}}function Sw(e,t,n){let r;if(t==="viewport")r=t4(e,n);else if(t==="document")r=e4(Gr(e));else if(Cr(t))r=r4(t,n);else{const i=wT(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Nd(r)}function kT(e,t){const n=ds(e);return n===t||!Cr(n)||ka(n)?!1:Er(n).position==="fixed"||kT(n,t)}function i4(e,t){const n=t.get(e);if(n)return n;let r=oc(e,[],!1).filter(a=>Cr(a)&&La(a)!=="body"),i=null;const s=Er(e).position==="fixed";let o=s?ds(e):e;for(;Cr(o)&&!ka(o);){const a=Er(o),l=rx(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&n4.has(i.position)||Dc(o)&&!l&&kT(e,o))?r=r.filter(u=>u!==o):i=a,o=ds(o)}return t.set(e,r),r}function s4(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Tf(t)?[]:i4(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((c,u)=>{const f=Sw(t,u,i);return c.top=En(f.top,c.top),c.right=us(f.right,c.right),c.bottom=us(f.bottom,c.bottom),c.left=En(f.left,c.left),c},Sw(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function o4(e){const{width:t,height:n}=vT(e);return{width:t,height:n}}function a4(e,t,n){const r=Hr(t),i=Gr(t),s=n==="fixed",o=oo(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=zr(0);function c(){l.x=ox(i)}if(r||!r&&!s)if((La(t)!=="body"||Dc(i))&&(a=Pf(t)),r){const p=oo(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&c();s&&!r&&i&&c();const u=i&&!r&&!s?bT(i,a):zr(0),f=o.left+a.scrollLeft-l.x-u.x,h=o.top+a.scrollTop-l.y-u.y;return{x:f,y:h,width:o.width,height:o.height}}function Hh(e){return Er(e).position==="static"}function Cw(e,t){if(!Hr(e)||Er(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Gr(e)===n&&(n=n.ownerDocument.body),n}function ST(e,t){const n=jn(e);if(Tf(e))return n;if(!Hr(e)){let i=ds(e);for(;i&&!ka(i);){if(Cr(i)&&!Hh(i))return i;i=ds(i)}return n}let r=Cw(e,t);for(;r&&UL(r)&&Hh(r);)r=Cw(r,t);return r&&ka(r)&&Hh(r)&&!rx(r)?n:r||GL(e)||n}const l4=async function(e){const t=this.getOffsetParent||ST,n=this.getDimensions,r=await n(e.floating);return{reference:a4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function c4(e){return Er(e).direction==="rtl"}const u4={convertOffsetParentRelativeRectToViewportRelativeRect:XL,getDocumentElement:Gr,getClippingRect:s4,getOffsetParent:ST,getElementRects:l4,getClientRects:JL,getDimensions:o4,getScale:na,isElement:Cr,isRTL:c4};function CT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function d4(e,t){let n=null,r;const i=Gr(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:u,top:f,width:h,height:p}=c;if(a||t(),!h||!p)return;const v=gu(f),m=gu(i.clientWidth-(u+h)),w=gu(i.clientHeight-(f+p)),g=gu(u),y={rootMargin:-v+"px "+-m+"px "+-w+"px "+-g+"px",threshold:En(0,us(1,l))||1};let k=!0;function C(S){const P=S[0].intersectionRatio;if(P!==l){if(!k)return o();P?o(!1,P):r=setTimeout(()=>{o(!1,1e-7)},1e3)}P===1&&!CT(c,e.getBoundingClientRect())&&o(),k=!1}try{n=new IntersectionObserver(C,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(C,y)}n.observe(e)}return o(!0),s}function f4(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=sx(e),u=i||s?[...c?oc(c):[],...oc(t)]:[];u.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const f=c&&a?d4(c,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(g=>{let[x]=g;x&&x.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let v,m=l?oo(e):null;l&&w();function w(){const g=oo(e);m&&!CT(m,g)&&n(),m=g,v=requestAnimationFrame(w)}return n(),()=>{var g;u.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(v)}}const h4=LL,p4=FL,m4=IL,g4=BL,y4=DL,Ew=RL,x4=VL,v4=(e,t,n)=>{const r=new Map,i={platform:u4,...n},s={...i.platform,_c:r};return ML(e,t,{...i,platform:s})};var w4=typeof document<"u",b4=function(){},Ku=w4?b.useLayoutEffect:b4;function _d(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!_d(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!_d(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ET(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tw(e,t){const n=ET(e);return Math.round(t*n)/n}function Kh(e){const t=b.useRef(e);return Ku(()=>{t.current=e}),t}function k4(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:c}=e,[u,f]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=b.useState(r);_d(h,r)||p(r);const[v,m]=b.useState(null),[w,g]=b.useState(null),x=b.useCallback(I=>{I!==S.current&&(S.current=I,m(I))},[]),y=b.useCallback(I=>{I!==P.current&&(P.current=I,g(I))},[]),k=s||v,C=o||w,S=b.useRef(null),P=b.useRef(null),N=b.useRef(u),A=l!=null,T=Kh(l),O=Kh(i),R=Kh(c),z=b.useCallback(()=>{if(!S.current||!P.current)return;const I={placement:t,strategy:n,middleware:h};O.current&&(I.platform=O.current),v4(S.current,P.current,I).then(L=>{const E={...L,isPositioned:R.current!==!1};F.current&&!_d(N.current,E)&&(N.current=E,xo.flushSync(()=>{f(E)}))})},[h,t,n,O,R]);Ku(()=>{c===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(I=>({...I,isPositioned:!1})))},[c]);const F=b.useRef(!1);Ku(()=>(F.current=!0,()=>{F.current=!1}),[]),Ku(()=>{if(k&&(S.current=k),C&&(P.current=C),k&&C){if(T.current)return T.current(k,C,z);z()}},[k,C,z,T,A]);const W=b.useMemo(()=>({reference:S,floating:P,setReference:x,setFloating:y}),[x,y]),K=b.useMemo(()=>({reference:k,floating:C}),[k,C]),H=b.useMemo(()=>{const I={position:n,left:0,top:0};if(!K.floating)return I;const L=Tw(K.floating,u.x),E=Tw(K.floating,u.y);return a?{...I,transform:"translate("+L+"px, "+E+"px)",...ET(K.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:E}},[n,a,K.floating,u.x,u.y]);return b.useMemo(()=>({...u,update:z,refs:W,elements:K,floatingStyles:H}),[u,z,W,K,H])}const S4=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Ew({element:r.current,padding:i}).fn(n):{}:r?Ew({element:r,padding:i}).fn(n):{}}}},C4=(e,t)=>({...h4(e),options:[e,t]}),E4=(e,t)=>({...p4(e),options:[e,t]}),T4=(e,t)=>({...x4(e),options:[e,t]}),P4=(e,t)=>({...m4(e),options:[e,t]}),j4=(e,t)=>({...g4(e),options:[e,t]}),N4=(e,t)=>({...y4(e),options:[e,t]}),_4=(e,t)=>({...S4(e),options:[e,t]});var A4="Arrow",TT=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return d.jsx(je.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});TT.displayName=A4;var M4=TT;function PT(e){const[t,n]=b.useState(void 0);return Ot(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,c=Array.isArray(l)?l[0]:l;o=c.inlineSize,a=c.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var ax="Popper",[jT,jf]=bi(ax),[R4,NT]=jT(ax),_T=e=>{const{__scopePopper:t,children:n}=e,[r,i]=b.useState(null);return d.jsx(R4,{scope:t,anchor:r,onAnchorChange:i,children:n})};_T.displayName=ax;var AT="PopperAnchor",MT=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=NT(AT,n),o=b.useRef(null),a=Ge(t,o);return b.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:d.jsx(je.div,{...i,ref:a})});MT.displayName=AT;var lx="PopperContent",[I4,D4]=jT(lx),RT=b.forwardRef((e,t)=>{var q,he,Ce,pe,le,G;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:c=[],collisionPadding:u=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:v,...m}=e,w=NT(lx,n),[g,x]=b.useState(null),y=Ge(t,xe=>x(xe)),[k,C]=b.useState(null),S=PT(k),P=(S==null?void 0:S.width)??0,N=(S==null?void 0:S.height)??0,A=r+(s!=="center"?"-"+s:""),T=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},O=Array.isArray(c)?c:[c],R=O.length>0,z={padding:T,boundary:O.filter(L4),altBoundary:R},{refs:F,floatingStyles:W,placement:K,isPositioned:H,middlewareData:I}=k4({strategy:"fixed",placement:A,whileElementsMounted:(...xe)=>f4(...xe,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[C4({mainAxis:i+N,alignmentAxis:o}),l&&E4({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?T4():void 0,...z}),l&&P4({...z}),j4({...z,apply:({elements:xe,rects:Me,availableWidth:He,availableHeight:st})=>{const{width:ht,height:zt}=Me.reference,xt=xe.floating.style;xt.setProperty("--radix-popper-available-width",`${He}px`),xt.setProperty("--radix-popper-available-height",`${st}px`),xt.setProperty("--radix-popper-anchor-width",`${ht}px`),xt.setProperty("--radix-popper-anchor-height",`${zt}px`)}}),k&&_4({element:k,padding:a}),F4({arrowWidth:P,arrowHeight:N}),h&&N4({strategy:"referenceHidden",...z})]}),[L,E]=OT(K),ne=Sr(v);Ot(()=>{H&&(ne==null||ne())},[H,ne]);const re=(q=I.arrow)==null?void 0:q.x,j=(he=I.arrow)==null?void 0:he.y,oe=((Ce=I.arrow)==null?void 0:Ce.centerOffset)!==0,[Te,ye]=b.useState();return Ot(()=>{g&&ye(window.getComputedStyle(g).zIndex)},[g]),d.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:H?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Te,"--radix-popper-transform-origin":[(pe=I.transformOrigin)==null?void 0:pe.x,(le=I.transformOrigin)==null?void 0:le.y].join(" "),...((G=I.hide)==null?void 0:G.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(I4,{scope:n,placedSide:L,onArrowChange:C,arrowX:re,arrowY:j,shouldHideArrow:oe,children:d.jsx(je.div,{"data-side":L,"data-align":E,...m,ref:y,style:{...m.style,animation:H?void 0:"none"}})})})});RT.displayName=lx;var IT="PopperArrow",O4={top:"bottom",right:"left",bottom:"top",left:"right"},DT=b.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=D4(IT,r),o=O4[s.placedSide];return d.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:d.jsx(M4,{...i,ref:n,style:{...i.style,display:"block"}})})});DT.displayName=IT;function L4(e){return e!==null}var F4=e=>({name:"transformOrigin",options:e,fn(t){var w,g,x;const{placement:n,rects:r,middlewareData:i}=t,o=((w=i.arrow)==null?void 0:w.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[c,u]=OT(n),f={start:"0%",center:"50%",end:"100%"}[u],h=(((g=i.arrow)==null?void 0:g.x)??0)+a/2,p=(((x=i.arrow)==null?void 0:x.y)??0)+l/2;let v="",m="";return c==="bottom"?(v=o?f:`${h}px`,m=`${-l}px`):c==="top"?(v=o?f:`${h}px`,m=`${r.floating.height+l}px`):c==="right"?(v=`${-l}px`,m=o?f:`${p}px`):c==="left"&&(v=`${r.floating.width+l}px`,m=o?f:`${p}px`),{data:{x:v,y:m}}}});function OT(e){const[t,n="center"]=e.split("-");return[t,n]}var V4=_T,LT=MT,FT=RT,VT=DT,[Nf,aQ]=bi("Tooltip",[jf]),cx=jf(),BT="TooltipProvider",B4=700,Pw="tooltip.open",[z4,zT]=Nf(BT),$T=e=>{const{__scopeTooltip:t,delayDuration:n=B4,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const c=l.current;return()=>window.clearTimeout(c)},[]),d.jsx(z4,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>
vendor: 5,465 bytes, line 231
231o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(c=>{a.current=c},[]),disableHoverableContent:i,children:s})};$T.displayName=BT;var UT="Tooltip",[lQ,_f]=Nf(UT),Wm="TooltipTrigger",$4=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=_f(Wm,n),s=zT(Wm,n),o=cx(n),a=b.useRef(null),l=Ge(t,a,i.onTriggerChange),c=b.useRef(!1),u=b.useRef(!1),f=b.useCallback(()=>c.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),d.jsx(LT,{asChild:!0,...o,children:d.jsx(je.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:we(e.onPointerMove,h=>{h.pointerType!=="touch"&&!u.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:we(e.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:we(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:we(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:we(e.onBlur,i.onClose),onClick:we(e.onClick,i.onClose)})})});$4.displayName=Wm;var U4="TooltipPortal",[cQ,W4]=Nf(U4,{forceMount:void 0}),Sa="TooltipContent",WT=b.forwardRef((e,t)=>{const n=W4(Sa,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=_f(Sa,e.__scopeTooltip);return d.jsx(vs,{present:r||o.open,children:o.disableHoverableContent?d.jsx(HT,{side:i,...s,ref:t}):d.jsx(H4,{side:i,...s,ref:t})})}),H4=b.forwardRef((e,t)=>{const n=_f(Sa,e.__scopeTooltip),r=zT(Sa,e.__scopeTooltip),i=b.useRef(null),s=Ge(t,i),[o,a]=b.useState(null),{trigger:l,onClose:c}=n,u=i.current,{onPointerInTransitChange:f}=r,h=b.useCallback(()=>{a(null),f(!1)},[f]),p=b.useCallback((v,m)=>{const w=v.currentTarget,g={x:v.clientX,y:v.clientY},x=Z4(g,w.getBoundingClientRect()),y=Q4(g,x),k=X4(m.getBoundingClientRect()),C=eF([...y,...k]);a(C),f(!0)},[f]);return b.useEffect(()=>()=>h(),[h]),b.useEffect(()=>{if(l&&u){const v=w=>p(w,u),m=w=>p(w,l);return l.addEventListener("pointerleave",v),u.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",v),u.removeEventListener("pointerleave",m)}}},[l,u,p,h]),b.useEffect(()=>{if(o){const v=m=>{const w=m.target,g={x:m.clientX,y:m.clientY},x=(l==null?void 0:l.contains(w))||(u==null?void 0:u.contains(w)),y=!J4(g,o);x?h():y&&(h(),c())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,u,o,c,h]),d.jsx(HT,{...e,ref:s})}),[K4,q4]=Nf(UT,{isInside:!1}),G4=YI("TooltipContent"),HT=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=_f(Sa,n),c=cx(n),{onClose:u}=l;return b.useEffect(()=>(document.addEventListener(Pw,u),()=>document.removeEventListener(Pw,u)),[u]),b.useEffect(()=>{if(l.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&u()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[l.trigger,u]),d.jsx(Ac,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:f=>f.preventDefault(),onDismiss:u,children:d.jsxs(FT,{"data-state":l.stateAttribute,...c,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(G4,{children:r}),d.jsx(K4,{scope:n,isInside:!0,children:d.jsx(yD,{id:l.contentId,role:"tooltip",children:i||r})})]})})});WT.displayName=Sa;var KT="TooltipArrow",Y4=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=cx(n);return q4(KT,n).isInside?null:d.jsx(VT,{...i,...r,ref:t})});Y4.displayName=KT;function Z4(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Q4(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function X4(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function J4(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],l=t[o],c=a.x,u=a.y,f=l.x,h=l.y;u>r!=h>r&&n<(f-c)*(r-u)/(h-u)+c&&(i=!i)}return i}function eF(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),tF(t)}function tF(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var nF=$T,qT=WT;const rF=nF,iF=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
vendor: 8,841 bytes, line 231
231d.jsx(qT,{ref:r,sideOffset:t,className:Ae("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));iF.displayName=qT.displayName;var Af=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(){}},Mf=typeof window>"u"||"Deno"in globalThis;function ur(){}function sF(e,t){return typeof e=="function"?e(t):e}function oF(e){return typeof e=="number"&&e>=0&&e!==1/0}function aF(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Hm(e,t){return typeof e=="function"?e(t):e}function lF(e,t){return typeof e=="function"?e(t):e}function jw(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==ux(o,t.options))return!1}else if(!lc(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||s&&!s(t))}function Nw(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(ac(t.options.mutationKey)!==ac(s))return!1}else if(!lc(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ux(e,t){return((t==null?void 0:t.queryKeyHashFn)||ac)(e)}function ac(e){return JSON.stringify(e,(t,n)=>Km(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function lc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>lc(e[n],t[n])):!1}function GT(e,t){if(e===t)return e;const n=_w(e)&&_w(t);if(n||Km(e)&&Km(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},l=new Set(r);let c=0;for(let u=0;u<o;u++){const f=n?u:s[u];(!n&&l.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,c++):(a[f]=GT(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&c++)}return i===o&&c===i?e:a}return t}function _w(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Km(e){if(!Aw(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Aw(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Aw(e){return Object.prototype.toString.call(e)==="[object Object]"}function cF(e){return new Promise(t=>{setTimeout(t,e)})}function uF(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?GT(e,t):t}function dF(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function fF(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var dx=Symbol();function YT(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===dx?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Ks,Fi,oa,Gk,hF=(Gk=class extends Af{constructor(){super();ze(this,Ks);ze(this,Fi);ze(this,oa);Ee(this,oa,t=>{if(!Mf&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){U(this,Fi)||this.setEventListener(U(this,oa))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,Fi))==null||t.call(this),Ee(this,Fi,void 0))}setEventListener(t){var n;Ee(this,oa,t),(n=U(this,Fi))==null||n.call(this),Ee(this,Fi,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){U(this,Ks)!==t&&(Ee(this,Ks,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof U(this,Ks)=="boolean"?U(this,Ks):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Ks=new WeakMap,Fi=new WeakMap,oa=new WeakMap,Gk),ZT=new hF,aa,Vi,la,Yk,pF=(Yk=class extends Af{constructor(){super();ze(this,aa,!0);ze(this,Vi);ze(this,la);Ee(this,la,t=>{if(!Mf&&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(){U(this,Vi)||this.setEventListener(U(this,la))}onUnsubscribe(){var t;this.hasListeners()||((t=U(this,Vi))==null||t.call(this),Ee(this,Vi,void 0))}setEventListener(t){var n;Ee(this,la,t),(n=U(this,Vi))==null||n.call(this),Ee(this,Vi,t(this.setOnline.bind(this)))}setOnline(t){U(this,aa)!==t&&(Ee(this,aa,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return U(this,aa)}},aa=new WeakMap,Vi=new WeakMap,la=new WeakMap,Yk),Ad=new pF;function mF(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function gF(e){return Math.min(1e3*2**e,3e4)}function QT(e){return(e??"online")==="online"?Ad.isOnline():!0}var XT=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function qh(e){return e instanceof XT}function JT(e){let t=!1,n=0,r=!1,i;const s=mF(),o=m=>{var w;r||(h(new XT(m)),(w=e.abort)==null||w.call(e))},a=()=>{t=!0},l=()=>{t=!1},c=()=>ZT.isFocused()&&(e.networkMode==="always"||Ad.isOnline())&&e.canRun(),u=()=>QT(e.networkMode)&&e.canRun(),f=m=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,m),i==null||i(),s.resolve(m))},h=m=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,m),i==null||i(),s.reject(m))},p=()=>new Promise(m=>{var w;i=g=>{(r||c())&&m(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var m;i=void 0,r||(m=e.onContinue)==null||m.call(e)}),v=()=>{if(r)return;let m;const w=n===0?e.initialPromise:void 0;try{m=w??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(f).catch(g=>{var S;if(r)return;const x=e.retry??(Mf?0:3),y=e.retryDelay??gF,k=typeof y=="function"?y(n,g):y,C=x===!0||typeof x=="number"&&n<x||typeof x=="function"&&x(n,g);if(t||!C){h(g);return}n++,(S=e.onFail)==null||S.call(e,n,g),cF(k).then(()=>c()?void 0:p()).then(()=>{t?h(g):v()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:u,start:()=>(u()?v():p().then(v),s)}}var yF=e=>setTimeout(e,0);function xF(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=yF;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var sn=xF(),qs,Zk,eP=(Zk=class{constructor(){ze(this,qs)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),oF(this.gcTime)&&Ee(this,qs,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Mf?1/0:5*60*1e3))}clearGcTimeout(){U(this,qs)&&(clearTimeout(U(this,qs)),Ee(this,qs,void 0))}},qs=new WeakMap,Zk),ca,Gs,Fn,Ys,qt,Cc,Zs,dr,ti,Qk,vF=(Qk=class extends eP{constructor(t){super();ze(this,dr);ze(this,ca);ze(this,Gs);ze(this,Fn);ze(this,Ys);ze(this,qt);ze(this,Cc);ze(this,Zs);Ee(this,Zs,!1),Ee(this,Cc,t.defaultOptions),this.setOptions(t.options),this.observers=[],Ee(this,Ys,t.client),Ee(this,Fn,U(this,Ys).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Ee(this,ca,bF(this.options)),this.state=t.state??U(this,ca),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=U(this,qt))==null?void 0:t.promise}setOptions(t){this.options={...U(this,Cc),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&U(this,Fn).remove(this)}setData(t,n){const r=uF(this.state.data,t,this.options);return Wt(this,dr,ti).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Wt(this,dr,ti).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=U(this,qt))==null?void 0:r.promise;return(i=U(this,qt))==null||i.cancel(t),n?n.then(ur).catch(ur):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(U(this,ca))}isActive(){return this.observers.some(t=>lF(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===dx||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 231
231Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Hm(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:!aF(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,qt))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=U(this,qt))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),U(this,Fn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(U(this,qt)&&(U(this,Zs)?U(this,qt).cancel({revert:!0}):U(this,qt).cancelRetry()),this.scheduleGc()),U(this,Fn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Wt(this,dr,ti).call(this,{type:"invalidate"})}
vendor: 6,533 bytes, line 231
231fetch(t,n){var c,u,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(U(this,qt))return U(this,qt).continueRetry(),U(this,qt).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(Ee(this,Zs,!0),r.signal)})},s=()=>{const h=YT(this.options,n),v=(()=>{const m={client:U(this,Ys),queryKey:this.queryKey,meta:this.meta};return i(m),m})();return Ee(this,Zs,!1),this.options.persister?this.options.persister(h,v,this):h(v)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:U(this,Ys),state:this.state,fetchFn:s};return i(h),h})();(c=this.options.behavior)==null||c.onFetch(a,this),Ee(this,Gs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=a.fetchOptions)==null?void 0:u.meta))&&Wt(this,dr,ti).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const l=h=>{var p,v,m,w;qh(h)&&h.silent||Wt(this,dr,ti).call(this,{type:"error",error:h}),qh(h)||((v=(p=U(this,Fn).config).onError)==null||v.call(p,h,this),(w=(m=U(this,Fn).config).onSettled)==null||w.call(m,this.state.data,h,this)),this.scheduleGc()};return Ee(this,qt,JT({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,v,m,w;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(v=(p=U(this,Fn).config).onSuccess)==null||v.call(p,h,this),(w=(m=U(this,Fn).config).onSettled)==null||w.call(m,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{Wt(this,dr,ti).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Wt(this,dr,ti).call(this,{type:"pause"})},onContinue:()=>{Wt(this,dr,ti).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),U(this,qt).start()}},ca=new WeakMap,Gs=new WeakMap,Fn=new WeakMap,Ys=new WeakMap,qt=new WeakMap,Cc=new WeakMap,Zs=new WeakMap,dr=new WeakSet,ti=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,...wF(r.data,this.options),fetchMeta:t.meta??null};case"success":return Ee(this,Gs,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return qh(i)&&i.revert&&U(this,Gs)?{...U(this,Gs),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),sn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),U(this,Fn).notify({query:this,type:"updated",action:t})})},Qk);function wF(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:QT(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function bF(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 Mr,Xk,kF=(Xk=class extends Af{constructor(t={}){super();ze(this,Mr);this.config=t,Ee(this,Mr,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??ux(i,n);let o=this.get(s);return o||(o=new vF({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){U(this,Mr).has(t.queryHash)||(U(this,Mr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=U(this,Mr).get(t.queryHash);n&&(t.destroy(),n===t&&U(this,Mr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){sn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return U(this,Mr).get(t)}getAll(){return[...U(this,Mr).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>jw(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>jw(t,r)):n}notify(t){sn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){sn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){sn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Mr=new WeakMap,Xk),Rr,tn,Qs,Ir,_i,Jk,SF=(Jk=class extends eP{constructor(t){super();ze(this,Ir);ze(this,Rr);ze(this,tn);ze(this,Qs);this.mutationId=t.mutationId,Ee(this,tn,t.mutationCache),Ee(this,Rr,[]),this.state=t.state||CF(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){U(this,Rr).includes(t)||(U(this,Rr).push(t),this.clearGcTimeout(),U(this,tn).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Ee(this,Rr,U(this,Rr).filter(n=>n!==t)),this.scheduleGc(),U(this,tn).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){U(this,Rr).length||(this.state.status==="pending"?this.scheduleGc():U(this,tn).remove(this))}continue(){var t;return((t=U(this,Qs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,c,u,f,h,p,v,m,w,g,x,y,k,C,S,P,N;const n=()=>{Wt(this,Ir,_i).call(this,{type:"continue"})};Ee(this,Qs,JT({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,T)=>{Wt(this,Ir,_i).call(this,{type:"failed",failureCount:A,error:T})},onPause:()=>{Wt(this,Ir,_i).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>U(this,tn).canRun(this)}));const r=this.state.status==="pending",i=!U(this,Qs).canStart();try{if(r)n();else{Wt(this,Ir,_i).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=U(this,tn).config).onMutate)==null?void 0:o.call(s,t,this));
231const T=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));T!==this.state.context&&Wt(this,Ir,_i).call(this,{type:"pending",context:T,variables:t,isPaused:i})}const A=await U(this,Qs).start();return await((u=(c=U(this,tn).config).onSuccess)==null?void 0:u.call(c,A,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,A,t,this.state.context)),await((v=(p=U(this,tn).config).onSettled)==null?void 0:v.call(p,A,null,this.state.variables,this.state.context,this)),await((w=(m=this.options).onSettled)==null?void 0:w.call(m,A,null,t,this.state.context)),Wt(this,Ir,_i).call(this,{type:"success",data:A}),A}catch(A){try{throw await((x=(g=U(this,tn).config).onError)==null?void 0:x.call(g,A,t,this.state.context,this)),await((k=(y=this.options).onError)==null?void 0:k.call(y,A,t,this.state.context)),await((S=(C=U(this,tn).config).onSettled)==null?void 0:S.call(C,void 0,A,this.state.variables,this.state.context,this)),await((N=(P=this.options).onSettled)==null?void 0:N.call(P,void 0,A,t,this.state.context)),A}finally{Wt(this,Ir,_i).call(this,{type:"error",error:A})}}finally{U(this,tn).runNext(this)}}},Rr=new WeakMap,tn=new WeakMap,Qs=new WeakMap,Ir=new WeakSet,_i=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};case"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),sn.batch(()=>{U(this,Rr).forEach(r=>{r.onMutationUpdate(t)}),U(this,tn).notify({mutation:this,type:"updated",action:t})})},Jk);function CF(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var si,fr,Ec,eS,EF=(eS=class extends Af{constructor(t={}){super();ze(this,si);ze(this,fr);ze(this,Ec);this.config=t,Ee(this,si,new Set),Ee(this,fr,new Map),Ee(this,Ec,0)}build(t,n,r){const i=new SF({mutationCache:this,mutationId:++Gc(this,Ec)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){U(this,si).add(t);const n=yu(t);if(typeof n=="string"){const r=U(this,fr).get(n);r?r.push(t):U(this,fr).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(U(this,si).delete(t)){const n=yu(t);if(typeof n=="string"){const r=U(this,fr).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&U(this,fr).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=yu(t);if(typeof n=="string"){const r=U(this,fr).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=yu(t);if(typeof n=="string"){const i=(r=U(this,fr).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){sn.batch(()=>{U(this,si).forEach(t=>{this.notify({type:"removed",mutation:t})}),U(this,si).clear(),U(this,fr).clear()})}getAll(){return Array.from(U(this,si))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Nw(n,r))}findAll(t={}){return this.getAll().filter(n=>Nw(t,n))}notify(t){sn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return sn.batch(()=>Promise.all(t.map(n=>n.continue().catch(ur))))}},si=new WeakMap,fr=new WeakMap,Ec=new WeakMap,eS);function yu(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Mw(e){return{onFetch:(t,n)=>{var u,f,h,p,v;const r=t.options,i=(h=(f=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((v=t.state.data)==null?void 0:v.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const c=async()=>{let m=!1;const w=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)}
231)},g=YT(t.options,t.fetchOptions),x=async(y,k,C)=>{if(m)return Promise.reject();if(k==null&&y.pages.length)return Promise.resolve(y);const P=(()=>{const O={client:t.client,queryKey:t.queryKey,pageParam:k,direction:C?"backward":"forward",meta:t.options.meta};return w(O),O})(),N=await g(P),{maxPages:A}=t.options,T=C?fF:dF;return{pages:T(y.pages,N,A),pageParams:T(y.pageParams,k,A)}};if(i&&s.length){const y=i==="backward",k=y?TF:Rw,C={pages:s,pageParams:o},S=k(r,C);a=await x(C,S,y)}else{const y=e??s.length;do{const k=l===0?o[0]??r.initialPageParam:Rw(r,a);if(l>0&&k==null)break;a=await x(a,k),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var m,w;return(w=(m=t.options).persister)==null?void 0:w.call(m,c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Rw(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 TF(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 mt,Bi,zi,ua,da,$i,fa,ha,tS,PF=(tS=class{constructor(e={}){ze(this,mt);ze(this,Bi);ze(this,zi);ze(this,ua);ze(this,da);ze(this,$i);ze(this,fa);ze(this,ha);Ee(this,mt,e.queryCache||new kF),Ee(this,Bi,e.mutationCache||new EF),Ee(this,zi,e.defaultOptions||{}),Ee(this,ua,new Map),Ee(this,da,new Map),Ee(this,$i,0)}mount(){Gc(this,$i)._++,U(this,$i)===1&&(Ee(this,fa,ZT.subscribe(async e=>{e&&(await this.resumePausedMutations(),U(this,mt).onFocus())})),Ee(this,ha,Ad.subscribe(async e=>{e&&(await this.resumePausedMutations(),U(this,mt).onOnline())})))}unmount(){var e,t;Gc(this,$i)._--,U(this,$i)===0&&((e=U(this,fa))==null||e.call(this),Ee(this,fa,void 0),(t=U(this,ha))==null||t.call(this),Ee(this,ha,void 0))}isFetching(e){return U(this,mt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return U(this,Bi).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=U(this,mt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=U(this,mt).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Hm(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return U(this,mt).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=U(this,mt).get(r.queryHash),s=i==null?void 0:i.state.data,o=sF(t,s);if(o!==void 0)return U(this,mt).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return sn.batch(()=>U(this,mt).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=U(this,mt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=U(this,mt);sn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=U(this,mt);return sn.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=sn.batch(()=>U(this,mt).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(ur).catch(ur)}invalidateQueries(e,t={}){return sn.batch(()=>(U(this,mt).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=sn.batch(()=>U(this,mt).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(ur)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(ur)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=U(this,mt).build(this,t);return n.isStaleByTime(Hm(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ur).catch(ur)}fetchInfiniteQuery(e){return e.behavior=Mw(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ur).catch(ur)}ensureInfiniteQueryData(e){return e.behavior=Mw(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ad.isOnline()?U(this,Bi).resumePausedMutations():Promise.resolve()}getQueryCache(){return U(this,mt)}getMutationCache(){return U(this,Bi)}getDefaultOptions(){return U(this,zi)}setDefaultOptions(e){Ee(this,zi,e)}setQueryDefaults(e,t){U(this,ua).set(ac(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...U(this,ua).values()],n={};return t.forEach(r=>{lc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){U(this,da).set(ac(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...U(this,da).values()],n={};return t.forEach(r=>{lc(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...U(this,zi).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ux(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===dx&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...U(this,zi).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){U(this,mt).clear(),U(this,Bi).clear()}},mt=new WeakMap,Bi=new WeakMap,zi=new WeakMap,ua=new WeakMap,da=new WeakMap,$i=new WeakMap,fa=new WeakMap,ha=new WeakMap,tS),jF=b.createContext(void 0),NF=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),d.jsx(jF.Provider,{value:e,children:t}));/** 232 * @remix-run/router v1.23.0 233 * 234 * Copyright (c) Remix Software Inc. 235 * 236 * This source code is licensed under the MIT license found in the 237 * LICENSE.md file in the root directory of this source tree. 238 * 239 * @license MIT 240 */function cc(){return cc=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},cc.apply(this,arguments)}var Hi;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Hi||(Hi={}));const Iw="popstate";function _F(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return qm("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Md(i)}return MF(t,n,null,e)}function kt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function tP(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function AF(){return Math.random().toString(36).substr(2,8)}function Dw(e,t){return{usr:e.state,key:e.key,idx:t}}function qm(e,t,n,r){return n===void 0&&(n=null),cc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Fa(t):t,{state:n,key:t&&t.key||r||AF()})}function Md(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 Fa(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 MF(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Hi.Pop,l=null,c=u();c==null&&(c=0,o.replaceState(cc({},o.state,{idx:c}),""));function u(){return(o.state||{idx:null}).idx}function f(){a=Hi.Pop;let w=u(),g=w==null?null:w-c;c=w,l&&l({action:a,location:m.location,delta:g})}function h(w,g){a=Hi.Push;let x=qm(m.location,w,g);c=u()+1;let y=Dw(x,c),k=m.createHref(x);try{o.pushState(y,"",k)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(k)}s&&l&&l({action:a,location:m.location,delta:1})}function p(w,g){a=Hi.Replace;let x=qm(m.location,w,g);c=u();let y=Dw(x,c),k=m.createHref(x);o.replaceState(y,"",k),s&&l&&l({action:a,location:m.location,delta:0})}function v(w){let g=i.location.origin!=="null"?i.location.origin:i.location.href,x=typeof w=="string"?w:Md(w);return x=x.replace(/ $/,"%20"),kt(g,"No window.location.(origin|href) available to create URL for href: "+x),new URL(x,g)}let m={get action(){return a},get location(){return e(i,o)},listen(w){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Iw,f),l=w,()=>{i.removeEventListener(Iw,f),l=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let g=v(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(w){return o.go(w)}};return m}var Ow;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ow||(Ow={}));function RF(e,t,n){return n===void 0&&(n="/"),IF(e,t,n,!1)}function IF(e,t,n,r){let i=typeof t=="string"?Fa(t):t,s=fx(i.pathname||"/",n);if(s==null)return null;let o=nP(e);DF(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let c=KF(s);a=WF(o[l],c,r)}return a}function nP(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(kt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
240id. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=rs([r,l.relativePath]),u=n.concat(l);s.children&&s.children.length>0&&(kt(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),nP(s.children,t,u,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:$F(c,s.index),routesMeta:u})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of rP(s.path))i(s,o,l)}),t}function rP(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=rP(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function DF(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:UF(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const OF=/^:[\w-]+$/,LF=3,FF=2,VF=1,BF=10,zF=-2,Lw=e=>e==="*";function $F(e,t){let n=e.split("/"),r=n.length;return n.some(Lw)&&(r+=zF),t&&(r+=FF),n.filter(i=>!Lw(i)).reduce((i,s)=>i+(OF.test(s)?LF:s===""?VF:BF),r)}function UF(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function WF(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],c=a===r.length-1,u=s==="/"?t:t.slice(s.length)||"/",f=Fw({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},u),h=l.route;if(!f&&c&&n&&!r[r.length-1].route.index&&(f=Fw({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!f)return null;
vendor: 6,917 bytes, lines 240-249
240Object.assign(i,f.params),o.push({params:i,pathname:rs([s,f.pathname]),pathnameBase:ZF(rs([s,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(s=rs([s,f.pathnameBase]))}return o}function Fw(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=HF(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((c,u,f)=>{let{paramName:h,isOptional:p}=u;if(h==="*"){let m=a[f]||"";o=s.slice(0,s.length-m.length).replace(/(.)\/+$/,"$1")}const v=a[f];return p&&!v?c[h]=void 0:c[h]=(v||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:o,pattern:e}}function HF(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),tP(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function KF(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return tP(!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 fx(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)||"/"}function qF(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Fa(e):e;return{pathname:n?n.startsWith("/")?n:GF(n,t):t,search:QF(r),hash:XF(i)}}function GF(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Gh(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 YF(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function hx(e,t){let n=YF(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function px(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Fa(e):(i=cc({},e),kt(!i.pathname||!i.pathname.includes("?"),Gh("?","pathname","search",i)),kt(!i.pathname||!i.pathname.includes("#"),Gh("#","pathname","hash",i)),kt(!i.search||!i.search.includes("#"),Gh("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}a=f>=0?t[f]:"/"}let l=qF(i,a),c=o&&o!=="/"&&o.endsWith("/"),u=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}const rs=e=>e.join("/").replace(/\/\/+/g,"/"),ZF=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),QF=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,XF=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function JF(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const iP=["post","put","patch","delete"];new Set(iP);const e5=["get",...iP];new Set(e5);/** 241 * React Router v6.30.1 242 * 243 * Copyright (c) Remix Software Inc. 244 * 245 * This source code is licensed under the MIT license found in the 246 * LICENSE.md file in the root directory of this source tree. 247 * 248 * @license MIT 249 */function uc(){return uc=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},uc.apply(this,arguments)}const mx=b.createContext(null),t5=b.createContext(null),ws=b.createContext(null),Rf=b.createContext(null),ki=b.createContext({outlet:null,matches:[],isDataRoute:!1}),sP=b.createContext(null);function n5(e,t){let{relative:n}=t===void 0?{}:t;Va()||kt(!1);let{basename:r,navigator:i}=b.useContext(ws),{hash:s,pathname:o,search:a}=lP(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:rs([r,o])),i.createHref({pathname:l,search:a,hash:s})}function Va(){return b.useContext(Rf)!=null}function bs(){return Va()||kt(!1),b.useContext(Rf).location}function oP(e){b.useContext(ws).static||b.useLayoutEffect(e)}function aP(){let{isDataRoute:e}=b.useContext(ki);return e?m5():r5()}function r5(){Va()||kt(!1);let e=b.useContext(mx),{basename:t,future:n,navigator:r}=b.useContext(ws),{matches:i}=b.useContext(ki),{pathname:s}=bs(),o=JSON.stringify(hx(i,n.v7_relativeSplatPath)),a=b.useRef(!1);return oP(()=>{a.current=!0}),b.useCallback(function(c,u){if(u===void 0&&(u={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let f=px(c,JSON.parse(o),s,u.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:rs([t,f.pathname])),(u.replace?r.replace:r.push)(f,u.state,u)},[t,r,o,s,e])}function gx(){let{matches:e}=b.useContext(ki),t=e[e.length-1];return t?t.params:{}}function lP(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(ws),{matches:i}=b.useContext(ki),{pathname:s}=bs(),o=JSON.stringify(hx(i,r.v7_relativeSplatPath));return b.useMemo(()=>px(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function i5(e,t){return s5(e,t)}function s5(e,t,n,r){Va()||kt(!1);let{navigator:i}=b.useContext(ws),{matches:s}=b.useContext(ki),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let c=bs(),u;if(t){var f;let w=typeof t=="string"?Fa(t):t;l==="/"||(f=w.pathname)!=null&&f.startsWith(l)||kt(!1),u=w}else u=c;let h=u.pathname||"/",p=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=RF(e,{pathname:p}),m=u5(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:rs([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:rs([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&m?b.createElement(Rf.Provider,{value:{location:uc({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Hi.Pop}},m):m}function o5(){let e=p5(),t=JF(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application
249Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const a5=b.createElement(o5,null);class l5 extends b.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?b.createElement(ki.Provider,{value:this.props.routeContext},b.createElement(sP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function c5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(mx);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(ki.Provider,{value:t},r)}function u5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let u=o.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);u>=0||kt(!1),o=o.slice(0,Math.min(o.length,u+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<o.length;u++){let f=o[u];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=u),f.route.id){let{loaderData:h,errors:p}=n,v=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||v){l=!0,c>=0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((u,f,h)=>{let p,v=!1,m=null,w=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,m=f.route.errorElement||a5,l&&(c<0&&h===0?(v=!0,w=null):c===h&&(v=!0,w=f.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,h+1)),x=()=>{let y;return p?y=m:v?y=w:f.route.Component?y=b.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=u,b.createElement(c5,{match:f,routeContext:{outlet:u,matches:g,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?b.createElement(l5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:x(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):x()},null)}var cP=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(cP||{}),Rd=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}(Rd||{});function d5(e){let t=b.useContext(mx);return t||kt(!1),t}function f5(e){let t=b.useContext(t5);return t||kt(!1),t}function h5(e){let t=b.useContext(ki);return t||kt(!1),t}function uP(e){let t=h5(),n=t.matches[t.matches.length-1];return n.route.id||kt(!1),n.route.id}function p5(){var e;let t=b.useContext(sP),n=f5(Rd.UseRouteError),r=uP(Rd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function m5(){let{router:e}=d5(cP.UseNavigateStable),t=uP(Rd.UseNavigateStable),n=b.useRef(!1);return oP(()=>{n.current=!0}),b.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,uc({fromRouteId:t},s)))},[e,t])}function g5(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function dP(e){let{to:t,replace:n,state:r,relative:i}=e;Va()||kt(!1);let{future:s,static:o}=b.useContext(ws),{matches:a}=b.useContext(ki),{pathname:l}=bs(),c=aP(),u=px(t,hx(a,s.v7_relativeSplatPath),l,i==="path"),f=JSON.stringify(u);return b.useEffect(()=>c(JSON.parse(f),{replace:n,state:r,relative:i}),[c,f,i,n,r]),null}function bn(e){kt(!1)}function y5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Hi.Pop,navigator:s,static:o=!1,future:a}=e;Va()&&kt(!1);let l=t.replace(/^\/*/,"/"),c=b.useMemo(()=>({basename:l,navigator:s,static:o,future:uc({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=Fa(r));
249let{pathname:u="/",search:f="",hash:h="",state:p=null,key:v="default"}=r,m=b.useMemo(()=>{let w=fx(u,l);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:v},navigationType:i}},[l,u,f,h,p,v,i]);return m==null?null:b.createElement(ws.Provider,{value:c},b.createElement(Rf.Provider,{children:n,value:m}))}function x5(e){let{children:t,location:n}=e;return i5(Gm(t),n)}new Promise(()=>{});function Gm(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let s=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Gm(r.props.children,s));return}r.type!==bn&&kt(!1),!r.props.index||!r.props.children||kt(!1);let o={id:r.props.id||s.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&&(o.children=Gm(r.props.children,s)),n.push(o)}),n}/** 250 * React Router DOM v6.30.1 251 * 252 * Copyright (c) Remix Software Inc. 253 * 254 * This source code is licensed under the MIT license found in the 255 * LICENSE.md file in the root directory of this source tree. 256 * 257 * @license MIT 258 */function Ym(){return Ym=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},Ym.apply(this,arguments)}function v5(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function w5(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function b5(e,t){return e.button===0&&(!t||t==="_self")&&!w5(e)}const k5=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],S5="6";try{window.__reactRouterVersion=S5}catch{}const C5="startTransition",Vw=Jg[C5];function E5(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=_F({window:i,v5Compat:!0}));let o=s.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},u=b.useCallback(f=>{c&&Vw?Vw(()=>l(f)):l(f)},[l,c]);return b.useLayoutEffect(()=>o.listen(u),[o,u]),b.useEffect(()=>g5(r),[r]),b.createElement(y5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const T5=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P5=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pe=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:c,preventScrollReset:u,viewTransition:f}=t,h=v5(t,k5),{basename:p}=b.useContext(ws),v,m=!1;if(typeof c=="string"&&P5.test(c)&&(v=c,T5))try{let y=new URL(window.location.href),k=c.startsWith("//")?new URL(y.protocol+c):new URL(c),C=fx(k.pathname,p);k.origin===y.origin&&C!=null?c=C+k.search+k.hash:m=!0}catch{}let w=n5(c,{relative:i}),g=j5(c,{replace:o,state:a,target:l,preventScrollReset:u,relative:i,viewTransition:f});function x(y){r&&r(y),y.defaultPrevented||g(y)}return b.createElement("a",Ym({},h,{href:v||w,onClick:m||s?r:x,ref:n,target:l}))});var Bw;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Bw||(Bw={}));var zw;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zw||(zw={}));function j5(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=aP(),c=bs(),u=lP(e,{relative:o});return b.useCallback(f=>{if(b5(f,n)){f.preventDefault();let h=r!==void 0?r:Md(c)===Md(u);l(e,{replace:h,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[c,l,u,r,i,n,e,s,o,a])}const Yh="https://empowernjmma.com",Oc={title:"Empower Martial Arts | Karate & Krav Maga in Matawan, NJ",description:"Karate and Krav Maga for kids and families in Matawan, East Brunswick & Edison, NJ. New member specials at all three locations.",ogTitle:"Empower Martial Arts",ogDescription:"Karate and Krav Maga for kids and families. Strength with purpose.",ogImage:`${Yh}/og-image.png`,siteUrl:Yh,authorName:"Empower Martial Arts",structuredData:{"@context":"https://schema.org","@type":"MartialArtsSchool",name:"Empower Martial Arts",description:"Karate and Krav Maga for kids and families in Matawan, East Brunswick & Edison, NJ.",url:Yh,telephone:"+1-732-288-6446",email:"[email protected]",priceRange:"$",address:{"@type":"PostalAddress",streetAddress:"1070 Rt 34",addressLocality:"Matawan",addressRegion:"NJ",postalCode:"07747",addressCountry:"US"},sameAs:["https://www.facebook.com/matawanmartialarts","https://www.instagram.com/ema_aberdeen/","https://www.youtube.com/@ema_aberdeen"]}},$w="/assets/badge-transparent-BOhtSUAz.png",N5="/assets/homepage-hero-DAUvo-42.jpg",_5="/assets/empower-kids-4-DsGNd5JQ.webp",A5="/assets/jr-program-pic-new-BVdI5OGA.webp",M5="/assets/Empower-adults-C7Cy42G7.webp",R5="/assets/empowerteamphoto-Bdv91NBr.webp",Qt={business:{name:"Empower Martial Arts",shortName:"Empower",discipline:"Karate · Krav Maga",email:"[email protected]",phone:"(732) 288-6446",phoneRaw:"+17322886446",founder:{name:"Sensei Manjinder Singh",title:"Head Instructor"},region:"Matawan, NJ",logoLight:$w,logoDark:$w,favicon:"/favicon.svg",about:"Karate and Krav Maga for kids and families. Discipline that builds confident kids â and the families behind them.",hours:[],primaryLocation:{address:"1070 Rt 34",city:"Matawan",state:"NJ",zip:"07747"},googleRating:{stars:"5.0",reviewCount:"92+"}},theme:{accentColor:"214 99% 34%",accentForeground:"0 0% 100%",badgeColor:"#014BAD",fonts:{display:"Manrope",body:"Manrope",googleFontsUrl:"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap"}},programs:[{id:"kids-martial-arts",slug:"kids-martial-arts",name:"Kids Martial Arts",shortDe
258scription:"Ages 7â12",badge:"Ages 7â12",deal:{title:"Kids intro specials",subtitle:"Every location has a kids offer. Pick yours.",perks:["East Brunswick: 2 free classes + free white belt","Matawan: 1 week free + free white belt","Edison: 4 weeks + free t-shirt â $69"],originalPrice:"",salePrice:"",discount:"Limited time",ctaLabel:"Book a trial",ctaLink:"/contact"},ageRange:"7â12 years old",description:"Karate for older kids â sharper technique, real self-defense, and progress they can measure.",details:"Thirty to forty-five-minute classes. Drills, partner work, and structured sparring. Belt progression that rewards repetition over flash.",benefitsHeading:"What your child will learn",benefits:["Practical self-defense fundamentals","Discipline that travels off the mat","Mental toughness, not bravado","Goal-setting through belt ranks"],schedule:[{day:"Mon",time:"5:00 PM",duration:"30 min"},{day:"Tue",time:"6:15 PM",duration:"30 min"},{day:"Wed",time:"5:00 PM",duration:"30 min"},{day:"Thu",time:"6:15 PM",duration:"30 min"},{day:"Sat",time:"10:00 AM",duration:"30 min"}],images:[_5]},{id:"junior-martial-arts",slug:"junior-martial-arts",name:"Junior Martial Arts",shortDescription:"Ages 4â6",badge:"Ages 4â6",deal:{title:"Kids intro specials",subtitle:"Every location has a kids offer. Pick yours.",perks:["East Brunswick: 2 free classes + free white belt","Matawan: 1 week free + free white belt","Edison: 4 weeks + free t-shirt â $69"],originalPrice:"",salePrice:"",discount:"Limited time",ctaLabel:"Book a trial",ctaLink:"/contact"},ageRange:"4â6 years old",description:"Karate for kids â focus, respect, and the confidence to try.",details:"Classes run thirty to forty-five minutes â warm-up, drills, and structured practice. We bow in, we bow out. We never raise our voices unless we're counting.",benefitsHeading:"What your child will learn",benefits:["Focus that carries into school","Respect for self and others","Coordination and balance through repetition","The habit of showing up"],schedule:[],images:[A5]},{id:"krav-maga",slug:"krav-maga",name:"Krav Maga",shortDescription:"Teens & adults",badge:"Teens & adults",deal:{title:"Teens & adults special",subtitle:"Two weeks of training to see if it's for you.",perks:["2 weeks of classes","Free t-shirt","No experience needed"],originalPrice:"",salePrice:"$20",discount:"Limited time",ctaLabel:"Claim the special",ctaLink:"/contact"},ageRange:"Teens & adults",description:"Practical self-defense for the people in your family who are old enough to use it.",details:"Krav Maga is built around real-world scenarios â short, sharp, repeatable. We teach it the same way we teach Karate: calm voices, clear drills, and no theatrics.",benefitsHeading:"What you'll learn",benefits:["Defending against common attacks","Awareness and avoidance before contact","Fitness as a side effect of practice","The confidence to stand tall"],schedule:[],images:[M5]},{id:"bjj-teens-adults",slug:"bjj-teens-adults",name:"BJJ for Teens & Adults",shortDescription:"Ages 13+",badge:"Ages 13+",deal:{title:"Free welcome class",subtitle:"Try a class at our Edison location on us.",perks:["One full class","Meet the instructors","No experience needed"],originalPrice:"",salePrice:"Free",discount:"Limited time",ctaLabel:"Book your class",ctaLink:"/contact"},ageRange:"Ages 13+",description:"Brazilian Jiu-Jitsu for teens and adults â ground fundamentals, positional control, and real-world leverage.",details:"BJJ classes run 45 minutes: warm-up, positional drills, and live rolling. No prior experience needed. We build a foundation in posture, escapes, and submissions that carries whether you're competing or just training for fitness.",benefitsHeading:"What you'll learn",benefits:["Ground-fighting fundamentals and positional control","Escapes, sweeps, and submissions","Real-world self-defense through leverage â not strength","Mental toughness and problem-solving under pressure"],schedule:[],images:[]}],deal:{title:"New member specials",subtitle:"Every location has an intro offer for kids, teens, and adults.",perks:["Kids
258intro offers with free gear","Teen & adult trial specials","No experience needed"],originalPrice:"",salePrice:"",discount:"Limited time",ctaLabel:"Book a trial",ctaLink:"/contact"},homepage:{hero:{locationLabel:"Central New Jersey's Best Martial Arts School",headline:"",headlineAccent:"Discipline on the Mat.",headlineSuffix:" Confidence for Life.",subheadline:"Your child's next breakthrough won't happen on a screen. At Empower Martial Arts, our kids karate and martial arts programs help Central NJ families build the focus, self-discipline, and confidence they need for school and life.",ctaPrimary:{label:"Book a trial",href:"/contact"},ctaSecondary:{label:"View schedule",href:"/locations/matawan#schedule"},heroImage:N5},stats:[{icon:"Star",label:"Google rating",value:"5.0 â
"},{icon:"Users",label:"Families training",value:"100+"},{icon:"Award",label:"Reviews on Google",value:"92+"}],audienceBenefits:[{title:"Confidence, not bravado",description:"We build kids who stand tall, not kids who pick fights. Calm, sure-footed, never threatening."},{title:"Discipline as a practice",description:"Showing up beats showing off. Progress through repetition and small wins â not transformation overnight."},{title:"A place for the whole family",description:"Parents are partners, not spectators. Schedules, siblings, and the realities of a busy week are welcome here."}],gettingStarted:{badge:"How to start",title:"Start simple. Stay as long as it feels right.",description:"Show up five minutes early so we can say hi.",steps:[{number:"01",title:"Book your trial",description:"Pick a class time that fits your week and tell us a little about your family. That's it.",perks:["Comfortable clothes","No experience needed","Your child walks in ready on day one"]},{number:"02",title:"Experience real training",description:"Your child joins a real class â not a watered-down demo. Two full weeks to see how focus and discipline build one session at a time.",perks:["Real drills with real instructors","A structured, respectful environment","No pressure, no hard sell"]},{number:"03",title:"Decide what fits your family",description:"If it clicks, you choose the program and schedule that works for your life. If it doesn't, you walk away with nothing owed.",perks:["Flexible family scheduling","Sibling-friendly pricing","No long-term contract required"]},{number:"04",title:"Watch them grow",description:"The real reward isn't the first class â it's the months that follow. You'll see your child carry focus, respect, and quiet confidence into every part of their life.",perks:["Belt progressions that build real pride","A community your family grows with","Results that show up at home and at school"]}]},videoSection:{badge:"Inside the dojo",title:"What a first class looks like.",description:"Hear from parents in their own words, then peek inside the dojo. Thirty to forty-five minutes on the mat â warm-up, drills, and structured practice.",videos:[{src:"/videos/parents-share-real-stories.mp4",poster:"/videos/parents-share-real-stories-poster.jpg"},{src:"/videos/inside-the-dojo.mp4",poster:"/videos/inside-the-dojo-poster.jpg"},{src:"/videos/what-to-expect.mp4",poster:"/videos/what-to-expect-poster.jpg"}]},testimonials:{badge:"From the families",title:"Parents tell it straight.",items:[{quote:"Our son has been attending EMA for a year and half and we are very happy that we found this school. After being unhappy with a previous karate school, we found EMA to be everything that the previous school was lacking, and more. Deshi Nick is an amazing instructor. He has mastered the perfect balance of having high expectations of his students, being tough when necessary, but also making time for lots of fun and laughter. Our son looks forward to his classes every week and we are proud of the progress that he has made while attending EMA.",name:"Candice Sieradzki",detail:"Parent · 1.5 years on the mat"},{quote:"I came here for the free class for my 10 yr old, and she loved it! She wanted to continue classes & then her younger sister wanted to join too â now they can't wait for their karate days. I recommend them so much! They are so much fun and they love learning from their instructors!",name:"Jessica Cuestas",detail
258:"Parent of two daughters"},{quote:"Empower Martial Arts is amazing! I am very happy I enrolled my daughter in their classes. They truly care about their students and do a great job building confidence, discipline, and real life skills. Highly recommended!",name:"Mile G.",detail:"Parent of daughter"},{quote:"Deshi has helped my child grow in martial arts with coordinated activities, cool music, and fun interactions. We cannot thank Deshi enough for helping our child gain confidence in his abilities.",name:"Rakhi Kakar",detail:"Parent · Google Local Guide"},{quote:"Fantastic martial arts school! The instructors are amazing â knowledgeable, patient, and create a really positive learning space. The community here is awesome. Highly recommend checking them out!",name:"Sayuri Shree",detail:"Google Local Guide"},{quote:"The instructors already have such a great reputation for being patient, positive, and really knowledgeable. I love the focus on confidence, discipline, and respect along with learning real BJJ skills. This school is definitely a place where kids will be supported, encouraged, and grow!",name:"Natasha Trikilas",detail:"Google review"}]},instructorsSection:{badge:"Meet the instructors",title:"The people on the mat with your kid.",description:"Background-checked, certified, and chosen because your child deserves the best on the mat.",ctaLabel:"Meet the team"},ctaStrip:{title:"New member specials at all three locations.",description:"Show up five minutes early so we can say hi.",ctaPrimary:{label:"Book a trial",href:"/contact"},ctaSecondary:{label:"Call or text",href:"tel:+17322886446"}}},about:{heroTitle:"Strength with purpose.",heroDescription:"Empower Martial Arts is a neighborhood dojo that takes its job seriously without taking itself too seriously. We teach
258Karate and Krav Maga as a path to focus, respect, and real self-belief.",mission:{label:"Our mission",title:"Discipline that builds confident kids â and the families behind them.",paragraphs:["We're talking to a parent who's busy and a kid who's nervous. We cut the marketing language and say what's true.","Our tone is grounded, modern, and welcoming â strong enough to mean something, warm enough that a six-year-old wants to walk through the door."]},groupPhoto:R5,groupPhotoAlt:"Empower Martial Arts students on the mat",values:{sectionLabel:"What we stand for",sectionTitle:"Three principles, in plain language.",items:[{icon:"Shield",title:"Confidence, not bravado",desc:"We build kids who stand tall, not kids who pick fights. Calm, sure-footed, never loud."},{icon:"Target",title:"Discipline as a practice",desc:"Showing up beats showing off. Progress, repetition, and small wins â not transformation overnight."},{icon:"Users",title:"A place for the whole family",desc:"Parents are partners, not spectators. Siblings, schedules, and the realities of a busy week are welcome."}]},instructors:{sectionLabel:"Meet the instructors",sectionTitle:"The people on the mat with your kid.",sectionDescription:"Every class is led by an instructor we trust â and so will you."}},seo:Oc,contact:{heroBadge:"Try a free class",heroTitle:"Book your trial class.",heroDescription:"Bare feet. Anything comfortable to move in. Show up five minutes early so we can say hi.",formTitle:"Book your trial",successTitle:"Thanks â we'll be in touch.",successMessage:"We've got your details. An instructor will reach out within one business day to confirm your trial time.",consentText:"By submitting, you agree we can contact you about your trial class. We don't share your details.",showChildNameField:!0},schedulePage:{badge:"Class schedule",title:"When we're on the mat.",description:"Milltown (East Brunswick area) class times below. Ask about our new member specials.",footerNote:"Schedules can shift around holidays. Call or text to confirm if you're driving in from out of town. Edison schedule coming soon.",tags:{"little-dragon":{label:"Little Dragon",color:"bg-blue-50 text-blue-700"},"basic-kids":{label:"Basic Kids",color:"bg-blue-100 text-blue-800"},"black-belts":{label:"Black Belts",color:"bg-gray-900 text-white"}},classes:[{day:"Monday",time:"5:00 PM",name:"Basic Little Dragon",tag:"little-dragon"},{day:"Monday",time:"5:00 PM",name:"Basic Kids",tag:"basic-kids"},{day:"Monday",time:"6:45 PM",name:"Black Belts",tag:"black-belts"},{day:"Tuesday",time:"6:15 PM",name:"Basic Little Dragon",tag:"little-dragon"},{day:"Tuesday",time:"7:00 PM",name:"Basic Kids",tag:"basic-kids"},{day:"Wednesday",time:"5:00 PM",name:"Basic Kids",tag:"basic-kids"},{day:"Wednesday",time:"5:00 PM",name:"Basic Little Dragon",tag:"little-dragon"},{day:"Wednesday",time:"6:45 PM",name:"Black Belts",tag:"black-belts"},{day:"Thursday",time:"6:15 PM",name:"Basic Little Dragon",tag:"little-dragon"},{day:"Thursday",time:"7:00 PM",name:"Basic Kids",tag:"basic-kids"}
vendor: 30,735 bytes, line 258
258,{day:"Saturday",time:"10:00 AM",name:"Basic Kids",tag:"basic-kids"},{day:"Saturday",time:"10:00 AM",name:"Basic Little Dragon",tag:"little-dragon"},{day:"Saturday",time:"11:45 AM",name:"Black Belts",tag:"black-belts"}]},navigation:{programsDropdownLabel:"Programs",ctaLabel:"Book a trial",ctaLink:"/contact",studentLoginUrl:"",stickyBar:{message:"New member specials at every location.",highlight:"No experience needed.",ctaLabel:"Book a trial",ctaLink:"/contact"}},blog:{heading:"From the dojo",description:"Notes from our instructors on training, parenting, and life off the mat.",ctaHeading:"Ready to try a class?",ctaDescription:"New member specials at all three locations. Bring your kid by, see the room, meet the team."}},fP=b.createContext(Qt);function I5({config:e=Qt,children:t}){return d.jsx(fP.Provider,{value:e,children:t})}function Yr(){return b.useContext(fP)}function Tr(){return Yr().business}function If(){return Yr().theme}function yx(){return Yr().programs}function hP(){return Yr().deal}function D5(){return Yr().homepage}function O5(){return Yr().about}function pP(){return Yr().contact}function L5(){return Yr().schedulePage}function Df(){return Yr().navigation}function Of(){return Yr().blog}function F5(){const e=If();return b.useEffect(()=>{const t=document.documentElement;t.style.setProperty("--gold",e.accentColor),t.style.setProperty("--gold-foreground",e.accentForeground),t.style.setProperty("--font-display",`'${e.fonts.display}', sans-serif`),t.style.setProperty("--font-body",`'${e.fonts.body}', sans-serif`)},[e.accentColor,e.accentForeground,e.fonts.display,e.fonts.body]),null}const xx=b.createContext({});function vx(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const mP=typeof window<"u",gP=mP?b.useLayoutEffect:b.useEffect,Lf=b.createContext(null);function wx(e,t){e.indexOf(t)===-1&&e.push(t)}function bx(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Kr=(e,t,n)=>n>t?t:n<e?e:n;let Ff=()=>{},Ca=()=>{};const yi={},yP=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function xP(e){return typeof e=="object"&&e!==null}const vP=e=>/^0[^.\s]+$/u.test(e);function kx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Kn=e=>e,V5=(e,t)=>n=>t(e(n)),Lc=(...e)=>e.reduce(V5),dc=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Sx{constructor(){this.subscriptions=[]}add(t){return wx(this.subscriptions,t),()=>bx(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $r=e=>e*1e3,Wn=e=>e/1e3;function wP(e,t){return t?e*(1e3/t):0}const bP=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,B5=1e-7,z5=12;function $5(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=bP(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>B5&&++a<z5);return o}function Fc(e,t,n,r){if(e===t&&n===r)return Kn;const i=s=>$5(s,0,1,e,n);return s=>s===0||s===1?s:bP(i(s),t,r)}const kP=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,SP=e=>t=>1-e(1-t),CP=Fc(.33,1.53,.69,.99),Cx=SP(CP),EP=kP(Cx),TP=e=>(e*=2)<1?.5*Cx(e):.5*(2-Math.pow(2,-10*(e-1))),Ex=e=>1-Math.sin(Math.acos(e)),PP=SP(Ex),jP=kP(Ex),U5=Fc(.42,0,1,1),W5=Fc(0,0,.58,1),NP=Fc(.42,0,.58,1),H5=e=>Array.isArray(e)&&typeof e[0]!="number",_P=e=>Array.isArray(e)&&typeof e[0]=="number",Uw={linear:Kn,easeIn:U5,easeInOut:NP,easeOut:W5,circIn:Ex,circInOut:jP,circOut:PP,backIn:Cx,backInOut:EP,backOut:CP,anticipate:TP},K5=e=>typeof e=="string",Ww=e=>{if(_P(e)){Ca(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return Fc(t,n,r,i)}else if(K5(e))return Ca(Uw[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Uw[e];return e},xu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Hw={value:null,addProjectionMetrics:null};function q5(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(f){o.has(f)&&(u.schedule(f),e()),l++,f(a)}const u={schedule:(f,h=!1,p=!1)=>{const m=p&&i?n:r;return h&&o.add(f),m.has(f)||m.add(f),f},cancel:f=>{r.delete(f),o.delete(f)},process:f=>{if(a=f,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(c),t&&Hw.value&&Hw.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,u.process(f))}};return u}const G5=40;function AP(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=xu.reduce((y,k)=>(y[k]=q5(s,t?k:void 0),y),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:f,preRender:h,render:p,postRender:v}=o,m=()=>{const y=yi.useManualTiming?i.timestamp:performance.now();n=!1,yi.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,G5),1)),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),f.process(i),h.process(i),p.process(i),v.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(m))},w=()=>{n=!0,r=!0,i.isProcessing||e(m)};return{schedule:xu.reduce((y,k)=>{const C=o[k];return y[k]=(S,P=!1,N=!1)=>(n||w(),C.schedule(S,P,N)),y},{}),cancel:y=>{for(let k=0;k<xu.length;k++)o[xu[k]].cancel(y)},state:i,steps:o}}const{schedule:it,cancel:fs,state:Ft,steps:Zh}=AP(typeof requestAnimationFrame<"u"?requestAnimationFrame:Kn,!0);let qu;function Y5(){qu=void 0}const an={now:()=>(qu===void 0&&an.set(Ft.isProcessing||yi.useManualTiming?Ft.timestamp:performance.now()),qu),set:e=>{qu=e,queueMicrotask(Y5)}},MP=e=>t=>typeof t=="string"&&t.startsWith(e),RP=MP("--"),Z5=MP("var(--"),Tx=e=>Z5(e)?Q5.test(e.split("/*")[0].trim()):!1,Q5=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Kw(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Ba={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},fc={...Ba,transform:e=>Kr(0,1,e)},vu={...Ba,default:1},Ml=e=>Math.round(e*1e5)/1e5,Px=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function X5(e){return e==null}const J5=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,jx=(e,t)=>n=>!!(typeof n=="string"&&J5.test(n)&&n.startsWith(e)||t&&!X5(n)&&Object.prototype.hasOwnProperty.call(n,t)),IP=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(Px);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},e3=e=>Kr(0,255,e),Qh={...Ba,transform:e=>Math.round(e3(e))},$s={test:jx("rgb","red"),parse:IP("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Qh.transform(e)+", "+Qh.transform(t)+", "+Qh.transform(n)+", "+Ml(fc.transform(r))+")"};function t3(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Zm={test:jx("#"),parse:t3,transform:$s.transform},Vc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ai=Vc("deg"),Ur=Vc("%"),ce=Vc("px"),n3=Vc("vh"),r3=Vc("vw"),qw={...Ur,parse:e=>Ur.parse(e)/100,transform:e=>Ur.transform(e*100)},Uo={test:jx("hsl","hue"),parse:IP("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ur.transform(Ml(t))+", "+Ur.transform(Ml(n))+", "+Ml(fc.transform(r))+")"},Tt={test:e=>$s.test(e)||Zm.test(e)||Uo.test(e),parse:e=>$s.test(e)?$s.parse(e):Uo.test(e)?Uo.parse(e):Zm.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?$s.transform(e):Uo.transform(e),getAnimatableNone:e=>{const t=Tt.parse(e);return t.alpha=0,Tt.transform(t)}},i3=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function s3(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Px))==null?void 0:t.length)||0)+(((n=e.match(i3))==null?void 0:n.length)||0)>0}const DP="number",OP="color",o3="var",a3="var(",Gw="${}",l3=/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 hc(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(l3,l=>(Tt.test(l)?(r.color.push(s),i.push(OP),n.push(Tt.parse(l))):l.startsWith(a3)?(r.var.push(s),i.push(o3),n.push(l)):(r.number.push(s),i.push(DP),n.push(parseFloat(l))),++s,Gw)).split(Gw);return{values:n,split:a,indexes:r,types:i}}function LP(e){return hc(e).values}function FP(e){const{split:t,types:n}=hc(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const a=n[o];a===DP?s+=Ml(i[o]):a===OP?s+=Tt.transform(i[o]):s+=i[o]}return s}}const c3=e=>typeof e=="number"?0:Tt.test(e)?Tt.getAnimatableNone(e):e;function u3(e){const t=LP(e);return FP(e)(t.map(c3))}const hs={test:s3,parse:LP,createTransformer:FP,getAnimatableNone:u3};function Xh(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 d3({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Xh(l,a,e+1/3),s=Xh(l,a,e),o=Xh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function Id(e,t){return n=>n>0?t:e}const ct=(e,t,n)=>e+(t-e)*n,Jh=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},f3=[Zm,$s,Uo],h3=e=>f3.find(t=>t.test(e));function Yw(e){const t=h3(e);if(Ff(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Uo&&(n=d3(n)),n}const Zw=(e,t)=>{const n=Yw(e),r=Yw(t);if(!n||!r)return Id(e,t);const i={...n};return s=>(i.red=Jh(n.red,r.red,s),i.green=Jh(n.green,r.green,s),i.blue=Jh(n.blue,r.blue,s),i.alpha=ct(n.alpha,r.alpha,s),$s.transform(i))},Qm=new Set(["none","hidden"]);function p3(e,t){return Qm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function m3(e,t){return n=>ct(e,t,n)}function Nx(e){return typeof e=="number"?m3:typeof e=="string"?Tx(e)?Id:Tt.test(e)?Zw:x3:Array.isArray(e)?VP:typeof e=="object"?Tt.test(e)?Zw:g3:Id}function VP(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>Nx(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function g3(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Nx(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function y3(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const x3=(e,t)=>{const n=hs.createTransformer(t),r=hc(e),i=hc(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Qm.has(e)&&!i.values.length||Qm.has(t)&&!r.values.length?p3(e,t):Lc(VP(y3(r,i),i.values),n):(Ff(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Id(e,t))};function BP(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ct(e,t,n):Nx(e)(e,t)}const v3=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>it.update(t,n),stop:()=>fs(t),now:()=>Ft.isProcessing?Ft.timestamp:an.now()}},zP=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Dd=2e4;function _x(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Dd;)t+=n,r=e.next(t);return t>=Dd?1/0:t}function w3(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(_x(r),Dd);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:Wn(i)}}const b3=5;function $P(e,t,n){const r=Math.max(t-b3,0);return wP(n-e(r),t-r)}const at={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},ep=.001;function k3({duration:e=at.duration,bounce:t=at.bounce,velocity:n=at.velocity,mass:r=at.mass}){let i,s;Ff(e<=$r(at.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=Kr(at.minDamping,at.maxDamping,o),e=Kr(at.minDuration,at.maxDuration,Wn(e)),o<1?(i=c=>{const u=c*o,f=u*e,h=u-n,p=Xm(c,o),v=Math.exp(-f);return ep-h/p*v},s=c=>{const f=c*o*e,h=f*n+n,p=Math.pow(o,2)*Math.pow(c,2)*e,v=Math.exp(-f),m=Xm(Math.pow(c,2),o);return(-i(c)+ep>0?-1:1)*((h-p)*v)/m}):(i=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-ep+u*f},s=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const a=5/e,l=C3(i,s,a);if(e=$r(e),isNaN(l))return{stiffness:at.stiffness,damping:at.damping,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:o*2*Math.sqrt(r*c),duration:e}}}const S3=12;function C3(e,t,n){let r=n;for(let i=1;i<S3;i++)r=r-e(r)/t(r);return r}function Xm(e,t){return e*Math.sqrt(1-t*t)}const E3=["duration","bounce"],T3=["stiffness","damping","mass"];function Qw(e,t){return t.some(n=>e[n]!==void 0)}function P3(e){let t={velocity:at.velocity,stiffness:at.stiffness,damping:at.damping,mass:at.mass,isResolvedFromDuration:!1,...e};if(!Qw(e,T3)&&Qw(e,E3))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*Kr(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:at.mass,stiffness:i,damping:s}}else{const n=k3(e);t={...t,...n,mass:at.mass},t.isResolvedFromDuration=!0}return t}function Od(e=at.visualDuration,t=at.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:c,mass:u,duration:f,velocity:h,isResolvedFromDuration:p}=P3({...n,velocity:-Wn(n.velocity||0)}),v=h||0,m=c/(2*Math.sqrt(l*u)),w=o-s,g=Wn(Math.sqrt(l/u)),x=Math.abs(w)<5;r||(r=x?at.restSpeed.granular:at.restSpeed.default),i||(i=x?at.restDelta.granular:at.restDelta.default);let y;if(m<1){const C=Xm(g,m);y=S=>{const P=Math.exp(-m*g*S);return o-P*((v+m*g*w)/C*Math.sin(C*S)+w*Math.cos(C*S))}}else if(m===1)y=C=>o-Math.exp(-g*C)*(w+(v+g*w)*C);else{const C=g*Math.sqrt(m*m-1);y=S=>{const P=Math.exp(-m*g*S),N=Math.min(C*S,300);return o-P*((v+m*g*w)*Math.sinh(N)+C*w*Math.cosh(N))/C}}const k={calculatedDuration:p&&f||null,next:C=>{const S=y(C);if(p)a.done=C>=f;else{let P=C===0?v:0;m<1&&(P=C===0?$r(v):$P(y,C,S));const N=Math.abs(P)<=r,A=Math.abs(o-S)<=i;a.done=N&&A}return a.value=a.done?o:S,a},toString:()=>{const C=Math.min(_x(k),Dd),S=zP(P=>k.next(C*P).value,C,30);return C+"ms "+S},toTransition:()=>{}};return k}Od.applyToOptions=e=>{const t=w3(e,100,Od);return e.ease=t.ease,e.duration=$r(t.duration),e.type="keyframes",e};function Jm({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){const f=e[0],h={done:!1,value:f},p=N=>a!==void 0&&N<a||l!==void 0&&N>l,v=N=>a===void 0?l:l===void 0||Math.abs(a-N)<Math.abs(l-N)?a:l;let m=n*t;const w=f+m,g=o===void 0?w:o(w);g!==w&&(m=g-f);const x=N=>-m*Math.exp(-N/r),y=N=>g+x(N),k=N=>{const A=x(N),T=y(N);h.done=Math.abs(A)<=c,h.value=h.done?g:T};let C,S;const P=N=>{p(h.value)&&(C=N,S=Od({keyframes:[h.value,v(h.value)],velocity:$P(y,N,h.value),damping:i,stiffness:s,restDelta:c,restSpeed:u}))};return P(0),{calculatedDuration:null,next:N=>{let A=!1;return!S&&C===void 0&&(A=!0,k(N),P(N)),C!==void 0&&N>=C?S.next(N-C):(!A&&k(N),h)}}}function j3(e,t,n){const r=[],i=n||yi.mix||BP,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||Kn:t;a=Lc(l,a)}r.push(a)}return r}function N3(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Ca(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=j3(t,r,i),l=a.length,c=u=>{if(o&&u<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(u<e[f+1]);f++);const h=dc(e[f],e[f+1],u);return a[f](h)};return n?u=>c(Kr(e[0],e[s-1],u)):c}function _3(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=dc(0,t,r);e.push(ct(n,1,i))}}function A3(e){const t=[0];return _3(t,e.length-1),t}function M3(e,t){return e.map(n=>n*t)}function R3(e,t){return e.map(()=>t||NP).splice(0,e.length-1)}function Rl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=H5(r)?r.map(Ww):Ww(r),s={done:!1,value:t[0]},o=M3(n&&n.length===t.length?n:A3(t),e),a=N3(o,t,{ease:Array.isArray(i)?i:R3(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const I3=e=>e!==null;function Ax(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(I3),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const D3={decay:Jm,inertia:Jm,tween:Rl,keyframes:Rl,spring:Od};function UP(e){typeof e.type=="string"&&(e.type=D3[e.type])}class Mx{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const O3=e=>e/100;class Rx extends Mx{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==an.now()&&this.tick(an.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;UP(t);const{type:n=Rl,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Rl;l!==Rl&&typeof a[0]!="number"&&(this.mixKeyframes=Lc(O3,BP(a[0],a[1])),a=[0,100]);const c=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=_x(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=c}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:c=0,keyframes:u,repeat:f,repeatType:h,repeatDelay:p,type:v,onUpdate:m,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,k=r;if(f){const N=Math.min(this.currentTime,i)/a;let A=Math.floor(N),T=N%1;!T&&N>=1&&(T=1),T===1&&A--,A=Math.min(A,f+1),!!(A%2)&&(h==="reverse"?(T=1-T,p&&(T-=p/a)):h==="mirror"&&(k=o)),y=Kr(0,1,T)*a}const C=x?{done:!1,value:u[0]}:k.next(y);s&&(C.value=s(C.value));let{done:S}=C;!x&&l!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return P&&v!==Jm&&(C.value=Ax(u,this.options,w,this.speed)),m&&m(C.value),P&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Wn(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Wn(t)}get time(){return Wn(this.currentTime)}set time(t){var n;t=$r(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(an.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Wn(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=v3,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(an.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function L3(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Us=e=>e*180/Math.PI,eg=e=>{const t=Us(Math.atan2(e[1],e[0]));return tg(t)},F3={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eg,rotateZ:eg,skewX:e=>Us(Math.atan(e[1])),skewY:e=>Us(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},tg=e=>(e=e%360,e<0&&(e+=360),e),Xw=eg,Jw=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eb=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),V3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Jw,scaleY:eb,scale:e=>(Jw(e)+eb(e))/2,rotateX:e=>tg(Us(Math.atan2(e[6],e[5]))),rotateY:e=>tg(Us(Math.atan2(-e[2],e[0]))),rotateZ:Xw,rotate:Xw,skewX:e=>Us(Math.atan(e[4])),skewY:e=>Us(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ng(e){return e.includes("scale")?1:0}function rg(e,t){if(!e||e==="none")return ng(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=V3,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=F3,i=a}if(!i)return ng(t);const s=r[t],o=i[1].split(",").map(z3);return typeof s=="function"?s(o):o[s]}const B3=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return rg(n,t)};function z3(e){return parseFloat(e.trim())}const za=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$a=new Set(za),tb=e=>e===Ba||e===ce,$3=new Set(["x","y","z"]),U3=za.filter(e=>!$3.has(e));function W3(e){const t=[];return U3.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ki={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>rg(t,"x"),y:(e,{transform:t})=>rg(t,"y")};Ki.translateX=Ki.x;Ki.translateY=Ki.y;const eo=new Set;let ig=!1,sg=!1,og=!1;function WP(){if(sg){const e=Array.from(eo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=W3(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}sg=!1,ig=!1,eo.forEach(e=>e.complete(og)),eo.clear()}function HP(){eo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(sg=!0)})}function H3(){og=!0,HP(),WP(),og=!1}class Ix{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(eo.add(this),ig||(ig=!0,it.read(HP),it.resolveKeyframes(WP))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}L3(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),eo.delete(this)}cancel(){this.state==="scheduled"&&(eo.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const K3=e=>e.startsWith("--");function q3(e,t,n){K3(t)?e.style.setProperty(t,n):e.style[t]=n}const G3=kx(()=>window.ScrollTimeline!==void 0),Y3={};function Z3(e,t){const n=kx(e);return()=>Y3[t]??n()}const KP=Z3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),yl=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,nb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yl([0,.65,.55,1]),circOut:yl([.55,0,1,.45]),backIn:yl([.31,.01,.66,-.59]),backOut:yl([.33,1.53,.69,.99])};function qP(e,t){if(e)return typeof e=="function"?KP()?zP(e,t):"ease-out":_P(e)?yl(e):Array.isArray(e)?e.map(n=>qP(n,t)||nb.easeOut):nb[e]}function Q3(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},c=void 0){const u={[t]:n};l&&(u.offset=l);const f=qP(a,i);Array.isArray(f)&&(u.easing=f);const h={delay:r,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(u,h)}function GP(e){return typeof e=="function"&&"applyToOptions"in e}function X3({type:e,...t}){return GP(e)&&KP()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class J3 extends Mx{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,Ca(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const c=X3(t);this.animation=Q3(n,r,i,c,s),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const u=Ax(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(u):q3(n,r,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,n;this.isPseudoElement||(n=(t=this.animation).commitStyles)==null||n.call(t)}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return Wn(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Wn(t)}get time(){return Wn(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=$r(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&G3()?(this.animation.timeline=t,Kn):n(this)}}const YP={anticipate:TP,backInOut:EP,circInOut:jP};function eV(e){return e in YP}function tV(e){typeof e.ease=="string"&&eV(e.ease)&&(e.ease=YP[e.ease])}const tp=10;class nV extends J3{constructor(t){tV(t),UP(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Rx({...o,autoplay:!1}),l=Math.max(tp,an.now()-this.startTime),c=Kr(0,tp,l-tp);n.setWithVelocity(a.sample(Math.max(0,l-c)).value,a.sample(l).value,c),a.stop()}}const rb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(hs.test(e)||e==="0")&&!e.startsWith("url("));function rV(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 iV(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=rb(i,t),a=rb(s,t);return Ff(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:rV(e)||(n==="spring"||GP(n))&&r}function ag(e){e.duration=0,e.type="keyframes"}const sV=new Set(["opacity","clipPath","filter","transform"]),oV=kx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function aV(e){var u;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(((u=t==null?void 0:t.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return oV()&&n&&sV.has(n)&&(n!=="transform"||!c)&&!l&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const lV=40;class cV extends Mx{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
258o="loop",keyframes:a,name:l,motionValue:c,element:u,...f}){var v;super(),this.stop=()=>{var m,w;this._animation&&(this._animation.stop(),(m=this.stopTimeline)==null||m.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=an.now();const h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:c,element:u,...f},p=(u==null?void 0:u.KeyframeResolver)||Ix;this.keyframeResolver=new p(a,(m,w,g)=>this.onKeyframesResolved(m,w,h,!g),l,c,u),(v=this.keyframeResolver)==null||v.scheduleResolve()}onKeyframesResolved(t,n,r,i){var w,g;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=an.now(),iV(t,s,o,a)||((yi.instantAnimations||!l)&&(u==null||u(Ax(t,r,n))),t[0]=t[t.length-1],ag(r),r.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>lV?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!c&&aV(h),v=(g=(w=h.motionValue)==null?void 0:w.owner)==null?void 0:g.current,m=p?new nV({...h,element:v}):new Rx(h);m.finished.then(()=>{this.notifyFinished()}).catch(Kn),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),H3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function ZP(e,t,n,r=0,i=1){const s=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const uV=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function dV(e){const t=uV.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const fV=4;function QP(e,t,n=1){Ca(n<=fV,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=dV(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return yP(o)?parseFloat(o):o}return Tx(i)?QP(i,t,n+1):i}const hV={type:"spring",stiffness:500,damping:25,restSpeed:10},pV=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),mV={type:"keyframes",duration:.8},gV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},yV=(e,{keyframes:t})=>t.length>2?mV:$a.has(e)?e.startsWith("scale")?pV(t[1]):hV:gV,xV=e=>e!==null;function vV(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(xV),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}function Dx(e,t){return(e==null?void 0:e[t])??(e==null?void 0:e.default)??e}function wV({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const Ox=(e,t,n,r={},i,s)=>o=>{const a=Dx(r,e)||{},l=a.delay||r.delay||0;let{elapsed:c=0}=r;c=c-$r(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};wV(a)||Object.assign(u,yV(e,u)),u.duration&&(u.duration=$r(u.duration)),u.repeatDelay&&(u.repeatDelay=$r(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let f=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ag(u),u.delay===0&&(f=!0)),(yi.instantAnimations||yi.skipAnimations)&&(f=!0,ag(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,f&&!s&&t.get()!==void 0){const h=vV(u.keyframes,a);if(h!==void 0){it.update(()=>{u.onUpdate(h),u.onComplete()});return}}return a.isSync?new Rx(u):new cV(u)};function ib(e){const t=[{},{}];
vendor: 29,224 bytes, line 258
258return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Lx(e,t,n,r){if(typeof t=="function"){const[i,s]=ib(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=ib(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function ra(e,t,n){const r=e.getProps();return Lx(r,t,n!==void 0?n:r.custom,e)}const XP=new Set(["width","height","top","left","right","bottom",...za]),sb=30,bV=e=>!isNaN(parseFloat(e));class kV{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=an.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=an.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=bV(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 Sx);const r=this.events[t].add(n);return t==="change"?()=>{r(),it.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=an.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>sb)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,sb);return wP(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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ea(e,t){return new kV(e,t)}const lg=e=>Array.isArray(e);function SV(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ea(n))}function CV(e){return lg(e)?e[e.length-1]||0:e}function EV(e,t){const n=ra(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=CV(s[o]);SV(e,o,a)}}const Yt=e=>!!(e&&e.getVelocity);function TV(e){return!!(Yt(e)&&e.add)}function cg(e,t){const n=e.getValue("willChange");if(TV(n))return n.add(t);if(!n&&yi.WillChange){const r=new yi.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Fx(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const PV="framerAppearId",JP="data-"+Fx(PV);function ej(e){return e.props[JP]}function jV({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function tj(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...a}=t;r&&(s=r);const l=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const u in a){const f=e.getValue(u,e.latestValues[u]??null),h=a[u];if(h===void 0||c&&jV(c,u))continue;const p={delay:n,...Dx(s||{},u)},v=f.get();if(v!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===v&&!p.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const g=ej(e);if(g){const x=window.MotionHandoffAnimation(g,u,it);x!==null&&(p.startTime=x,m=!0)}}cg(e,u),f.start(Ox(u,f,h,e.shouldReduceMotion&&XP.has(u)?{type:!1}:p,e,m));const w=f.animation;w&&l.push(w)}return o&&Promise.all(l).then(()=>{it.update(()=>{o&&EV(e,o)})}),l}function ug(e,t,n={}){var l;const r=ra(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(tj(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:f,staggerDirection:h}=i;return NV(e,t,c,u,f,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[c,u]=a==="beforeChildren"?[s,o]:[o,s];return c().then(()=>u())}else return Promise.all([s(),o(n.delay)])}function NV(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(ug(l,t,{...o,delay:n+(typeof r=="function"?0:r)+ZP(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function _V(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>ug(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=ug(e,t,n);else{const i=typeof t=="function"?ra(e,t,n.custom):t;r=Promise.all(tj(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const AV={test:e=>e==="auto",parse:e=>e},nj=e=>t=>t.test(e),rj=[Ba,ce,Ur,Ai,r3,n3,AV],ob=e=>rj.find(nj(e));function MV(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||vP(e):!0}const RV=new Set(["brightness","contrast","saturate","opacity"]);function IV(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Px)||[];if(!r)return e;const i=n.replace(r,"");let s=RV.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const DV=/\b([a-z-]*)\(.*?\)/gu,dg={...hs,getAnimatableNone:e=>{const t=e.match(DV);return t?t.map(IV).join(" "):e}},ab={...Ba,transform:Math.round},OV={rotate:Ai,rotateX:Ai,rotateY:Ai,rotateZ:Ai,scale:vu,scaleX:vu,scaleY:vu,scaleZ:vu,skew:Ai,skewX:Ai,skewY:Ai,distance:ce,translateX:ce,translateY:ce,translateZ:ce,x:ce,y:ce,z:ce,perspective:ce,transformPerspective:ce,opacity:fc,originX:qw,originY:qw,originZ:ce},Vx={borderWidth:ce,borderTopWidth:ce,borderRightWidth:ce,borderBottomWidth:ce,borderLeftWidth:ce,borderRadius:ce,borderTopLeftRadius:ce,borderTopRightRadius:ce,borderBottomRightRadius:ce,borderBottomLeftRadius:ce,width:ce,maxWidth:ce,height:ce,maxHeight:ce,top:ce,right:ce,bottom:ce,left:ce,inset:ce,insetBlock:ce,insetBlockStart:ce,insetBlockEnd:ce,insetInline:ce,insetInlineStart:ce,insetInlineEnd:ce,padding:ce,paddingTop:ce,paddingRight:ce,paddingBottom:ce,paddingLeft:ce,paddingBlock:ce,paddingBlockStart:ce,paddingBlockEnd:ce,paddingInline:ce,paddingInlineStart:ce,paddingInlineEnd:ce,margin:ce,marginTop:ce,marginRight:ce,marginBottom:ce,marginLeft:ce,marginBlock:ce,marginBlockStart:ce,marginBlockEnd:ce,marginInline:ce,marginInlineStart:ce,marginInlineEnd:ce,fontSize:ce,backgroundPositionX:ce,backgroundPositionY:ce,...OV,zIndex:ab,fillOpacity:fc,strokeOpacity:fc,numOctaves:ab},LV={...Vx,color:Tt,backgroundColor:Tt,outlineColor:Tt,fill:Tt,stroke:Tt,borderColor:Tt,borderTopColor:Tt,borderRightColor:Tt,borderBottomColor:Tt,borderLeftColor:Tt,filter:dg,WebkitFilter:dg},ij=e=>LV[e];function sj(e,t){let n=ij(e);return n!==dg&&(n=hs),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const FV=new Set(["auto","none","0"]);function VV(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!FV.has(s)&&hc(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=sj(n,i)}class BV extends Ix{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let f=t[u];if(typeof f=="string"&&(f=f.trim(),Tx(f))){const h=QP(f,n.current);h!==void 0&&(t[u]=h),u===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!XP.has(r)||t.length!==2)return;const[i,s]=t,o=ob(i),a=ob(s),l=Kw(i),c=Kw(s);if(l!==c&&Ki[r]){this.needsMeasurement=!0;return}if(o!==a)if(tb(o)&&tb(a))for(let u=0;u<t.length;u++){const f=t[u];typeof f=="string"&&(t[u]=parseFloat(f))}else Ki[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||MV(t[i]))&&r.push(i);r.length&&VV(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=Ki[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Ki[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function zV(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const oj=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function fg(e){return xP(e)&&"offsetHeight"in e}const{schedule:Bx,cancel:uQ}=AP(queueMicrotask,!1),ar={x:!1,y:!1};function aj(){return ar.x||ar.y}function $V(e){return e==="x"||e==="y"?ar[e]?null:(ar[e]=!0,()=>{ar[e]=!1}):ar.x||ar.y?null:(ar.x=ar.y=!0,()=>{ar.x=ar.y=!1})}function lj(e,t){const n=zV(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function lb(e){return!(e.pointerType==="touch"||aj())}function UV(e,t,n={}){const[r,i,s]=lj(e,n),o=a=>{if(!lb(a))return;const{target:l}=a,c=t(l,a);if(typeof c!="function"||!l)return;const u=f=>{lb(f)&&(c(f),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return r.forEach(a=>{a.addEventListener("pointerenter",o,i)}),s}const cj=(e,t)=>t?e===t?!0:cj(e,t.parentElement):!1,zx=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,WV=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function uj(e){return WV.has(e.tagName)||e.isContentEditable===!0}const Gu=new WeakSet;function cb(e){return t=>{t.key==="Enter"&&e(t)}}function np(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const HV=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=cb(()=>{if(Gu.has(n))return;np(n,"down");const i=cb(()=>{np(n,"up")}),s=()=>np(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function ub(e){return zx(e)&&!aj()}function KV(e,t,n={}){const[r,i,s]=lj(e,n),o=a=>{const l=a.currentTarget;if(!ub(a))return;Gu.add(l);const c=t(l,a),u=(p,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Gu.has(l)&&Gu.delete(l),ub(p)&&typeof c=="function"&&c(p,{success:v})},f=p=>{u(p,l===window||l===document||n.useGlobalTarget||cj(l,p.target))},h=p=>{u(p,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),fg(a)&&(a.addEventListener("focus",c=>HV(c,i)),!uj(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function dj(e){return xP(e)&&"ownerSVGElement"in e}function qV(e){return dj(e)&&e.tagName==="svg"}const GV=[...rj,Tt,hs],YV=e=>GV.find(nj(e)),db=()=>({translate:0,scale:1,origin:0,originPoint:0}),Wo=()=>({x:db(),y:db()}),fb=()=>({min:0,max:0}),Nt=()=>({x:fb(),y:fb()}),hg={current:null},fj={current:!1},ZV=typeof window<"u";function QV(){if(fj.current=!0,!!ZV)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>hg.current=e.matches;e.addEventListener("change",t),t()}else hg.current=!1}const XV=new WeakMap;function Vf(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function pc(e){return typeof e=="string"||Array.isArray(e)}const $x=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ux=["initial",...$x];function Bf(e){return Vf(e.animate)||Ux.some(t=>pc(e[t]))}function hj(e){return!!(Bf(e)||e.variants)}function JV(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Yt(i))e.addValue(r,i);else if(Yt(s))e.addValue(r,Ea(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Ea(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const hb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ld={};function pj(e){Ld=e}function eB(){return Ld}class tB{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ix,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 h=an.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,it.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=Bf(n),this.isVariantNode=hj(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const p=f[h];l[h]!==void 0&&Yt(p)&&p.set(l[h])}}mount(t){var n;this.current=t,XV.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((r,i)=>this.bindToMotionValue(i,r)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(fj.current||QV(),this.shouldReduceMotion=hg.current),(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),fs(this.notifyUpdate),fs(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=$a.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&it.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),s&&s(),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 Ld){const n=Ld[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Nt()}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<hb.length;r++){const i=hb[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=JV(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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=Ea(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(yP(r)||vP(r))?r=parseFloat(r):!YV(r)&&hs.test(n)&&(r=sj(t,n)),this.setBaseTarget(t,Yt(r)?r.get():r)),Yt(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Lx(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Yt(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Sx),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Bx.render(this.render)}}class mj extends tB{constructor(){super(...arguments),this.KeyframeResolver=BV}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[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;Yt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class ks{constructor(t){this.isMounted=!1,this.node=t}update(){}}function gj({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nB({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function rB(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 rp(e){return e===void 0||e===1}function pg({scale:e,scaleX:t,scaleY:n}){return!rp(e)||!rp(t)||!rp(n)}function Ms(e){return pg(e)||yj(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function yj(e){return pb(e.x)||pb(e.y)}function pb(e){return e&&e!=="0%"}function Fd(e,t,n){const r=e-n,i=t*r;return n+i}function mb(e,t,n,r,i){return i!==void 0&&(e=Fd(e,i,r)),Fd(e,n,r)+t}function mg(e,t=0,n=1,r,i){e.min=mb(e.min,t,n,r,i),e.max=mb(e.max,t,n,r,i)}function xj(e,{x:t,y:n}){mg(e.x,t.translate,t.scale,t.originPoint),mg(e.y,n.translate,n.scale,n.originPoint)}const gb=.999999999999,yb=1.0000000000001;function iB(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a<i;a++){s=n[a],o=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Ko(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,xj(e,o)),r&&Ms(s.latestValues)&&Ko(e,s.latestValues))}t.x<yb&&t.x>gb&&(t.x=1),t.y<yb&&t.y>gb&&(t.y=1)}function Ho(e,t){e.min=e.min+t,e.max=e.max+t}function xb(e,t,n,r,i=.5){const s=ct(e.min,e.max,i);mg(e,t,n,s,r)}function Ko(e,t){xb(e.x,t.x,t.scaleX,t.scale,t.originX),xb(e.y,t.y,t.scaleY,t.scale,t.originY)}function vj(e,t){return gj(rB(e.getBoundingClientRect(),t))}function sB(e,t,n){const r=vj(e,n),{scroll:i}=t;return i&&(Ho(r.x,i.offset.x),Ho(r.y,i.offset.y)),r}const oB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},aB=za.length;function lB(e,t,n){let r="",i=!0;for(let s=0;s<aB;s++){const o=za[s],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(o.startsWith("scale")?1:0);else{const c=parseFloat(a);l=o.startsWith("scale")?c===1:c===0}if(!l||n){const c=oj(a,Vx[o]);if(!l){i=!1;const u=oB[o]||o;r+=`${u}(${c}) `}n&&(t[o]=c)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Wx(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const c=t[l];if($a.has(l)){o=!0;continue}else if(RP(l)){i[l]=c;continue}else{const u=oj(c,Vx[l]);l.startsWith("origin")?(a=!0,s[l]=u):r[l]=u}}if(t.transform||(o||n?r.transform=lB(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:c="50%",originZ:u=0}=s;r.transformOrigin=`${l} ${c} ${u}`}}function wj(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function vb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ol={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ce.test(e))e=parseFloat(e);else return e;const n=vb(e,t.target.x),r=vb(e,t.target.y);return`${n}% ${r}%`}},cB={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=hs.parse(e);if(i.length>5)return r;const s=hs.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const c=ct(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=c),typeof i[3+o]=="number"&&(i[3+o]/=c),s(i)}},gg={borderRadius:{...ol,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ol,borderTopRightRadius:ol,borderBottomLeftRadius:ol,borderBottomRightRadius:ol,boxShadow:cB};function bj(e,{layout:t,layoutId:n}){return $a.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!gg[e]||e==="opacity")}function Hx(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(Yt(r[a])||i&&Yt(i[a])||bj(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function uB(e){return window.getComputedStyle(e)}class dB extends mj{constructor(){super(...arguments),this.type="html",this.renderInstance=wj}readValueFromInstance(t,n){var r;if($a.has(n))return(r=this.projection)!=null&&r.isProjecting?ng(n):B3(t,n);{const i=uB(t),s=(RP(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return vj(t,n)}build(t,n,r){Wx(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Hx(t,n,r)}}const fB={offset:"stroke-dashoffset",array:"stroke-dasharray"},hB={offset:"strokeDashoffset",array:"strokeDasharray"};function pB(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?fB:hB;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const mB=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function kj(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,c,u){if(Wx(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete f.transformBox);for(const p of mB)f[p]!==void 0&&(h[p]=f[p],delete f[p]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),i!==void 0&&pB(f,i,s,o,!1)}const Sj=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"]),Cj=e=>typeof e=="string"&&e.toLowerCase()==="svg";function gB(e,t,n,r){wj(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Sj.has(i)?i:Fx(i),t.attrs[i])}function Ej(e,t,n){const r=Hx(e,t,n);for(const i in e)if(Yt(e[i])||Yt(t[i])){const s=za.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class yB extends mj{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Nt}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if($a.has(n)){const r=ij(n);return r&&r.default||0}return n=Sj.has(n)?n:Fx(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Ej(t,n,r)}build(t,n,r){kj(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){gB(t,n,r,i)}mount(t){this.isSVGTag=Cj(t.tagName),super.mount(t)}}const xB=Ux.length;function Tj(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Tj(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<xB;n++){const r=Ux[n],i=e.props[r];(pc(i)||i===!1)&&(t[r]=i)}return t}function Pj(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}const vB=[...$x].reverse(),wB=$x.length;function bB(e){return t=>Promise.all(t.map(({animation:n,options:r})=>_V(e,n,r)))}function kB(e){let t=bB(e),n=wb(),r=!0;const i=l=>(c,u)=>{var h;const f=ra(e,u,l==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(f){const{transition:p,transitionEnd:v,...m}=f;c={...c,...m,...v}}return c};function s(l){t=l(e)}function o(l){const{props:c}=e,u=Tj(e.parent)||{},f=[],h=new Set;let p={},v=1/0;for(let w=0;w<wB;w++){const g=vB[w],x=n[g],y=c[g]!==void 0?c[g]:u[g],k=pc(y),C=g===l?x.isActive:null;C===!1&&(v=w);let S=y===u[g]&&y!==c[g]&&k;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),x.protectedKeys={...p},!x.isActive&&C===null||!y&&!x.prevProp||Vf(y)||typeof y=="boolean")continue;const P=SB(x.prevProp,y);let N=P||g===l&&x.isActive&&!S&&k||w>v&&k,A=!1;const T=Array.isArray(y)?y:[y];let O=T.reduce(i(g),{});C===!1&&(O={});const{prevResolvedValues:R={}}=x,z={...R,...O},F=H=>{N=!0,h.has(H)&&(A=!0,h.delete(H)),x.needsAnimating[H]=!0;const I=e.getValue(H);I&&(I.liveStyle=!1)};for(const H in z){const I=O[H],L=R[H];if(p.hasOwnProperty(H))continue;let E=!1;lg(I)&&lg(L)?E=!Pj(I,L):E=I!==L,E?I!=null?F(H):h.add(H):I!==void 0&&h.has(H)?F(H):x.protectedKeys[H]=!0}x.prevProp=y,x.prevResolvedValues=O,x.isActive&&(p={...p,...O}),r&&e.blockInitialAnimation&&(N=!1);const W=S&&P;N&&(!W||A)&&f.push(...T.map(H=>{const I={type:g};if(typeof H=="string"&&r&&!W&&e.manuallyAnimateOnMount&&e.parent){const{parent:L}=e,E=ra(L,H);if(L.enteringChildren&&E){const{delayChildren:ne}=E.transition||{};I.delay=ZP(L.enteringChildren,e,ne)}}return{animation:H,options:I}}))}if(h.size){const w={};if(typeof c.initial!="boolean"){const g=ra(e,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(w.transition=g.transition)}h.forEach(g=>{const x=e.getBaseTarget(g),y=e.getValue(g);y&&(y.liveStyle=!0),w[g]=x??null}),f.push({animation:w})}let m=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(f):Prom
vendor: 4,328 bytes, line 258
258ise.resolve()}function a(l,c){var f;if(n[l].isActive===c)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(h=>{var p;return(p=h.animationState)==null?void 0:p.setActive(l,c)}),n[l].isActive=c;const u=o(l);for(const h in n)n[h].protectedKeys={};return u}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=wb()}}}function SB(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Pj(t,e):!1}function js(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function wb(){return{animate:js(!0),whileInView:js(),whileHover:js(),whileTap:js(),whileDrag:js(),whileFocus:js(),exit:js()}}function bb(e,t){e.min=t.min,e.max=t.max}function or(e,t){bb(e.x,t.x),bb(e.y,t.y)}function kb(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const jj=1e-4,CB=1-jj,EB=1+jj,Nj=.01,TB=0-Nj,PB=0+Nj;function ln(e){return e.max-e.min}function jB(e,t,n){return Math.abs(e-t)<=n}function Sb(e,t,n,r=.5){e.origin=r,e.originPoint=ct(t.min,t.max,e.origin),e.scale=ln(n)/ln(t),e.translate=ct(n.min,n.max,e.origin)-e.originPoint,(e.scale>=CB&&e.scale<=EB||isNaN(e.scale))&&(e.scale=1),(e.translate>=TB&&e.translate<=PB||isNaN(e.translate))&&(e.translate=0)}function Il(e,t,n,r){Sb(e.x,t.x,n.x,r?r.originX:void 0),Sb(e.y,t.y,n.y,r?r.originY:void 0)}function Cb(e,t,n){e.min=n.min+t.min,e.max=e.min+ln(t)}function NB(e,t,n){Cb(e.x,t.x,n.x),Cb(e.y,t.y,n.y)}function Eb(e,t,n){e.min=t.min-n.min,e.max=e.min+ln(t)}function Vd(e,t,n){Eb(e.x,t.x,n.x),Eb(e.y,t.y,n.y)}function Tb(e,t,n,r,i){return e-=t,e=Fd(e,1/n,r),i!==void 0&&(e=Fd(e,1/i,r)),e}function _B(e,t=0,n=1,r=.5,i,s=e,o=e){if(Ur.test(t)&&(t=parseFloat(t),t=ct(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=ct(s.min,s.max,r);e===s&&(a-=t),e.min=Tb(e.min,t,n,a,i),e.max=Tb(e.max,t,n,a,i)}function Pb(e,t,[n,r,i],s,o){_B(e,t[n],t[r],t[i],t.scale,s,o)}const AB=["x","scaleX","originX"],MB=["y","scaleY","originY"];function jb(e,t,n,r){Pb(e.x,t,AB,n?n.x:void 0,r?r.x:void 0),Pb(e.y,t,MB,n?n.y:void 0,r?r.y:void 0)}function Nb(e){return e.translate===0&&e.scale===1}function _j(e){return Nb(e.x)&&Nb(e.y)}function _b(e,t){return e.min===t.min&&e.max===t.max}function RB(e,t){return _b(e.x,t.x)&&_b(e.y,t.y)}function Ab(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Aj(e,t){return Ab(e.x,t.x)&&Ab(e.y,t.y)}function Mb(e){return ln(e.x)/ln(e.y)}function Rb(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function On(e){return[e("x"),e("y")]}function IB(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:c,rotate:u,rotateX:f,rotateY:h,skewX:p,skewY:v}=n;c&&(r=`perspective(${c}px) ${r}`),u&&(r+=`rotate(${u}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),p&&(r+=`skewX(${p}deg) `),v&&(r+=`skewY(${v}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Mj=["TopLeft","TopRight","BottomLeft","BottomRight"],DB=Mj.length,Ib=e=>typeof e=="string"?parseFloat(e):e,Db=e=>typeof e=="number"||ce.test(e);function OB(e,t,n,r,i,s){i?(e.opacity=ct(0,n.opacity??1,LB(r)),e.opacityExit=ct(t.opacity??1,0,FB(r))):s&&(e.opacity=ct(t.opacity??1,n.opacity??1,r));for(let o=0;o<DB;o++){const a=`border${Mj[o]}Radius`;let l=Ob(t,a),c=Ob(n,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||Db(l)===Db(c)?(e[a]=Math.max(ct(Ib(l),Ib(c),r),0),(Ur.test(c)||Ur.test(l))&&(e[a]+="%")):e[a]=c}(t.rotate||n.rotate)&&(e.rotate=ct(t.rotate||0,n.rotate||0,r))}function Ob(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const LB=Rj(0,.5,PP),FB=Rj(.5,.95,Kn);function Rj(e,t,n){return r=>r<e?0:r>t?1:n(dc(e,t,r))}function VB(e,t,n){const r=Yt(e)?e:Ea(e);return r.start(Ox("",r,t,n)),r.animation}function mc(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const BB=(e,t)=>e.depth-t.depth;class zB{constructor(){this.children=[],this.isDirty=!1}add(t){wx(this.children,t),this.isDirty=!0}remove(t){bx(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(BB),this.isDirty=!1,this.children.forEac
vendor: 13,381 bytes, line 258
258h(t)}}function $B(e,t){const n=an.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(fs(r),e(s-t))};return it.setup(r,!0),()=>fs(r)}function Yu(e){return Yt(e)?e.get():e}class UB{constructor(){this.members=[]}add(t){wx(this.members,t),t.scheduleRender()}remove(t){if(bx(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i];if(s.isPresent!==!1){r=s;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();const i=r.options.layoutDependency,s=t.options.layoutDependency;i!==void 0&&s!==void 0&&i===s||(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:a}=t.options;a===!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)}}const Zu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ip=["","X","Y","Z"],WB=1e3;let HB=0;function sp(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ij(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ej(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",it,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ij(r)}function Dj({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=HB++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(GB),this.nodes.forEach(XB),this.nodes.forEach(JB),this.nodes.forEach(YB)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new zB)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Sx),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=dj(o)&&!qV(o),this.instance=o;const{layoutId:a,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,f=0;const h=()=>this.root.updateBlockedByResize=!1;it.read(()=>{f=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==f&&(f=p,this.root.updateBlockedByResize=!0,u&&u(),u=$B(h,250),Zu.hasAnimatedSinceResize&&(Zu.hasAnimatedSinceResize=!1,this.nodes.forEach(Vb)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||iz,{onLayoutAnimationStart:m,onLayoutAnimationComplete:w}=c.getProps(),g=!this.targetLayout||!Aj(this.targetLayout,p),x=!f&&h;if(this.options.layoutRoot||this.resumeFrom||x||f&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...Dx(v,"layout"),onPlay:m,onComplete:w};(c.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(u,x)}else f||Vb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),fs(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ez),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ij(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Lb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Fb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(QB),this.nodes.forEach(KB),this.nodes.forEach(qB)):this.nodes.forEach(Fb),this.clearAllSnapshots();const a=an.now();Ft.delta=Kr(0,1e3/60,a-Ft.timestamp),Ft.timestamp=a,Ft.isProcessing=!0,Zh.update.process(Ft),Zh.preRender.process(Ft),Zh.render.process(Ft),Ft.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Bx.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ZB),this.sharedNodes.forEach(tz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,it.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){it.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ln(this.snapshot.measuredBox.x)&&!ln(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Nt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!_j(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;o&&this.instance&&(a||Ms(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),sz(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:o}=this.options;if(!o)return Nt();const a=o.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(oz))){const{scroll:u}=this.root;u&&(Ho(a.x,u.offset.x),Ho(a.y,u.offset.y))}return a}removeElementScroll(o){var l;const a=Nt();if(or(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:f,options:h}=u;u!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&or(a,o),Ho(a.x,f.offset.x),Ho(a.y,f.offset.y))}return a}applyTransform(o,a=!1){const l=Nt();or(l,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Ko(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Ms(u.latestValues)&&Ko(l,u.latestValues)}return Ms(this.latestValues)&&Ko(l,this.latestValues),l}removeTransform(o){const a=Nt();or(a,o);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!Ms(c.latestValues))continue;pg(c.latestValues)&&c.updateSnapshot();const u=Nt(),f=c.measurePageBox();or(u,f),jb(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return Ms(this.latestValues)&&jb(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==Ft.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:f}=this.options;if(!this.layout||!(u||f))return;this.resolvedRelativeTargetAt=Ft.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Nt(),this.targetWithTransforms=Nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),NB(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):or(this.target,this.layout.layoutBox),xj(this.target,this.targetDelta)):or(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||pg(this.parent.latestValues)||yj(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),Vd(this.relativeTargetOrigin,a,l),or(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var v;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(v=this.parent)!=null&&v.isProjectionDirty)&&
vendor: 5,271 bytes, line 258
258(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Ft.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;or(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;iB(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Nt());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(kb(this.prevProjectionDelta.x,this.projectionDelta.x),kb(this.prevProjectionDelta.y,this.projectionDelta.y)),Il(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Rb(this.projectionDelta.x,this.prevProjectionDelta.x)||!Rb(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Wo(),this.projectionDelta=Wo(),this.projectionDeltaWithTransform=Wo()}setAnimationOrigin(o,a=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=Wo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Nt(),p=l?l.source:void 0,v=this.layout?this.layout.source:void 0,m=p!==v,w=this.getStack(),g=!w||w.members.length<=1,x=!!(m&&!g&&this.options.crossfade===!0&&!this.path.some(rz));this.animationProgress=0;let y;this.mixTargetDelta=k=>{const C=k/1e3;Bb(f.x,o.x,C),Bb(f.y,o.y,C),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Vd(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),nz(this.relativeTarget,this.relativeTargetOrigin,h,C),y&&RB(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Nt()),or(y,this.relativeTarget)),m&&(this.animationValues=u,OB(u,c,this.latestValues,C,x,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,c;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(fs(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=it.update(()=>{Zu.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ea(0)),this.currentAnimation=VB(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(WB),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:c,latestValues:u}=o;if(!(!a||!l||!c)){if(this!==o&&this.layout&&c&&Oj(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||Nt();const f=ln(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+f;const h=ln(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+h}or(a,l),Ko(a,u),Il(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new UB),this.sharedNodes.get(o).add(a);const c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}
vendor: 37,425 bytes, lines 258-266
258resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const c={};l.z&&sp("z",o,c,this.animationValues);for(let u=0;u<ip.length;u++)sp(`rotate${ip[u]}`,o,c,this.animationValues),sp(`skew${ip[u]}`,o,c,this.animationValues);o.render();for(const u in c)o.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Yu(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Yu(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Ms(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let f=IB(this.projectionDeltaWithTransform,this.treeScale,u);l&&(f=l(u,f)),o.transform=f;const{x:h,y:p}=this.projectionDelta;o.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,c.animationValues?o.opacity=c===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:o.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const v in gg){if(u[v]===void 0)continue;const{correct:m,applyTo:w,isCSSVariable:g}=gg[v],x=f==="none"?u[v]:m(u[v],c);if(w){const y=w.length;for(let k=0;k<y;k++)o[w[k]]=x}else g?this.options.visualElement.renderState.vars[v]=x:o[v]=x}this.options.layoutId&&(o.pointerEvents=c===this?Yu(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Lb),this.root.sharedNodes.clear()}}}function KB(e){e.updateLayout()}function qB(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;s==="size"?On(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=ln(h);h.min=r[f].min,h.max=h.min+p}):Oj(s,t.layoutBox,r)&&On(f=>{const h=o?t.measuredBox[f]:t.layoutBox[f],p=ln(r[f]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});const a=Wo();Il(a,r,t.layoutBox);const l=Wo();o?Il(l,e.applyTransform(i,!0),t.measuredBox):Il(l,r,t.layoutBox);const c=!_j(a);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:p}=f;if(h&&p){const v=Nt();Vd(v,t.layoutBox,h.layoutBox);const m=Nt();Vd(m,r,p.layoutBox),Aj(v,m)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function GB(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function YB(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ZB(e){e.clearSnapshot()}function Lb(e){e.clearMeasurements()}function Fb(e){e.isLayoutDirty=!1}function QB(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Vb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function XB(e){e.resolveTargetDelta()}function JB(e){e.calcProjection()}function ez(e){e.resetSkewAndRotation()}function tz(e){e.removeLeadSnapshot()}function Bb(e,t,n){e.translate=ct(t.translate,0,n),e.scale=ct(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function zb(e,t,n,r){e.min=ct(t.min,n.min,r),e.max=ct(t.max,n.max,r)}function nz(e,t,n,r){zb(e.x,t.x,n.x,r),zb(e.y,t.y,n.y,r)}function rz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const iz={duration:.45,ease:[.4,0,.1,1]},$b=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ub=$b("applewebkit/")&&!$b("chrome/")?Math.round:Kn;function Wb(e){e.min=Ub(e.min),e.max=Ub(e.max)}function sz(e){Wb(e.x),Wb(e.y)}function Oj(e,t,n){return e==="position"||e==="preserve-aspect"&&!jB(Mb(t),Mb(n),.2)}function oz(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const az=Dj({attachResizeListener:(e,t)=>mc(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),op={current:void 0},Lj=Dj({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!op.current){const e=new az({});e.mount(window),e.setOptions({layoutScroll:!0}),op.current=e}return op.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Kx=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Hb(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function lz(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Hb(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Hb(e[i],null)}}}}function cz(...e){return b.useCallback(lz(...e),e)}class uz extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,i=fg(r)&&r.offsetWidth||0,s=fg(r)&&r.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left,o.bottom=s-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function dz({children:e,isPresent:t,anchorX:n,anchorY:r,root:i}){var f;const s=b.useId(),o=b.useRef(null),a=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:l}=b.useContext(Kx),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),u=cz(o,c);return b.useInsertionEffect(()=>{const{width:h,height:p,top:v,left:m,right:w,bottom:g}=a.current;if(t||!o.current||!h||!p)return;const x=n==="left"?`left: ${m}`:`right: ${w}`,y=r==="bottom"?`bottom: ${g}`:`top: ${v}`;o.current.dataset.motionPopId=s;const k=document.createElement("style");l&&(k.nonce=l);const C=i??document.head;return C.appendChild(k),k.sheet&&k.sheet.insertRule(` 259 [data-motion-pop-id="${s}"] { 260 position: absolute !important; 261 width: ${h}px !important; 262 height: ${p}px !important; 263 ${x}px !important; 264 ${y}px !important; 265 } 266 `),()=>{C.contains(k)&&C.removeChild(k)}},[t]),d.jsx(uz,{isPresent:t,childRef:o,sizeRef:a,children:b.cloneElement(e,{ref:u})})}const fz=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:c})=>{const u=vx(hz),f=b.useId();let h=!0,p=b.useMemo(()=>(h=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:v=>{u.set(v,!0);for(const m of u.values())if(!m)return;r&&r()},register:v=>(u.set(v,!1),()=>u.delete(v))}),[n,u,r]);return s&&h&&(p={...p}),b.useMemo(()=>{u.forEach((v,m)=>u.set(m,!1))},[n]),b.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),o==="popLayout"&&(e=d.jsx(dz,{isPresent:n,anchorX:a,anchorY:l,root:c,children:e})),d.jsx(Lf.Provider,{value:p,children:e})};function hz(){return new Map}function Fj(e=!0){const t=b.useContext(Lf);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=b.useId();b.useEffect(()=>{if(e)return i(s)},[e]);const o=b.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const wu=e=>e.key||"";function Kb(e){const t=[];return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const al=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:c})=>{const[u,f]=Fj(o),h=b.useMemo(()=>Kb(e),[e]),p=o&&!u?[]:h.map(wu),v=b.useRef(!0),m=b.useRef(h),w=vx(()=>new Map),g=b.useRef(new Set),[x,y]=b.useState(h),[k,C]=b.useState(h);gP(()=>{v.current=!1,m.current=h;for(let N=0;N<k.length;N++){const A=wu(k[N]);p.includes(A)?(w.delete(A),g.current.delete(A)):w.get(A)!==!0&&w.set(A,!1)}},[k,p.length,p.join("-")]);const S=[];if(h!==x){let N=[...h];for(let A=0;A<k.length;A++){const T=k[A],O=wu(T);p.includes(O)||(N.splice(A,0,T),S.push(T))}return s==="wait"&&S.length&&(N=S),C(Kb(N)),y(h),null}const{forceRender:P}=b.useContext(xx);return d.jsx(d.Fragment,{children:k.map(N=>{const A=wu(N),T=o&&!u?!1:h===k||p.includes(A),O=()=>{if(g.current.has(A))return;if(g.current.add(A),w.has(A))w.set(A,!0);else return;let R=!0;w.forEach(z=>{z||(R=!1)}),R&&(P==null||P(),C(m.current),o&&(f==null||f()),r&&r())};return d.jsx(fz,{isPresent:T,initial:!v.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:c,onExitComplete:T?void 0:O,anchorX:a,anchorY:l,children:N},A)})})},Vj=b.createContext({strict:!1}),qb={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"]};let Gb=!1;function pz(){if(Gb)return;const e={};for(const t in qb)e[t]={isEnabled:n=>qb[t].some(r=>!!n[r])};pj(e),Gb=!0}function Bj(){return pz(),eB()}function mz(e){const t=Bj();for(const n in e)t[n]={...t[n],...e[n]};pj(t)}const gz=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 Bd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||gz.has(e)}let zj=e=>!Bd(e);function yz(e){typeof e=="function"&&(zj=t=>t.startsWith("on")?!Bd(t):e(t))}try{yz(require("@emotion/is-prop-valid").default)}catch{}function xz(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(zj(i)||n===!0&&Bd(i)||!t&&!Bd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const zf=b.createContext({});function vz(e,t){if(Bf(e)){const{initial:n,animate:r}=e;return{initial:n===!1||pc(n)?n:void 0,animate:pc(r)?r:void 0}}return e.inherit!==!1?t:{}}function wz(e){const{initial:t,animate:n}=vz(e,b.useContext(zf));return b.useMemo(()=>({initial:t,animate:n}),[Yb(t),Yb(n)])}function Yb(e){return Array.isArray(e)?e.join(" "):e}const qx=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $j(e,t,n){for(const r in t)!Yt(t[r])&&!bj(r,n)&&(e[r]=t[r])}function bz({transformTemplate:e},t){return b.useMemo(()=>{const n=qx();return Wx(n,t,e),Object.assign({},n.vars,n.style)},[t])}function kz(e,t){const n=e.style||{},r={};return $j(r,n,e),Object.assign(r,bz(e,t)),r}function Sz(e,t){const n={},r=kz(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}const Uj=()=>({...qx(),attrs:{}});function Cz(e,t,n,r){const i=b.useMemo(()=>{const s=Uj();return kj(s,t,Cj(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};$j(s,e.style,e),i.style={...s,...i.style}}return i}const Ez=["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 Gx(e){return typeof e!="string"||e.includes("-")?!1:!!(Ez.indexOf(e)>-1||/[A-Z]/u.test(e))}function Tz(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??Gx(e)?Cz:Sz)(t,r,i,e),c=xz(t,typeof e=="string",s),u=e!==b.Fragment?{...c,...l,ref:n}:{},{children:f}=t,h=b.useMemo(()=>Yt(f)?f.get():f,[f]);return b.createElement(e,{...u,children:h})}function Pz({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:jz(n,r,i,e),renderState:t()}}function jz(e,t,n,r){const i={},s=r(e,{});for(const h in s)i[h]=Yu(s[h]);let{initial:o,animate:a}=e;const l=Bf(e),c=hj(e);t&&c&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const f=u?a:o;if(f&&typeof f!="boolean"&&!Vf(f)){const h=Array.isArray(f)?f:[f];for(let p=0;p<h.length;p++){const v=Lx(e,h[p]);if(v){const{transitionEnd:m,transition:w,...g}=v;for(const x in g){let y=g[x];if(Array.isArray(y)){const k=u?y.length-1:0;y=y[k]}y!==null&&(i[x]=y)}for(const x in m)i[x]=m[x]}}}return i}const Wj=e=>(t,n)=>{const r=b.useContext(zf),i=b.useContext(Lf),s=()=>Pz(e,t,r,i);return n?s():vx(s)},Nz=Wj({scrapeMotionValuesFromProps:Hx,createRenderState:qx}),_z=Wj({scrapeMotionValuesFromProps:Ej,createRenderState:Uj}),Az=Symbol.for("motionComponentSymbol");function Mz(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const i=b.useRef(null);return b.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const Hj=b.createContext({});function xl(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Rz(e,t,n,r,i,s){var g,x;const{visualElement:o}=b.useContext(zf),a=b.useContext(Vj),l=b.useContext(Lf),c=b.useContext(Kx).reducedMotion,u=b.useRef(null),f=b.useRef(!1);r=r||a.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,isSVG:s}),f.current&&u.current&&(u.current.manuallyAnimateOnMount=!0));const h=u.current,p=b.useContext(Hj);h&&!h.projection&&i&&(h.type==="html"||h.type==="svg")&&Iz(u.current,n,i,p);const v=b.useRef(!1);b.useInsertionEffect(()=>{h&&v.current&&h.update(n,l)});const m=n[JP],w=b.useRef(!!m&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,m))&&((x=window.MotionHasOptimisedAnimation)==null?void 0:x.call(window,m)));return gP(()=>{f.current=!0,h&&(v.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),w.current&&h.animationState&&h.animationState.animateChanges())}),b.useEffect(()=>{h&&(!w.current&&h.animationState&&h.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)==null||y.call(window,m)}),w.current=!1),h.enteringChildren=void 0)}),h}function Iz(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Kj(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&xl(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:c})}function Kj(e){if(e)return e.options.allowProjection!==!1?e.projection:Kj(e.parent)}function ap(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&mz(r);const s=n?n==="svg":Gx(e),o=s?_z:Nz;function a(c,u){let f;const h={...b.useContext(Kx),...c,layoutId:Dz(c)},{isStatic:p}=h,v=wz(c),m=o(c,p);if(!p&&mP){Oz();const w=Lz(h);f=w.MeasureLayout,v.visualElement=Rz(e,m,h,i,w.ProjectionNode,s)}return d.jsxs(zf.Provider,{value:v,children:[f&&v.visualElement?d.jsx(f,{visualElement:v.visualElement,...h}):null,Tz(e,c,Mz(m,v.visualElement,u),m,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[Az]=e,l}function Dz({layoutId:e}){const t=b.useContext(xx).id;return t&&e!==void 0?t+"-"+e:e}function Oz(e,t){b.useContext(Vj).strict}function Lz(e){const t=Bj(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function Fz(e,t){if(typeof Proxy>"u")return ap;const n=new Map,r=(s,o)=>ap(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,ap(o,void 0,e,t)),n.get(o))})}const Vz=(e,t)=>t.isSVG??Gx(e)?new yB(t):new dB(t,{allowProjection:e!==b.Fragment});class Bz extends ks{constructor(t){super(t),t.animationState||(t.animationState=kB(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Vf(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let zz=0;class $z extends ks{constructor(){super(...arguments),this.id=zz++}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 i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Uz={animation:{Feature:Bz},exit:{Feature:$z}};function Bc(e){return{point:{x:e.pageX,y:e.pageY}}}const Wz=e=>t=>zx(t)&&e(t,Bc(t));function Dl(e,t,n,r){return mc(e,t,Wz(n),r)}const qj=({current:e})=>e?e.ownerDocument.defaultView:null,Zb=(e,t)=>Math.abs(e-t);function Hz(e,t){const n=Zb(e.x,t.x),r=Zb(e.y,t.y);return Math.sqrt(n**2+r**2)}const Qb=new Set(["auto","scroll"]);class Gj{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=cp(this.lastMoveEventInfo,this.history),v=this.startEvent!==null,m=Hz(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!v&&!m)return;const{point:w}=p,{timestamp:g}=Ft;this.history.push({...w,timestamp:g});const{onStart:x,onMove:y}=this.handlers;v||(x&&x(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,p)},this.handlePointerMove=(p,v)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=lp(v,this.transformPagePoint),it.update(this.updatePoint,!0)},this.handlePointerUp=(p,v)=>{this.end();const{onEnd:m,onSessionEnd:w,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=cp(p.type==="pointercancel"?this.lastMoveEventInfo:lp(v,this.transformPagePoint),this.history);this.startEvent&&m&&m(p,x),w&&w(p,x)},!zx(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=Bc(t),c=lp(l,this.transformPagePoint),{point:u}=c,{timestamp:f}=Ft;this.history=[{...u,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,cp(c,this.history)),this.removeListeners=Lc(Dl(this.contextWindow,"pointermove",this.handlePointerMove),Dl(this.contextWindow,"pointerup",this.handlePointerUp),Dl(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Qb.has(r.overflowX)||Qb.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),it.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),fs(this.updatePoint)}}function lp(e,t){return t?{point:t(e.point)}:e}function Xb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function cp({point:e},t){return{point:e,delta:Xb(e,Yj(t)),offset:Xb(e,Kz(t)),velocity:qz(t,.1)}}function Kz(e){return e[0]}function Yj(e){return e[e.length-1]}function qz(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Yj(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$r(t)));)n--;if(!r)return{x:0,y:0};const s=Wn(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Gz(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ct(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ct(n,e,r.max):Math.min(e,n)),e}function Jb(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 Yz(e,{top:t,left:n,bottom:r,right:i}){return{x:Jb(e.x,n,i),y:Jb(e.y,t,r)}}function e1(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 Zz(e,t){return{x:e1(e.x,t.x),y:e1(e.y,t.y)}}function Qz(e,t){let n=.5;const r=ln(e),i=ln(t);return i>r?n=dc(t.min,t.max-r,e.min):r>i&&(n=dc(e.min,e.max-i,t.min)),Kr(0,1,n)}function Xz(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 yg=.35;function Jz(e=yg){return e===!1?e=0:e===!0&&(e=yg),{x:t1(e,"left","right"),y:t1(e,"top","bottom")}}function t1(e,t,n){return{min:n1(e,t),max:n1(e,n)}}function n1(e,t){return typeof e=="number"?e:e[t]||0}const e$=new WeakMap;class t${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=Nt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=f=>{n?(this.stopAnimation(),this.snapToCursor(Bc(f).point)):this.pauseAnimation()},o=(f,h)=>{this.stopAnimation();const{drag:p,dragPropagation:v,onDragStart:m}=this.getProps();if(p&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=$V(p),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),On(g=>{let x=this.getAxisMotionValue(g).get()||0;if(Ur.test(x)){const{projection:y}=this.visualElement;if(y&&y.layout){const k=y.layout.layoutBox[g];k&&(x=ln(k)*(parseFloat(x)/100))}}this.originPoint[g]=x}),m&&it.postRender(()=>m(f,h)),cg(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:v,onDirectionLock:m,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:g}=h;if(v&&this.currentDirection===null){this.currentDirection=n$(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),w&&w(f,h)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>On(f=>{var h;return this.getAnimationState(f)==="paused"&&((h=this.getAxisMotionValue(f).animation)==null?void 0:h.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Gj(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:qj(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&it.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!bu(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=Gz(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&xl(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Yz(r.layoutBox,t):this.constraints=!1,this.elastic=Jz(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&On(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Xz(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!xl(t))return!1;const r=t.current;Ca(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=sB(r,i.root,this.visualElement.getTransformPagePoint());let o=Zz(i.layout.layoutBox,s);if(n){const a=n(nB(o));this.hasMutatedConstraints=!!a,a&&(o=gj(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=On(u=>{if(!bu(u,n,this.currentDirection))return;let f=l&&l[u]||{};o&&(f={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,v={type:"inertia",velocity:r?t[u]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...f};return this.startAxisValueAnimation(u,v)});return Promise.all(c).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return cg(this.visualElement,t),r.start(Ox(t,r,0,n,this.visualElement,!1))}stopAnimation(){On(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){On(t=>{var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)==null?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){On(n=>{const{drag:r}=this.getProps();if(!bu(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-ct(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!xl(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};On(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=Qz({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),On(o=>{if(!bu(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:c}=this.constraints[o];a.set(ct(l,c,i[o]))})}addListeners(){if(!this.visualElement.current)return;e$.set(this.visualElement,this);const t=this.visualElement.current,n=Dl(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps(),f=l.target,h=f!==t&&uj(f);c&&u&&!h&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();xl(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),it.read(r);const o=mc(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(On(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=yg,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function bu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function n$(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class r$ extends ks{constructor(t){super(t),this.removeGroupControls=Kn,this.removeListeners=Kn,this.controls=new t$(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Kn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const r1=e=>(t,n)=>{e&&it.postRender(()=>e(t,n))};class i$ extends ks{constructor(){super(...arguments),this.removePointerDownListener=Kn}onPointerDown(t){this.session=new Gj(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:qj(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:r1(t),onStart:r1(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&it.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=Dl(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let up=!1;class s$ extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),up&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Zu.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),up=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||it.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Bx.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;up=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Zj(e){const[t,n]=Fj(),r=b.useContext(xx);return d.jsx(s$,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(Hj),isPresent:t,safeToRemove:n})}const o$={pan:{Feature:i$},drag:{Feature:r$,ProjectionNode:Lj,MeasureLayout:Zj}};function i1(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&it.postRender(()=>s(t,Bc(t)))}class a$ extends ks{mount(){const{current:t}=this.node;t&&(this.unmount=UV(t,(n,r)=>(i1(this.node,r,"Start"),i=>i1(this.node,i,"End"))))}unmount(){}}class l$ extends ks{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=Lc(mc(this.node.current,"focus",()=>this.onFocus()),mc(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function s1(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&it.postRender(()=>s(t,Bc(t)))}class c$ extends ks{mount(){const{current:t}=this.node;t&&(this.unmount=KV(t,(n,r)=>(s1(this.node,r,"Start"),(i,{success:s})=>s1(this.node,i,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const xg=new WeakMap,dp=new WeakMap,u$=e=>{const t=xg.get(e.target);t&&t(e)},d$=e=>{e.forEach(u$)};function f$({root:e,...t}){const n=e||document;dp.has(n)||dp.set(n,{});const r=dp.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(d$,{root:e,...t})),r[i]}function h$(e,t,n){const r=f$(t);return xg.set(e,n),r.observe(e),()=>{xg.delete(e),r.unobserve(e)}}const p$={some:0,all:1};class m$ extends ks{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:p$[i]},a=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),h=c?u:f;h&&h(l)};return h$(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(g$(t,n))&&this.startObserver()}unmount(){}}function g$({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const y$={inView:{Feature:m$},tap:{Feature:c$},focus:{Feature:l$},hover:{Feature:a$}},x$={layout:{ProjectionNode:Lj,MeasureLayout:Zj}},v$={...Uz,...y$,...o$,...x$},fe=Fz(v$,Vz),w$=Yy("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-semibold ring-offset-background transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",hero:"bg-primary-foreground text-primary hover:bg-primary-foreground
266/90 shadow-lg hover:shadow-xl",heroOutline:"border-2 border-primary-foreground text-primary-foreground bg-transparent hover:bg-primary-foreground hover:text-primary",gold:"bg-gold text-gold-foreground hover:bg-gold/90 shadow-lg hover:shadow-xl"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-12 rounded-md px-8 text-base",xl:"h-14 rounded-lg px-10 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),We=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?TE:"button";return d.jsx(o,{className:Ae(w$({variant:t,size:n,className:e})),ref:s,...i})});We.displayName="Button";var fp="focusScope.autoFocusOnMount",hp="focusScope.autoFocusOnUnmount",o1={bubbles:!1,cancelable:!0},b$="FocusScope",Yx=b.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...o}=e,[a,l]=b.useState(null),c=Sr(i),u=Sr(s),f=b.useRef(null),h=Ge(t,m=>l(m)),p=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let m=function(y){if(p.paused||!a)return;const k=y.target;a.contains(k)?f.current=k:Mi(f.current,{select:!0})},w=function(y){if(p.paused||!a)return;const k=y.relatedTarget;k!==null&&(a.contains(k)||Mi(f.current,{select:!0}))},g=function(y){if(document.activeElement===document.body)for(const C of y)C.removedNodes.length>0&&Mi(a)};document.addEventListener("focusin",m),document.addEventListener("focusout",w);const x=new MutationObserver(g);return a&&x.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w),x.disconnect()}}},[r,a,p.paused]),b.useEffect(()=>{if(a){l1.add(p);const m=document.activeElement;if(!a.contains(m)){const g=new CustomEvent(fp,o1);a.addEventListener(fp,c),a.dispatchEvent(g),g.defaultPrevented||(k$(P$(Qj(a)),{select:!0}),document.activeElement===m&&Mi(a))}return()=>{a.removeEventListener(fp,c),setTimeout(()=>{const g=new CustomEvent(hp,o1);a.addEventListener(hp,u),a.dispatchEvent(g),g.defaultPrevented||Mi(m??document.body,{select:!0}),a.removeEventListener(hp,u),l1.remove(p)},0)}}},[a,c,u,p]);const v=b.useCallback(m=>{if(!n&&!r||p.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(w&&g){const x=m.currentTarget,[y,k]=S$(x);y&&k?!m.shiftKey&&g===k?(m.preventDefault(),n&&Mi(y,{select:!0})):m.shiftKey&&g===y&&(m.preventDefault(),n&&Mi(k,{select:!0})):g===x&&m.preventDefault()}},[n,r,p.paused]);return d.jsx(je.div,{tabIndex:-1,...o,ref:h,onKeyDown:v})});Yx.displayName=b$;function k$(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Mi(r,{select:t}),document.activeElement!==n)return}function S$(e){const t=Qj(e),n=a1(t,e),r=a1(t.reverse(),e);return[n,r]}function Qj(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function a1(e,t){for(const n of e)if(!C$(n,{upTo:t}))return n}function C$(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function E$(e){return e instanceof HTMLInputElement&&"select"in e}function Mi(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&E$(e)&&t&&e.select()}}var l1=T$();function T$(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=c1(e,t),e.unshift(t)},remove(t){var n;e=c1(e,t),(n=e[0])==null||n.resume()}}}function c1(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function P$(e){return e.filter(t=>t.tagName!=="A")}var pp=0;function Xj(){b.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??u1()),document.body.insertAdjacentElement("beforeend",e[1]??u1()),pp++,()=>{pp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),pp--}},[])}function u1(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,651 bytes, lines 266-281
266style.position="fixed",e.style.pointerEvents="none",e}var Or=function(){return Or=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Or.apply(this,arguments)};function Jj(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function j$(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Qu="right-scroll-bar-position",Xu="width-before-scroll-bar",N$="with-scroll-bars-hidden",_$="--removed-body-scroll-bar-size";function mp(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function A$(e,t){var n=b.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var M$=typeof window<"u"?b.useLayoutEffect:b.useEffect,d1=new WeakMap;function R$(e,t){var n=A$(null,function(r){return e.forEach(function(i){return mp(i,r)})});return M$(function(){var r=d1.get(n);if(r){var i=new Set(r),s=new Set(e),o=n.current;i.forEach(function(a){s.has(a)||mp(a,null)}),s.forEach(function(a){i.has(a)||mp(a,o)})}d1.set(n,e)},[e]),n}function I$(e){return e}function D$(e,t){t===void 0&&(t=I$);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(a){return a!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var a=n;n=[],a.forEach(s),o=n}var l=function(){var u=o;o=[],u.forEach(s)},c=function(){return Promise.resolve().then(l)};c(),n={push:function(u){o.push(u),c()},filter:function(u){return o=o.filter(u),n}}}};return i}function O$(e){e===void 0&&(e={});var t=D$(null);return t.options=Or({async:!0,ssr:!1},e),t}var eN=function(e){var t=e.sideCar,n=Jj(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return b.createElement(r,Or({},n))};eN.isSideCarExport=!0;function L$(e,t){return e.useMedium(t),eN}var tN=O$(),gp=function(){},$f=b.forwardRef(function(e,t){var n=b.useRef(null),r=b.useState({onScrollCapture:gp,onWheelCapture:gp,onTouchMoveCapture:gp}),i=r[0],s=r[1],o=e.forwardProps,a=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,f=e.shards,h=e.sideCar,p=e.noRelative,v=e.noIsolation,m=e.inert,w=e.allowPinchZoom,g=e.as,x=g===void 0?"div":g,y=e.gapMode,k=Jj(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=h,S=R$([n,t]),P=Or(Or({},k),i);return b.createElement(b.Fragment,null,u&&b.createElement(C,{sideCar:tN,removeScrollBar:c,shards:f,noRelative:p,noIsolation:v,inert:m,setCallbacks:s,allowPinchZoom:!!w,lockRef:n,gapMode:y}),o?b.cloneElement(b.Children.only(a),Or(Or({},P),{ref:S})):b.createElement(x,Or({},P,{className:l,ref:S}),a))});$f.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};$f.classNames={fullWidth:Xu,zeroRight:Qu};var F$=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function V$(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=F$();return t&&e.setAttribute("nonce",t),e}function B$(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function z$(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $$=function(){var e=0,t=null;return{add:function(n){e==0&&(t=V$())&&(B$(t,n),z$(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},U$=function(){var e=$$();return function(t,n){b.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},nN=function(){var e=U$(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},W$={left:0,top:0,right:0,gap:0},yp=function(e){return parseInt(e||"",10)||0},H$=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[yp(n),yp(r),yp(i)]},K$=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return W$;var t=H$(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},q$=nN(),ia="data-scroll-locked",G$=function(e,t,n,r){var i=e.left,s=e.top,o=e.right,a=e.gap;return n===void 0&&(n="margin"),` 267 .`.concat(N$,` { 268 overflow: hidden `).concat(r,`; 269 padding-right: `).concat(a,"px ").concat(r,`; 270 } 271 body[`).concat(ia,`] { 272 overflow: hidden `).concat(r,`; 273 overscroll-behavior: contain; 274 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 275 padding-left: `.concat(i,`px; 276 padding-top: `).concat(s,`px; 277 padding-right: `).concat(o,`px; 278 margin-left:0; 279 margin-top:0; 280 margin-right: `).concat(a,"px ").concat(r,`; 281 `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
281")].filter(Boolean).join(""),` 282 } 283 284 .`).concat(Qu,` { 285 right: `).concat(a,"px ").concat(r,`; 286 } 287 288 .`).concat(Xu,` { 289 margin-right: `).concat(a,"px ").concat(r,`; 290 } 291 292 .`).concat(Qu," .").concat(Qu,` { 293 right: 0 `).concat(r,`; 294 } 295 296 .`).concat(Xu," .").concat(Xu,` { 297 margin-right: 0 `).concat(r,`; 298 } 299 300 body[`).concat(ia,`] { 301 `).concat(_$,": ").concat(a,`px; 302 } 303`)},f1=function(){var e=parseInt(document.body.getAttribute(ia)||"0",10);return isFinite(e)?e:0},Y$=function(){b.useEffect(function(){return document.body.setAttribute(ia,(f1()+1).toString()),function(){var e=f1()-1;e<=0?document.body.removeAttribute(ia):document.body.setAttribute(ia,e.toString())}},[])},Z$=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;Y$();var s=b.useMemo(function(){return K$(i)},[i]);return b.createElement(q$,{styles:G$(s,!t,i,n?"":"!important")})},vg=!1;if(typeof window<"u")try{var ku=Object.defineProperty({},"passive",{get:function(){return vg=!0,!0}});window.addEventListener("test",ku,ku),window.removeEventListener("test",ku,ku)}catch{vg=!1}var So=vg?{passive:!1}:!1,Q$=function(e){return e.tagName==="TEXTAREA"},rN=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Q$(e)&&n[t]==="visible")},X$=function(e){return rN(e,"overflowY")},J$=function(e){return rN(e,"overflowX")},h1=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=iN(e,r);if(i){var s=sN(e,r),o=s[1],a=s[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},e6=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},t6=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},iN=function(e,t){return e==="v"?X$(t):J$(t)},sN=function(e,t){return e==="v"?e6(t):t6(t)},n6=function(e,t){return e==="h"&&t==="rtl"?-1:1},r6=function(e,t,n,r,i){var s=n6(e,window.getComputedStyle(t).direction),o=s*r,a=n.target,l=t.contains(a),c=!1,u=o>0,f=0,h=0;do{if(!a)break;var p=sN(e,a),v=p[0],m=p[1],w=p[2],g=m-w-s*v;(v||g)&&iN(e,a)&&(f+=g,h+=v);var x=a.parentNode;a=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(Math.abs(f)<1||!i)||!u&&(Math.abs(h)<1||!i))&&(c=!0),c},Su=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},p1=function(e){return[e.deltaX,e.deltaY]},m1=function(e){return e&&"current"in e?e.current:e},i6=function(e,t){return e[0]===t[0]&&e[1]===t[1]},s6=function(e){return` 304 .block-interactivity-`.concat(e,` {pointer-events: none;} 305 .allow-interactivity-`).concat(e,` {pointer-events: all;} 306`)},o6=0,Co=[];function a6(e){var t=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),i=b.useState(o6++)[0],s=b.useState(nN)[0],o=b.useRef(e);b.useEffect(function(){o.current=e},[e]),b.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var m=j$([e.lockRef.current],(e.shards||[]).map(m1),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=b.useCallback(function(m,w){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!o.current.allowPinchZoom;var g=Su(m),x=n.current,y="deltaX"in m?m.deltaX:x[0]-g[0],k="deltaY"in m?m.deltaY:x[1]-g[1],C,S=m.target,P=Math.abs(y)>Math.abs(k)?"h":"v";if("touches"in m&&P==="h"&&S.type==="range")return!1;var N=h1(P,S);if(!N)return!0;if(N?C=P:(C=P==="v"?"h":"v",N=h1(P,S)),!N)return!1;if(!r.current&&"changedTouches"in m&&(y||k)&&(r.current=C),!C)return!0;var A=r.current||C;return r6(A,w,m,A==="h"?y:k,!0)},[]),l=b.useCallback(function(m){var w=m;if(!(!Co.length||Co[Co.length-1]!==s)){var g="deltaY"in w?p1(w):Su(w),x=t.current.filter(function(C){return C.name===w.type&&(C.target===w.target||w.target===C.shadowParent)&&i6(C.delta,g)})[0];if(x&&x.should){w.cancelable&&w.preventDefault();return}
vendor: 4,333 bytes, line 306
306if(!x){var y=(o.current.shards||[]).map(m1).filter(Boolean).filter(function(C){return C.contains(w.target)}),k=y.length>0?a(w,y[0]):!o.current.noIsolation;k&&w.cancelable&&w.preventDefault()}}},[]),c=b.useCallback(function(m,w,g,x){var y={name:m,delta:w,target:g,should:x,shadowParent:l6(g)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(k){return k!==y})},1)},[]),u=b.useCallback(function(m){n.current=Su(m),r.current=void 0},[]),f=b.useCallback(function(m){c(m.type,p1(m),m.target,a(m,e.lockRef.current))},[]),h=b.useCallback(function(m){c(m.type,Su(m),m.target,a(m,e.lockRef.current))},[]);b.useEffect(function(){return Co.push(s),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",l,So),document.addEventListener("touchmove",l,So),document.addEventListener("touchstart",u,So),function(){Co=Co.filter(function(m){return m!==s}),document.removeEventListener("wheel",l,So),document.removeEventListener("touchmove",l,So),document.removeEventListener("touchstart",u,So)}},[]);var p=e.removeScrollBar,v=e.inert;return b.createElement(b.Fragment,null,v?b.createElement(s,{styles:s6(i)}):null,p?b.createElement(Z$,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function l6(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const c6=L$(tN,a6);var Zx=b.forwardRef(function(e,t){return b.createElement($f,Or({},e,{ref:t,sideCar:c6}))});Zx.classNames=$f.classNames;var u6=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Eo=new WeakMap,Cu=new WeakMap,Eu={},xp=0,oN=function(e){return e&&(e.host||oN(e.parentNode))},d6=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=oN(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},f6=function(e,t,n,r){var i=d6(t,Array.isArray(e)?e:[e]);Eu[n]||(Eu[n]=new WeakMap);var s=Eu[n],o=[],a=new Set,l=new Set(i),c=function(f){!f||a.has(f)||(a.add(f),c(f.parentNode))};i.forEach(c);var u=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(h){if(a.has(h))u(h);else try{var p=h.getAttribute(r),v=p!==null&&p!=="false",m=(Eo.get(h)||0)+1,w=(s.get(h)||0)+1;Eo.set(h,m),s.set(h,w),o.push(h),m===1&&v&&Cu.set(h,!0),w===1&&h.setAttribute(n,"true"),v||h.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return u(t),a.clear(),xp++,function(){o.forEach(function(f){var h=Eo.get(f)-1,p=s.get(f)-1;Eo.set(f,h),s.set(f,p),h||(Cu.has(f)||f.removeAttribute(r),Cu.delete(f)),p||f.removeAttribute(n)}),xp--,xp||(Eo=new WeakMap,Eo=new WeakMap,Cu=new WeakMap,Eu={})}},aN=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=u6(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),f6(r,i,n,"aria-hidden")):function(){return null}},Uf="Dialog",[lN,fQ]=bi(Uf),[h6,Pr]=lN(Uf),cN=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:o=!0}=e,a=b.useRef(null),l=b.useRef(null),[c,u]=ls({prop:r,defaultProp:i??!1,onChange:s,caller:Uf});return d.jsx(h6,{scope:t,triggerRef:a,contentRef:l,contentId:ns(),titleId:ns(),descriptionId:ns(),open:c,onOpenChange:u,onOpenToggle:b.useCallback(()=>u(f=>!f),[u]),modal:o,children:n})};cN.displayName=Uf;var uN="DialogTrigger",dN=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Pr(uN,n),s=Ge(t,i.triggerRef);return d.jsx(je.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Jx(i.open),...r,ref:s,onClick:we(e.onClick,i.onOpenToggle)})});dN.displayName=uN;var Qx="DialogPortal",[p6,fN]=lN(Qx,{forceMount:void 0}),hN=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,s=Pr(Qx,t);return d.jsx(p6,{scope:t,forceMount:n,children:b.Children.map(r,o=>d.jsx(vs,{present:n||s.open,children:d.jsx(bf,{asChild:!0,container:i,children:o})}))})};hN.displayName=Qx;var zd="DialogOverlay",pN=b.forwardRef((e,t)=>{const n=fN(zd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=Pr(zd,e.__scopeDialog);return s.modal?d.jsx(vs,{present:r||s.open,children:d.jsx(g6,{...i,ref:t})}):null});pN.displayName=zd;var m6=ba("DialogOverlay.RemoveScroll"),g6=b.forwardRef((e,t)=>
vendor: 4,640 bytes, lines 306-310
306{const{__scopeDialog:n,...r}=e,i=Pr(zd,n);return d.jsx(Zx,{as:m6,allowPinchZoom:!0,shards:[i.contentRef],children:d.jsx(je.div,{"data-state":Jx(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ao="DialogContent",mN=b.forwardRef((e,t)=>{const n=fN(ao,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=Pr(ao,e.__scopeDialog);return d.jsx(vs,{present:r||s.open,children:s.modal?d.jsx(y6,{...i,ref:t}):d.jsx(x6,{...i,ref:t})})});mN.displayName=ao;var y6=b.forwardRef((e,t)=>{const n=Pr(ao,e.__scopeDialog),r=b.useRef(null),i=Ge(t,n.contentRef,r);return b.useEffect(()=>{const s=r.current;if(s)return aN(s)},[]),d.jsx(gN,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:we(e.onCloseAutoFocus,s=>{var o;s.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:we(e.onPointerDownOutside,s=>{const o=s.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&s.preventDefault()}),onFocusOutside:we(e.onFocusOutside,s=>s.preventDefault())})}),x6=b.forwardRef((e,t)=>{const n=Pr(ao,e.__scopeDialog),r=b.useRef(!1),i=b.useRef(!1);return d.jsx(gN,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,s),s.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),s.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:s=>{var l,c;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=s.target;((c=n.triggerRef.current)==null?void 0:c.contains(o))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),gN=b.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...o}=e,a=Pr(ao,n),l=b.useRef(null),c=Ge(t,l);return Xj(),d.jsxs(d.Fragment,{children:[d.jsx(Yx,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:d.jsx(Ac,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Jx(a.open),...o,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),d.jsxs(d.Fragment,{children:[d.jsx(v6,{titleId:a.titleId}),d.jsx(b6,{contentRef:l,descriptionId:a.descriptionId})]})]})}),Xx="DialogTitle",yN=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Pr(Xx,n);return d.jsx(je.h2,{id:i.titleId,...r,ref:t})});yN.displayName=Xx;var xN="DialogDescription",vN=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Pr(xN,n);return d.jsx(je.p,{id:i.descriptionId,...r,ref:t})});vN.displayName=xN;var wN="DialogClose",bN=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Pr(wN,n);return d.jsx(je.button,{type:"button",...r,ref:t,onClick:we(e.onClick,()=>i.onOpenChange(!1))})});bN.displayName=wN;function Jx(e){return e?"open":"closed"}var kN="DialogTitleWarning",[hQ,SN]=KI(kN,{contentName:ao,titleName:Xx,docsSlug:"dialog"}),v6=({titleId:e})=>{const t=SN(kN),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 307 308If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 309 310For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return b.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},w6="DialogDescriptionWarning",b6=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${SN(w6).contentName}}.`;return b.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},k6=cN,S6=dN,C6=hN,CN=pN,EN=mN,TN=yN,PN=vN,E6=bN;const T6=k6,P6=S6,j6=C6,jN=b.forwardRef(({className:e,...t},n)=>d.jsx(CN,{ref:n,className:Ae("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));jN.displayName=CN.displayName;const NN=b.forwardRef(({className:e,children:t,...n},r)=>d.jsxs(j6,{children:[d.jsx(jN,{}),d.jsxs(EN,{ref:r,className:Ae("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
310nded-lg",e),...n,children:[t,d.jsxs(E6,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[d.jsx(Xy,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));NN.displayName=EN.displayName;const _N=({className:e,...t})=>d.jsx("div",{className:Ae("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});_N.displayName="DialogHeader";const AN=b.forwardRef(({className:e,...t},n)=>d.jsx(TN,{ref:n,className:Ae("text-lg font-semibold leading-none tracking-tight",e),...t}));AN.displayName=TN.displayName;const N6=b.forwardRef(({className:e,...t},n)=>d.jsx(PN,{ref:n,className:Ae("text-sm text-muted-foreground",e),...t}));N6.displayName=PN.displayName;var zc=e=>e.type==="checkbox",Ws=e=>e instanceof Date,rn=e=>e==null;const MN=e=>typeof e=="object";var St=e=>!rn(e)&&!Array.isArray(e)&&MN(e)&&!Ws(e),RN=e=>St(e)&&e.target?zc(e.target)?e.target.checked:e.target.value:e,_6=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,IN=(e,t)=>e.has(_6(t)),A6=e=>{const t=e.constructor&&e.constructor.prototype;return St(t)&&t.hasOwnProperty("isPrototypeOf")},ev=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function jt(e){let t;const n=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(ev&&(e instanceof Blob||r))&&(n||St(e)))if(t=n?[]:{},!n&&!A6(e))t=e;else for(const i in e)e.hasOwnProperty(i)&&(t[i]=jt(e[i]));else return e;return t}var Wf=e=>/^\w*$/.test(e),vt=e=>e===void 0,tv=e=>Array.isArray(e)?e.filter(Boolean):[],nv=e=>tv(e.replace(/["|']|\]/g,"").split(/\.|\[/)),te=(e,t,n)=>{if(!t||!St(e))return n;const r=(Wf(t)?[t]:nv(t)).reduce((i,s)=>rn(i)?i:i[s],e);return vt(r)||r===e?vt(e[t])?n:e[t]:r},Cn=e=>typeof e=="boolean",Ke=(e,t,n)=>{let r=-1;const i=Wf(t)?[t]:nv(t),s=i.length,o=s-1;for(;++r<s;){const a=i[r];let l=n;if(r!==o){const c=e[a];l=St(c)||Array.isArray(c)?c:isNaN(+i[r+1])?{}:[]}if(a==="__proto__"||a==="constructor"||a==="prototype")return;e[a]=l,e=e[a]}};const $d={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},mr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ei={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},rv=V.createContext(null);rv.displayName="HookFormContext";const Hf=()=>V.useContext(rv),M6=e=>{const{children:t,...n}=e;return V.createElement(rv.Provider,{value:n},t)};var DN=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const s in e)Object.defineProperty(i,s,{get:()=>{const o=s;return t._proxyFormState[o]!==mr.all&&(t._proxyFormState[o]=!r||mr.all),n&&(n[o]=!0),e[o]}});return i};const iv=typeof window<"u"?V.useLayoutEffect:V.useEffect;function R6(e){const t=Hf(),{control:n=t.control,disabled:r,name:i,exact:s}=e||{},[o,a]=V.useState(n._formState),l=V.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return iv(()=>n._subscribe({name:i,formState:l.current,exact:s,callback:c=>{!r&&a({...n._formState,...c})}}),[i,r,s]),V.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),V.useMemo(()=>DN(o,n,l.current,!1),[o,n])}var Fr=e=>typeof e=="string",ON=(e,t,n,r,i)=>Fr(e)?(r&&t.watch.add(e),te(n,e,i)):Array.isArray(e)?e.map(s=>(r&&t.watch.add(s),te(n,s))):(r&&(t.watchAll=!0),n),wg=e=>rn(e)||!MN(e);function oi(e,t,n=new WeakSet){if(wg(e)||wg(t))return e===t;if(Ws(e)&&Ws(t))return e.getTime()===t.getTime();const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const s of r){const o=e[s];if(!i.includes(s))return!1;if(s!=="ref"){const a=t[s];if(Ws(o)&&Ws(a)||St(o)&&St(a)||Array.isArray(o)&&Array.isArray(a)?!oi(o,a,n):o!==a)return!1}}return!0}function I6(e){const t=Hf(),{control:n=t.control,name:r,defaultValue:i,disabled:s,exact:o,c
310ompute:a}=e||{},l=V.useRef(i),c=V.useRef(a),u=V.useRef(void 0);c.current=a;const f=V.useMemo(()=>n._getWatch(r,l.current),[n,r]),[h,p]=V.useState(c.current?c.current(f):f);return iv(()=>n._subscribe({name:r,formState:{values:!0},exact:o,callback:v=>{if(!s){const m=ON(r,n._names,v.values||n._formValues,!1,l.current);if(c.current){const w=c.current(m);oi(w,u.current)||(p(w),u.current=w)}else p(m)}}}),[n,s,r,o]),V.useEffect(()=>n._removeUnmounted()),h}function D6(e){const t=Hf(),{name:n,disabled:r,control:i=t.control,shouldUnregister:s,defaultValue:o}=e,a=IN(i._names.array,n),l=V.useMemo(()=>te(i._formValues,n,te(i._defaultValues,n,o)),[i,n,o]),c=I6({control:i,name:n,defaultValue:l,exact:!0}),u=R6({control:i,name:n,exact:!0}),f=V.useRef(e),h=V.useRef(i.register(n,{...e.rules,value:c,...Cn(e.disabled)?{disabled:e.disabled}:{}}));f.current=e;const p=V.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!te(u.errors,n)},isDirty:{enumerable:!0,get:()=>!!te(u.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!te(u.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!te(u.validatingFields,n)},error:{enumerable:!0,get:()=>te(u.errors,n)}}),[u,n]),v=V.useCallback(x=>h.current.onChange({target:{value:RN(x),name:n},type:$d.CHANGE}),[n]),m=V.useCallback(()=>h.current.onBlur({target:{value:te(i._formValues,n),name:n},type:$d.BLUR}),[n,i._formValues]),w=V.useCallback(x=>{const y=te(i._fields,n);y&&x&&(y._f.ref={focus:()=>x.focus&&x.focus(),select:()=>x.select&&x.select(),setCustomValidity:k=>x.setCustomValidity(k),reportValidity:()=>x.reportValidity()})},[i._fields,n]),g=V.useMemo(()=>({name:n,value:c,...Cn(r)||u.disabled?{disabled:u.disabled||r}:{},onChange:v,onBlur:m,ref:w}),[n,r,u.disabled,v,m,w,c]);return V.useEffect(()=>{const x=i._options.shouldUnregister||s;i.register(n,{...f.current.rules,...Cn(f.current.disabled)?{disabled:f.current.disabled}:{}});const y=(k,C)=>{const S=te(i._fields,k);S&&S._f&&(S._f.mount=C)};if(y(n,!0),x){const k=jt(te(i._options.defaultValues,n));Ke(i._defaultValues,n,k),vt(te(i._formValues,n))&&Ke(i._formValues,n,k)}return!a&&i.register(n),()=>{(a?x&&!i._state.action:x)?i.unregister(n):y(n,!1)}},[n,i,a,s]),V.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),V.useMemo(()=>({field:g,formState:u,fieldState:p}),[g,u,p])}const O6=e=>e.render(D6(e));var LN=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},Ol=e=>Array.isArray(e)?e:[e],g1=()=>{let e=[];return{get observers(){return e},next:i=>{for(const s of e)s.next&&s.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(s=>s!==i)}}),unsubscribe:()=>{e=[]}}},hn=e=>St(e)&&!Object.keys(e).length,sv=e=>e.type==="file",gr=e=>typeof e=="function",Ud=e=>{if(!ev)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},FN=e=>e.type==="select-multiple",ov=e=>e.type==="radio",L6=e=>ov(e)||zc(e),vp=e=>Ud(e)&&e.isConnected;function F6(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=vt(e)?r++:e[t[r++]];return e}function V6(e){for(const t in e)if(e.hasOwnProperty(t)&&!vt(e[t]))return!1;return!0}function Ct(e,t){const n=Array.isArray(t)?t:Wf(t)?[t]:nv(t),r=n.length===1?e:F6(e,n),i=n.length-1,s=n[i];return r&&delete r[s],i!==0&&(St(r)&&hn(r)||Array.isArray(r)&&V6(r))&&Ct(e,n.slice(0,-1)),e}var VN=e=>{for(const t in e)if(gr(e[t]))return!0;return!1};function Wd(e,t={}){const n=Array.isArray(e);if(St(e)||n)for(const r in e)Array.isArray(e[r])||St(e[r])&&!VN(e[r])?(t[r]=Array.isArray(e[r])?[]:{},Wd(e[r],t[r])):rn(e[r])||(t[r]=!0);return t}function BN(e,t,n){const r=Array.isArray(e);if(St(e)||r)for(const i in e)Array.isArray(e[i])||St(e[i])&&!VN(e[i])?vt(t)||wg(n[i])?n[i]=Array.isArray(e[i])?Wd(e[i],[]):{...Wd(e[i])}:BN(e[i],rn(t)?{}:t[i],n[i]):n[i]=!oi(e[i],t[i]);return n}var ll=(e,t)=>BN(e,t,Wd(t));const y1={value:!1,isValid:!1},x1={value:!0,isValid:!0};var zN=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!vt(e[0].attributes.value)?vt(e[0].value)||e[0].value===""?x1:{value:e[0].value,isValid:!0}:x1:y1}return y1},$N=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>vt(e)?e:t?e===""?NaN:e&&+e:n&&Fr(e)?new Date(e):r?r(e):e;const v1={isValid:!1,value:null};var UN=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,v1):v1;function w1(e){const t=e.ref;return sv(t)?t.files:ov(t)?UN(e.refs).value:FN(t)?[...t.selectedOptions].map(({value:n})=>n):zc(t)?zN(e.refs).value:$N(vt(t.value)?e.ref.value:t.value,e)}var B6=(e,t,n,r)=>{const i={};for(const s of e){const o=te(t,s);o&&Ke(i,s,o._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},Hd=e=>e instanceof RegExp,cl=e=>vt(e)?e:Hd(e)?e.source:St(e)?Hd(e.value)?e.value.source:e.value:e,b1=e=>({isOnSubmit:!e||e===mr.onSubmit,isOnBlur:e===mr.onBlur,isOnChange:e===mr.onChange,isOnAll:e===mr.all,isOnTouch:e===mr.onTouched});const k1="AsyncFunction";var z6=e=>!!e&&!!e.validate&&!!(gr(e.validate)&&e.validate.constructor.name===k1||St
vendor: 4,539 bytes, line 310
310(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===k1)),$6=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),S1=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Ll=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const s=te(e,i);if(s){const{_f:o,...a}=s;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],i)&&!r)return!0;if(o.ref&&t(o.ref,o.name)&&!r)return!0;if(Ll(a,t))break}else if(St(a)&&Ll(a,t))break}}};function C1(e,t,n){const r=te(e,n);if(r||Wf(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const s=i.join("."),o=te(t,s),a=te(e,s);if(o&&!Array.isArray(o)&&n!==s)return{name:n};if(a&&a.type)return{name:s,error:a};if(a&&a.root&&a.root.type)return{name:`${s}.root`,error:a.root};i.pop()}return{name:n}}var U6=(e,t,n,r)=>{n(e);const{name:i,...s}=e;return hn(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(o=>t[o]===(!r||mr.all))},W6=(e,t,n)=>!e||!t||e===t||Ol(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r))),H6=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,K6=(e,t)=>!tv(te(e,t)).length&&Ct(e,t),q6=(e,t,n)=>{const r=Ol(te(e,n));return Ke(r,"root",t[n]),Ke(e,n,r),e},Ju=e=>Fr(e);function E1(e,t,n="validate"){if(Ju(e)||Array.isArray(e)&&e.every(Ju)||Cn(e)&&!e)return{type:n,message:Ju(e)?e:"",ref:t}}var To=e=>St(e)&&!Hd(e)?e:{value:e,message:""},T1=async(e,t,n,r,i,s)=>{const{ref:o,refs:a,required:l,maxLength:c,minLength:u,min:f,max:h,pattern:p,validate:v,name:m,valueAsNumber:w,mount:g}=e._f,x=te(n,m);if(!g||t.has(m))return{};const y=a?a[0]:o,k=R=>{i&&y.reportValidity&&(y.setCustomValidity(Cn(R)?"":R||""),y.reportValidity())},C={},S=ov(o),P=zc(o),N=S||P,A=(w||sv(o))&&vt(o.value)&&vt(x)||Ud(o)&&o.value===""||x===""||Array.isArray(x)&&!x.length,T=LN.bind(null,m,r,C),O=(R,z,F,W=ei.maxLength,K=ei.minLength)=>{const H=R?z:F;C[m]={type:R?W:K,message:H,ref:o,...T(R?W:K,H)}};if(s?!Array.isArray(x)||!x.length:l&&(!N&&(A||rn(x))||Cn(x)&&!x||P&&!zN(a).isValid||S&&!UN(a).isValid)){const{value:R,message:z}=Ju(l)?{value:!!l,message:l}:To(l);if(R&&(C[m]={type:ei.required,message:z,ref:y,...T(ei.required,z)},!r))return k(z),C}if(!A&&(!rn(f)||!rn(h))){let R,z;const F=To(h),W=To(f);if(!rn(x)&&!isNaN(x)){const K=o.valueAsNumber||x&&+x;rn(F.value)||(R=K>F.value),rn(W.value)||(z=K<W.value)}else{const K=o.valueAsDate||new Date(x),H=E=>new Date(new Date().toDateString()+" "+E),I=o.type=="time",L=o.type=="week";Fr(F.value)&&x&&(R=I?H(x)>H(F.value):L?x>F.value:K>new Date(F.value)),Fr(W.value)&&x&&(z=I?H(x)<H(W.value):L?x<W.value:K<new Date(W.value))}if((R||z)&&(O(!!R,F.message,W.message,ei.max,ei.min),!r))return k(C[m].message),C}if((c||u)&&!A&&(Fr(x)||s&&Array.isArray(x))){const R=To(c),z=To(u),F=!rn(R.value)&&x.length>+R.value,W=!rn(z.value)&&x.length<+z.value;if((F||W)&&(O(F,R.message,z.message),!r))return k(C[m].message),C}if(p&&!A&&Fr(x)){const{value:R,message:z}=To(p);if(Hd(R)&&!x.match(R)&&(C[m]={type:ei.pattern,message:z,ref:o,...T(ei.pattern,z)},!r))return k(z),C}if(v){if(gr(v)){const R=await v(x,n),z=E1(R,y);if(z&&(C[m]={...z,...T(ei.validate,z.message)},!r))return k(z.message),C}else if(St(v)){let R={};for(const z in v){if(!hn(R)&&!r)break;const F=E1(await v[z](x,n),y,z);F&&(R={...F,...T(z,F.message)},k(F.message),r&&(C[m]=R))}if(!hn(R)&&(C[m]={ref:y,...R},!r))return C}}return k(!0),C};const G6={mode:mr.onSubmit,reValidateMode:mr.onChange,shouldFocusError:!0};function Y6(e={}){let t={...G6,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:gr(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=St(t.defaultValues)||St(t.values)?jt(t.defaultValues||t.values)||{}:{},s=t.shouldUnregister?{}:jt(i),o={action:!1,mount:!1,watch:!1},a={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},l,c=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let f={...u};const h={array:g1(),state:g1()},p=t.criteriaMode===mr.all,v=_=>D=>{clearTimeout(c),c=setTimeout(_,D)},m=async _=>{if(!t.disabled&&(u.isValid||f.isValid||_)){const D=t.resolver?hn((await P()).errors):await A(r,!0);D!==n.isValid&&h.state.next({isValid:D})}},w=(_,D)=>{!t.disabled&&(u.isValidating||u.validatingFields||f.isValidating||f.validatingFields)&&((_||Array.from(a.mount)).forEac
vendor: 12,085 bytes, line 310
310h(B=>{B&&(D?Ke(n.validatingFields,B,D):Ct(n.validatingFields,B))}),h.state.next({validatingFields:n.validatingFields,isValidating:!hn(n.validatingFields)}))},g=(_,D=[],B,J,ee=!0,Q=!0)=>{if(J&&B&&!t.disabled){if(o.action=!0,Q&&Array.isArray(te(r,_))){const M=B(te(r,_),J.argA,J.argB);ee&&Ke(r,_,M)}if(Q&&Array.isArray(te(n.errors,_))){const M=B(te(n.errors,_),J.argA,J.argB);ee&&Ke(n.errors,_,M),K6(n.errors,_)}if((u.touchedFields||f.touchedFields)&&Q&&Array.isArray(te(n.touchedFields,_))){const M=B(te(n.touchedFields,_),J.argA,J.argB);ee&&Ke(n.touchedFields,_,M)}(u.dirtyFields||f.dirtyFields)&&(n.dirtyFields=ll(i,s)),h.state.next({name:_,isDirty:O(_,D),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ke(s,_,D)},x=(_,D)=>{Ke(n.errors,_,D),h.state.next({errors:n.errors})},y=_=>{n.errors=_,h.state.next({errors:n.errors,isValid:!1})},k=(_,D,B,J)=>{const ee=te(r,_);if(ee){const Q=te(s,_,vt(B)?te(i,_):B);vt(Q)||J&&J.defaultChecked||D?Ke(s,_,D?Q:w1(ee._f)):F(_,Q),o.mount&&m()}},C=(_,D,B,J,ee)=>{let Q=!1,M=!1;const $={name:_};if(!t.disabled){if(!B||J){(u.isDirty||f.isDirty)&&(M=n.isDirty,n.isDirty=$.isDirty=O(),Q=M!==$.isDirty);const ie=oi(te(i,_),D);M=!!te(n.dirtyFields,_),ie?Ct(n.dirtyFields,_):Ke(n.dirtyFields,_,!0),$.dirtyFields=n.dirtyFields,Q=Q||(u.dirtyFields||f.dirtyFields)&&M!==!ie}if(B){const ie=te(n.touchedFields,_);ie||(Ke(n.touchedFields,_,B),$.touchedFields=n.touchedFields,Q=Q||(u.touchedFields||f.touchedFields)&&ie!==B)}Q&&ee&&h.state.next($)}return Q?$:{}},S=(_,D,B,J)=>{const ee=te(n.errors,_),Q=(u.isValid||f.isValid)&&Cn(D)&&n.isValid!==D;if(t.delayError&&B?(l=v(()=>x(_,B)),l(t.delayError)):(clearTimeout(c),l=null,B?Ke(n.errors,_,B):Ct(n.errors,_)),(B?!oi(ee,B):ee)||!hn(J)||Q){const M={...J,...Q&&Cn(D)?{isValid:D}:{},errors:n.errors,name:_};n={...n,...M},h.state.next(M)}},P=async _=>{w(_,!0);const D=await t.resolver(s,t.context,B6(_||a.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return w(_),D},N=async _=>{const{errors:D}=await P(_);if(_)for(const B of _){const J=te(D,B);J?Ke(n.errors,B,J):Ct(n.errors,B)}else n.errors=D;return D},A=async(_,D,B={valid:!0})=>{for(const J in _){const ee=_[J];if(ee){const{_f:Q,...M}=ee;if(Q){const $=a.array.has(Q.name),ie=ee._f&&z6(ee._f);ie&&u.validatingFields&&w([J],!0);const me=await T1(ee,a.disabled,s,p,t.shouldUseNativeValidation&&!D,$);if(ie&&u.validatingFields&&w([J]),me[Q.name]&&(B.valid=!1,D))break;!D&&(te(me,Q.name)?$?q6(n.errors,me,Q.name):Ke(n.errors,Q.name,me[Q.name]):Ct(n.errors,Q.name))}!hn(M)&&await A(M,D,B)}}return B.valid},T=()=>{for(const _ of a.unMount){const D=te(r,_);D&&(D._f.refs?D._f.refs.every(B=>!vp(B)):!vp(D._f.ref))&&q(_)}a.unMount=new Set},O=(_,D)=>!t.disabled&&(_&&D&&Ke(s,_,D),!oi(E(),i)),R=(_,D,B)=>ON(_,a,{...o.mount?s:vt(D)?i:Fr(_)?{[_]:D}:D},B,D),z=_=>tv(te(o.mount?s:i,_,t.shouldUnregister?te(i,_,[]):[])),F=(_,D,B={})=>{const J=te(r,_);let ee=D;if(J){const Q=J._f;Q&&(!Q.disabled&&Ke(s,_,$N(D,Q)),ee=Ud(Q.ref)&&rn(D)?"":D,FN(Q.ref)?[...Q.ref.options].forEach(M=>M.selected=ee.includes(M.value)):Q.refs?zc(Q.ref)?Q.refs.forEach(M=>{(!M.defaultChecked||!M.disabled)&&(Array.isArray(ee)?M.checked=!!ee.find($=>$===M.value):M.checked=ee===M.value||!!ee)}):Q.refs.forEach(M=>M.checked=M.value===ee):sv(Q.ref)?Q.ref.value="":(Q.ref.value=ee,Q.ref.type||h.state.next({name:_,values:jt(s)})))}(B.shouldDirty||B.shouldTouch)&&C(_,ee,B.shouldTouch,B.shouldDirty,!0),B.shouldValidate&&L(_)},W=(_,D,B)=>{for(const J in D){if(!D.hasOwnProperty(J))return;const ee=D[J],Q=_+"."+J,M=te(r,Q);(a.array.has(_)||St(ee)||M&&!M._f)&&!Ws(ee)?W(Q,ee,B):F(Q,ee,B)}},K=(_,D,B={})=>{const J=te(r,_),ee=a.array.has(_),Q=jt(D);Ke(s,_,Q),ee?(h.array.next({name:_,values:jt(s)}),(u.isDirty||u.dirtyFields||f.isDirty||f.dirtyFields)&&B.shouldDirty&&h.state.next({name:_,dirtyFields:ll(i,s),isDirty:O(_,Q)})):J&&!J._f&&!rn(Q)?W(_,Q,B):F(_,Q,B),S1(_,a)&&h.state.next({...n,name:_}),h.state.next({name:o.mount?_:void 0,values:jt(s)})},H=async _=>{o.mount=!0;const D=_.target;let B=D.name,J=!0;const ee=te(r,B),Q=ie=>{J=Number.isNaN(ie)||Ws(ie)&&isNaN(ie.getTime())||oi(ie,te(s,B,ie))},M=b1(t.mode),$=b1(t.reValidateMode);if(ee){let ie,me;const be=D.type?w1(ee._f):RN(_),Ze=_.type===$d.BLUR||_.type===$d.FOCUS_OUT,$t=!$6(ee._f)&&!t.resolver&&!te(n.errors,B)&&!ee._f.deps||H6(Ze,te(n.touchedFields,B),n.isSubmitted,$,M),pt=S1(B,a,Ze);Ke(s,B,be),Ze?(ee._f.onBlur&&ee._f.onBlur(_),l&&l(0)):ee._f.onChange&&ee._f.onChange(_);const Rt=C(B,be,Ze),In=!hn(Rt)||pt;if(!Ze&&h.state.next({name:B,type:_.type,values:jt(s)}),$t)return(u.isValid||f.isValid)&&(t.mode==="onBlur"?Ze&&m():Ze||m()),In&&h.state.next({name:B,...pt?{}:Rt});if(!Ze&&pt&&h.state.next({...n}),t.resolver){const{errors:et}=await P([B]);if(Q(be),J){const Dn=C1(n.errors,r,B),Ut=C1(et,r,Dn.name||B);ie=Ut.error,B=Ut.name,me=hn(et)}}else w([B],!0),ie=(await T1(ee,a.disabled,s,p,t.shouldUseNativeValidation))[B],w([B]),Q(be),J&&(ie?me=!1:(u.isValid||f.isValid)&&(me=await A(r,!0)));J&&(ee._f.deps&&L(ee._f.deps),S(B,me,ie,Rt))}},I=(_,D)=>{if(te(n.errors,D)&&_.focus)return _.focus(),1},L=async(_,D={})=>{let B,J;const ee=Ol(_);if(t.resolver){const Q=await N(vt(_)?_:ee);B=hn(Q),J=_?!ee.some(M=>te(Q,M)):B}else _?(J=(await Promise.all(ee.map(async Q=>{const M=te(r,Q);return await A(M&&M._f?{[Q]:M}:M)}))).every(Boolean),!(!J&&!n.isValid)&&m()):J=B=await A(r);return h.state.next({...!Fr(_)||(u.isValid||f.isValid)&&B!==n.isValid?{}:{name:_},...t.resolver||!_?{isValid:B}:{},errors:n.errors}),D.shouldFocus&&!J&&Ll(r,I,_?ee:a.mount),J},E=_=>{const D={...o.mount?s:i};return vt(_)?D:Fr(_)?te(D,_):_.map(B=>te(D,B))},ne=(_,D)=>({invalid:!!te((D||n).errors,_),isDirty:!!te((D||n).dirtyFields,_),error:te((D||n).errors,_),isValidating:!!te(n.validatingFields,_),isTouched:!!te((D||n).touchedFields,_)}),re=_=>{_&&Ol(_).forEach(D=>Ct(n.errors,D)),h.state.next({errors:_?n.errors:{}})},j=(_,D,B)=>{const J=(te(r,_,{_f:{}})._f||{}).ref,ee=te(n.errors,_)||{},{ref:Q,message:M,type:$,...ie}=ee;Ke(n.errors,_,{...ie,...D,ref:J}),h.state.next({name:_,errors:n.errors,isValid:!1}),B&&B.shouldFocus&&J&&J.focus&&J.focus()},oe=(_,D)=>gr(_)?h.state.subscribe({next:B=>"values"in B&&_(R(void 0,D),B)}):R(_,D,!0),Te=_=>h.state.subscribe({next:D=>{W6(_.name,D.name,_.exact)&&U6(D,_.formState||u,ht,_.reRenderRoot)&&_.callback({values:{...s},...n,...D,defaultValues:i})}}).unsubscribe,ye=_=>(o.mount=!0,f={...f,..._.formState},Te({..._,formState:f})),q=(_,D={})=>{for(const B of _?Ol(_):a.mount)a.mount.delete(B),a.array.delete(B),D.keepValue||(Ct(r,B),Ct(s,B)),!D.keepError&&Ct(n.errors,B),!D.keepDirty&&Ct(n.dirtyFields,B),!D.keepTouched&&Ct(n.touchedFields,B),!D.keepIsValidating&&Ct(n.validatingFields,B),!t.shouldUnregister&&!D.keepDefaultValue&&Ct(i,B);h.state.next({values:jt(s)}),h.state.next({...n,...D.keepDirty?{isDirty:O()}:{}}),!D.keepIsValid&&m()},he=({disabled:_,name:D})=>{(Cn(_)&&o.mount||_||a.disabled.has(D))&&(_?a.disabled.add(D):a.disabled.delete(D))},Ce=(_,D={})=>{let B=te(r,_);const J=Cn(D.disabled)||Cn(t.disabled);return Ke(r,_,{...B||{},_f:{...B&&B._f?B._f:{ref:{name:_}},name:_,mount:!0,...D}}),a.mount.add(_),B?he({disabled:Cn(D.disabled)?D.disabled:t.disabled,name:_}):k(_,!0,D.value),{...J?{disabled:D.disabled||t.disabled}:{},...t.progressive?{required:!!D.required,min:cl(D.min),max:cl(D.max),minLength:cl(D.minLength),maxLength:cl(D.maxLength),pattern:cl(D.pattern)}:{},name:_,onChange:H,onBlur:H,ref:ee=>{if(ee){Ce(_,D),B=te(r,_);const Q=vt(ee.value)&&ee.querySelectorAll&&ee.querySelectorAll("input,select,textarea")[0]||ee,M=L6(Q),$=B._f.refs||[];if(M?$.find(ie=>ie===Q):Q===B._f.ref)return;Ke(r,_,{_f:{...B._f,...M?{refs:[...$.filter(vp),Q,...Array.isArray(te(i,_))?[{}]:[]],ref:{type:Q.type,name:_}}:{ref:Q}}}),k(_,!1,void 0,Q)}else B=te(r,_,{}),B._f&&(B._f.mount=!1),(t.shouldUnregister||D.shouldUnregister)&&!(IN(a.array,_)&&o.action)&&a.unMount.add(_)}}},pe=()=>t.shouldFocusError&&Ll(r,I,a.mount),le=_=>{Cn(_)&&(h.state.next({disabled:_}),Ll(r,(D,B)=>{const J=te(r,B);J&&(D.disabled=J._f.disabled||_,Array.isArray(J._f.refs)&&J._f.refs.forEach(ee=>{ee.disabled=J._f.disabled||_}))},0,!1))},G=(_,D)=>async B=>{let J;B&&(B.preventDefault&&B.preventDefault(),B.persist&&B.persist());let ee=jt(s);if(h.state.next({isSubmitting:!0}),t.resolver){const{errors:Q,values:M}=await P();n.errors=Q,ee=jt(M)}else await A(r);if(a.disabled.size)for(const Q of a.disabled)Ct(ee,Q);if(Ct(n.errors,"root"),hn(n.errors)){h.state.next({errors:{}});try{await _(ee,B)}catch(Q){J=Q}}else D&&await D({...n.errors},B),pe(),setTimeout(pe);if(h.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:hn(n.errors)&&!J,submitCount:n.submitCount+1,errors:n.errors}),J)throw J},xe=(_,D={})=>{te(r,_)&&(vt(D.defaultValue)?K(_,jt(te(i,_))):(K(_,D.defaultValue),Ke(i,_,jt(D.defaultValue))),D.keepTouched||Ct(n.touchedFields,_),D.keepDirty||(Ct(n.dirtyFields,_),n.isDirty=D.defaultValue?O(_,jt(te(i,_))):O()),D.keepError||(Ct(n.errors,_),u.isValid&&m()),h.state.next({...n}))},Me=(_,D={})=>{const B=_?jt(_):i,J=jt(B),ee=hn(_),Q=ee?i:J;if(D.keepDefaultValues||(i=B),!D.keepValues){if(D.keepDirtyValues){const M=new Set([...a.mount,...Object.keys(ll(i,s))]);for(const $ of Array.from(M))te(n.dirtyFields,$)?Ke(Q,$,te(s,$)):K($,te(Q,$))}else{if(ev&&vt(_))for(const M of a.mount){const $=te(r,M);if($&&$._f){const ie=Array.isArray($._f.refs)?$._f.refs[0]:$._f.ref;if(Ud(ie)){const me=ie.closest("form");if(me){me.reset();break}}}}if(D.keepFieldsRef)for(const M of a.mount)K(M,te(Q,M));else r={}}s=t.shouldUnregister?D.keepDefaultValues?jt(i):{}:jt(Q),h.array.next({values:{...Q}}),h.state.next({values:{...Q}})}a={mount:D.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!u.isValid||!!D.keepIsValid||!!D.keepDirtyValues,o.watch=!!t.shouldUnregister,h.state.next({submitCount:D.keepSubmitCount?n.submitCount:0,isDirty:ee?!1:D.keepDirty?n.isDirty:!!(D.keepDefaultValues&&!oi(_,i)),isSubmitted:D.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:ee?{}:D.keepDirtyValues?D.keepDefaultValues&&s?ll(i,s):n.dirtyFields:D.keepDefaultValues&&_?ll(i,_):D.keepDirty?n.dirtyFields:{},touchedFields:D.keepTouched?n.touchedFields:{},errors:D.keepErrors?n.errors:{},isSubmitSuccessful:D.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},He=(_,D)=>Me(gr(_)?_(s):_,D),st=(_,D={})=>{const B=te(r,_),J=B&&B._f;if(J){const ee=J.refs?J.refs[0]:J.ref;ee.focus&&(ee.focus(),D.shouldSelect&&gr(ee.select)&&ee.select())}},ht=_=>{n={...n,..._}},xt={control:{register:Ce,unregister:q,getFieldState:ne,handleSubmit:G,setError:j,_subscribe:Te,_runSchema:P,_focusError:pe,_getWatch:R,_getDirty:O,_setValid:m,_setFieldArray:g,_setDisabledField:he,_setErrors:y,_getFieldArray:z,_reset:Me,_resetDefaultValues:()=>gr(t.defaultValues)&&t.defaultValues().then(_=>{He(_,t.resetOptions),h.state.next({isLoading:!1})}),_removeUnmounted:T,_disableForm:le,_subjects:h,_proxyFormState:u,get _fields(){return r},get _formValues(){return s},get _state(){return o},set _state(_){o=_},get _defaultValues(){return i},get _names(){return a},set _names(_){a=_},get _formState(){return n},get _options(){return t},set _options(_){t={...t,..._}}},subscribe:ye,trigger:L,register:Ce,handleSubmit:G,watch:oe,setValue:K,getValues:E,reset:He,resetField:xe,clearErrors:re,unregister:q,setError:j,setFocus:st,getFieldState:ne};return{...xt,formControl:xt}}function Z6(e={}){const t=V.useRef(void 0),n=V.useRef(void 0),[r,i]=V.useState({isDirty:!1,isValidating:!1,isLoading:gr(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:gr(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!gr(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:o,...a}=Y6(e);t.current={...a,formState:r}}const s=t.current.control;return s._options=e,iv(()=>{const o=s._subscribe({formState:s._proxyFormState,callback:()=>i({...s._formState}
310),reRenderRoot:!0});return i(a=>({...a,isReady:!0})),s._formState.isReady=!0,o},[s]),V.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),V.useEffect(()=>{e.mode&&(s._options.mode=e.mode),e.reValidateMode&&(s._options.reValidateMode=e.reValidateMode)},[s,e.mode,e.reValidateMode]),V.useEffect(()=>{e.errors&&(s._setErrors(e.errors),s._focusError())},[s,e.errors]),V.useEffect(()=>{e.shouldUnregister&&s._subjects.state.next({values:s._getWatch()})},[s,e.shouldUnregister]),V.useEffect(()=>{if(s._proxyFormState.isDirty){const o=s._getDirty();o!==r.isDirty&&s._subjects.state.next({isDirty:o})}},[s,r.isDirty]),V.useEffect(()=>{e.values&&!oi(e.values,n.current)?(s._reset(e.values,{keepFieldsRef:!0,...s._options.resetOptions}),n.current=e.values,i(o=>({...o}))):s._resetDefaultValues()},[s,e.values]),V.useEffect(()=>{s._state.mount||(s._setValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),t.current.formState=DN(r,s),t.current}const P1=(e,t,n)=>{if(e&&"reportValidity"in e){const r=te(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},WN=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?P1(r.ref,n,e):r.refs&&r.refs.forEach(i=>P1(i,n,e))}},Q6=(e,t)=>{t.shouldUseNativeValidation&&WN(e,t);const n={};for(const r in e){const i=te(t.fields,r),s=Object.assign(e[r]||{},{ref:i&&i.ref});if(X6(t.names||Object.keys(e),r)){const o=Object.assign({},te(n,r));Ke(o,"root",s),Ke(n,r,o)}else Ke(n,r,s)}return n},X6=(e,t)=>e.some(n=>n.startsWith(t+"."));var J6=function(e,t){for(var n={};e.length;){var r=e[0],i=r.code,s=r.message,o=r.path.join(".");if(!n[o])if("unionErrors"in r){var a=r.unionErrors[0].errors[0];n[o]={message:a.message,type:a.code}}else n[o]={message:s,type:i};if("unionErrors"in r&&r.unionErrors.forEach(function(u){return u.errors.forEach(function(f){return e.push(f)})}),t){var l=n[o].types,c=l&&l[r.code];n[o]=LN(o,t,n,i,c?[].concat(c,r.message):r.message)}e.shift()}return n},e9=function(e,t,n){return n===void 0&&(n={}),function(r,i,s){try{return Promise.resolve(function(o,a){try{var l=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(c){return s.shouldUseNativeValidation&&WN({},s),{errors:{},values:n.raw?r:c}})}catch(c){return a(c)}return l&&l.then?l.then(void 0,a):l}(0,function(o){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(o))return{values:{},errors:Q6(J6(o.errors,!s.shouldUseNativeValidation&&s.criteriaMode==="all"),s)};throw o}))}catch(o){return Promise.reject(o)}}},t9="Label",HN=b.forwardRef((e,t)=>d.jsx(je.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));HN.displayName=t9;var KN=HN;const n9=Yy("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ri=b.forwardRef(({className:e,...t},n)=>d.jsx(KN,{ref:n,className:Ae(n9(),e),...t}));ri.displayName=KN.displayName;const r9=M6,qN=b.createContext({}),Po=({...e})=>d.jsx(qN.Provider,{value:{name:e.name},children:d.jsx(O6,{...e})}),Kf=()=>{const e=b.useContext(qN),t=b.useContext(GN),{getFieldState:n,formState:r}=Hf(),i=n(e.name,r);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:s}=t;return{id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...i}},GN=b.createContext({}),Rs=b.forwardRef(({className:e,...t},n)=>{const r=b.useId();return d.jsx(GN.Provider,{value:{id:r},children:d.jsx("div",{ref:n,className:Ae("space-y-2",e),...t})})});Rs.displayName="FormItem";const Is=b.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:i}=Kf();return d.jsx(ri,{ref:n,className:Ae(r&&"text-destructive",e),htmlFor:i,...t})});Is.displayName="FormLabel";const Ds=b.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:i,formMessageId:s}=Kf();return d.jsx(TE,{ref:t,id:r,"aria-describedby":n?`${i} ${s}`:`${i}`,"aria-invalid":!!n,...e})});Ds.displayName="FormControl";const i9=b.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=Kf();return d.jsx("p",{ref:n,id:r,className:Ae("text-sm text-muted-foreground",e),...t})});i9.displayName="FormDescription";const Os=b.forwardRef(({className:e,children:t,...n},r)=>{const{error:i,formMessageId:s}=Kf(),o=i?String(i==null?void 0:i.message):t;return o?d.jsx("p",{ref:r,id:s,className:Ae("text-sm font-medium text-destructive",e),...n,children:o}):null});Os.displayName="FormMessage";const ci=b.forwardRef(({className:e,type:t,...n},r)=>d.jsx("input",{type:t,className:Ae("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));ci.displayName="Input";function YN(e){const t=b.useRef({value:e,previous:e});return b.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var qf="Checkbox",[s9,pQ]=bi(qf),[o9,av]=s9(qf);function a9(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:i,disabled:s,form:o,name:a,onCheckedChange:l,required:c,value:u="on",internal_do_not_use_render:f}=e,[h,p]=ls({prop:n,defaultProp:i??!1,onChange:l,caller:qf}),[v,m]=b.useState(null),[w,g]=b.useState(null),x=b.useRef(!1),y=v?!!o||!!v.closest("form"):!0,k={checked:h,disabled:s,setChecked:p,control:v,setControl:m,name:a,form:o,value:u,hasConsumerStoppedPropagationRef:x,required:c,defaultChecked:is(i)?!1:i,isFormControl:y,bubbleInput:w,setBubbleInput:g};return d.jsx(o9,{scope:t,...k,children:l9(f)?f(k):r})}var ZN="CheckboxTrigger",QN=b.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},i)=>{const{control:s,value:o,disabled:a,checked:l,required:c,setControl:u,setChecked:f,hasConsumerStoppedPropagationRef:h,isFormControl:p,bubbleInput:v}=av(ZN,e),m=Ge(i,u),w=b.useRef(l);return b.useEffect(()=>{const g=s==null?void 0:s.form;if(g){const x=()=>f(w.current);return g.addEventListener("reset",x),()=>g.removeEventListener("reset",x)}},[s,f]),d.jsx(je.button,{type:"button",role:"checkbox","aria-checked":is(l)?"mixed":l,"aria-required":c,"data-state":n_(l),"data-disabled":a?"":void 0,disabled:a,value:o,...r,ref:m,onKeyDown:we(t,g=>{g.key==="Enter"&&g.preventDefault()}),onClick:we(n,g=>{f(x=>is(x)?!0:!x),v&&p&&(h.current=g.isPropagationStopped(),h.current||g.stopPropagation())})})});QN.displayName=ZN;var lv=b.forwardRef((e,t)=>
vendor: 20,701 bytes, line 310
310{const{__scopeCheckbox:n,name:r,checked:i,defaultChecked:s,required:o,disabled:a,value:l,onCheckedChange:c,form:u,...f}=e;return d.jsx(a9,{__scopeCheckbox:n,checked:i,defaultChecked:s,disabled:a,required:o,onCheckedChange:c,name:r,form:u,value:l,internal_do_not_use_render:({isFormControl:h})=>d.jsxs(d.Fragment,{children:[d.jsx(QN,{...f,ref:t,__scopeCheckbox:n}),h&&d.jsx(t_,{__scopeCheckbox:n})]})})});lv.displayName=qf;var XN="CheckboxIndicator",JN=b.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...i}=e,s=av(XN,n);return d.jsx(vs,{present:r||is(s.checked)||s.checked===!0,children:d.jsx(je.span,{"data-state":n_(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});JN.displayName=XN;var e_="CheckboxBubbleInput",t_=b.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:i,checked:s,defaultChecked:o,required:a,disabled:l,name:c,value:u,form:f,bubbleInput:h,setBubbleInput:p}=av(e_,e),v=Ge(n,p),m=YN(s),w=PT(r);b.useEffect(()=>{const x=h;if(!x)return;const y=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(y,"checked").set,S=!i.current;if(m!==s&&C){const P=new Event("click",{bubbles:S});x.indeterminate=is(s),C.call(x,is(s)?!1:s),x.dispatchEvent(P)}},[h,m,s,i]);const g=b.useRef(is(s)?!1:s);return d.jsx(je.input,{type:"checkbox","aria-hidden":!0,defaultChecked:o??g.current,required:a,disabled:l,name:c,value:u,form:f,...t,tabIndex:-1,ref:v,style:{...t.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});t_.displayName=e_;function l9(e){return typeof e=="function"}function is(e){return e==="indeterminate"}function n_(e){return is(e)?"indeterminate":e?"checked":"unchecked"}const r_=b.forwardRef(({className:e,...t},n)=>d.jsx(lv,{ref:n,className:Ae("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:d.jsx(JN,{className:Ae("flex items-center justify-center text-current"),children:d.jsx(Rc,{className:"h-4 w-4"})})}));r_.displayName=lv.displayName;function j1(e,[t,n]){return Math.min(n,Math.max(t,e))}var c9=b.createContext(void 0);function i_(e){const t=b.useContext(c9);return e||t||"ltr"}var u9=[" ","Enter","ArrowUp","ArrowDown"],d9=[" ","Enter"],lo="Select",[Gf,Yf,f9]=Hy(lo),[Ua,mQ]=bi(lo,[f9,jf]),Zf=jf(),[h9,Ss]=Ua(lo),[p9,m9]=Ua(lo),s_=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:s,value:o,defaultValue:a,onValueChange:l,dir:c,name:u,autoComplete:f,disabled:h,required:p,form:v}=e,m=Zf(t),[w,g]=b.useState(null),[x,y]=b.useState(null),[k,C]=b.useState(!1),S=i_(c),[P,N]=ls({prop:r,defaultProp:i??!1,onChange:s,caller:lo}),[A,T]=ls({prop:o,defaultProp:a,onChange:l,caller:lo}),O=b.useRef(null),R=w?v||!!w.closest("form"):!0,[z,F]=b.useState(new Set),W=Array.from(z).map(K=>K.props.value).join(";");return d.jsx(V4,{...m,children:d.jsxs(h9,{required:p,scope:t,trigger:w,onTriggerChange:g,valueNode:x,onValueNodeChange:y,valueNodeHasChildren:k,onValueNodeHasChildrenChange:C,contentId:ns(),value:A,onValueChange:T,open:P,onOpenChange:N,dir:S,triggerPointerDownPosRef:O,disabled:h,children:[d.jsx(Gf.Provider,{scope:t,children:d.jsx(p9,{scope:e.__scopeSelect,onNativeOptionAdd:b.useCallback(K=>{F(H=>new Set(H).add(K))},[]),onNativeOptionRemove:b.useCallback(K=>{F(H=>{const I=new Set(H);return I.delete(K),I})},[]),children:n})}),R?d.jsxs(N_,{"aria-hidden":!0,required:p,tabIndex:-1,name:u,autoComplete:f,value:A,onChange:K=>T(K.target.value),disabled:h,form:v,children:[A===void 0?d.jsx("option",{value:""}):null,Array.from(z)]},W):null]})})};s_.displayName=lo;var o_="SelectTrigger",a_=b.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,s=Zf(n),o=Ss(o_,n),a=o.disabled||r,l=Ge(t,o.onTriggerChange),c=Yf(n),u=b.useRef("touch"),[f,h,p]=A_(m=>{const w=c().filter(y=>!y.disabled),g=w.find(y=>y.value===o.value),x=M_(w,m,g);x!==void 0&&o.onValueChange(x.value)}),v=m=>{a||(o.onOpenChange(!0),p()),m&&(o.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return d.jsx(LT,{asChild:!0,...s,children:d.jsx(je.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":__(o.value)?"":void 0,...i,ref:l,onClick:we(i.onClick,m=>{m.currentTarget.focus(),u.current!=="mouse"&&v(m)}),onPointerDown:we(i.onPointerDown,m=>{u.current=m.pointerType;const w=m.target;w.hasPointerCapture(m.pointerId)&&w.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(v(m),m.preventDefault())}),onKeyDown:we(i.onKeyDown,m=>{const w=f.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&h(m.key),!(w&&m.key===" ")&&u9.includes(m.key)&&(v(),m.preventDefault())})})})});a_.displayName=o_;var l_="SelectValue",c_=b.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:s,placeholder:o="",...a}=e,l=Ss(l_,n),{onValueNodeHasChildrenChange:c}=l,u=s!==void 0,f=Ge(t,l.onValueNodeChange);return Ot(()=>{c(u)},[c,u]),d.jsx(je.span,{...a,ref:f,style:{pointerEvents:"none"},children:__(l.value)?d.jsx(d.Fragment,{children:o}):s})});c_.displayName=l_;var g9="SelectIcon",u_=b.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return d.jsx(je.span,{"aria-hidden":!0,...i,ref:t,children:r||"â¼"})});u_.displayName=g9;var y9="SelectPortal",d_=e=>d.jsx(bf,{asChild:!0,...e});d_.displayName=y9;var co="SelectContent",f_=b.forwardRef((e,t)=>{const n=Ss(co,e.__scopeSelect),[r,i]=b.useState();if(Ot(()=>{i(new DocumentFragment)},[]),!n.open){const s=r;return s?xo.createPortal(d.jsx(h_,{scope:e.__scopeSelect,children:d.jsx(Gf.Slot,{scope:e.__scopeSelect,children:d.jsx("div",{children:e.children})})}),s):null}return d.jsx(p_,{...e,ref:t})});f_.displayName=co;var lr=10,[h_,Cs]=Ua(co),x9="SelectContentImpl",v9=ba("SelectContent.RemoveScroll"),p_=b.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:o,side:a,sideOffset:l,align:c,alignOffset:u,arrowPadding:f,collisionBoundary:h,collisionPadding:p,sticky:v,hideWhenDetached:m,avoidCollisions:w,...g}=e,x=Ss(co,n),[y,k]=b.useState(null),[C,S]=b.useState(null),P=Ge(t,q=>k(q)),[N,A]=b.useState(null),[T,O]=b.useState(null),R=Yf(n),[z,F]=b.useState(!1),W=b.useRef(!1);b.useEffect(()=>{if(y)return aN(y)},[y]),Xj();const K=b.useCallback(q=>{const[he,...Ce]=R().map(G=>G.ref.current),[pe]=Ce.slice(-1),le=document.activeElement;for(const G of q)if(G===le||(G==null||G.scrollIntoView({block:"nearest"}),G===he&&C&&(C.scrollTop=0),G===pe&&C&&(C.scrollTop=C.scrollHeight),G==null||G.focus(),document.activeElement!==le))return},[R,C]),H=b.useCallback(()=>K([N,y]),[K,N,y]);b.useEffect(()=>{z&&H()},[z,H]);const{onOpenChange:I,triggerPointerDownPosRef:L}=x;b.useEffect(()=>{if(y){let q={x:0,y:0};const he=pe=>{var le,G;q={x:Math.abs(Math.round(pe.pageX)-(((le=L.current)==null?void 0:le.x)??0)),y:Math.abs(Math.round(pe.pageY)-(((G=L.current)==null?void 0:G.y)??0))}},Ce=pe=>{q.x<=10&&q.y<=10?pe.preventDefault():y.contains(pe.target)||I(!1),document.removeEventListener("pointermove",he),L.current=null};return L.current!==null&&(document.addEventListener("pointermove",he),document.addEventListener("pointerup",Ce,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",he),document.removeEventListener("pointerup",Ce,{capture:!0})}}},[y,I,L]),b.useEffect(()=>{const q=()=>I(!1);return window.addEventListener("blur",q),window.addEventListener("resize",q),()=>{window.removeEventListener("blur",q),window.removeEventListener("resize",q)}},[I]);const[E,ne]=A_(q=>{const he=R().filter(le=>!le.disabled),Ce=he.find(le=>le.ref.current===document.activeElement),pe=M_(he,q,Ce);pe&&setTimeout(()=>pe.ref.current.focus())}),re=b.useCallback((q,he,Ce)=>{const pe=!W.current&&!Ce;(x.value!==void 0&&x.value===he||pe)&&(A(q),pe&&(W.current=!0))},[x.value]),j=b.useCallback(()=>y==null?void 0:y.focus(),[y]),oe=b.useCallback((q,he,Ce)=>{const pe=!W.current&&!Ce;(x.value!==void 0&&x.value===he||pe)&&O(q)},[x.value]),Te=r==="popper"?bg:m_,ye=Te===bg?{side:a,sideOffset:l,align:c,alignOffset:u,arrowPadding:f,collisionBoundary:h,collisionPadding:p,sticky:v,hideWhenDetached:m,avoidCollisions:w}:{};return d.jsx(h_,{scope:n,content:y,viewport:C,onViewportChange:S,itemRefCallback:re,selectedItem:N,onItemLeave:j,itemTextRefCallback:oe,focusSelectedItem:H,selectedItemText:T,position:r,isPositioned:z,searchRef:E,children:d.jsx(Zx,{as:v9,allowPinchZoom:!0,children:d.jsx(Yx,{asChild:!0,trapped:x.open,onMountAutoFocus:q=>{q.preventDefault()},onUnmountAutoFocus:we(i,q=>{var he;(he=x.trigger)==null||he.focus({preventScroll:!0}),q.preventDefault()}),children:d.jsx(Ac,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:q=>q.preventDefault(),onDismiss:()=>x.onOpenChange(!1),children:d.jsx(Te,{role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:q=>q.preventDefault(),...g,...ye,onPlaced:()=>F(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:we(g.onKeyDown,q=>{const he=q.ctrlKey||q.altKey||q.metaKey;if(q.key==="Tab"&&q.preventDefault(),!he&&q.key.length===1&&ne(q.key),["ArrowUp","ArrowDown","Home","End"].includes(q.key)){let pe=R().filter(le=>!le.disabled).map(le=>le.ref.current);if(["ArrowUp","End"].includes(q.key)&&(pe=pe.slice().reverse()),["ArrowUp","ArrowDown"].includes(q.key)){const le=q.target,G=pe.indexOf(le);pe=pe.slice(G+1)}setTimeout(()=>K(pe)),q.preventDefault()}})})})})})})});p_.displayName=x9;var w9="SelectItemAlignedPosition",m_=b.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,s=Ss(co,n),o=Cs(co,n),[a,l]=b.useState(null),[c,u]=b.useState(null),f=Ge(t,P=>u(P)),h=Yf(n),p=b.useRef(!1),v=b.useRef(!0),{viewport:m,selectedItem:w,selectedItemText:g,focusSelectedItem:x}=o,y=b.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&c&&m&&w&&g){const P=s.trigger.getBoundingClientRect(),N=c.getBoundingClientRect(),A=s.valueNode.getBoundingClientRect(),T=g.getBoundingClientRect();if(s.dir!=="rtl"){const le=T.left-N.left,G=A.left-le,xe=P.left-G,Me=P.width+xe,He=Math.max(Me,N.width),st=window.innerWidth-lr,ht=j1(G,[lr,Math.max(lr,st-He)]);a.style.minWidth=Me+"px",a.style.left=ht+"px"}else{const le=N.right-T.right,G=window.innerWidth-A.right-le,xe=window.innerWidth-P.right-G,Me=P.width+xe,He=Math.max(Me,N.width),st=window.innerWidth-lr,ht=j1(G,[lr,Math.max(lr,st-He)]);a.style.minWidth=Me+"px",a.style.right=ht+"px"}const O=h(),R=window.innerHeight-lr*2,z=m.scrollHeight,F=window.getComputedStyle(c),W=parseInt(F.borderTopWidth,10),K=parseInt(F.paddingTop,10),H=parseInt(F.borderBottomWidth,10),I=parseInt(F.paddingBottom,10),L=W+K+z+I+H,E=Math.min(w.offsetHeight*5,L),ne=window.getComputedStyle(m),re=parseInt(ne.paddingTop,10),j=parseInt(ne.paddingBottom,10),oe=P.top+P.height/2-lr,Te=R-oe,ye=w.offsetHeight/2,q=w.offsetTop+ye,he=W+K+q,Ce=L-he;if(he<=oe){const le=O.length>0&&w===O[O.length-1].ref.current;a.style.bottom="0px";const G=c.clientHeight-m.offsetTop-m.offsetHeight,xe=Math.max(Te,ye+(le?j:0)+G+H),Me=he+xe;a.style.height=Me+"px"}else{const le=O.length>0&&w===O[0].ref.current;a.style.top="0px";const xe=Math.max(oe,W+m.offsetTop+(le?re:0)+ye)+Ce;a.style.height=xe+"px",m.scrollTop=he-oe+m.offsetTop}a.style.margin=`${lr}px 0`,a.style.minHeight=E+"px",a.style.maxHeight=R+"px",r==null||r(),requestAnimationFrame(()=>p.current=!0)}},[h,s.trigger,s.valueNode,a,c,m,w,g,s.dir,r]);Ot(()=>y(),[y]);const[k,C]=b.useState();Ot(()=>{c&&C(window.getComputedStyle(c).zIndex)},[c]);const S=b.useCallback(P=>{P&&v.current===!0&&(y(),x==null||x(),v.current=!1)},[y,x]);return d.jsx(k9,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:p,onScrollButtonChange:S,children:d.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:d.jsx(je.div,{...i,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});m_.displayName=w9;var b9="SelectPopperPosition",bg=b.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=lr,...s}=e,o=Zf(n);return d.jsx(FT,{...o,...s,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});bg.displayName=b9;var[k9,cv]=Ua(co,{}),kg="SelectViewport",g_=b.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,s=Cs(kg,n),o=cv(kg,n),a=Ge(t,s.onViewportChange),l=b.useRef(0);return d.jsxs(d.Fragment,{children:[d.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),d.jsx(Gf.Slot,{scope:n,children:d.jsx(je.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:we(i.onScroll,c=>{const u=c.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:h}=o;if(h!=null&&h.current&&f){const p=Math.abs(l.current-u.scrollTop);if(p>0){const v=window.innerHeight-lr*2,m=parseFloat(f.style.minHeight),w=parseFloat(f.style.height),g=Math.max(m,w);if(g<v){const x=g+p,y=Math.min(v,x),k=x-y;f.style.height=y+"px",f.style.bottom==="0px"&&(u.scrollTop=k>0?k:0,f.style.justifyContent="flex-end")}}}l.current=u.scrollTop})})})]})});g_.displayName=kg;var y_="SelectGroup",[S9,C9]=Ua(y_),E9=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=ns();return d.jsx(S9,{scope:n,id:i,children:d.jsx(je.div,{role:"group","aria-labelledby":i,...r,ref:t})})});E9.displayName=y_;var x_="SelectLabel",v_=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=C9(x_,n);return d.jsx(je.div,{id:i.id,...r,ref:t})});v_.displayName=x_;var Kd="SelectItem",[T9,w_]=Ua(Kd),b_=b.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:s,...o}=e,a=Ss(Kd,n),l=Cs(Kd,n),c=a.value===r,[u,f]=b.useState(s??""),[h,p]=b.useState(!1),v=Ge(t,x=>{var y;return(y=l.itemRefCallback)==null?void 0:y.call(l,x,r,i)}),m=ns(),w=b.useRef("touch"),g=()=>{i||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return d.jsx(T9,{scope:n,value:r,disabled:i,textId:m,isSelected:c,onItemTextChange:b.useCallback(x=>{f(y=>y||((x==null?void 0:x.textContent)??"").trim())},[]),children:d.jsx(Gf.ItemSlot,{scope:n,value:r,disabled:i,textValue:u,children:d.jsx(je.div,{role:"option","aria-labelledby":m,"data-highlighted":h?"":void 0,"aria-selected":c&&h,"data-state":c?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...o,ref:v,onFocus:we(o.onFocus,()=>p(!0)),onBlur:we(o.onBlur,()=>p(!1)),onClick:we(o.onClick,()=>{w.current!=="mouse"&&g()}),onPointerUp:we(o.onPointerUp,()=>{w.current==="mouse"&&g()}),onPointerDown:we(o.onPointerDown,x=>{w.current=x.pointerType}),onPointerMove:we(o.onPointerMove,x=>{var y;w.current=x.pointerType,i?(y=l.onItemLeave)==null||y.call(l):w.current==="mouse"&&x.currentTarget.focus({preventScroll:!0})}),onPointerLeave:we(o.onPointerLeave,x=>{var y;x.currentTarget===document.activeElement&&((y=l.onItemLeave)==null||y.call(l))}),onKeyDown:we(o.onKeyDown,x=>{var k;((k=l.searchRef)==null?void 0:k.current)!==""&&x.key===" "||(d9.includes(x.key)&&g(),x.key===" "&&x.preventDefault())})})})})});b_.displayName=Kd;var vl="SelectItemText",k_=b.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...s}=e,o=Ss(vl,n),a=Cs(vl,n),l=w_(vl,n),c=m9(vl,n),[u,f]=b.useState(null),h=Ge(t,g=>f(g),l.onItemTextChange,g=>{var x;return(x=a.itemTextRefCallback)==null?void 0:x.call(a,g,l.value,l.disabled)}),p=u==null?void 0:u.textContent,v=b.useMemo(()=>d.jsx("option",{value:l.value,disabled:l.disabled,children:p},l.value),[l.disabled,l.value,p]),{onNativeOptionAdd:m,onNativeOptionRemove:w}=c;return Ot(()=>(m(v),()=>w(v)),[m,w,v]),d.jsxs(d.Fragment,{children:[d.jsx(je.span,{id:l.textId,...s,ref:h}),l.isSelected&&o.valueNode&&!o.valueNodeHasChildren?xo.createPortal(s.children,o.valueNode):null]})});k_.displayName=vl;var S_="SelectItemIndicator",C_=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return w_(S_,n).isSelected?d.jsx(je.span,{"aria-hidden":!0,...r,ref:t}):null});C_.displayName=S_;var Sg="SelectScrollUpButton",E_=b.forwardRef((e,t)=>{const n=Cs(Sg,e.__scopeSelect),r=cv(Sg,e.__scopeSelect),[i,s]=b.useState(!1),o=Ge(t,r.onScrollButtonChange);return Ot(()=>{if(n.viewport&&n.isPositioned){let a=function(){const c=l.scrollTop>0;s(c)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),i?d.jsx(P_,{...e,ref:o,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});E_.displayName=Sg;var Cg="SelectScrollDownButton",T_=b.forwardRef((e,t)=>{const n=Cs(Cg,e.__scopeSelect),r=cv(Cg,e.__scopeSelect),[i,s]=b.useState(!1),o=Ge(t,r.onScrollButtonChange);return Ot(()=>{if(n.viewport&&n.isPositioned){let a=function(){const c=l.scrollHeight-l.clientHeight,u=Math.ceil(l.scrollTop)<c;s(u)};const l=n.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),i?d.jsx(P_,{...e,ref:o,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=n;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});T_.displayName=Cg;var P_=b.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,s=Cs("SelectScrollButton",n),o=b.useRef(null),a=Yf(n),l=b.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return b.useEffect(()=>()=>l(),[l]),Ot(()=>{var u;const c=a().find(f=>f.ref.current===document.activeElement);(u=c==null?void 0:c.ref.current)==null||u.scrollIntoView({block:"nearest"})},[a]),d.jsx(je.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:we(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:we(i.onPointerMove,()=>{var c;(c=s.onItemLeave)==null||c.call(s),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:we(i.onPointerLeave,()=>{l()})})}),P9="SelectSeparator",j_=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return d.jsx(je.div,{"aria-hidden":!0,...r,ref:t})});j_.displayName=P9;var Eg="SelectArrow",j9=b.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=Zf(n),s=Ss(Eg,n),o=Cs(Eg,n);return s.open&&o.position==="popper"?d.jsx(VT,{...i,...r,ref:t}):null});j9.displayName=Eg;var N9="SelectBubbleInput",N_=b.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const i=b.useRef(null),s=Ge(r,i),o=YN(t);return b.useEffect(()=>{const a=i.current;if(!a)return;const l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(o!==t&&u){const f=new Event("change",{bubbles:!0});u.call(a,t),a.dispatchEvent(f)}},[o,t]),d.jsx(je.select,{...n,style:{...ME,...n.style},ref:s,defaultValue:t})});N_.displayName=N9;function __(e){return e===""||e===void 0}function A_(e){const t=Sr(e),n=b.useRef(""),r=b.useRef(0),i=b.useCallback(o=>{const a=n.current+o;t(a),function l(c){n.current=c,window.clearTimeout(r.current),c!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(a)},[t]),s=b.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return b.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,s]}function M_(e,t,n){const i=t.length>1&&Array.from(t).every(c=>c===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let o=_9(e,Math.max(s,0));i.length===1&&(o=o.filter(c=>c!==n));const l=o.find(c=>c.textValue.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function _9(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var A9=s_,R_=a_,M9=c_,R9=u_,I9=d_,I_=f_,D9=g_,D_=v_,O_=b_,O9=k_,L9=C_,L_=E_,F_=T_,V_=j_;const F9=A9,V9=M9,B_=b.forwardRef(({className:e,children:t,...n},r)=>d.jsxs(R_,{ref:r,className:Ae("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
310ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,d.jsx(R9,{asChild:!0,children:d.jsx(zs,{className:"h-4 w-4 opacity-50"})})]}));B_.displayName=R_.displayName;const z_=b.forwardRef(({className:e,...t},n)=>d.jsx(L_,{ref:n,className:Ae("flex cursor-default items-center justify-center py-1",e),...t,children:d.jsx(UD,{className:"h-4 w-4"})}));z_.displayName=L_.displayName;const $_=b.forwardRef(({className:e,...t},n)=>d.jsx(F_,{ref:n,className:Ae("flex cursor-default items-center justify-center py-1",e),...t,children:d.jsx(zs,{className:"h-4 w-4"})}));$_.displayName=F_.displayName;const U_=b.forwardRef(({className:e,children:t,position:n="popper",...r},i)=>d.jsx(I9,{children:d.jsxs(I_,{ref:i,className:Ae("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[d.jsx(z_,{}),d.jsx(D9,{className:Ae("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),d.jsx($_,{})]})}));U_.displayName=I_.displayName;const B9=b.forwardRef(({className:e,...t},n)=>d.jsx(D_,{ref:n,className:Ae("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));B9.displayName=D_.displayName;const W_=b.forwardRef(({className:e,children:t,...n},r)=>d.jsxs(O_,{ref:r,className:Ae("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[d.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(L9,{children:d.jsx(Rc,{className:"h-4 w-4"})})}),d.jsx(O9,{children:t})]}));W_.displayName=O_.displayName;const z9=b.forwardRef(({className:e,...t},n)=>d.jsx(V_,{ref:n,className:Ae("-mx-1 my-1 h-px bg-muted",e),...t}));z9.displayName=V_.displayName;var $e;(function(e){e.assertEqual=i=>{};function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const s={};for(const o of i)s[o]=o;return s},e.getValidEnumValues=i=>{const s=e.objectKeys(i).filter(a=>typeof i[i[a]]!="number"),o={};for(const a of s)o[a]=i[a];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(s){return i[s]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const s=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&s.push(o);return s},e.find=(i,s)=>{for(const o of i)if(s(o))return o},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&Number.isFinite(i)&&Math.floor(i)===i;function r(i,s=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(s)}e.joinValues=r,e.jsonStringifyReplacer=(i,s)=>typeof s=="bigint"?s.toString():s})($e||($e={}));var N1;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(N1||(N1={}));const ue=$e.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Di=e=>{switch(typeof e){case"undefined":return ue.undefined;case"string":return ue.string;case"number":return Number.isNaN(e)?ue.nan:ue.number;case"boolean":return ue.boolean;case"function":return ue.function;case"bigint":return ue.bigint;case"symbol":return ue.symbol;case"object":return Array.isArray(e)?ue.array:e===null?ue.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?ue.promise:typeof Map<"u"&&e instanceof Map?ue.map:typeof Set<"u"&&e instanceof Set?ue.set:typeof Date<"u"&&e instanceof Date?ue.date:ue.object;default:return ue.unknown}}
vendor: 4,686 bytes, line 310
310,X=$e.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class xi extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(s){return s.message},r={_errors:[]},i=s=>{for(const o of s.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let a=r,l=0;for(;l<o.path.length;){const c=o.path[l];l===o.path.length-1?(a[c]=a[c]||{_errors:[]},a[c]._errors.push(n(o))):a[c]=a[c]||{_errors:[]},a=a[c],l++}}};return i(this),r}static assert(t){if(!(t instanceof xi))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,$e.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const i of this.issues)if(i.path.length>0){const s=i.path[0];n[s]=n[s]||[],n[s].push(t(i))}else r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}xi.create=e=>new xi(e);const Tg=(e,t)=>{let n;switch(e.code){case X.invalid_type:e.received===ue.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case X.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,$e.jsonStringifyReplacer)}`;break;case X.unrecognized_keys:n=`Unrecognized key(s) in object: ${$e.joinValues(e.keys,", ")}`;break;case X.invalid_union:n="Invalid input";break;case X.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${$e.joinValues(e.options)}`;break;case X.invalid_enum_value:n=`Invalid enum value. Expected ${$e.joinValues(e.options)}, received '${e.received}'`;break;case X.invalid_arguments:n="Invalid function arguments";break;case X.invalid_return_type:n="Invalid function return type";break;case X.invalid_date:n="Invalid date";break;case X.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:$e.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case X.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case X.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case X.custom:n="Invalid input";break;case X.invalid_intersection_types:n="Intersection results could not be merged";break;case X.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case X.not_finite:n="Number must be finite";break;default:n=t.defaultError,$e.assertNever(e)}return{message:n}};let $9=Tg;function U9(){return $9}const W9=e=>
vendor: 4,952 bytes, line 310
310{const{data:t,path:n,errorMaps:r,issueData:i}=e,s=[...n,...i.path||[]],o={...i,path:s};if(i.message!==void 0)return{...i,path:s,message:i.message};let a="";const l=r.filter(c=>!!c).slice().reverse();for(const c of l)a=c(o,{data:t,defaultError:a}).message;return{...i,path:s,message:a}};function se(e,t){const n=U9(),r=W9({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Tg?void 0:Tg].filter(i=>!!i)});e.common.issues.push(r)}class An{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status==="aborted")return ke;i.status==="dirty"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n){const s=await i.key,o=await i.value;r.push({key:s,value:o})}return An.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:s,value:o}=i;if(s.status==="aborted"||o.status==="aborted")return ke;s.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),s.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(r[s.value]=o.value)}return{status:t.value,value:r}}}const ke=Object.freeze({status:"aborted"}),wl=e=>({status:"dirty",value:e}),Jn=e=>({status:"valid",value:e}),_1=e=>e.status==="aborted",A1=e=>e.status==="dirty",Ta=e=>e.status==="valid",qd=e=>typeof Promise<"u"&&e instanceof Promise;var de;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(de||(de={}));class ps{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const M1=(e,t)=>{if(Ta(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new xi(e.common.issues);return this._error=n,this._error}}};function Re(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,a)=>{const{message:l}=e;return o.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:l??r??a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:l??n??a.defaultError}},description:i}}class Be{get description(){return this._def.description}_getType(t){return Di(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Di(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new An,ctx:{common:t.parent.common,data:t.data,parsedType:Di(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(qd(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Di(t)},i=this._parseSync({data:t,path:r.path,parent:r});return M1(r,i)}"~validate"(t){var r,i;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Di(t)};if(!this["~standard"].async)try{const s=this._parseSync({data:t,path:[],parent:n});return Ta(s)?{value:s.value}:{issues:n.common.issues}}catch(s){(i=(r=s==null?void 0:s.message)==null?void 0:r.toLowerCase())!=null&&i.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(s=>Ta(s)?{value:s.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Di(t)},i=this._parse({data:t,path:r.path,parent:r}),s=await(qd(i)?i:Promise.resolve(i));return M1(r,s)}refine(t,n){const r=i=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(i):n;return this._refinement((i,s)=>{const o=t(i),a=()=>s.addIssue({code:X.custom,...r(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(l=>l?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,i)=>
vendor: 5,951 bytes, line 310
310t(r)?!0:(i.addIssue(typeof n=="function"?n(r,i):n),!1))}_refinement(t){return new ja({schema:this,typeName:Se.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return ss.create(this,this._def)}nullable(){return Na.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Wr.create(this)}promise(){return Qd.create(this,this._def)}or(t){return Yd.create([this,t],this._def)}and(t){return Zd.create(this,t,this._def)}transform(t){return new ja({...Re(this._def),schema:this,typeName:Se.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new Ng({...Re(this._def),innerType:this,defaultValue:n,typeName:Se.ZodDefault})}brand(){return new h8({typeName:Se.ZodBranded,type:this,...Re(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new _g({...Re(this._def),innerType:this,catchValue:n,typeName:Se.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return uv.create(this,t)}readonly(){return Ag.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const H9=/^c[^\s-]{8,}$/i,K9=/^[0-9a-z]+$/,q9=/^[0-9A-HJKMNP-TV-Z]{26}$/i,G9=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Y9=/^[a-z0-9_-]{21}$/i,Z9=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Q9=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,X9=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,J9="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let wp;const e8=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,t8=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,n8=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,r8=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,i8=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,s8=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,H_="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",o8=new RegExp(`^${H_}$`);function K_(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function a8(e){return new RegExp(`^${K_(e)}$`)}function l8(e){let t=`${H_}T${K_(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function c8(e,t){return!!((t==="v4"||!t)&&e8.test(e)||(t==="v6"||!t)&&n8.test(e))}function u8(e,t){if(!Z9.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(r));return!(typeof i!="object"||i===null||"typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||t&&i.alg!==t)}catch{return!1}}function d8(e,t){return!!((t==="v4"||!t)&&t8.test(e)||(t==="v6"||!t)&&r8.test(e))}class qi extends Be{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==ue.string){const s=this._getOrReturnCtx(t);
vendor: 6,925 bytes, line 310
310return se(s,{code:X.invalid_type,expected:ue.string,received:s.parsedType}),ke}const r=new An;let i;for(const s of this._def.checks)if(s.kind==="min")t.data.length<s.value&&(i=this._getOrReturnCtx(t,i),se(i,{code:X.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")t.data.length>s.value&&(i=this._getOrReturnCtx(t,i),se(i,{code:X.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const o=t.data.length>s.value,a=t.data.length<s.value;(o||a)&&(i=this._getOrReturnCtx(t,i),o?se(i,{code:X.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):a&&se(i,{code:X.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")X9.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"email",code:X.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")wp||(wp=new RegExp(J9,"u")),wp.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"emoji",code:X.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")G9.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"uuid",code:X.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")Y9.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"nanoid",code:X.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")H9.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"cuid",code:X.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")K9.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"cuid2",code:X.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")q9.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"ulid",code:X.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),se(i,{validation:"url",code:X.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"regex",code:X.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?t.data=t.data.trim():s.kind==="includes"?t.data.includes(s.value,s.position)||(i=this._getOrReturnCtx(t,i),se(i,{code:X.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.dirty()):s.kind==="toLowerCase"?t.data=t.data.toLowerCase():s.kind==="toUpperCase"?t.data=t.data.toUpperCase():s.kind==="startsWith"?t.data.startsWith(s.value)||(i=this._getOrReturnCtx(t,i),se(i,{code:X.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?t.data.endsWith(s.value)||(i=this._getOrReturnCtx(t,i),se(i,{code:X.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?l8(s).test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{code:X.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?o8.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{code:X.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?a8(s).test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{code:X.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?Q9.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"duration",code:X.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?c8(t.data,s.version)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"ip",code:X.invalid_string,message:s.message}),r.dirty()):s.kind==="jwt"?u8(t.data,s.alg)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"jwt",code:X.invalid_string,message:s.message}),r.dirty()):s.kind==="cidr"?d8(t.data,s.version)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"cidr",code:X.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?i8.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"base64",code:X.invalid_string,message:s.message}),r.dirty()):s.kind==="base64url"?s8.test(t.data)||(i=this._getOrReturnCtx(t,i),se(i,{validation:"base64url",code:X.invalid_string,message:s.message}),r.dirty()):$e.assertNever(s);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(i=>t.test(i),{validation:n,code:X.invalid_string,...de.errToObj(r)})}_addCheck(t){return new qi({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...de.errToObj(t)})}url(t){return this._addCheck({kind:"url",...de.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...de.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...de.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...de.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...de.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...de.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...de.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...de.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...de.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...de.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...de.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...de.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...de.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...de.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...de.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...de.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...de.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...de.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...de.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...de.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...de.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...de.errToObj(n)})}nonempty(t){return this.min(1,de.errToObj(t))}trim(){return new qi({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new qi({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new qi({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 4,664 bytes, line 310
310get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}qi.create=e=>new qi({checks:[],typeName:Se.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...Re(e)});function f8(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,s=Number.parseInt(e.toFixed(i).replace(".","")),o=Number.parseInt(t.toFixed(i).replace(".",""));return s%o/10**i}class gc extends Be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==ue.number){const s=this._getOrReturnCtx(t);return se(s,{code:X.invalid_type,expected:ue.number,received:s.parsedType}),ke}let r;const i=new An;for(const s of this._def.checks)s.kind==="int"?$e.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),se(r,{code:X.invalid_type,expected:"integer",received:"float",message:s.message}),i.dirty()):s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),se(r,{code:X.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),se(r,{code:X.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),i.dirty()):s.kind==="multipleOf"?f8(t.data,s.value)!==0&&(r=this._getOrReturnCtx(t,r),se(r,{code:X.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):s.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),se(r,{code:X.not_finite,message:s.message}),i.dirty()):$e.assertNever(s);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,de.toString(n))}gt(t,n){return this.setLimit("min",t,!1,de.toString(n))}lte(t,n){return this.setLimit("max",t,!0,de.toString(n))}lt(t,n){return this.setLimit("max",t,!1,de.toString(n))}setLimit(t,n,r,i){return new gc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:de.toString(i)}]})}_addCheck(t){return new gc({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:de.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:de.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:de.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:de.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:de.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:de.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:de.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:de.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:de.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&$e.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}
vendor: 4,125 bytes, line 310
310}gc.create=e=>new gc({checks:[],typeName:Se.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...Re(e)});class yc extends Be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==ue.bigint)return this._getInvalidInput(t);let r;const i=new An;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),se(r,{code:X.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),se(r,{code:X.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),i.dirty()):s.kind==="multipleOf"?t.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),se(r,{code:X.not_multiple_of,multipleOf:s.value,message:s.message}),i.dirty()):$e.assertNever(s);return{status:i.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return se(n,{code:X.invalid_type,expected:ue.bigint,received:n.parsedType}),ke}gte(t,n){return this.setLimit("min",t,!0,de.toString(n))}gt(t,n){return this.setLimit("min",t,!1,de.toString(n))}lte(t,n){return this.setLimit("max",t,!0,de.toString(n))}lt(t,n){return this.setLimit("max",t,!1,de.toString(n))}setLimit(t,n,r,i){return new yc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:de.toString(i)}]})}_addCheck(t){return new yc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:de.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:de.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:de.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:de.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:de.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}yc.create=e=>new yc({checks:[],typeName:Se.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...Re(e)});class R1 extends Be{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==ue.boolean){const r=this._getOrReturnCtx(t);return se(r,{code:X.invalid_type,expected:ue.boolean,received:r.parsedType}),ke}return Jn(t.data)}}R1.create=e=>new R1({typeName:Se.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...Re(e)});class Gd extends Be{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==ue.date){const s=this._getOrReturnCtx(t);return se(s,{code:X.invalid_type,expected:ue.date,received:s.parsedType}),ke}if(Number.isNaN(t.data.getTime())){const s=this._getOrReturnCtx(t);return se(s,{code:X.invalid_date}),ke}const r=new An;let i;for(const s of this._def.checks)s.kind==="min"?t.data.getTime()<s.value&&(i=this._getOrReturnCtx(t,i),se(i,{code:X.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?t.data.getTime()>s.value&&(i=this._getOrReturnCtx(t,i),se(i,{code:X.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):$e.assertNever(s);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Gd({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:de.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:de.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Gd.create=e=>new Gd({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Se.ZodD
vendor: 8,529 bytes, line 310
310ate,...Re(e)});class I1 extends Be{_parse(t){if(this._getType(t)!==ue.symbol){const r=this._getOrReturnCtx(t);return se(r,{code:X.invalid_type,expected:ue.symbol,received:r.parsedType}),ke}return Jn(t.data)}}I1.create=e=>new I1({typeName:Se.ZodSymbol,...Re(e)});class D1 extends Be{_parse(t){if(this._getType(t)!==ue.undefined){const r=this._getOrReturnCtx(t);return se(r,{code:X.invalid_type,expected:ue.undefined,received:r.parsedType}),ke}return Jn(t.data)}}D1.create=e=>new D1({typeName:Se.ZodUndefined,...Re(e)});class O1 extends Be{_parse(t){if(this._getType(t)!==ue.null){const r=this._getOrReturnCtx(t);return se(r,{code:X.invalid_type,expected:ue.null,received:r.parsedType}),ke}return Jn(t.data)}}O1.create=e=>new O1({typeName:Se.ZodNull,...Re(e)});class L1 extends Be{constructor(){super(...arguments),this._any=!0}_parse(t){return Jn(t.data)}}L1.create=e=>new L1({typeName:Se.ZodAny,...Re(e)});class F1 extends Be{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Jn(t.data)}}F1.create=e=>new F1({typeName:Se.ZodUnknown,...Re(e)});class ms extends Be{_parse(t){const n=this._getOrReturnCtx(t);return se(n,{code:X.invalid_type,expected:ue.never,received:n.parsedType}),ke}}ms.create=e=>new ms({typeName:Se.ZodNever,...Re(e)});class V1 extends Be{_parse(t){if(this._getType(t)!==ue.undefined){const r=this._getOrReturnCtx(t);return se(r,{code:X.invalid_type,expected:ue.void,received:r.parsedType}),ke}return Jn(t.data)}}V1.create=e=>new V1({typeName:Se.ZodVoid,...Re(e)});class Wr extends Be{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==ue.array)return se(n,{code:X.invalid_type,expected:ue.array,received:n.parsedType}),ke;if(i.exactLength!==null){const o=n.data.length>i.exactLength.value,a=n.data.length<i.exactLength.value;(o||a)&&(se(n,{code:o?X.too_big:X.too_small,minimum:a?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(se(n,{code:X.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(se(n,{code:X.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,a)=>i.type._parseAsync(new ps(n,o,n.path,a)))).then(o=>An.mergeArray(r,o));const s=[...n.data].map((o,a)=>i.type._parseSync(new ps(n,o,n.path,a)));return An.mergeArray(r,s)}get element(){return this._def.type}min(t,n){return new Wr({...this._def,minLength:{value:t,message:de.toString(n)}})}max(t,n){return new Wr({...this._def,maxLength:{value:t,message:de.toString(n)}})}length(t,n){return new Wr({...this._def,exactLength:{value:t,message:de.toString(n)}})}nonempty(t){return this.min(1,t)}}Wr.create=(e,t)=>new Wr({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Se.ZodArray,...Re(t)});function No(e){if(e instanceof gt){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=ss.create(No(r))}return new gt({...e._def,shape:()=>t})}else return e instanceof Wr?new Wr({...e._def,type:No(e.element)}):e instanceof ss?ss.create(No(e.unwrap())):e instanceof Na?Na.create(No(e.unwrap())):e instanceof uo?uo.create(e.items.map(t=>No(t))):e}class gt extends Be{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=$e.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==ue.object){const c=this._getOrReturnCtx(t);return se(c,{code:X.invalid_type,expected:ue.object,received:c.parsedType}),ke}const{status:r,ctx:i}=this._processInputParams(t),{shape:s,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof ms&&this._def.unknownKeys==="strip"))for(const c in i.data)o.includes(c)||a.push(c);const l=[];for(const c of o){const u=s[c],f=i.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new ps(i,f,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof ms){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of a)l.push({key:{status:"valid",value:u},value:{status:"valid",value:i.data[u]}});else if(c==="strict")a.length>0&&(se(i,{code:X.unrecognized_keys,keys:a}),r.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of a){const f=i.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new ps(i,f,i.path,u)),alwaysSet:u in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const f=await u.key,h=await u.value;c.push({key:f,value:h,alwaysSet:u.alwaysSet})}return c}).then(c=>An.mergeObjectSync(r,c)):An.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return de.errToObj,new gt({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var s,o;const i=((o=(s=this._def).errorMap)==null?void 0:o.call(s,n,r).message)??r.defaultError;return n.code==="unrecognized_keys"?{message:de.errToObj(t).message??i}:{message:i}}}:{}})}strip(){return new gt({...this._def,unknownKeys:"strip"})}passthrough(){return new gt({...this._def,unknownKeys:"passthrough"})}extend(t){return new gt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new gt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Se.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new gt({...this._def,catchall:t})}pick(t){const n={};for(const r of $e.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new gt({...this._def,shape:()=>n})}omit(t){const n={};for(const r of $e.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new gt({...this._def,shape:()=>n})}deepPartial(){return No(this)}partial(t){const n={};for(const r of $e.objectKeys(this.shape)){const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}return new gt({...this._def,shape:()=>n})}required(t){const n={};for(const r of $e.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof ss;)s=s._def.innerType;n[r]=s}return new gt({...this._def,shape:()=>n})}keyof(){return q_($e.objectKeys(this.shape))}}gt.create=(e,t)=>new gt({shape:()=>e,unknownKeys:"strip",catchall:ms.create(),typeName:Se.ZodObject,...Re(t)});gt.strictCreate=(e,t)=>new gt({shape:()=>e,unknownKeys:"strict",catchall:ms.create(),typeName:Se.ZodObject,...Re(t)});gt.lazycreate=(e,t)=>new gt({shape:e,unknownKeys:"strip",catchall:ms.create(),typeName:Se.ZodObject,...Re(t)});class Yd extends Be{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(s){for(const a of s)if(a.result.status==="valid")return a.result;for(const a of s)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const o=s.map(a=>new xi(a.ctx.common.issues));return se(n,{code:X.invalid_union,unionErrors:o}),ke}if(n.common.async)return Promise.all(r.map(async s=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await s._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(i);{let s;const o=[];for(const l of r){const c={...n,common:{...n.common,issues:[]},parent:null},u=l._parseSync({data:n.data,path:n.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!s&&(s={result:u,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(s)return n.common.issues.push(...s.ctx.common.issues),s.result;const a=o.map(l=>new xi(l));return se(n,{code:X.invalid_union,unionErrors:a}),ke}}get options(){return this._def.options}}Yd.create=(e,t)=>new Yd({options:e,typeName:Se.ZodUnion,...Re(t)});function Pg(e,t){const n=Di(e),r=Di(t);if(e===t)return{valid:!0,data:e};if(n===ue.object&&r===ue.object){const i=$e.objectKeys(t),s=$e.objectKeys(e).filter(a=>i.indexOf(a)!==-1),o={...e,...t};for(const a of s){const l=Pg(e[a],t[a]);if(!l.valid)return{valid:!1};o[a]=l.data}return{valid:!0,data:o}}else if(n===ue.array&&r===ue.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let s=0;s<e.length;s++){const o=e[s],a=t[s],l=Pg(o,a);if(!l.valid)return{valid:!1};i.push(l.data)}return{valid:!0,data:i}}else return n===ue.date&&r===ue.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Zd extends Be{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=(s,o)=>
vendor: 4,172 bytes, line 310
310{if(_1(s)||_1(o))return ke;const a=Pg(s.value,o.value);return a.valid?((A1(s)||A1(o))&&n.dirty(),{status:n.value,value:a.data}):(se(r,{code:X.invalid_intersection_types}),ke)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,o])=>i(s,o)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}Zd.create=(e,t,n)=>new Zd({left:e,right:t,typeName:Se.ZodIntersection,...Re(n)});class uo extends Be{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.array)return se(r,{code:X.invalid_type,expected:ue.array,received:r.parsedType}),ke;if(r.data.length<this._def.items.length)return se(r,{code:X.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ke;!this._def.rest&&r.data.length>this._def.items.length&&(se(r,{code:X.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const s=[...r.data].map((o,a)=>{const l=this._def.items[a]||this._def.rest;return l?l._parse(new ps(r,o,r.path,a)):null}).filter(o=>!!o);return r.common.async?Promise.all(s).then(o=>An.mergeArray(n,o)):An.mergeArray(n,s)}get items(){return this._def.items}rest(t){return new uo({...this._def,rest:t})}}uo.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new uo({items:e,typeName:Se.ZodTuple,rest:null,...Re(t)})};class B1 extends Be{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.map)return se(r,{code:X.invalid_type,expected:ue.map,received:r.parsedType}),ke;const i=this._def.keyType,s=this._def.valueType,o=[...r.data.entries()].map(([a,l],c)=>({key:i._parse(new ps(r,a,r.path,[c,"key"])),value:s._parse(new ps(r,l,r.path,[c,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const l of o){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return ke;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(c.value,u.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const l of o){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return ke;(c.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(c.value,u.value)}return{status:n.value,value:a}}}}B1.create=(e,t,n)=>new B1({valueType:t,keyType:e,typeName:Se.ZodMap,...Re(n)});class xc extends Be{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==ue.set)return se(r,{code:X.invalid_type,expected:ue.set,received:r.parsedType}),ke;const i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&(se(r,{code:X.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&(se(r,{code:X.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const s=this._def.valueType;function o(l){const c=new Set;for(const u of l){if(u.status==="aborted")return ke;u.status==="dirty"&&n.dirty(),c.add(u.value)}return{status:n.value,value:c}}const a=[...r.data.values()].map((l,c)=>s._parse(new ps(r,l,r.path,c)));return r.common.async?Promise.all(a).then(l=>o(l)):o(a)}min(t,n){return new xc({...this._def,minSize:{value:t,message:de.toString(n)}})}max(t,n){return new xc({...this._def,maxSize:{value:t,message:de.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}xc.create=(e,t)=>new xc({valueType:e,minSize:null,maxSize:null,typeName:Se.ZodSet,...Re(t)});class z1 extends Be{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}z1.create=(e,t)=>new z1({getter:e,typeName:Se.ZodLazy,...Re(t)});class jg extends Be{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return se(n,{received:n.data,code:X.invalid_literal,expected:this._def.value}),ke}
vendor: 9,750 bytes, line 310
310return{status:"valid",value:t.data}}get value(){return this._def.value}}jg.create=(e,t)=>new jg({value:e,typeName:Se.ZodLiteral,...Re(t)});function q_(e,t){return new Pa({values:e,typeName:Se.ZodEnum,...Re(t)})}class Pa extends Be{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return se(n,{expected:$e.joinValues(r),received:n.parsedType,code:X.invalid_type}),ke}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return se(n,{received:n.data,code:X.invalid_enum_value,options:r}),ke}return Jn(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Pa.create(t,{...this._def,...n})}exclude(t,n=this._def){return Pa.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Pa.create=q_;class $1 extends Be{_parse(t){const n=$e.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==ue.string&&r.parsedType!==ue.number){const i=$e.objectValues(n);return se(r,{expected:$e.joinValues(i),received:r.parsedType,code:X.invalid_type}),ke}if(this._cache||(this._cache=new Set($e.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const i=$e.objectValues(n);return se(r,{received:r.data,code:X.invalid_enum_value,options:i}),ke}return Jn(t.data)}get enum(){return this._def.values}}$1.create=(e,t)=>new $1({values:e,typeName:Se.ZodNativeEnum,...Re(t)});class Qd extends Be{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==ue.promise&&n.common.async===!1)return se(n,{code:X.invalid_type,expected:ue.promise,received:n.parsedType}),ke;const r=n.parsedType===ue.promise?n.data:Promise.resolve(n.data);return Jn(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Qd.create=(e,t)=>new Qd({type:e,typeName:Se.ZodPromise,...Re(t)});class ja extends Be{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Se.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,s={addIssue:o=>{se(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),i.type==="preprocess"){const o=i.transform(r.data,s);if(r.common.async)return Promise.resolve(o).then(async a=>{if(n.value==="aborted")return ke;const l=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return l.status==="aborted"?ke:l.status==="dirty"||n.value==="dirty"?wl(l.value):l});{if(n.value==="aborted")return ke;const a=this._def.schema._parseSync({data:o,path:r.path,parent:r});return a.status==="aborted"?ke:a.status==="dirty"||n.value==="dirty"?wl(a.value):a}}if(i.type==="refinement"){const o=a=>{const l=i.refinement(a,s);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?ke:(a.status==="dirty"&&n.dirty(),o(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?ke:(a.status==="dirty"&&n.dirty(),o(a.value).then(()=>({status:n.value,value:a.value}))))}if(i.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Ta(o))return ke;const a=i.transform(o.value,s);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>Ta(o)?Promise.resolve(i.transform(o.value,s)).then(a=>({status:n.value,value:a})):ke);$e.assertNever(i)}}ja.create=(e,t,n)=>new ja({schema:e,typeName:Se.ZodEffects,effect:t,...Re(n)});ja.createWithPreprocess=(e,t,n)=>new ja({schema:t,effect:{type:"preprocess",transform:e},typeName:Se.ZodEffects,...Re(n)});class ss extends Be{_parse(t){return this._getType(t)===ue.undefined?Jn(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ss.create=(e,t)=>new ss({innerType:e,typeName:Se.ZodOptional,...Re(t)});class Na extends Be{_parse(t){return this._getType(t)===ue.null?Jn(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Na.create=(e,t)=>new Na({innerType:e,typeName:Se.ZodNullable,...Re(t)});class Ng extends Be{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===ue.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Ng.create=(e,t)=>new Ng({innerType:e,typeName:Se.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Re(t)});class _g extends Be{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return qd(i)?i.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new xi(r.common.issues)},input:r.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new xi(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}_g.create=(e,t)=>new _g({innerType:e,typeName:Se.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Re(t)});class U1 extends Be{_parse(t){if(this._getType(t)!==ue.nan){const r=this._getOrReturnCtx(t);return se(r,{code:X.invalid_type,expected:ue.nan,received:r.parsedType}),ke}return{status:"valid",value:t.data}}}U1.create=e=>new U1({typeName:Se.ZodNaN,...Re(e)});class h8 extends Be{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class uv extends Be{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?ke:s.status==="dirty"?(n.dirty(),wl(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?ke:i.status==="dirty"?(n.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new uv({in:t,out:n,typeName:Se.ZodPipeline})}}class Ag extends Be{_parse(t){const n=this._def.innerType._parse(t),r=i=>(Ta(i)&&(i.value=Object.freeze(i.value)),i);return qd(n)?n.then(i=>r(i)):r(n)}unwrap(){return this._def.innerType}}Ag.create=(e,t)=>new Ag({innerType:e,typeName:Se.ZodReadonly,...Re(t)});gt.lazycreate;var Se;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Se||(Se={}));const ul=qi.create;ms.create;Wr.create;const p8=gt.create;gt.strictCreate;Yd.create;Zd.create;uo.create;const m8=jg.create;Pa.create;Qd.create;ss.create;Na.create;const g8=p8({firstName:ul().trim().min(1,"First name is required").max(80,"First name is too long"),lastName:ul().trim().max(80,"Last name is too long").optional(),email:ul().trim().min(1,"Email is required").email("Please enter a valid email").max(100,"Email is too long"),phone:ul().trim().max(20,"Phone is too long").optional(),location:ul().optional(),consent:m8(!0,{errorMap:()=>({message:"Please agree to proceed"})})}),y8={matawan:"matawan",milltown:"east-brunswick",edison:"edison"};function G_(e,t){const n=t?y8[t]:void 0;return n?`${e}-${n}`:e}const Mt=[{id:"matawan",name:"Empower Matawan",slug:"matawan",address:"1070 Rt 34",city:"Matawan",state:"NJ",zip:"07747",phone:"(732) 288-6446",phoneRaw:"+17322886446",email:"[email protected]",description:"Our dojo on Route 34, serving Matawan, Aberdeen, and the surrounding towns. Martial arts for kids and families.",hours:[{days:"Mon",time:"12 â 9 PM"},{days:"Tue",time:"1 â 9 PM"},{days:"Wed",time:"12 â 9 PM"},{days:"Thu",time:"1 â 9 PM"},{days:"Fri",time:"Closed"},{days:"Sat",time:"9 AM â 2 PM"},{days:"Sun",time:"Closed"}],website:"",isFlagship:!0,bookingUrl:"https://cp.mystudio.io/t/?=Blackbelt/2735/63625//1781878195",offerBanner:{message:"Kids: 1 week free + free white belt.",highlight:"Teens & adults: 2 weeks for $20."},programs:["junior-martial-arts","kids-martial-arts","krav-maga"],deals:[{title:"Kids special",subtitle:"Everything your kid needs to get started.",perks:["1 week of classes free","Free white belt"],originalPrice
310:"",salePrice:"Free",discount:"Limited time",ctaLabel:"Claim the special",ctaLink:"/contact"},{title:"Teens & adults special",subtitle:"Two weeks of training to see if it's for you.",perks:["2 weeks of classes","Free t-shirt"],originalPrice:"",salePrice:"$20",discount:"Limited time",ctaLabel:"Claim the special",ctaLink:"/contact"}],instructorIds:[],classes:[{name:"Junior Martial Arts",day:"Mon",time:"4:30-5:00 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Mon",time:"5:15-5:45 PM",duration:"30 min"},{name:"Junior Martial Arts",day:"Tue",time:"6:15-6:45 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Tue",time:"7:00-7:30 PM",duration:"30 min"},{name:"Krav Maga",day:"Tue",time:"8:00-8:45 PM",duration:"45 min"},{name:"Junior Martial Arts",day:"Wed",time:"4:30-5:00 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Wed",time:"5:15-5:45 PM",duration:"30 min"},{name:"Krav Maga",day:"Wed",time:"8:00-8:45 PM",duration:"45 min"},{name:"Junior Martial Arts",day:"Thu",time:"6:15-6:45 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Thu",time:"7:00-7:30 PM",duration:"30 min"},{name:"Krav Maga",day:"Thu",time:"8:00-8:45 PM",duration:"45 min"},{name:"Junior Martial Arts",day:"Sat",time:"10:00-10:30 AM",duration:"30 min"},{name:"Kids Martial Arts",day:"Sat",time:"10:45-11:15 AM",duration:"30 min"}],heroEyebrow:"Matawan's Top-Rated Martial Arts School",heroHeadline:"Discipline on the Mat. Confidence for Life.",heroBody:"Your child's next breakthrough won't happen on a screen. At Empower Matawan, our kids karate and martial arts programs help Matawan and Bayshore-area families build the focus, self-discipline, and confidence they need for school and life.",mapEmbedUrl:"https://www.google.com/maps?q=1070+Rt+34,+Matawan,+NJ+07747&output=embed",socials:{facebook:"https://www.facebook.com/matawanmartialarts",instagram:"https://www.instagram.com/ema_aberdeen/",youtube:"https://www.youtube.com/@ema_aberdeen"}},{id:"milltown",name:"Empower East Brunswick",slug:"milltown",address:"262 Ryders Ln",city:"Milltown",state:"NJ",zip:"08850",phone:"(732) 705-6995",phoneRaw:"+17327056995",email:"[email protected]",description:"Our East Brunswick dojo on Ryders Ln, serving Milltown, East Brunswick, and surrounding towns. Karate and Krav Maga for kids and families.",hours:[{days:"Mon",time:"2 â 8 PM"},{days:"Tue",time:"3 â 9 PM"},{days:"Wed",time:"2 â 8 PM"},{days:"Thu",time:"3 â 9 PM"},{days:"Fri",time:"Closed"},{days:"Sat",time:"10 AM â 1 PM"},{days:"Sun",time:"Closed"}],website:"",isFlagship:!1,bookingUrl:"https://cp.mystudio.io/t/?=7327056995/7458/63362//1781878144",offerBanner:{message:"Kids: 2 free classes + free white belt.",highlight:"Teens & adults: 2 weeks for $20."},programs:["junior-martial-arts","kids-martial-arts","krav-maga"],deals:[{title:"Kids special",subtitle:"Everything your kid needs to get started.",perks:["2 free classes","Free white belt"],originalPrice:"",salePrice:"Free",discount:"Limited time",ctaLabel:"Claim the special",ctaLink:"/contact"},{title:"Teens & adults special",subtitle:"Two weeks of training to see if it's for you.",perks:["2 weeks of classes","Free t-shirt"],originalPrice:"",salePrice:"$20",discount:"Limited time",ctaLabel:"Claim the special",ctaLink:"/contact"}],instructorIds:["manjinder-singh","kelsi-siebig"],classes:[{name:"Junior Martial Arts",day:"Mon",time:"5:00-5:30 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Mon",time:"5:45-6:15 PM",duration:"30 min"},{name:"Junior Martial Arts",day:"Tue",time:"6:15-6:45 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Tue",time:"7:00-7:30 PM",duration:"30 min"},{name:"Krav Maga",day:"Tue",time:"8:00-8:45 PM",duration:"45 min"},{name:"Junior Martial Arts",day:"Wed",time:"5:00-5:30 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Wed",time:"5:45-6:15 PM",duration:"30 min"},{name:"Junior Martial Arts",day:"Thu",time:"6:15-6:45 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Thu",time:"7:00-7:30 PM",duration:"30 min"},{name:"Krav Maga",day:"Thu",time:"8:00-8:45 PM",duration:"45 min"},{name:"Krav Maga",day:"Sat",time:"10:00 AM",duration:"45 min"},{name:"Junior Martial Arts",day:"Sat",time:"10:45-11:15 AM",duration:"30 min"},{name:"Kids Martial Arts",day:"Sat",time:"10:45-11:15 AM",duration:"30 min"}],heroEyebrow:"East Brunswick's Top-Rated Martial Arts School",heroHeadline:"Discipline on the Mat. Confidence for Life.",heroBody:"Your child's next breakthrough won't happen on a
310screen. At Empower East Brunswick, our kids karate and martial arts programs help East Brunswick and Milltown families build the focus, self-discipline, and confidence they need for school and life.",mapEmbedUrl:"https://www.google.com/maps?q=262+Ryders+Ln,+Milltown,+NJ+08850&output=embed",socials:{facebook:"https://www.facebook.com/eastbrunswickema/",instagram:"https://www.instagram.com/ema_eastbrunswick/",youtube:"https://www.youtube.com/@East-BrunswickEMA"}},{id:"edison",name:"Empower Edison",slug:"edison",address:"2090 Oak Tree Rd",city:"Edison",state:"NJ",zip:"08820",phone:"(732) 515-3063",phoneRaw:"+17325153063",email:"[email protected]",description:"Our Edison location on Oak Tree Rd â Karate and Krav Maga for the Iselin / Edison area.",hours:[{days:"Mon",time:"2 â 8 PM"},{days:"Tue",time:"2 â 8 PM"},{days:"Wed",time:"2 â 8 PM"},{days:"Thu",time:"2 â 8 PM"},{days:"Fri",time:"Closed"},{days:"Sat",time:"10 AM â 12 PM"},{days:"Sun",time:"Closed"}],website:"",isFlagship:!1,bookingUrl:"https://cp.mystudio.io/t/?=Edison/1099/63842//1781878245",offerBanner:{message:"Kids: 4 weeks + free t-shirt for $69.",highlight:"Teens & adults: free welcome class."},programs:["junior-martial-arts","kids-martial-arts","bjj-teens-adults"],deals:[{title:"Kids special",subtitle:"Four weeks to build a habit they'll love.",perks:["4 weeks of classes","Free t-shirt"],originalPrice:"",salePrice:"$69",discount:"Limited time",ctaLabel:"Claim the special",ctaLink:"/contact"},{title:"Free welcome class",subtitle:"Try a class for teens & adults on us.",perks:["One full class","Meet the instructors","No experience needed"],originalPrice:"",salePrice:"Free",discount:"Teens & adults",ctaLabel:"Book your class",ctaLink:"/contact"}],instructorIds:[],classes:[{name:"Welcome Class",day:"Tue",time:"5:30-6:00 PM",duration:"30 min"},{name:"Junior Martial Arts",day:"Tue",time:"6:00-6:30 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Tue",time:"6:45-7:15 PM",duration:"30 min"},{name:"BJJ for Teens & Adults",day:"Tue",time:"7:30-8:15 PM",duration:"45 min"},{name:"Welcome Class",day:"Thu",time:"5:30-6:00 PM",duration:"30 min"},{name:"Junior Martial Arts",day:"Thu",time:"6:00-6:30 PM",duration:"30 min"},{name:"Kids Martial Arts",day:"Thu",time:"6:45-7:15 PM",duration:"30 min"},{name:"BJJ for Teens & Adults",day:"Thu",time:"7:30-8:15 PM",duration:"45 min"}],heroEyebrow:"Edison's Top-Rated Martial Arts School",heroHeadline:"Discipline on the Mat. Confidence for Life.",heroBody:"Your child's next breakthrough won't happen on a screen. At Empower Edison, our kids karate and martial arts programs help Edison and Middlesex County families build the focus, self-discipline, and confidence they need for school and life.",mapEmbedUrl:"https://www.google.com/maps?q=2090+Oak+Tree+Rd,+Edison,+NJ+08820&output=embed",socials:{facebook:"https://www.facebook.com/p/Empower-Martial-Arts-of-Edison-61585704030901/",instagram:"https://www.instagram.com/empower.edison/",youtube:"https://www.youtube.com/@EdisonEMA"}}];function Y_(e){return Mt.find(t=>t.slug===e)}const W1="https://cp.mystudio.io/t/?=7327056995/7458/61161//1775079118",x8=({bare:e=!1,redirectUrl:t})=>{const[n,r]=b.useState(!1),[i,s]=b.useState(!1),o=Tr(),a=pP(),l=!t,[c,u]=b.useState(t??W1),f=Z6({resolver:e9(g8),defaultValues:{firstName:"",lastName:"",email:"",phone:"",location:""},mode:"onSubmit"}),h=async p=>{var w;if(l&&!p.location){f.setError("location",{message:"Please select your location"});return}s(!0);const v=Mt.find(g=>g.slug===p.location),m=Mt.find(g=>g.bookingUrl===t);u(t??(v==null?void 0:v.bookingUrl)??W1);try{const g=new URLSearchParams({"form-name":G_("lead",(w=v??m)==null?void 0:w.slug),"bot-field":"",firstName:p.firstName,lastName:p.lastName??"",email:p.email,phone:p.phone??"",location:(v==null?void 0:v.name)??(m==null?void 0:m.name)??"",consent:p.consent?"Yes":"No"}).toString();await fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:g})}catch(g){console.error("[LeadForm] Netlify Forms submit failed:",g)}s(!1),r(!0)};return b.useEffect(()=>{if(!n)return;const p=setTimeout(()=>{window.location.href=c},2500);return()=>clearTimeout(p)},[n,c]),n?d.jsxs("div",{className:e?"p-4 text-center":"bg-card border border-border rounded-xl p-8 text-center",children:[d.jsx(nT,{className:"w-14 h-14 text-emerald-600 mx-auto mb-4"}),d.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:a.successTitle}),d.jsx("p",{className:"text-muted-foreground text-sm",children:a.successMessage}),d.jsx("p",{className:"text-xs text-muted-foreground mt-4 animate-pulse",children:"Taking you to your bookingâ¦"})]}):d.jsx(r9,{...f,children:d.jsxs("form",{onSubmit:f.handleSubmit(h),className:e?"space-y-4":"bg-card border border-border rounded-xl p-6 space-y-4",noValidate:!0,children:[d.jsx(Po,{control:f.control,name:"firstName",render:({field:p})=>d.jsxs(Rs,{children:[d.jsx(Is,{children:"First Name *"}),d.jsx(Ds,{children:d.jsx(ci,{...p,placeholder:"Your first name",maxLength:80,className:"h-11"})}),d.jsx(Os,{})]})}),d.jsx(Po,{control:f.control,name:"lastName",render:({field:p})=>d.jsxs(Rs,{children:[d.jsx(Is,{children:"Last Name"}),d.jsx(Ds,{children:d.jsx(ci,{...p,placeholder:"Your last name",maxLength:80,className:"h-11"})}),d.jsx(Os,{})]})}),d.jsx(Po,{control:f.control,name:"email",render:({field:p})=>d.jsxs(Rs,{children:[d.jsx(Is,{children:"Email *"}),d.jsx(Ds,{children:d.jsx(ci,{...p,type:"email",placeholder:"[email protected]",maxLength:100,className:"h-11"})}),d.jsx(Os,{})]})}),d.jsx(Po,{control:f.control,name:"phone",render:({field:p})=>d.jsxs(Rs,{children:[d.jsx(Is,{children:"Phone"}),d.jsx(Ds,{children:d.jsx(ci,{...p,type:"tel",placeholder:"(555) 123-4567",maxLength:20,className:"h-11"})}),d.jsx(Os,{})]})}),l&&d.jsx(Po,{control:f.control,name:"location",render:({field:p})=>d.jsxs(Rs,{children:[d.jsx(Is,{children:"Location *"}),d.jsxs(F9,{onValueChange:p.onChange,value:p.value||"",children:[d.jsx(Ds,{children:d.jsx(B_,{className:"h-11",children:d.jsx(V9,{placeholder:"Select your locationâ¦"})})}),d.jsx(U_,{children:Mt.map(v=>d.jsx(W_,{value:v.slug,children:v.name},v.slug))})]}),d.jsx(Os,{})]})}),d.jsx(We,{variant:"gold",type:"submit",size:"lg",className:"w-full mt-2",disabled:i,children:i?"Sendingâ¦":d.jsxs(d.Fragment,{children:["Book My Trial",d.jsx(bt,{className:"ml-2 h-5 w-5"})]})}),d.jsx(Po,{control:f.control,name:"consent",render:({field:p})=>d.jsxs(Rs,{className:"flex items-start gap-2 pt-2 space-y-0",children:[d.jsx(Ds,{children:d.jsx(r_,{id:"consent",checked:p.value===!0,onCheckedChange:v=>p.onChange(v===!0),className:"mt-1"})}),d.jsxs("div",{className:"flex-1",children:[d.jsx(Is,{htmlFor:"consent",className:"text-xs text-muted-foreground font-normal leading-snug cursor-pointer",children:a.consentText.replace("{businessName}",o.name)}),d.jsx(Os,{className:"mt-1"})]})]})})]})})},qn=({children:e,title:t="Book Your Class",open:n,onOpenChange:r,redirectUrl:i})=>{const[s,o]=b.useState(!1),a=n!==void 0,l=a?n:s,c=u=>{a||o(u),r==null||r(u)};return d.jsxs(T6,{open:l,onOpenChange:c,children:[e&&d.jsx(P6,{asChild:!0,children:e}),d.jsxs(NN,{className:"sm:max-w-lg max-h-[90vh] overflow-y-auto",children:[d.jsx(_N,{children:d.jsx(AN,{children:t})}),d.jsx(x8,{bare:!0,redirectUrl:i})]})]})};function Z_(){const{pathname:e}=bs(),t=e.match(/^\/locations\/([^/]+)/);return t?Y_(t[1]):void 0}function v8(){var e;return(e=Z_())==null?void 0:e.bookingUrl}function w8(){const e=Tr(),t=Df(),n=Z_(),r=n==null?void 0:n.bookingUrl,i=(n==null?void 0:n.offerBanner)??t.stickyBar,s=e.googleRating,o=s?d.jsxs("span",{className:"flex items-center gap-1.5 text-white/90 text-xs sm:text-sm font-medium",children:[d.jsx(Qy,{className:"w-3.5 h-3.5 fill-current text-[hsl(var(--gold))]"}),d.jsx("span",{className:"font-semibold text-white",children:s.stars}),d.jsx("span",{className:"text-white/60",children:"·"}),d.jsxs("span",{children:[s.reviewCount," reviews on Google"]})]}):null;return d.jsx("div",{className:"bg-primary text-primary-foreground",children:d.jsx("div",{className:"container mx-auto px-4",children:d.jsxs("div",{className:"flex items-center justify-between gap-4 py-2 min-h-9",children:[d.jsx("div",{className:"hidden md:flex items-center",children:s!=null&&s.href?d.jsx("a",{href:s.href,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-90 transition-opacity",children:o}):o}),d.jsxs("div",{className:"flex items-center gap-3 flex-1 md:flex-initial md:justify-end justify-between md:gap-4",children:[d.jsxs("p",{className:"text-xs sm:text-sm text-white/90 leading-tight",children:[d.jsx("span",{className:"font-semibold text-white",children:i.message})," ",i.highlight&&d.jsx("span",{className:"hidden sm:inline text-white/70",children:i.highlight})]}),d.jsx(qn,{redirectUrl:r,children:d.jsx(We,{variant:"gold",size:"sm",className:"shrink-0 h-7 px-3 text-xs",children:t.stickyBar.ctaLabel})})]})]})})})}function Zn(){const[e,t]=b.useState(!1),[n,r]=b.useState(!1),[i,s]=b.useState(!1),[o,a]=b.useState(!1),[l,c]=b.useState(!1),u=Tr(),f=yx(),h=Df(),p=Of(),v=v8(),m=f.map(y=>({href:`/classes/${y.slug}`,label:y.name,sub:y.shortDescription})),w=Mt.map(y=>({href:`/locations/${y.slug}`,label:y.name,sub:`${y.city}, ${y.state}`})),g=[{href:"/locations/matawan#schedule",label:"Matawan Schedule",sub:"Route 34"},{href:"/locations/milltown#schedule",label:"East Brunswick Schedule",sub:"Ryders Ln"},{href:"/locations/edison#schedule",label:"Edison Schedule",sub:"Oak Tree Rd"}],x=[...p?[{href:"/blog",label:"Blog",sub:"Notes from the dojo"}]:[],{href:"https://cp.mystudio.io/e/?=Blackbelt/2735///1781878315",label:"Events â Matawan",sub:"Route 34",external:!0},{href:"https://cp.mystudio.io/e/?=7327056995/7458///1781878342",label:"Events â East Brunswick",sub:"Ryders Ln",external:!0}
310,{href:"https://cp.mystudio.io/e/?=Edison/1099///1781878291",label:"Events â Edison",sub:"Oak Tree Rd",external:!0},{href:h.studentLoginUrl||"#",label:"Student Login",sub:h.studentLoginUrl?"Members area":"Coming soon",external:!0},{href:"/faq",label:"FAQs",sub:"Common parent questions"}];return d.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50 shadow-sm",children:[d.jsx(w8,{}),d.jsxs("div",{className:"bg-gradient-to-b from-white via-white/95 to-white/80 backdrop-blur-sm",children:[d.jsx("div",{className:"container mx-auto px-4",children:d.jsxs("div",{className:"flex items-center justify-between h-16 md:h-20",children:[d.jsxs(Pe,{to:"/",className:"flex items-center gap-3",children:[d.jsx("img",{src:u.logoDark,alt:u.name,className:"h-12 md:h-14 w-auto"}),d.jsx("span",{className:"hidden sm:block text-foreground font-bold text-lg font-display tracking-tight",children:u.name})]}),d.jsxs("nav",{className:"hidden md:flex items-center gap-8",children:[d.jsx(Pe,{to:"/about",className:"text-foreground/70 hover:text-foreground transition-colors text-sm font-medium",children:"About"}),d.jsxs("div",{className:"relative",onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[d.jsxs("button",{className:"flex items-center gap-1 text-foreground/70 hover:text-foreground transition-colors text-sm font-medium",onClick:()=>s(!i),children:["Locations",d.jsx(zs,{className:`w-4 h-4 transition-transform duration-200 ${i?"rotate-180":""}`})]}),d.jsx(al,{children:i&&d.jsx(fe.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.15},className:"absolute top-full left-1/2 -translate-x-1/2 pt-3 w-60",children:d.jsx("div",{className:"bg-card border border-border rounded-xl shadow-lg overflow-hidden",children:w.map(y=>d.jsxs(Pe,{to:y.href,className:"flex flex-col px-4 py-3 hover:bg-secondary transition-colors",onClick:()=>s(!1),children:[d.jsx("span",{className:"font-semibold text-foreground text-sm",children:y.label}),d.jsx("span",{className:"text-xs text-muted-foreground",children:y.sub})]},y.href))})})})]}),d.jsxs("div",{className:"relative",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[d.jsxs("button",{className:"flex items-center gap-1 text-foreground/70 hover:text-foreground transition-colors text-sm font-medium",onClick:()=>r(!n),children:[h.programsDropdownLabel,d.jsx(zs,{className:`w-4 h-4 transition-transform duration-200 ${n?"rotate-180":""}`})]}),d.jsx(al,{children:n&&d.jsx(fe.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.15},className:"absolute top-full left-1/2 -translate-x-1/2 pt-3 w-52",children:d.jsx("div",{className:"bg-card border border-border rounded-xl shadow-lg overflow-hidden",children:m.map(y=>d.jsxs(Pe,{to:y.href,className:"flex flex-col px-4 py-3 hover:bg-secondary transition-colors",onClick:()=>r(!1),children:[d.jsx("span",{className:"font-semibold text-foreground text-sm",children:y.label}),d.jsx("span",{className:"text-xs text-muted-foreground",children:y.sub})]},y.href))})})})]}),d.jsxs("div",{className:"relative",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[d.jsxs("button",{className:"flex items-center gap-1 text-foreground/70 hover:text-foreground transition-colors text-sm font-medium",onClick:()=>c(!l),children:["Schedule",d.jsx(zs,{className:`w-4 h-4 transition-transform duration-200 ${l?"rotate-180":""}`})]}),d.jsx(al,{children:l&&d.jsx(fe.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.15},className:"absolute top-full left-1/2 -translate-x-1/2 pt-3 w-64",children:d.jsx("div",{className:"bg-card border border-border rounded-xl shadow-lg overflow-hidden",children:g.map(y=>d.jsxs(Pe,{to:y.href,className:"flex flex-col px-4 py-3 hover:bg-secondary transition-colors",onClick:()=>c(!1),children:[d.jsx("span",{className:"font-semibold text-foreground text-sm",children:y.label}),d.jsx("span",{className:"text-xs text-muted-foreground",children:y.sub})]},y.href))})})})]}),d.jsx(Pe,{to:"/contact",className:"text-foreground/70 hover:text-foreground transition-colors text-sm font-medium",children:"Contact"}),d.jsxs("div",{className:"relative",onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[d.jsxs("button",{className:"flex items-center gap-1 text-foreground
310/70 hover:text-foreground transition-colors text-sm font-medium",onClick:()=>a(!o),children:["Resources",d.jsx(zs,{className:`w-4 h-4 transition-transform duration-200 ${o?"rotate-180":""}`})]}),d.jsx(al,{children:o&&d.jsx(fe.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.15},className:"absolute top-full right-0 pt-3 w-60",children:d.jsx("div",{className:"bg-card border border-border rounded-xl shadow-lg overflow-hidden",children:x.map(y=>y.external?d.jsxs("a",{href:y.href,target:"_blank",rel:"noopener noreferrer",className:"flex flex-col px-4 py-3 hover:bg-secondary transition-colors",onClick:()=>a(!1),children:[d.jsx("span",{className:"font-semibold text-foreground text-sm",children:y.label}),y.sub&&d.jsx("span",{className:"text-xs text-muted-foreground",children:y.sub})]},y.label):d.jsxs(Pe,{to:y.href,className:"flex flex-col px-4 py-3 hover:bg-secondary transition-colors",onClick:()=>a(!1),children:[d.jsx("span",{className:"font-semibold text-foreground text-sm",children:y.label}),y.sub&&d.jsx("span",{className:"text-xs text-muted-foreground",children:y.sub})]},y.label))})})})]}),d.jsx("a",{href:`tel:${u.phoneRaw}`,"aria-label":`Call ${u.phone}`,title:u.phone,className:"flex items-center justify-center w-9 h-9 rounded-full bg-secondary text-foreground hover:bg-[hsl(var(--gold))] hover:text-[hsl(var(--gold-foreground))] transition-colors",children:d.jsx(cs,{className:"w-4 h-4"})}),d.jsx(qn,{redirectUrl:v,children:d.jsx(We,{variant:"gold",size:"default",children:h.ctaLabel})})]}),d.jsxs("div",{className:"md:hidden flex items-center gap-2",children:[d.jsx("a",{href:`tel:${u.phoneRaw}`,"aria-label":`Call ${u.phone}`,className:"flex items-center justify-center w-9 h-9 rounded-full bg-secondary text-foreground",children:d.jsx(cs,{className:"w-4 h-4"})}),d.jsx("button",{className:"text-foreground p-2",onClick:()=>t(!e),"aria-label":"Toggle menu",children:e?d.jsx(Xy,{size:24}):d.jsx(JD,{size:24})})]})]})}),d.jsx(al,{children:e&&d.jsx(fe.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"md:hidden bg-white border-t border-border overflow-hidden",children:d.jsxs("nav",{className:"container mx-auto px-4 py-4 flex flex-col gap-1",children:[d.jsx(Pe,{to:"/about",className:"text-foreground/70 hover:text-foreground transition-colors text-base font-medium py-2 mt-2",onClick:()=>t(!1),children:"About"}),d.jsx("span",{className:"text-muted-foreground text-xs uppercase tracking-wider font-semibold mb-1 mt-4",children:"Locations"}),w.map(y=>d.jsxs(Pe,{to:y.href,className:"text-foreground/70 hover:text-foreground transition-colors text-base font-medium py-2 pl-3 flex items-center gap-2",onClick:()=>t(!1),children:[y.label,d.jsxs("span",{className:"text-muted-foreground text-sm font-normal",children:["⢠",y.sub]})]},y.href)),d.jsx("span",{className:"text-muted-foreground text-xs uppercase tracking-wider font-semibold mb-1 mt-4",children:h.programsDropdownLabel}),m.map(y=>d.jsxs(Pe,{to:y.href,className:"text-foreground/70 hover:text-foreground transition-colors text-base font-medium py-2 pl-3 flex items-center gap-2",onClick:()=>t(!1),children:[y.label,d.jsxs("span",{className:"text-muted-foreground text-sm font-normal",children:["⢠",y.sub]})]},y.href)),d.jsx("div",{className:"border-t border-border my-3"}),d.jsx("span",{className:"text-muted-foreground text-xs uppercase tracking-wider font-semibold mb-1 mt-2",children:"Schedule"}),g.map(y=>d.jsx(Pe,{to:y.href,className:"text-foreground/70 hover:text-foreground transition-colors text-base font-medium py-2 pl-3 flex items-center gap-2",onClick:()=>t(!1),children:y.label},y.href)),d.jsx(Pe,{to:"/contact",className:"text-foreground/70 hover:text-foreground transition-colors text-base font-medium py-2",onClick:()=>t(!1),children:"Contact"}),d.jsx("span",{className:"text-muted-foreground text-xs uppercase tracking-wider font-semibold mb-1 mt-4",children:"Resources"}),x.map(y=>y.external?d.jsx("a",{href:y.href,target:"_blank",rel:"noopener noreferrer",className:"text-foreground/70 hover:text-foreground transition-colors text-base font-medium py-2 pl-3",onClick:()=>t(!1),children:y.label}
310,y.label):d.jsx(Pe,{to:y.href,className:"text-foreground/70 hover:text-foreground transition-colors text-base font-medium py-2 pl-3",onClick:()=>t(!1),children:y.label},y.label)),d.jsx(qn,{redirectUrl:v,children:d.jsx(We,{variant:"gold",size:"lg",className:"mt-3",onClick:()=>t(!1),children:h.ctaLabel})})]})})})]})]})}function Qn(){const e=Tr(),t=e.primaryLocation,n=Of();return d.jsx("footer",{className:"bg-primary py-16",children:d.jsxs("div",{className:"container mx-auto px-4",children:[d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-10 mb-12",children:[d.jsxs("div",{className:"lg:col-span-2",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[d.jsx("img",{src:e.logoLight,alt:e.name,className:"h-14 w-auto"}),d.jsx("div",{children:d.jsx("span",{className:"block text-primary-foreground font-bold text-lg font-display tracking-tight",children:e.name})})]}),d.jsx("p",{className:"text-primary-foreground/70 max-w-sm",children:e.about})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-bold text-primary-foreground mb-4",children:"Quick links"}),d.jsxs("ul",{className:"space-y-2.5",children:[d.jsx("li",{children:d.jsx(Pe,{to:"/about",className:"text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"About"})}),d.jsx("li",{children:d.jsx(Pe,{to:"/",className:"text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Programs"})}),d.jsx("li",{children:d.jsx(Pe,{to:"/schedule",className:"text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Schedule"})}),d.jsx("li",{children:d.jsx(Pe,{to:"/locations",className:"text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Locations"})}),d.jsx("li",{children:d.jsx(Pe,{to:"/faq",className:"text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"FAQs"})}),n&&d.jsx("li",{children:d.jsx(Pe,{to:"/blog",className:"text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Blog"})}),d.jsx("li",{children:d.jsx(Pe,{to:"/contact",className:"text-sm text-primary-foreground/70 hover:text-primary-foreground transition-colors",children:"Contact"})})]})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-bold text-primary-foreground mb-4",children:"Contact us"}),d.jsxs("ul",{className:"space-y-3",children:[d.jsxs("li",{className:"flex items-center gap-3 text-primary-foreground/70",children:[d.jsx(Ia,{className:"w-5 h-5 shrink-0"}),d.jsxs("span",{className:"text-sm",children:[t.address,d.jsx("br",{}),t.city,", ",t.state," ",t.zip]})]}),Mt.length>1&&d.jsx("li",{children:d.jsxs(Pe,{to:"/locations",className:"text-sm text-primary-foreground/50 hover:text-primary-foreground transition-colors ml-8",children:["View all ",Mt.length," locations â"]})}),d.jsxs("li",{className:"flex items-center gap-3 text-primary-foreground/70",children:[d.jsx(cs,{className:"w-5 h-5 shrink-0"}),d.jsx("a",{href:`tel:${e.phoneRaw}`,className:"text-sm hover:text-primary-foreground transition-colors",children:e.phone})]}),d.jsxs("li",{className:"flex items-center gap-3 text-primary-foreground/70",children:[d.jsx(Cf,{className:"w-5 h-5 shrink-0"}),d.jsx("a",{href:`mailto:${e.email}`,className:"text-sm hover:text-primary-foreground transition-colors",children:e.email})]})]})]}),d.jsxs("div",{children:[d.jsx("h4",{className:"font-bold text-primary-foreground mb-4",children:"Academy hours"}),d.jsx("ul",{className:"space-y-2",children:d.jsxs("li",{className:"flex items-start gap-3 text-primary-foreground/70",children:[d.jsx(Ic,{className:"w-5 h-5 shrink-0 mt-0.5"}),d.jsx("div",{className:"text-sm space-y-1",children:e.hours.length>0?e.hours.map((r,i)=>d.jsxs("p",{children:[d.jsxs("strong",{className:"text-primary-foreground",children:[r.days,":"]})," ",r.time]},i)):d.jsx("p",{children:"Coming soon â call to confirm."})})]})})]})]}),d.jsx("div",{className:"border-t border-primary-foreground/10 pt-8",children:d.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[d.jsxs("p",{className:"text-sm text-primary-foreground
310/50",children:["© ",new Date().getFullYear()," ",e.name,". All rights reserved."]}),d.jsxs("div",{className:"flex flex-wrap justify-center gap-6",children:[d.jsxs("a",{href:"https://www.efcaquila.com",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-primary-foreground/50 hover:text-primary-foreground transition-colors inline-flex items-center gap-1.5",children:[d.jsx(QD,{className:"w-4 h-4"}),"Student Login"]}),d.jsx(Pe,{to:"/privacy-policy",className:"text-sm text-primary-foreground/50 hover:text-primary-foreground transition-colors",children:"Privacy Policy"}),d.jsx("a",{href:"https://efconline.com/features/website-lead-generation",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-primary-foreground/50 hover:text-primary-foreground transition-colors",children:"Websites by EFC"})]})]})})]})})}const Vn=Oc.siteUrl,Oe=Qt.business,fo={home:{title:`${Oe.name} | ${Oe.discipline} in ${Oe.region}`,description:`${Oe.discipline} for kids and adults in ${Oe.region}. Programs for ages 3 to adult. Book your free trial class today.`,canonical:`${Vn}/`},about:{title:`About ${Oe.name} | ${Oe.discipline} in ${Oe.region}`,description:`Meet the team at ${Oe.name} in ${Oe.region}. Karate and Krav Maga for kids and families â discipline, focus, and showing up.`,canonical:`${Vn}/about`},schedule:{title:`Class Schedule | ${Oe.name}`,description:`Full ${Oe.discipline} class schedule for kids and adults at ${Oe.name} in ${Oe.region}.`,canonical:`${Vn}/schedule`},contact:{title:`Contact ${Oe.name} | Book a Free Trial Class`,description:`Get in touch with ${Oe.name}. Phone, email, or book a free trial class today.`,canonical:`${Vn}/contact`},locations:{title:`${Oe.name} Locations | ${Oe.discipline} in ${Oe.region}`,description:`Find your nearest ${Oe.name} location. ${Oe.discipline} for kids and adults.`,canonical:`${Vn}/locations`},faq:{title:`${Oe.discipline} FAQ | ${Oe.name}`,description:`Frequently asked questions about ${Oe.discipline} for kids, teens, and adults at ${Oe.name} in ${Oe.region}.`,canonical:`${Vn}/faq`},"not-found":{title:`Page Not Found | ${Oe.name}`,noIndex:!0},"privacy-policy":{title:`Privacy Policy | ${Oe.name}`,description:`How ${Oe.name} collects, uses, and protects your information, including our practices around children's privacy, email, and text messaging.`,canonical:`${Vn}/privacy-policy`}};for(const e of Qt.programs){const t=`class-${e.slug}`;t in fo||(fo[t]={title:`${e.name} ${Oe.discipline} | ${Oe.name}`,description:`${e.description.slice(0,155)}`,canonical:`${Vn}/classes/${e.slug}`})}const Q_=[{path:"/",priority:1,changefreq:"weekly"},{path:"/locations",priority:.9,changefreq:"monthly"},...Qt.programs.map(e=>({path:`/classes/${e.slug}`,priority:.8,changefreq:"monthly"})),{path:"/schedule",priority:.7,changefreq:"weekly"},{path:"/about",priority:.7,changefreq:"monthly"},{path:"/contact",priority:.7,changefreq:"monthly"},{path:"/faq",priority:.7,changefreq:"monthly"},{path:"/privacy-policy",priority:.3,changefreq:"yearly"}],X_=["/","/about","/schedule","/contact","/locations","/faq","/privacy-policy",...Qt.programs.map(e=>`/classes/${e.slug}`)];Qt.blog&&(fo.blog={title:`Blog | ${Oe.name}`,description:Qt.blog.description,canonical:`${Vn}/blog`},fo["blog-post"]={title:`Blog | ${Oe.name}`,description:Qt.blog.description,canonical:`${Vn}/blog`},Q_.push({path:"/blog",priority:.7,changefreq:"weekly"}),X_.push("/blog"));for(const e of Mt){const t=`location-${e.slug}`;t in fo||(fo[t]={title:`${e.name} | ${Oe.discipline} in ${e.city}, ${e.state}`,description:e.description??`${Oe.discipline} for kids and families at ${e.name}, ${e.address}, ${e.city}, ${e.state}.`,canonical:`${Vn}/locations/${e.slug}`}),Q_.push({path:`/locations/${e.slug}`,priority:.9,changefreq:"monthly"}),X_.push(`/locations/${e.slug}`)}function H1(e){return`location-${e}`}const b8="/og-image.svg";function Xn({pageKey:e,ogImageOverride:t,titleOverride:n,descriptionOverride:r,canonicalOverride:i,ogTypeOverride:s}){const o=fo[e];if(!o)return null;const a=n??o.title,l=r??("description"in o?o.description:void 0),c=i??("canonical"in o?o.canonical:void 0),u=t??("ogImage"in o&&o.ogImage||b8),f=u.startsWith("http")?u:`${Oc.siteUrl}${u}`,h=s??"website";return d.jsxs(SE,{children:[d.jsx("title",{children:a}),o.noIndex&&d.jsx("meta",{name:"robots",content:"noindex"}),l&&d.jsx("meta",{name:"description",content:l}),c&&d.jsx("link",{rel:"canonical",href:c}),d.jsx("meta",{property:"og:type",content:h}),d.jsx("meta",{property:"og:title",content:a}),l&&d.jsx("meta",{property:"og:description",content:l}),c&&d.jsx("meta",{property:"og:url",content:c}),d.jsx("meta",{property:"og:image",content:f}),d.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),d.jsx("meta",{name:"twitter:title",content:a}),l&&d.jsx("meta",{name:"twitter:description",content:l}),d.jsx("meta",{name:"twitter:image",content:f})]})}function vi({data:e}){return d.jsx(SE,{children:d.jsx("script",{type:"application/ld+json",children:JSON.stringify(e)})})}var Qf="Collapsible",[k8,J_]=bi(Qf),[S8,dv]=k8(Qf),eA=b.forwardRef((e,t)=>
vendor: 4,160 bytes, line 310
310{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:s,onOpenChange:o,...a}=e,[l,c]=ls({prop:r,defaultProp:i??!1,onChange:o,caller:Qf});return d.jsx(S8,{scope:n,disabled:s,contentId:ns(),open:l,onOpenToggle:b.useCallback(()=>c(u=>!u),[c]),children:d.jsx(je.div,{"data-state":hv(l),"data-disabled":s?"":void 0,...a,ref:t})})});eA.displayName=Qf;var tA="CollapsibleTrigger",nA=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=dv(tA,n);return d.jsx(je.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":hv(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:we(e.onClick,i.onOpenToggle)})});nA.displayName=tA;var fv="CollapsibleContent",rA=b.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=dv(fv,e.__scopeCollapsible);return d.jsx(vs,{present:n||i.open,children:({present:s})=>d.jsx(C8,{...r,ref:t,present:s})})});rA.displayName=fv;var C8=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...s}=e,o=dv(fv,n),[a,l]=b.useState(r),c=b.useRef(null),u=Ge(t,c),f=b.useRef(0),h=f.current,p=b.useRef(0),v=p.current,m=o.open||a,w=b.useRef(m),g=b.useRef(void 0);return b.useEffect(()=>{const x=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(x)},[]),Ot(()=>{const x=c.current;if(x){g.current=g.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const y=x.getBoundingClientRect();f.current=y.height,p.current=y.width,w.current||(x.style.transitionDuration=g.current.transitionDuration,x.style.animationName=g.current.animationName),l(r)}},[o.open,r]),d.jsx(je.div,{"data-state":hv(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!m,...s,ref:u,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:m&&i})});function hv(e){return e?"open":"closed"}var E8=eA,T8=nA,P8=rA,jr="Accordion",j8=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[pv,N8,_8]=Hy(jr),[Xf,gQ]=bi(jr,[_8,J_]),mv=J_(),iA=V.forwardRef((e,t)=>{const{type:n,...r}=e,i=r,s=r;return d.jsx(pv.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?d.jsx(I8,{...s,ref:t}):d.jsx(R8,{...i,ref:t})})});iA.displayName=jr;var[sA,A8]=Xf(jr),[oA,M8]=Xf(jr,{collapsible:!1}),R8=V.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:s=!1,...o}=e,[a,l]=ls({prop:n,defaultProp:r??"",onChange:i,caller:jr});return d.jsx(sA,{scope:e.__scopeAccordion,value:V.useMemo(()=>a?[a]:[],[a]),onItemOpen:l,onItemClose:V.useCallback(()=>s&&l(""),[s,l]),children:d.jsx(oA,{scope:e.__scopeAccordion,collapsible:s,children:d.jsx(aA,{...o,ref:t})})})}),I8=V.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},...s}=e,[o,a]=ls({prop:n,defaultProp:r??[],onChange:i,caller:jr}),l=V.useCallback(u=>a((f=[])=>[...f,u]),[a]),c=V.useCallback(u=>a((f=[])=>f.filter(h=>h!==u)),[a]);return d.jsx(sA,{scope:e.__scopeAccordion,value:o,onItemOpen:l,onItemClose:c,children:d.jsx(oA,{scope:e.__scopeAccordion,collapsible:!0,children:d.jsx(aA,{...s,ref:t})})})}),[D8,Jf]=Xf(jr),aA=V.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:i,orientation:s="vertical",...o}=e,a=V.useRef(null),l=Ge(a,t),c=N8(n),f=i_(i)==="ltr",h=we(e.onKeyDown,p=>{var N;if(!j8.includes(p.key))return;const v=p.target,m=c().filter(A=>{var T;return!((T=A.ref.current)!=null&&T.disabled)}),w=m.findIndex(A=>A.ref.current===v),g=m.length;if(w===-1)return;p.preventDefault();let x=w;const y=0,k=g-1,C=()=>{x=w+1,x>k&&(x=y)},S=()=>{x=w-1,x<y&&(x=k)};switch(p.key){case"Home":x=y;break;case"End":x=k;break;case"ArrowRight":s==="horizontal"&&(f?C():S());break;case"ArrowDown":s==="vertical"&&C();break;case"ArrowLeft":s==="horizontal"&&(f?S():C());break;case"ArrowUp":s==="vertical"&&S();break}const P=x%g;(N=m[P].ref.current)==null||N.focus()});return d.jsx(D8,{scope:n,disabled:r,direction:i,orientation:s,children:d.jsx(pv.Slot,{scope:n,children:d.jsx(je.div,{...o,"data-orientation":s,ref:l,onKeyDown:r?void 0:h})})})}),Xd="AccordionItem",[O8,gv]=Xf(Xd),lA=V.forwardRef((e,t)=>
310{const{__scopeAccordion:n,value:r,...i}=e,s=Jf(Xd,n),o=A8(Xd,n),a=mv(n),l=ns(),c=r&&o.value.includes(r)||!1,u=s.disabled||e.disabled;return d.jsx(O8,{scope:n,open:c,disabled:u,triggerId:l,children:d.jsx(E8,{"data-orientation":s.orientation,"data-state":pA(c),...a,...i,ref:t,disabled:u,open:c,onOpenChange:f=>{f?o.onItemOpen(r):o.onItemClose(r)}})})});lA.displayName=Xd;var cA="AccordionHeader",uA=V.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Jf(jr,n),s=gv(cA,n);return d.jsx(je.h3,{"data-orientation":i.orientation,"data-state":pA(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})});uA.displayName=cA;var Mg="AccordionTrigger",dA=V.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Jf(jr,n),s=gv(Mg,n),o=M8(Mg,n),a=mv(n);return d.jsx(pv.ItemSlot,{scope:n,children:d.jsx(T8,{"aria-disabled":s.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:s.triggerId,...a,...r,ref:t})})});dA.displayName=Mg;var fA="AccordionContent",hA=V.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=Jf(jr,n),s=gv(fA,n),o=mv(n);return d.jsx(P8,{role:"region","aria-labelledby":s.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});hA.displayName=fA;function pA(e){return e?"open":"closed"}var L8=iA,F8=lA,V8=uA,mA=dA,gA=hA;const yA=L8,yv=b.forwardRef(({className:e,...t},n)=>d.jsx(F8,{ref:n,className:Ae("border-b",e),...t}));yv.displayName="AccordionItem";const xv=b.forwardRef(({className:e,children:t,...n},r)=>d.jsx(V8,{className:"flex",children:d.jsxs(mA,{ref:r,className:Ae("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,d.jsx(zs,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));xv.displayName=mA.displayName;const vv=b.forwardRef(({className:e,children:t,...n},r)=>d.jsx(gA,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:d.jsx("div",{className:Ae("pb-4 pt-0",e),children:t})}));vv.displayName=gA.displayName;const B8={"martial-arts-school":{question:"What should I look for in a martial arts school?",answer:"Look for qualified instructors, a clean facility, structured curriculum, positive student reviews, and a supportive environment."},beginners:{question:`Is ${Qt.business.discipline} good for beginners?`,answer:`Yes. ${Qt.business.discipline} is beginner-friendly because it focuses on progressive skill development, making it accessible for all ages and fitness levels.`},"kids-age":{question:"What age can kids start martial arts?",answer:"Most kids can start martial arts around ages 3 to 6. Programs at {businessName} in {city} group children by age and skill level to ensure safe and effective learning."},"kids-safe":{question:"Is martial arts safe for kids?",answer:"Yes. Kids classes emphasize safety, controlled training, and supervision. Techniques are taught progressively, and instructors ensure students practice in a safe and supportive setting."},"adults-no-experience":{question:"Can adults start martial arts with no experience?",answer:"Absolutely. Many adults at {businessName} in {city} begin with no prior martial arts background. Classes are designed to help beginners build skills, fitness, and confidence over time."},"training-frequency":{question:"How often should I train each week?",answer:"Most beginners train 2â3 times per week. As you progress, you can increase training frequency depending on your goals, such as fitness, competition, or self-defense."},"why-martial-arts":{question:"Why choose martial arts?",answer:"Martial arts builds discipline, confidence, physical fitness, and practical self-defense skills. It also creates a strong sense of community among students of all ages."},"mental-health":{question:"Is martial arts good for confidence and mental health?",answer:"Yes. Training builds confidence, reduces stress, improves focus, and creates a strong sense of community among students."},"kids-bring":{question:"What does my child need to bring to the first class?",answer:"Bare feet and anything comfortable to move in. We'll loan a uniform if you'd like to try one on. Show up five minutes early so we can say hi."},"kids-class-length":{question:"How long is a class for younger kids?",answer:"Thirty minutes on the mat â warm-up, drills, and structured practice. Short enough for a four-year-old to stay focused, long enough to make real progress."},"kids-watch":{question:"Can parents watch the class?",answer:"Yes. We have viewing space along the mat. Most parents pop in for the first class, then come and go on later visits as their schedule allows."}
310,"kids-hurt":{question:"Will my child get hurt?",answer:"Our kids program is built around controlled drills with no full-contact sparring. Instructors supervise every pairing and stop the action the moment something looks off. Injuries are rare."},"kids-shy":{question:"My child is shy or nervous â will they fit in?",answer:"Most kids walk in nervous. We start them on the side of the mat, pair them with a friendly partner, and never call them out in front of the class. Confidence builds quietly, class by class."},"junior-vs-kids":{question:"How is the Junior program different from the Kids program?",answer:"Same focus on respect and discipline, but the drills are sharper, partner work is more demanding, and sparring is structured rather than introductory. Belt progression rewards repetition over flash."},"junior-experience":{question:"Does my child need experience to join the Kids program?",answer:"No. Many kids start with us at 7 or 8 with zero prior training. Beginners and experienced students train alongside each other; we adjust the intensity per kid."},"junior-sparring":{question:"Will they actually spar?",answer:"Yes â structured, supervised, controlled. Sparring is the ten-minute block at the end of class, and instructors decide when each student is ready. Headgear and gloves are required when they begin."},"junior-belt-progress":{question:"How long does it take to earn a belt?",answer:"Belt cycles are roughly twelve weeks per stripe. Real progress comes from showing up two or three times a week and putting in the work. We don't hand out belts."},"junior-school-impact":{question:"Will training help my kid at school?",answer:"That's the bigger reward. Most parents tell us focus, listening, and self-control carry off the mat within a couple of months. We work on it deliberately, class by class."},"krav-vs-karate":{question:"What's Krav Maga, and how is it different from Karate?",answer:"Krav Maga is a practical self-defense system built around real-world scenarios â short, sharp, repeatable techniques for situations a person might actually encounter. Karate emphasizes form, tradition, and progression through belts. They complement each other; many students train both."},"krav-beginner":{question:"I have zero experience. Can I start?",answer:"Yes. Most adults walk in without any martial arts background. Classes build from the basics â stance, awareness, defending against common attacks. No gymnastic prerequisites, no minimum fitness level."},"krav-safety":{question:"Is this safe?",answer:"Drills are controlled and partner work is supervised. We use protective gear for any contact work. The goal is real-world capability, not injury â and instructors stop the action the moment intensity gets ahead of skill."},"krav-fitness":{question:"What if I'm out of shape?",answer:"Krav Maga gets you in shape as a side effect of practicing it. We meet students where they are. Bring water, take breaks as needed, and trust that the fitness shows up with the reps."},"krav-women":{question:"Is Krav Maga good for women?",answer:"Yes â and we encourage it. The system was designed to work regardless of size or strength advantage, which makes it particularly relevant for women who want practical, no-nonsense self-defense."}},z8={home:["martial-arts-school","beginners","kids-age","adults-no-experience","training-frequency","why-martial-arts"],about:["why-martial-arts","mental-health","martial-arts-school"],faq:["martial-arts-school","beginners","kids-age","kids-safe","adults-no-experience","training-frequency","why-martial-arts","mental-health"],"class-junior-martial-arts":["kids-age","kids-bring","kids-class-length","kids-watch","kids-hurt","kids-shy"],"class-kids-martial-arts":["junior-vs-kids","junior-experience","junior-sparring","junior-belt-progress","junior-school-impact","training-frequency"],"class-krav-maga":["krav-vs-karate","krav-beginner","krav-safety","krav-fitness","krav-women","training-frequency"]};function xA(e,t){const n=z8[e]??[],r=(t==null?void 0:t.city)??Qt.business.region,i=Qt.business.name;return n.flatMap(s=>{const o=B8[s];return o?[{question:o.question.replace(/\{businessName\}
310/g,i).replace(/\{city\}/g,r),answer:o.answer.replace(/\{businessName\}/g,i).replace(/\{city\}/g,r)}]:[]})}const qr=Oc.siteUrl,en=Qt.business,Wa=`${qr}/#organization`;function vA(e){return e?[e.facebook,e.instagram,e.x,e.youtube].filter(t=>!!t):[]}function $8(){var e;return{"@context":"https://schema.org","@type":"Organization","@id":Wa,name:en.name,url:qr,description:en.about,telephone:en.phoneRaw,email:en.email,...en.foundingYear?{foundingDate:en.foundingYear}:{},founder:{"@type":"Person",name:en.founder.name},address:{"@type":"PostalAddress",streetAddress:en.primaryLocation.address,addressLocality:en.primaryLocation.city,addressRegion:en.primaryLocation.state,postalCode:en.primaryLocation.zip,addressCountry:"US"},areaServed:{"@type":"State",name:en.primaryLocation.state},priceRange:"$$",department:Mt.map(t=>({"@type":"MartialArtsSchool","@id":`${qr}/locations/${t.slug}#school`,name:t.name,url:t.website})),sameAs:vA((e=Mt.find(t=>t.isFlagship))==null?void 0:e.socials)}}function U8(){return{"@context":"https://schema.org","@type":"WebSite","@id":`${qr}/#website`,url:qr,name:en.name,description:en.about,publisher:{"@id":Wa}}}const bp=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],kp={Sun:"Sunday",Mon:"Monday",Tue:"Tuesday",Wed:"Wednesday",Thu:"Thursday",Fri:"Friday",Sat:"Saturday",Frid
310ay:"Friday",Saturday:"Saturday",Sunday:"Sunday"};function K1(e){const t=e.trim().toUpperCase().match(/^(\d{1,2})(?::(\d{2}))?\s*(AM|PM)$/);if(!t)return e;let n=parseInt(t[1],10);const r=t[2]??"00",i=t[3];return i==="PM"&&n!==12&&(n+=12),i==="AM"&&n===12&&(n=0),`${String(n).padStart(2,"0")}:${r}`}function W8(e){const t=e.replace(/[ââ]/g,"-").trim();if(!t.includes("-"))return[kp[t]??t];const[n,r]=t.split("-").map(c=>c.trim()),i=kp[n]??n,s=kp[r]??r,o=bp.indexOf(i),a=bp.indexOf(s);if(o===-1||a===-1)return[i,s];const l=[];for(let c=o;c<=a;c++)l.push(bp[c]);return l}function H8(e){const t=e.trim().match(/^(.+?)\s*[â-]\s*(.+)$/);return t?{opens:K1(t[1]),closes:K1(t[2])}:null}function K8(e){return e.map(t=>{const n=H8(t.time);return n?{"@type":"OpeningHoursSpecification",dayOfWeek:W8(t.days),opens:n.opens,closes:n.closes}:null}).filter(t=>t!==null)}function q8(e){return{"@context":"https://schema.org","@type":"MartialArtsSchool","@id":`${qr}/locations/${e.slug}#school`,name:e.name,url:e.website,mainEntityOfPage:e.website,description:e.description,telephone:e.phone,email:e.email,address:{"@type":"PostalAddress",streetAddress:e.address,addressLocality:e.city,addressRegion:e.state,postalCode:e.zip,addressCountry:"US"},geo:e.geo?{"@type":"GeoCoordinates",latitude:e.geo.latitude,longitude:e.geo.longitude}:void 0,areaServed:{"@type":"City",name:e.city},openingHoursSpecification:K8(e.hours),priceRange:"$$",sameAs:vA(e.socials),parentOrganization:{"@id":Wa}}}function G8(e){return{"@context":"https://schema.org","@type":"Course",name:e.name,description:e.description,url:e.url,provider:{"@id":Wa},audience:{"@type":"Audience",audienceType:e.audienceType},courseMode:"in-person"}}function wA(e){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))}}function Y8(e){return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((t,n)=>({"@type":"ListItem",position:n+1,name:t.label,item:t.href.startsWith("http")?t.href:`${qr}${t.href}`}))}}function Z8(e){return{"@context":"https://schema.org","@type":"BlogPosting",headline:e.title,datePublished:e.date,author:{"@type":"Person",name:e.author},description:e.summary,url:`${qr}/blog/${e.slug}`,publisher:{"@id":Wa}}}function Q8(e){return{"@context":"https://schema.org","@type":"Blog",name:`${en.name} Blog`,url:`${qr}/blog`,publisher:{"@id":Wa},blogPost:e.map(t=>({"@type":"BlogPosting",headline:t.title,datePublished:t.date,author:{"@type":"Person",name:t.author},description:t.summary,url:`${qr}/blog/${t.slug}`}))}}function eh({pageKey:e,location:t}){const n=xA(e,{city:t==null?void 0:t.city});return n.length===0?null:d.jsxs(d.Fragment,{children:[d.jsx(vi,{data:wA(n)}),d.jsx("section",{className:"py-16 md:py-20 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[d.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-8 text-center",children:"Frequently Asked Questions"}),d.jsx(yA,{type:"single",collapsible:!0,className:"w-full",children:n.map((r,i)=>d.jsxs(yv,{value:`item-${i}`,children:[d.jsx(xv,{className:"text-left text-base font-semibold",children:r.question}),d.jsx(vv,{className:"text-muted-foreground",children:r.answer})]},i))})]})})]})}const X8="/assets/manjinder-singh-lmghYJGE.webp",J8="/assets/kelsi-siebig-DBjt6AtX.webp",q1="Since we've opened, we've been dedicated to changing the lives of people one person at a time, through martial arts, education, and coaching.",G1=`Since we've opened, we've been dedicated to changing the lives of people one person at a time, through martial arts, education, and coaching. We strive to provide a safe, comfortable, and welcoming atmosphere for all students and family members. We take pride in creating an environment for individuals to achieve, develop, and succeed in their personal goals. 311 312We strongly believe that martial arts can be for everyone, regardless of age, gender, or experience level. Throughout all of our programs, students will not only learn the necessary skill sets to protect themselves â we stand behind our realistic and practical approach, confident it will enable every member to achieve greatness and live their best life.`,th=[{id:"manjinder-singh",name:"Sensei Manjinder Singh",title:"Head Instructor",image:X8,programs:["all"],bio:q1,fullBio:G1},{id:"kelsi-siebig",name:"Deshi Kelsi Siebig",title:"Instructor",image:J8,programs:["all"],bio:q1,fullBio:G1}];function eU(e){return th.filter(t=>t.programs.includes("all")||t.programs.includes(e))}const tU={Shield:Zy,Users:iT,Award:VD,Heart:YD,Trophy:tO,Star:Qy,Target:rT,Dumbbell:HD,Clock:Ic,MapPin:Ia,Phone:cs,Mail:Cf,Calendar:zD,CheckCircle:WD,Flame:qD,Swords:eO,Medal:XD,GraduationCap:GD,Baby:BD,UserCheck:rO};function bA(e){return tU[e]??Zy}const nU=()=>{Tr();const e=D5(),t=If(),{hero:n,stats:r,gettingStarted:i,videoSection:s,testimonials:o,instructorsSection:a,ctaStrip:l}=e;return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"home"}),d.jsx(vi,{data:$8()}),d.jsx(vi,{data:U8()}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsxs("section",{className:"min-h-screen flex items-center pt-28 md:pt-32 pb-16 relative overflow-hidden bg-black noise-overlay",children:[d.jsx("img",{src:n.heroImage,alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover object-[center_65%] opacity-35"}),d.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_80%_60%_at_50%_40%,hsl(var(--gold)_/_0.10),transparent)] pointer-events-none"}),d.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-gradient-to-t from-[hsl(0_0%_5%)] to-transparent pointer-events-none"}),d.jsx("div",{className:"container mx-auto px-4 relative z-10",children:d.jsxs("div",{className:"max-w-5xl mx-auto text-center",children:[n.locationLabel&&d.jsx(fe.p,{initial:{opacity:0,y:20}
312,animate:{opacity:1,y:0},transition:{duration:.7,delay:.05},className:"inline-block text-xs font-semibold font-body uppercase tracking-[0.2em] mb-6 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 text-white",children:n.locationLabel}),d.jsxs(fe.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-4xl sm:text-5xl md:text-5xl lg:text-7xl font-bold text-white mb-6 text-balance tracking-tight leading-[0.9]",children:[n.headline,d.jsx("span",{className:"text-[hsl(var(--gold))]",children:n.headlineAccent}),d.jsx("br",{className:"hidden sm:block"}),n.headlineSuffix]}),d.jsx(fe.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.25},className:"text-base md:text-lg font-body text-white/90 mb-10 max-w-xl mx-auto leading-relaxed",children:n.subheadline}),d.jsxs(fe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.35},className:"flex flex-col sm:flex-row gap-4 justify-center mb-14",children:[d.jsx(qn,{children:d.jsxs(We,{variant:"gold",size:"xl",children:[n.ctaPrimary.label,d.jsx(bt,{className:"ml-2 h-5 w-5"})]})}),d.jsx(We,{variant:"heroOutline",size:"xl",asChild:!0,children:d.jsx(Pe,{to:n.ctaSecondary.href,children:n.ctaSecondary.label})})]}),d.jsx(fe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.5},className:"grid grid-cols-3 gap-4 max-w-md mx-auto",children:r.map((c,u)=>{const f=bA(c.icon);return d.jsxs(fe.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5,delay:.55+u*.08},className:"flex flex-col items-center py-4 px-2 border border-white/10 rounded-lg bg-white/[0.03] backdrop-blur-sm",children:[d.jsx(f,{className:"w-5 h-5 text-[hsl(214_95%_58%)] mb-2"}),d.jsx("span",{className:"text-xl sm:text-2xl font-bold font-display text-white tracking-tight",children:c.value}),d.jsx("span",{className:"text-[11px] font-body text-white/40 uppercase tracking-wider mt-0.5",children:c.label})]},u)})})]})})]}),d.jsx("section",{className:"py-12 md:py-16 bg-background relative",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5},className:"text-center mb-8",children:[d.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground tracking-tight",children:"3 locations"}),d.jsx("p",{className:"text-sm md:text-base font-body text-muted-foreground max-w-lg mx-auto leading-relaxed mt-2",children:"Pick the location closest to home. Same standards â and a new member special at every location."})]}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:Mt.map((c,u)=>d.jsxs(fe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:u*.06},className:"group bg-card border border-border rounded-xl p-5 flex flex-col gap-3 hover:border-[hsl(var(--gold))]/40 hover:shadow-md hover:shadow-black/5 hover:-translate-y-0.5 transition duration-200",children:[d.jsx("div",{className:"flex items-start justify-between gap-2",children:d.jsx("h3",{className:"text-base md:text-lg font-bold text-foreground tracking-tight",children:c.name})}),d.jsxs("ul",{className:"space-y-1.5 text-[13px] font-body text-foreground/75",children:[d.jsxs("li",{className:"flex items-start gap-2",children:[d.jsx(Ia,{className:"w-3.5 h-3.5 mt-0.5 text-[hsl(var(--gold))] shrink-0"}),d.jsxs("span",{children:[c.address,", ",c.city,", ",c.state," ",c.zip]})]}),d.jsxs("li",{className:"flex items-center gap-2",children:[d.jsx(cs,{className:"w-3.5 h-3.5 text-[hsl(var(--gold))] shrink-0"}),d.jsx("a",{href:`tel:${c.phoneRaw}`,className:"hover:text-[hsl(var(--gold))] transition-colors",children:c.phone})]})]}),d.jsxs("div",{className:"mt-auto pt-3 border-t border-border flex items-center justify-between gap-2",children:[d.jsx(We,{asChild:!0,variant:"outline",size:"sm",children:d.jsxs(Pe,{to:`/locations/${c.slug}`,children:["View details",d.jsx(bt,{className:"ml-1.5 h-3.5 w-3.5"})]})}),d.jsx(Pe,{to:`/locations/${c.slug}#schedule`,className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors whitespace-nowrap",children:"View schedule â"})]})]},c.id))})]})}),d.jsx("section",{className:"py-24 md:py-32 bg-primary noise-overlay relative",style:{"--gold":"214 95% 58%"},children:d.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em] text-[hsl(var(--gold))]",children:i.badge}),d.jsx("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mt-3 mb-5 tracking-tight",children:i.title}),d.jsx("p",{className:"text-base font-body text-primary-foreground
312/90 max-w-xl mx-auto leading-relaxed",children:i.description})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:i.steps.map((c,u)=>d.jsxs(fe.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:u*.08},className:"group relative bg-primary-foreground/[0.03] border border-primary-foreground/10 rounded-xl p-6 hover:border-[hsl(var(--gold))]/30 transition-all duration-300 hover:-translate-y-0.5",children:[d.jsx("div",{className:"absolute left-0 top-6 bottom-6 w-[3px] bg-[hsl(var(--gold))] rounded-full opacity-80 group-hover:opacity-100 transition-opacity"}),d.jsxs("div",{className:"pl-4",children:[d.jsx("span",{className:"text-4xl font-bold font-display text-[hsl(var(--gold))]/80 group-hover:text-[hsl(var(--gold))] block mb-2 leading-none transition-colors",children:c.number}),d.jsx("h3",{className:"text-xl font-bold text-primary-foreground mb-2 tracking-tight",children:c.title}),d.jsx("p",{className:"text-primary-foreground/90 text-sm font-body mb-4 leading-relaxed",children:c.description}),d.jsx("ul",{className:"space-y-1.5",children:c.perks.map(f=>d.jsxs("li",{className:"flex items-center gap-2 text-primary-foreground/85 text-sm font-body",children:[d.jsx(Rc,{className:"w-3.5 h-3.5 text-[hsl(var(--gold))] shrink-0"}),f]},f))})]})]},c.number))})]})}),s.videos.length>0&&d.jsx("section",{className:"py-24 md:py-32 bg-background relative",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:t.badgeColor},children:s.badge}),d.jsx("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-foreground mt-3 mb-5 tracking-tight",children:s.title}),d.jsx("p",{className:"text-base font-body text-muted-foreground max-w-2xl mx-auto leading-relaxed",children:s.description})]}),d.jsx("div",{className:`grid gap-6 md:gap-8 justify-items-center ${s.videos.length===1?"grid-cols-1":s.videos.length===2?"grid-cols-1 sm:grid-cols-2 max-w-2xl mx-auto":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 max-w-5xl mx-auto"}`,children:s.videos.map((c,u)=>d.jsx(fe.div,{initial:{opacity:0,y:24,scale:.98},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0},transition:{duration:.7,delay:.1+u*.1},className:"rounded-2xl overflow-hidden shadow-2xl shadow-black/20 border border-border/50 relative group w-full max-w-[320px]",children:d.jsx("video",{src:c.src,poster:c.poster,controls:!0,playsInline:!0,preload:"none",className:"w-full aspect-[9/16] bg-black",children:"Your browser does not support the video tag."})},c.src))})]})}),d.jsx("section",{className:"py-24 md:py-32 bg-secondary relative",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-14",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:t.badgeColor},children:o.badge}),d.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mt-3 tracking-tight",children:o.title})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:o.items.map((c,u)=>d.jsxs(fe.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:u*.08},className:"group bg-background border border-border rounded-xl p-6 flex flex-col gap-4 relative overflow-hidden hover:shadow-lg hover:shadow-black/5 hover:-translate-y-0.5 transition-all duration-300",children:[d.jsx("div",{className:"absolute top-0 left-0 right-0 h-[2px] bg-gradient-to-r from-transparent via-[hsl(var(--gold))] to-transparent opacity-0 group-hover:opacity-60 transition-opacity duration-300"}),d.jsx("span",{className:"absolute -top-3 left-4 text-8xl font-serif leading-none text-[hsl(var(--gold)_/_0.08)] select-none pointer-events-none","aria-hidden":"true",children:'"'}),d.jsx("div",{className:"flex gap-1 mb-1",children:[...Array(5)].map((f,h)=>d.jsx(Qy,{className:"w-3.5 h-3.5 fill-[hsl(var(--gold))] text-[hsl(var(--gold))]"},h))}),d.jsx("p",{className:"text-foreground text-sm font-body leading-relaxed flex-1 relative",children:c.quote}),d.jsxs("div",{className:"border-t border-border pt-4",children:[d.jsx("p",{className:"font-semibold text-foreground text-sm",children:c.name}),d.jsx("p",{className:"text-xs font-body text-muted-foreground",children:c.detail})]})]},u))})]})}),d.jsx("section",{className:"py-24 md:py-32 bg-primary noise-overlay relative",style:{"--gold":"214 95% 58%"},children:d.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-14",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em] text-[hsl(var(--gold))]",children:a.badge}),d.jsx("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mt-3 mb-5 tracking-tight",children:a.title}),d.jsx("p",{className:"text-base font-body text-primary-foreground
312/90 max-w-lg mx-auto leading-relaxed",children:a.description})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto mb-12",children:th.map((c,u)=>d.jsxs(fe.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:u*.1},className:"group rounded-xl overflow-hidden border border-white/10 hover:border-[hsl(var(--gold))]/30 transition-all duration-300 flex flex-col",children:[d.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:d.jsx("img",{src:c.image,alt:c.name,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500 ease-out",style:{objectPosition:c.photoPosition??"center top"}})}),d.jsxs("div",{className:"bg-primary px-5 py-5 border-t border-white/5 flex flex-col flex-1",children:[d.jsx("span",{className:"text-primary-foreground font-bold text-base tracking-tight block font-display",children:c.name}),d.jsx("span",{className:"text-primary-foreground/75 text-xs font-body mb-3",children:c.title}),c.bio&&d.jsx("p",{className:"text-primary-foreground/95 text-sm font-body leading-relaxed mb-4 flex-1",children:c.bio}),d.jsx(We,{asChild:!0,variant:"outline",size:"sm",className:"self-start bg-transparent border-white/20 text-primary-foreground hover:bg-white/10 hover:text-primary-foreground",children:d.jsxs(Pe,{to:`/about#${c.id}`,children:["View full bio",d.jsx(bt,{className:"ml-1.5 h-3.5 w-3.5"})]})})]})]},c.name))}),d.jsx(fe.div,{initial:{opacity:0}
312,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6,delay:.3},className:"text-center",children:d.jsx(We,{variant:"hero",size:"lg",asChild:!0,children:d.jsx(Pe,{to:"/about",children:a.ctaLabel})})})]})}),d.jsx(eh,{pageKey:"home"}),d.jsx("section",{className:"py-24 md:py-28 bg-background relative",children:d.jsx("div",{className:"container mx-auto px-4 text-center max-w-2xl",children:d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[d.jsx("div",{className:"w-12 h-[3px] bg-[hsl(var(--gold))] mx-auto mb-8 rounded-full"}),d.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-foreground mb-5 tracking-tight",children:l.title}),d.jsx("p",{className:"text-muted-foreground font-body mb-10 max-w-md mx-auto leading-relaxed",children:l.description}),d.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[d.jsx(qn,{children:d.jsxs(We,{variant:"gold",size:"xl",children:[l.ctaPrimary.label,d.jsx(bt,{className:"ml-2 h-5 w-5"})]})}),d.jsx(We,{variant:"outline",size:"xl",asChild:!0,children:d.jsx(Pe,{to:l.ctaSecondary.href,children:l.ctaSecondary.label})})]})]})})})]}),d.jsx(Qn,{})]})};function Zr({items:e}){return d.jsxs(d.Fragment,{children:[d.jsx(vi,{data:Y8(e)}),d.jsx("nav",{"aria-label":"Breadcrumb",className:"container mx-auto px-4 pt-4 pb-2 text-sm text-muted-foreground",children:d.jsx("ol",{className:"flex items-center flex-wrap gap-1",children:e.map((t,n)=>{const r=n===e.length-1;return d.jsx("li",{className:"flex items-center gap-1",children:r?d.jsx("span",{className:"text-foreground font-medium",children:t.label}):d.jsxs(d.Fragment,{children:[d.jsx(Pe,{to:t.href,className:"hover:text-foreground transition-colors",children:t.label}),d.jsx($D,{className:"w-3 h-3 mx-1 opacity-50","aria-hidden":"true"})]})},n)})})})]})}function Es({badge:e,title:t,description:n}){const r=If();return d.jsx("section",{className:"bg-primary pt-28 md:pt-36 pb-16 md:pb-20 noise-overlay",children:d.jsxs("div",{className:"container mx-auto px-4 text-center",children:[e&&d.jsx(fe.span,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5},className:"inline-block text-xs font-bold text-white uppercase tracking-widest px-3 py-1 rounded-full mb-2",style:{backgroundColor:r.badgeColor},children:e}),d.jsx(fe.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"text-4xl sm:text-5xl md:text-6xl font-bold text-primary-foreground mt-3 mb-4 text-balance tracking-tight",children:t}),n&&d.jsx(fe.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"text-lg font-body text-primary-foreground/60 max-w-2xl mx-auto",children:n})]})})}function Rg({deal:e,className:t,redirectUrl:n}){return d.jsxs("div",{className:`bg-card border border-border rounded-xl overflow-hidden shadow-lg ${t??""}`,children:[d.jsxs("div",{className:"bg-primary px-5 py-3 flex items-center justify-between gap-3",children:[d.jsx("h3",{className:"text-lg font-bold text-primary-foreground uppercase tracking-wide leading-tight",children:e.title}),e.discount&&d.jsx("span",{className:"shrink-0 bg-accent text-accent-foreground text-xs font-bold px-2 py-1 rounded-full",children:e.discount})]}),d.jsxs("div",{className:"p-5",children:[d.jsx("p",{className:"text-muted-foreground text-sm mb-3",children:e.subt
312itle}),d.jsx("ul",{className:"space-y-2 mb-4",children:e.perks.map((r,i)=>d.jsxs("li",{className:"flex items-center gap-3",children:[d.jsx(Rc,{className:"w-4 h-4 text-primary shrink-0"}),d.jsx("span",{className:"text-foreground font-medium text-sm",children:r})]},i))}),d.jsxs("div",{className:"flex items-center justify-between border-t border-border pt-3",children:[d.jsxs("div",{className:"flex items-baseline gap-2",children:[e.originalPrice&&d.jsx("span",{className:"text-muted-foreground line-through text-sm",children:e.originalPrice}),d.jsx("span",{className:"text-2xl font-bold text-foreground",children:e.salePrice})]}),d.jsx(qn,{redirectUrl:n,children:d.jsxs(We,{variant:"gold",size:"default",children:[e.ctaLabel||"Enroll Now",d.jsx(bt,{className:"ml-2 h-4 w-4"})]})})]})]})]})}function rU({badge:e,title:t,description:n,ageRange:r,details:i,benefitsHeading:s="What You'll Learn",benefits:o,schedule:a,images:l,instructors:c,deal:u,video:f,locationSchedules:h}){const p=l&&l.length>0||f,[v,m]=b.useState(0),w=h==null?void 0:h[v],g=w?w.classes:a;return d.jsxs(d.Fragment,{children:[d.jsx(Es,{badge:e,title:t,description:n}),p&&d.jsx("section",{className:"py-12 md:py-16 bg-secondary",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-5xl space-y-6",children:[f&&d.jsx(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"rounded-xl overflow-hidden shadow-lg border border-border max-w-3xl mx-auto",children:d.jsx("video",{src:f,controls:!0,playsInline:!0,preload:"metadata",className:"w-full aspect-video bg-black",children:"Your browser does not support the video tag."})}),l&&l.length>0&&d.jsx("div",{className:`grid gap-4 ${l.length===1?"grid-cols-1 max-w-2xl mx-auto":l.length===2?"grid-cols-1 sm:grid-cols-2 max-w-3xl mx-auto":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"}`,children:l.map((x,y)=>d.jsx(fe.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:y*.1},className:`rounded-xl overflow-hidden ${l.length===1?"":"aspect-[4/3]"}`,children:d.jsx("img",{src:x,alt:`${t} training`,className:l.length===1?"w-full h-auto":"w-full h-full object-cover"})},y))})]})}),d.jsx("section",{className:"py-20 md:py-28 bg-background",children:d.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[d.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",children:"About This Program"}),d.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:i}),d.jsx("h3",{className:"text-lg font-bold text-foreground mb-3",children:s}),d.jsx("ul",{className:"space-y-3",children:o.map((x,y)=>d.jsxs("li",{className:"flex items-start gap-3",children:[d.jsx(Rc,{className:"w-5 h-5 text-foreground shrink-0 mt-0.5"}),d.jsx("span",{className:"text-muted-foreground",children:x})]},y))})]}),d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"space-y-6",children:[d.jsxs("div",{className:"bg-card border border-border rounded-xl p-6",children:[d.jsx("h3",{className:"text-lg font-bold text-foreground mb-1",children:"Schedule"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:r}),h&&h.length>1&&d.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:h.map((x,y)=>d.jsx("button",{onClick:()=>m(y),className:`text-xs font-semibold px-3 py-1.5 rounded-full border transition-colors ${y===v?"bg-foreground text-background border-foreground":"bg-transparent text-muted-foreground border-border hover:border-foreground hover:text-foreground"}`,children:x.location.name},x.location.slug))}),g.length>0?d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"divide-y divide-border",children:g.map((x,y)=>d.jsxs("div",{className:"flex items-center justify-between py-3",children:[d.jsx("span",{className:"font-medium text-foreground",children:x.day}),d.jsxs("span",{className:"text-sm text-muted-foreground",children:[x.time," ⢠",x.duration]})]},y))}),d.jsx(We,{asChild:!0,variant:"outline",size:"sm",className:"mt-4 w-full",children:w?d.jsxs(Pe,{to:`/locations/${w.location.slug}#schedule`,children:["View full schedule at ",w.location.name,d.jsx(bt,{className:"ml-1.5 h-3.5 w-3.5"})]}):d.jsxs(Pe,{to:"/schedule",children:["View full schedule",d.jsx(bt,{className:"ml-1.5 h-3.5 w-3.5"})]})})]}):d.jsx(We,{asChild:!0,variant:"outline",size:"sm",className:"mt-2 w-full",children:d.jsxs(Pe,{to:"/schedule",children:["View full schedule",d.jsx(bt,{className:"ml-1.5 h-3.5 w-3.5"})]})})]}),u&&d.jsx(Rg,{deal:u})]})]})})}),c&&c.length>0&&d.jsx("section",{className:"py-20 md:py-28 bg-secondary",children:d.jsxs("div",{className:"container mx-auto px-4",children:[d.jsx(fe.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-3xl md:text-4xl font-bold text-foreground text-center mb-12 uppercase tracking-wide",children:"Program Instructors"}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-4xl mx-auto",children:c.map((x,y)=>d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:y*.1},className:"bg-card border border-border rounded-xl overflow-hidden",children:[d.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:d.jsx("img",{src:x.image,alt:x.name,className:"w-full h-full object-cover",style:{objectPosition:x.photoPosition??"center top"}})}),d.jsx("div",{className:"bg-primary px-4 py-3 text-center",children:d.jsx("span",{className:"text-primary-foreground font-bold text-sm uppercase tracking-wide",children:x.name})})]},x.name))})]})})]})}const iU=()=>{const{slug:e}=gx(),t=yx(),n=hP(),r=t.find(a=>a.slug===e);if(!r)return d.jsx(dP,{to:"/",replace:!0});const i=eU(r.id),s=`class-${r.slug}`,o=Mt.map(a=>({location:{name:a.name.replace("Empower ",""),slug:a.slug,city:a.city},classes:(a.classes??[]).filter(l=>l.name===r.name)})).filter(a=>a.classes.length>0);return d.jsxs(d.Fragment,{children:[d.jsx(Xn,{pageKey:s}),d.jsx(vi,{data:G8({name:r.name,description:r.description,url:`${Oc.siteUrl}/classes/${r.slug}`,audienceType:r.ageRange})}),d.jsx(Zn,{}),d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Programs",href:"/"},{label:r.name,href:`/classes/${r.slug}`}]}),d.jsx(rU,{badge:r.badge,title:r.name,description:r.description,ageRange:r.ageRange,details:r.details,benef
312itsHeading:r.benefitsHeading,benefits:r.benefits,schedule:r.schedule,images:r.images,instructors:i,deal:r.deal??n,video:r.video,locationSchedules:o}),d.jsx(eh,{pageKey:s}),d.jsx(Qn,{})]})},sU=()=>{const e=O5();return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"about"}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"About",href:"/about"}]}),d.jsx(Es,{badge:"Our Story",title:e.heroTitle,description:e.heroDescription}),d.jsx("section",{className:"py-20 md:py-28 bg-background",children:d.jsx("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[d.jsx("span",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wider",children:e.mission.label}),d.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mt-2 mb-6",children:e.mission.title}),e.mission.paragraphs.map((t,n)=>d.jsx("p",{className:"text-lg text-muted-foreground leading-relaxed mb-6 last:mb-0",children:t},n))]})})}),d.jsx("section",{className:"pb-16 bg-background",children:d.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:d.jsx(fe.img,{src:e.groupPhoto,alt:e.groupPhotoAlt,initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"w-full rounded-xl shadow-lg object-cover max-h-[480px]"})})}),d.jsx("section",{className:"py-20 md:py-28 bg-primary",children:d.jsxs("div",{className:"container mx-auto px-4",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[d.jsx("span",{className:"text-sm font-semibold text-primary-foreground/60 uppercase tracking-wider",children:e.values.sectionLabel}),d.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mt-2 mb-4",children:e.values.sectionTitle})]}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto",children:e.values.items.map((t,n)=>{const r=bA(t.icon);return d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:n*.1},className:"bg-primary-foreground/5 border border-primary-foreground/10 rounded-xl p-6 text-center",children:[d.jsx(r,{className:"w-8 h-8 text-primary-foreground/60 mx-auto mb-4"}),d.jsx("h3",{className:"text-lg font-bold text-primary-foreground mb-2",children:t.title}),d.jsx("p",{className:"text-primary-foreground/70 text-sm",children:t.desc})]},t.title)})})]})}),d.jsx("section",{className:"pt-20 md:pt-28 pb-10 bg-secondary",children:d.jsx("div",{className:"container mx-auto px-4",children:d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[d.jsx("span",{className:"text-sm font-semibold text-muted-foreground uppercase tracking-wider",children:e.instructors.sectionLabel}),d.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mt-2 mb-4 uppercase tracking-wide",children:e.instructors.sectionTitle}),d.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:e.instructors.sectionDescription})]})})}),th.map((t,n)=>d.jsx("section",{id:t.id,className:`py-16 md:py-24 scroll-mt-32 ${n%2===0?"bg-secondary":"bg-background"}`,children:d.jsx("div",{className:"container mx-auto px-4 max-w-5xl",children:d.jsxs(fe.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:`grid grid-cols-1 md:grid-cols-2 gap-10 md:gap-14 items-center ${n%2===1?"md:[direction:rtl]":""}`,children:[d.jsx("div",{className:n%2===1?"md:[direction:ltr]":"",children:d.jsxs("div",{className:"rounded-xl overflow-hidden border border-border shadow-lg",children:[d.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:d.jsx("img",{src:t.image,alt:t.name,className:"w-full h-full object-cover",style:{objectPosition:t.photoPosition??"center top"}})}),d.jsxs("div",{className:"bg-primary px-4 py-3 text-center",children:[d.jsx("span",{className:"text-primary-foreground font-bold text-sm tracking-tight block font-display",children:t.name}
312),d.jsx("span",{className:"text-primary-foreground/60 text-xs font-body",children:t.title})]})]})}),d.jsxs("div",{className:n%2===1?"md:[direction:ltr]":"",children:[t.quote&&d.jsxs("blockquote",{className:"relative mb-6 pl-5 border-l-[3px] border-[hsl(var(--gold))]",children:[d.jsxs("p",{className:"text-foreground/80 text-sm md:text-base font-body italic leading-relaxed",children:['"',t.quote,'"']}),d.jsxs("cite",{className:"block mt-3 text-sm font-semibold text-foreground not-italic font-display tracking-tight",children:["â ",t.name]})]}),t.fullBio&&d.jsx("div",{className:"space-y-4",children:t.fullBio.split(` 313 314`).map((r,i)=>d.jsx("p",{className:"text-muted-foreground text-sm md:text-base font-body leading-relaxed",children:r},i))})]})]})})},t.id)),d.jsx(eh,{pageKey:"about"})]}),d.jsx(Qn,{})]})},oU="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwIDAgODAwIDQwMCI+CiAgPHJlY3Qgd2lkdGg9IjgwMCIgaGVpZ2h0PSI0MDAiIGZpbGw9IiMyYTJhM2UiLz4KICA8dGV4dCB4PSI0MDAiIHk9IjE5MCIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiIGZvbnQtc2l6ZT0iMjQiIGZpbGw9IiM4ODgiIHRleHQtYW5jaG9yPSJtaWRkbGUiPlNjaGVkdWxlIEdyYXBoaWM8L3RleHQ+CiAgPHRleHQgeD0iNDAwIiB5PSIyMjUiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIiBmb250LXNpemU9IjE0IiBmaWxsPSIjNjY2IiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj5SZXBsYWNlIHdpdGggeW91ciBzY2hlZHVsZSBpbWFnZTwvdGV4dD4KPC9zdmc+Cg==",aU=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function lU({day:e,classes:t,tags:n,delay:r=0}){return d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:r},className:"bg-card border border-border rounded-xl overflow-hidden",children:[d.jsx("div",{className:"bg-primary px-6 py-4",children:d.jsx("h3",{className:"text-xl font-bold text-primary-foreground uppercase tracking-wider",children:e})}),d.jsx("div",{className:"divide-y divide-border",children:t.map((i,s)=>d.jsxs("div",{className:"flex items-center gap-4 px-6 py-3",children:[d.jsxs("span",{className:"text-sm font-medium text-muted-foreground w-[130px] shrink-0 flex items-center gap-1.5",children:[d.jsx(Ic,{className:"w-3 h-3"}),i.time]}),d.jsx("span",{className:"text-foreground font-medium flex-1",children:i.name}),i.tag&&n[i.tag]&&d.jsx("span",{className:`text-xs font-semibold px-2 py-0.5 rounded-full shrink-0 ${n[i.tag].color}`,children:n[i.tag].label})]},s))})]})}const cU=()=>{const e=L5(),{tags:t,classes:n}=e,[r,i]=b.useState(null),s=b.useMemo(()=>Object.keys(t),[t]),o=b.useMemo(()=>{const a=new Map;for(const l of n){if(r&&l.tag!==r)continue;const c=a.get(l.day)||[];c.push(l),a.set(l.day,c)}return aU.filter(l=>a.has(l)).map(l=>({day:l,classes:a.get(l)}))},[n,r]);return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"schedule"}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Schedule",href:"/schedule"}]}),d.jsx(Es,{badge:e.badge,title:e.title,description:e.description}),d.jsx("section",{className:"pt-16 md:pt-20 pb-4 bg-background",children:d.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:d.jsxs("div",{className:"flex flex-wrap justify-center gap-3 uppercase",children:[d.jsx("button",{onClick:()=>i(null),className:`text-xs font-semibold px-3 py-1.5 rounded-full transition-all cursor-pointer ${r===null?"bg-primary text-primary-foreground ring-2 ring-primary/50":"bg-gray-100 text-gray-500 hover:bg-gray-200"}`,children:"All Classes"}),s.map(a=>d.jsx("button",{onClick:()=>i(r===a?null:a),className:`text-xs font-semibold px-3 py-1.5 rounded-full transition-all cursor-pointer ${r===a?`${t[a].color} ring-2 ring-current/30`:"bg-gray-100 text-gray-500 hover:bg-gray-200"}`,children:t[a].label},a))]})})}),d.jsx("section",{className:"py-10 md:py-16 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[d.jsx("div",{className:"space-y-6",children:o.map((a,l)=>d.jsx(lU,{...a,tags:t,delay:l*.05},a.day))}),d.jsx(fe.p,{initial:{opacity:0}
314,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6,delay:.4},className:"text-center text-sm text-muted-foreground mt-10",children:e.footerNote})]})}),d.jsx("section",{className:"py-10 md:py-14 bg-secondary",children:d.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:d.jsx(fe.img,{src:oU,alt:"Class Schedule",initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"w-full rounded-xl shadow-lg border border-border"})})})]}),d.jsx(Qn,{})]})},kA=b.forwardRef(({className:e,...t},n)=>d.jsx("textarea",{className:Ae("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));kA.displayName="Textarea";function SA({socials:e,locationName:t,showLabel:n=!0,className:r}){if(!e.facebook&&!e.instagram&&!e.x&&!e.youtube)return null;const i="text-muted-foreground hover:text-[hsl(var(--gold))] transition-colors";return d.jsxs("div",{className:Ae("flex items-center gap-4",r),children:[n&&d.jsx("span",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:"Follow"}),d.jsxs("div",{className:"flex items-center gap-3",children:[e.facebook&&d.jsx("a",{href:e.facebook,target:"_blank",rel:"noopener noreferrer","aria-label":`${t} on Facebook`,className:i,children:d.jsx(KD,{className:"w-5 h-5"})}),e.instagram&&d.jsx("a",{href:e.instagram,target:"_blank",rel:"noopener noreferrer","aria-label":`${t} on Instagram`,className:i,children:d.jsx(ZD,{className:"w-5 h-5"})}),e.x&&d.jsx("a",{href:e.x,target:"_blank",rel:"noopener noreferrer","aria-label":`${t} on X`,className:i,children:d.jsx(nO,{className:"w-5 h-5"})}),e.youtube&&d.jsx("a",{href:e.youtube,target:"_blank",rel:"noopener noreferrer","aria-label":`${t} on YouTube`,className:i,children:d.jsx(iO,{className:"w-5 h-5"})})]})]})}const uU=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1),{toast:i}=CE(),s=Tr(),o=pP(),a=async l=>{l.preventDefault(),r(!0);const c=l.currentTarget,u=new FormData(c),f=Mt.find(h=>h.name===u.get("location"));u.set("form-name",G_("contact",f==null?void 0:f.slug));try{if(!(await fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(u).toString()})).ok)throw new Error("Form submission failed");t(!0),i({title:"Message sent!",description:"We'll get back to you within 24 hours."})}catch{i({title:"Something went wrong",description:"Please try again or call us directly.",variant:"destructive"})}finally{r(!1)}};return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"contact"}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Contact",href:"/contact"}]}),d.jsx(Es,{badge:o.heroBadge,title:o.heroTitle,description:o.heroDescription}),d.jsx("section",{className:"py-20 md:py-28 bg-background",children:d.jsx("div",{className:"container mx-auto px-4",children:d.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 max-w-5xl mx-auto",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[d.jsx("h2",{className:"text-2xl font-bold text-foreground mb-6 tracking-tight",children:"Where to find us"}),d.jsx("p",{className:"text-sm text-muted-foreground mb-6",children:"Reach the location closest to you, or send a message and we'll route it to the right team."}),d.jsx("div",{className:"space-y-6 mb-8",children:Mt.map(l=>d.jsxs("div",{className:"border border-border rounded-xl p-5 bg-card",children:[d.jsx("div",{className:"flex items-start justify-between gap-3 mb-3",children:d.jsx("h3",{className:"text-lg font-bold text-foreground tracking-tight",children:l.name})}),d.jsxs("ul",{className:"space-y-2.5 text-sm",children:[d.jsxs("li",{className:"flex items-start gap-2.5",children:[d.jsx(Ia,{className:"w-4 h-4 mt-0.5 text-[hsl(var(--gold))] shrink-0"}
314),d.jsxs("span",{className:"text-foreground/80",children:[l.address,", ",l.city,", ",l.state," ",l.zip]})]}),d.jsxs("li",{className:"flex items-center gap-2.5",children:[d.jsx(cs,{className:"w-4 h-4 text-[hsl(var(--gold))] shrink-0"}),d.jsx("a",{href:`tel:${l.phoneRaw}`,className:"text-foreground hover:text-[hsl(var(--gold))] transition-colors",children:l.phone})]}),l.hours.length>0&&d.jsxs("li",{className:"flex items-start gap-2.5",children:[d.jsx(Ic,{className:"w-4 h-4 mt-0.5 text-[hsl(var(--gold))] shrink-0"}),d.jsx("span",{className:"text-foreground/80 text-xs leading-relaxed",children:l.hours.filter(c=>!/closed/i.test(c.time)).map(c=>`${c.days} ${c.time}`).join(" · ")})]})]}),d.jsxs("div",{className:"mt-4 pt-3 border-t border-border flex items-center gap-3",children:[d.jsx(We,{asChild:!0,variant:"outline",size:"sm",children:d.jsxs(Pe,{to:`/locations/${l.slug}`,children:["Location details",d.jsx(bt,{className:"ml-1.5 h-3.5 w-3.5"})]})}),d.jsx("a",{href:`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(`${l.address}, ${l.city}, ${l.state} ${l.zip}`)}`,target:"_blank",rel:"noopener noreferrer",className:"text-sm font-medium text-muted-foreground hover:text-foreground transition-colors",children:"Directions â"})]}),l.socials&&d.jsx(SA,{socials:l.socials,locationName:l.name,showLabel:!0,className:"mt-3"})]},l.id))}),d.jsxs("div",{className:"border border-border rounded-xl p-5 bg-secondary flex items-start gap-3",children:[d.jsx("div",{className:"w-10 h-10 rounded-lg bg-background flex items-center justify-center shrink-0",children:d.jsx(Cf,{className:"w-5 h-5 text-foreground"})}),d.jsxs("div",{children:[d.jsx("p",{className:"font-semibold text-foreground text-sm",children:"Email all locations"}),d.jsx("a",{href:`mailto:${s.email}`,className:"text-muted-foreground text-sm mt-1 hover:text-foreground transition-colors block break-all",children:s.email})]})]})]}),d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},children:[d.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:o.formTitle}),e?d.jsxs("div",{className:"bg-card border border-border rounded-xl p-8 text-center",children:[d.jsx(nT,{className:"w-14 h-14 text-emerald-600 mx-auto mb-4"}),d.jsx("h3",{className:"text-xl font-bold text-foreground mb-2",children:o.successTitle}),d.jsx("p",{className:"text-muted-foreground text-sm",children:o.successMessage})]}):d.jsxs("form",{onSubmit:a,className:"bg-card border border-border rounded-xl p-6 space-y-4","data-netlify":"true",name:"contact",children:[d.jsx("input",{type:"hidden",name:"form-name",value:"contact"}),d.jsx("p",{className:"hidden",children:d.jsxs("label",{children:["Don't fill this out: ",d.jsx("input",{name:"bot-field"})]})}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"name",children:"Name *"}),d.jsx(ci,{id:"name",name:"name",placeholder:"Your name",required:!0,maxLength:80,className:"h-11"})]}),o.showChildNameField&&d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"childName",children:"Child's Name"}),d.jsx(ci,{id:"childName",name:"childName",placeholder:"If enrolling a child",maxLength:80,className:"h-11"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"phone",children:"Phone *"}),d.jsx(ci,{id:"phone",name:"phone",type:"tel",placeholder:"(555) 123-4567",required:!0,maxLength:20,className:"h-11"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"email",children:"Email"}),d.jsx(ci,{id:"email",name:"email",type:"email",placeholder:"[email protected]",maxLength:100,className:"h-11"})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"location",children:"Location *"}),d.jsxs("select",{id:"location",name:"location",required:!0,defaultValue:"",className:"flex h-11 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
314ing-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:[d.jsx("option",{value:"",disabled:!0,children:"Select a locationâ¦"}),Mt.map(l=>d.jsx("option",{value:l.name,children:l.name},l.slug))]})]}),d.jsxs("div",{className:"space-y-2",children:[d.jsx(ri,{htmlFor:"message",children:"Message"}),d.jsx(kA,{id:"message",name:"message",placeholder:"Anything we should know?",maxLength:500,className:"min-h-[80px] resize-none"})]}),d.jsx(We,{variant:"gold",type:"submit",size:"lg",className:"w-full mt-2",disabled:n,children:n?"Sendingâ¦":d.jsxs(d.Fragment,{children:["Send Message",d.jsx(bt,{className:"ml-2 h-5 w-5"})]})}),d.jsxs("div",{className:"flex items-start gap-2 pt-2",children:[d.jsx("input",{type:"checkbox",id:"consent",name:"consent",required:!0,className:"mt-1 h-4 w-4 shrink-0 rounded-sm border border-input accent-primary"}),d.jsx(ri,{htmlFor:"consent",className:"text-xs text-muted-foreground font-normal leading-snug cursor-pointer",children:o.consentText.replace("{businessName}",s.name)})]})]})]})]})})})]}),d.jsx(Qn,{})]})},dU=()=>{const e=Tr();return d.jsxs(d.Fragment,{children:[d.jsx(Xn,{pageKey:"locations"}),d.jsx(Zn,{}),d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Locations",href:"/locations"}]}),d.jsx(Es,{badge:"Our locations",title:"Find your dojo.",description:`${Mt.length} location${Mt.length!==1?"s":""} in ${e.region}. Karate and Krav Maga for kids and families â pick the one closest to home and book a trial.`}),d.jsx("section",{className:"py-16 md:py-24 bg-background",children:d.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:Mt.map((t,n)=>d.jsxs(fe.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:n*.1},className:"bg-card border border-border rounded-2xl p-6 flex flex-col",children:[d.jsx("h3",{className:"text-xl font-bold text-foreground mb-3",children:t.name}),d.jsxs("div",{className:"flex items-start gap-2 text-muted-foreground mb-2",children:[d.jsx(Ia,{className:"w-4 h-4 mt-0.5 shrink-0"}),d.jsxs("span",{className:"text-sm",children:[t.address,", ",t.city,", ",t.state," ",t.zip]})]}),d.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground mb-6",children:[d.jsx(cs,{className:"w-4 h-4 shrink-0"}),d.jsx("span",{className:"text-sm",children:t.phone})]}),d.jsx("div",{className:"mt-auto",children:d.jsx(We,{asChild:!0,variant:"default",size:"sm",children:d.jsxs(Pe,{to:`/locations/${t.slug}`,children:["View Details",d.jsx(bt,{className:"w-4 h-4 ml-1.5"})]})})})]},t.id))})})}),d.jsx(Qn,{})]})},fU="/assets/edison-1-L6ktVny0.webp",hU=Object.freeze(Object.defineProperty({__proto__:null,default:fU},Symbol.toStringTag,{value:"Module"})),pU="/assets/edison-2-BsisxZno.webp",mU=Object.freeze(Object.defineProperty({__proto__:null,default:pU},Symbol.toStringTag,{value:"Module"})),gU="/assets/edison-3-Dd8Ds-GM.webp",yU=Object.freeze(Object.defineProperty({__proto__:null,default:gU},Symbol.toStringTag,{value:"Module"})),xU="/assets/edison-4-DaBKxs1_.webp",vU=Object.freeze(Object.defineProperty({__proto__:null,default:xU},Symbol.toStringTag,{value:"Module"})),wU="/assets/edison-5-BPSrWzKo.webp",bU=Object.freeze(Object.defineProperty({__proto__:null,default:wU},Symbol.toStringTag,{value:"Module"})),kU="/assets/edison-6-DYD9FOIy.webp",SU=Object.freeze(Object.defineProperty({__proto__:null,default:kU},Symbol.toStringTag,{value:"Module"})),CU="/assets/edison-7-NUcVMEh7.webp",EU=Object.freeze(Object.defineProperty({__proto__:null,default:CU},Symbol.toStringTag,{value:"Module"})),TU="/assets/edison-8-B-qWYVbq.webp",PU=Object.freeze(Object.defineProperty({__proto__:null,default:TU},Symbol.toStringTag,{value:"Module"})),jU="/assets/edison-9-C26jqWeJ.webp",NU=Object.freeze(Object.defineProperty({__proto__:null,default:jU},Symbol.toStringTag,{value:"Module"})),_U="/assets/matawan-1-r0tXKOuJ.webp",AU=Object.freeze(Object.defineProperty({__proto__:null,default:_U},Symbol.toStringTag,{value:"Module"})),MU="/assets/matawan-2-bxJAc8cc.webp",RU=Object.freeze(Object.defineProperty({__proto__:null,default:MU},Symbol.toStringTag,{value:"Module"})),IU="/assets/matawan-3-DDk1DCNr.webp",DU=Object.freeze(Object.defineProperty({__proto__:null,default:IU},Symbol.toStringTag,{value:"Module"}
vendor: 4,534 bytes, line 314
314)),OU="/assets/matawan-4-BtYL6R00.webp",LU=Object.freeze(Object.defineProperty({__proto__:null,default:OU},Symbol.toStringTag,{value:"Module"})),FU="/assets/matawan-5-BShDNhEG.webp",VU=Object.freeze(Object.defineProperty({__proto__:null,default:FU},Symbol.toStringTag,{value:"Module"})),BU="/assets/east-brunswick-1-D_zzp2kF.webp",zU=Object.freeze(Object.defineProperty({__proto__:null,default:BU},Symbol.toStringTag,{value:"Module"})),$U="/assets/empower-kids-4-DsGNd5JQ.webp",UU=Object.freeze(Object.defineProperty({__proto__:null,default:$U},Symbol.toStringTag,{value:"Module"})),WU="/assets/east-brunswick-3-COzQ98IJ.webp",HU=Object.freeze(Object.defineProperty({__proto__:null,default:WU},Symbol.toStringTag,{value:"Module"})),KU="/assets/east-brunswick-4-DVEW7Tgz.webp",qU=Object.freeze(Object.defineProperty({__proto__:null,default:KU},Symbol.toStringTag,{value:"Module"})),GU="/assets/east-brunswick-4-DVEW7Tgz.webp",YU=Object.freeze(Object.defineProperty({__proto__:null,default:GU},Symbol.toStringTag,{value:"Module"})),ZU="/assets/Empower-adults-C7Cy42G7.webp",QU=Object.freeze(Object.defineProperty({__proto__:null,default:ZU},Symbol.toStringTag,{value:"Module"}));function XU(e){return Object.prototype.toString.call(e)==="[object Object]"}function Y1(e){return XU(e)||Array.isArray(e)}function JU(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function wv(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const i=JSON.stringify(Object.keys(e.breakpoints||{})),s=JSON.stringify(Object.keys(t.breakpoints||{}));return i!==s?!1:n.every(o=>{const a=e[o],l=t[o];return typeof a=="function"?`${a}`==`${l}`:!Y1(a)||!Y1(l)?a===l:wv(a,l)})}function Z1(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function e7(e,t){if(e.length!==t.length)return!1;const n=Z1(e),r=Z1(t);return n.every((i,s)=>{const o=r[s];return wv(i,o)})}function bv(e){return typeof e=="number"}function Ig(e){return typeof e=="string"}function nh(e){return typeof e=="boolean"}function Q1(e){return Object.prototype.toString.call(e)==="[object Object]"}function ut(e){return Math.abs(e)}function kv(e){return Math.sign(e)}function Fl(e,t){return ut(e-t)}function t7(e,t){if(e===0||t===0||ut(e)<=ut(t))return 0;const n=Fl(ut(e),ut(t));return ut(n/e)}function n7(e){return Math.round(e*100)/100}function vc(e){return wc(e).map(Number)}function wr(e){return e[$c(e)]}function $c(e){return Math.max(0,e.length-1)}function Sv(e,t){return t===$c(e)}function X1(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function wc(e){return Object.keys(e)}function CA(e,t){return[e,t].reduce((n,r)=>(wc(r).forEach(i=>{const s=n[i],o=r[i],a=Q1(s)&&Q1(o);n[i]=a?CA(s,o):o}),n),{})}function Dg(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function r7(e,t){const n={start:r,center:i,end:s};function r(){return 0}function i(l){return s(l)/2}function s(l){return t-l}function o(l,c){return Ig(e)?n[e](l):e(t,l,c)}return{measure:o}}function bc(){let e=[];function t(i,s,o,a={passive:!0}){let l;if("addEventListener"in i)i.addEventListener(s,o,a),l=()=>i.removeEventListener(s,o,a);else{const c=i;c.addListener(o),l=()=>c.removeListener(o)}return e.push(l),r}function n(){e=e.filter(i=>i())}const r={add:t,clear:n};return r}function i7(e,t,n,r){const i=bc(),s=1e3/60;let o=null,a=0,l=0;function c(){i.add(e,"visibilitychange",()=>{e.hidden&&v()})}function u(){p(),i.clear()}function f(w){if(!l)return;o||(o=w,n(),n());const g=w-o;for(o=w,a+=g;a>=s;)n(),a-=s;const x=a/s;r(x),l&&(l=t.requestAnimationFrame(f))}function h(){l||(l=t.requestAnimationFrame(f))}function p(){t.cancelAnimationFrame(l),o=null,a=0,l=0}function v(){o=null,a=0}return{init:c,destroy:u,start:h,stop:p,update:n,render:r}}function s7(e,t){const n=t==="rtl",r=e==="y",i=r?"y":"x",s=r?"x":"y",o=!r&&n?-1:1,a=u(),l=f();function c(v){const{height:m,width:w}=v;return r?m:w}function u(){return r?"top":n?"right":"left"}function f(){return r?"bottom":n?"left":"right"}function h(v){return v*o}return{scroll:i,cross:s,startEdge:a,endEdge:l,measureSize:c,direction:h}}function ho(e=0,t=0){const n=ut(e-t);function r(c){return c<e}function i(c){return c>t}function s(c){return r(c)||i(c)}function o(c){return s(c)?r(c)?e:t:c}function a(c){return n?c-n*Math.ceil((c-t)/n):c}return{length:n,max:t,min:e,constrain:o,reachedAny:s,reachedMax:i,reachedMin:r,removeOffset:a}}function EA(e,t,n){const{constrain:r}=ho(0,e),i=e+1;let s=o(t);function o(h){return n?ut((i+h)%i):r(h)}function a(){return s}function l(h){return s=o(h),f}
vendor: 12,571 bytes, line 314
314function c(h){return u().set(a()+h)}function u(){return EA(e,a(),n)}const f={get:a,set:l,add:c,clone:u};return f}function o7(e,t,n,r,i,s,o,a,l,c,u,f,h,p,v,m,w,g,x){const{cross:y,direction:k}=e,C=["INPUT","SELECT","TEXTAREA"],S={passive:!1},P=bc(),N=bc(),A=ho(50,225).constrain(p.measure(20)),T={mouse:300,touch:400},O={mouse:500,touch:600},R=v?43:25;let z=!1,F=0,W=0,K=!1,H=!1,I=!1,L=!1;function E(G){if(!x)return;function xe(He){(nh(x)||x(G,He))&&ye(He)}const Me=t;P.add(Me,"dragstart",He=>He.preventDefault(),S).add(Me,"touchmove",()=>{},S).add(Me,"touchend",()=>{}).add(Me,"touchstart",xe).add(Me,"mousedown",xe).add(Me,"touchcancel",he).add(Me,"contextmenu",he).add(Me,"click",Ce,!0)}function ne(){P.clear(),N.clear()}function re(){const G=L?n:t;N.add(G,"touchmove",q,S).add(G,"touchend",he).add(G,"mousemove",q,S).add(G,"mouseup",he)}function j(G){const xe=G.nodeName||"";return C.includes(xe)}function oe(){return(v?O:T)[L?"mouse":"touch"]}function Te(G,xe){const Me=f.add(kv(G)*-1),He=u.byDistance(G,!v).distance;return v||ut(G)<A?He:w&&xe?He*.5:u.byIndex(Me.get(),0).distance}function ye(G){const xe=Dg(G,r);L=xe,I=v&&xe&&!G.buttons&&z,z=Fl(i.get(),o.get())>=2,!(xe&&G.button!==0)&&(j(G.target)||(K=!0,s.pointerDown(G),c.useFriction(0).useDuration(0),i.set(o),re(),F=s.readPoint(G),W=s.readPoint(G,y),h.emit("pointerDown")))}function q(G){if(!Dg(G,r)&&G.touches.length>=2)return he(G);const Me=s.readPoint(G),He=s.readPoint(G,y),st=Fl(Me,F),ht=Fl(He,W);if(!H&&!L&&(!G.cancelable||(H=st>ht,!H)))return he(G);const zt=s.pointerMove(G);st>m&&(I=!0),c.useFriction(.3).useDuration(.75),a.start(),i.add(k(zt)),G.preventDefault()}function he(G){const Me=u.byDistance(0,!1).index!==f.get(),He=s.pointerUp(G)*oe(),st=Te(k(He),Me),ht=t7(He,st),zt=R-10*ht,xt=g+ht/50;H=!1,K=!1,N.clear(),c.useDuration(zt).useFriction(xt),l.distance(st,!v),L=!1,h.emit("pointerUp")}function Ce(G){I&&(G.stopPropagation(),G.preventDefault(),I=!1)}function pe(){return K}return{init:E,destroy:ne,pointerDown:pe}}function a7(e,t){let r,i;function s(f){return f.timeStamp}function o(f,h){const v=`client${(h||e.scroll)==="x"?"X":"Y"}`;return(Dg(f,t)?f:f.touches[0])[v]}function a(f){return r=f,i=f,o(f)}function l(f){const h=o(f)-o(i),p=s(f)-s(r)>170;return i=f,p&&(r=f),h}function c(f){if(!r||!i)return 0;const h=o(i)-o(r),p=s(f)-s(r),v=s(f)-s(i)>170,m=h/p;return p&&!v&&ut(m)>.1?m:0}return{pointerDown:a,pointerMove:l,pointerUp:c,readPoint:o}}function l7(){function e(n){const{offsetTop:r,offsetLeft:i,offsetWidth:s,offsetHeight:o}=n;return{top:r,right:i+s,bottom:r+o,left:i,width:s,height:o}}return{measure:e}}function c7(e){function t(r){return e*(r/100)}return{measure:t}}function u7(e,t,n,r,i,s,o){const a=[e].concat(r);let l,c,u=[],f=!1;function h(w){return i.measureSize(o.measure(w))}function p(w){if(!s)return;c=h(e),u=r.map(h);function g(x){for(const y of x){if(f)return;const k=y.target===e,C=r.indexOf(y.target),S=k?c:u[C],P=h(k?e:r[C]);if(ut(P-S)>=.5){w.reInit(),t.emit("resize");break}}}l=new ResizeObserver(x=>{(nh(s)||s(w,x))&&g(x)}),n.requestAnimationFrame(()=>{a.forEach(x=>l.observe(x))})}function v(){f=!0,l&&l.disconnect()}return{init:p,destroy:v}}function d7(e,t,n,r,i,s){let o=0,a=0,l=i,c=s,u=e.get(),f=0;function h(){const S=r.get()-e.get(),P=!l;let N=0;return P?(o=0,n.set(r),e.set(r),N=S):(n.set(e),o+=S/l,o*=c,u+=o,e.add(o),N=u-f),a=kv(N),f=u,C}function p(){const S=r.get()-t.get();return ut(S)<.001}function v(){return l}function m(){return a}function w(){return o}function g(){return y(i)}function x(){return k(s)}function y(S){return l=S,C}function k(S){return c=S,C}const C={direction:m,duration:v,velocity:w,seek:h,settled:p,useBaseFriction:x,useBaseDuration:g,useFriction:k,useDuration:y};return C}function f7(e,t,n,r,i){const s=i.measure(10),o=i.measure(50),a=ho(.1,.99);let l=!1;function c(){return!(l||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(p){if(!c())return;const v=e.reachedMin(t.get())?"min":"max",m=ut(e[v]-t.get()),w=n.get()-t.get(),g=a.constrain(m/o);n.subtract(w*g),!p&&ut(w)<s&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function f(p){l=!p}return{shouldConstrain:c,constrain:u,toggleActive:f}}function h7(e,t,n,r,i){const s=ho(-t+e,0),o=f(),a=u(),l=h();function c(v,m){return Fl(v,m)<=1}function u(){const v=o[0],m=wr(o),w=o.lastIndexOf(v),g=o.indexOf(m)+1;return ho(w,g)}function f(){return n.map((v,m)=>{const{min:w,max:g}=s,x=s.constrain(v),y=!m,k=Sv(n,m);return y?g:k||c(w,x)?w:c(g,x)?g:x}).map(v=>parseFloat(v.toFixed(3)))}function h(){if(t<=e+i)return[s.max];if(r==="keepSnaps")return o;const{min:v,max:m}=a;return o.slice(v,m)}return{snapsContained:l,scrollContainLimit:a}}function p7(e,t,n){const r=t[0],i=n?r-e:wr(t);return{limit:ho(i,r)}}function m7(e,t,n,r){const s=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:l}=ho(s,o);function c(h){return h===1?l(n.get()):h===-1?a(n.get()):!1}function u(h){if(!c(h))return;const p=e*(h*-1);r.forEach(v=>v.add(p))}return{loop:u}}function g7(e){const{max:t,length:n}=e;function r(s){const o=s-t;return n?o/-n:0}return{get:r}}function y7(e,t,n,r,i){const{startEdge:s,endEdge:o}=e,{groupSlides:a}=i,l=f().map(t.measure),c=h(),u=p();function f(){return a(r).map(m=>wr(m)[o]-m[0][s]).map(ut)}function h(){return r.map(m=>n[s]-m[s]).map(m=>-ut(m))}function p(){return a(c).map(m=>m[0]).map((m,w)=>m+l[w])}return{snaps:c,snapsAligned:u}}function x7(e,t,n,r,i,s){const{groupSlides:o}=i,{min:a,max:l}=r,c=u();function u(){const h=o(s),p=!e||t==="keepSnaps";return n.length===1?[s]:p?h:h.slice(a,l).map((v,m,w)=>{const g=!m,x=Sv(w,m);if(g){const y=wr(w[0])+1;return X1(y)}if(x){const y=$c(s)-wr(w)[0]+1;return X1(y,wr(w)[0])}return v})}return{slideRegistry:c}}function v7(e,t,n,r,i){const{reachedAny:s,removeOffset:o,constrain:a}=r;function l(v){return v.concat().sort((m,w)=>ut(m)-ut(w))[0]}function c(v){const m=e?o(v):a(v),w=t.map((x,y)=>({diff:u(x-m,0),index:y})).sort((x,y)=>ut(x.diff)-ut(y.diff)),{index:g}=w[0];return{index:g,distance:m}}function u(v,m){const w=[v,v+n,v-n];if(!e)return v;if(!m)return l(w);const g=w.filter(x=>kv(x)===m);return g.length?l(g):wr(w)-n}function f(v,m){const w=t[v]-i.get(),g=u(w,m);return{index:v,distance:g}}function h(v,m){const w=i.get()+v,{index:g,distance:x}=c(w),y=!e&&s(w);if(!m||y)return{index:g,distance:v};const k=t[g]-x,C=v+u(k,0);return{index:g,distance:C}}return{byDistance:h,byIndex:f,shortcut:u}}function w7(e,t,n,r,i,s,o){function a(f){const h=f.distance,p=f.index!==t.get();s.add(h),h&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),p&&(n.set(t.get()),t.set(f.index),o.emit("select"))}function l(f,h){const p=i.byDistance(f,h);a(p)}function c(f,h){const p=t.clone().set(f),v=i.byIndex(p.get(),h);a(v)}return{distance:l,index:c}}function b7(e,t,n,r,i,s,o,a){const l={passive:!0,capture:!0};let c=0;function u(p){if(!a)return;function v(m){if(new Date().getTime()-c>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const x=n.findIndex(y=>y.includes(m));bv(x)&&(i.useDuration(0),r.index(x,0),o.emit("slideFocus"))}s.add(document,"keydown",f,!1),t.forEach((m,w)=>{s.add(m,"focus",g=>{(nh(a)||a(p,g))&&v(w)},l)})}function f(p){p.code==="Tab"&&(c=new Date().getTime())}return{init:u}}function bl(e){let t=e;function n(){return t}function r(l){t=o(l)}function i(l){t+=o(l)}function s(l){t-=o(l)}function o(l){return bv(l)?l:l.get()}return{get:n,set:r,add:i,subtract:s}}function TA(e,t){const n=e.scroll==="x"?o:a,r=t.style;let i=null,s=!1;function o(h){return`translate3d(${h}px,0px,0px)`}function a(h){return`translate3d(0px,${h}px,0px)`}function l(h){if(s)return;const p=n7(e.direction(h));p!==i&&(r.transform=n(p),i=p)}function c(h){s=!h}function u(){s||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:l,toggleActive:c}}function k7(e,t,n,r,i,s,o,a,l){const u=vc(i),f=vc(i).reverse(),h=g().concat(x());function p(P,N){return P.reduce((A,T)=>A-i[T],N)}function v(P,N){return P.reduce((A,T)=>p(A,N)>0?A.concat([T]):A,[])}function m(P){return s.map((N,A)=>({start:N-r[A]+.5+P,end:N+t-.5+P}))}function w(P,N,A){const T=m(N);return P.map(O=>{const R=A?0:-n,z=A?n:0,F=A?"end":"start",W=T[O][F];return{index:O,loopPoint:W,slideLocation:bl(-1),translate:TA(e,l[O]),target:()=>a.get()>W?R:z}})}function g(){const P=o[0],N=v(f,P);return w(N,n,!1)}function x(){const P=t-o[0]-1,N=v(u,P);return w(N,-n,!0)}function y(){return h.every(({index:P})=>{const N=u.filter(A=>A!==P);return p(N,t)<=.1})}function k(){h.forEach(P=>{const{target:N,translate:A,slideLocation:T}=P,O=N();O!==T.get()&&(A.to(O),T.set(O))})}function C(){h.forEach(P=>P.translate.clear())}return{canLoop:y,clear:C,loop:k,loopPoints:h}}function S7(e,t,n){let r,i=!1;function s(l){if(!n)return;function c(u){for(const f of u)if(f.type==="childList"){l.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(u=>{i||(nh(n)||n(l,u))&&c(u)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),i=!0}return{init:s,destroy:o}}function C7(e,t,n,r){const i={};let s=null,o=null,a,l=!1;function c(){a=new IntersectionObserver(v=>{l||(v.forEach(m=>{const w=t.indexOf(m.target);i[w]=m}),s=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(v=>a.observe(v))}function u(){a&&a.disconnect(),l=!0}function f(v){return wc(i).reduce((m,w)=>{const g=parseInt(w),{isIntersecting:x}=i[g];return(v&&x||!v&&!x)&&m.push(g),m},[])}function h(v=!0){if(v&&s)return s;if(!v&&o)return o;const m=f(v);return v&&(s=m),v||(o=m),m}return{init:c,destroy:u,get:h}}function E7(e,t,n,r,i,s){const{measureSize:o,startEdge:a,endEdge:l}=e,c=n[0]&&i,u=v(),f=m(),h=n.map(o),p=w();function v(){if(!c)return 0;const x=n[0];return ut(t[a]-x[a])}function m(){if(!c)return 0;const x=s.getComputedStyle(wr(r));return parseFloat(x.getPropertyValue(`margin-${l}`))}function w(){return n.map((x,y,k)=>{const C=!y,S=Sv(k,y);return C?h[y]+u:S?h[y]+f:k[y+1][a]-x[a]}).map(ut)}return{slideSizes:h,slideSizesWithGaps:p,startGap:u,endGap:f}}function T7(e,t,n,r,i,s,o,a,l){const{startEdge:c,endEdge:u,direction:f}=e,h=bv(n);function p(g,x){return vc(g).filter(y=>y%x===0).map(y=>g.slice(y,y+x))}function v(g){return g.length?vc(g).reduce((x,y,k)=>{const C=wr(x)||0,S=C===0,P=y===$c(g),N=i[c]-s[C][c],A=i[c]-s[y][u],T=!r&&S?f(o):0,O=!r&&P?f(a):0,R=ut(A-O-(N+T));return k&&R>t+l&&x.push(y),P&&x.push(g.length),x},[]).map((x,y,k)=>{const C=Math.max(k[y-1]||0);return g.slice(C,x)}):[]}function m(g){return h?p(g,n):v(g)}return{groupSlides:m}}function P7(e,t,n,r,i,s,o){const{align:a,axis:l,direction:c,startIndex:u,loop:f,duration:h,dragFree:p,dragThreshold:v,inViewThreshold:m,slidesToScroll:w,skipSnaps:g,containScroll:x,watchResize:y,watchSlides:k,watchDrag:C,watchFocus:S}=s,P=2,N=l7(),A=N.measure(t),T=n.map(N.measure),O=s7(l,c),R=O.measureSize(A),z=c7(R),F=r7(a,R),W=!f&&!!x,K=f||!!x,{slideSizes:H,slideSizesWithGaps:I,startGap:L,endGap:E}=E7(O,A,T,n,K,i),ne=T7(O,R,w,f,A,T,L,E,P),{snaps:re,snapsAligned:j}=y7(O,F,A,T,ne),oe=-wr(re)+wr(I),{snapsContained:Te,scrollContainLimit:ye}=h7(R,oe,j,x,P),q=W?Te:j,{limit:he}=p7(oe,q,f),Ce=EA($c(q),u,f),pe=Ce.clone(),le=vc(n),G=({dragHandler:be,scrollBody:Ze,scrollBounds:$t,options:{loop:pt}})=>{pt||$t.constrain(be.pointerDown()),Ze.seek()},xe=({scrollBody:be,translate:Ze,location:$t,offsetLocation:pt,previousLocation:Rt,scrollLooper:In,slideLooper:et,dragHandler:Dn,animation:Ut,eventHandler:qa,scrollBounds:Kc,options:{loop:qc}},wo)=>{const er=be.settled(),uh=!Kc.shouldConstrain(),ve=qc?er:er&&uh,Ue=ve&&!Dn.pointerDown();Ue&&Ut.stop();const Qe=$t.get()*wo+Rt.get()*(1-wo);pt.set(Qe),qc&&(In.loop(be.direction()),et.loop()),Ze.to(pt.get()),Ue&&qa.emit("settle"),ve||qa.emit("scroll")},Me=i7(r,i,()=>G(me),be=>xe(me,be)),He=.68,st=q[Ce.get()],ht=bl(st),zt=bl(st),xt=bl(st),_=bl(st),D=d7(ht,xt,zt,_,h,He),B=v7(f,q,oe,he,_),J=w7(Me,Ce,pe,D,B,_,o),ee=g7(he),Q=bc(),M=C7(t,n,o,m),{slideRegistry:$}=x7(W,x,q,ye,ne,le),ie=b7(e,n,$,J,D,Q,o,S),me={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:A,slideRects:T,animation:Me,axis:O,dragHandler:o7(O,e,r,i,_,a7(O,i),ht,Me,J,D,B,Ce,o,z,p,v,g,He,C),eventStore:Q,percentOfView:z,index:Ce,indexPrevious:pe,limit:he,location:ht,offsetLocation:xt,previousLocation:zt,options:s,resizeHandler:u7(t,o,i,n,O,y,N),scrollBody:D,scrollBounds:f7(he,xt,_,D,z),scrollLooper:m7(oe,he,xt,[ht,xt,zt,_]),scrollProgress:ee,scrollSnapList:q.map(ee.get),scrollSnaps:q,scrollTarget:B,scrollTo:J,slideLooper:k7(O,R,oe,H,I,re,q,xt,n),slideFocus:ie,slidesHandler:S7(t,o,k),slidesInView:M,slideIndexes:le,slideRegistry:$,slidesToScroll:ne,target:_,translate:TA(O,t)};return me}function j7(){let e={},t;function n(c){t=c}function r(c){return e[c]||[]}
vendor: 4,339 bytes, line 314
314function i(c){return r(c).forEach(u=>u(t,c)),l}function s(c,u){return e[c]=r(c).concat([u]),l}function o(c,u){return e[c]=r(c).filter(f=>f!==u),l}function a(){e={}}const l={init:n,emit:i,off:o,on:s,clear:a};return l}const N7={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function _7(e){function t(s,o){return CA(s,o||{})}function n(s){const o=s.breakpoints||{},a=wc(o).filter(l=>e.matchMedia(l).matches).map(l=>o[l]).reduce((l,c)=>t(l,c),{});return t(s,a)}function r(s){return s.map(o=>wc(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function A7(e){let t=[];function n(s,o){return t=o.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(s,e)),o.reduce((a,l)=>Object.assign(a,{[l.name]:l}),{})}function r(){t=t.filter(s=>s.destroy())}return{init:n,destroy:r}}function Jd(e,t,n){const r=e.ownerDocument,i=r.defaultView,s=_7(i),o=A7(s),a=bc(),l=j7(),{mergeOptions:c,optionsAtMedia:u,optionsMediaQueries:f}=s,{on:h,off:p,emit:v}=l,m=O;let w=!1,g,x=c(N7,Jd.globalOptions),y=c(x),k=[],C,S,P;function N(){const{container:le,slides:G}=y;S=(Ig(le)?e.querySelector(le):le)||e.children[0];const Me=Ig(G)?S.querySelectorAll(G):G;P=[].slice.call(Me||S.children)}function A(le){const G=P7(e,S,P,r,i,le,l);if(le.loop&&!G.slideLooper.canLoop()){const xe=Object.assign({},le,{loop:!1});return A(xe)}return G}function T(le,G){w||(x=c(x,le),y=u(x),k=G||k,N(),g=A(y),f([x,...k.map(({options:xe})=>xe)]).forEach(xe=>a.add(xe,"change",O)),y.active&&(g.translate.to(g.location.get()),g.animation.init(),g.slidesInView.init(),g.slideFocus.init(pe),g.eventHandler.init(pe),g.resizeHandler.init(pe),g.slidesHandler.init(pe),g.options.loop&&g.slideLooper.loop(),S.offsetParent&&P.length&&g.dragHandler.init(pe),C=o.init(pe,k)))}function O(le,G){const xe=ne();R(),T(c({startIndex:xe},le),G),l.emit("reInit")}function R(){g.dragHandler.destroy(),g.eventStore.clear(),g.translate.clear(),g.slideLooper.clear(),g.resizeHandler.destroy(),g.slidesHandler.destroy(),g.slidesInView.destroy(),g.animation.destroy(),o.destroy(),a.clear()}function z(){w||(w=!0,a.clear(),R(),l.emit("destroy"),l.clear())}function F(le,G,xe){!y.active||w||(g.scrollBody.useBaseFriction().useDuration(G===!0?0:y.duration),g.scrollTo.index(le,xe||0))}function W(le){const G=g.index.add(1).get();F(G,le,-1)}function K(le){const G=g.index.add(-1).get();F(G,le,1)}function H(){return g.index.add(1).get()!==ne()}function I(){return g.index.add(-1).get()!==ne()}function L(){return g.scrollSnapList}function E(){return g.scrollProgress.get(g.offsetLocation.get())}function ne(){return g.index.get()}function re(){return g.indexPrevious.get()}function j(){return g.slidesInView.get()}function oe(){return g.slidesInView.get(!1)}function Te(){return C}function ye(){return g}function q(){return e}function he(){return S}function Ce(){return P}const pe={canScrollNext:H,canScrollPrev:I,containerNode:he,internalEngine:ye,destroy:z,off:p,on:h,emit:v,plugins:Te,previousScrollSnap:re,reInit:m,rootNode:q,scrollNext:W,scrollPrev:K,scrollProgress:E,scrollSnapList:L,scrollTo:F,selectedScrollSnap:ne,slideNodes:Ce,slidesInView:j,slidesNotInView:oe};return T(t,n),setTimeout(()=>l.emit("init"),0),pe}Jd.globalOptions=void 0;function Cv(e={},t=[]){const n=b.useRef(e),r=b.useRef(t),[i,s]=b.useState(),[o,a]=b.useState(),l=b.useCallback(()=>{i&&i.reInit(n.current,r.current)},[i]);return b.useEffect(()=>{wv(n.current,e)||(n.current=e,l())},[e,l]),b.useEffect(()=>{e7(r.current,t)||(r.current=t,l())},[t,l]),b.useEffect(()=>{if(JU()&&o){Jd.globalOptions=Cv.globalOptions;const c=Jd(o,n.current,r.current);return s(c),()=>c.destroy()}else s(void 0)},[o,s]),[a,i]}Cv.globalOptions=void 0;const PA=b.createContext(null);function rh(){const e=b.useContext(PA);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const jA=b.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:r,className:i,children:s,...o},a)=>{const[l,c]=Cv({...t,axis:e==="horizontal"?"x":"y"},r),[u,f]=b.useState(!1),[h,p]=b.useState(!1),v=b.useCallback(x=>
314{x&&(f(x.canScrollPrev()),p(x.canScrollNext()))},[]),m=b.useCallback(()=>{c==null||c.scrollPrev()},[c]),w=b.useCallback(()=>{c==null||c.scrollNext()},[c]),g=b.useCallback(x=>{x.key==="ArrowLeft"?(x.preventDefault(),m()):x.key==="ArrowRight"&&(x.preventDefault(),w())},[m,w]);return b.useEffect(()=>{!c||!n||n(c)},[c,n]),b.useEffect(()=>{if(c)return v(c),c.on("reInit",v),c.on("select",v),()=>{c==null||c.off("select",v)}},[c,v]),d.jsx(PA.Provider,{value:{carouselRef:l,api:c,opts:t,orientation:e||((t==null?void 0:t.axis)==="y"?"vertical":"horizontal"),scrollPrev:m,scrollNext:w,canScrollPrev:u,canScrollNext:h},children:d.jsx("div",{ref:a,onKeyDownCapture:g,className:Ae("relative",i),role:"region","aria-roledescription":"carousel",...o,children:s})})});jA.displayName="Carousel";const NA=b.forwardRef(({className:e,...t},n)=>{const{carouselRef:r,orientation:i}=rh();return d.jsx("div",{ref:r,className:"overflow-hidden",children:d.jsx("div",{ref:n,className:Ae("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});NA.displayName="CarouselContent";const _A=b.forwardRef(({className:e,...t},n)=>{const{orientation:r}=rh();return d.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:Ae("min-w-0 shrink-0 grow-0 basis-full",r==="horizontal"?"pl-4":"pt-4",e),...t})});_A.displayName="CarouselItem";const AA=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},i)=>{const{orientation:s,scrollPrev:o,canScrollPrev:a}=rh();return d.jsxs(We,{ref:i,variant:t,size:n,className:Ae("absolute h-8 w-8 rounded-full",s==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:o,...r,children:[d.jsx(tT,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Previous slide"})]})});AA.displayName="CarouselPrevious";const MA=b.forwardRef(({className:e,variant:t="outline",size:n="icon",...r},i)=>{const{orientation:s,scrollNext:o,canScrollNext:a}=rh();return d.jsxs(We,{ref:i,variant:t,size:n,className:Ae("absolute h-8 w-8 rounded-full",s==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:o,...r,children:[d.jsx(bt,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Next slide"})]})});MA.displayName="CarouselNext";const M7="/assets/empower-hero-background-BXLKGQa-.webp",R7="/assets/matawan-hero-CC68pg1l.jpg",I7="/assets/east-brunswick-hero-CJ1pCg13.jpg",D7={matawan:R7,milltown:I7},O7=Object.values(Object.assign({"/src/assets/Pictures/edison/edison-1.webp":hU,"/src/assets/Pictures/edison/edison-2.webp":mU,"/src/assets/Pictures/edison/edison-3.webp":yU,"/src/assets/Pictures/edison/edison-4.webp":vU,"/src/assets/Pictures/edison/edison-5.webp":bU,"/src/assets/Pictures/edison/edison-6.webp":SU,"/src/assets/Pictures/edison/edison-7.webp":EU,"/src/assets/Pictures/edison/edison-8.webp":PU,"/src/assets/Pictures/edison/edison-9.webp":NU})).map(e=>e.default),L7=Object.values(Object.assign({"/src/assets/Pictures/matawan/matawan-1.webp":AU,"/src/assets/Pictures/matawan/matawan-2.webp":RU,"/src/assets/Pictures/matawan/matawan-3.webp":DU,"/src/assets/Pictures/matawan/matawan-4.webp":LU,"/src/assets/Pictures/matawan/matawan-5.webp":VU})).map(e=>e.default),F7=Object.values(Object.assign({"/src/assets/Pictures/east-brunswick/east-brunswick-1.webp":zU,"/src/assets/Pictures/east-brunswick/east-brunswick-2.webp":UU,"/src/assets/Pictures/east-brunswick/east-brunswick-3.webp":HU,"/src/assets/Pictures/east-brunswick/east-brunswick-4.webp":qU,"/src/assets/Pictures/east-brunswick/east-brunswick-5.webp":YU,"/src/assets/Pictures/east-brunswick/east-brunswick-6.webp":QU})).map(e=>e.default),V7={edison:O7,matawan:L7,milltown:F7},B7=[{icon:Zy,title:"Confidence, not bravado",desc:"We build kids who stand tall, not kids who pick fights. Calm, sure-footed, never loud."},{icon:rT,title:"Discipline as a practice",desc:"Showing up beats showing off. Progress, repetition, and small wins â not transformation overnight."},{icon:iT,title:"A place for the whole family",desc:"Parents are partners, not spectators. Siblings, schedules, and the realities of a busy week are welcome here."}],z7={Mon:"Monday",Tue:"Tuesday",Wed:"Wednesday",Thu:"Thursday",Fri:"Friday",Sat:"Saturday",Sun:"Sunday"},$7=()=>{var g,x;const{slug:e}=gx(),t=e?Y_(e):void 0;Tr();const n=yx(),r=If(),i=hP();if(Object.fromEntries(n.map(y=>[y.slug,`${y.name} (${y.shortDescription})`])),!t)return d.jsx(dP,{to:"/",replace:!0});const s=Mt.filter(y=>y.id!==t.id),o=(g=t.instructorIds)!=null&&g.length?th.filter(y=>t.instructorIds.includes(y.id)):[],a=t.classes&&t.classes.length>0,l=Object.fromEntries(n.map(y=>[y.name,y.shortDescription])),c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=a?(()=>{const y=new Date,k=[];for(let C=0;C<14;C++){const S=new Date(y);S.setDate(y.getDate()+C);const P=c[S.getDay()],N=(t.classes??[]).filter(A=>A.day===P);N.length>0&&k.push({dateStr:`${S.getFullYear()}-${S.getMonth()}-${S.getDate()}`,label:`${z7[P]}, ${u[S.getMonth()]} ${S.getDate()}`,classes:N})}return k})():[],h=t.programs&&t.programs.length>0,[p,v]=b.useState(!1),m=V7[t.slug]??[],w=D7[t.slug]??M7;return d.jsxs(d.Fragment,{children:[d.jsx(Xn,{pageKey:H1(e)}),d.jsx(vi,{data:q8(t)}),d.jsx(Zn,{}),d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Locations",href:"/locations"},{label:t.name,href:`/locations/${t.slug}`}]}),d.jsxs("main",{children:[d.jsxs("section",{className:"min-h-[80vh] flex items-center pt-28 md:pt-32 pb-16 relative overflow-hidden bg-black noise-overlay",children:[d.jsx("img",{src:w,alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover object-[center_65%] opacity-30"}),d.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_80%_60%_at_50%_40%,hsl(var(--gold)_/_0.10),transparent)] pointer-events-none"}),d.jsx("div",{className:"container mx-auto px-4 relative z-10",children:d.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[d.jsx(fe.p,{initial:{opacity:0,y:20}
314,animate:{opacity:1,y:0},transition:{duration:.7,delay:.05},className:"inline-block text-xs font-semibold font-body uppercase tracking-[0.2em] mb-6 px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 text-white",children:t.heroEyebrow??`${t.city}, ${t.state}`}),d.jsx(fe.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-bold text-white mb-6 text-balance tracking-tight leading-[1.05]",children:t.heroHeadline??t.name}),d.jsx(fe.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.2},className:"text-base md:text-lg font-body text-white/90 mb-10 max-w-2xl mx-auto leading-relaxed",children:t.heroBody??t.description}),d.jsxs(fe.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},className:"flex flex-col sm:flex-row gap-4 justify-center",children:[d.jsx(qn,{redirectUrl:t.bookingUrl,children:d.jsxs(We,{variant:"gold",size:"xl",children:["Book a trial",d.jsx(bt,{className:"ml-2 h-5 w-5"})]})}),d.jsx(We,{variant:"heroOutline",size:"xl",asChild:!0,children:d.jsx("a",{href:"#schedule",children:"View schedule"})})]}),d.jsx(fe.p,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6,delay:.45},className:"inline-block mt-8 text-xs font-semibold font-body uppercase tracking-[0.15em] px-4 py-1.5 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 text-white",children:"5.0â
Google Rating  ·  100+ Families Training  ·  92+ Reviews on Google"})]})})]}),d.jsx("section",{className:"py-20 md:py-28 bg-background relative",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:r.badgeColor},children:"What you'll find here"}),d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 tracking-tight",children:"Three principles, on every mat."})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:B7.map((y,k)=>d.jsxs(fe.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:k*.08},className:"bg-card border border-border rounded-xl p-6",children:[d.jsx(y.icon,{className:"w-6 h-6 text-[hsl(var(--gold))] mb-4"}),d.jsx("h3",{className:"text-lg font-bold text-foreground mb-2 tracking-tight",children:y.title}),d.jsx("p",{className:"text-sm text-muted-foreground font-body leading-relaxed",children:y.desc})]},y.title))})]})}),m.length>0&&d.jsx("section",{className:"py-20 md:py-28 bg-background relative overflow-hidden",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-10 md:mb-12",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:r.badgeColor},children:"Inside the dojo"}),d.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 tracking-tight",children:["A look at ",t.name,"."]})]}),d.jsxs(jA,{opts:{align:"start",loop:!0},className:"w-full",children:[d.jsx(NA,{className:"-ml-4",children:m.map((y,k)=>d.jsx(_A,{className:"pl-4 basis-full sm:basis-1/2 lg:basis-1/3",children:d.jsx("div",{className:"aspect-[4/3] overflow-hidden rounded-2xl border border-border shadow-sm",children:d.jsx("img",{src:y,alt:`${t.name} â photo ${k+1}`,className:"w-full h-full object-cover",loading:"lazy"})})},y))}),d.jsx(AA,{className:"-left-4 md:-left-12"}),d.jsx(MA,{className:"-right-4 md:-right-12"})]})]})}),h&&d.jsx("section",{className:"py-20 md:py-28 bg-secondary relative",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-10",children:[d.jsxs("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:r.badgeColor},children:["Programs at ",t.name]}),d.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 tracking-tight",children:["What we teach in ",t.city,"."]})]}),d.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.programs.map(y=>{const k=n.find(C=>C.slug===y);return k?d.jsxs(Pe,{to:`/classes/${y}`,className:"group bg-card border border-border rounded-xl p-6 hover:border-[hsl(var(--gold))]/40 hover:shadow-lg hover:-translate-y-0.5 transition-all duration-300 flex flex-col",children:[d.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-[0.15em] mb-2",style:{color:r.badgeColor},children:k.shortDescription}),d.jsx("h3",{className:"text-xl font-bold text-foreground tracking-tight mb-2",children:k.name}),d.jsx("p",{className:"text-sm text-muted-foreground font-body leading-relaxed flex-1",children:k.description}),d.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-medium text-foreground mt-4 group-hover:text-[hsl(var(--gold))] transition-colors",children:["Learn more",d.jsx(bt,{className:"w-3.5 h-3.5"})]})]},y):null})})]})}),d.jsx("section",{id:"schedule",className:"py-20 md:py-28 bg-secondary relative scroll-mt-28",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[d.jsxs("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:r.badgeColor},children:[t.name," class schedule"]}),d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 tracking-tight",children:"When we're on the mat."})]}),a?d.jsx("div",{className:"space-y-8 max-w-2xl mx-auto",children:f.map(y=>d.jsxs(fe.div,{initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4},children:[d.jsx("p",{className:"text-xs font-bold uppercase tracking-widest text-muted-foreground mb-3 pl-1",children:y.label}),d.jsx("div",{className:"space-y-2",children:y.classes.map((k,C)=>d.jsxs("div",{className:"bg-card border border-border rounded-xl px-4 py-3 flex items-center gap-4",children:[d.jsxs("div",{className:"flex-1 min-w-0",children:[d.jsx("p",{className:"text-sm font-semibold text-foreground leading-snug",children:k.name}),d.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-0.5 mt-0.5",children:[d.jsx("span",{className:"text-xs text-muted-foreground",children:k.time}),d.jsx("span",{className:"text-xs text-muted-foreground",children:"·"}),d.jsx("span",{className:"text-xs text-muted-foreground",children:k.duration}),l[k.name]&&d.jsxs(d.Fragment,{children:[d.jsx("span",{className:"text-xs text-muted-foreground",children:"·"}),d.jsx("span",{className:"text-xs font-semibold",style:{color:r.badgeColor},children:l[k.name]})]})]})]}),d.jsx(We,{variant:"outline",size:"sm",className:"shrink-0 text-xs h-8",onClick:()=>v(!0),children:"Book now"})]},C))})]},y.dateStr))}):d.jsxs("div",{className:"text-center max-w-md mx-auto",children:[d.jsx("p",{className:"text-muted-foreground mb-4",children:"Class times are being finalized for this location."}),d.jsx(We,{asChild:!0,variant:"outline",children:d.jsx("a",{href:`tel:${t.phoneRaw}`,children:"Call to confirm"})})]})]})}),o.length>0&&d.jsx("section",{className:"py-20 md:py-28 bg-primary noise-overlay relative",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-5xl relative z-10",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:r.badgeColor},children:"Meet the instructors"}),d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary-foreground mt-3 tracking-tight",children:"Who you'll train with."})]}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 max-w-3xl mx-auto",children:o.map((y,k)=>d.jsxs(fe.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:k*.08}
314,className:"bg-primary-foreground/[0.04] border border-primary-foreground/10 rounded-xl overflow-hidden",children:[d.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:d.jsx("img",{src:y.image,alt:y.name,className:"w-full h-full object-cover",style:{objectPosition:y.photoPosition??"center top"}})}),d.jsxs("div",{className:"p-4 text-center",children:[d.jsx("p",{className:"font-bold text-primary-foreground text-sm",children:y.name}),d.jsx("p",{className:"text-primary-foreground/50 text-xs font-body mt-0.5",children:y.title})]})]},y.id))})]})}),d.jsx("section",{className:"py-20 md:py-28 bg-background relative",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-12",children:[d.jsx("span",{className:"text-xs font-semibold font-body uppercase tracking-[0.2em]",style:{color:r.badgeColor},children:"Plan your visit"}),d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mt-3 tracking-tight",children:"Hours and how to find us."})]}),d.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[d.jsxs("div",{className:"bg-card border border-border rounded-2xl p-6",children:[d.jsxs("h3",{className:"text-lg font-bold text-foreground mb-4 flex items-center gap-2",children:[d.jsx(Ic,{className:"w-5 h-5 text-[hsl(var(--gold))]"}),"Hours"]}),t.hours.length>0?d.jsx("ul",{className:"space-y-2.5",children:t.hours.map((y,k)=>d.jsxs("li",{className:"flex justify-between text-sm",children:[d.jsx("span",{className:"font-medium text-foreground",children:y.days}),d.jsx("span",{className:"text-muted-foreground",children:y.time})]},k))}):d.jsx("p",{className:"text-sm text-muted-foreground",children:"Hours coming soon â call us to confirm."})]}),d.jsxs("div",{className:"bg-card border border-border rounded-2xl p-6",children:[d.jsx("h3",{className:"text-lg font-bold text-foreground mb-4",children:"Find us"}),d.jsxs("ul",{className:"space-y-3 text-sm",children:[d.jsxs("li",{className:"flex items-start gap-2.5",children:[d.jsx(Ia,{className:"w-4 h-4 mt-0.5 text-[hsl(var(--gold))] shrink-0"}),d.jsxs("span",{className:"text-foreground/80",children:[t.address,d.jsx("br",{}),t.city,", ",t.state," ",t.zip]})]}),d.jsxs("li",{className:"flex items-center gap-2.5",children:[d.jsx(cs,{className:"w-4 h-4 text-[hsl(var(--gold))] shrink-0"}),d.jsx("a",{href:`tel:${t.phoneRaw}`,className:"text-foreground hover:text-[hsl(var(--gold))] transition-colors",children:t.phone})]}),d.jsxs("li",{className:"flex items-center gap-2.5",children:[d.jsx(Cf,{className:"w-4 h-4 text-[hsl(var(--gold))] shrink-0"}),d.jsx("a",{href:`mailto:${t.email}`,className:"text-foreground hover:text-[hsl(var(--gold))] transition-colors break-all",children:t.email})]})]}),t.socials&&d.jsx(SA,{socials:t.socials,locationName:t.name,showLabel:!0,className:"mt-5 pt-4 border-t border-border"})]})]}),t.mapEmbedUrl&&d.jsx("iframe",{src:t.mapEmbedUrl,className:"w-full h-80 md:h-96 rounded-2xl border border-border mt-6",allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:`Map of ${t.name}`})]})}),d.jsx("section",{className:"py-14 md:py-20 bg-secondary",children:(x=t.deals)!=null&&x.length?d.jsx("div",{className:"container mx-auto px-4 max-w-3xl",children:d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 items-start",children:t.deals.map(y=>d.jsx(Rg,{deal:y,redirectUrl:t.bookingUrl},y.title))})}):d.jsx("div",{className:"container mx-auto px-4 max-w-md",children:d.jsx(Rg,{deal:i,redirectUrl:t.bookingUrl})})}),d.jsx("section",{className:"py-20 md:py-28 bg-background relative",children:d.jsx("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:d.jsxs(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[d.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-4 tracking-tight",children:"Come try a class."}),d.jsx("p",{className:"text-base md:text-lg text-muted-foreground mb-8 font-body leading-relaxed",children:"Show up five minutes early so we can say hi."}),d.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[d.jsx(qn,{redirectUrl:t.bookingUrl,children:d.jsxs(We,{variant:"gold",size:"lg",children:["Book a trial",d.jsx(bt,{className:"ml-2 h-4 w-4"})]})}),d.jsx(We,{variant:"outline",size:"lg",asChild:!0,children:d.jsx("a",{href:`tel:${t.phoneRaw}`,children:"Call or text"})})]})]})})})]}),d.jsx(qn,{open:p,onOpenChange:v,redirectUrl:t.bookingUrl}),d.jsx(eh,{pageKey:H1(e),location:{city:t.city}}),s.length>0&&d.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[d.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8 text-center tracking-tight",children:"Other locations"}),d.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:s.map((y,k)=>d.jsx(fe.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:k*.1},children:d.jsxs(Pe,{to:`/locations/${y.slug}`,className:"block bg-card border border-border rounded-xl p-4 hover:border-[hsl(var(--gold))]/50 transition-colors group",children:[d.jsx("h3",{className:"font-semibold text-foreground text-sm mb-1 group-hover:text-[hsl(var(--gold))] transition-colors",children:y.name}),d.jsxs("p",{className:"text-xs text-muted-foreground",children:[y.city,", ",y.state," ",y.zip]}),d.jsxs("span",{className:"inline-flex items-center gap-1 text-xs font-medium text-muted-foreground mt-2 group-hover:text-foreground transition-colors",children:["View details",d.jsx(bt,{className:"w-3 h-3"})]})]})},y.id))})]})}),d.jsx(Qn,{})]})},U7=()=>{const e=Tr(),t=xA("faq");return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"faq"}),d.jsx(vi,{data:wA(t)}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"FAQ",href:"/faq"}]}),d.jsx(Es,{badge:"Common questions",title:"The things parents ask first.",description:`Short answers about ${e.discipline}, our programs, and what to expect at ${e.name}.`}),d.jsx("section",{className:"py-12 md:py-16 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[d.jsxs("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed mb-10 text-center",children:["Quick answers to the questions we hear most often â including how to choose an academy, when kids can start, whether adults can begin with no prior experience, and how often to train. Tap any question to expand the answer. For program-specific details or scheduling, visit our ",d.jsx(Pe,{to:"/locations",className:"underline hover:text-foreground transition-colors",children:"locations page"})," or",d.jsx(Pe,{to:"/contact",className:"underline hover:text-foreground transition-colors",children:" contact us directly"}),"."]}),d.jsx(yA,{type:"single",collapsible:!0,className:"w-full",children:t.map((n,r)=>d.jsxs(yv,{value:`item-${r}`,children:[d.jsx(xv,{className:"text-left text-base font-semibold",children:n.question}),d.jsx(vv,{className:"text-muted-foreground",children:n.answer})]},r))})]})}),d.jsx("section",{className:"pb-20 md:pb-28 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:[d.jsx("div",{className:"w-12 h-[3px] bg-[hsl(var(--gold))] mx-auto mb-6 rounded-full"}),d.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-3 tracking-tight",children:"Still have a question?"}),d.jsx("p",{className:"text-muted-foreground font-body mb-8 leading-relaxed",children:"Our team is happy to help. Reach out and we'll get back to you within 24 hours."}
314),d.jsx(qn,{children:d.jsxs(We,{variant:"gold",size:"lg",children:["Contact Us",d.jsx(bt,{className:"ml-2 h-4 w-4"})]})})]})})]}),d.jsx(Qn,{})]})},W7=()=>{const e=bs();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),d.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:d.jsxs("div",{className:"text-center",children:[d.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),d.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),d.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},H7=`--- 315title: "Your First Blog Post" 316date: 2026-01-01 317author: Your Name 318summary: "This is an example blog post showing the frontmatter format. Delete this file and create your own .md files." 319--- 320 321Write your blog post content here using standard Markdown. 322 323## Subheadings Work 324 325So do **bold**, *italic*, [links](https://example.com), and all other Markdown features. 326 327> Blockquotes work too. 328 329- Bullet lists 330- Are supported 331- As well 332`,K7=`--- 333title: "Is Your 4â6-Year-Old Ready for Martial Arts?" 334date: 2026-08-11 335author: Empower Martial Arts 336summary: "Your child doesn't need to be fearless, athletic, or perfectly focused to begin martial arts. Here's what readiness really looks like for ages 4â6âand how we meet kids where they are." 337--- 338 339Your child does not need to be fearless, athletic, or perfectly focused to begin martial arts. 340 341Many children start feeling shy or nervousâand that is completely okay. At Empower Martial Arts, we meet kids where they are and help them build confidence through practice, encouragement, and small wins. 342 343Martial arts gives young children a place to move, learn, listen, make friends, and discover what they can do. 344 345## Confidence 346 347We help kids build calm, genuine confidenceânot become loud or aggressive. 348 349Confidence can be as simple as trying a new movement, speaking up, or trying again after making a mistake. Over time, these small moments help children feel more comfortable and capable. 350 351## Discipline Through Practice 352 353Discipline is not about being perfect. 354 355It is about showing up, listening, practicing, and trying again. At Empower Martial Arts, we believe progress comes from repetition and small winsânot overnight transformation. 356 357## A Place for the Whole Family 358 359We know family life is busy. Parents are partners, not spectators, and every family's schedule is different. 360 361Our goal is to create a welcoming place where children can grow and families feel supported. 362 363## Is Your Child Ready? 364 365Your child may be ready if they are interested in trying something new, enjoy being active, or are willing to participate with support. 366 367They do not need experience. They do not need perfect focus. They do not need to be outgoing. 368 369Martial arts is a place where children can develop those skills over time. 370 371At Empower Martial Arts, we help kids build confidence, practice discipline, and grow one small win at a time. 372 373Ready to get started? Schedule your child's first class and see what they can accomplish. 374 375ð [Learn more about our Junior Martial Arts program (ages 4â6)](/classes/junior-martial-arts) 376`,q7=`--- 377title: "Martial Arts School Owners â This One Is for You" 378date: 2026-08-11 379author: Empower Martial Arts 380summary: "What if your martial arts school could grow without constantly chasing new students? Join us at the Empower Martial Arts Bootcamp â Sunday, September 20, 2026 in East Brunswick/Milltown, NJ." 381--- 382 383## What if your martial arts school could grow without you constantly chasing new students? 384 385More leads are great. But leads alone don't build a successful school. 386 387You need a system that turns leads into enrollments, keeps students training longer, and creates more opportunities for growth. 388 389That's exactly what we're covering at the **Empower Martial Arts Bootcamp**. 390 391One full day focused on the systems behind a stronger, more profitable martial arts school: 392 393- Marketing 394- Enrollments 395- Retention 396- Upgrades 397 398No fluff. No sitting around taking notes all day. 399 400Just practical strategies, proven systems, and action steps you can take back to your school and put into practice. 401 402## The Details 403 404**Sunday, September 20, 2026**\\ 405**10:00 AM â 4:00 PM**\\ 406**East Brunswick/Milltown, NJ** 407 408If you're serious about growing your school, this is for you. 409 410Success leaves clues. Let's make it happen. 411 412**See you at Bootcamp.** 413 414ð [Contact us to reserve your spot](/contact) 415`,G7=`--- 416title: "The 2 Words That Can Hold Your Child Back â And What Parents Can Do About It" 417date: 2026-08-11 418author: Empower Martial Arts 419summary: "Every parent has heard âI can't.â Repeated often enough, kids start believing it. Here's how confidence is built through actionâand how to help your child say âI can't⦠yetâ instead." 420--- 421 422## When "I Can't" Becomes a Habit 423 424Every parent has heard it: 425 426"I can't." 427 428Maybe your child says it when something feels difficult. Maybe they're nervous about trying something new, afraid of making a mistake, or unsure of themselves around others. 429 430One "I can't" may not seem like a big deal. But when children repeat those words often enough, they can start believing them. 431 432Instead of thinking, "This is hard," they begin thinking, "I'm not capable." And that belief can affect how they approach school, friendships, sports, challenges, and new experiences. 433 434## Confidence Gives Kids More Choices 435 436A confident child doesn't believe everything will be easy. They simply believe they can try. 437 438That difference matters. 439 440A confident child is more likely to: 441 442- Raise their hand even when they're unsure 443- Try again after making a mistake 444- Speak up when they need help 445- Meet new people and make new friends 446- Take on challenges instead of avoiding them 447- Keep going when something doesn't come easily 448 449Confidence doesn't mean never being nervous or afraid. It means learning that fear doesn't have to make the decision. 450
451## Confidence Is Built Through Action 452 453You can tell a child, "You're strong." But eventually, they need experiences that allow them to feel strong for themselves. 454 455That's one reason structured activities like martial arts can be so valuable. 456 457At Empower Martial Arts, children are constantly given opportunities to practice courage, discipline, focus, and perseverance. 458 459They learn to: 460 461Try.\\ 462Make mistakes.\\ 463Learn.\\ 464Try again.\\ 465Improve. 466 467And over time, those small victories begin changing how they see themselves. 468 469The child who once said, "I can't," starts saying: 470 471"Let me try." 472 473Then: 474 475"I can do this." 476 477## Small Wins Can Create Big Changes 478 479A child may walk into their first class feeling nervous. They may be shy about meeting the instructor. They may struggle with a new technique. They may feel frustrated when something doesn't work right away. 480 481But then something happens. 482 483They get it.\\ 484They finish the drill.\\ 485They earn their next stripe.\\ 486They remember something they struggled with last week.\\ 487They help another student.\\ 488They step up in front of the class. 489 490Those moments may seem small, but they build something much bigger: belief. 491 492Every small accomplishment gives a child another reason to believe they are capable of accomplishing the next one. 493 494## Parents Can Help Build That Mindset at Home 495 496You don't have to eliminate every challenge your child faces. Instead, help them learn how to work through challenges. 497 498When you hear "I can't," try asking: 499 500- "What part feels difficult?" 501- "What could you try first?" 502- "Do you want to try it together?" 503 504And when they make progress, celebrate the effortânot just the result. 505 506Instead of only saying, "Good job!", try: 507 508"I'm proud of you for not giving up." 509 510That teaches children something powerful: their ability isn't fixed. They can learn, improve, and grow. 511 512## Give Your Child a Place to Practice Confidence 513 514Confidence isn't built by telling children they should be confident. It's built by giving them opportunities to prove to themselves that they can handle challenges. 515 516That's what we work toward every day at Empower Martial Arts. 517 518Martial arts is about much more than punches and kicks. It gives children a structured environment where they can develop: 519 520- Confidence 521- Discipline 522- Focus 523- Respect 524- Leadership 525- Resilience 526- Perseverance 527 528And perhaps most importantly, they learn that struggling with something doesn't mean they can't do it. It means they're still learning. 529 530## What Will Your Child Say Next? 531 532The goal isn't to make sure your child never says "I can't." The goal is to help them learn what to say next: 533 534"I can't⦠yet." 535 536Because that one wordâyetâleaves the door open. 537 538It leaves room to learn.\\ 539Room to grow.\\ 540Room to become stronger. 541 542## Help Your Child Build Confidence One Class at a Time 543 544At Empower Martial Arts, we believe every child deserves the opportunity to discover what they're capable of. 545 546Because confidence isn't something kids are simply born with. It's something they can buildâone challenge, one lesson, and one small victory at a time. 547 548Ready to help your child take that first step? 549 550ð [Contact Empower Martial Arts](/contact) to learn more about our programs and get started. 551`,Y7=`--- 552title: "Welcome to Empower Martial Arts" 553date: 2026-08-11 554author: Empower Martial Arts 555summary: "Martial arts is about more than punches and kicks. Meet Empower Martial Arts: our philosophy, our three core principles, and what makes training here different." 556--- 557 558At Empower Martial Arts, we believe martial arts is about more than punches, kicks, and physical training. It's about helping students build confidence, discipline, respect, and life skills that make them stronger both inside and outside the dojo. 559 560Our goal is to create a positive and supportive environment where students can challenge themselves, overcome obstacles, and become the best version of themselves. 561 562## Our Philosophy 563 564At Empower Martial Arts, we focus on building strong martial artists and strong individuals through three core principles: 565 566### Confidence 567 568We help students believe in themselves, face challenges with courage, and develop the confidence to try new things. 569 570### Discipline 571 572Through consistent training and practice, students learn focus, commitment, patience, and the importance of never giving up. 573 574### Respect 575 576Students learn to respect themselves, their instructors, their teammates, and the people around them. 577 578## What Makes Empower Martial Arts Different 579 580We believe the lessons learned in martial arts go far beyond the dojo. 581 582Our training combines martial arts instruction with character development, helping students develop skills they can use at home, at school, and throughout their everyday lives. 583 584Whether a student is learning their first martial arts technique, working toward their next belt, or overcoming a personal challenge, our instructors are here to guide and encourage them every step of the way. 585 586At Empower Martial Arts, we're not just teaching martial artsâwe're helping students become stronger, more confident, disciplined, and respectful individuals. 587 588## More Than Martial Arts 589 590Every class is an opportunity to learn something new, build confidence, make progress, and grow. 591 592We're proud to help students develop skills that can last a lifetimeâfrom focus and perseverance to leadership and self-confidence. 593 594## Start Your Journey With Empower Martial Arts 595 596Whether you're looking for a positive activity for your child, a way to build confidence and discipline, or a new challenge for yourself, Empower Martial Arts is ready to help you get started. 597 598Train with us. Build confidence. Grow stronger. Become empowered. 599 600**Empower Martial Arts**\\ 601*Building Confidence, Discipline, and Skills for Life.* 602`,Z7=`--- 603title: "What Should Parents Look For in a Martial Arts School?" 604date: 2026-08-11 605author: Empower Martial Arts 606summary: "Choosing a martial arts school is about more than a convenient schedule. Four things to look for: qualified instructors, a clean facility, a structured curriculum, and a supp
606ortive community." 607--- 608 609Choosing a martial arts school is about more than finding a convenient schedule. You're choosing an environment where your child will learn, grow, and build confidence. 610 611When looking for the right program, consider these important factors: 612 613## Qualified Instructors 614 615The instructor can make a huge difference in your child's experience. Look for qualified instructors who know how to teach martial arts while creating a positive and supportive environment for students. 616 617## A Clean, Safe Facility 618 619Your child should feel comfortable the moment they walk through the doors. A clean, organized training space is an important part of creating a safe and welcoming environment. 620 621## A Structured Curriculum 622 623Children thrive when they know what they're working toward. A structured martial arts curriculum gives students clear goals while helping them develop discipline, confidence, physical fitness, and practical self-defense skills. 624 625## A Supportive Community 626 627One of the best things about martial arts is that children don't have to grow alone. 628 629They train alongside other students, encourage one another, and learn the importance of respect and teamwork. 630 631Martial arts can create a strong sense of community among students of all agesâand that sense of belonging can make a big difference in a child's journey. 632 633At Empower Martial Arts, we believe the right martial arts experience should help your child become stronger physically, mentally, and personally. 634`,Q7=`--- 635title: "Why Some Kids Give Up Too Easilyâand How to Help Them Keep Going" 636date: 2026-07-27 637author: Empower Martial Arts 638summary: "It's normal for kids to say âI can't do it.â What matters is what happens next. Here's how parents can build resilience at homeâand how martial arts helps children learn to keep going." 639--- 640 641## Every Child Faces Challenges. Not Every Child Learns How to Overcome Them. 642 643It's normal for children to become frustrated when something feels difficult. Whether it's learning at school, making new friends, or trying a new activity, many kids quickly say, "I can't do it." 644 645The challenge isn't failure. It's what happens after. 646 647Children who learn to work through frustration develop confidence that lasts. They begin to understand that success isn't about getting everything right the first timeâit's about showing up, staying patient, and improving one step at a time. 648 649That's where resilience begins. 650 651## Why Some Kids Give Up So Quickly 652 653Today's children live in a world where almost everything happens instantly. When progress takes time, it's easy to become discouraged. Many children start believing that if something is hard, it means they aren't good at it. 654 655But confidence doesn't come from avoiding challenges. It comes from overcoming them. 656 657As parents, it's natural to want to protect our children from frustration. Yet some of the biggest moments of growth happen when we encourage them to keep going instead of stepping in. 658 659## What Builds Resilience? 660 661Resilience isn't taught in one conversation. It's built through consistent experiences that teach children to trust themselves. 662 663Parents can encourage resilience by: 664 665- Praising effort instead of perfection 666- Letting children solve age-appropriate problems 667- Celebrating progress, not just big achievements 668- Reminding them that mistakes are part of learning 669- Encouraging them to try one more time instead of giving up 670 671Small moments like these teach children that progress is earnedânot given. 672 673## Why Martial Arts Helps 674 675At Empower Martial Arts, every class is another opportunity for children to practice discipline, focus, and perseverance. 676 677Students aren't expected to be perfect. They're encouraged to improve. 678 679One class.\\ 680One technique.\\ 681One belt.\\ 682One victory at a time. 683 684That's why our students don't just learn martial arts. They build habits that help them succeed at school, at home, and throughout life. 685 686Our programs help children develop: 687 688- Confidence without arrogance 689- Focus that carries into the classroom 690- Discipline through consistent practice 691- Respect for themselves and others 692- The perseverance to keep going when things get difficult 693 694As we often say: 695 696> Discipline on the Mat. Confidence for Life. 697 698## Progress Creates Confidence 699 700Children don't become confident because someone tells them they are. They become confident because they accomplish things they once thought they couldn't. 701 702Every belt earned...\\ 703Every challenge overcome...\\ 704Every class completed... 705 706Becomes proof that they're capable of more than they believed. 707 708That's confidence built the right way. 709 710## A Kid-Friendly, Beginner-Friendly Martial Arts School 711 712Empower Martial Arts is proud to offer kid-friendly martial arts classes in a positive, encouraging environment where children of all experience levels can thrive. Whether your child is trying martial arts for the first time or looking to build confidence, our beginner-friendly martial arts programs are designed to help every student succeed at their own pace. 713 714Every child starts somewhere, and our instructors are committed to helping each student develop confidence, focus, discipline, and resilienceâone class at a time. 715 716## Strong Kids. Strong Families. 717 718At Empower Martial Arts, we believe martial arts is about much more than kicks and punches. It's about helping children become focused, respectful, and resilient while giving families a positive community where they can grow together. 719 720Because when children learn discipline... confidence follows. And that confidence lasts far beyond the mat. 721 722## Visit One of Our Locations 723 724ð **[Empower Martial Arts of East Brunswick](/locations/milltown)**\\ 725262 Ryders Lane, Milltown, NJ 08850\\ 726Phone: [(732) 705-6995](tel:+17327056995) 727 728ð **[Empower Martial Arts of Matawan](/locations/matawan)**\\ 7291070 Route 34, Matawan, NJ 07747\\ 730Phone: [(732) 288-6446](tel:+17322886446) 731 732ð **[Empower Martial Arts of Edison](/locations/edison)**\\ 7332090 Oak Tree Road, Edison, NJ 08820\\ 734Phone: [(732) 515-3063](tel:+17325153063) 735 736## Book a Welcome Class 737 738Every child starts somewhere. Whether your child needs more confidence, better focus, or simply a positive activity they'll enjoy, we'd love to welcome your family. 739 740Book your Welcome Class today and discover how discipline on the mat builds confidence for life. 741`;function X7(e){const t=e.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n?([\s\S]*)$/);if(!t)return{data:{},content:e};const[,n,r]=t,i={};for(const s of n.split(/\r?\n/)){if(!s.trim()||s.trim().startsWith("#"))continue;const o=s.match(/^([A-Za-z][\w-]*)\s*:\s*(.*)$/);if(!o)continue;const[,a,l]=o;i[a]=J7(l.trim())}return{data:i,content:r}}function J7(e){if(e.length>=2){const t=e[0],n=e[e.length-1];if(t==='"'&&n==='"'||t==="'"&&n==="'")return e.slice(1,-1)}return e}const eW=Object.assign({"../content/blog/_example.md":H7,"../content/blog/is-your-4-6-year-old-ready-for-marti
741al-arts.md":K7,"../content/blog/martial-arts-bootcamp-for-school-owners.md":q7,"../content/blog/the-2-words-that-can-hold-your-child-back.md":G7,"../content/blog/welcome-to-empower-martial-arts.md":Y7,"../content/blog/what-should-parents-look-for-in-a-martial-arts-school.md":Z7,"../content/blog/why-some-kids-give-up-too-easily.md":Q7});function tW(e,t){const n=e.match(/\/([^/]+)\.md$/),r=n?n[1]:e,{data:i,content:s}=X7(t);return{slug:r,title:i.title??"",date:i.date??"",author:i.author??"",summary:i.summary??"",body:s.trim()}}const Og=Object.entries(eW).map(([e,t])=>tW(e,t)).filter(e=>!e.slug.startsWith("_")).sort((e,t)=>t.date.localeCompare(e.date));function nW(e){return Og.find(t=>t.slug===e)}function rW(e){const[t,n,r]=e.split("-").map(Number);return!t||!n||!r?e:new Date(Date.UTC(t,n-1,r)).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",timeZone:"UTC"})}const iW=()=>{const e=Of(),t=Df();return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"blog"}),d.jsx(vi,{data:Q8(Og)}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Blog",href:"/blog"}]}),d.jsx(Es,{badge:"Blog",title:(e==null?void 0:e.heading)??"Blog",description:e==null?void 0:e.description}),d.jsx("section",{className:"py-12 md:py-16 bg-background",children:d.jsx("div",{className:"container mx-auto px-4 max-w-3xl",children:d.jsx("ul",{"aria-label":"Blog posts",className:"space-y-10",children:Og.map(n=>d.jsxs("li",{className:"border-b border-border pb-8 last:border-b-0",children:[d.jsxs("p",{className:"text-xs font-semibold font-body text-muted-foreground uppercase tracking-[0.2em] mb-2",children:[d.jsx("time",{dateTime:n.date,children:rW(n.date)}),d.jsx("span",{className:"mx-2",children:"·"}),d.jsxs("span",{children:["By ",n.author]})]}),d.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-3 leading-tight",children:d.jsx(Pe,{to:`/blog/${n.slug}`,className:"hover:text-[hsl(var(--gold))] transition-colors",children:n.title})}),d.jsx("p",{className:"text-muted-foreground font-body leading-relaxed mb-4",children:n.summary}),d.jsxs(Pe,{to:`/blog/${n.slug}`,className:"inline-flex items-center gap-2 text-sm font-semibold text-foreground hover:text-[hsl(var(--gold))] transition-colors","aria-label":`Read more: ${n.title}`,children:["Read more",d.jsx(bt,{className:"w-4 h-4"})]})]},n.slug))})})}),d.jsx("section",{className:"pb-20 md:pb-28 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:[d.jsx("div",{className:"w-12 h-[3px] bg-[hsl(var(--gold))] mx-auto mb-6 rounded-full"}),d.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-3 tracking-tight",children:(e==null?void 0:e.ctaHeading)??"Want to train with us?"}),d.jsx("p",{className:"text-muted-foreground font-body mb-8 leading-relaxed",children:(e==null?void 0:e.ctaDescription)??"Book a free trial class today."}),d.jsx(qn,{children:d.jsxs(We,{variant:"gold",size:"lg",children:[t.ctaLabel,d.jsx(bt,{className:"ml-2 h-4 w-4"})]})})]})})]}),d.jsx(Qn,{})]})};function sW(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const oW=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,aW=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,lW={};function J1(e,t){return(lW.jsx?aW:oW).test(e)}const cW=/[ \t\n\f\r]/g;function uW(e){return typeof e=="object"?e.type==="text"?ek(e.value):!1:ek(e)}function ek(e){return e.replace(cW,"")===""}class Uc{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Uc.prototype.normal={};Uc.prototype.property={};Uc.prototype.space=void 0;function RA(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Uc(n,r,t)}function Lg(e){return e.toLowerCase()}class wn{constructor(t,n){this.attribute=n,this.property=t}}wn.prototype.attribute="";wn.prototype.booleanish=!1;wn.prototype.boolean=!1;wn.prototype.commaOrSpaceSeparated=!1;wn.prototype.commaSeparated=!1;wn.prototype.defined=!1;wn.prototype.mustUseProperty=!1;wn.prototype.number=!1;wn.prototype.overloadedBoolean=!1;wn.prototype.property="";wn.prototype.spaceSeparated=!1;wn.prototype.space=void 0;let dW=0;const _e=vo(),Et=vo(),Fg=vo(),Z=vo(),Xe=vo(),sa=vo(),kn=vo();function vo(){return 2**++dW}const Vg=Object.freeze(Object.defineProperty({__proto__:null,boolean:_e,booleanish:Et,commaOrSpaceSeparated:kn,commaSeparated:sa,number:Z,overloadedBoolean:Fg,spaceSeparated:Xe},Symbol.toStringTag,{value:"Module"})),Sp=Object.keys(Vg);class Ev extends wn{constructor(t,n,r,i){let s=-1;if(super(t,n),tk(this,"space",i),typeof r=="number")for(;++s<Sp.length;){const o=Sp[s];tk(this,Sp[s],(r&Vg[o])===Vg[o])}}}Ev.prototype.defined=!0;
vendor: 4,097 bytes, line 741
741function tk(e,t,n){n&&(e[t]=n)}function Ha(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const s=new Ev(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Lg(r)]=r,n[Lg(s.attribute)]=r}return new Uc(t,n,e.space)}const IA=Ha({properties:{ariaActiveDescendant:null,ariaAtomic:Et,ariaAutoComplete:null,ariaBusy:Et,ariaChecked:Et,ariaColCount:Z,ariaColIndex:Z,ariaColSpan:Z,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:Et,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:Et,ariaFlowTo:Xe,ariaGrabbed:Et,ariaHasPopup:null,ariaHidden:Et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:Z,ariaLive:null,ariaModal:Et,ariaMultiLine:Et,ariaMultiSelectable:Et,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:Z,ariaPressed:Et,ariaReadOnly:Et,ariaRelevant:null,ariaRequired:Et,ariaRoleDescription:Xe,ariaRowCount:Z,ariaRowIndex:Z,ariaRowSpan:Z,ariaSelected:Et,ariaSetSize:Z,ariaSort:null,ariaValueMax:Z,ariaValueMin:Z,ariaValueNow:Z,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function DA(e,t){return t in e?e[t]:t}function OA(e,t){return DA(e,t.toLowerCase())}const fW=Ha({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:sa,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:_e,allowPaymentRequest:_e,allowUserMedia:_e,alt:null,as:null,async:_e,autoCapitalize:null,autoComplete:Xe,autoFocus:_e,autoPlay:_e,blocking:Xe,capture:null,charSet:null,checked:_e,cite:null,className:Xe,cols:Z,colSpan:null,content:null,contentEditable:Et,controls:_e,controlsList:Xe,coords:Z|sa,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_e,defer:_e,dir:null,dirName:null,disabled:_e,download:Fg,draggable:Et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_e,formTarget:null,headers:Xe,height:Z,hidden:Fg,high:Z,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:_e,inputMode:null,integrity:null,is:null,isMap:_e,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:_e,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_e,low:Z,manifest:null,max:null,maxLength:Z,media:null,method:null,min:null,minLength:Z,multiple:_e,muted:_e,name:null,nonce:null,noModule:_e,noValidate:_e,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:_e,optimum:Z,pattern:null,ping:Xe,placeholder:null,playsInl
741ine:_e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_e,referrerPolicy:null,rel:Xe,required:_e,reversed:_e,rows:Z,rowSpan:Z,sandbox:Xe,scope:null,scoped:_e,seamless:_e,selected:_e,shadowRootClonable:_e,shadowRootDelegatesFocus:_e,shadowRootMode:null,shape:null,size:Z,sizes:null,slot:null,span:Z,spellCheck:Et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Z,step:null,style:null,tabIndex:Z,target:null,title:null,translate:null,type:null,typeMustMatch:_e,useMap:null,value:Et,width:Z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:Z,borderColor:null,bottomMargin:Z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_e,declare:_e,event:null,face:null,frame:null,frameBorder:null,hSpace:Z,leftMargin:Z,link:null,longDesc:null,lowSrc:null,marginHeight:Z,marginWidth:Z,noResize:_e,noHref:_e,noShade:_e,noWrap:_e,object:null,profile:null,prompt:null,rev:null,rightMargin:Z,rules:null,scheme:null,scrolling:Et,standby:null,summary:null,text:null,topMargin:Z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:_e,disableRemotePlayback:_e,prefix:null,property:null,results:Z,security:null,unselectable:null},space:"html",transform:OA}),hW=Ha({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",colorRendering:"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
741-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:kn,accentHeight:Z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Z,amplitude:Z,arabicForm:null,ascent:Z,attributeName:null,attributeType:null,azimuth:Z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Z,by:null,calcMode:null,capHeight:Z,className:Xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Z,diffuseConstant:Z,direction:null,display:null,dur:null,divisor:Z,dominantBaseline:null,download:_e,dx:null,dy:null,edgeMode:null,editable:null,elevation:Z,enableBackground:null,end:null,event:null,exponent:Z,externalResourcesRequired:null,fill:null,fillOpacity:Z,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:sa,g2:sa,glyphName:sa,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Z,horizOriginX:Z,horizOriginY:Z,id:null,ideographic:Z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Z,k:Z,k1:Z,k2:Z,k3:Z,k4:Z,kernelMatrix:kn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Z,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:Z,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,on
741Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Z,overlineThickness:Z,paintOrder:null,panose1:null,path:null,pathLength:Z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Z,pointsAtY:Z,pointsAtZ:Z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:kn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:kn,rev:kn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:kn,requiredFeatures:kn,requiredFonts:kn,requiredFormats:kn,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:Z,specularExponent:Z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Z,strikethroughThickness:Z,string:null,stroke:null,strokeDashArray:kn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Z,strokeOpacity:Z,strokeWidth:null,style:null,surfaceScale:Z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:kn,tabIndex:Z,tableValues:null,target:null,targetX:Z,targetY:Z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:kn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Z,underlineThickness:Z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Z,values:null,vAlphabetic:Z,vMathematical:Z,vectorEffect:null,vHanging:Z,vIdeographic:Z,version:null,vertAdvY:Z,vertOriginX:Z,vertOriginY:Z,viewB
vendor: 4,190 bytes, lines 741-742
741ox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:DA}),LA=Ha({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),FA=Ha({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:OA}),VA=Ha({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),pW={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"},mW=/[A-Z]/g,nk=/-[a-z]/g,gW=/^data[-\w.:]+$/i;function yW(e,t){const n=Lg(t);let r=t,i=wn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&gW.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(nk,vW);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!nk.test(s)){let o=s.replace(mW,xW);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Ev}return new i(r,t)}function xW(e){return"-"+e.toLowerCase()}function vW(e){return e.charAt(1).toUpperCase()}const wW=RA([IA,fW,LA,FA,VA],"html"),Tv=RA([IA,hW,LA,FA,VA],"svg");function bW(e){return e.join(" ").trim()}var Pv={},rk=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,kW=/\n/g,SW=/^\s*/,CW=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,EW=/^:\s*/,TW=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,PW=/^[;\s]*/,jW=/^\s+|\s+$/g,NW=` 742`,ik="/",sk="*",Ls="",_W="comment",AW="declaration";function MW(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(v){var m=v.match(kW);m&&(n+=m.length);var w=v.lastIndexOf(NW);r=~w?v.length-w:r+v.length}function s(){var v={line:n,column:r};return function(m){return m.position=new o(v),c(),m}}function o(v){this.start=v,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function a(v){var m=new Error(t.source+":"+n+":"+r+": "+v);if(m.reason=v,m.filename=t.source,m.line=n,m.column=r,m.source=e,!t.silent)throw m}function l(v){var m=v.exec(e);if(m){var w=m[0];return i(w),e=e.slice(w.length),m}}function c(){l(SW)}function u(v){var m;for(v=v||[];m=f();)m!==!1&&v.push(m);return v}function f(){var v=s();if(!(ik!=e.charAt(0)||sk!=e.charAt(1))){for(var m=2;Ls!=e.charAt(m)&&(sk!=e.charAt(m)||ik!=e.charAt(m+1));)++m;if(m+=2,Ls===e.charAt(m-1))return a("End of comment missing");var w=e.slice(2,m-2);return r+=2,i(w),e=e.slice(m),r+=2,v({type:_W,comment:w})}}function h(){var v=s(),m=l(CW);if(m){if(f(),!l(EW))return a("property missing ':'");var w=l(TW),g=v({type:AW,property:ok(m[0].replace(rk,Ls)),value:w?ok(w[0].replace(rk,Ls)):Ls});return l(PW),g}}function p(){var v=[];u(v);for(var m;m=h();)m!==!1&&(v.push(m),u(v));return v}return c(),p()}function ok(e){return e?e.replace(jW,Ls):Ls}var RW=MW,IW=nd&&nd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Pv,"__esModule",{value:!0});Pv.default=OW;const DW=IW(RW);function OW(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,DW.default)(e),i=typeof t=="function";return r.forEach(s=>{if(s.type!=="declaration")return;const{property:o,value:a}=s;i?t(o,a,s):a&&(n=n||{},n[o]=a)}),n}var ih={};Object.defineProperty(ih,"__esModule",{value:!0});ih.camelCase=void 0;var LW=/^--[a-zA-Z0-9_-]+$/,FW=/-([a-z])/g,VW=/^[^-]+$/,BW=/^-(webkit|moz|ms|o|khtml)-/,zW=/^-(ms)-/,$W=function(e){return!e||VW.test(e)||LW.test(e)},UW=function(e,t){return t.toUpperCase()},ak=function(e,t){return"".concat(t,"-")},WW=function(e,t){return t===void 0&&(t={}),$W(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(zW,ak):e=e.replace(BW,ak),e.replace(FW,UW))};
vendor: 2,859 bytes, line 742
742ih.camelCase=WW;var HW=nd&&nd.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},KW=HW(Pv),qW=ih;function Bg(e,t){var n={};return!e||typeof e!="string"||(0,KW.default)(e,function(r,i){r&&i&&(n[(0,qW.camelCase)(r,t)]=i)}),n}Bg.default=Bg;var GW=Bg;const YW=mo(GW),BA=zA("end"),jv=zA("start");function zA(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 ZW(e){const t=jv(e),n=BA(e);if(t&&n)return{start:t,end:n}}function Vl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?lk(e.position):"start"in e||"end"in e?lk(e):"line"in e||"column"in e?zg(e):""}function zg(e){return ck(e&&e.line)+":"+ck(e&&e.column)}function lk(e){return zg(e&&e.start)+"-"+zg(e&&e.end)}function ck(e){return e&&typeof e=="number"?e:1}class Jt extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?s.ruleId=r:(s.source=r.slice(0,l),s.ruleId=r.slice(l+1))}if(!s.place&&s.ancestors&&s.ancestors){const l=s.ancestors[s.ancestors.length-1];l&&(s.place=l.position)}const a=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=Vl(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Jt.prototype.file="";Jt.prototype.name="";Jt.prototype.reason="";Jt.prototype.message="";Jt.prototype.stack="";Jt.prototype.column=void 0;Jt.prototype.line=void 0;Jt.prototype.ancestors=void 0;Jt.prototype.cause=void 0;Jt.prototype.fatal=void 0;Jt.prototype.place=void 0;Jt.prototype.ruleId=void 0;Jt.prototype.source=void 0;const Nv={}.hasOwnProperty,QW=new Map,XW=/[A-Z]/g,JW=new Set(["table","tbody","thead","tfoot","tr"]),eH=new Set(["td","th"]),$A="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function tH(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=cH(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 742
742if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=lH(n,t.jsx,t.jsxs)}const i={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"?Tv:wW,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=UA(i,e,void 0);return s&&typeof s!="string"?s:i.create(e,i.Fragment,{children:s||void 0},void 0)}function UA(e,t,n){if(t.type==="element")return nH(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return rH(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return sH(e,t,n);if(t.type==="mdxjsEsm")return iH(e,t);if(t.type==="root")return oH(e,t,n);if(t.type==="text")return aH(e,t)}function nH(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Tv,e.schema=i),e.ancestors.push(t);const s=HA(e,t.tagName,!1),o=uH(e,t);let a=Av(e,t);return JW.has(t.tagName)&&(a=a.filter(function(l){return typeof l=="string"?!uW(l):!0})),WA(e,o,s,t),_v(o,a),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function rH(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)}kc(e,t.position)}function iH(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);kc(e,t.position)}function sH(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Tv,e.schema=i),e.ancestors.push(t);const s=t.name===null?e.Fragment:HA(e,t.name,!0),o=dH(e,t),a=Av(e,t);return WA(e,o,s,t),_v(o,a),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function oH(e,t,n){const r={};return _v(r,Av(e,t)),e.create(t,e.Fragment,r,n)}function aH(e,t){return t.value}function WA(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function _v(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function lH(e,t,n){return r;function r(i,s,o,a){const c=Array.isArray(o.children)?n:t;return a?c(s,o,a):c(s,o)}}function cH(e,t){return n;function n(r,i,s,o){const a=Array.isArray(s.children),l=jv(r);return t(i,s,o,a,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function uH(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Nv.call(t.properties,i)){const s=fH(e,i,t.properties[i]);if(s){const[o,a]=s;e.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&eH.has(t.tagName)?r=a:n[o]=a}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function dH(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const o=s.expression;o.type;const a=o.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else kc(e,t.position);else{const i=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,s=e.evaluater.evaluateExpression(a.expression)}else kc(e,t.position);else s=r.value===null?!0:r.value;n[i]=s}return n}function Av(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:QW;for(;++r<t.children.length;){const s=t.children[r];let o;if(e.passKeys){const l=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(l){const c=i.get(l)||0;o=l+"-"+c,i.set(l,c+1)}}const a=UA(e,s,o);a!==void 0&&n.push(a)}return n}function fH(e,t,n){const r=yW(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?sW(n):bW(n)),r.property==="style"){let i=typeof n=="object"?n:hH(e,String(n));return e.stylePropertyNameCase==="css"&&(i=pH(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?pW[r.property]||r.property:r.attribute,n]}}function hH(e,t){try{return YW(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new Jt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=$A+"#cannot-parse-style-attribute",i}}function HA(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let s=-1,o;for(;++s<i.length;){const a=J1(i[s])?{type:"Identifier",name:i[s]}:{type:"Literal",value:i[s]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(s&&a.type==="Literal"),optional:!1}:a}r=o}else r=J1(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Nv.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);kc(e)}function kc(e,t){const n=new Jt("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=$A+"#cannot-handle-mdx-estrees-without-createevaluater",n}function pH(e){const t={};let n;for(n in e)Nv.call(e,n)&&(t[mH(n)]=e[n]);return t}function mH(e){let t=e.replace(XW,gH);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function gH(e){return"-"+e.toLowerCase()}const Cp={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"]},yH={};function Mv(e,t){const n=yH,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return KA(e,r,i)}function KA(e,t,n){if(xH(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 uk(e.children,t,n)}return Array.isArray(e)?uk(e,t,n):""}function uk(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=KA(e[i],t,n);return r.join("")}function xH(e){return!!(e&&typeof e=="object")}const dk=document.createElement("i");function Rv(e){const t="&"+e+";";dk.innerHTML=t;const n=dk.textContent;
vendor: 13,437 bytes, line 742
742return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Nn(e,t,n,r){const i=e.length;let s=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function $n(e,t){return e.length>0?(Nn(e,e.length,0,t),e):t}const fk={}.hasOwnProperty;function qA(e){const t={};let n=-1;for(;++n<e.length;)vH(t,e[n]);return t}function vH(e,t){let n;for(n in t){const i=(fk.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){fk.call(i,o)||(i[o]=[]);const a=s[o];wH(i[o],Array.isArray(a)?a:a?[a]:[])}}}function wH(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Nn(e,0,0,r)}function GA(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 br(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const on=Ts(/[A-Za-z]/),Zt=Ts(/[\dA-Za-z]/),bH=Ts(/[#-'*+\--9=?A-Z^-~]/);function ef(e){return e!==null&&(e<32||e===127)}const $g=Ts(/\d/),kH=Ts(/[\dA-Fa-f]/),SH=Ts(/[!-/:-@[-`{-~]/);function ge(e){return e!==null&&e<-2}function Ye(e){return e!==null&&(e<0||e===32)}function Ie(e){return e===-2||e===-1||e===32}const sh=Ts(new RegExp("\\p{P}|\\p{S}","u")),po=Ts(/\s/);function Ts(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ka(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&Zt(e.charCodeAt(n+1))&&Zt(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const a=e.charCodeAt(n+1);s<56320&&a>56319&&a<57344?(o=String.fromCharCode(s,a),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Le(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(l){return Ie(l)?(e.enter(n),a(l)):t(l)}function a(l){return Ie(l)&&s++<i?(e.consume(l),a):(e.exit(n),t(l))}}const CH={tokenize:EH};function EH(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Le(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),s(a)}function s(a){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return ge(a)?(e.consume(a),e.exit("chunkText"),s):(e.consume(a),o)}}const TH={tokenize:PH},hk={tokenize:jH};function PH(e){const t=this,n=[];let r=0,i,s,o;return a;function a(y){if(r<n.length){const k=n[r];return t.containerState=k[1],e.attempt(k[0].continuation,l,c)(y)}return c(y)}function l(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&x();const k=t.events.length;let C=k,S;for(;C--;)if(t.events[C][0]==="exit"&&t.events[C][1].type==="chunkFlow"){S=t.events[C][1].end;break}g(r);let P=k;for(;P<t.events.length;)t.events[P][1].end={...S},P++;return Nn(t.events,C+1,0,t.events.slice(k)),t.events.length=P,c(y)}return a(y)}function c(y){if(r===n.length){if(!i)return h(y);if(i.currentConstruct&&i.currentConstruct.concrete)return v(y);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(hk,u,f)(y)}function u(y){return i&&x(),g(r),h(y)}function f(y){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,v(y)}function h(y){return t.containerState={},e.attempt(hk,p,v)(y)}function p(y){return r++,n.push([t.currentConstruct,t.containerState]),h(y)}function v(y){if(y===null){i&&x(),g(0),e.consume(y);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:s}),m(y)}function m(y){if(y===null){w(e.exit("chunkFlow"),!0),g(0),e.consume(y);return}return ge(y)?(e.consume(y),w(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(y),m)}function w(y,k){const C=t.sliceStream(y);if(k&&C.push(null),y.previous=s,s&&(s.next=y),s=y,i.defineSkip(y.start),i.write(C),t.parser.lazy[y.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<o&&(!i.events[S][1].end||i.events[S][1].end.offset>o))return;const P=t.events.length;let N=P,A,T;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){if(A){T=t.events[N][1].end;break}A=!0}for(g(r),S=P;S<t.events.length;)t.events[S][1].end={...T},S++;Nn(t.events,N+1,0,t.events.slice(P)),t.events.length=S}}function g(y){let k=n.length;for(;k-- >y;){const C=n[k];t.containerState=C[1],C[0].exit.call(t,e)}n.length=y}function x(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function jH(e,t,n){return Le(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _a(e){if(e===null||Ye(e)||po(e))return 1;if(sh(e))return 2}function oh(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Ug={name:"attention",resolveAll:NH,tokenize:_H};function NH(e,t){let n=-1,r,i,s,o,a,l,c,u;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;l=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 f={...e[r][1].end},h={...e[n][1].start};pk(f,-l),pk(h,l),o={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},a={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},s={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[n][1].start={...a.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=$n(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=$n(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),c=$n(c,oh(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=$n(c,[["exit",s,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=$n(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,Nn(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function _H(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=_a(r);let s;return o;function o(l){return s=l,e.enter("attentionSequence"),a(l)}function a(l){if(l===s)return e.consume(l),a;const c=e.exit("attentionSequence"),u=_a(l),f=!u||u===2&&i||n.includes(l),h=!i||i===2&&u||n.includes(r);return c._open=!!(s===42?f:f&&(i||!h)),c._close=!!(s===42?h:h&&(u||!f)),t(l)}}function pk(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const AH={name:"autolink",tokenize:MH};function MH(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(p){return on(p)?(e.consume(p),o):p===64?n(p):c(p)}function o(p){return p===43||p===45||p===46||Zt(p)?(r=1,a(p)):c(p)}function a(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Zt(p))&&r++<32?(e.consume(p),a):(r=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||ef(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),u):bH(p)?(e.consume(p),c):n(p)}function u(p){return Zt(p)?f(p):n(p)}function f(p){return p===46?(e.consume(p),r=0,u):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):h(p)}function h(p){if((p===45||Zt(p))&&r++<63){const v=p===45?h:f;return e.consume(p),v}return n(p)}}const Wc={partial:!0,tokenize:RH};function RH(e,t,n){return r;function r(s){return Ie(s)?Le(e,i,"linePrefix")(s):i(s)}function i(s){return s===null||ge(s)?t(s):n(s)}}const YA={continuation:{tokenize:DH},exit:OH,name:"blockQuote",tokenize:IH};function IH(e,t,n){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return Ie(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function DH(e,t,n){const r=this;return i;function i(o){return Ie(o)?Le(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(YA,t,n)(o)}}function OH(e){e.exit("blockQuote")}const ZA={name:"characterEscape",tokenize:LH};function LH(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),i}function i(s){return SH(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const QA={name:"characterReference",tokenize:FH};function FH(e,t,n){const r=this;let i=0,s,o;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),s=31,o=Zt,u(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=kH,u):(e.enter("characterReferenceValue"),s=7,o=$g,u(f))}function u(f){if(f===59&&i){const h=e.exit("characterReferenceValue");return o===Zt&&!Rv(r.sliceSerialize(h))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<s?(e.consume(f),u):n(f)}}const mk={partial:!0,tokenize:BH},gk={concrete:!0,name:"codeFenced",tokenize:VH};function VH(e,t,n){const r=this,i={partial:!0,tokenize:C};let s=0,o=0,a;return l;function l(S){return c(S)}function c(S){const P=r.events[r.events.length-1];return s=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,a=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(S)}function u(S){return S===a?(o++,e.consume(S),u):o<3?n(S):(e.exit("codeFencedFenceSequence"),Ie(S)?Le(e,f,"whitespace")(S):f(S))}function f(S){return S===null||ge(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(mk,m,k)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(S))}function h(S){return S===null||ge(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):Ie(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Le(e,p,"whitespace")(S)):S===96&&S===a?n(S):(e.consume(S),h)}function p(S){return S===null||ge(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(S))}function v(S){return S===null||ge(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===a?n(S):(e.consume(S),v)}function m(S){return e.attempt(i,k,w)(S)}function w(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),g}function g(S){return s>0&&Ie(S)?Le(e,x,"linePrefix",s+1)(S):x(S)}function x(S){return S===null||ge(S)?e.check(mk,m,k)(S):(e.enter("codeFlowValue"),y(S))}function y(S){return S===null||ge(S)?(e.exit("codeFlowValue"),x(S)):(e.consume(S),y)}function k(S){return e.exit("codeFenced"),t(S)}function C(S,P,N){let A=0;return T;function T(W){return S.enter("lineEnding"),S.consume(W),S.exit("lineEnding"),O}function O(W){return S.enter("codeFencedFence"),Ie(W)?Le(S,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):R(W)}function R(W){return W===a?(S.enter("codeFencedFenceSequence"),z(W)):N(W)}function z(W){return W===a?(A++,S.consume(W),z):A>=o?(S.exit("codeFencedFenceSequence"),Ie(W)?Le(S,F,"whitespace")(W):F(W)):N(W)}function F(W){return W===null||ge(W)?(S.exit("codeFencedFence"),P(W)):N(W)}}}function BH(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const Ep={name:"codeIndented",tokenize:$H},zH={partial:!0,tokenize:UH};function $H(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Le(e,s,"linePrefix",5)(c)}function s(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?l(c):ge(c)?e.attempt(zH,o,l)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||ge(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),a)}function l(c){return e.exit("codeIndented"),t(c)}}
vendor: 4,622 bytes, line 742
742function UH(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):ge(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Le(e,s,"linePrefix",5)(o)}function s(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):ge(o)?i(o):n(o)}}const WH={name:"codeText",previous:KH,resolve:HH,tokenize:qH};function HH(e){let t=e.length-4,n=3,r,i;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;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function KH(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function qH(e,t,n){let r=0,i,s;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(s=e.enter("codeTextSequence"),i=0,u(f)):ge(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||ge(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function u(f){return f===96?(e.consume(f),i++,u):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(s.type="codeTextData",c(f))}}class GH{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 i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&dl(this.left,r),s.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),dl(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),dl(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);dl(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);dl(this.left,n.reverse())}}}function dl(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 XA(e){const t={};let n=-1,r,i,s,o,a,l,c;const u=new GH(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type==="chunkFlow"&&u.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,s=0,s<l.length&&l[s][1].type==="lineEndingBlank"&&(s+=2),s<l.length&&l[s][1].type==="content"))for(;++s<l.length&&l[s][1].type!=="content";)l[s][1].type==="chunkText"&&(l[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,YH(u,n)),n=t[n],c=!0);else if(r[1]._container){for(s=n,i=void 0;s--;)if(o=u.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(u.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=s);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...u.get(i)[1].start},a=u.slice(i,n),a.unshift(r),u.splice(i,n-i+1,a))}}return Nn(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function YH(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,l=[],c={};let u,f,h=-1,p=n,v=0,m=0;const w=[m];for(;p;){for(;e.get(++i)[1]!==p;);s.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),f&&o.defineSki
vendor: 22,802 bytes, line 742
742p(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=n;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(m=h+1,w.push(m),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):w.pop(),h=w.length;h--;){const g=a.slice(w[h],w[h+1]),x=s.pop();l.push([x,x+g.length-1]),e.splice(x,2,g)}for(l.reverse(),h=-1;++h<l.length;)c[v+l[h][0]]=v+l[h][1],v+=l[h][1]-l[h][0]-1;return c}const ZH={resolve:XH,tokenize:JH},QH={partial:!0,tokenize:eK};function XH(e){return XA(e),e}function JH(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?s(a):ge(a)?e.check(QH,o,s)(a):(e.consume(a),i)}function s(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function o(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function eK(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Le(e,s,"linePrefix")}function s(o){if(o===null||ge(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function JA(e,t,n,r,i,s,o,a,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return f;function f(g){return g===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(g),e.exit(s),h):g===null||g===32||g===41||ef(g)?n(g):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(g))}function h(g){return g===62?(e.enter(s),e.consume(g),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===62?(e.exit("chunkString"),e.exit(a),h(g)):g===null||g===60||ge(g)?n(g):(e.consume(g),g===92?v:p)}function v(g){return g===60||g===62||g===92?(e.consume(g),p):p(g)}function m(g){return!u&&(g===null||g===41||Ye(g))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(g)):u<c&&g===40?(e.consume(g),u++,m):g===41?(e.consume(g),u--,m):g===null||g===32||g===40||ef(g)?n(g):(e.consume(g),g===92?w:m)}function w(g){return g===40||g===41||g===92?(e.consume(g),m):m(g)}}function e2(e,t,n,r,i,s){const o=this;let a=0,l;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(s),u}function u(p){return a>999||p===null||p===91||p===93&&!l||p===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(s),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):ge(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||ge(p)||a++>999?(e.exit("chunkString"),u(p)):(e.consume(p),l||(l=!Ie(p)),p===92?h:f)}function h(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function t2(e,t,n,r,i,s){let o;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,l):n(h)}function l(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(s),c(h))}function c(h){return h===o?(e.exit(s),l(o)):h===null?n(h):ge(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Le(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(h){return h===o||h===null||ge(h)?(e.exit("chunkString"),c(h)):(e.consume(h),h===92?f:u)}function f(h){return h===o||h===92?(e.consume(h),u):u(h)}}function Bl(e,t){let n;return r;function r(i){return ge(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ie(i)?Le(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const tK={name:"definition",tokenize:rK},nK={partial:!0,tokenize:iK};function rK(e,t,n){const r=this;let i;return s;function s(p){return e.enter("definition"),o(p)}function o(p){return e2.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=br(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return Ye(p)?Bl(e,c)(p):c(p)}function c(p){return JA(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function u(p){return e.attempt(nK,f,f)(p)}function f(p){return Ie(p)?Le(e,h,"whitespace")(p):h(p)}function h(p){return p===null||ge(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function iK(e,t,n){return r;function r(a){return Ye(a)?Bl(e,i)(a):n(a)}function i(a){return t2(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function s(a){return Ie(a)?Le(e,o,"whitespace")(a):o(a)}function o(a){return a===null||ge(a)?t(a):n(a)}}const sK={name:"hardBreakEscape",tokenize:oK};function oK(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return ge(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const aK={name:"headingAtx",resolve:lK,tokenize:cK};function lK(e,t){let n=e.length-2,r=3,i,s;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&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Nn(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}function cK(e,t,n){let r=0;return i;function i(u){return e.enter("atxHeading"),s(u)}function s(u){return e.enter("atxHeadingSequence"),o(u)}function o(u){return u===35&&r++<6?(e.consume(u),o):u===null||Ye(u)?(e.exit("atxHeadingSequence"),a(u)):n(u)}function a(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||ge(u)?(e.exit("atxHeading"),t(u)):Ie(u)?Le(e,a,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),a(u))}function c(u){return u===null||u===35||Ye(u)?(e.exit("atxHeadingText"),a(u)):(e.consume(u),c)}}const uK=["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"],yk=["pre","script","style","textarea"],dK={concrete:!0,name:"htmlFlow",resolveTo:pK,tokenize:mK},fK={partial:!0,tokenize:yK},hK={partial:!0,tokenize:gK};function pK(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 mK(e,t,n){const r=this;let i,s,o,a,l;return c;function c(j){return u(j)}function u(j){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(j),f}function f(j){return j===33?(e.consume(j),h):j===47?(e.consume(j),s=!0,m):j===63?(e.consume(j),i=3,r.interrupt?t:E):on(j)?(e.consume(j),o=String.fromCharCode(j),w):n(j)}function h(j){return j===45?(e.consume(j),i=2,p):j===91?(e.consume(j),i=5,a=0,v):on(j)?(e.consume(j),i=4,r.interrupt?t:E):n(j)}function p(j){return j===45?(e.consume(j),r.interrupt?t:E):n(j)}function v(j){const oe="CDATA[";return j===oe.charCodeAt(a++)?(e.consume(j),a===oe.length?r.interrupt?t:R:v):n(j)}function m(j){return on(j)?(e.consume(j),o=String.fromCharCode(j),w):n(j)}function w(j){if(j===null||j===47||j===62||Ye(j)){const oe=j===47,Te=o.toLowerCase();return!oe&&!s&&yk.includes(Te)?(i=1,r.interrupt?t(j):R(j)):uK.includes(o.toLowerCase())?(i=6,oe?(e.consume(j),g):r.interrupt?t(j):R(j)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(j):s?x(j):y(j))}return j===45||Zt(j)?(e.consume(j),o+=String.fromCharCode(j),w):n(j)}function g(j){return j===62?(e.consume(j),r.interrupt?t:R):n(j)}function x(j){return Ie(j)?(e.consume(j),x):T(j)}function y(j){return j===47?(e.consume(j),T):j===58||j===95||on(j)?(e.consume(j),k):Ie(j)?(e.consume(j),y):T(j)}function k(j){return j===45||j===46||j===58||j===95||Zt(j)?(e.consume(j),k):C(j)}function C(j){return j===61?(e.consume(j),S):Ie(j)?(e.consume(j),C):y(j)}function S(j){return j===null||j===60||j===61||j===62||j===96?n(j):j===34||j===39?(e.consume(j),l=j,P):Ie(j)?(e.consume(j),S):N(j)}function P(j){return j===l?(e.consume(j),l=null,A):j===null||ge(j)?n(j):(e.consume(j),P)}function N(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||Ye(j)?C(j):(e.consume(j),N)}function A(j){return j===47||j===62||Ie(j)?y(j):n(j)}function T(j){return j===62?(e.consume(j),O):n(j)}function O(j){return j===null||ge(j)?R(j):Ie(j)?(e.consume(j),O):n(j)}function R(j){return j===45&&i===2?(e.consume(j),K):j===60&&i===1?(e.consume(j),H):j===62&&i===4?(e.consume(j),ne):j===63&&i===3?(e.consume(j),E):j===93&&i===5?(e.consume(j),L):ge(j)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(fK,re,z)(j)):j===null||ge(j)?(e.exit("htmlFlowData"),z(j)):(e.consume(j),R)}function z(j){return e.check(hK,F,re)(j)}function F(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),W}function W(j){return j===null||ge(j)?z(j):(e.enter("htmlFlowData"),R(j))}function K(j){return j===45?(e.consume(j),E):R(j)}function H(j){return j===47?(e.consume(j),o="",I):R(j)}function I(j){if(j===62){const oe=o.toLowerCase();return yk.includes(oe)?(e.consume(j),ne):R(j)}return on(j)&&o.length<8?(e.consume(j),o+=String.fromCharCode(j),I):R(j)}function L(j){return j===93?(e.consume(j),E):R(j)}function E(j){return j===62?(e.consume(j),ne):j===45&&i===2?(e.consume(j),E):R(j)}function ne(j){return j===null||ge(j)?(e.exit("htmlFlowData"),re(j)):(e.consume(j),ne)}function re(j){return e.exit("htmlFlow"),t(j)}}function gK(e,t,n){const r=this;return i;function i(o){return ge(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function yK(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Wc,t,n)}}const xK={name:"htmlText",tokenize:vK};function vK(e,t,n){const r=this;let i,s,o;return a;function a(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),l}function l(E){return E===33?(e.consume(E),c):E===47?(e.consume(E),C):E===63?(e.consume(E),y):on(E)?(e.consume(E),N):n(E)}function c(E){return E===45?(e.consume(E),u):E===91?(e.consume(E),s=0,v):on(E)?(e.consume(E),x):n(E)}function u(E){return E===45?(e.consume(E),p):n(E)}function f(E){return E===null?n(E):E===45?(e.consume(E),h):ge(E)?(o=f,H(E)):(e.consume(E),f)}function h(E){return E===45?(e.consume(E),p):f(E)}function p(E){return E===62?K(E):E===45?h(E):f(E)}function v(E){const ne="CDATA[";return E===ne.charCodeAt(s++)?(e.consume(E),s===ne.length?m:v):n(E)}function m(E){return E===null?n(E):E===93?(e.consume(E),w):ge(E)?(o=m,H(E)):(e.consume(E),m)}function w(E){return E===93?(e.consume(E),g):m(E)}function g(E){return E===62?K(E):E===93?(e.consume(E),g):m(E)}function x(E){return E===null||E===62?K(E):ge(E)?(o=x,H(E)):(e.consume(E),x)}function y(E){return E===null?n(E):E===63?(e.consume(E),k):ge(E)?(o=y,H(E)):(e.consume(E),y)}function k(E){return E===62?K(E):y(E)}function C(E){return on(E)?(e.consume(E),S):n(E)}function S(E){return E===45||Zt(E)?(e.consume(E),S):P(E)}function P(E){return ge(E)?(o=P,H(E)):Ie(E)?(e.consume(E),P):K(E)}function N(E){return E===45||Zt(E)?(e.consume(E),N):E===47||E===62||Ye(E)?A(E):n(E)}function A(E){return E===47?(e.consume(E),K):E===58||E===95||on(E)?(e.consume(E),T):ge(E)?(o=A,H(E)):Ie(E)?(e.consume(E),A):K(E)}function T(E){return E===45||E===46||E===58||E===95||Zt(E)?(e.consume(E),T):O(E)}function O(E){return E===61?(e.consume(E),R):ge(E)?(o=O,H(E)):Ie(E)?(e.consume(E),O):A(E)}function R(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),i=E,z):ge(E)?(o=R,H(E)):Ie(E)?(e.consume(E),R):(e.consume(E),F)}function z(E){return E===i?(e.consume(E),i=void 0,W):E===null?n(E):ge(E)?(o=z,H(E)):(e.consume(E),z)}function F(E){return E===null||E===34||E===39||E===60||E===61||E===96?n(E):E===47||E===62||Ye(E)?A(E):(e.consume(E),F)}function W(E){return E===47||E===62||Ye(E)?A(E):n(E)}function K(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):n(E)}function H(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),I}function I(E){return Ie(E)?Le(e,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):L(E)}function L(E){return e.enter("htmlTextData"),o(E)}}const Iv={name:"labelEnd",resolveAll:SK,resolveTo:CK,tokenize:EK},wK={tokenize:TK},bK={tokenize:PK},kK={tokenize:jK};function SK(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 i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Nn(e,0,e.length,n),e}function CK(e,t){let n=e.length,r=0,i,s,o,a;for(;n--;)if(i=e[n][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const l={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[s][1].start},end:{...e[o][1].end}},u={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",l,t],["enter",c,t]],a=$n(a,e.slice(s+1,s+r+3)),a=$n(a,[["enter",u,t]]),a=$n(a,oh(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),a=$n(a,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),a=$n(a,e.slice(o+1)),a=$n(a,[["exit",l,t]]),Nn(e,s,e.length,a),e}function EK(e,t,n){const r=this;let i=r.events.length,s,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return a;function a(h){return s?s._inactive?f(h):(o=r.parser.defined.includes(br(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),l):n(h)}function l(h){return h===40?e.attempt(wK,u,o?u:f)(h):h===91?e.attempt(bK,u,o?c:f)(h):o?u(h):f(h)}function c(h){return e.attempt(kK,u,f)(h)}function u(h){return t(h)}function f(h){return s._balanced=!0,n(h)}}function TK(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Ye(f)?Bl(e,s)(f):s(f)}function s(f){return f===41?u(f):JA(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return Ye(f)?Bl(e,l)(f):u(f)}function a(f){return n(f)}function l(f){return f===34||f===39||f===40?t2(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return Ye(f)?Bl(e,u)(f):u(f)}function u(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function PK(e,t,n){const r=this;return i;function i(a){return e2.call(r,e,s,o,"reference","referenceMarker","referenceString")(a)}function s(a){return r.parser.defined.includes(br(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function o(a){return n(a)}}function jK(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),i}function i(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const NK={name:"labelStartImage",resolveAll:Iv.resolveAll,tokenize:_K};function _K(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),s}function s(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):n(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const AK={name:"labelStartLink",resolveAll:Iv.resolveAll,tokenize:MK};function MK(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Tp={name:"lineEnding",tokenize:RK};function RK(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Le(e,t,"linePrefix")}}const ed={name:"thematicBreak",tokenize:IK};function IK(e,t,n){let r=0,i;return s;function s(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||ge(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),Ie(c)?Le(e,a,"whitespace")(c):a(c))}}const fn={continuation:{tokenize:FK},exit:BK,name:"list",tokenize:LK},DK={partial:!0,tokenize:zK},OK={partial:!0,tokenize:VK};function LK(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(p){const v=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:$g(p)){if(r.containerState.type||(r.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ed,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return $g(p)&&++o<10?(e.consume(p),l):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Wc,r.interrupt?n:u,e.attempt(DK,h,f))}function u(p){return r.containerState.initialBlankLine=!0,s++,h(p)}function f(p){return Ie(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):n(p)}function h(p){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function FK(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Wc,i,s);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Le(e,t,"listItemIndent",r.containerState.size+1)(a)}function s(a){return r.containerState.furtherBlankLines||!Ie(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(OK,t,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Le(e,e.attempt(fn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function VK(e,t,n){const r=this;return Le(e,i,"listItemIndent",r.containerState.size+1);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}function BK(e){e.exit(this.containerState.type)}function zK(e,t,n){const r=this;return Le(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=r.events[r.events.length-1];return!Ie(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const xk={name:"setextUnderline",resolveTo:$K,tokenize:UK};function $K(e,t){let n=e.length,r,i,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function UK(e,t,n){const r=this;let i;return s;function s(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),Ie(c)?Le(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ge(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const WK={tokenize:HK};function HK(e){const t=this,n=e.attempt(Wc,r,e.attempt(this.parser.constructs.flowInitial,i,Le(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ZH,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const KK={resolveAll:r2()},qK=n2("string"),GK=n2("text");function n2(e){return{resolveAll:r2(e==="text"?YK:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,o,a);return o;function o(u){return c(u)?s(u):a(u)}function a(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),s(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const f=i[u];let h=-1;if(f)for(;++h<f.length;){const p=f[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function r2(e){return t;function t(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type==="data"&&(s=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(n,r):n}}function YK(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],i=t.sliceStream(r);let s=i.length,o=-1,a=0,l;for(;s--;){const c=i[s];if(typeof c=="string"){for(o=c.length;
vendor: 1,982 bytes, line 742
742c.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(c===-2)l=!0,a++;else if(c!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(a=0),a){const c={type:n===e.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:r.start._bufferIndex+o,_index:r.start._index+s,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const ZK={42:fn,43:fn,45:fn,48:fn,49:fn,50:fn,51:fn,52:fn,53:fn,54:fn,55:fn,56:fn,57:fn,62:YA},QK={91:tK},XK={[-2]:Ep,[-1]:Ep,32:Ep},JK={35:aK,42:ed,45:[xk,ed],60:dK,61:xk,95:ed,96:gk,126:gk},eq={38:QA,92:ZA},tq={[-5]:Tp,[-4]:Tp,[-3]:Tp,33:NK,38:QA,42:Ug,60:[AH,xK],91:AK,92:[sK,ZA],93:Iv,95:Ug,96:WH},nq={null:[Ug,KK]},rq={null:[42,95]},iq={null:[]},sq=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:rq,contentInitial:QK,disable:iq,document:ZK,flow:JK,flowInitial:XK,insideSpan:nq,string:eq,text:tq},Symbol.toStringTag,{value:"Module"}));function oq(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 i={},s=[];let o=[],a=[];const l={attempt:P(C),check:P(S),consume:x,enter:y,exit:k,interrupt:P(S,{interrupt:!0})},c={code:null,containerState:{},defineSkip:m,events:[],now:v,parser:e,previous:null,sliceSerialize:h,sliceStream:p,write:f};let u=t.tokenize.call(c,l);return t.resolveAll&&s.push(t),c;function f(O){return o=$n(o,O),w(),o[o.length-1]!==null?[]:(N(t,0),c.events=oh(s,c.events,c),c.events)}function h(O,R){return lq(p(O),R)}function p(O){return aq(o,O)}function v(){const{_bufferIndex:O,_index:R,line:z,column:F,offset:W}=r;return{_bufferIndex:O,_index:R,line:z,column:F,offset:W}}function m(O){i[O.line]=O.column,T()}function w(){let O;for(;r._index<o.length;){const R=o[r._index];if(typeof R=="string")for(O=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===O&&r._bufferIndex<R.length;
vendor: 12,753 bytes, lines 742-744
742)g(R.charCodeAt(r._bufferIndex));else g(R)}}function g(O){u=u(O)}function x(O){ge(O)?(r.line++,r.column=1,r.offset+=O===-3?2:1,T()):O!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=O}function y(O,R){const z=R||{};return z.type=O,z.start=v(),c.events.push(["enter",z,c]),a.push(z),z}function k(O){const R=a.pop();return R.end=v(),c.events.push(["exit",R,c]),R}function C(O,R){N(O,R.from)}function S(O,R){R.restore()}function P(O,R){return z;function z(F,W,K){let H,I,L,E;return Array.isArray(F)?re(F):"tokenize"in F?re([F]):ne(F);function ne(ye){return q;function q(he){const Ce=he!==null&&ye[he],pe=he!==null&&ye.null,le=[...Array.isArray(Ce)?Ce:Ce?[Ce]:[],...Array.isArray(pe)?pe:pe?[pe]:[]];return re(le)(he)}}function re(ye){return H=ye,I=0,ye.length===0?K:j(ye[I])}function j(ye){return q;function q(he){return E=A(),L=ye,ye.partial||(c.currentConstruct=ye),ye.name&&c.parser.constructs.disable.null.includes(ye.name)?Te():ye.tokenize.call(R?Object.assign(Object.create(c),R):c,l,oe,Te)(he)}}function oe(ye){return O(L,E),W}function Te(ye){return E.restore(),++I<H.length?j(H[I]):K}}}function N(O,R){O.resolveAll&&!s.includes(O)&&s.push(O),O.resolve&&Nn(c.events,R,c.events.length-R,O.resolve(c.events.slice(R),c)),O.resolveTo&&(c.events=O.resolveTo(c.events,c))}function A(){const O=v(),R=c.previous,z=c.currentConstruct,F=c.events.length,W=Array.from(a);return{from:F,restore:K};function K(){r=O,c.previous=R,c.currentConstruct=z,c.events.length=F,a=W,T()}}function T(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function aq(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}function lq(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=` 743`;break}case-3:{o=`\r 744`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(s)}i=s===-2,r.push(o)}return r.join("")}function cq(e){const r={constructs:qA([sq,...(e||{}).extensions||[]]),content:i(CH),defined:[],document:i(TH),flow:i(WK),lazy:{},string:i(qK),text:i(GK)};return r;function i(s){return o;function o(a){return oq(r,s,a)}}}function uq(e){for(;!XA(e););return e}const vk=/[\0\t\n\r]/g;function dq(){let e=1,t="",n=!0,r;return i;function i(s,o,a){const l=[];let c,u,f,h,p;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),f=0,t="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(vk.lastIndex=f,c=vk.exec(s),h=c&&c.index!==void 0?c.index:s.length,p=s.charCodeAt(h),!c){t=s.slice(f);break}if(p===10&&f===h&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<h&&(l.push(s.slice(f,h)),e+=h-f),p){case 0:{l.push(65533),e++;break}case 9:{for(u=Math.ceil(e/4)*4,l.push(-2);e++<u;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=h+1}return a&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const fq=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function hq(e){return e.replace(fq,pq)}function pq(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return GA(n.slice(s?2:1),s?16:10)}return Rv(n)||e}const i2={}.hasOwnProperty;function mq(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),gq(n)(uq(cq(n).document().write(dq()(e,t,!0))))}function gq(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(xt),autolinkProtocol:A,autolinkEmail:A,atxHeading:s(He),blockQuote:s(pe),characterEscape:A,characterReference:A,codeFenced:s(le),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(le,o),codeText:s(G,o),codeTextData:A,data:A,codeFlowValue:A,definition:s(xe),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Me),hardBreakEscape:s(st),hardBreakTrailing:s(st),htmlFlow:s(ht,o),htmlFlowData:A,htmlText:s(ht,o),htmlTextData:A,image:s(zt),label:o,link:s(xt),listItem:s(D),listItemValue:h,listOrdered:s(_,f),listUnordered:s(_),paragraph:s(B),reference:j,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(He),strong:s(J),thematicBreak:s(Q)},exit:{atxHeading:l(),atxHeadingSequence:C,autolink:l(),autolinkEmail:Ce,autolinkProtocol:he,blockQuote:l(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:Te,characterReferenceMarkerNumeric:Te,characterReferenceValue:ye,characterReference:q,codeFenced:l(w),codeFencedFence:m,codeFencedFenceInfo:p,codeFencedFenceMeta:v,codeFlowValue:T,codeIndented:l(g),codeText:l(W),codeTextData:T,data:T,definition:l(),definitionDestinationString:k,definitionLabelString:x,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(R),hardBreakTrailing:l(R),htmlFlow:l(z),htmlFlowData:T,htmlText:l(F),htmlTextData:T,image:l(H),label:L,labelText:I,lineEnding:O,link:l(K),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:oe,resourceDestinationString:E,resourceTitleString:ne,resource:re,setextHeading:l(N),setextHeadingLineSequence:P,setextHeadingText:S,strong:l(),thematicBreak:l()}};s2(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(M){let $={type:"root",children:[]};const ie={stack:[$],tokenStack:[],config:t,enter:a,exit:c,buffer:o,resume:u,data:n},me=[];let be=-1;for(;++be<M.length;)if(M[be][1].type==="listOrdered"||M[be][1].type==="listUnordered")if(M[be][0]==="enter")me.push(be);else{const Ze=me.pop();be=i(M,Ze,be)}for(be=-1;++be<M.length;){const Ze=t[M[be][0]];i2.call(Ze,M[be][1].type)&&Ze[M[be][1].type].call(Object.assign({sliceSerialize:M[be][2].sliceSerialize},ie),M[be][1])}if(ie.tokenStack.length>0){const Ze=ie.tokenStack[ie.tokenStack.length-1];(Ze[1]||wk).call(ie,void 0,Ze[0])}for($.position={start:Ni(M.length>0?M[0][1].start:{line:1,column:1,offset:0}),end:Ni(M.length>0?M[M.length-2][1].end:{line:1,column:1,offset:0})},be=-1;++be<t.transforms.length;)$=t.transforms[be]($)||$;return $}function i(M,$,ie){let me=$-1,be=-1,Ze=!1,$t,pt,Rt,In;for(;++me<=ie;){const et=M[me];switch(et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{et[0]==="enter"?be++:be--,In=void 0;break}case"lineEndingBlank":{et[0]==="enter"&&($t&&!In&&!be&&!Rt&&(Rt=me),In=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:In=void 0}if(!be&&et[0]==="enter"&&et[1].type==="listItemPrefix"||be===-1&&et[0]==="exit"&&(et[1].type==="listUnordered"||et[1].type==="listOrdered")){if($t){let Dn=me;for(pt=void 0;Dn--;){const Ut=M[Dn];if(Ut[1].type==="lineEnding"||Ut[1].type==="lineEndingBlank"){if(Ut[0]==="exit")continue;pt&&(M[pt][1].type="lineEndingBlank",Ze=!0),Ut[1].type="lineEnding",pt=Dn}else if(!(Ut[1].type==="linePrefix"||Ut[1].type==="blockQuotePrefix"||Ut[1].type==="blockQuotePrefixWhitespace"||Ut[1].type==="blockQuoteMarker"||Ut[1].type==="listItemIndent"))break}Rt&&(!pt||Rt<pt)&&($t._spread=!0),$t.end=Object.assign({},pt?M[pt][1].start:et[1].end),M.splice(pt||me,0,["exit",$t,et[2]]),me++,ie++}if(et[1].type==="listItemPrefix"){const Dn={type:"listItem",_spread:!1,start:Object.assign({},et[1].start),end:void 0};$t=Dn,M.splice(me,0,["enter",Dn,et[2]]),me++,ie++,Rt=void 0,In=!0}}}return M[$][1]._spread=Ze,ie}function s(M,$){return ie;function ie(me){a.call(this,M(me),me),$&&$.call(this,me)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(M,$,ie){this.stack[this.stack.length-1].children.push(M),this.stack.push(M),this.tokenStack.push([$,ie||void 0]),M.position={start:Ni($.start),end:void 0}}function l(M){return $;function $(ie){M&&M.call(this,ie),c.call(this,ie)}}function c(M,$){const ie=this.stack.pop(),me=this.tokenStack.pop();if(me)me[0].type!==M.type&&($?$.call(this,M,me[0]):(me[1]||wk).call(this,M,me[0]));else throw new Error("Cannot close `"+M.type+"` ("+Vl({start:M.start,end:M.end})+"): itâs not open");ie.position.end=Ni(M.end)}function u(){return Mv(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function h(M){if(this.data.expectingFirstListItemValue){const $=this.stack[this.stack.length-2];$.start=Number.parseInt(this.sliceSerialize(M),10),this.data.expectingFirstListItemValue=void 0}}function p(){const M=this.resume(),$=this.stack[this.stack.length-1];$.lang=M}function v(){const M=this.resume(),$=this.stack[this.stack.length-1];$.meta=M}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function w(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function g(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M.replace(/(\r?\n|\r)$/g,"")}function x(M){const $=this.resume(),ie=this.stack[this.stack.length-1];ie.label=$,ie.identifier=br(this.sliceSerialize(M)).toLowerCase()}function y(){const M=this.resume(),$=this.stack[this.stack.length-1];$.title=M}function k(){const M=this.resume(),$=this.stack[this.stack.length-1];$.url=M}function C(M){const $=this.stack[this.stack.length-1];if(!$.depth){const ie=this.sliceSerialize(M).length;$.depth=ie}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function P(M){const $=this.stack[this.stack.length-1];$.depth=this.sliceSerialize(M).codePointAt(0)===61?1:2}function N(){this.data.setextHeadingSlurpLineEnding=void 0}function A(M){const ie=this.stack[this.stack.length-1].children;let me=ie[ie.length-1];(!me||me.type!=="text")&&(me=ee(),me.position={start:Ni(M.start),end:void 0},ie.push(me)),this.stack.push(me)}function T(M){const $=this.stack.pop();$.value+=this.sliceSerialize(M),$.position.end=Ni(M.end)}function O(M){const $=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ie=$.children[$.children.length-1];ie.position.end=Ni(M.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes($.type)&&(A.call(this,M),T.call(this,M))}function R(){this.data.atHardBreak=!0}function z(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M}function F(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M}function W(){const M=this.resume(),$=this.stack[this.stack.length-1];$.value=M}function K(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=$,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function H(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const $=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=$,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function I(M){const $=this.sliceSerialize(M),ie=this.stack[this.stack.length-2];ie.label=hq($),ie.identifier=br($).toLowerCase()}function L(){const M=this.stack[this.stack.length-1],$=this.resume(),ie=this.stack[this.stack.length-1];if(this.data.inReference=!0,ie.type==="link"){const me=M.children;ie.children=me}else ie.alt=$}function E(){const M=this.resume(),$=this.stack[this.stack.length-1];$.url=M}function ne(){const M=this.resume(),$=this.stack[this.stack.length-1];$.title=M}function re(){this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}function oe(M){const $=this.resume(),ie=this.stack[this.stack.length-1];ie.label=$,ie.identifier=br(this.sliceSerialize(M)).toLowerCase(),this.data.referenceType="full"}function Te(M){this.data.characterReferenceType=M.type}function ye(M){const $=this.sliceSerialize(M),ie=this.data.characterReferenceType;let me;ie?(me=GA($,ie==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):me=Rv($);const be=this.stack[this.stack.length-1];be.value+=me}function q(M){const $=this.stack.pop();$.position.end=Ni(M.end)}function he(M){T.call(this,M);const $=this.stack[this.stack.length-1];$.url=this.sliceSerialize(M)}function Ce(M){T.call(this,M);const $=this.stack[this.stack.length-1];$.url="mailto:"+this.sliceSerialize(M)}function pe(){return{type:"blockquote",children:[]}}function le(){return{type:"code",lang:null,meta:null,value:""}}function G(){return{type:"inlineCode",value:""}}function xe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Me(){return{type:"emphasis",children:[]}}function He(){return{type:"heading",depth:0,children:[]}}function st(){return{type:"break"}}function ht(){return{type:"html",value:""}}function zt(){return{type:"image",title:null,url:"",alt:null}}
vendor: 6,966 bytes, lines 744-748
744function xt(){return{type:"link",title:null,url:"",children:[]}}function _(M){return{type:"list",ordered:M.type==="listOrdered",start:null,spread:M._spread,children:[]}}function D(M){return{type:"listItem",spread:M._spread,checked:null,children:[]}}function B(){return{type:"paragraph",children:[]}}function J(){return{type:"strong",children:[]}}function ee(){return{type:"text",value:""}}function Q(){return{type:"thematicBreak"}}}function Ni(e){return{line:e.line,column:e.column,offset:e.offset}}function s2(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?s2(e,r):yq(e,r)}}function yq(e,t){let n;for(n in t)if(i2.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 wk(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Vl({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Vl({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Vl({start:t.start,end:t.end})+") is still open")}function xq(e){const t=this;t.parser=n;function n(r){return mq(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function vq(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 wq(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 745`}]}function bq(e,t){const n=t.value?t.value+` 746`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function kq(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Sq(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Cq(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Ka(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,a+=1,e.footnoteCounts.set(r,a);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function Eq(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 Tq(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function o2(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 i=e.all(t),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function Pq(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return o2(e,t);const i={src:Ka(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)}function jq(e,t){const n={src:Ka(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 Nq(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 _q(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return o2(e,t);const i={href:Ka(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function Aq(e,t){const n={href:Ka(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 Mq(e,t,n){const r=e.all(t),i=n?Rq(n):a2(t),s={},o=[];if(typeof t.checked=="boolean"){const u=r[0];let f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const u=r[a];(i||a!==0||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 747`}),u.type==="element"&&u.tagName==="p"&&!i?o.push(...u.children):o.push(u)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&o.push({type:"text",value:` 748`});const c={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,c),e.applyData(t,c)}function Rq(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=a2(n[r])}return t}function a2(e){const t=e.spread;return t??e.children.length>1}function Iq(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function Dq(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Oq(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Lq(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fq(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=jv(t.children[1]),l=BA(t.children[t.children.length-1]);a&&l&&(o.position={start:a,end:l}),i.push(o)}const s={type:"element",tagName:"table",properties:{}
vendor: 1,780 bytes, line 748
748,children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}function Vq(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,a=o?o.length:t.children.length;let l=-1;const c=[];for(;++l<a;){const f=t.children[l],h={},p=o?o[l]:void 0;p&&(h.align=p);let v={type:"element",tagName:s,properties:h,children:[]};f&&(v.children=e.all(f),e.patch(f,v),v=e.applyData(f,v)),c.push(v)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,u),e.applyData(t,u)}function Bq(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const bk=9,kk=32;function zq(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(Sk(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(Sk(t.slice(i),i>0,!1)),s.join("")}function Sk(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===bk||s===kk;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===bk||s===kk;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function $q(e,t){const n={type:"text",value:zq(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Uq(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Wq={blockquote:vq,break:wq,code:bq,delete:kq,emphasis:Sq,footnoteReference:Cq,heading:Eq,html:Tq,imageReference:Pq,image:jq,inlineCode:Nq,linkReference:_q,link:Aq,listItem:Mq,list:Iq,paragraph:Dq,root:Oq,strong:Lq,table:Fq,tableCell:Bq,tableRow:Vq,text:$q,thematicBreak:Uq,toml:Tu,yaml:Tu,definition:Tu,footnoteDefinition:Tu};function Tu(){}const l2=-1,ah=0,zl=1,tf=2,Dv=3,Ov=4,Lv=5,Fv=6,c2=7,u2=8,Hq=typeof self=="object"?self:globalThis,Ck=(e,t)=>
vendor: 4,583 bytes, lines 748-749
748{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Hq[e](t)},Kq=(e,t)=>{const n=(i,s)=>(e.set(s,i),i),r=i=>{if(e.has(i))return e.get(i);const[s,o]=t[i];switch(s){case ah:case l2:return n(o,i);case zl:{const a=n([],i);for(const l of o)a.push(r(l));return a}case tf:{const a=n({},i);for(const[l,c]of o)a[r(l)]=r(c);return a}case Dv:return n(new Date(o),i);case Ov:{const{source:a,flags:l}=o;return n(new RegExp(a,l),i)}case Lv:{const a=n(new Map,i);for(const[l,c]of o)a.set(r(l),r(c));return a}case Fv:{const a=n(new Set,i);for(const l of o)a.add(r(l));return a}case c2:{const{name:a,message:l}=o;return n(Ck(a,l),i)}case u2:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:a}=new Uint8Array(o);return n(new DataView(a),o)}}return n(Ck(s,o),i)};return r},Ek=e=>Kq(new Map,e)(0),jo="",{toString:qq}={},{keys:Gq}=Object,fl=e=>{const t=typeof e;if(t!=="object"||!e)return[ah,t];const n=qq.call(e).slice(8,-1);switch(n){case"Array":return[zl,jo];case"Object":return[tf,jo];case"Date":return[Dv,jo];case"RegExp":return[Ov,jo];case"Map":return[Lv,jo];case"Set":return[Fv,jo];case"DataView":return[zl,n]}return n.includes("Array")?[zl,n]:n.includes("Error")?[c2,n]:[tf,n]},Pu=([e,t])=>e===ah&&(t==="function"||t==="symbol"),Yq=(e,t,n,r)=>{const i=(o,a)=>{const l=r.push(o)-1;return n.set(a,l),l},s=o=>{if(n.has(o))return n.get(o);let[a,l]=fl(o);switch(a){case ah:{let u=o;switch(l){case"bigint":a=u2,u=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);u=null;break;case"undefined":return i([l2],o)}return i([a,u],o)}case zl:{if(l){let h=o;return l==="DataView"?h=new Uint8Array(o.buffer):l==="ArrayBuffer"&&(h=new Uint8Array(o)),i([l,[...h]],o)}const u=[],f=i([a,u],o);for(const h of o)u.push(s(h));return f}case tf:{if(l)switch(l){case"BigInt":return i([l,o.toString()],o);case"Boolean":case"Number":case"String":return i([l,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const u=[],f=i([a,u],o);for(const h of Gq(o))(e||!Pu(fl(o[h])))&&u.push([s(h),s(o[h])]);return f}case Dv:return i([a,o.toISOString()],o);case Ov:{const{source:u,flags:f}=o;return i([a,{source:u,flags:f}],o)}case Lv:{const u=[],f=i([a,u],o);for(const[h,p]of o)(e||!(Pu(fl(h))||Pu(fl(p))))&&u.push([s(h),s(p)]);return f}case Fv:{const u=[],f=i([a,u],o);for(const h of o)(e||!Pu(fl(h)))&&u.push(s(h));return f}}const{message:c}=o;return i([a,{name:l,message:c}],o)};return s},Tk=(e,{json:t,lossy:n}={})=>{const r=[];return Yq(!(t||n),!!t,new Map,r)(e),r},nf=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ek(Tk(e,t)):structuredClone(e):(e,t)=>Ek(Tk(e,t));function Zq(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 Qq(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Xq(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Zq,r=e.options.footnoteBackLabel||Qq,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const u=e.all(c),f=String(c.identifier).toUpperCase(),h=Ka(f.toLowerCase());let p=0;const v=[],m=e.footnoteCounts.get(f);for(;m!==void 0&&++p<=m;){v.length>0&&v.push({type:"text",value:" "});let x=typeof n=="string"?n:n(l,p);typeof x=="string"&&(x={type:"text",value:x}),v.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(x)?x:[x]})}const w=u[u.length-1];if(w&&w.type==="element"&&w.tagName==="p"){const x=w.children[w.children.length-1];x&&x.type==="text"?x.value+=" ":w.children.push({type:"text",value:" "}),w.children.push(...v)}else u.push(...v);const g={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(u,!0)};e.patch(c,g),a.push(g)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...nf(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 749`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)}
vendor: 20,127 bytes, lines 749-754
749,{type:"text",value:` 750`}]}}const lh=function(e){if(e==null)return nG;if(typeof e=="function")return ch(e);if(typeof e=="object")return Array.isArray(e)?Jq(e):eG(e);if(typeof e=="string")return tG(e);throw new Error("Expected function, string, or object as test")};function Jq(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=lh(e[n]);return ch(r);function r(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}function eG(e){const t=e;return ch(n);function n(r){const i=r;let s;for(s in e)if(i[s]!==t[s])return!1;return!0}}function tG(e){return ch(t);function t(n){return n&&n.type===e}}function ch(e){return t;function t(n,r,i){return!!(rG(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function nG(){return!0}function rG(e){return e!==null&&typeof e=="object"&&"type"in e}const d2=[],iG=!0,Wg=!1,sG="skip";function f2(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const s=lh(i),o=r?-1:1;a(e,void 0,[])();function a(l,c,u){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return h;function h(){let p=d2,v,m,w;if((!t||s(l,c,u[u.length-1]||void 0))&&(p=oG(n(l,u)),p[0]===Wg))return p;if("children"in l&&l.children){const g=l;if(g.children&&p[0]!==sG)for(m=(r?g.children.length:-1)+o,w=u.concat(g);m>-1&&m<g.children.length;){const x=g.children[m];if(v=a(x,m,w)(),v[0]===Wg)return v;m=typeof v[1]=="number"?v[1]:m+o}}return p}}}function oG(e){return Array.isArray(e)?e:typeof e=="number"?[iG,e]:e==null?d2:[e]}function Vv(e,t,n,r){let i,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,i=n):(s=t,o=n,i=r),f2(e,s,a,i);function a(l,c){const u=c[c.length-1],f=u?u.children.indexOf(l):void 0;return o(l,f,u)}}const Hg={}.hasOwnProperty,aG={};function lG(e,t){const n=t||aG,r=new Map,i=new Map,s=new Map,o={...Wq,...n.handlers},a={all:c,applyData:uG,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:l,options:n,patch:cG,wrap:fG};return Vv(e,function(u){if(u.type==="definition"||u.type==="footnoteDefinition"){const f=u.type==="definition"?r:i,h=String(u.identifier).toUpperCase();f.has(h)||f.set(h,u)}}),a;function l(u,f){const h=u.type,p=a.handlers[h];if(Hg.call(a.handlers,h)&&p)return p(a,u,f);if(a.options.passThrough&&a.options.passThrough.includes(h)){if("children"in u){const{children:m,...w}=u,g=nf(w);return g.children=a.all(u),g}return nf(u)}return(a.options.unknownHandler||dG)(a,u,f)}function c(u){const f=[];if("children"in u){const h=u.children;let p=-1;for(;++p<h.length;){const v=a.one(h[p],u);if(v){if(p&&h[p-1].type==="break"&&(!Array.isArray(v)&&v.type==="text"&&(v.value=Pk(v.value)),!Array.isArray(v)&&v.type==="element")){const m=v.children[0];m&&m.type==="text"&&(m.value=Pk(m.value))}Array.isArray(v)?f.push(...v):f.push(v)}}}return f}}function cG(e,t){e.position&&(t.position=ZW(e))}function uG(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,nf(s)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function dG(e,t){const n=t.data||{},r="value"in t&&!(Hg.call(n,"hProperties")||Hg.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 fG(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 751`});++r<e.length;)r&&n.push({type:"text",value:` 752`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 753`}),n}function Pk(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function jk(e,t){const n=lG(e,t),r=n.one(e,void 0),i=Xq(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:` 754`},i),s}function hG(e,t){return e&&"run"in e?async function(n,r){const i=jk(n,{file:r,...t});await e.run(i,r)}:function(n,r){return jk(n,{file:r,...e||t})}}function Nk(e){if(e)throw e}var td=Object.prototype.hasOwnProperty,h2=Object.prototype.toString,_k=Object.defineProperty,Ak=Object.getOwnPropertyDescriptor,Mk=function(t){return typeof Array.isArray=="function"?Array.isArray(t):h2.call(t)==="[object Array]"},Rk=function(t){if(!t||h2.call(t)!=="[object Object]")return!1;var n=td.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&td.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||td.call(t,i)},Ik=function(t,n){_k&&n.name==="__proto__"?_k(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Dk=function(t,n){if(n==="__proto__")if(td.call(t,n)){if(Ak)return Ak(t,n).value}else return;return t[n]},pG=function e(){var t,n,r,i,s,o,a=arguments[0],l=1,c=arguments.length,u=!1;for(typeof a=="boolean"&&(u=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=Dk(a,n),i=Dk(t,n),a!==i&&(u&&i&&(Rk(i)||(s=Mk(i)))?(s?(s=!1,o=r&&Mk(r)?r:[]):o=r&&Rk(r)?r:{},Ik(a,{name:n,newValue:e(u,o,i)})):typeof i<"u"&&Ik(a,{name:n,newValue:i}));return a};const Pp=mo(pG);function Kg(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 mG(){const e=[],t={run:n,use:r};return t;function n(...i){let s=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(l,...c){const u=e[++s];let f=-1;if(l){o(l);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,u?gG(u,a)(...c):o(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function gG(e,t){let n;return r;function r(...o){const a=e.length>o.length;let l;a&&o.push(i);try{l=e.apply(this,o)}catch(c){const u=c;if(a&&n)throw u;return i(u)}a||(l&&l.then&&typeof l.then=="function"?l.then(s,i):l instanceof Error?i(l):s(l))}function i(o,...a){n||(n=!0,t(o,...a))}function s(o){i(null,o)}}const Ar={basename:yG,dirname:xG,extname:vG,join:wG,sep:"/"};function yG(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Hc(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function xG(e){if(Hc(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 vG(e){Hc(e);let t=e.length,n=-1,r=0,i=-1,s=0,o;for(;t--;){const a=e.codePointAt(t);if(a===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),a===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function wG(...e){let t=-1,n;for(;++t<e.length;)Hc(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":bG(n)}function bG(e){Hc(e);const t=e.codePointAt(0)===47;let n=kG(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function kG(e,t){let n="",r=0,i=-1,s=0,o=-1,a,l;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",r=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s>-1?s++:s=-1}return n}function Hc(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const SG={cwd:CG};function CG(){return"/"}function qg(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function EG(e){if(typeof e=="string")e=new URL(e);else if(!qg(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 TG(e)}function TG(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 i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const jp=["history","path","basename","stem","extname","dirname"];class p2{constructor(t){let n;t?qg(t)?n={path:t}:typeof t=="string"||PG(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":SG.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<jp.length;){const s=jp[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let i;for(i in n)jp.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ar.basename(this.path):void 0}set basename(t){_p(t,"basename"),Np(t,"basename"),this.path=Ar.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ar.dirname(this.path):void 0}set dirname(t){Ok(this.basename,"dirname"),this.path=Ar.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ar.extname(this.path):void 0}set extname(t){if(Np(t,"extname"),Ok(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=Ar.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){qg(t)&&(t=EG(t)),_p(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ar.basename(this.path,this.extname):void 0}set stem(t){_p(t,"stem"),Np(t,"stem"),this.path=Ar.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Jt(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Np(e,t){if(e&&e.includes(Ar.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ar.sep+"`")}function _p(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ok(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function PG(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const jG=function(e){const r=this.constructor.prototype,i=r[e],s=function(){return i.apply(s,arguments)};return Object.setPrototypeOf(s,r),s},NG={}.hasOwnProperty;class Bv extends jG{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=mG()}copy(){const t=new Bv;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Pp(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Rp("data",this.frozen),this.namespace[t]=n,this):NG.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Rp("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 i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ju(t),r=this.parser||this.Parser;return Ap("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ap("process",this.parser||this.Parser),Mp("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,o){const a=ju(t),l=r.parse(a);r.run(l,a,function(u,f,h){if(u||!f||!h)return c(u);const p=f,v=r.stringify(p,h);MG(v)?h.value=v:h.result=v,c(u,h)});function c(u,f){u||!f?o(u):s?s(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Ap("processSync",this.parser||this.Parser),Mp("processSync",this.compiler||this.Compiler),this.process(t,i),Fk("processSync","process",n),r;function i(s,o){n=!0,Nk(s),r=o}}run(t,n,r){Lk(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,a){const l=ju(n);i.run(t,l,c);function c(u,f,h){const p=f||t;u?a(u):o?o(p):r(void 0,p,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,s),Fk("runSync","run",r),i;function s(o,a){Nk(o),i=a,r=!0}}stringify(t,n){this.freeze();const r=ju(n),i=this.compiler||this.Compiler;return Mp("stringify",i),Lk(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Rp("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[u,...f]=c;l(u,f)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))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");a(c.plugins),c.settings&&(i.settings=Pp(!0,i.settings,c.settings))}function a(c){let u=-1;if(c!=null)if(Array.isArray(c))for(;++u<c.length;){const f=c[u];s(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,u){let f=-1,h=-1;for(;++f<r.length;)if(r[f][0]===c){h=f;break}if(h===-1)r.push([c,...u]);else if(u.length>0){let[p,...v]=u;const m=r[h][1];Kg(m)&&Kg(p)&&(p=Pp(!0,m,p)),r[h]=[c,p,...v]}}}}const _G=new Bv().freeze();function Ap(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Mp(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Rp(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 Lk(e){if(!Kg(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Fk(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ju(e){return AG(e)?e:new p2(e)}function AG(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function MG(e){return typeof e=="string"||RG(e)}function RG(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const IG="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Vk=[],Bk={allowDangerousHtml:!0},DG=/^(https?|ircs?|mailto|xmpp)$/i,OG=[{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:"className",id:"remove-classname"},{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 LG(e){const t=FG(e),n=VG(e);return BG(t.runSync(t.parse(n),n),e)}function FG(e){const t=e.rehypePlugins||Vk,n=e.remarkPlugins||Vk,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Bk}:Bk;return _G().use(xq).use(n).use(hG,r).use(t)}function VG(e){const t=e.children||"",n=new p2;return typeof t=="string"&&(n.value=t),n}function BG(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,s=t.disallowedElements,o=t.skipHtml,a=t.unwrapDisallowed,l=t.urlTransform||m2;for(const u of OG)Object.hasOwn(t,u.from)&&(""+u.from+(u.to?"use `"+u.to+"` instead":"remove it")+IG+u.id,void 0);return Vv(e,c),tH(e,{Fragment:d.Fragment,components:i,ignoreInvalidStyle:!0,jsx:d.jsx,jsxs:d.jsxs,passKeys:!0,passNode:!0});function c(u,f,h){if(u.type==="raw"&&h&&typeof f=="number")return o?h.children.splice(f,1):h.children[f]={type:"text",value:u.value},f;if(u.type==="element"){let p;for(p in Cp)if(Object.hasOwn(Cp,p)&&Object.hasOwn(u.properties,p)){const v=u.properties[p],m=Cp[p];(m===null||m.includes(u.tagName))&&(u.properties[p]=l(String(v||""),p,u))}}if(u.type==="element"){let p=n?!n.includes(u.tagName):s?s.includes(u.tagName):!1;if(!p&&r&&typeof f=="number"&&(p=!r(u,f,h)),p&&h&&typeof f=="number")return a&&u.children?h.children.splice(f,1,...u.children):h.children.splice(f,1),f}}}function m2(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||DG.test(e.slice(0,t))?e:""}function zk(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function zG(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function $G(e,t,n){const i=lh((n||{}).ignore||[]),s=UG(t);let o=-1;for(;++o<s.length;)f2(e,"text",a);function a(c,u){let f=-1,h;for(;++f<u.length;){const p=u[f],v=h?h.children:void 0;if(i(p,v?v.indexOf(p):void 0,h))return;h=p}if(h)return l(c,u)}function l(c,u){const f=u[u.length-1],h=s[o][0],p=s[o][1];let v=0;const w=f.children.indexOf(c);let g=!1,x=[];h.lastIndex=0;let y=h.exec(c.value);for(;y;){const k=y.index,C={index:y.index,input:y.input,stack:[...u,c]};let S=p(...y,C);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?h.lastIndex=k+1:(v!==k&&x.push({type:"text",value:c.value.slice(v,k)}),Array.isArray(S)?x.push(...S):S&&x.push(S),v=k+y[0].length,g=!0),!h.global)break;y=h.exec(c.value)}return g?(v<c.value.length&&x.push({type:"text",value:c.value.slice(v)}),f.children.splice(w,1,...x)):x=[c],w+x.length}}function UG(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([WG(i[0]),HG(i[1])])}return t}function WG(e){return typeof e=="string"?new RegExp(zG(e),"g"):e}function HG(e){return typeof e=="function"?e:function(){return e}}const Ip="phrasing",Dp=["autolink","link","image","label"];
vendor: 5,454 bytes, lines 754-755
754function KG(){return{transforms:[JG],enter:{literalAutolink:GG,literalAutolinkEmail:Op,literalAutolinkHttp:Op,literalAutolinkWww:Op},exit:{literalAutolink:XG,literalAutolinkEmail:QG,literalAutolinkHttp:YG,literalAutolinkWww:ZG}}}function qG(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ip,notInConstruct:Dp},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ip,notInConstruct:Dp},{character:":",before:"[ps]",after:"\\/",inConstruct:Ip,notInConstruct:Dp}]}}function GG(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Op(e){this.config.enter.autolinkProtocol.call(this,e)}function YG(e){this.config.exit.autolinkProtocol.call(this,e)}function ZG(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function QG(e){this.config.exit.autolinkEmail.call(this,e)}function XG(e){this.exit(e)}function JG(e){$G(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,eY],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),tY]],{ignore:["link","linkReference"]})}function eY(e,t,n,r,i){let s="";if(!g2(i)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!nY(n)))return!1;const o=rY(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function tY(e,t,n,r){return!g2(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function nY(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function rY(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=zk(e,"(");let s=zk(e,")");for(;r!==-1&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function g2(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||po(n)||sh(n))&&(!t||n!==47)}y2.peek=fY;function iY(){this.buffer()}function sY(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function oY(){this.buffer()}function aY(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function lY(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=br(this.sliceSerialize(e)).toLowerCase(),n.label=t}function cY(e){this.exit(e)}function uY(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=br(this.sliceSerialize(e)).toLowerCase(),n.label=t}function dY(e){this.exit(e)}function fY(){return"["}function y2(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{after:"]",before:s})),a(),o(),s+=i.move("]"),s}function hY(){return{enter:{gfmFootnoteCallString:iY,gfmFootnoteCall:sY,gfmFootnoteDefinitionLabelString:oY,gfmFootnoteDefinition:aY},exit:{gfmFootnoteCallString:lY,gfmFootnoteCall:cY,gfmFootnoteDefinitionLabelString:uY,gfmFootnoteDefinition:dY}}}function pY(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:y2},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,s,o){const a=s.createTracker(o);let l=a.move("[^");const c=s.enter("footnoteDefinition"),u=s.enter("label");return l+=a.move(s.safe(s.associationId(r),{before:l,after:"]"})),u(),l+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),l+=a.move((t?` 755`:" ")+s.indentLines(s.containerFlow(r,a.current()),t?x2:mY))),c(),l}}function mY(e,t,n){return t===0?e:x2(e,t,n)}function x2(e,t,n){return(n?"":" ")+e}const gY=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];v2.peek=bY;function yY(){return{canContainEols:["delete"],enter:{strikethrough:vY},exit:{strikethrough:wY}}}function xY(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:gY}],handlers:{delete:v2}}}function vY(e){this.enter({type:"delete",children:[]},e)}function wY(e){this.exit(e)}function v2(e,t,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),s(),o}function bY(){return"~"}function kY(e){return e.length}function SY(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||kY,s=[],o=[],a=[],l=[];let c=0,u=-1;for(;++u<e.length;){const m=[],w=[];let g=-1;for(e[u].length>c&&(c=e[u].length);++g<e[u].length;){const x=CY(e[u][g]);if(n.alignDelimiters!==!1){const y=i(x);w[g]=y,(l[g]===void 0||y>l[g])&&(l[g]=y)}m.push(x)}o[u]=m,a[u]=w}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)s[f]=$k(r[f]);else{const m=$k(r);for(;++f<c;)s[f]=m}f=-1;const h=[],p=[];for(;++f<c;){const m=s[f];let w="",g="";m===99?(w=":",g=":"):m===108?w=":":m===114&&(g=":");let x=n.alignDelimiters===!1?1:Math.max(1,l[f]-w.length-g.length);const y=w+"-".repeat(x)+g;n.alignDelimiters!==!1&&(x=w.length+x+g.length,x>l[f]&&(l[f]=x),p[f]=x),h[f]=y}o.splice(1,0,h),a.splice(1,0,p),u=-1;const v=[];for(;++u<o.length;){const m=o[u],w=a[u];f=-1;const g=[];for(;++f<c;){const x=m[f]||"";let y="",k="";if(n.alignDelimiters!==!1){const C=l[f]-(w[f]||0),S=s[f];S===114?y=" ".repeat(C):S===99?C%2?(y=" ".repeat(C/2+.5),k=" ".repeat(C/2-.5)):(y=" ".repeat(C/2),k=y):k=" ".repeat(C)}
vendor: 10,186 bytes, lines 755-767
755n.delimiterStart!==!1&&!f&&g.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&x==="")&&(n.delimiterStart!==!1||f)&&g.push(" "),n.alignDelimiters!==!1&&g.push(y),g.push(x),n.alignDelimiters!==!1&&g.push(k),n.padding!==!1&&g.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&g.push("|")}v.push(n.delimiterEnd===!1?g.join("").replace(/ +$/,""):g.join(""))}return v.join(` 756`)}function CY(e){return e==null?"":String(e)}function $k(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function EY(e,t,n,r){const i=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),TY);return i(),o}function TY(e,t,n){return">"+(n?"":" ")+e}function PY(e,t){return Uk(e,t.inConstruct,!0)&&!Uk(e,t.notInConstruct,!1)}function Uk(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Wk(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===` 757`&&PY(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\ 758`}function jY(e,t){const n=String(e);let r=n.indexOf(t),i=r,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++s>o&&(o=s):s=1,i=r+t.length,r=n.indexOf(t,i);return o}function NY(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function _Y(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function AY(e,t,n,r){const i=_Y(n),s=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(NY(e,n)){const f=n.enter("codeIndented"),h=n.indentLines(s,MY);return f(),h}const a=n.createTracker(r),l=i.repeat(Math.max(jY(s,i)+1,3)),c=n.enter("codeFenced");let u=a.move(l);if(e.lang){const f=n.enter(`codeFencedLang${o}`);u+=a.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...a.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${o}`);u+=a.move(" "),u+=a.move(n.safe(e.meta,{before:u,after:` 759`,encode:["`"],...a.current()})),f()}return u+=a.move(` 760`),s&&(u+=a.move(s+` 761`)),u+=a.move(l),c(),u}function MY(e,t,n){return(n?"":" ")+e}function zv(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function RY(e,t,n,r){const i=zv(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` 762`,...l.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),a()),o(),c}function IY(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Sc(e){return"&#x"+e.toString(16).toUpperCase()+";"}function rf(e,t,n){const r=_a(e),i=_a(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}w2.peek=DY;function w2(e,t,n,r){const i=IY(n),s=n.enter("emphasis"),o=n.createTracker(r),a=o.move(i);let l=o.move(n.containerPhrasing(e,{after:i,before:a,...o.current()}));const c=l.charCodeAt(0),u=rf(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Sc(c)+l.slice(1));const f=l.charCodeAt(l.length-1),h=rf(r.after.charCodeAt(0),f,i);h.inside&&(l=l.slice(0,-1)+Sc(f));const p=o.move(i);return s(),n.attentionEncodeSurroundingInfo={after:h.outside,before:u.outside},a+l+p}function DY(e,t,n){return n.options.emphasis||"*"}function OY(e,t){let n=!1;return Vv(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Wg}),!!((!e.depth||e.depth<3)&&Mv(e)&&(t.options.setext||n))}function LY(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(OY(e,n)){const u=n.enter("headingSetext"),f=n.enter("phrasing"),h=n.containerPhrasing(e,{...s.current(),before:` 763`,after:` 764`});return f(),u(),h+` 765`+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(` 766`))+1))}const o="#".repeat(i),a=n.enter("headingAtx"),l=n.enter("phrasing");s.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:` 767`,...s.current()});return/^[\t ]/.test(c)&&(c=Sc(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),l(),a(),c}b2.peek=FY;function b2(e){return e.value||""}function FY(){return"<"}k2.peek=VY;function k2(e,t,n,r){const i=zv(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(a=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),a()),c+=l.move(")"),o(),c}function VY(){return"!"}S2.peek=BY;function S2(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let l=a.move("![");const c=n.safe(e.alt,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return o(),n.stack=u,s(),i==="full"||!c||c!==f?l+=a.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function BY(){return"!"}C2.peek=zY;function C2(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const o=n.unsafe[s],a=n.compilePattern(o);let l;if(o.atBreak)for(;l=a.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return i+r+i}function zY(){return"`"}function E2(e,t){const n=Mv(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}T2.peek=$Y;function T2(e,t,n,r){const i=zv(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let a,l;if(E2(e,n)){const u=n.stack;n.stack=[],a=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),a(),n.stack=u,f}a=n.enter("link"),l=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(l=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),l(),e.title&&(l=n.enter(`title${s}`),c+=o.move(" "+i),c+=o.move(n.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),l()),c+=o.move(")"),a(),c}function $Y(e,t,n){return E2(e,n)?"<":"["}P2.peek=UY;function P2(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let l=a.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...a.current()});l+=a.move(c+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...a.current()});return o(),n.stack=u,s(),i==="full"||!c||c!==f?l+=a.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function UY(){return"["}function $v(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function WY(e){const t=$v(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function HY(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function j2(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function KY(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?HY(n):$v(n);const a=e.ordered?o==="."?")":".":WY(n);let l=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const u=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&u&&(!u.children||!u.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),j2(n)===o&&u){let f=-1;for(;++f<e.children.length;){const h=e.children[f];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(o=a),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,i(),c}function qY(e){const t=e.options.listItemIndent||"one";
vendor: 5,906 bytes, lines 767-769
767if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function GY(e,t,n,r){const i=qY(n);let s=n.bulletCurrent||$v(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const a=n.createTracker(r);a.move(s+" ".repeat(o-s.length)),a.shift(o);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),u);return l(),c;function u(f,h,p){return h?(p?"":" ".repeat(o))+f:(p?s:s+" ".repeat(o-s.length))+f}}function YY(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),i(),o}const ZY=lh(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function QY(e,t,n,r){return(e.children.some(function(o){return ZY(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function XY(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}N2.peek=JY;function N2(e,t,n,r){const i=XY(n),s=n.enter("strong"),o=n.createTracker(r),a=o.move(i+i);let l=o.move(n.containerPhrasing(e,{after:i,before:a,...o.current()}));const c=l.charCodeAt(0),u=rf(r.before.charCodeAt(r.before.length-1),c,i);u.inside&&(l=Sc(c)+l.slice(1));const f=l.charCodeAt(l.length-1),h=rf(r.after.charCodeAt(0),f,i);h.inside&&(l=l.slice(0,-1)+Sc(f));const p=o.move(i+i);return s(),n.attentionEncodeSurroundingInfo={after:h.outside,before:u.outside},a+l+p}function JY(e,t,n){return n.options.strong||"*"}function eZ(e,t,n,r){return n.safe(e.value,r)}function tZ(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function nZ(e,t,n){const r=(j2(n)+(n.options.ruleSpaces?" ":"")).repeat(tZ(n));return n.options.ruleSpaces?r.slice(0,-1):r}const _2={blockquote:EY,break:Wk,code:AY,definition:RY,emphasis:w2,hardBreak:Wk,heading:LY,html:b2,image:k2,imageReference:S2,inlineCode:C2,link:T2,linkReference:P2,list:KY,listItem:GY,paragraph:YY,root:QY,strong:N2,text:eZ,thematicBreak:nZ};function rZ(){return{enter:{table:iZ,tableData:Hk,tableHeader:Hk,tableRow:oZ},exit:{codeText:aZ,table:sZ,tableData:Lp,tableHeader:Lp,tableRow:Lp}}}function iZ(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function sZ(e){this.exit(e),this.data.inTable=void 0}function oZ(e){this.enter({type:"tableRow",children:[]},e)}function Lp(e){this.exit(e)}function Hk(e){this.enter({type:"tableCell",children:[]},e)}function aZ(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,lZ));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function lZ(e,t){return t==="|"?t:e}function cZ(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 768`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:o,tableCell:l,tableRow:a}};function o(p,v,m,w){return c(u(p,m,w),p.align)}function a(p,v,m,w){const g=f(p,m,w),x=c([g]);return x.slice(0,x.indexOf(` 769`))}function l(p,v,m,w){const g=m.enter("tableCell"),x=m.enter("phrasing"),y=m.containerPhrasing(p,{...w,before:s,after:s});return x(),g(),y}function c(p,v){return SY(p,{align:v,alignDelimiters:r,padding:n,stringLength:i})}function u(p,v,m){const w=p.children;let g=-1;const x=[],y=v.enter("table");for(;++g<w.length;)x[g]=f(w[g],v,m);return y(),x}function f(p,v,m){const w=p.children;let g=-1;const x=[],y=v.enter("tableRow");for(;++g<w.length;)x[g]=l(w[g],p,v,m);return y(),x}function h(p,v,m){let w=_2.inlineCode(p,v,m);return m.stack.includes("tableCell")&&(w=w.replace(/\|/g,"\\$&")),w}}function uZ(){return{exit:{taskListCheckValueChecked:Kk,taskListCheckValueUnchecked:Kk,paragraph:fZ}}}function dZ(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:hZ}}}function Kk(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function fZ(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let s=-1,o;for(;++s<i.length;){const a=i[s];if(a.type==="paragraph"){o=a;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function hZ(e,t,n,r){const i=e.children[0],s=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);s&&a.move(o);let l=_2.listItem(e,t,n,{...r,...a.current()});return s&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(u){return u+o}}function pZ(){return[KG(),hY(),yY(),rZ(),uZ()]}function mZ(e){return{extensions:[qG(),pY(e),xY(),cZ(e),dZ()]}}const gZ={tokenize:kZ,partial:!0},A2={tokenize:SZ,partial:!0},M2={tokenize:CZ,partial:!0},R2={tokenize:EZ,partial:!0},yZ={tokenize:TZ,partial:!0},I2={name:"wwwAutolink",tokenize:wZ,previous:O2},D2={name:"protocolAutolink",tokenize:bZ,previous:L2},Si={name:"emailAutolink",tokenize:vZ,previous:F2},Qr={};function xZ(){return{text:Qr}}let Ns=48;
vendor: 8,353 bytes, line 769
769for(;Ns<123;)Qr[Ns]=Si,Ns++,Ns===58?Ns=65:Ns===91&&(Ns=97);Qr[43]=Si;Qr[45]=Si;Qr[46]=Si;Qr[95]=Si;Qr[72]=[Si,D2];Qr[104]=[Si,D2];Qr[87]=[Si,I2];Qr[119]=[Si,I2];function vZ(e,t,n){const r=this;let i,s;return o;function o(f){return!Gg(f)||!F2.call(r,r.previous)||Uv(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return Gg(f)?(e.consume(f),a):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(yZ,u,c)(f):f===45||f===95||Zt(f)?(s=!0,e.consume(f),l):u(f)}function c(f){return e.consume(f),i=!0,l}function u(f){return s&&i&&on(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function wZ(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!O2.call(r,r.previous)||Uv(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(gZ,e.attempt(A2,e.attempt(M2,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function bZ(e,t,n){const r=this;let i="",s=!1;return o;function o(f){return(f===72||f===104)&&L2.call(r,r.previous)&&!Uv(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(on(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),s?c:(s=!0,l)):n(f)}function c(f){return f===null||ef(f)||Ye(f)||po(f)||sh(f)?n(f):e.attempt(A2,e.attempt(M2,u),n)(f)}function u(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function kZ(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}function SZ(e,t,n){let r,i,s;return o;function o(c){return c===46||c===95?e.check(R2,l,a)(c):c===null||Ye(c)||po(c)||c!==45&&sh(c)?l(c):(s=!0,e.consume(c),o)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function l(c){return i||r||!s?n(c):t(c)}}function CZ(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(R2,t,s)(o):o===null||Ye(o)||po(o)?t(o):(e.consume(o),i)}function s(o){return o===41&&r++,e.consume(o),i}}function EZ(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),s):a===93?(e.consume(a),i):a===60||a===null||Ye(a)||po(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Ye(a)||po(a)?t(a):r(a)}function s(a){return on(a)?o(a):n(a)}function o(a){return a===59?(e.consume(a),r):on(a)?(e.consume(a),o):n(a)}}function TZ(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return Zt(s)?n(s):t(s)}}function O2(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ye(e)}function L2(e){return!on(e)}function F2(e){return!(e===47||Gg(e))}function Gg(e){return e===43||e===45||e===46||e===95||Zt(e)}function Uv(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const PZ={tokenize:DZ,partial:!0};function jZ(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:MZ,continuation:{tokenize:RZ},exit:IZ}},text:{91:{name:"gfmFootnoteCall",tokenize:AZ},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:NZ,resolveTo:_Z}}}}function NZ(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){o=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!o||!o._balanced)return n(l);const c=br(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!s.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function _Z(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function AZ(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(s>999||f===93&&!o||f===null||f===91||Ye(f))return n(f);if(f===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(br(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Ye(f)||(o=!0),s++,e.consume(f),f===92?u:c}function u(f){return f===91||f===92||f===93?(e.consume(f),s++,c):c(f)}}function MZ(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,a;return l;function l(v){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(v){return v===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(v)}function u(v){if(o>999||v===93&&!a||v===null||v===91||Ye(v))return n(v);if(v===93){e.exit("chunkString");const m=e.exit("gfmFootnoteDefinitionLabelString");return s=br(r.sliceSerialize(m)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Ye(v)||(a=!0),o++,e.consume(v),v===92?f:u}function f(v){return v===91||v===92||v===93?(e.consume(v),o++,u):u(v)}function h(v){return v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),i.includes(s)||i.push(s),Le(e,p,"gfmFootnoteDefinitionWhitespace")):n(v)}function p(v){return t(v)}}function RZ(e,t,n){return e.check(Wc,t,e.attempt(PZ,t,n))}function IZ(e){e.exit("gfmFootnoteDefinition")}function DZ(e,t,n){const r=this;return Le(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function OZ(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,a){let l=-1;for(;++l<o.length;)if(o[l][0]==="enter"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._close){let c=l;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[l][1].end.offset-o[l][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[l][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";const u={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[l][1].end)},f={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[l][1].start)},h=[["enter",u,a],["enter",o[c][1],a],["exit",o[c][1],a],["enter",f,a
vendor: 7,149 bytes, line 769
769]],p=a.parser.constructs.insideSpan.null;p&&Nn(h,h.length,0,oh(p,o.slice(c+1,l),a)),Nn(h,h.length,0,[["exit",f,a],["enter",o[l][1],a],["exit",o[l][1],a],["exit",u,a]]),Nn(o,c-1,l-c+3,h),l=c+h.length-2;break}}for(l=-1;++l<o.length;)o[l][1].type==="strikethroughSequenceTemporary"&&(o[l][1].type="data");return o}function s(o,a,l){const c=this.previous,u=this.events;let f=0;return h;function h(v){return c===126&&u[u.length-1][1].type!=="characterEscape"?l(v):(o.enter("strikethroughSequenceTemporary"),p(v))}function p(v){const m=_a(c);if(v===126)return f>1?l(v):(o.consume(v),f++,p);if(f<2&&!n)return l(v);const w=o.exit("strikethroughSequenceTemporary"),g=_a(v);return w._open=!g||g===2&&!!m,w._close=!m||m===2&&!!g,a(v)}}}class LZ{constructor(){this.map=[]}add(t,n,r){FZ(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const s of i)t.push(s);i=r.pop()}this.map.length=0}}function FZ(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function VZ(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function BZ(){return{flow:{null:{name:"table",tokenize:zZ,resolveAll:$Z}}}}function zZ(e,t,n){const r=this;let i=0,s=0,o;return a;function a(T){let O=r.events.length-1;for(;O>-1;){const F=r.events[O][1].type;if(F==="lineEnding"||F==="linePrefix")O--;else break}const R=O>-1?r.events[O][1].type:null,z=R==="tableHead"||R==="tableRow"?S:l;return z===S&&r.parser.lazy[r.now().line]?n(T):z(T)}function l(T){return e.enter("tableHead"),e.enter("tableRow"),c(T)}function c(T){return T===124||(o=!0,s+=1),u(T)}function u(T){return T===null?n(T):ge(T)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),p):n(T):Ie(T)?Le(e,u,"whitespace")(T):(s+=1,o&&(o=!1,i+=1),T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),o=!0,u):(e.enter("data"),f(T)))}function f(T){return T===null||T===124||Ye(T)?(e.exit("data"),u(T)):(e.consume(T),T===92?h:f)}function h(T){return T===92||T===124?(e.consume(T),f):f(T)}function p(T){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(T):(e.enter("tableDelimiterRow"),o=!1,Ie(T)?Le(e,v,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):v(T))}function v(T){return T===45||T===58?w(T):T===124?(o=!0,e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),m):C(T)}function m(T){return Ie(T)?Le(e,w,"whitespace")(T):w(T)}function w(T){return T===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),g):T===45?(s+=1,g(T)):T===null||ge(T)?k(T):C(T)}function g(T){return T===45?(e.enter("tableDelimiterFiller"),x(T)):C(T)}function x(T){return T===45?(e.consume(T),x):T===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(T),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(T))}function y(T){return Ie(T)?Le(e,k,"whitespace")(T):k(T)}function k(T){return T===124?v(T):T===null||ge(T)?!o||i!==s?C(T):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(T)):C(T)}function C(T){return n(T)}function S(T){return e.enter("tableRow"),P(T)}function P(T){return T===124?(e.enter("tableCellDivider"),e.consume(T),e.exit("tableCellDivider"),P):T===null||ge(T)?(e.exit("tableRow"),t(T)):Ie(T)?Le(e,P,"whitespace")(T):(e.enter("data"),N(T))}function N(T){return T===null||T===124||Ye(T)?(e.exit("data"),P(T)):(e.consume(T),T===92?A:N)}function A(T){return T===92||T===124?(e.consume(T),N):N(T)}}function $Z(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],a=!1,l=0,c,u,f;const h=new LZ;for(;++n<e.length;){const p=e[n],v=p[1];p[0]==="enter"?v.type==="tableHead"?(a=!1,l!==0&&(qk(h,t,l,c,u),u=void 0,l=0),c={type:"table",start:Object.assign({},v.start),end:Object.assign({},v.end)},h.add(n,0,[["enter",c,t]])):v.type==="tableRow"||v.type==="tableDelimiterRow"?(r=!0,f=void 0,s=[0,0,0,0],o=[0,n+1,0,0],a&&(a=!1,u={type:"tableBody",start:Object.assign({},v.start),end:Object.assign({},v.end)},h.add(n,0,[["enter",u,t]])),i=v.type==="tableDelimiterRow"?2:u?3:1):i&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],f=Nu(h,t,s,i,void 0,f),s=[0,0,0,0]),o[2]=n)):v.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],f=Nu(h,t,s,i,void 0,f)),s=o,o=[s[1],n,0,0])):v.type==="tableHead"?(a=!0,l=n):v.type==="tableRow"||v.type==="tableDelimiterRow"?(l=n,s[1]!==0?(o[0]=o[1],f=Nu(h,t,s,i,n,f)):o[1]!==0&&(f=Nu(h,t,o,i,n,f)),i=0):i&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")&&(o[3]=n)}for(l!==0&&qk(h,t,l,c,u),h.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=VZ(t.events,n))}return e}function Nu(e,t,n,r,i,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(s.end=Object.assign({},_o(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const l=_o(t.events,n[1]);if(s={type:o,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const c=_o(t.events,n[2]),u=_o(t.events,n[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},u)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const h=t.events[n[2]],p=t.events[n[3]];if(h[1].end=Object.assign({},p[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const v=n[2]+1,m=n[3]-n[2]-1;e.add(v,m,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},_o(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}function qk(e,t,n,r,i){const s=[],o=_o(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}function _o(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const UZ={name:"tasklistCheck",tokenize:HZ};function WZ(){return{text:{91:UZ}}}function HZ(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),s)}function s(l){return Ye(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),o):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),o):n(l)}function o(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(l)}function a(l){return ge(l)?t(l):Ie(l)?e.check({tokenize:KZ},t,n)(l):n(l)}}
769function KZ(e,t,n){return Le(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function qZ(e){return qA([xZ(),jZ(),OZ(e),BZ(),WZ()])}const GZ={};function YZ(e){const t=this,n=e||GZ,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(qZ(n)),s.push(pZ()),o.push(mZ(n))}function ZZ(e){const[t,n,r]=e.split("-").map(Number);return!t||!n||!r?e:new Date(Date.UTC(t,n-1,r)).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})}const QZ=()=>{const{slug:e=""}=gx(),t=nW(e),n=Of(),r=Tr(),i=Df();return t?d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"blog-post",titleOverride:`${t.title} | ${r.name} Blog`,descriptionOverride:t.summary,canonicalOverride:`${Vn}/blog/${t.slug}`,ogTypeOverride:"article"}),d.jsx(vi,{data:Z8({slug:t.slug,title:t.title,date:t.date,author:t.author,summary:t.summary})}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Blog",href:"/blog"},{label:t.title,href:`/blog/${t.slug}`}]}),d.jsx("article",{className:"py-12 md:py-16 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[d.jsxs("header",{className:"mb-10",children:[d.jsxs("p",{className:"text-xs font-semibold font-body text-muted-foreground uppercase tracking-[0.2em] mb-3",children:[d.jsx("time",{dateTime:t.date,children:ZZ(t.date)}),d.jsx("span",{className:"mx-2",children:"·"}),d.jsxs("span",{children:["By ",t.author]})]}),d.jsx("h1",{className:"text-3xl md:text-5xl font-bold text-foreground leading-tight tracking-tight",children:t.title})]}),d.jsx("div",{className:"prose prose-neutral md:prose-lg max-w-none prose-headings:font-display prose-headings:uppercase prose-headings:tracking-tight prose-blockquote:border-l-[3px] prose-blockquote:border-[hsl(var(--gold))] prose-a:text-foreground prose-a:underline hover:prose-a:text-[hsl(var(--gold))]",children:d.jsx(LG,{remarkPlugins:[YZ],urlTransform:s=>s.startsWith("tel:")?s:m2(s),children:t.body})}),d.jsx("div",{className:"mt-12 pt-8 border-t border-border",children:d.jsxs(Pe,{to:"/blog",className:"inline-flex items-center gap-2 text-sm font-semibold text-foreground hover:text-[hsl(var(--gold))] transition-colors",children:[d.jsx(tT,{className:"w-4 h-4"}),"Back to all posts"]})})]})}),d.jsx("section",{className:"pb-20 md:pb-28 bg-background",children:d.jsxs("div",{className:"container mx-auto px-4 max-w-2xl text-center",children:[d.jsx("div",{className:"w-12 h-[3px] bg-[hsl(var(--gold))] mx-auto mb-6 rounded-full"}),d.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-3 tracking-tight",children:(n==null?void 0:n.ctaHeading)??"Want to train with us?"}),d.jsx("p",{className:"text-muted-foreground font-body mb-8 leading-relaxed",children:(n==null?void 0:n.ctaDescription)??"Book a free trial class today."}),d.jsx(qn,{children:d.jsxs(We,{variant:"gold",size:"lg",children:[i.ctaLabel,d.jsx(bt,{className:"ml-2 h-4 w-4"})]})})]})})]}),d.jsx(Qn,{})]}):d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"not-found"}),d.jsx(Zn,{}),d.jsxs("main",{className:"container mx-auto px-4 py-24 max-w-2xl text-center",children:[d.jsx("h1",{className:"text-3xl font-bold mb-4",children:"Post not found"}),d.jsx("p",{className:"text-muted-foreground mb-8",children:"We couldn't find a blog post at this URL. It may have been moved or removed."}),d.jsx(We,{asChild:!0,children:d.jsx(Pe,{to:"/blog",children:"Back to the blog"})})]}),d.jsx(Qn,{})]})},XZ="July 28, 2026",JZ="empowernjmma.com",eQ=()=>{const e=Tr(),t=e.primaryLocation,n=e.email;return d.jsxs("div",{className:"min-h-screen bg-background",children:[d.jsx(Xn,{pageKey:"privacy-policy"}),d.jsx(Zn,{}),d.jsxs("main",{children:[d.jsx(Zr,{items:[{label:"Home",href:"/"},{label:"Privacy Policy",href:"/privacy-policy"}]}),d.jsx(Es,{badge:"Legal",title:"Privacy Policy",description:`Last Updated: ${XZ}`}),d.jsx("section",{className:"bg-background py-16 md:py-20",children:d.jsx("div",{className:"mx-auto max-w-3xl px-4",children:d.jsxs("div",{className:"space-y-8 text-muted-foreground leading-relaxed [&_h2]:text-foreground [&_h2]:text-xl [&_h2]:md:text-2xl [&_h2]:font-bold [&_h3]:text-foreground [&_h3]:font-semibold [&_a]:text-foreground [&_a]:underline [&_a]:underline-offset-2 [&_a:hover]:text-[hsl(var(--gold))]",children:[d.jsxs("p",{children:["This Privacy Policy explains how ",e.name,' ("we," "us," or "our") collects, uses, and shares information through our website'," ",JZ,' (the "Site"). It applies to visitors in the United States. By using the Site, you agree to this Policy.']}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"Information We Collect"}),d.jsx("p",{children:`When you contact us or submit a form on the Site, we collect the information you provide: first and last name, age, program of interest, preferred location, phone number, email address, and any message or notes you include. Because we offer martial arts instruction, some of this information may relate to a minor (for example, when a parent inquires on a child's behalf). See "Children's Privacy" below.`}),d.jsx("p",{children:"If we make a waiver or registration form available, you may also provide health or injury information relevant to safe participation. We use this only to help keep participants safe."}),d.jsx("p",{children:"When you visit the Site, we also automatically collect basic technical information (such as IP address, browser type, and pages viewed) through cookies and similar technologies."})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"How We Use Information"}),d.jsx("p",{children:"We use this information to respond to your inquiry; provide and improve our programs and services; communicate with you about classes, scheduling, and support; send marketing messages where you have opted in; keep our students, facilities, and Site secure; and comply with our legal obligations. We do not sell or rent your personal information."})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"How We Share Information"}),d.jsx("p",{children:"We share personal information only with service providers who help us operate (such as payment processing, scheduling/CRM, messaging, and hosting), and when required to comply with the law or protect the safety of our students, staff, or others."})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"Cookies"}),d.jsx("p",{children:"We use cookies and similar technologies to operate the Site and understand how it is used, including analytics services such as Google Analytics. You can control cookies through your browser settings."})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"Children's Privacy"}),d.jsx("p",{children:"We offer programs for children and collect information about minors as part of enrollment and instruction. Consistent with the Children's Online Privacy Protection Act (COPPA), we do not knowingly collect personal information online from children under 13 without a parent or guardian's consent. We collect only what is reasonably necessary for participation and do not use children's information for targeted advertising."}),d.jsxs("p",{children:["We may photograph or record students during classes and events for instructional or promotional purposes, and we obtain parental or guardian consent before using a minor's image publicly. A parent or guardian may review, request deleti
769on of, or refuse further collection of their child's information by contacting us at ",d.jsx("a",{href:`mailto:${n}`,children:n}),"."]})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"Your Choices"}),d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Email."})," We send marketing email only to people who have opted in. Every marketing email includes an unsubscribe link, which we honor. We may still send messages about your account, enrollment, or billing."]}),d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Text messages."})," If you opt in to texts, you may receive messages such as class reminders and promotions. Consent is not a condition of enrollment or purchase. Message and data rates may apply. You can opt out anytime by replying STOP. We only send marketing texts between 9:00 a.m. and 9:00 p.m. your local time."]}),d.jsxs("p",{children:[d.jsx("strong",{className:"text-foreground",children:"Your rights."})," You may request access to, correction of, or deletion of your personal information, or opt out of marketing, by contacting us at"," ",d.jsx("a",{href:`mailto:${n}`,children:n}),". We will respond as required by applicable law."]})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"Security"}),d.jsx("p",{children:"We use reasonable safeguards to protect your information, including encryption (HTTPS) when transmitting sensitive data. No method of transmission or storage is completely secure, so we cannot guarantee absolute security. Please keep your account password confidential."})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"Changes to This Policy"}),d.jsx("p",{children:'We may update this Policy from time to time. When we do, we will revise the "Last Updated" date above. Your continued use of the Site means you accept the updated Policy.'})]}),d.jsxs("div",{className:"space-y-3",children:[d.jsx("h2",{children:"Contact Us"}),d.jsxs("p",{children:[e.name,d.jsx("br",{}),t.address,", ",t.city,", ",t.state," ",t.zip,d.jsx("br",{}),"Email: ",d.jsx("a",{href:`mailto:${n}`,children:n})," â Phone:"," ",d.jsx("a",{href:`tel:${e.phoneRaw}`,children:e.phone})]})]})]})})})]}),d.jsx(Qn,{})]})};function tQ({children:e}){const[t,n]=b.useState(!1);return b.useEffect(()=>{const r=typeof navigator<"u"&&navigator.userAgent||"";typeof navigator<"u"&&navigator.webdriver===!0||/HeadlessChrome|ReactSnap/i.test(r)||n(!0)},[]),t?d.jsx(d.Fragment,{children:e}):null}function nQ(){const{pathname:e,hash:t}=bs();return b.useEffect(()=>{"scrollRestoration"in history&&(history.scrollRestoration="manual")},[]),b.useEffect(()=>{if(!t){window.scrollTo(0,0);return}const n=t.replace(/^#/,"");let r=!1,i=0;const s=()=>
769{if(r)return;const o=document.getElementById(n);o?(o.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{var a;r||(a=document.getElementById(n))==null||a.scrollIntoView({block:"start"})},400)):i<20?(i++,requestAnimationFrame(s)):window.scrollTo(0,0)};return requestAnimationFrame(s),()=>{r=!0}},[e,t]),null}const rQ=new PF,iQ=()=>d.jsx(kE,{children:d.jsxs(I5,{children:[d.jsx(F5,{}),d.jsx(NF,{client:rQ,children:d.jsxs(rF,{children:[d.jsxs(tQ,{children:[d.jsx(BO,{}),d.jsx(xL,{})]}),d.jsxs(E5,{children:[d.jsx(nQ,{}),d.jsxs(x5,{children:[d.jsx(bn,{path:"/",element:d.jsx(nU,{})}),d.jsx(bn,{path:"/classes/:slug",element:d.jsx(iU,{})}),d.jsx(bn,{path:"/about",element:d.jsx(sU,{})}),d.jsx(bn,{path:"/schedule",element:d.jsx(cU,{})}),d.jsx(bn,{path:"/contact",element:d.jsx(uU,{})}),d.jsx(bn,{path:"/locations",element:d.jsx(dU,{})}),d.jsx(bn,{path:"/locations/:slug",element:d.jsx($7,{})}),d.jsx(bn,{path:"/faq",element:d.jsx(U7,{})}),Qt.blog&&d.jsx(bn,{path:"/blog",element:d.jsx(iW,{})}),Qt.blog&&d.jsx(bn,{path:"/blog/:slug",element:d.jsx(QZ,{})}),d.jsx(bn,{path:"/privacy-policy",element:d.jsx(eQ,{})}),d.jsx(bn,{path:"*",element:d.jsx(W7,{})})]})]})]})})]})});mE(document.getElementById("root")).render(d.jsx(iQ,{}));
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.