vendor: 4,137 bytes, lines 1-9
1var xg=e=>{throw TypeError(e)};var ed=(e,t,n)=>t.has(e)||xg("Cannot "+n);var P=(e,t,n)=>(ed(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?xg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),J=(e,t,n,r)=>(ed(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),qe=(e,t,n)=>(ed(e,t,"access private method"),n);var Qa=(e,t,n,r)=>({set _(s){J(e,t,s,n)},get _(){return P(e,t,r)}});function i_(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Cx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ax={exports:{}},ou={},Px={exports:{}},Z={};/** 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 Oa=Symbol.for("react.element"),o_=Symbol.for("react.portal"),a_=Symbol.for("react.fragment"),l_=Symbol.for("react.strict_mode"),c_=Symbol.for("react.profiler"),u_=Symbol.for("react.provider"),d_=Symbol.for("react.context"),h_=Symbol.for("react.forward_ref"),f_=Symbol.for("react.suspense"),p_=Symbol.for("react.memo"),m_=Symbol.for("react.lazy"),wg=Symbol.iterator;function g_(e){return e===null||typeof e!="object"?null:(e=wg&&e[wg]||e["@@iterator"],typeof e=="function"?e:null)}var Rx={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ix=Object.assign,Ox={};function Ji(e,t,n){this.props=e,this.context=t,this.refs=Ox,this.updater=n||Rx}Ji.prototype.isReactComponent={};Ji.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")};Ji.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dx(){}Dx.prototype=Ji.prototype;function dp(e,t,n){this.props=e,this.context=t,this.refs=Ox,this.updater=n||Rx}var hp=dp.prototype=new Dx;hp.constructor=dp;Ix(hp,Ji.prototype);hp.isPureReactComponent=!0;var bg=Array.isArray,Lx=Object.prototype.hasOwnProperty,fp={current:null},Mx={key:!0,ref:!0,__self:!0,__source:!0};function $x(e,t,n){var r,s={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Lx.call(t,r)&&!Mx.hasOwnProperty(r)&&(s[r]=t[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)s[r]===void 0&&(s[r]=l[r]);return{$$typeof:Oa,type:e,key:i,ref:o,props:s,_owner:fp.current}}function y_(e,t){return{$$typeof:Oa,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function pp(e){return typeof e=="object"&&e!==null&&e.$$typeof===Oa}function v_(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var kg=/\/+/g;function td(e,t){return typeof e=="object"&&e!==null&&e.key!=null?v_(""+e.key):t.toString(36)}
vendor: 4,749 bytes, lines 9-17
9function Ml(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Oa:case o_:o=!0}}if(o)return o=e,s=s(o),e=r===""?"."+td(o,0):r,bg(s)?(n="",e!=null&&(n=e.replace(kg,"$&/")+"/"),Ml(s,t,n,"",function(u){return u})):s!=null&&(pp(s)&&(s=y_(s,n+(!s.key||o&&o.key===s.key?"":(""+s.key).replace(kg,"$&/")+"/")+e)),t.push(s)),1;if(o=0,r=r===""?".":r+":",bg(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+td(i,l);o+=Ml(i,t,n,c,s)}else if(c=g_(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+td(i,l++),o+=Ml(i,t,n,c,s);else if(i==="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 Xa(e,t,n){if(e==null)return e;var r=[],s=0;return Ml(e,r,"","",function(i){return t.call(n,i,s++)}),r}function x_(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 ot={current:null},$l={transition:null},w_={ReactCurrentDispatcher:ot,ReactCurrentBatchConfig:$l,ReactCurrentOwner:fp};function Fx(){throw Error("act(...) is not supported in production builds of React.")}Z.Children={map:Xa,forEach:function(e,t,n){Xa(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Xa(e,function(){t++}),t},toArray:function(e){return Xa(e,function(t){return t})||[]},only:function(e){if(!pp(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Z.Component=Ji;Z.Fragment=a_;Z.Profiler=c_;Z.PureComponent=dp;Z.StrictMode=l_;Z.Suspense=f_;Z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=w_;Z.act=Fx;Z.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=Ix({},e.props),s=e.key,i=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,o=fp.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)Lx.call(t,c)&&!Mx.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Oa,type:e.type,key:s,ref:i,props:r,_owner:o}};Z.createContext=function(e){return e={$$typeof:d_,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:u_,_context:e},e.Consumer=e};Z.createElement=$x;Z.createFactory=function(e){var t=$x.bind(null,e);return t.type=e,t};Z.createRef=function(){return{current:null}};Z.forwardRef=function(e){return{$$typeof:h_,render:e}};Z.isValidElement=pp;Z.lazy=function(e){return{$$typeof:m_,_payload:{_status:-1,_result:e},_init:x_}};Z.memo=function(e,t){return{$$typeof:p_,type:e,compare:t===void 0?null:t}};Z.startTransition=function(e){var t=$l.transition;$l.transition={};try{e()}finally{$l.transition=t}};Z.unstable_act=Fx;Z.useCallback=function(e,t){return ot.current.useCallback(e,t)};Z.useContext=function(e){return ot.current.useContext(e)};Z.useDebugValue=function(){};Z.useDeferredValue=function(e){return ot.current.useDeferredValue(e)};Z.useEffect=function(e,t){return ot.current.useEffect(e,t)};Z.useId=function(){return ot.current.useId()};Z.useImperativeHandle=function(e,t,n){return ot.current.useImperativeHandle(e,t,n)};Z.useInsertionEffect=function(e,t){return ot.current.useInsertionEffect(e,t)};Z.useLayoutEffect=function(e,t){return ot.current.useLayoutEffect(e,t)};Z.useMemo=function(e,t){return ot.current.useMemo(e,t)};Z.useReducer=function(e,t,n){return ot.current.useReducer(e,t,n)};Z.useRef=function(e){return ot.current.useRef(e)};Z.useState=function(e){return ot.current.useState(e)};Z.useSyncExternalStore=function(e,t,n){return ot.current.useSyncExternalStore(e,t,n)};Z.useTransition=function(){return ot.current.useTransition()};Z.version="18.3.1";Px.exports=Z;var b=Px.exports;const R=Cx(b),mp=i_({__proto__:null,default:R},[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 b_=b,k_=Symbol.for("react.element"),S_=Symbol.for("react.fragment"),j_=Object.prototype.hasOwnProperty,__=b_.__SECRET_INT
vendor: 10,212 bytes, lines 17-33
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,E_={key:!0,ref:!0,__self:!0,__source:!0};function Bx(e,t,n){var r,s={},i=null,o=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)j_.call(t,r)&&!E_.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:k_,type:e,key:i,ref:o,props:s,_owner:__.current}}ou.Fragment=S_;ou.jsx=Bx;ou.jsxs=Bx;Ax.exports=ou;var a=Ax.exports,Ux={exports:{}},Et={},Vx={exports:{}},zx={};/** 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(N,A){var L=N.length;N.push(A);e:for(;0<L;){var H=L-1>>>1,z=N[H];if(0<s(z,A))N[H]=A,N[L]=z,L=H;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var A=N[0],L=N.pop();if(L!==A){N[0]=L;e:for(var H=0,z=N.length,X=z>>>1;H<X;){var ee=2*(H+1)-1,Te=N[ee],Ke=ee+1,se=N[Ke];if(0>s(Te,L))Ke<z&&0>s(se,Te)?(N[H]=se,N[Ke]=L,H=Ke):(N[H]=Te,N[ee]=L,H=ee);else if(Ke<z&&0>s(se,L))N[H]=se,N[Ke]=L,H=Ke;else break e}}return A}function s(N,A){var L=N.sortIndex-A.sortIndex;return L!==0?L:N.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,x=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(N){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=N)r(u),A.sortIndex=A.expirationTime,t(c,A);else break;A=n(u)}}function k(N){if(m=!1,v(N),!x)if(n(c)!==null)x=!0,U(S);else{var A=n(u);A!==null&&G(k,A.startTime-N)}}function S(N,A){x=!1,m&&(m=!1,y(E),E=-1),p=!0;var L=f;try{for(v(A),h=n(c);h!==null&&(!(h.expirationTime>A)||N&&!M());){var H=h.callback;if(typeof H=="function"){h.callback=null,f=h.priorityLevel;var z=H(h.expirationTime<=A);A=e.unstable_now(),typeof z=="function"?h.callback=z:h===n(c)&&r(c),v(A)}else r(c);h=n(c)}if(h!==null)var X=!0;else{var ee=n(u);ee!==null&&G(k,ee.startTime-A),X=!1}return X}finally{h=null,f=L,p=!1}}var _=!1,j=null,E=-1,C=5,T=-1;function M(){return!(e.unstable_now()-T<C)}function O(){if(j!==null){var N=e.unstable_now();T=N;var A=!0;try{A=j(!0,N)}finally{A?W():(_=!1,j=null)}}else _=!1}var W;if(typeof g=="function")W=function(){g(O)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,q=D.port2;D.port1.onmessage=O,W=function(){q.postMessage(null)}}else W=function(){w(O,0)};function U(N){j=N,_||(_=!0,W())}function G(N,A){E=w(function(){N(e.unstable_now())},A)}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(N){N.callback=null},e.unstable_continueExecution=function(){x||p||(x=!0,U(S))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(N){switch(f){case 1:case 2:case 3:var A=3;break;default:A=f}var L=f;f=A;try{return N()}finally{f=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,A){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var L=f;f=N;try{return A()}finally{f=L}},e.unstable_scheduleCallback=function(N,A,L){var H=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?H+L:H):L=H,N){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=L+z,N={id:d++,callback:A,priorityLevel:N,startTime:L,expirationTime:z,sortIndex:-1},L>H?(N.sortIndex=L,t(u,N),n(c)===null&&N===n(u)&&(m?(y(E),E=-1):m=!0,G(k,L-H))):(N.sortIndex=z,t(c,N),x||p||(x=!0,U(S))),N},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(N){var A=f;return function(){var L=f;f=A;try{return N.apply(this,arguments)}finally{f=L}}}})(zx);Vx.exports=zx;var N_=Vx.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 T_=b,_t=N_;function I(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 Wx=new Set,Go={};function Ts(e,t){Mi(e,t),Mi(e+"Capture",t)}function Mi(e,t){for(Go[e]=t,e=0;e<t.length;e++)Wx.add(t[e])}var zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yh=Object.prototype.hasOwnProperty,C_=/^[: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]*$/,Sg={},jg={};function A_(e){return yh.call(jg,e)?!0:yh.call(Sg,e)?!1:C_.test(e)?jg[e]=!0:(Sg[e]=!0,!1)}function P_(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 R_(e,t,n,r){if(t===null||typeof t>"u"||P_(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 at(e,t,n,r,s,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var We={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){We[e]=new at(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];We[t]=new at(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){We[e]=new at(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){We[e]=new at(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){We[e]=new at(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){We[e]=new at(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){We[e]=new at(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){We[e]=new at(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){We[e]=new at(e,5,!1,e.toLowerCase(),null,!1,!1)});var gp=/[\-:]([a-z])/g;function yp(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(gp,yp);We[t]=new at(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(gp,yp);We[t]=new at(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(gp,yp);We[t]=new at(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){We[e]=new at(e,1,!1,e.toLowerCase(),null,!1,!1)});We.xlinkHref=new at("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){We[e]=new at(e,1,!1,e.toLowerCase(),null,!0,!0)});function vp(e,t,n,r){var s=We.hasOwnProperty(t)?We[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(R_(t,n,s,r)&&(n=null),r||s===null?A_(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}
vendor: 5,844 bytes, lines 33-37
33var Yn=T_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Za=Symbol.for("react.element"),ni=Symbol.for("react.portal"),ri=Symbol.for("react.fragment"),xp=Symbol.for("react.strict_mode"),vh=Symbol.for("react.profiler"),Hx=Symbol.for("react.provider"),Kx=Symbol.for("react.context"),wp=Symbol.for("react.forward_ref"),xh=Symbol.for("react.suspense"),wh=Symbol.for("react.suspense_list"),bp=Symbol.for("react.memo"),ur=Symbol.for("react.lazy"),qx=Symbol.for("react.offscreen"),_g=Symbol.iterator;function lo(e){return e===null||typeof e!="object"?null:(e=_g&&e[_g]||e["@@iterator"],typeof e=="function"?e:null)}var ke=Object.assign,nd;function ko(e){if(nd===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);nd=t&&t[1]||""}return` 34`+nd+e}var rd=!1;function sd(e,t){if(!e||rd)return"";rd=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(` 35`),i=r.stack.split(` 36`),o=s.length-1,l=i.length-1;1<=o&&0<=l&&s[o]!==i[l];)l--;for(;1<=o&&0<=l;o--,l--)if(s[o]!==i[l]){if(o!==1||l!==1)do if(o--,l--,0>l||s[o]!==i[l]){var c=` 37`+s[o].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{rd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ko(e):""}function I_(e){switch(e.tag){case 5:return ko(e.type);case 16:return ko("Lazy");case 13:return ko("Suspense");case 19:return ko("SuspenseList");case 0:case 2:case 15:return e=sd(e.type,!1),e;case 11:return e=sd(e.type.render,!1),e;case 1:return e=sd(e.type,!0),e;default:return""}}function bh(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 ri:return"Fragment";case ni:return"Portal";case vh:return"Profiler";case xp:return"StrictMode";case xh:return"Suspense";case wh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Kx:return(e.displayName||"Context")+".Consumer";case Hx:return(e._context.displayName||"Context")+".Provider";case wp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bp:return t=e.displayName||null,t!==null?t:bh(e.type)||"Memo";case ur:t=e._payload,e=e._init;try{return bh(e(t))}catch{}}return null}function O_(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 bh(t);case 8:return t===xp?"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 Or(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function D_(e){var t=Gx(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 s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){r=""+o,i.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 el(e){e._valueTracker||(e._valueTracker=D_(e))}function Yx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gx(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function uc(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 kh(e,t){var n=t.checked;return ke({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Eg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Or(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 Jx(e,t){t=t.checked,t!=null&&vp(e,"checked",t,!1)}function Sh(e,t){Jx(e,t);var n=Or(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")?jh(e,t.type,n):t.hasOwnProperty("defaultValue")&&jh(e,t.type,Or(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ng(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: 12,094 bytes, line 37
37function jh(e,t,n){(t!=="number"||uc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var So=Array.isArray;function vi(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Or(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function _h(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return ke({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Tg(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(So(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Or(n)}}function Qx(e,t){var n=Or(t.value),r=Or(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 Cg(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Xx(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 Eh(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Xx(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var tl,Zx=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(tl=tl||document.createElement("div"),tl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=tl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ao={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},L_=["Webkit","ms","Moz","O"];Object.keys(Ao).forEach(function(e){L_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ao[t]=Ao[e]})});function ew(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ao.hasOwnProperty(e)&&Ao[e]?(""+t).trim():t+"px"}function tw(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=ew(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var M_=ke({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 Nh(e,t){if(t){if(M_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function Th(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 Ch=null;function kp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ah=null,xi=null,wi=null;function Ag(e){if(e=Ma(e)){if(typeof Ah!="function")throw Error(I(280));var t=e.stateNode;t&&(t=du(t),Ah(e.stateNode,e.type,t))}}function nw(e){xi?wi?wi.push(e):wi=[e]:xi=e}function rw(){if(xi){var e=xi,t=wi;if(wi=xi=null,Ag(e),t)for(e=0;e<t.length;e++)Ag(t[e])}}function sw(e,t){return e(t)}function iw(){}var id=!1;function ow(e,t,n){if(id)return e(t,n);id=!0;try{return sw(e,t,n)}finally{id=!1,(xi!==null||wi!==null)&&(iw(),rw())}}function Jo(e,t){var n=e.stateNode;if(n===null)return null;var r=du(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(I(231,t,typeof n));return n}var Ph=!1;if(zn)try{var co={};Object.defineProperty(co,"passive",{get:function(){Ph=!0}}),window.addEventListener("test",co,co),window.removeEventListener("test",co,co)}catch{Ph=!1}function $_(e,t,n,r,s,i,o,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Po=!1,dc=null,hc=!1,Rh=null,F_={onError:function(e){Po=!0,dc=e}};function B_(e,t,n,r,s,i,o,l,c){Po=!1,dc=null,$_.apply(F_,arguments)}function U_(e,t,n,r,s,i,o,l,c){if(B_.apply(this,arguments),Po){if(Po){var u=dc;Po=!1,dc=null}else throw Error(I(198));hc||(hc=!0,Rh=u)}}function Cs(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 aw(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 Pg(e){if(Cs(e)!==e)throw Error(I(188))}function V_(e){var t=e.alternate;if(!t){if(t=Cs(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Pg(s),e;if(i===r)return Pg(s),t;i=i.sibling}throw Error(I(188))}if(n.return!==r.return)n=s,r=i;else{for(var o=!1,l=s.child;l;){if(l===n){o=!0,n=s,r=i;break}if(l===r){o=!0,r=s,n=i;break}l=l.sibling}if(!o){for(l=i.child;l;){if(l===n){o=!0,n=i,r=s;break}if(l===r){o=!0,r=i,n=s;break}l=l.sibling}if(!o)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function lw(e){return e=V_(e),e!==null?cw(e):null}function cw(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=cw(e);if(t!==null)return t;e=e.sibling}return null}var uw=_t.unstable_scheduleCallback,Rg=_t.unstable_cancelCallback,z_=_t.unstable_shouldYield,W_=_t.unstable_requestPaint,Ne=_t.unstable_now,H_=_t.unstable_getCurrentPriorityLevel,Sp=_t.unstable_ImmediatePriority,dw=_t.unstable_UserBlockingPriority,fc=_t.unstable_NormalPriority,K_=_t.unstable_LowPriority,hw=_t.unstable_IdlePriority,au=null,jn=null;function q_(e){if(jn&&typeof jn.onCommitFiberRoot=="function")try{jn.onCommitFiberRoot(au,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:J_,G_=Math.log,Y_=Math.LN2;function J_(e){return e>>>=0,e===0?32:31-(G_(e)/Y_|0)|0}var nl=64,rl=4194304;function jo(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 pc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~s;l!==0?r=jo(l):(i&=o,i!==0&&(r=jo(i)))}else o=n&~s,o!==0?r=jo(o):i!==0&&(r=jo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&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-tn(t),s=1<<n,r|=e[n],t&=~s;return r}function Q_(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 X_(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-tn(i),l=1<<o,c=s[o];c===-1?(!(l&n)||l&r)&&(s[o]=Q_(l,t)):c<=t&&(e.expiredLanes|=l),i&=~l}}function Ih(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function fw(){var e=nl;return nl<<=1,!(nl&4194240)&&(nl=64),e}function od(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Da(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tn(t),e[t]=n}function Z_(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 s=31-tn(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function jp(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tn(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var ie=0;function pw(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var mw,_p,gw,yw,vw,Oh=!1,sl=[],Er=null,Nr=null,Tr=null,Qo=new Map,Xo=new Map,fr=[],eE="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 Ig(e,t){switch(e){case"focusin":case"focusout":Er=null;break;case"dragenter":case"dragleave":Nr=null;break;case"mouseover":case"mouseout":Tr=null;break;case"pointerover":case"pointerout":Qo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xo.delete(t.pointerId)}}function uo(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=Ma(t),t!==null&&_p(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function tE(e,t,n,r,s){switch(t){case"focusin":return Er=uo(Er,e,t,n,r,s),!0;case"dragenter":return Nr=uo(Nr,e,t,n,r,s),!0;case"mouseover":return Tr=uo(Tr,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;return Qo.set(i,uo(Qo.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,Xo.set(i,uo(Xo.get(i)||null,e,t,n,r,s)),!0}return!1}function xw(e){var t=is(e.target);if(t!==null){var n=Cs(t);if(n!==null){if(t=n.tag,t===13){if(t=aw(n),t!==null){e.blockedOn=t,vw(e.priority,function(){gw(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 Fl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Dh(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ch=r,n.target.dispatchEvent(r),Ch=null}else return t=Ma(n),t!==null&&_p(t),e.blockedOn=n,!1;t.shift()}return!0}function Og(e,t,n){Fl(e)&&n.delete(t)}function nE(){Oh=!1,Er!==null&&Fl(Er)&&(Er=null),Nr!==null&&Fl(Nr)&&(Nr=null),Tr!==null&&Fl(Tr)&&(Tr=null),Qo.forEac
vendor: 12,261 bytes, line 37
37h(Og),Xo.forEach(Og)}function ho(e,t){e.blockedOn===t&&(e.blockedOn=null,Oh||(Oh=!0,_t.unstable_scheduleCallback(_t.unstable_NormalPriority,nE)))}function Zo(e){function t(s){return ho(s,e)}if(0<sl.length){ho(sl[0],e);for(var n=1;n<sl.length;n++){var r=sl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Er!==null&&ho(Er,e),Nr!==null&&ho(Nr,e),Tr!==null&&ho(Tr,e),Qo.forEach(t),Xo.forEach(t),n=0;n<fr.length;n++)r=fr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<fr.length&&(n=fr[0],n.blockedOn===null);)xw(n),n.blockedOn===null&&fr.shift()}var bi=Yn.ReactCurrentBatchConfig,mc=!0;function rE(e,t,n,r){var s=ie,i=bi.transition;bi.transition=null;try{ie=1,Ep(e,t,n,r)}finally{ie=s,bi.transition=i}}function sE(e,t,n,r){var s=ie,i=bi.transition;bi.transition=null;try{ie=4,Ep(e,t,n,r)}finally{ie=s,bi.transition=i}}function Ep(e,t,n,r){if(mc){var s=Dh(e,t,n,r);if(s===null)gd(e,t,r,gc,n),Ig(e,r);else if(tE(s,e,t,n,r))r.stopPropagation();else if(Ig(e,r),t&4&&-1<eE.indexOf(e)){for(;s!==null;){var i=Ma(s);if(i!==null&&mw(i),i=Dh(e,t,n,r),i===null&&gd(e,t,r,gc,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else gd(e,t,r,null,n)}}var gc=null;function Dh(e,t,n,r){if(gc=null,e=kp(r),e=is(e),e!==null)if(t=Cs(e),t===null)e=null;else if(n=t.tag,n===13){if(e=aw(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 gc=e,null}function ww(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(H_()){case Sp:return 1;case dw:return 4;case fc:case K_:return 16;case hw:return 536870912;default:return 16}default:return 16}}var kr=null,Np=null,Bl=null;function bw(){if(Bl)return Bl;var e,t=Np,n=t.length,r,s="value"in kr?kr.value:kr.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===s[i-r];r++);return Bl=s.slice(e,1<r?1-r:void 0)}function Ul(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 il(){return!0}function Dg(){return!1}function Nt(e){function t(n,r,s,i,o){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?il:Dg,this.isPropagationStopped=Dg,this}return ke(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=il)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=il)},persist:function(){},isPersistent:il}),t}var Qi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tp=Nt(Qi),La=ke({},Qi,{view:0,detail:0}),iE=Nt(La),ad,ld,fo,lu=ke({},La,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cp,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!==fo&&(fo&&e.type==="mousemove"?(ad=e.screenX-fo.screenX,ld=e.screenY-fo.screenY):ld=ad=0,fo=e),ad)},movementY:function(e){return"movementY"in e?e.movementY:ld}}),Lg=Nt(lu),oE=ke({},lu,{dataTransfer:0}),aE=Nt(oE),lE=ke({},La,{relatedTarget:0}),cd=Nt(lE),cE=ke({},Qi,{animationName:0,elapsedTime:0,pseudoElement:0}),uE=Nt(cE),dE=ke({},Qi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),hE=Nt(dE),fE=ke({},Qi,{data:0}),Mg=Nt(fE),pE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mE={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"},gE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yE(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gE[e])?!!t[e]:!1}function Cp(){return yE}var vE=ke({},La,{key:function(e){if(e.key){var t=pE[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ul(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mE[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cp,charCode:function(e){return e.type==="keypress"?Ul(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ul(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xE=Nt(vE),wE=ke({},lu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$g=Nt(wE),bE=ke({},La,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cp}),kE=Nt(bE),SE=ke({},Qi,{propertyName:0,elapsedTime:0,pseudoElement:0}),jE=Nt(SE),_E=ke({},lu,{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}),EE=Nt(_E),NE=[9,13,27,32],Ap=zn&&"CompositionEvent"in window,Ro=null;zn&&"documentMode"in document&&(Ro=document.documentMode);var TE=zn&&"TextEvent"in window&&!Ro,kw=zn&&(!Ap||Ro&&8<Ro&&11>=Ro),Fg=" ",Bg=!1;function Sw(e,t){switch(e){case"keyup":return NE.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jw(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var si=!1;function CE(e,t){switch(e){case"compositionend":return jw(t);case"keypress":return t.which!==32?null:(Bg=!0,Fg);case"textInput":return e=t.data,e===Fg&&Bg?null:e;default:return null}}function AE(e,t){if(si)return e==="compositionend"||!Ap&&Sw(e,t)?(e=bw(),Bl=Np=kr=null,si=!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 kw&&t.locale!=="ko"?null:t.data;default:return null}}var PE={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 Ug(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!PE[e.type]:t==="textarea"}function _w(e,t,n,r){nw(r),t=yc(t,"onChange"),0<t.length&&(n=new Tp("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Io=null,ea=null;function RE(e){Lw(e,0)}function cu(e){var t=ai(e);if(Yx(t))return e}function IE(e,t){if(e==="change")return t}var Ew=!1;if(zn){var ud;if(zn){var dd="oninput"in document;if(!dd){var Vg=document.createElement("div");Vg.setAttribute("oninput","return;"),dd=typeof Vg.oninput=="function"}ud=dd}else ud=!1;Ew=ud&&(!document.documentMode||9<document.documentMode)}function zg(){Io&&(Io.detachEvent("onpropertychange",Nw),ea=Io=null)}function Nw(e){if(e.propertyName==="value"&&cu(ea)){var t=[];_w(t,ea,e,kp(e)),ow(RE,t)}}function OE(e,t,n){e==="focusin"?(zg(),Io=t,ea=n,Io.attachEvent("onpropertychange",Nw)):e==="focusout"&&zg()}function DE(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return cu(ea)}function LE(e,t){if(e==="click")return cu(t)}function ME(e,t){if(e==="input"||e==="change")return cu(t)}function $E(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var sn=typeof Object.is=="function"?Object.is:$E;function ta(e,t){if(sn(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 s=n[r];if(!yh.call(t,s)||!sn(e[s],t[s]))return!1}return!0}function Wg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hg(e,t){var n=Wg(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=Wg(n)}}function Tw(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Tw(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cw(){for(var e=window,t=uc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=uc(e.document)}return t}function Pp(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 FE(e){var t=Cw(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Tw(n.ownerDocument.documentElement,n)){if(r!==null&&Pp(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 s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=Hg(n,i);var o=Hg(n,r);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>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 BE=zn&&"documentMode"in document&&11>=document.documentMode,ii=null,Lh=null,Oo=null,Mh=!1;function Kg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Mh||ii==null||ii!==uc(r)||(r=ii,"selectionStart"in r&&Pp(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Oo&&ta(Oo,r)||(Oo=r,r=yc(Lh,"onSelect"),0<r.length&&(t=new Tp("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ii)))}function ol(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var oi={animationend:ol("Animation","AnimationEnd"),animationiteration:ol("Animation","AnimationIteration"),animationstart:
vendor: 6,608 bytes, line 37
37ol("Animation","AnimationStart"),transitionend:ol("Transition","TransitionEnd")},hd={},Aw={};zn&&(Aw=document.createElement("div").style,"AnimationEvent"in window||(delete oi.animationend.animation,delete oi.animationiteration.animation,delete oi.animationstart.animation),"TransitionEvent"in window||delete oi.transitionend.transition);function uu(e){if(hd[e])return hd[e];if(!oi[e])return e;var t=oi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Aw)return hd[e]=t[n];return e}var Pw=uu("animationend"),Rw=uu("animationiteration"),Iw=uu("animationstart"),Ow=uu("transitionend"),Dw=new Map,qg="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 Br(e,t){Dw.set(e,t),Ts(t,[e])}for(var fd=0;fd<qg.length;fd++){var pd=qg[fd],UE=pd.toLowerCase(),VE=pd[0].toUpperCase()+pd.slice(1);Br(UE,"on"+VE)}Br(Pw,"onAnimationEnd");Br(Rw,"onAnimationIteration");Br(Iw,"onAnimationStart");Br("dblclick","onDoubleClick");Br("focusin","onFocus");Br("focusout","onBlur");Br(Ow,"onTransitionEnd");Mi("onMouseEnter",["mouseout","mouseover"]);Mi("onMouseLeave",["mouseout","mouseover"]);Mi("onPointerEnter",["pointerout","pointerover"]);Mi("onPointerLeave",["pointerout","pointerover"]);Ts("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ts("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ts("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ts("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ts("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ts("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _o="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(" "),zE=new Set("cancel close invalid load scroll toggle".split(" ").concat(_o));function Gg(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,U_(r,t,void 0,e),e.currentTarget=null}function Lw(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var o=r.length-1;0<=o;o--){var l=r[o],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==i&&s.isPropagationStopped())break e;Gg(s,l,u),i=c}else for(o=0;o<r.length;o++){if(l=r[o],c=l.instance,u=l.currentTarget,l=l.listener,c!==i&&s.isPropagationStopped())break e;Gg(s,l,u),i=c}}}if(hc)throw e=Rh,hc=!1,Rh=null,e}function he(e,t){var n=t[Vh];n===void 0&&(n=t[Vh]=new Set);var r=e+"__bubble";n.has(r)||(Mw(t,e,2,!1),n.add(r))}function md(e,t,n){var r=0;t&&(r|=4),Mw(n,e,r,t)}var al="_reactListening"+Math.random().toString(36).slice(2);function na(e){if(!e[al]){e[al]=!0,Wx.forEach(function(n){n!=="selectionchange"&&(zE.has(n)||md(n,!1,e),md(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[al]||(t[al]=!0,md("selectionchange",!1,t))}}function Mw(e,t,n,r){switch(ww(t)){case 1:var s=rE;break;case 4:s=sE;break;default:s=Ep}n=s.bind(null,t,n,e),s=void 0,!Ph||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function gd(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var l=r.stateNode.containerInfo;if(l===s||l.nodeType===8&&l.parentNode===s)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;o=o.return}for(;l!==null;){if(o=is(l),o===null)return;if(c=o.tag,c===5||c===6){r=i=o;continue e}l=l.parentNode}}r=r.return}ow(function(){var u=i,d=kp(n),h=[];e:{var f=Dw.get(e);if(f!==void 0){var p=Tp,x=e;switch(e){case"keypress":if(Ul(n)===0)break e;case"keydown":case"keyup":p=xE;break;case"focusin":x="focus",p=cd;break;case"focusout":x="blur",p=cd;break;case"beforeblur":case"afterblur":p=cd;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=Lg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=aE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=kE;break;case Pw:case Rw:case Iw:p=uE;break;case Ow:p=jE;break;case"scroll":p=iE;break;case"wheel":p=EE;break;case"copy":case"cut":case"paste":p=hE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=$g}var m=(t&4)!==0,w=!m&&e==="scroll",y=m?f!==null?f+"Capture":null:f;m=[];for(var g=u,v;g!==null;){v=g;var k=v.stateNode;if(v.tag===5&&k!==null&&(v=k,y!==null&&(k=Jo(g,y),k!=null&&m.push(ra(g,k,v)))),w)break;g=g.return}0<m.length&&(f=new p(f,x,null,n,d),h.push({event:f,listeners:m}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==Ch&&(x=n.relatedTarget||n.fromElement)&&(is(x)||x[Wn]))break e;if((p||f)&&(f=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,p?(x=n.relatedTarget||n.toElement,p=u,x=x?is(x):null,x!==null&&(w=Cs(x),x!==w||x.tag!==5&&x.tag!==6)&&(x=null)):(p=null,x=u),p!==x)){if(m=Lg,k="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=$g,k="onPointerLeave",y="onPointerEnter",g="pointer"),w=p==null?f:ai(p),v=x==null?f:ai(x),f=new m(k,g+"leave",p,n,d),f.target=w,f.relatedTarget=v,k=null,is(d)===u&&(m=new m(y,g+"enter",x,n,d),m.target=v,m.relatedTarget=w,k=m),w=k,p&&x)t:{for(m=p,y=x,g=0,v=m;v;v=Fs(v))g++;for(v=0,k=y;k;k=Fs(k))v++;for(;0<g-v;)m=Fs(m),g--;for(;0<v-g;)y=Fs(y),v--;for(;g--;){if(m===y||y!==null&&m===y.alternate)break t;m=Fs(m),y=Fs(y)}m=null}else m=null;p!==null&&Yg(h,f,p,m,!1),x!==null&&w!==null&&Yg(h,w,x,m,!0)}}
vendor: 7,582 bytes, lines 37-38
37e:{if(f=u?ai(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var S=IE;else if(Ug(f))if(Ew)S=ME;else{S=DE;var _=OE}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(S=LE);if(S&&(S=S(e,u))){_w(h,S,n,d);break e}_&&_(e,f,u),e==="focusout"&&(_=f._wrapperState)&&_.controlled&&f.type==="number"&&jh(f,"number",f.value)}switch(_=u?ai(u):window,e){case"focusin":(Ug(_)||_.contentEditable==="true")&&(ii=_,Lh=u,Oo=null);break;case"focusout":Oo=Lh=ii=null;break;case"mousedown":Mh=!0;break;case"contextmenu":case"mouseup":case"dragend":Mh=!1,Kg(h,n,d);break;case"selectionchange":if(BE)break;case"keydown":case"keyup":Kg(h,n,d)}var j;if(Ap)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else si?Sw(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(kw&&n.locale!=="ko"&&(si||E!=="onCompositionStart"?E==="onCompositionEnd"&&si&&(j=bw()):(kr=d,Np="value"in kr?kr.value:kr.textContent,si=!0)),_=yc(u,E),0<_.length&&(E=new Mg(E,e,null,n,d),h.push({event:E,listeners:_}),j?E.data=j:(j=jw(n),j!==null&&(E.data=j)))),(j=TE?CE(e,n):AE(e,n))&&(u=yc(u,"onBeforeInput"),0<u.length&&(d=new Mg("onBeforeInput","beforeinput",null,n,d),h.push({event:d,listeners:u}),d.data=j))}Lw(h,t)})}function ra(e,t,n){return{instance:e,listener:t,currentTarget:n}}function yc(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=Jo(e,n),i!=null&&r.unshift(ra(e,i,s)),i=Jo(e,t),i!=null&&r.push(ra(e,i,s))),e=e.return}return r}function Fs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Yg(e,t,n,r,s){for(var i=t._reactName,o=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,s?(c=Jo(n,i),c!=null&&o.unshift(ra(n,c,l))):s||(c=Jo(n,i),c!=null&&o.push(ra(n,c,l)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var WE=/\r\n?/g,HE=/\u0000|\uFFFD/g;function Jg(e){return(typeof e=="string"?e:""+e).replace(WE,` 38`).replace(HE,"")}function ll(e,t,n){if(t=Jg(t),Jg(e)!==t&&n)throw Error(I(425))}function vc(){}var $h=null,Fh=null;function Bh(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 Uh=typeof setTimeout=="function"?setTimeout:void 0,KE=typeof clearTimeout=="function"?clearTimeout:void 0,Qg=typeof Promise=="function"?Promise:void 0,qE=typeof queueMicrotask=="function"?queueMicrotask:typeof Qg<"u"?function(e){return Qg.resolve(null).then(e).catch(GE)}:Uh;function GE(e){setTimeout(function(){throw e})}function yd(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Zo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Zo(t)}function Cr(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 Xg(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 Xi=Math.random().toString(36).slice(2),bn="__reactFiber$"+Xi,sa="__reactProps$"+Xi,Wn="__reactContainer$"+Xi,Vh="__reactEvents$"+Xi,YE="__reactListeners$"+Xi,JE="__reactHandles$"+Xi;function is(e){var t=e[bn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Wn]||n[bn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Xg(e);e!==null;){if(n=e[bn])return n;e=Xg(e)}return t}e=n,n=e.parentNode}return null}function Ma(e){return e=e[bn]||e[Wn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ai(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function du(e){return e[sa]||null}var zh=[],li=-1;function Ur(e){return{current:e}}function pe(e){0>li||(e.current=zh[li],zh[li]=null,li--)}function ue(e,t){li++,zh[li]=e.current,e.current=t}var Dr={},Xe=Ur(Dr),ht=Ur(!1),bs=Dr;function $i(e,t){var n=e.type.contextTypes;if(!n)return Dr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function ft(e){return e=e.childContextTypes,e!=null}function xc(){pe(ht),pe(Xe)}function Zg(e,t,n){if(Xe.current!==Dr)throw Error(I(168));ue(Xe,t),ue(ht,n)}function $w(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(I(108,O_(e)||"Unknown",s));return ke({},n,r)}function wc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dr,bs=Xe.current,ue(Xe,e),ue(ht,ht.current),!0}function ey(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=$w(e,t,bs),r.__reactInternalMemoizedMergedChildContext=e,pe(ht),pe(Xe),ue(Xe,e)):pe(ht),ue(ht,n)}var $n=null,hu=!1,vd=!1;function Fw(e){$n===null?$n=[e]:$n.push(e)}function QE(e){hu=!0,Fw(e)}function Vr(){if(!vd&&$n!==null){vd=!0;var e=0,t=ie;try{var n=$n;for(ie=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}$n=null,hu=!1}catch(s){throw $n!==null&&($n=$n.slice(e+1)),uw(Sp,Vr),s}finally{ie=t,vd=!1}}return null}var ci=[],ui=0,bc=null,kc=0,Pt=[],Rt=0,ks=null,Bn=1,Un="";function es(e,t){ci[ui++]=kc,ci[ui++]=bc,bc=e,kc=t}function Bw(e,t,n){Pt[Rt++]=Bn,Pt[Rt++]=Un,Pt[Rt++]=ks,ks=e;var r=Bn;e=Un;var s=32-tn(r)-1;r&=~(1<<s),n+=1;var i=32-tn(t)+s;if(30<i){var o=s-s%5;i=(r&(1<<o)-1).toString(32),r>>=o,s-=o,Bn=1<<32-tn(t)+s|n<<s|r,Un=i+e}else Bn=1<<i|n<<s|r,Un=e}function Rp(e){e.return!==null&&(es(e,1),Bw(e,1,0))}function Ip(e){for(;e===bc;)bc=ci[--ui],ci[ui]=null,kc=ci[--ui],ci[ui]=null;for(;e===ks;)ks=Pt[--Rt],Pt[Rt]=null,Un=Pt[--Rt],Pt[Rt]=null,Bn=Pt[--Rt],Pt[Rt]=null}var St=null,kt=null,ye=!1,en=null;function Uw(e,t){var n=It(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 ty(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,St=e,kt=Cr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,St=e,kt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ks!==null?{id:Bn,overflow:Un}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=It(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,St=e,kt=null,!0):!1;default:return!1}}function Wh(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Hh(e){if(ye){var t=kt;if(t){var n=t;if(!ty(e,t)){if(Wh(e))throw Error(I(418));t=Cr(n.nextSibling);var r=St;t&&ty(e,t)?Uw(r,n):(e.flags=e.flags&-4097|2,ye=!1,St=e)}}else{if(Wh(e))throw Error(I(418));e.flags=e.flags&-4097|2,ye=!1,St=e}}}function ny(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;St=e}function cl(e){if(e!==St)return!1;if(!ye)return ny(e),ye=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Bh(e.type,e.memoizedProps)),t&&(t=kt)){if(Wh(e))throw Vw(),Error(I(418));for(;t;)Uw(e,t),t=Cr(t.nextSibling)}if(ny(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317)
vendor: 13,992 bytes, line 38
38);e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){kt=Cr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}kt=null}}else kt=St?Cr(e.stateNode.nextSibling):null;return!0}function Vw(){for(var e=kt;e;)e=Cr(e.nextSibling)}function Fi(){kt=St=null,ye=!1}function Op(e){en===null?en=[e]:en.push(e)}var XE=Yn.ReactCurrentBatchConfig;function po(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(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var l=s.refs;o===null?delete l[i]:l[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function ul(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ry(e){var t=e._init;return t(e._payload)}function zw(e){function t(y,g){if(e){var v=y.deletions;v===null?(y.deletions=[g],y.flags|=16):v.push(g)}}function n(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function r(y,g){for(y=new Map;g!==null;)g.key!==null?y.set(g.key,g):y.set(g.index,g),g=g.sibling;return y}function s(y,g){return y=Ir(y,g),y.index=0,y.sibling=null,y}function i(y,g,v){return y.index=v,e?(v=y.alternate,v!==null?(v=v.index,v<g?(y.flags|=2,g):v):(y.flags|=2,g)):(y.flags|=1048576,g)}function o(y){return e&&y.alternate===null&&(y.flags|=2),y}function l(y,g,v,k){return g===null||g.tag!==6?(g=_d(v,y.mode,k),g.return=y,g):(g=s(g,v),g.return=y,g)}function c(y,g,v,k){var S=v.type;return S===ri?d(y,g,v.props.children,k,v.key):g!==null&&(g.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ur&&ry(S)===g.type)?(k=s(g,v.props),k.ref=po(y,g,v),k.return=y,k):(k=Gl(v.type,v.key,v.props,null,y.mode,k),k.ref=po(y,g,v),k.return=y,k)}function u(y,g,v,k){return g===null||g.tag!==4||g.stateNode.containerInfo!==v.containerInfo||g.stateNode.implementation!==v.implementation?(g=Ed(v,y.mode,k),g.return=y,g):(g=s(g,v.children||[]),g.return=y,g)}function d(y,g,v,k,S){return g===null||g.tag!==7?(g=vs(v,y.mode,k,S),g.return=y,g):(g=s(g,v),g.return=y,g)}function h(y,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=_d(""+g,y.mode,v),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Za:return v=Gl(g.type,g.key,g.props,null,y.mode,v),v.ref=po(y,null,g),v.return=y,v;case ni:return g=Ed(g,y.mode,v),g.return=y,g;case ur:var k=g._init;return h(y,k(g._payload),v)}if(So(g)||lo(g))return g=vs(g,y.mode,v,null),g.return=y,g;ul(y,g)}return null}function f(y,g,v,k){var S=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return S!==null?null:l(y,g,""+v,k);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Za:return v.key===S?c(y,g,v,k):null;case ni:return v.key===S?u(y,g,v,k):null;case ur:return S=v._init,f(y,g,S(v._payload),k)}if(So(v)||lo(v))return S!==null?null:d(y,g,v,k,null);ul(y,v)}return null}function p(y,g,v,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return y=y.get(v)||null,l(g,y,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Za:return y=y.get(k.key===null?v:k.key)||null,c(g,y,k,S);case ni:return y=y.get(k.key===null?v:k.key)||null,u(g,y,k,S);case ur:var _=k._init;return p(y,g,v,_(k._payload),S)}if(So(k)||lo(k))return y=y.get(v)||null,d(g,y,k,S,null);ul(g,k)}return null}function x(y,g,v,k){for(var S=null,_=null,j=g,E=g=0,C=null;j!==null&&E<v.length;E++){j.index>E?(C=j,j=null):C=j.sibling;var T=f(y,j,v[E],k);if(T===null){j===null&&(j=C);break}e&&j&&T.alternate===null&&t(y,j),g=i(T,g,E),_===null?S=T:_.sibling=T,_=T,j=C}if(E===v.length)return n(y,j),ye&&es(y,E),S;if(j===null){for(;E<v.length;E++)j=h(y,v[E],k),j!==null&&(g=i(j,g,E),_===null?S=j:_.sibling=j,_=j);return ye&&es(y,E),S}for(j=r(y,j);E<v.length;E++)C=p(j,y,E,v[E],k),C!==null&&(e&&C.alternate!==null&&j.delete(C.key===null?E:C.key),g=i(C,g,E),_===null?S=C:_.sibling=C,_=C);return e&&j.forEach(function(M){return t(y,M)}),ye&&es(y,E),S}function m(y,g,v,k){var S=lo(v);if(typeof S!="function")throw Error(I(150));if(v=S.call(v),v==null)throw Error(I(151));for(var _=S=null,j=g,E=g=0,C=null,T=v.next();j!==null&&!T.done;E++,T=v.next()){j.index>E?(C=j,j=null):C=j.sibling;var M=f(y,j,T.value,k);if(M===null){j===null&&(j=C);break}e&&j&&M.alternate===null&&t(y,j),g=i(M,g,E),_===null?S=M:_.sibling=M,_=M,j=C}if(T.done)return n(y,j),ye&&es(y,E),S;if(j===null){for(;!T.done;E++,T=v.next())T=h(y,T.value,k),T!==null&&(g=i(T,g,E),_===null?S=T:_.sibling=T,_=T);return ye&&es(y,E),S}for(j=r(y,j);!T.done;E++,T=v.next())T=p(j,y,E,T.value,k),T!==null&&(e&&T.alternate!==null&&j.delete(T.key===null?E:T.key),g=i(T,g,E),_===null?S=T:_.sibling=T,_=T);return e&&j.forEach(function(O){return t(y,O)}),ye&&es(y,E),S}function w(y,g,v,k){if(typeof v=="object"&&v!==null&&v.type===ri&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Za:e:{for(var S=v.key,_=g;_!==null;){if(_.key===S){if(S=v.type,S===ri){if(_.tag===7){n(y,_.sibling),g=s(_,v.props.children),g.return=y,y=g;break e}}else if(_.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ur&&ry(S)===_.type){n(y,_.sibling),g=s(_,v.props),g.ref=po(y,_,v),g.return=y,y=g;break e}n(y,_);break}else t(y,_);_=_.sibling}v.type===ri?(g=vs(v.props.children,y.mode,k,v.key),g.return=y,y=g):(k=Gl(v.type,v.key,v.props,null,y.mode,k),k.ref=po(y,g,v),k.return=y,y=k)}return o(y);case ni:e:{for(_=v.key;g!==null;){if(g.key===_)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(y,g.sibling),g=s(g,v.children||[]),g.return=y,y=g;break e}else{n(y,g);break}else t(y,g);g=g.sibling}g=Ed(v,y.mode,k),g.return=y,y=g}return o(y);case ur:return _=v._init,w(y,g,_(v._payload),k)}if(So(v))return x(y,g,v,k);if(lo(v))return m(y,g,v,k);ul(y,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(y,g.sibling),g=s(g,v),g.return=y,y=g):(n(y,g),g=_d(v,y.mode,k),g.return=y,y=g),o(y)):n(y,g)}return w}var Bi=zw(!0),Ww=zw(!1),Sc=Ur(null),jc=null,di=null,Dp=null;function Lp(){Dp=di=jc=null}function Mp(e){var t=Sc.current;pe(Sc),e._currentValue=t}function Kh(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 ki(e,t){jc=e,Dp=di=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(dt=!0),e.firstContext=null)}function $t(e){var t=e._currentValue;if(Dp!==e)if(e={context:e,memoizedValue:t,next:null},di===null){if(jc===null)throw Error(I(308));di=e,jc.dependencies={lanes:0,firstContext:e}}else di=di.next=e;return t}var os=null;function $p(e){os===null?os=[e]:os.push(e)}function Hw(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,$p(t)):(n.next=s.next,s.next=n),t.interleaved=n,Hn(e,r)}function Hn(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 dr=!1;function Fp(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Kw(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 Vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ar(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Hn(e,n)}return s=r.interleaved,s===null?(t.next=t,$p(r)):(t.next=s.next,s.next=t),r.interleaved=t,Hn(e,n)}function Vl(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,jp(e,n)}}function sy(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=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};i===null?s=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,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 _c(e,t,n,r){var s=e.updateQueue;dr=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,o===null?i=u:o.next=u,o=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==o&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(i!==null){var h=s.baseState;o=0,d=u=c=null,l=i;do{var f=l.lane,p=l.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var x=e,m=l;switch(f=t,p=n,m.tag){case 1:if(x=m.payload,typeof x=="function"){h=x.call(p,h,f);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=m.payload,f=typeof x=="function"?x.call(p,h,f):x,f==null)break e;h=ke({},h,f);break e;case 2:dr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=s.effects,f===null?s.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=p,c=h):d=d.next=p,o|=f;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;f=l,l=f.next,f.next=null,s.lastBaseUpdate=f,s.shared.pending=null}}while(!0);if(d===null&&(c=h),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);js|=o,e.lanes=o,e.memoizedState=h}}function iy(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(I(191,s));s.call(r)}}}var $a={},_n=Ur($a),ia=Ur($a),oa=Ur($a);function as(e){if(e===$a)throw Error(I(174));return e}function Bp(e,t){switch(ue(oa,t),ue(ia,e),ue(_n,$a),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Eh(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Eh(t,e)}pe(_n),ue(_n,t)}function Ui(){pe(_n),pe(ia),pe(oa)}function qw(e){as(oa.current);var t=as(_n.current),n=Eh(t,e.type);t!==n&&(ue(ia,e),ue(_n,n))}function Up(e){ia.current===e&&(pe(_n),pe(ia))}var we=Ur(0);function Ec(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 xd=[];function Vp(){for(var e=0;e<xd.length;e++)xd[e]._workInProgressVersionPrimary=null;xd.length=0}var zl=Yn.ReactCurrentDispatcher,wd=Yn.ReactCurrentBatchConfig,Ss=0,be=null,Ie=null,Le=null,Nc=!1,Do=!1,aa=0,ZE=0;function Ge(){throw Error(I(321))}function zp(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sn(e[n],t[n]))return!1;return!0}function Wp(e,t,n,r,s,i){if(Ss=i,be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,zl.current=e===null||e.memoizedState===null?rN:sN,e=n(r,s),Do){i=0;do{if(Do=!1,aa=0,25<=i)throw Error(I(301));i+=1,Le=Ie=null,t.updateQueue=null,zl.current=iN,e=n(r,s)}while(Do)}if(zl.current=Tc,t=Ie!==null&&Ie.next!==null,Ss=0,Le=Ie=be=null,Nc=!1,t)throw Error(I(300));return e}function Hp(){var e=aa!==0;return aa=0,e}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Le===null?be.memoizedState=Le=e:Le=Le.next=e,Le}function Ft(){if(Ie===null){var e=be.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=Le===null?be.memoizedState:Le.next;if(t!==null)Le=t,Ie=e;else{if(e===null)throw Error(I(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},Le===null?be.memoizedState=Le=e:Le=Le.next=e}return Le}function la(e,t){return typeof t=="function"?t(e):t}function bd(e){var t=Ft(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=Ie,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var l=o=null,c=null,u=i;do{var d=u.lane;if((Ss&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=h,o=r):c=c.next=h,be.lanes|=d,js|=d}u=u.next}while(u!==null&&u!==i);c===null?o=r:c.next=l,sn(r,t.memoizedState)||(dt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,be.lanes|=i,js|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function kd(e){var t=Ft(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);sn(i,t.memoizedState)||(dt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Gw(){}function Yw(e,t){var n=be,r=Ft(),s=t(),i=!sn(r.memoizedState,s);if(i&&(r.memoizedState=s,dt=!0),r=r.queue,Kp(Xw.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Le!==null&&Le.memoizedState.tag&1){if(n.flags|=2048,ca(9,Qw.bind(null,n,r,s,t),void 0,null),Me===null)throw Error(I(349));Ss&30||Jw(n,t,s)}return s}
vendor: 4,204 bytes, line 38
38function Jw(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Qw(e,t,n,r){t.value=n,t.getSnapshot=r,Zw(t)&&eb(e)}function Xw(e,t,n){return n(function(){Zw(t)&&eb(e)})}function Zw(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sn(e,n)}catch{return!0}}function eb(e){var t=Hn(e,1);t!==null&&nn(t,e,1,-1)}function oy(e){var t=fn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:la,lastRenderedState:e},t.queue=e,e=e.dispatch=nN.bind(null,be,e),[t.memoizedState,e]}function ca(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=be.updateQueue,t===null?(t={lastEffect:null,stores:null},be.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 tb(){return Ft().memoizedState}function Wl(e,t,n,r){var s=fn();be.flags|=e,s.memoizedState=ca(1|t,n,void 0,r===void 0?null:r)}function fu(e,t,n,r){var s=Ft();r=r===void 0?null:r;var i=void 0;if(Ie!==null){var o=Ie.memoizedState;if(i=o.destroy,r!==null&&zp(r,o.deps)){s.memoizedState=ca(t,n,i,r);return}}be.flags|=e,s.memoizedState=ca(1|t,n,i,r)}function ay(e,t){return Wl(8390656,8,e,t)}function Kp(e,t){return fu(2048,8,e,t)}function nb(e,t){return fu(4,2,e,t)}function rb(e,t){return fu(4,4,e,t)}function sb(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 ib(e,t,n){return n=n!=null?n.concat([e]):null,fu(4,4,sb.bind(null,t,e),n)}function qp(){}function ob(e,t){var n=Ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&zp(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ab(e,t){var n=Ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&zp(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function lb(e,t,n){return Ss&21?(sn(n,t)||(n=fw(),be.lanes|=n,js|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,dt=!0),e.memoizedState=n)}function eN(e,t){var n=ie;ie=n!==0&&4>n?n:4,e(!0);var r=wd.transition;wd.transition={};try{e(!1),t()}finally{ie=n,wd.transition=r}}function cb(){return Ft().memoizedState}function tN(e,t,n){var r=Rr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ub(e))db(t,n);else if(n=Hw(e,t,n,r),n!==null){var s=it();nn(n,e,r,s),hb(n,t,r)}}function nN(e,t,n){var r=Rr(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ub(e))db(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,l=i(o,n);if(s.hasEagerState=!0,s.eagerState=l,sn(l,o)){var c=t.interleaved;c===null?(s.next=s,$p(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=Hw(e,t,s,r),n!==null&&(s=it(),nn(n,e,r,s),hb(n,t,r))}}function ub(e){var t=e.alternate;return e===be||t!==null&&t===be}function db(e,t){Do=Nc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hb(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jp(e,n)}}var Tc={readContext:$t,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useInsertionEffect:Ge,useLayoutEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useMutableSource:Ge,useSyncExternalStore:Ge,useId:Ge,unstable_isNewReconciler:!1},rN={readContext:$t,useCallback:function(e,t){return fn().memoizedState=[e,t===void 0?null:t],e},useContext:$t,useEffect:ay,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Wl(4194308,4,sb.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wl(4,2,e,t)},useMemo:function(e,t){var n=fn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fn();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=tN.bind(null,be,e),[r.memoizedState,e]}
vendor: 5,199 bytes, lines 38-40
38,useRef:function(e){var t=fn();return e={current:e},t.memoizedState=e},useState:oy,useDebugValue:qp,useDeferredValue:function(e){return fn().memoizedState=e},useTransition:function(){var e=oy(!1),t=e[0];return e=eN.bind(null,e[1]),fn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=be,s=fn();if(ye){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),Me===null)throw Error(I(349));Ss&30||Jw(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,ay(Xw.bind(null,r,i,e),[e]),r.flags|=2048,ca(9,Qw.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=fn(),t=Me.identifierPrefix;if(ye){var n=Un,r=Bn;n=(r&~(1<<32-tn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=aa++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ZE++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sN={readContext:$t,useCallback:ob,useContext:$t,useEffect:Kp,useImperativeHandle:ib,useInsertionEffect:nb,useLayoutEffect:rb,useMemo:ab,useReducer:bd,useRef:tb,useState:function(){return bd(la)},useDebugValue:qp,useDeferredValue:function(e){var t=Ft();return lb(t,Ie.memoizedState,e)},useTransition:function(){var e=bd(la)[0],t=Ft().memoizedState;return[e,t]},useMutableSource:Gw,useSyncExternalStore:Yw,useId:cb,unstable_isNewReconciler:!1},iN={readContext:$t,useCallback:ob,useContext:$t,useEffect:Kp,useImperativeHandle:ib,useInsertionEffect:nb,useLayoutEffect:rb,useMemo:ab,useReducer:kd,useRef:tb,useState:function(){return kd(la)},useDebugValue:qp,useDeferredValue:function(e){var t=Ft();return Ie===null?t.memoizedState=e:lb(t,Ie.memoizedState,e)},useTransition:function(){var e=kd(la)[0],t=Ft().memoizedState;return[e,t]},useMutableSource:Gw,useSyncExternalStore:Yw,useId:cb,unstable_isNewReconciler:!1};function Gt(e,t){if(e&&e.defaultProps){t=ke({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function qh(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ke({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var pu={isMounted:function(e){return(e=e._reactInternals)?Cs(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=it(),s=Rr(e),i=Vn(r,s);i.payload=t,n!=null&&(i.callback=n),t=Ar(e,i,s),t!==null&&(nn(t,e,s,r),Vl(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=it(),s=Rr(e),i=Vn(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ar(e,i,s),t!==null&&(nn(t,e,s,r),Vl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=it(),r=Rr(e),s=Vn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Ar(e,s,r),t!==null&&(nn(t,e,r,n),Vl(t,e,r))}};function ly(e,t,n,r,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):t.prototype&&t.prototype.isPureReactComponent?!ta(n,r)||!ta(s,i):!0}function fb(e,t,n){var r=!1,s=Dr,i=t.contextType;return typeof i=="object"&&i!==null?i=$t(i):(s=ft(t)?bs:Xe.current,r=t.contextTypes,i=(r=r!=null)?$i(e,s):Dr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=pu,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function cy(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&&pu.enqueueReplaceState(t,t.state,null)}function Gh(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},Fp(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=$t(i):(i=ft(t)?bs:Xe.current,s.context=$i(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(qh(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&pu.enqueueReplaceState(s,s.state,null),_c(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Vi(e,t){try{var n="",r=t;do n+=I_(r),r=r.return;while(r);var s=n}catch(i){s=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function Sd(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Yh(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var oN=typeof WeakMap=="function"?WeakMap:Map;function pb(e,t,n){n=Vn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ac||(Ac=!0,of=r),Yh(e,t)},n}function mb(e,t,n){n=Vn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Yh(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Yh(e,t),typeof r!="function"&&(Pr===null?Pr=new Set([this]):Pr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}
vendor: 10,410 bytes, line 40
40function uy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new oN;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=wN.bind(null,e,t,n),t.then(e,e))}function dy(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 hy(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,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=Vn(-1,1),t.tag=2,Ar(n,t,1))),n.lanes|=1),e)}var aN=Yn.ReactCurrentOwner,dt=!1;function tt(e,t,n,r){t.child=e===null?Ww(t,null,n,r):Bi(t,e.child,n,r)}function fy(e,t,n,r,s){n=n.render;var i=t.ref;return ki(t,s),r=Wp(e,t,n,r,i,s),n=Hp(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Kn(e,t,s)):(ye&&n&&Rp(t),t.flags|=1,tt(e,t,r,s),t.child)}function py(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!tm(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,gb(e,t,i,r,s)):(e=Gl(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:ta,n(o,r)&&e.ref===t.ref)return Kn(e,t,s)}return t.flags|=1,e=Ir(i,r),e.ref=t.ref,e.return=t,t.child=e}function gb(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(ta(i,r)&&e.ref===t.ref)if(dt=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(dt=!0);else return t.lanes=e.lanes,Kn(e,t,s)}return Jh(e,t,n,r,s)}function yb(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ue(fi,vt),vt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ue(fi,vt),vt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ue(fi,vt),vt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ue(fi,vt),vt|=r;return tt(e,t,s,n),t.child}function vb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Jh(e,t,n,r,s){var i=ft(n)?bs:Xe.current;return i=$i(t,i),ki(t,s),n=Wp(e,t,n,r,i,s),r=Hp(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Kn(e,t,s)):(ye&&r&&Rp(t),t.flags|=1,tt(e,t,n,s),t.child)}function my(e,t,n,r,s){if(ft(n)){var i=!0;wc(t)}else i=!1;if(ki(t,s),t.stateNode===null)Hl(e,t),fb(t,n,r),Gh(t,n,r,s),r=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=$t(u):(u=ft(n)?bs:Xe.current,u=$i(t,u));var d=n.getDerivedStateFromProps,h=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";h||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||c!==u)&&cy(t,o,r,u),dr=!1;var f=t.memoizedState;o.state=f,_c(t,r,o,s),c=t.memoizedState,l!==r||f!==c||ht.current||dr?(typeof d=="function"&&(qh(t,n,d,r),c=t.memoizedState),(l=dr||ly(t,n,l,r,f,c,u))?(h||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=c),o.props=r,o.state=c,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Kw(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Gt(t.type,l),o.props=u,h=t.pendingProps,f=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=$t(c):(c=ft(n)?bs:Xe.current,c=$i(t,c));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==h||f!==c)&&cy(t,o,r,c),dr=!1,f=t.memoizedState,o.state=f,_c(t,r,o,s);var x=t.memoizedState;l!==h||f!==x||ht.current||dr?(typeof p=="function"&&(qh(t,n,p,r),x=t.memoizedState),(u=dr||ly(t,n,u,r,f,x,c)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=c,r=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Qh(e,t,n,r,i,s)}function Qh(e,t,n,r,s,i){vb(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return s&&ey(t,n,!1),Kn(e,t,i);r=t.stateNode,aN.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Bi(t,e.child,null,i),t.child=Bi(t,null,l,i)):tt(e,t,l,i),t.memoizedState=r.state,s&&ey(t,n,!0),t.child}function xb(e){var t=e.stateNode;t.pendingContext?Zg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zg(e,t.context,!1),Bp(e,t.containerInfo)}function gy(e,t,n,r,s){return Fi(),Op(s),t.flags|=256,tt(e,t,n,r),t.child}var Xh={dehydrated:null,treeContext:null,retryLane:0};function Zh(e){return{baseLanes:e,cachePool:null,transitions:null}}function wb(e,t,n){var r=t.pendingProps,s=we.current,i=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ue(we,s&1),e===null)return Hh(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,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=yu(o,r,0,null),e=vs(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Zh(n),t.memoizedState=Xh,e):Gp(t,o));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return lN(e,t,o,r,l,s,n);if(i){i=r.fallback,o=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:r.children};return!(o&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Ir(s,c),r.subtreeFlags=s.subtreeFlags&14680064),l!==null?i=Ir(l,i):(i=vs(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Zh(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Xh,r}return i=e.child,e=i.sibling,r=Ir(i,{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 Gp(e,t){return t=yu({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function dl(e,t,n,r){return r!==null&&Op(r),Bi(t,e.child,null,n),e=Gp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lN(e,t,n,r,s,i,o){if(n)return t.flags&256?(t.flags&=-257,r=Sd(Error(I(422))),dl(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=yu({mode:"visible",children:r.children},s,0,null),i=vs(i,s,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Bi(t,e.child,null,o),t.child.memoizedState=Zh(o),t.memoizedState=Xh,i);if(!(t.mode&1))return dl(e,t,o,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(I(419)),r=Sd(i,r,void 0),dl(e,t,o,r)}if(l=(o&e.childLanes)!==0,dt||l){if(r=Me,r!==null){switch(o&-o){case 4:s=2;break;case 16:s=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:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|o)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,Hn(e,s),nn(r,e,s,-1))}return em(),r=Sd(Error(I(421))),dl(e,t,o,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=bN.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,kt=Cr(s.nextSibling),St=t,ye=!0,en=null,e!==null&&(Pt[Rt++]=Bn,Pt[Rt++]=Un,Pt[Rt++]=ks,Bn=e.id,Un=e.overflow,ks=t),t=Gp(t,r.children),t.flags|=4096,t)}function yy(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Kh(e.return,t,n)}function jd(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function bb(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(tt(e,t,r.children,n),r=we.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&&yy(e,n,t);else if(e.tag===19)yy(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(ue(we,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Ec(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),jd(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Ec(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}jd(t,!0,n,null,i);break;case"together":jd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Kn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),js|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));
vendor: 4,174 bytes, line 40
40if(t.child!==null){for(e=t.child,n=Ir(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ir(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cN(e,t,n){switch(t.tag){case 3:xb(t),Fi();break;case 5:qw(t);break;case 1:ft(t.type)&&wc(t);break;case 4:Bp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;ue(Sc,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ue(we,we.current&1),t.flags|=128,null):n&t.child.childLanes?wb(e,t,n):(ue(we,we.current&1),e=Kn(e,t,n),e!==null?e.sibling:null);ue(we,we.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return bb(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ue(we,we.current),r)break;return null;case 22:case 23:return t.lanes=0,yb(e,t,n)}return Kn(e,t,n)}var kb,ef,Sb,jb;kb=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}};ef=function(){};Sb=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,as(_n.current);var i=null;switch(n){case"input":s=kh(e,s),r=kh(e,r),i=[];break;case"select":s=ke({},s,{value:void 0}),r=ke({},r,{value:void 0}),i=[];break;case"textarea":s=_h(e,s),r=_h(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=vc)}Nh(n,r);var o;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var l=s[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Go.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Go.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&he("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};jb=function(e,t,n,r){n!==r&&(t.flags|=4)};function mo(e,t){if(!ye)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 Ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function uN(e,t,n){var r=t.pendingProps;switch(Ip(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(t),null;case 1:return ft(t.type)&&xc(),Ye(t),null;case 3:return r=t.stateNode,Ui(),pe(ht),pe(Xe),Vp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(cl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,en!==null&&(cf(en),en=null))),ef(e,t),Ye(t),null;case 5:Up(t);var s=as(oa.current);if(n=t.type,e!==null&&t.stateNode!=null)Sb(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return Ye(t),null}if(e=as(_n.current),cl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;
vendor: 33,008 bytes, line 40
40switch(r[bn]=t,r[sa]=i,e=(t.mode&1)!==0,n){case"dialog":he("cancel",r),he("close",r);break;case"iframe":case"object":case"embed":he("load",r);break;case"video":case"audio":for(s=0;s<_o.length;s++)he(_o[s],r);break;case"source":he("error",r);break;case"img":case"image":case"link":he("error",r),he("load",r);break;case"details":he("toggle",r);break;case"input":Eg(r,i),he("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},he("invalid",r);break;case"textarea":Tg(r,i),he("invalid",r)}Nh(n,i),s=null;for(var o in i)if(i.hasOwnProperty(o)){var l=i[o];o==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&ll(r.textContent,l,e),s=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&ll(r.textContent,l,e),s=["children",""+l]):Go.hasOwnProperty(o)&&l!=null&&o==="onScroll"&&he("scroll",r)}switch(n){case"input":el(r),Ng(r,i,!0);break;case"textarea":el(r),Cg(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=vc)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Xx(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[bn]=t,e[sa]=r,kb(e,t,!1,!1),t.stateNode=e;e:{switch(o=Th(n,r),n){case"dialog":he("cancel",e),he("close",e),s=r;break;case"iframe":case"object":case"embed":he("load",e),s=r;break;case"video":case"audio":for(s=0;s<_o.length;s++)he(_o[s],e);s=r;break;case"source":he("error",e),s=r;break;case"img":case"image":case"link":he("error",e),he("load",e),s=r;break;case"details":he("toggle",e),s=r;break;case"input":Eg(e,r),s=kh(e,r),he("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=ke({},r,{value:void 0}),he("invalid",e);break;case"textarea":Tg(e,r),s=_h(e,r),he("invalid",e);break;default:s=r}Nh(n,s),l=s;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?tw(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Zx(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Yo(e,c):typeof c=="number"&&Yo(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Go.hasOwnProperty(i)?c!=null&&i==="onScroll"&&he("scroll",e):c!=null&&vp(e,i,c,o))}switch(n){case"input":el(e),Ng(e,r,!1);break;case"textarea":el(e),Cg(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Or(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?vi(e,!!r.multiple,i,!1):r.defaultValue!=null&&vi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=vc)}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 Ye(t),null;case 6:if(e&&t.stateNode!=null)jb(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=as(oa.current),as(_n.current),cl(t)){if(r=t.stateNode,n=t.memoizedProps,r[bn]=t,(i=r.nodeValue!==n)&&(e=St,e!==null))switch(e.tag){case 3:ll(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ll(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[bn]=t,t.stateNode=r}return Ye(t),null;case 13:if(pe(we),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ye&&kt!==null&&t.mode&1&&!(t.flags&128))Vw(),Fi(),t.flags|=98560,i=!1;else if(i=cl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(I(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(I(317));i[bn]=t}else Fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ye(t),i=!1}else en!==null&&(cf(en),en=null),i=!0;if(!i)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||we.current&1?Oe===0&&(Oe=3):em())),t.updateQueue!==null&&(t.flags|=4),Ye(t),null);case 4:return Ui(),ef(e,t),e===null&&na(t.stateNode.containerInfo),Ye(t),null;case 10:return Mp(t.type._context),Ye(t),null;case 17:return ft(t.type)&&xc(),Ye(t),null;case 19:if(pe(we),i=t.memoizedState,i===null)return Ye(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)mo(i,!1);else{if(Oe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Ec(e),o!==null){for(t.flags|=128,mo(i,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ue(we,we.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ne()>zi&&(t.flags|=128,r=!0,mo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ec(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ye)return Ye(t),null}else 2*Ne()-i.renderingStartTime>zi&&n!==1073741824&&(t.flags|=128,r=!0,mo(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ne(),t.sibling=null,n=we.current,ue(we,r?n&1|2:n&1),t):(Ye(t),null);case 22:case 23:return Zp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?vt&1073741824&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function dN(e,t){switch(Ip(t),t.tag){case 1:return ft(t.type)&&xc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ui(),pe(ht),pe(Xe),Vp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Up(t),null;case 13:if(pe(we),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(we),null;case 4:return Ui(),null;case 10:return Mp(t.type._context),null;case 22:case 23:return Zp(),null;case 24:return null;default:return null}}var hl=!1,Qe=!1,hN=typeof WeakSet=="function"?WeakSet:Set,$=null;function hi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_e(e,t,r)}else n.current=null}function tf(e,t,n){try{n()}catch(r){_e(e,t,r)}}var vy=!1;function fN(e,t){if($h=mc,e=Cw(),Pp(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 s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,l=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||s!==0&&h.nodeType!==3||(l=o+s),h!==i||r!==0&&h.nodeType!==3||(c=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(p=h.firstChild)!==null;)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++u===s&&(l=o),f===i&&++d===r&&(c=o),(p=h.nextSibling)!==null)break;h=f,f=h.parentNode}h=p}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fh={focusedElem:e,selectionRange:n},mc=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var m=x.memoizedProps,w=x.memoizedState,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:Gt(t.type,m),w);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(k){_e(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return x=vy,vy=!1,x}function Lo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&tf(t,n,i)}s=s.next}while(s!==r)}}function mu(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 nf(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 _b(e){var t=e.alternate;t!==null&&(e.alternate=null,_b(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bn],delete t[sa],delete t[Vh],delete t[YE],delete t[JE])),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 Eb(e){return e.tag===5||e.tag===3||e.tag===4}function xy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Eb(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 rf(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=vc));else if(r!==4&&(e=e.child,e!==null))for(rf(e,t,n),e=e.sibling;e!==null;)rf(e,t,n),e=e.sibling}function sf(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(sf(e,t,n),e=e.sibling;e!==null;)sf(e,t,n),e=e.sibling}var Be=null,Zt=!1;function rr(e,t,n){for(n=n.child;n!==null;)Nb(e,t,n),n=n.sibling}function Nb(e,t,n){if(jn&&typeof jn.onCommitFiberUnmount=="function")try{jn.onCommitFiberUnmount(au,n)}catch{}switch(n.tag){case 5:Qe||hi(n,t);case 6:var r=Be,s=Zt;Be=null,rr(e,t,n),Be=r,Zt=s,Be!==null&&(Zt?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(Zt?(e=Be,n=n.stateNode,e.nodeType===8?yd(e.parentNode,n):e.nodeType===1&&yd(e,n),Zo(e)):yd(Be,n.stateNode));break;case 4:r=Be,s=Zt,Be=n.stateNode.containerInfo,Zt=!0,rr(e,t,n),Be=r,Zt=s;break;case 0:case 11:case 14:case 15:if(!Qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&tf(n,t,o),s=s.next}while(s!==r)}rr(e,t,n);break;case 1:if(!Qe&&(hi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){_e(n,t,l)}rr(e,t,n);break;case 21:rr(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,rr(e,t,n),Qe=r):rr(e,t,n);break;default:rr(e,t,n)}}function wy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new hN),t.forEach(function(r){var s=kN.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function zt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,o=t,l=o;e:for(;l!==null;){switch(l.tag){case 5:Be=l.stateNode,Zt=!1;break e;case 3:Be=l.stateNode.containerInfo,Zt=!0;break e;case 4:Be=l.stateNode.containerInfo,Zt=!0;break e}l=l.return}if(Be===null)throw Error(I(160));Nb(i,o,s),Be=null,Zt=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){_e(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Tb(t,e),t=t.sibling}function Tb(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(zt(t,e),dn(e),r&4){try{Lo(3,e,e.return),mu(3,e)}catch(m){_e(e,e.return,m)}try{Lo(5,e,e.return)}catch(m){_e(e,e.return,m)}}break;case 1:zt(t,e),dn(e),r&512&&n!==null&&hi(n,n.return);break;case 5:if(zt(t,e),dn(e),r&512&&n!==null&&hi(n,n.return),e.flags&32){var s=e.stateNode;try{Yo(s,"")}catch(m){_e(e,e.return,m)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,o=n!==null?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Jx(s,i),Th(l,o);var u=Th(l,i);for(o=0;o<c.length;o+=2){var d=c[o],h=c[o+1];d==="style"?tw(s,h):d==="dangerouslySetInnerHTML"?Zx(s,h):d==="children"?Yo(s,h):vp(s,d,h,u)}switch(l){case"input":Sh(s,i);break;case"textarea":Qx(s,i);break;case"select":var f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?vi(s,!!i.multiple,p,!1):f!==!!i.multiple&&(i.defaultValue!=null?vi(s,!!i.multiple,i.defaultValue,!0):vi(s,!!i.multiple,i.multiple?[]:"",!1))}s[sa]=i}catch(m){_e(e,e.return,m)}}break;case 6:if(zt(t,e),dn(e),r&4){if(e.stateNode===null)throw Error(I(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(m){_e(e,e.return,m)}}break;case 3:if(zt(t,e),dn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Zo(t.containerInfo)}catch(m){_e(e,e.return,m)}break;case 4:zt(t,e),dn(e);break;case 13:zt(t,e),dn(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(Qp=Ne())),r&4&&wy(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Qe=(u=Qe)||d,zt(t,e),Qe=u):zt(t,e),dn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for($=e,d=e.child;d!==null;){for(h=$=d;$!==null;){switch(f=$,p=f.child,f.tag){case 0:case 11:case 14:case 15:Lo(4,f,f.return);break;case 1:hi(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(m){_e(r,n,m)}}break;case 5:hi(f,f.return);break;case 22:if(f.memoizedState!==null){ky(h);continue}}p!==null?(p.return=f,$=p):ky(h)}d=d.sibling}e:for(d=null,h=e;;){if(h.tag===5){if(d===null){d=h;try{s=h.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=h.stateNode,c=h.memoizedProps.style,o=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=ew("display",o))}catch(m){_e(e,e.return,m)}}}else if(h.tag===6){if(d===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(m){_e(e,e.return,m)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:zt(t,e),dn(e),r&4&&wy(e);break;case 21:break;default:zt(t,e),dn(e)}}function dn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Eb(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Yo(s,""),r.flags&=-33);var i=xy(e);sf(e,i,s);break;case 3:case 4:var o=r.stateNode.containerInfo,l=xy(e);rf(e,l,o);break;default:throw Error(I(161))}}catch(c){_e(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function pN(e,t,n){$=e,Cb(e)}function Cb(e,t,n){for(var r=(e.mode&1)!==0;$!==null;){var s=$,i=s.child;if(s.tag===22&&r){var o=s.memoizedState!==null||hl;if(!o){var l=s.alternate,c=l!==null&&l.memoizedState!==null||Qe;l=hl;var u=Qe;if(hl=o,(Qe=c)&&!u)for($=s;$!==null;)o=$,c=o.child,o.tag===22&&o.memoizedState!==null?Sy(s):c!==null?(c.return=o,$=c):Sy(s);for(;i!==null;)$=i,Cb(i),i=i.sibling;$=s,hl=l,Qe=u}by(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,$=i):by(e)}}function by(e){for(;$!==null;){var t=$;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Qe||mu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Qe)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Gt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&iy(t,i,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}iy(t,o,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var h=d.dehydrated;h!==null&&Zo(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}Qe||t.flags&512&&nf(t)}catch(f){_e(t,t.return,f)}}if(t===e){$=null;break}if(n=t.sibling,n!==null){n.return=t.return,$=n;break}$=t.return}}function ky(e){for(;$!==null;){var t=$;if(t===e){$=null;break}var n=t.sibling;if(n!==null){n.return=t.return,$=n;break}$=t.return}}function Sy(e){for(;$!==null;){var t=$;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{mu(4,t)}catch(c){_e(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){_e(t,s,c)}}var i=t.return;try{nf(t)}catch(c){_e(t,i,c)}break;case 5:var o=t.return;try{nf(t)}catch(c){_e(t,o,c)}}}catch(c){_e(t,t.return,c)}if(t===e){$=null;break}var l=t.sibling;if(l!==null){l.return=t.return,$=l;break}$=t.return}}var mN=Math.ceil,Cc=Yn.ReactCurrentDispatcher,Yp=Yn.ReactCurrentOwner,Lt=Yn.ReactCurrentBatchConfig,te=0,Me=null,Pe=null,ze=0,vt=0,fi=Ur(0),Oe=0,ua=null,js=0,gu=0,Jp=0,Mo=null,ut=null,Qp=0,zi=1/0,Dn=null,Ac=!1,of=null,Pr=null,fl=!1,Sr=null,Pc=0,$o=0,af=null,Kl=-1,ql=0;function it(){return te&6?Ne():Kl!==-1?Kl:Kl=Ne()}function Rr(e){return e.mode&1?te&2&&ze!==0?ze&-ze:XE.transition!==null?(ql===0&&(ql=fw()),ql):(e=ie,e!==0||(e=window.event,e=e===void 0?16:ww(e.type)),e):1}function nn(e,t,n,r){if(50<$o)throw $o=0,af=null,Error(I(185));Da(e,n,r),(!(te&2)||e!==Me)&&(e===Me&&(!(te&2)&&(gu|=n),Oe===4&&pr(e,ze)),pt(e,r),n===1&&te===0&&!(t.mode&1)&&(zi=Ne()+500,hu&&Vr()))}function pt(e,t){var n=e.callbackNode;X_(e,t);var r=pc(e,e===Me?ze:0);if(r===0)n!==null&&Rg(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Rg(n),t===1)e.tag===0?QE(jy.bind(null,e)):Fw(jy.bind(null,e)),qE(function(){!(te&6)&&Vr()}),n=null;else{switch(pw(r)){case 1:n=Sp;break;case 4:n=dw;break;case 16:n=fc;break;case 536870912:n=hw;break;default:n=fc}n=Mb(n,Ab.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ab(e,t){if(Kl=-1,ql=0,te&6)throw Error(I(327));var n=e.callbackNode;if(Si()&&e.callbackNode!==n)return null;var r=pc(e,e===Me?ze:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Rc(e,r);else{t=r;var s=te;te|=2;var i=Rb();(Me!==e||ze!==t)&&(Dn=null,zi=Ne()+500,ys(e,t));do try{vN();break}catch(l){Pb(e,l)}while(!0);Lp(),Cc.current=i,te=s,Pe!==null?t=0:(Me=null,ze=0,t=Oe)}if(t!==0){if(t===2&&(s=Ih(e),s!==0&&(r=s,t=lf(e,s))),t===1)throw n=ua,ys(e,0),pr(e,r),pt(e,Ne()),n;if(t===6)pr(e,r);else{if(s=e.current.alternate,!(r&30)&&!gN(s)&&(t=Rc(e,r),t===2&&(i=Ih(e),i!==0&&(r=i,t=lf(e,i))),t===1))throw n=ua,ys(e,0),pr(e,r),pt(e,Ne()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:ts(e,ut,Dn);break;case 3:if(pr(e,r),(r&130023424)===r&&(t=Qp+500-Ne(),10<t)){if(pc(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){it(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Uh(ts.bind(null,e,ut,Dn),t);break}ts(e,ut,Dn);break;case 4:if(pr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var o=31-tn(r);i=1<<o,o=t[o],o>s&&(s=o),r&=~i}if(r=s,r=Ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mN(r/1960))-r,10<r){e.timeoutHandle=Uh(ts.bind(null,e,ut,Dn),r);break}ts(e,ut,Dn);break;case 5:ts(e,ut,Dn);break;default:throw Error(I(329))}}}return pt(e,Ne()),e.callbackNode===n?Ab.bind(null,e):null}function lf(e,t){var n=Mo;return e.current.memoizedState.isDehydrated&&(ys(e,t).flags|=256),e=Rc(e,t),e!==2&&(t=ut,ut=n,t!==null&&cf(t)),e}function cf(e){ut===null?ut=e:ut.push.apply(ut,e)}function gN(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 s=n[r],i=s.getSnapshot;s=s.value;try{if(!sn(i(),s))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 pr(e,t){for(t&=~Jp,t&=~gu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tn(t),r=1<<n;e[n]=-1,t&=~r}}function jy(e){if(te&6)throw Error(I(327));Si();var t=pc(e,0);if(!(t&1))return pt(e,Ne()),null;var n=Rc(e,t);if(e.tag!==0&&n===2){var r=Ih(e);r!==0&&(t=r,n=lf(e,r))}if(n===1)throw n=ua,ys(e,0),pr(e,t),pt(e,Ne()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ts(e,ut,Dn),pt(e,Ne()),null}function Xp(e,t){var n=te;te|=1;try{return e(t)}finally{te=n,te===0&&(zi=Ne()+500,hu&&Vr())}}function _s(e){Sr!==null&&Sr.tag===0&&!(te&6)&&Si();var t=te;te|=1;var n=Lt.transition,r=ie;try{if(Lt.transition=null,ie=1,e)return e()}finally{ie=r,Lt.transition=n,te=t,!(te&6)&&Vr()}}function Zp(){vt=fi.current,pe(fi)}function ys(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,KE(n)),Pe!==null)for(n=Pe.return;n!==null;){var r=n;switch(Ip(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&xc();break;case 3:Ui(),pe(ht),pe(Xe),Vp();break;case 5:Up(r);break;case 4:Ui();break;case 13:pe(we);break;case 19:pe(we);break;case 10:Mp(r.type._context);break;case 22:case 23:Zp()}n=n.return}if(Me=e,Pe=e=Ir(e.current,null),ze=vt=t,Oe=0,ua=null,Jp=gu=js=0,ut=Mo=null,os!==null){for(t=0;t<os.length;t++)if(n=os[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var o=i.next;i.next=s,r.next=o}n.pending=r}os=null}return e}function Pb(e,t){do{var n=Pe;try{if(Lp(),zl.current=Tc,Nc){for(var r=be.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}Nc=!1}if(Ss=0,Le=Ie=be=null,Do=!1,aa=0,Yp.current=null,n===null||n.return===null){Oe=1,ua=t,Pe=null;break}e:{var i=e,o=n.return,l=n,c=t;if(t=ze,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,h=d.tag;if(!(d.mode&1)&&(h===0||h===11||h===15)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=dy(o);if(p!==null){p.flags&=-257,hy(p,o,l,i,t),p.mode&1&&uy(i,u,t),t=p,c=u;var x=t.updateQueue;if(x===null){var m=new Set;m.add(c),t.updateQueue=m}else x.add(c);break e}else{if(!(t&1)){uy(i,u,t),em();break e}c=Error(I(426))}}else if(ye&&l.mode&1){var w=dy(o);if(w!==null){!(w.flags&65536)&&(w.flags|=256),hy(w,o,l,i,t),Op(Vi(c,l));break e}}i=c=Vi(c,l),Oe!==4&&(Oe=2),Mo===null?Mo=[i]:Mo.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=pb(i,c,t);sy(i,y);break e;case 1:l=c;var g=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Pr===null||!Pr.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=mb(i,l,t);sy(i,k);break e}}i=i.return}while(i!==null)}Ob(n)}catch(S){t=S,Pe===n&&n!==null&&(Pe=n=n.return);continue}break}while(!0)}function Rb(){var e=Cc.current;return Cc.current=Tc,e===null?Tc:e}function em(){(Oe===0||Oe===3||Oe===2)&&(Oe=4),Me===null||!(js&268435455)&&!(gu&268435455)||pr(Me,ze)}function Rc(e,t){var n=te;te|=2;var r=Rb();(Me!==e||ze!==t)&&(Dn=null,ys(e,t));do try{yN();break}catch(s){Pb(e,s)}while(!0);if(Lp(),te=n,Cc.current=r,Pe!==null)throw Error(I(261));return Me=null,ze=0,Oe}function yN(){for(;Pe!==null;)Ib(Pe)}function vN(){for(;Pe!==null&&!z_();)Ib(Pe)}function Ib(e){var t=Lb(e.alternate,e,vt);e.memoizedProps=e.pendingProps,t===null?Ob(e):Pe=t,Yp.current=null}function Ob(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=dN(n,t),n!==null){n.flags&=32767,Pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Oe=6,Pe=null;return}}else if(n=uN(n,t,vt),n!==null){Pe=n;return}if(t=t.sibling,t!==null){Pe=t;return}Pe=t=e}while(t!==null);Oe===0&&(Oe=5)}function ts(e,t,n){var r=ie,s=Lt.transition;try{Lt.transition=null,ie=1,xN(e,t,n,r)}finally{Lt.transition=s,ie=r}return null}function xN(e,t,n,r){do Si();while(Sr!==null);if(te&6)throw Error(I(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(I(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Z_(e,i),e===Me&&(Pe=Me=null,ze=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||fl||(fl=!0,Mb(fc,function(){return Si(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Lt.transition,Lt.transition=null;var o=ie;ie=1;var l=te;te|=4,Yp.current=null,fN(e,n),Tb(n,e),FE(Fh),mc=!!$h,Fh=$h=null,e.current=n,pN(n),W_(),te=l,ie=o,Lt.transition=i}else e.current=n;if(fl&&(fl=!1,Sr=e,Pc=s),i=e.pendingLanes,i===0&&(Pr=null),q_(n.stateNode),pt(e,Ne()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(Ac)throw Ac=!1,e=of,of=null,e;return Pc&1&&e.tag!==0&&Si(),i=e.pendingLanes,i&1?e===af?$o++:($o=0,af=e):$o=0,Vr(),null}function Si(){if(Sr!==null){var e=pw(Pc),t=Lt.transition,n=ie;try{if(Lt.transition=null,ie=16>e?16:e,Sr===null)var r=!1;else{if(e=Sr,Sr=null,Pc=0,te&6)throw Error(I(331));var s=te;for(te|=4,$=e.current;$!==null;){var i=$,o=i.child;if($.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for($=u;$!==null;){var d=$;switch(d.tag){case 0:case 11:case 15:Lo(8,d,i)}var h=d.child;if(h!==null)h.return=d,$=h;else for(;$!==null;){d=$;var f=d.sibling,p=d.return;if(_b(d),d===u){$=null;break}if(f!==null){f.return=p,$=f;break}$=p}}}var x=i.alternate;if(x!==null){var m=x.child;if(m!==null){x.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}$=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,$=o;else e:for(;$!==null;){if(i=$,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Lo(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,$=y;break e}$=i.return}}var g=e.current;for($=g;$!==null;){o=$;var v=o.child;if(o.subtreeFlags&2064&&v!==null)v.return=o,$=v;else e:for(o=g;$!==null;){if(l=$,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:mu(9,l)}}catch(S){_e(l,l.return,S)}if(l===o){$=null;break e}var k=l.sibling;if(k!==null){k.return=l.return,$=k;break e}$=l.return}}if(te=s,Vr(),jn&&typeof jn.onPostCommitFiberRoot=="function")try{jn.onPostCommitFiberRoot(au,e)}catch{}r=!0}return r}finally{ie=n,Lt.transition=t}}return!1}function _y(e,t,n){t=Vi(n,t),t=pb(e,t,1),e=Ar(e,t,1),t=it(),e!==null&&(Da(e,1,t),pt(e,t))}function _e(e,t,n){if(e.tag===3)_y(e,e,n);else for(;t!==null;){if(t.tag===3){_y(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Pr===null||!Pr.has(r))){e=Vi(n,e),e=mb(t,e,1),t=Ar(t,e,1),e=it(),t!==null&&(Da(t,1,e),pt(t,e));break}}t=t.return}}function wN(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=it(),e.pingedLanes|=e.suspendedLanes&n,Me===e&&(ze&n)===n&&(Oe===4||Oe===3&&(ze&130023424)===ze&&500>Ne()-Qp?ys(e,0):Jp|=n),pt(e,t)}function Db(e,t){t===0&&(e.mode&1?(t=rl,rl<<=1,!(rl&130023424)&&(rl=4194304)):t=1);var n=it();e=Hn(e,t),e!==null&&(Da(e,t,n),pt(e,n))}function bN(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Db(e,n)}function kN(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),Db(e,n)}var Lb;Lb=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ht.current)dt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dt=!1,cN(e,t,n);dt=!!(e.flags&131072)}else dt=!1,ye&&t.flags&1048576&&Bw(t,kc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var s=$i(t,Xe.current);ki(t,n),s=Wp(null,t,r,e,s,n);var i=Hp();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(i=!0,wc(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Fp(t),s.updater=pu,t.stateNode=s,s._reactInternals=t,Gh(t,r,e,n),t=Qh(null,t,r,!0,i,n)):(t.tag=0,ye&&i&&Rp(t),tt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=jN(r),e=Gt(r,e),s){case 0:t=Jh(null,t,r,e,n);break e;case 1:t=my(null,t,r,e,n);break e;case 11:t=fy(null,t,r,e,n);break e;case 14:t=py(null,t,r,Gt(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),Jh(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),my(e,t,r,s,n);case 3:e:{if(xb(t),e===null)throw Error(I(387));r=t.pendingProps,i=t.memoizedState,s=i.element,Kw(e,t),_c(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Vi(Error(I(423)),t),t=gy(e,t,r,n,s);break e}else if(r!==s){s=Vi(Error(I(424)),t),t=gy(e,t,r,n,s);break e}else for(kt=Cr(t.stateNode.containerInfo.firstChild),St=t,ye=!0,en=null,n=Ww(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Fi(),r===s){t=Kn(e,t,n);break e}tt(e,t,r,n)}t=t.child}return t;case 5:return qw(t),e===null&&Hh(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,o=s.children,Bh(r,s)?o=null:i!==null&&Bh(r,i)&&(t.flags|=32),vb(e,t),tt(e,t,o,n),t.child;case 6:return e===null&&Hh(t),null;case 13:return wb(e,t,n);case 4:return Bp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Bi(t,null,r,n):tt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),fy(e,t,r,s,n);case 7:return tt(e,t,t.pendingProps,n),t.child;case 8:return tt(e,t,t.pendingProps.children,n),t.child;case 12:return tt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,o=s.value,ue(Sc,r._currentValue),r._currentValue=o,i!==null)if(sn(i.value,o)){if(i.children===s.children&&!ht.current){t=Kn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){o=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Vn(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Kh(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(I(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Kh(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}tt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,ki(t,n),s=$t(s),r=r(s),t.flags|=1,tt(e,t,r,n),t.child;case 14:return r=t.type,s=Gt(r,t.pendingProps),s=Gt(r.type,s),py(e,t,r,s,n);case 15:return gb(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Gt(r,s),Hl(e,t),t.tag=1,ft(r)?(e=!0,wc(t)):e=!1,ki(t,n),fb(t,r,s),Gh(t,r,s,n),Qh(null,t,r,!0,e,n);case 19:return bb(e,t,n);case 22:return yb(e,t,n)}throw Error(I(156,t.tag))};function Mb(e,t){return uw(e,t)}function SN(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 It(e,t,n,r){return new SN(e,t,n,r)}function tm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jN(e){if(typeof e=="function")return tm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wp)return 11;if(e===bp)return 14}return 2}function Ir(e,t){var n=e.alternate;return n===null?(n=It(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: 3,846 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 Gl(e,t,n,r,s,i){var o=2;if(r=e,typeof e=="function")tm(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case ri:return vs(n.children,s,i,t);case xp:o=8,s|=8;break;case vh:return e=It(12,n,t,s|2),e.elementType=vh,e.lanes=i,e;case xh:return e=It(13,n,t,s),e.elementType=xh,e.lanes=i,e;case wh:return e=It(19,n,t,s),e.elementType=wh,e.lanes=i,e;case qx:return yu(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Hx:o=10;break e;case Kx:o=9;break e;case wp:o=11;break e;case bp:o=14;break e;case ur:o=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=It(o,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function vs(e,t,n,r){return e=It(7,e,r,t),e.lanes=n,e}function yu(e,t,n,r){return e=It(22,e,r,t),e.elementType=qx,e.lanes=n,e.stateNode={isHidden:!1},e}function _d(e,t,n){return e=It(6,e,null,t),e.lanes=n,e}function Ed(e,t,n){return t=It(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _N(e,t,n,r,s){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=od(0),this.expirationTimes=od(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=od(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function nm(e,t,n,r,s,i,o,l,c){return e=new _N(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=It(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fp(i),e}function EN(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ni,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function $b(e){if(!e)return Dr;e=e._reactInternals;e:{if(Cs(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ft(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(ft(n))return $w(e,n,t)}return t}function Fb(e,t,n,r,s,i,o,l,c){return e=nm(n,r,!0,e,s,i,o,l,c),e.context=$b(null),n=e.current,r=it(),s=Rr(n),i=Vn(r,s),i.callback=t??null,Ar(n,i,s),e.current.lanes=s,Da(e,s,r),pt(e,r),e}function vu(e,t,n,r){var s=t.current,i=it(),o=Rr(s);return n=$b(n),t.context===null?t.context=n:t.pendingContext=n,t=Vn(i,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ar(s,t,o),e!==null&&(nn(e,s,o,i),Vl(e,s,o)),o}function Ic(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 Ey(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function rm(e,t){Ey(e,t),(e=e.alternate)&&Ey(e,t)}function NN(){return null}var Bb=typeof reportError=="function"?reportError:function(e){console.error(e)};function sm(e){this._internalRoot=e}xu.prototype.render=sm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));vu(e,t,null,null)};xu.prototype.unmount=sm.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_s(function(){vu(null,e,null,null)}
vendor: 6,551 bytes, line 40
40),t[Wn]=null}};function xu(e){this._internalRoot=e}xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=yw();e={blockedOn:null,target:e,priority:t};for(var n=0;n<fr.length&&t!==0&&t<fr[n].priority;n++);fr.splice(n,0,e),n===0&&xw(e)}};function im(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function wu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ny(){}function TN(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=Ic(o);i.call(u)}}var o=Fb(t,r,e,0,null,!1,!1,"",Ny);return e._reactRootContainer=o,e[Wn]=o.current,na(e.nodeType===8?e.parentNode:e),_s(),o}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var l=r;r=function(){var u=Ic(c);l.call(u)}}var c=nm(e,0,!1,null,null,!1,!1,"",Ny);return e._reactRootContainer=c,e[Wn]=c.current,na(e.nodeType===8?e.parentNode:e),_s(function(){vu(t,c,n,r)}),c}function bu(e,t,n,r,s){var i=n._reactRootContainer;if(i){var o=i;if(typeof s=="function"){var l=s;s=function(){var c=Ic(o);l.call(c)}}vu(t,o,e,s)}else o=TN(n,t,e,s,r);return Ic(o)}mw=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=jo(t.pendingLanes);n!==0&&(jp(t,n|1),pt(t,Ne()),!(te&6)&&(zi=Ne()+500,Vr()))}break;case 13:_s(function(){var r=Hn(e,1);if(r!==null){var s=it();nn(r,e,1,s)}}),rm(e,1)}};_p=function(e){if(e.tag===13){var t=Hn(e,134217728);if(t!==null){var n=it();nn(t,e,134217728,n)}rm(e,134217728)}};gw=function(e){if(e.tag===13){var t=Rr(e),n=Hn(e,t);if(n!==null){var r=it();nn(n,e,t,r)}rm(e,t)}};yw=function(){return ie};vw=function(e,t){var n=ie;try{return ie=e,t()}finally{ie=n}};Ah=function(e,t,n){switch(t){case"input":if(Sh(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 s=du(r);if(!s)throw Error(I(90));Yx(r),Sh(r,s)}}}break;case"textarea":Qx(e,n);break;case"select":t=n.value,t!=null&&vi(e,!!n.multiple,t,!1)}};sw=Xp;iw=_s;var CN={usingClientEntryPoint:!1,Events:[Ma,ai,du,nw,rw,Xp]},go={findFiberByHostInstance:is,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},AN={bundleType:go.bundleType,version:go.version,rendererPackageName:go.rendererPackageName,rendererConfig:go.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Yn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=lw(e),e===null?null:e.stateNode},findFiberByHostInstance:go.findFiberByHostInstance||NN,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 pl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pl.isDisabled&&pl.supportsFiber)try{au=pl.inject(AN),jn=pl}catch{}}Et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=CN;Et.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!im(t))throw Error(I(200));return EN(e,t,null,n)};Et.createRoot=function(e,t){if(!im(e))throw Error(I(299));var n=!1,r="",s=Bb;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=nm(e,1,!1,null,null,n,!1,r,s),e[Wn]=t.current,na(e.nodeType===8?e.parentNode:e),new sm(t)};Et.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(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=lw(t),e=e===null?null:e.stateNode,e};Et.flushSync=function(e){return _s(e)};Et.hydrate=function(e,t,n){if(!wu(t))throw Error(I(200));return bu(null,e,t,!0,n)};Et.hydrateRoot=function(e,t,n){if(!im(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",o=Bb;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Fb(t,null,e,1,n??null,s,!1,i,o),e[Wn]=t.current,na(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new xu(t)};Et.render=function(e,t,n){if(!wu(t))throw Error(I(200));return bu(null,e,t,!1,n)};Et.unmountComponentAtNode=function(e){if(!wu(e))throw Error(I(40));return e._reactRootContainer?(_s(function(){bu(null,null,e,!1,function(){e._reactRootContainer=null,e[Wn]=null})}),!0):!1};Et.unstable_batchedUpdates=Xp;Et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!wu(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return bu(e,t,n,!1,r)};Et.version="18.3.1-next-f1338f8080-20240426";function Ub(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ub)}catch(e){console.error(e)}}Ub(),Ux.exports=Et;var Fa=Ux.exports;const Vb=Cx(Fa);var zb,Ty=Fa;zb=Ty.createRoot,Ty.hydrateRoot;function PN(e,t){const n=b.createContext(t),r=i=>{const{children:o,...l}=i,c=b.useMemo(()=>l,Object.values(l));return a.jsx(n.Provider,{value:c,children:o})};r.displayName=e+"Provider";function s(i){const o=b.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,s]}function As(e,t=[]){let n=[];function r(i,o){const l=b.createContext(o),c=n.length;n=[...n,o];const u=h=>{var y;const{scope:f,children:p,...x}=h,m=((y=f==null?void 0:f[e])==null?void 0:y[c])||l,w=b.useMemo(()=>x,Object.values(x));return a.jsx(m.Provider,{value:w,children:p})};u.displayName=i+"Provider";function d(h,f){var m;const p=((m=f==null?void 0:f[e])==null?void 0:m[c])||l,x=b.useContext(p);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${h}\` must be used within \`${i}\``)}return[u,d]}const s=()=>{const i=n.map(o=>b.createContext(o));return function(l){const c=(l==null?void 0:l[e])||i;return b.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[r,RN(s,...t)]}function RN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));
vendor: 9,288 bytes, line 40
40return function(i){const o=r.reduce((l,{useScope:c,scopeName:u})=>{const h=c(i)[`__scope${u}`];return{...l,...h}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Cy(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Wb(...e){return t=>{let n=!1;const r=e.map(s=>{const i=Cy(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():Cy(e[s],null)}}}}function He(...e){return b.useCallback(Wb(...e),e)}function da(e){const t=ON(e),n=b.forwardRef((r,s)=>{const{children:i,...o}=r,l=b.Children.toArray(i),c=l.find(LN);if(c){const u=c.props.children,d=l.map(h=>h===c?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:h);return a.jsx(t,{...o,ref:s,children:b.isValidElement(u)?b.cloneElement(u,void 0,d):null})}return a.jsx(t,{...o,ref:s,children:i})});return n.displayName=`${e}.Slot`,n}var IN=da("Slot");function ON(e){const t=b.forwardRef((n,r)=>{const{children:s,...i}=n;if(b.isValidElement(s)){const o=$N(s),l=MN(i,s.props);return s.type!==b.Fragment&&(l.ref=r?Wb(r,o):o),b.cloneElement(s,l)}return b.Children.count(s)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Hb=Symbol("radix.slottable");function DN(e){const t=({children:n})=>a.jsx(a.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Hb,t}function LN(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Hb}function MN(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...l)=>{const c=i(...l);return s(...l),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function $N(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Kb(e){const t=e+"CollectionProvider",[n,r]=As(t),[s,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=m=>{const{scope:w,children:y}=m,g=R.useRef(null),v=R.useRef(new Map).current;return a.jsx(s,{scope:w,itemMap:v,collectionRef:g,children:y})};o.displayName=t;const l=e+"CollectionSlot",c=da(l),u=R.forwardRef((m,w)=>{const{scope:y,children:g}=m,v=i(l,y),k=He(w,v.collectionRef);return a.jsx(c,{ref:k,children:g})});u.displayName=l;const d=e+"CollectionItemSlot",h="data-radix-collection-item",f=da(d),p=R.forwardRef((m,w)=>{const{scope:y,children:g,...v}=m,k=R.useRef(null),S=He(w,k),_=i(d,y);return R.useEffect(()=>(_.itemMap.set(k,{ref:k,...v}),()=>void _.itemMap.delete(k))),a.jsx(f,{[h]:"",ref:S,children:g})});p.displayName=d;function x(m){const w=i(e+"CollectionConsumer",m);return R.useCallback(()=>{const g=w.collectionRef.current;if(!g)return[];const v=Array.from(g.querySelectorAll(`[${h}]`));return Array.from(w.itemMap.values()).sort((_,j)=>v.indexOf(_.ref.current)-v.indexOf(j.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},x,r]}function ce(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}var Tn=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},FN=mp[" useInsertionEffect ".trim().toString()]||Tn;function Ba({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,i,o]=BN({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:s;{const d=b.useRef(e!==void 0);b.useEffect(()=>{const h=d.current;h!==l&&console.warn(`${r} is changing from ${h?"controlled":"uncontrolled"} to ${l?"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.`),d.current=l},[l,r])}const u=b.useCallback(d=>{var h;if(l){const f=UN(d)?d(e):d;f!==e&&((h=o.current)==null||h.call(o,f))}else i(d)},[l,e,i,o]);return[c,u]}function BN({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),s=b.useRef(n),i=b.useRef(t);return FN(()=>{i.current=t},[t]),b.useEffect(()=>{var o;s.current!==n&&((o=i.current)==null||o.call(i,n),s.current=n)},[n,s]),[n,r,i]}function UN(e){return typeof e=="function"}var VN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],me=VN.reduce((e,t)=>{const n=da(`Primitive.${t}`),r=b.forwardRef((s,i)=>{const{asChild:o,...l}=s,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function qb(e,t){e&&Fa.flushSync(()=>e.dispatchEvent(t))}function zN(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var Ps=e=>{const{present:t,children:n}=e,r=WN(t),s=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),i=He(r.ref,HN(s));return typeof n=="function"||r.isPresent?b.cloneElement(s,{ref:i}):null};Ps.displayName="Presence";function WN(e){const[t,n]=b.useState(),r=b.useRef(null),s=b.useRef(e),i=b.useRef("none"),o=e?"mounted":"unmounted",[l,c]=zN(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=ml(r.current);i.current=l==="mounted"?u:"none"},[l]),Tn(()=>{const u=r.current,d=s.current;if(d!==e){const f=i.current,p=ml(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&f!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),Tn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,h=p=>{const m=ml(r.current).includes(p.animationName);if(p.target===t&&m&&(c("ANIMATION_END"),!s.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},f=p=>{p.target===t&&(i.current=ml(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ml(e){return(e==null?void 0:e.animationName)||"none"}function HN(e){var r,s;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=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var KN=mp[" useId ".trim().toString()]||(()=>{}),qN=0;function Fo(e){const[t,n]=b.useState(KN());return Tn(()=>{n(r=>r??String(qN++))},[e]),t?`radix-${t}`:""}var ku="Collapsible",[GN,Gb]=As(ku),[YN,om]=GN(ku),Yb=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:s,disabled:i,onOpenChange:o,...l}=e,[c,u]=Ba({prop:r,defaultProp:s??!1,onChange:o,caller:ku});return a.jsx(YN,{scope:n,disabled:i,contentId:Fo(),open:c,onOpenToggle:b.useCallback(()=>u(d=>!d),[u]),children:a.jsx(me.div,{"data-state":lm(c),"data-disabled":i?"":void 0,...l,ref:t})})});Yb.displayName=ku;var Jb="CollapsibleTrigger",Qb=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,s=om(Jb,n);return a.jsx(me.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":lm(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...r,ref:t,onClick:ce(e.onClick,s.onOpenToggle)})});Qb.displayName=Jb;var am="CollapsibleContent",Xb=b.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=om(am,e.__scopeCollapsible);return a.jsx(Ps,{present:n||s.open,children:({present:i})=>a.jsx(JN,{...r,ref:t,present:i})})});Xb.displayName=am;var JN=b.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:s,...i}=e,o=om(am,n),[l,c]=b.useState(r),u=b.useRef(null),d=He(t,u),h=b.useRef(0),f=h.current,p=b.useRef(0),x=p.current,m=o.open||l,w=b.useRef(m),y=b.useRef(void 0);return b.useEffect(()=>{const g=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(g)},[]),Tn(()=>{const g=u.current;if(g){y.current=y.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";const v=g.getBoundingClientRect();h.current=v.height,p.current=v.width,w.current||(g.style.transitionDuration=y.current.transitionDuration,g.style.animationName=y.current.animationName),c(r)}},[o.open,r]),a.jsx(me.div,{"data-state":lm(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!m,...i,ref:d,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:m&&s})});function lm(e){return e?"open":"closed"}var QN=Yb,XN=Qb,ZN=Xb,eT=b.createContext(void 0);function tT(e){const t=b.useContext(eT);return e||t||"ltr"}var cn="Accordion",nT=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[cm,rT,sT]=Kb(cn),[Su,MU]=As(cn,[sT,Gb]),um=Gb(),Zb=R.forwardRef((e,t)=>
40{const{type:n,...r}=e,s=r,i=r;return a.jsx(cm.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?a.jsx(lT,{...i,ref:t}):a.jsx(aT,{...s,ref:t})})});Zb.displayName=cn;var[e1,iT]=Su(cn),[t1,oT]=Su(cn,{collapsible:!1}),aT=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},collapsible:i=!1,...o}=e,[l,c]=Ba({prop:n,defaultProp:r??"",onChange:s,caller:cn});return a.jsx(e1,{scope:e.__scopeAccordion,value:R.useMemo(()=>l?[l]:[],[l]),onItemOpen:c,onItemClose:R.useCallback(()=>i&&c(""),[i,c]),children:a.jsx(t1,{scope:e.__scopeAccordion,collapsible:i,children:a.jsx(n1,{...o,ref:t})})})}),lT=R.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:s=()=>{},...i}=e,[o,l]=Ba({prop:n,defaultProp:r??[],onChange:s,caller:cn}),c=R.useCallback(d=>l((h=[])=>[...h,d]),[l]),u=R.useCallback(d=>l((h=[])=>h.filter(f=>f!==d)),[l]);return a.jsx(e1,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:a.jsx(t1,{scope:e.__scopeAccordion,collapsible:!0,children:a.jsx(n1,{...i,ref:t})})})}),[cT,ju]=Su(cn),n1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:s,orientation:i="vertical",...o}=e,l=R.useRef(null),c=He(l,t),u=rT(n),h=tT(s)==="ltr",f=ce(e.onKeyDown,p=>{var E;if(!nT.includes(p.key))return;const x=p.target,m=u().filter(C=>{var T;return!((T=C.ref.current)!=null&&T.disabled)}),w=m.findIndex(C=>C.ref.current===x),y=m.length;if(w===-1)return;p.preventDefault();let g=w;const v=0,k=y-1,S=()=>{g=w+1,g>k&&(g=v)},_=()=>{g=w-1,g<v&&(g=k)};switch(p.key){case"Home":g=v;break;case"End":g=k;break;case"ArrowRight":i==="horizontal"&&(h?S():_());break;case"ArrowDown":i==="vertical"&&S();break;case"ArrowLeft":i==="horizontal"&&(h?_():S());break;case"ArrowUp":i==="vertical"&&_();break}const j=g%y;(E=m[j].ref.current)==null||E.focus()});return a.jsx(cT,{scope:n,disabled:r,direction:s,orientation:i,children:a.jsx(cm.Slot,{scope:n,children:a.jsx(me.div,{...o,"data-orientation":i,ref:c,onKeyDown:r?void 0:f})})})}),Oc="AccordionItem",[uT,dm]=Su(Oc),r1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...s}=e,i=ju(Oc,n),o=iT(Oc,n),l=um(n),c=Fo(),u=r&&o.value.includes(r)||!1,d=i.disabled||e.disabled;return a.jsx(uT,{scope:n,open:u,disabled:d,triggerId:c,children:a.jsx(QN,{"data-orientation":i.orientation,"data-state":c1(u),...l,...s,ref:t,disabled:d,open:u,onOpenChange:h=>{h?o.onItemOpen(r):o.onItemClose(r)}})})});r1.displayName=Oc;var s1="AccordionHeader",i1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=ju(cn,n),i=dm(s1,n);return a.jsx(me.h3,{"data-orientation":s.orientation,"data-state":c1(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});i1.displayName=s1;var uf="AccordionTrigger",o1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=ju(cn,n),i=dm(uf,n),o=oT(uf,n),l=um(n);return a.jsx(cm.ItemSlot,{scope:n,children:a.jsx(XN,{"aria-disabled":i.open&&!o.collapsible||void 0,"data-orientation":s.orientation,id:i.triggerId,...l,...r,ref:t})})});o1.displayName=uf;var a1="AccordionContent",l1=R.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,s=ju(cn,n),i=dm(a1,n),o=um(n);return a.jsx(ZN,{role:"region","aria-labelledby":i.triggerId,"data-orientation":s.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}})});l1.displayName=a1;function c1(e){return e?"open":"closed"}var dT=Zb,hT=r1,fT=i1,u1=o1,d1=l1;/** 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 pT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),h1=(...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 mT={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 gT=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...l},c)=>b.createElement("svg",{ref:c,...mT,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:h1("lucide",s),...l},[...o.map(([u,d])=>b.createElement(u,d)),...Array.isArray(i)?i:[i]]));/** 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 ve=(e,t)=>
60{const n=b.forwardRef(({className:r,...s},i)=>b.createElement(gT,{ref:i,iconNode:t,className:h1(`lucide-${pT(e)}`,r),...s}));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 hm=ve("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"}]]);/** 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 hr=ve("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 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 f1=ve("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 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 on=ve("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 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 Nd=ve("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 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 yT=ve("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/** 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 fm=ve("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 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 vT=ve("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 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 p1=ve("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** 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 m1=ve("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** 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 xT=ve("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"}]]);/** 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 wT=ve("Hourglass",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]);/** 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 bT=ve("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"}]]);/** 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 kT=ve("Library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}
vendor: 10,287 bytes, lines 130-180
130],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);/** 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 ST=ve("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/** 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 jT=ve("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 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 pm=ve("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"}]]);/** 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 _T=ve("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/** 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 ET=ve("Presentation",[["path",{d:"M2 3h20",key:"91anmk"}],["path",{d:"M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3",key:"2k9sn8"}],["path",{d:"m7 21 5-5 5 5",key:"bip4we"}]]);/** 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 g1=ve("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 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 mm=ve("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"}]]);/** 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 NT=ve("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/** 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 y1=ve("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 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 TT=ve("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"}]]);function v1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=v1(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function x1(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=v1(e))&&(r&&(r+=" "),r+=t);return r}const gm="-",CT=e=>{const t=PT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const l=o.split(gm);return l[0]===""&&l.length!==1&&l.shift(),w1(l,t)||AT(o)},getConflictingClassGroupIds:(o,l)=>{const c=n[o]||[];return l&&r[o]?[...c,...r[o]]:c}}},w1=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?w1(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(gm);return(o=t.validators.find(({validator:l})=>l(i)))==null?void 0:o.classGroupId},Ay=/^\[(.+)\]$/,AT=e=>{if(Ay.test(e)){const t=Ay.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},PT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return IT(Object.entries(e.classGroups),n).forEach(([i,o])=>{df(o,r,i,t)}),r},df=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:Py(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(RT(s)){df(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{df(o,Py(t,i),n,r)})})},Py=(e,t)=>{let n=e;return t.split(gm).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},RT=e=>e.isThemeGetter,IT=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,l])=>[t+o,l])):i);return[n,s]}):e,OT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},b1="!",DT=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=l=>{const c=[];let u=0,d=0,h;for(let w=0;w<l.length;w++){let y=l[w];if(u===0){if(y===s&&(r||l.slice(w,w+i)===t)){c.push(l.slice(d,w)),d=w+i;continue}if(y==="/"){h=w;continue}}y==="["?u++:y==="]"&&u--}const f=c.length===0?l:l.substring(d),p=f.startsWith(b1),x=p?f.substring(1):f,m=h&&h>d?h-d:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:x,maybePostfixModifierPosition:m}};return n?l=>n({className:l,parseClassName:o}):o},LT=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},MT=e=>({cache:OT(e.cacheSize),parseClassName:DT(e),...CT(e)}),$T=/\s+/,FT=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split($T);let l="";for(let c=o.length-1;c>=0;c-=1){const u=o[c],{modifiers:d,hasImportantModifier:h,baseClassName:f,maybePostfixModifierPosition:p}=n(u);let x=!!p,m=r(x?f.substring(0,p):f);if(!m){if(!x){l=u+(l.length>0?" "+l:l);continue}if(m=r(f),!m){l=u+(l.length>0?" "+l:l);continue}x=!1}const w=LT(d).join(":"),y=h?w+b1:w,g=y+m;if(i.includes(g))continue;i.push(g);const v=s(m,x);for(let k=0;k<v.length;++k){const S=v[k];i.push(y+S)}l=u+(l.length>0?" "+l:l)}return l};function BT(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=k1(t))&&(r&&(r+=" "),r+=n);return r}const k1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=k1(e[r]))&&(n&&(n+=" "),n+=t);return n};function UT(e,...t){let n,r,s,i=o;function o(c){const u=t.reduce((d,h)=>h(d),e());return n=MT(u),r=n.cache.get,s=n.cache.set,i=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=FT(c,n);return s(c,d),d}return function(){return i(BT.apply(null,arguments))}}const de=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},S1=/^\[(?:([a-z-]+):)?(.+)\]$/i,VT=/^\d+\/\d+$/,zT=new Set(["px","full","screen"]),WT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,HT=/\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$/,KT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,GT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,In=e=>ji(e)||zT.has(e)||VT.test(e),sr=e=>Zi(e,"length",nC),ji=e=>!!e&&!Number.isNaN(Number(e)),Td=e=>Zi(e,"number",ji),yo=e=>!!e&&Number.isInteger(Number(e)),YT=e=>e.endsWith("%")&&ji(e.slice(0,-1)),Q=e=>S1.test(e),ir=e=>WT.test(e),JT=new Set(["length","size","percentage"]),QT=e=>Zi(e,JT,j1),XT=e=>Zi(e,"position",j1),ZT=new Set(["image","url"]),eC=e=>Zi(e,ZT,sC),tC=e=>Zi(e,"",rC),vo=()=>!0,Zi=(e,t,n)=>{const r=S1.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},nC=e=>HT.test(e)&&!KT.test(e),j1=()=>!1,rC=e=>qT.test(e),sC=e=>GT.test(e),iC=()=>{const e=de("colors"),t=de("spacing"),n=de("blur"),r=de("brightness"),s=de("borderColor"),i=de("borderRadius"),o=de("borderSpacing"),l=de("borderWidth"),c=de("contrast"),u=de("grayscale"),d=de("hueRotate"),h=de("invert"),f=de("gap"),p=de("gradientColorStops"),x=de("gradientColorStopPositions"),m=de("inset"),w=de("margin"),y=de("opacity"),g=de("padding"),v=de("saturate"),k=de("scale"),S=de("sepia"),_=de("skew"),j=de("space"),E=de("translate"),C=()=>["auto","contain","none"],T=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto",Q,t],O=()=>[Q,t],W=()=>["",In,sr],D=()=>["auto",ji,Q],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",Q],L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[ji,Q];return{cacheSize:500,separator:":",theme:{colors:[vo],spacing:[In,sr],blur:["none","",ir,Q],brightness:H(),borderColor:[e],borderRadius:["n
180one","","full",ir,Q],borderSpacing:O(),borderWidth:W(),contrast:H(),grayscale:A(),hueRotate:H(),invert:A(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[YT,sr],inset:M(),margin:M(),opacity:H(),padding:O(),saturate:H(),scale:H(),sepia:A(),skew:H(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[ir]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:[...q(),Q]}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],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",yo,Q]}],basis:[{basis:M()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",yo,Q]}],"grid-cols":[{"grid-cols":[vo]}],"col-start-end":[{col:["auto",{span:["full",yo,Q]},Q]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[vo]}],"row-start-end":[{row:["auto",{span:[yo,Q]},Q]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Q]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],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":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[ir]},ir]}],h:[{h:[Q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ir,sr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Td]}],"font-family":[{font:[vo]}],"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",Q]}],"line-clamp":[{"line-clamp":["none",ji,Td]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",In,Q]}],"list-image":[{"list-image":["none",Q]}],"list-style-type":[{list:["none","disc","decimal",Q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",In,sr]}],"underline-offset":[{"underline-offset":["auto",In,Q]}],"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:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q]}],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",Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),XT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",QT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}
180],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,458 bytes, line 180
180],"divide-style":[{divide:U()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[In,Q]}],"outline-w":[{outline:[In,sr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[In,sr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ir,tC]}],"shadow-color":[{shadow:[vo]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",ir,Q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[h]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"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",Q]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[yo,Q]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[_]}],"skew-y":[{"skew-y":[_]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q]}],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",Q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[In,sr,Td]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
180none"]}]},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"]}}},oC=UT(iC);function Ze(...e){return oC(x1(e))}const aC=dT,_1=b.forwardRef(({className:e,...t},n)=>a.jsx(hT,{ref:n,className:Ze("border-b",e),...t}));_1.displayName="AccordionItem";const E1=b.forwardRef(({className:e,children:t,...n},r)=>a.jsx(fT,{className:"flex",children:a.jsxs(u1,{ref:r,className:Ze("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,a.jsx(f1,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));E1.displayName=u1.displayName;const N1=b.forwardRef(({className:e,children:t,...n},r)=>a.jsx(d1,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:a.jsx("div",{className:Ze("pb-4 pt-0",e),children:t})}));N1.displayName=d1.displayName;const Wi="/assets/kindship-logo-ZPkZJHUs.png",lC=()=>a.jsx("nav",{className:"bg-coral shadow-md sticky top-0 z-50",children:a.jsx("div",{className:"px-6 py-3 flex items-center justify-start",children:a.jsx("a",{href:"https://www.kindship.com.au/",className:"flex items-center",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:Wi,alt:"Kindship",className:"h-8 w-auto brightness-0 invert"})})})}),Rs="/assets/kindship-logo-white-tBhmZeeE.png",cC=()=>a.jsx("footer",{style:{backgroundColor:"#671b01"},className:"text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"col-span-2 md:col-span-1",children:[a.jsx("a",{href:"https://www.kindship.com.au/",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:Rs,alt:"Kindship",className:"h-8 w-auto"})}),a.jsxs("div",{className:"flex items-center gap-4 mt-6",children:[a.jsx("a",{href:"https://www.instagram.com/kindship_au/",className:"hover:opacity-80 transition-opacity","aria-label":"Instagram",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259
1800-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),a.jsx("a",{href:"https://www.facebook.com/kindshipapp/",className:"hover:opacity-80 transition-opacity","aria-label":"Facebook",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385h-3.047v-3.47h3.047v-2.642c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953h-1.514c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385c5.737-.9 10.125-5.864 10.125-11.854z"})})}),a.jsx("a",{href:"https://www.linkedin.com/company/kindship/",className:"hover:opacity-80 transition-opacity","aria-label":"LinkedIn",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667h-3.554v-11.452h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zm-15.11-13.019c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019h-3.564v-11.452h3.564v11.452zm15.106-20.452h-20.454c-.979 0-1.771.774-1.771 1.729v20.542c0 .956.792 1.729 1.771 1.729h20.451c.978 0 1.778-.773 1.778-1.729v-20.542c0-.955-.8-1.729-1.778-1.729z"})})}),a.jsx("a",{href:"https://www.youtube.com/@KindshipCollective",className:"hover:opacity-80 transition-opacity","aria-label":"YouTube",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})})]})]}),a.jsx("div",{children:a.jsxs("ul",{className:"space-y-2.5",children:[a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/about-us",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"About Us"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/connection",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Community"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/supportpathways",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Family Support Pathways"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Plan Management"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/blog",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Blog"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-sm text-white/80 hover:text-white transition-colors",children:"Decoding the NDIS Webinars"})}),a.jsx("li",{children:a.jsx("a",{href:"https://calendly.com/d/3qz-nh5-g2g/discovery-call-with-kindship",className:"text-sm text-white/80 hover:text-white transition-colors font-semibold",target:"_blank",rel:"noopener noreferrer",children:"Book a Call With Us"})})]})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-sm mb-4",children:"Contact"}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"General:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"Member Support:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]})]})]})]}),a.jsxs("div",{className:"border-t border-white/10 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[a.jsxs("p",{className:"text-sm text-white/40",children:["© ",new Date().getFullYear()," Kindship. All rights reserved."]}),a.jsx("div",{className:"flex items-center gap-4",children:a.jsx("p",{className:"text-xs text-white/30",children:"A guide only â individual circumstances apply."})})]})]})}),uC=1,dC="eb92602a-374c-42db-ae25-f7271e62443d",hC="f98a8e28-fd19-4bb5-9211-9669688083db",fC="/__l5e/assets-v1/eb92602a-374c-42db-ae25-f7271e62443d/bouquet-hero.png",pC="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/eb92602a-374c-42db-ae25-f7271e62443d/bouquet-hero.png",mC="bouquet-hero.png",gC=915544,yC="image/png",vC="2026-07-07T20:46:58Z",T1={version:uC,asset_id:dC,project_id:hC,url:fC,r2_key:pC,original_filename:mC,size:gC,content_type:yC,created_at:vC},xC=1,wC="7e6958a1-6b77-4bbf-b21f-0db16c8f44ac",bC="f98a8e28-fd19-4bb5-9211-9669688083db",kC="/__l5e/assets-v1/7e6958a1-6b77-4bbf-b21f-0db16c8f44ac/adelaide-event-01.webp",SC="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/7e6958a1-6b77-4bbf-b21f-0db16c8f44ac/adelaide-event-01.webp",jC="adelaide-event-01.webp",_C=70094,EC="image/webp",NC="2026-09-21T07:47:33Z",TC={version:xC,asset_id:wC,project_id:bC,url:kC,r2_key:SC,original_filename:jC,size:_C,content_type:EC,created_at:NC},CC=1,AC="0d4a0f8d-db22-443a-9d88-71b263805406",PC="f98a8e28-fd19-4bb5-9211-9669688083db",RC="/__l5e/assets-v1/0d4a0f8d-db22-443a-9d88-71b263805406/event-cta-room.webp",IC="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/0d4a0f8d-db22-443a-9d88-71b263805406/event-cta-room.webp",OC="event-cta-room.webp",DC=98696,LC="image/webp",MC="2026-09-21T09:23:41Z",$C={version:CC,asset_id:AC,project_id:PC,url:RC,r2_key:IC,original_filename:OC,size:DC,content_type:LC,created_at:MC},FC=1,BC="90eef366-175d-4c23-97ba-bf8a2448b423",UC="f98a8e28-fd19-4bb5-9211-9669688083db",VC="/__l5e/assets-v1/90eef366-175d-4c23-97ba-bf8a2448b423/adelaide-event-02.webp",zC="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/90eef366-175d-4c23-97ba-bf8a2448b423/adelaide-event-02.webp",WC="adelaide-event-02.webp",HC=67400,KC="image/webp",qC="2026-09-21T07:47:36Z",GC={version:FC,asset_id:BC,project_id:UC,url:VC,r2_key:zC,original_filename:WC,size:HC,content_type:KC,created_at:qC},YC=1,JC="d4cca06e-04af-4c21-971b-511a506415a5",QC="f98a8e28-fd19-4bb5-9211-9669688083db",XC="/__l5e/assets-v1/d4cca06e-04af-4c21-971b-511a506415a5/adelaide-event-03.webp",ZC="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/d4cca06e-04af-4c21-971b-511a506415a5/adelaide-event-03.webp",e4="adelaide-event-03.webp",t4=42752,n4="image/webp",r4="2026-09-21T07:47:40Z",s4={ver
180sion:YC,asset_id:JC,project_id:QC,url:XC,r2_key:ZC,original_filename:e4,size:t4,content_type:n4,created_at:r4},i4=1,o4="01753cb5-be01-4531-92a8-f307445cf016",a4="f98a8e28-fd19-4bb5-9211-9669688083db",l4="/__l5e/assets-v1/01753cb5-be01-4531-92a8-f307445cf016/adelaide-event-04.webp",c4="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/01753cb5-be01-4531-92a8-f307445cf016/adelaide-event-04.webp",u4="adelaide-event-04.webp",d4=60200,h4="image/webp",f4="2026-09-21T07:47:43Z",p4={version:i4,asset_id:o4,project_id:a4,url:l4,r2_key:c4,original_filename:u4,size:d4,content_type:h4,created_at:f4},m4=1,g4="7896823d-3597-4fd2-9586-cb56f9b42207",y4="f98a8e28-fd19-4bb5-9211-9669688083db",v4="/__l5e/assets-v1/7896823d-3597-4fd2-9586-cb56f9b42207/adelaide-event-05.webp",x4="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/7896823d-3597-4fd2-9586-cb56f9b42207/adelaide-event-05.webp",w4="adelaide-event-05.webp",b4=45746,k4="image/webp",S4="2026-09-21T07:47:46Z",j4={version:m4,asset_id:g4,project_id:y4,url:v4,r2_key:x4,original_filename:w4,size:b4,content_type:k4,created_at:S4},_4=1,E4="7e993a69-af5e-4702-b5da-6004907880d2",N4="f98a8e28-fd19-4bb5-9211-9669688083db",T4="/__l5e/assets-v1/7e993a69-af5e-4702-b5da-6004907880d2/adelaide-event-06.webp",C4="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/7e993a69-af5e-4702-b5da-6004907880d2/adelaide-event-06.webp",A4="adelaide-event-06.webp",P4=58458,R4="image/webp",I4="2026-09-21T07:47:51Z",O4={version:_4,asset_id:E4,project_id:N4,url:T4,r2_key:C4,original_filename:A4,size:P4,content_type:R4,created_at:I4},D4=1,L4="fd67ab15-f235-44c9-bef4-f5a02199797f",M4="f98a8e28-fd19-4bb5-9211-9669688083db",$4="/__l5e/assets-v1/fd67ab15-f235-44c9-bef4-f5a02199797f/adelaide-event-07.webp",F4="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/fd67ab15-f235-44c9-bef4-f5a02199797f/adelaide-event-07.webp",B4="adelaide-event-07.webp",U4=61790,V4="image/webp",z4="2026-09-21T07:47:55Z",W4={version:D4,asset_id:L4,project_id:M4,url:$4,r2_key:F4,original_filename:B4,size:U4,content_type:V4,created_at:z4},H4=1,K4="47e12b9c-2e02-4394-b393-cbcec4147467",q4="f98a8e28-fd19-4bb5-9211-9669688083db",G4="/__l5e/assets-v1/47e12b9c-2e02-4394-b393-cbcec4147467/adelaide-event-08.webp",Y4="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/47e12b9c-2e02-4394-b393-cbcec4147467/adelaide-event-08.webp",J4="adelaide-event-08.webp",Q4=49008,X4="image/webp",Z4="2026-09-21T07:48:00Z",eA={ver
180sion:H4,asset_id:K4,project_id:q4,url:G4,r2_key:Y4,original_filename:J4,size:Q4,content_type:X4,created_at:Z4},tA=1,nA="7702f0b1-47ee-4e6e-bfc3-db09dbdd765a",rA="f98a8e28-fd19-4bb5-9211-9669688083db",sA="/__l5e/assets-v1/7702f0b1-47ee-4e6e-bfc3-db09dbdd765a/adelaide-event-09.webp",iA="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/7702f0b1-47ee-4e6e-bfc3-db09dbdd765a/adelaide-event-09.webp",oA="adelaide-event-09.webp",aA=50072,lA="image/webp",cA="2026-09-21T07:48:04Z",uA={version:tA,asset_id:nA,project_id:rA,url:sA,r2_key:iA,original_filename:oA,size:aA,content_type:lA,created_at:cA},dA=1,hA="5502f88d-1e9c-4167-abcb-37a7b6f36707",fA="f98a8e28-fd19-4bb5-9211-9669688083db",pA="/__l5e/assets-v1/5502f88d-1e9c-4167-abcb-37a7b6f36707/adelaide-event-10.webp",mA="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/5502f88d-1e9c-4167-abcb-37a7b6f36707/adelaide-event-10.webp",gA="adelaide-event-10.webp",yA=46946,vA="image/webp",xA="2026-09-21T07:48:09Z",wA={version:dA,asset_id:hA,project_id:fA,url:pA,r2_key:mA,original_filename:gA,size:yA,content_type:vA,created_at:xA},bA=1,kA="13cf5df7-fa02-42f1-91b7-cd2541558060",SA="f98a8e28-fd19-4bb5-9211-9669688083db",jA="/__l5e/assets-v1/13cf5df7-fa02-42f1-91b7-cd2541558060/adelaide-event-11.webp",_A="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/13cf5df7-fa02-42f1-91b7-cd2541558060/adelaide-event-11.webp",EA="adelaide-event-11.webp",NA=54076,TA="image/webp",CA="2026-09-21T07:50:40Z",AA={version:bA,asset_id:kA,project_id:SA,url:jA,r2_key:_A,original_filename:EA,size:NA,content_type:TA,created_at:CA},PA=1,RA="5c8af62f-02bb-48f1-a4fb-2b48eb7f47da",IA="f98a8e28-fd19-4bb5-9211-9669688083db",OA="/__l5e/assets-v1/5c8af62f-02bb-48f1-a4fb-2b48eb7f47da/adelaide-event-12.webp",DA="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/5c8af62f-02bb-48f1-a4fb-2b48eb7f47da/adelaide-event-12.webp",LA="adelaide-event-12.webp",MA=76564,$A="image/webp",FA="2026-09-21T07:50:43Z",BA={version:PA,asset_id:RA,project_id:IA,url:OA,r2_key:DA,original_filename:LA,size:MA,content_type:$A,created_at:FA},UA=1,VA="79761c3a-6f80-4756-89ad-dded27a86c1c",zA="f98a8e28-fd19-4bb5-9211-9669688083db",WA="/__l5e/assets-v1/79761c3a-6f80-4756-89ad-dded27a86c1c/adelaide-event-13.webp",HA="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/79761c3a-6f80-4756-89ad-dded27a86c1c/adelaide-event-13.webp",KA="adelaide-event-13.webp",qA=58920,GA="image/webp",YA="2026-09-21T07:50:45Z",JA={version:UA,asset_id:VA,project_id:zA,url:WA,r2_key:HA,original_filename:KA,size:qA,content_type:GA,created_at:YA},QA=1,XA="5bda9f3d-1916-4e36-be88-2bcd1403e904",ZA="f98a8e28-fd19-4bb5-9211-9669688083db",eP="/__l5e/assets-v1/5bda9f3d-1916-4e36-be88-2bcd1403e904/adelaide-event-14.webp",tP="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/5bda9f3d-1916-4e36-be88-2bcd1403e904/adelaide-event-14.webp",nP="adelaide-event-14.webp",rP=31150,sP="image/webp",iP="2026-09-21T07:50:49Z",oP={version:QA,asset_id:XA,project_id:ZA,url:eP,r2_key:tP,original_filename:nP,size:rP,content_type:sP,created_at:iP},aP=1,lP="606a00d1-5ab2-4371-b871-9e8c2f1f01ca",cP="f98a8e28-fd19-4bb5-9211-9669688083db",uP="/__l5e/assets-v1/606a00d1-5ab2-4371-b871-9e8c2f1f01ca/adelaide-event-15.webp",dP="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/606a00d1-5ab2-4371-b871-9e8c2f1f01ca/adelaide-event-15.webp",hP="adelaide-event-15.webp",fP=54642,pP="image/webp",mP="2026-09-21T07:50:52Z",gP={version:aP,asset_id:lP,project_id:cP,url:uP,r2_key:dP,original_filename:hP,size:fP,content_type:pP,created_at:mP},yP=1,vP="06b9bbc6-537e-4ada-b000-4dc8a7f38e8b",xP="f98a8e28-fd19-4bb5-9211-9669688083db",wP="/__l5e/assets-v1/06b9bbc6-537e-4ada-b000-4dc8a7f38e8b/adelaide-event-16.webp",bP="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/06b9bbc6-537e-4ada-b000-4dc8a7f38e8b/adelaide-event-16.webp",kP="adelaide-event-16.webp",SP=45936,jP="image/webp",_P="2026-09-21T07:50:56Z",EP={version:yP,asset_id:vP,project_id:xP,url:wP,r2_key:bP,original_filename:kP,size:SP,content_type:jP,created_at:_P},NP=1,TP="7c0a2b8c-997f-40e6-a249-d9a800715004",CP="f98a8e28-fd19-4bb5-9211-9669688083db",AP="/__l5e/assets-v1/7c0a2b8c-997f-40e6-a249-d9a800715004/kindship-188.jpg",PP="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/7c0a2b8c-997f-40e6-a249-d9a800715004/kindship-188.jpg",RP="kindship-188.jpg",IP=93972,OP="image/jpeg",DP="2026-09-21T08:41:15Z",LP={version:NP,asset_id:TP,project_id:CP,url:AP,r2_key:PP,original_filename:RP,size:IP,content_type:OP,created_at:DP},MP=1,$P="93b26fe4-f914-4ef3-85c1-1f565911db88",FP="f98a8e28-fd19-4bb5-9211-9669688083db",BP="/__l5e/assets-v1/93b26fe4-f914-4ef3-85c1-1f565911db88/sandy-golder.webp",UP="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/93b26fe4-f914-4ef3-85c1-1f565911db88/sandy-golder.webp",VP="sandy-golder.webp",zP=65570,WP="image/webp",HP="2026-09-25T02:29:14Z",KP={version:MP,asset_id:$P,project_id:FP,url:BP,r2_key:UP,original_filename:VP,size:zP,content_type:WP,created_at:HP},qP=1,GP="8031578c-f29a-4227-9c1d-7b64e0a27e9c",YP="f98a8e28-fd19-4bb5-9211-9669688083db",JP="/__l5e/assets-v1/8031578c-f29a-4227-9c1d-7b64e0a27e9c/ingerlise-svaleng.webp",QP="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/8031578c-f29a-4227-9c1d-7b64e0a27e9c/ingerlise-svaleng.webp",XP="ingerlise-svaleng.webp",ZP=58758,eR="image/webp",tR="2026-09-25T02:29:17Z",nR={version:qP,asset_id:GP,project_id:YP,url:JP,r2_key:QP,original_filename:XP,size:ZP,content_type:eR,created_at:tR},rR=1,sR="9adf5247-5215-4b8c-b402-5d0245b2c7f0",iR="f98a8e28-fd19-4bb5-9211-9669688083db",oR="/__l5e/assets-v1/9adf5247-5215-4b8c-b402-5d0245b2c7f0/hayley-thiele-speaker.webp",aR="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/9adf5247-5215-4b8c-b402-5d0245b2c7f0/hayley-thiele-speaker.webp",lR="hayley-thiele-speaker.webp",cR=66316,uR="image/webp",dR="2026-09-25T02:29:21Z",hR={version:rR,asset_id:sR,project_id:iR,url:oR,r2_key:aR,original_filename:lR,size:cR,content_type:uR,created_at:dR},Ry="Kindship Collective Series â Sydney | A day for carers who carry it all",Iy="Saturday 17 October 2026 at the Australian Hotel & Brewery, The Loft, Rouse Hill. A day of real connection, inspiring speakers and practical support for carers of disabled and neurodivergent children. Grab your early bird ticket.",fR="https://decode-with-us.lovable.app/event",Oy=`https://decode-with-us.lovable.app${T1.url}`,Bs=(e,t,n,r)=>{let s=document.head.querySelector(e);s||(s=document.createElement("meta"),s.setAttribute(t,n),document.head.appendChild(s)),s.setAttribute("content",r)},xo="#FFF3EE",Us="#F2D9BF",Cd="#F0A585",Ee="#DC734C",re="#671B01",pR=[{src:TC.url,alt:"A speaker presenting to families at the Adelaide Kindship event"},{src:GC.url,alt:"Guests listening to a presentation at the Adelaide Kindship event"},{src:s4.url,alt:"A guest photographing food shared at the Adelaide Kindship event"},{src:p4.url,alt:"Families and speakers together at the Adelaide Kindship event"},{src:j4.url,alt:"Guests collecting their gifts after the Adelaide Kindship event"},{src:O4.url,alt:"A Kindship speaker beside the event's flower display"},{src:W4.url,alt:"Three guests smiling together at the Adelaide Kindship event"},{src:eA.url,alt:"Guests capturing a presentation at the Adelaide Kindship event"},{src:uA.url,alt:"Families sharing a meal at the Adelaide Kindship event"},{src:wA.url,alt:"Guests embracing at the close of the Adelaide Kindship event"},{src:AA.url,alt:"Two guests embracing at the Adelaide Kindship event"},{src:BA.url,alt:"Guests sharing an animated conversation at the Adelaide Kindship event"},{src:JA.url,alt:"A guest receiving a prize at the Adelaide Kindship event"},{src:oP.url,alt:"Guests connecting beside the flower display at the Adelaide Kindship event"},{src:gP.url,alt:"Guests enjoying an activity together at the Adelaide Kindship event"},{src:EP.url,alt:"The flower-filled tables at the Adelaide Kindship event"}],mR=[{q:"Do I need to know someone to come?",a:"Not at all. Plenty of people came to our Adelaide event on their own and left with new numbers in their phone. You'll be in a room where nobody needs the backstory explained, and we make sure no one's left standing on their own."},{q:"Who is this day actually for?",a:"Parents and carers of disabled and neurodivergent children. That includes grandparents, Kindship carers, partners, and anyone doing the caring. If that's you, you belong here."},{q:"Does my child need an NDIS plan for me to come?",a:"Not at all. Whether you're deep in the NDIS, waiting on an application, or it's just on the horizon, you're welcome. The day's about you either way, and there'll be plenty in it for you regardless of where you're at."},{q:"What if I can't stay for the whole day?",a:"Come for what you can. We know how hard it can be to get away at all â the important thing is that you get to show up, for however long that looks like."},{q:"What if I need a quiet moment?",a:"Take one. Step out, get some air, come back when you're ready. And if you need anything at all on the day, come find one of us â we'd much rather you asked than sat there struggling."},{q:"Is food included?",a:"Yes. A grazing lunch throughout the day, plus tea, coffee and soft drinks. If you let us know your dietary requirements when you book, we'll make sure there's something good for you."},{q:"What does my ticket price actually get me?",a:"Your $20 ticket covers your whole day â your seat, lunch and refreshments, speakers, live music, bingo, prizes and a goodie bag to take home. The real cost of running a day like this comes to a lot more than that (that's where the $150 value comes from) â this event is run on a not-for-profit basis, with sponsorship support and Kindship covering the rest, because we don't want price to be the reason a carer misses out on a day that's meant to be just for them."},{q:"What if the ticket price is a barrier for me right now?",a:"We know that putting $20 aside for yourself isn't always simple, especially with the cost of living where it is right now. We never want cost to be the reason you miss out on a day that's meant for you. If it's a genuine stretch, reach out to us directly at [email protected] before the event â we look at these on a case-by-case basis, so cost doesn't have to be the thing that holds you back."}],gR=()=>(b.useEffect(()=>{const e=document.title;return document.title=Ry,Bs('meta[name="description"]',"name","description",Iy),Bs('meta[property="og:title"]',"property","og:title",Ry),Bs('meta[property="og:description"]',"property","og:description",Iy),Bs('meta[property="og:url"]',"property","og:url",fR),Bs('meta[property="og:image"]',"property","og:image",Oy),Bs('meta[name="twitter:image"]',"name","twitter:image",Oy),()=>{document.title=e}},[]),a.jsxs("main",{style:{backgroundColor:xo,color:re},className:"min-h-screen",children:[a.jsx(lC,{}),a.jsx("section",{className:"relative overflow-hidden",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-12 min-h-[600px] lg:min-h-[720px]",children:[a.jsxs("div",{className:"lg:col-span-6 xl:col-span-5 px-6 lg:px-10 xl:px-16 pt-10 lg:pt-16 pb-16 lg:pb-20 flex flex-col justify-center relative z-10",children:[a.jsx("p",{className:"text-[11px] md:text-xs font-semibold mb-8 lg:mb-12",style:{letterSpacing:"0.3em",color:Ee},children:"FOR SYDNEY FAMILIES"}),a.jsxs("h1",{className:"font-bold leading-[0.95] tracking-tight text-[44px] sm:text-6xl lg:text-[88px]",style:{color:re,fontFamily:"'PP Neue Montreal', sans-serif"},children:["A day for the parents ",a.jsx("br",{className:"hidden sm:block"}),"who carry"," ",a.jsx("span",{style:{color:Ee,fontFamily:"'DM Serif Display', serif",fontStyle:"italic",fontWeight:400},children:"it all."})]}
180),a.jsx("div",{className:"mt-8 inline-flex items-center rounded-full px-6 py-3 text-sm font-semibold text-white",style:{backgroundColor:"#E9A585"},children:"Saturday 17 October 2026"}),a.jsx("p",{className:"mt-8 lg:mt-10 max-w-xl text-lg lg:text-xl leading-relaxed",style:{color:re,opacity:.85,fontWeight:300},children:"The Kindship Collective Series is coming to Sydney, and spots are limited."}),a.jsxs("div",{className:"mt-10 flex flex-wrap items-center gap-4",children:[a.jsx("a",{href:"https://luma.com/7p1i5p52",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center rounded-full px-8 py-4 text-base font-medium text-white transition-all hover:scale-[1.02] hover:shadow-lg",style:{backgroundColor:Ee},children:"Grab your tickets"}),a.jsx("a",{href:"#details",className:"text-sm underline underline-offset-4",style:{color:re},children:"See event details"})]})]}),a.jsx("div",{className:"lg:col-span-6 xl:col-span-7 relative h-[420px] sm:h-[520px] lg:min-h-[720px]",children:a.jsx("img",{src:T1.url,alt:"Soft peach and pink bouquet",className:"absolute inset-0 w-full h-full object-cover"})})]})}),a.jsx("section",{className:"px-6 lg:px-10 py-16 lg:py-24",children:a.jsx("div",{className:"max-w-3xl mx-auto",children:a.jsxs("div",{className:"relative overflow-hidden rounded-2xl border border-[#DC734C]/20 shadow-[0_20px_60px_-30px_rgba(103,27,1,0.18)] p-8 lg:p-12 xl:p-16 text-center",style:{backgroundColor:Us},children:[a.jsxs("p",{className:"text-xl lg:text-2xl leading-relaxed",style:{color:re,fontWeight:300},children:["On ",a.jsx("span",{className:"font-medium",children:"Saturday 17 October"}),", Kindship is bringing together parents and carers of disabled and neurodivergent children for a day of real connection, inspiring speakers, practical education, and genuine support."]}),a.jsx("p",{className:"mt-8 text-2xl lg:text-3xl",style:{fontFamily:"'DM Serif Display', serif",fontStyle:"italic",color:Ee},children:"A room full of people who just get it."}),a.jsx("p",{className:"mt-8 text-lg leading-relaxed",style:{color:re,opacity:.8,fontWeight:300},children:"This is a small, close-knit day, not a big conference. Once tickets are gone, we won't be offering more. If you're keen, grab yours sooner rather than later."}),a.jsx("a",{href:"https://luma.com/7p1i5p52",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center rounded-full px-8 py-4 text-base font-medium text-white transition-all hover:scale-[1.02] hover:shadow-lg mt-10",style:{backgroundColor:Ee},children:"Grab your tickets"})]})})}),a.jsx("section",{id:"details",className:"px-6 lg:px-10 mt-4 lg:mt-8",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsx("p",{className:"text-[11px] font-medium mb-8 text-center",style:{letterSpacing:"0.3em",color:re},children:"EVENT DETAILS"}),a.jsxs("div",{className:"relative overflow-hidden border border-[#DC734C]/20 shadow-[0_20px_60px_-30px_rgba(103,27,1,0.18)]",style:{backgroundColor:Us},children:[a.jsx("div",{className:"absolute inset-0 opacity-[0.12] pointer-events-none mix-blend-multiply",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`}}),a.jsx("div",{className:"absolute top-0 left-0 w-full h-1.5",style:{backgroundColor:Ee}}),a.jsx("div",{className:"absolute bottom-4 right-4 opacity-[0.08] pointer-events-none",style:{color:re},children:a.jsxs("svg",{width:"56",height:"56",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",children:[a.jsx("path",{d:"M12 22C12 22 17 18 17 13C17 8 12 2 12 2C12 2 7 8 7 13C7 18 12 22 12 22Z"}),a.jsx("path",{d:"M12 2V22"}),a.jsx("path",{d:"M7 13H17"})]})}),a.jsxs("div",{className:"relative grid grid-cols-1 md:grid-cols-4 divide-y md:divide-y-0 md:divide-x divide-[#DC734C]/20",children:[a.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",children:[a.jsx("span",{className:"block text-[10px] font-medium uppercase mb-4",style:{letterSpacing:"0.2em",color:Ee},children:"The Date"}),a.jsx("h3",{className:"text-3xl lg:text-4xl leading-none",style:{color:re,fontFamily:"'DM Serif Display', serif"},children:"Saturday 17"}),a.jsx("p",{className:"text-sm mt-2 font-medium",style:{color:re,opacity:.7},children:"October 2026"})]}),a.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",style:{backgroundColor:"rgba(255,243,238,0.5)"},children:[a.jsx("span",{className:"block text-[10px] font-medium uppercase mb-4",style:{letterSpacing:"0.2em",color:Ee},children:"The Venue"}),a.jsx("h3",{className:"text-2xl lg:text-3xl leading-tight",style:{color:re,fontFamily:"'DM Serif Display', serif",fontStyle:"italic"},children:"Australian Hotel & Brewery"}),a.jsx("p",{className:"text-sm mt-2 font-medium italic",style:{color:re,opacity:.7},children:"The Loft, Rouse Hill"})]}),a.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",children:[a.jsx("span",{className:"block text-[10px] font-medium uppercase mb-4",style:{letterSpacing:"0.2em",color:Ee},children:"Doors Open"}),a.jsx("h3",{className:"text-3xl lg:text-4xl leading-none",style:{color:re,fontFamily:"'DM Serif Display', serif"},children:"10:30am"}),a.jsx("p",{className:"text-sm mt-2 font-medium",style:{color:re,opacity:.7},children:"until 3pm"})]}),a.jsxs("div",{className:"p-8 lg:p-10 flex flex-col justify-center",style:{backgroundColor:"rgba(240,165,133,0.12)"},children:[a.jsx("span",{className:"block text-[10px] font-medium uppercase mb-4",style:{letterSpacing:"0.2em",color:Ee},children:"Tickets"}),a.jsx("h3",{className:"text-2xl lg:text-3xl leading-none mb-4",style:{color:re,fontFamily:"'DM Serif Display', serif"},children:"$20 per person"}),a.jsx("a",{href:"https://luma.com/7p1i5p52",target:"_blank",rel:"noopener noreferrer",className:"inline-block text-center text-xs font-bold uppercase tracking-widest px-6 py-3 text-white transition-colors duration-300 hover:opacity-90",style:{backgroundColor:re},children:"Grab your tickets"}),a.jsx("p",{className:"text-xs mt-3 text-center font-medium",style:{color:re,opacity:.7},children:"valued at $150+"})]})]})]})]})}),a.jsxs("section",{className:"py-16 lg:py-20 overflow-hidden",children:[a.jsxs("div",{className:"px-6 text-center mb-8 lg:mb-10",children:[a.jsx("p",{className:"text-[11px] font-medium mb-4",style:{letterSpacing:"0.3em",color:Ee},children:"ADELAIDE · AUGUST 2026"}),a.jsx("h2",{className:"text-2xl leading-tight",style:{color:re,fontFamily:"'DM Serif Display', serif",fontStyle:"italic"},children:"Snapshots from our last Kindship Collective Series."})]}),a.jsx("div",{className:"adelaide-strip overflow-x-auto","aria-label":"Photos from the Adelaide Kindship event",children:a.jsx("div",{className:"adelaide-strip-track flex w-max",children:[0,1].map(e=>a.jsx("div",{className:"flex shrink-0 gap-3 pr-3","aria-hidden":e===1?!0:void 0,children:pR.map((t,n)=>a.jsx("img",{src:t.src,alt:e===0?t.alt:"",width:"1035",height:"680",loading:"lazy",decoding:"async",className:"h-[220px] md:h-[340px] w-auto max-w-none shrink-0 rounded-lg object-cover"},`${e}-${t.src}`))},e))})}),a.jsx("style",{children:` 181 .adelaide-strip { 182 scrollbar-width: none; 183 -webkit-overflow-scrolling: touch; 184 mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); 185 -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); 186 } 187 .adelaide-strip::-webkit-scrollbar { display: none; } 188 .adelaide-strip-track { 189 animation: adelaide-photo-scroll 60s linear infinite; 190 will-change: transform; 191 } 192 .adelaide-strip:hover .adelaide-strip-track { animation-play-state: paused; } 193 @keyframes adelaide-photo-scroll { 194 from { transform: translateX(0); } 195 to { transform: translateX(-50%); } 196 } 197 @media (prefers-reduced-motion: reduce) { 198 .adelaide-strip-track { 199 animation: none; 200 will-change: auto; 201 } 202 } 203 `})]}),a.jsx("section",{className:"px-6 lg:px-10 py-16 lg:py-24",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("p",{className:"text-[11px] font-medium mb-4 text-center",style:{letterSpacing:"0.3em",color:Ee},children:"WHAT YOUR TICKET INCLUDES"}),a.jsx("h2",{className:"text-center text-3xl lg:text-4xl mb-10 lg:mb-14",style:{color:re,fontFamily:"'DM Serif Display', serif",fontStyle:"italic"},children:"A day built around you."}),a.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-5",children:[{title:"A room full of people who get it",desc:"Connect with other carers who understand exactly what your day-to-day looks like, without having to explain it.",bg:Us},{title:"A grazing lunch, tea and coffee all day",desc:"Food you didn't have to make, plate up or clean up.",bg:Cd},{title:"Live music, bingo, prizes and a goodie bag",desc:"Because sometimes you just need to laugh at the relatable chaos together â and be treated for once.",bg:Ee}
203,{title:"Learn about self-advocacy",desc:"With Sandy: family goals and empowering women in self-advocacy.",bg:Ee},{title:"Find more joy",desc:"With Ingerlise: exploring positive psychology, hope and joy.",bg:Us},{title:"Get NDIS tools that work",desc:"With Hayley: practical, plain-English tools you can actually use.",bg:Cd}].map(e=>a.jsx("div",{className:"p-6 lg:p-8 rounded-2xl flex flex-col justify-between",style:{backgroundColor:e.bg},children:a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl lg:text-2xl leading-tight mb-3",style:{color:re,fontFamily:"'DM Serif Display', serif"},children:e.title}),a.jsx("p",{className:"text-sm leading-relaxed",style:{color:re,opacity:.85,fontWeight:300},children:e.desc})]})},e.title))}),a.jsx("p",{className:"mt-12 text-center text-base lg:text-lg leading-relaxed",style:{color:re,opacity:.8,fontWeight:300},children:"All for $20 per person â early access pricing, valued at $150 per ticket."})]})}),a.jsx("section",{className:"px-6 lg:px-10 pb-16 lg:pb-24",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("h2",{className:"text-center text-3xl lg:text-4xl mb-10 lg:mb-14",style:{color:re,fontFamily:"'DM Serif Display', serif",fontStyle:"italic"},children:"Meet your speakers."}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[a.jsxs("div",{className:"bg-background rounded-2xl overflow-hidden shadow-md flex flex-col",children:[a.jsx("div",{className:"aspect-[4/5] overflow-hidden",children:a.jsx("img",{src:KP.url,alt:"Sandy Golder",loading:"lazy",decoding:"async",className:"w-full h-full object-cover",style:{objectPosition:"50% 20%"}})}),a.jsxs("div",{className:"p-6 flex-1",children:[a.jsx("h3",{className:"font-serif text-xl mb-1",children:"Sandy Golder"}),a.jsxs("div",{className:"text-sm text-warm-gray font-sans leading-relaxed space-y-3",children:[a.jsx("p",{children:"Sandy is an Advanced Positive Behaviour Support Practitioner, educator and co-founder of Kindship, with over 20 years of experience across mainstream and specialist education and disability services. With qualifications in inclusive education, child and adolescent mental health and teaching, she brings both professional expertise and lived experience to her work."}),a.jsx("p",{children:"Sandy is a married mum of two. Her almost 16-year-old daughter, Imogen, is autistic with high support needs and has a moderate intellectual disability, ADHD and anxiety. Imogen has been the catalyst for Sandy's passion for disability advocacy and helping families access the supports they need."})]})]})]}),a.jsxs("div",{className:"bg-background rounded-2xl overflow-hidden shadow-md flex flex-col",children:[a.jsx("div",{className:"aspect-[4/5] overflow-hidden",children:a.jsx("img",{src:nR.url,alt:"Ingerlise Svaleng",loading:"lazy",decoding:"async",className:"w-full h-full object-cover object-top"})}),a.jsxs("div",{className:"p-6 flex-1",children:[a.jsx("h3",{className:"font-serif text-xl mb-1",children:"Ingerlise Svaleng"}),a.jsxs("div",{className:"text-sm text-warm-gray font-sans leading-relaxed space-y-3",children:[a.jsx("p",{children:"Ingerlise Svaleng is a positive psychology practitioner and founder of 21 Gifts, a national kindness project helping rewrite the opening act of childhood disability diagnosis with hope, belonging and a focus on opportunities."}),a.jsx("p",{children:"Originally from Norway and now based in Sydney, Ingerlise is the proud mum of Lola and Maia. Maia was born with Down syndrome and changed the direction of her life in the most colourful of ways."}),a.jsx("p",{children:"With a Master's in Coaching Psychology from the University of Sydney, Ingerlise is fascinated by what helps people keep moving, connecting and finding joyful adventures off the beaten track. Her work is grounded in strengths, hope and self-kindness, with the belief that life can hold complexity and joy, challenge and awe, often at exactly the same time."})]})]})]}),a.jsxs("div",{className:"bg-background rounded-2xl overflow-hidden shadow-md flex flex-col",children:[a.jsx("div",{className:"aspect-[4/5] overflow-hidden",children:a.jsx("img",{src:hR.url,alt:"Hayley Thiele",loading:"lazy",decoding:"async",className:"w-full h-full object-cover",style:{objectPosition:"50% 20%"}})}),a.jsxs("div",{className:"p-6 flex-1",children:[a.jsx("h3",{className:"font-serif text-xl mb-1",children:"Hayley Thiele"}),a.jsxs("div",{className:"text-sm text-warm-gray font-sans leading-relaxed space-y-3",children:[a.jsx("p",{children:"Hayley is Kindship's Chief Executive Officer, leading the organisation with a focus on making life a little less overwhelming for families navigating disability. Her work centres on turning complex systems, especially the NDIS, into support that feels clear, practical and genuinely useful."}),a.jsx("p",{children:"Hayley's connection to this space comes through being a mum. Like many parents, disability became part of her family's everyday life, giving her a deep understanding of the emotional load families carry and how difficult it can be to navigate systems that are meant to help."}),a.jsx("p",{children:"Before Kindship, Hayley spent her career in community services, including in the trauma sector supporting survivors of domestic and sexual abuse, shaping her belief that systems should support people, not make things harder."})]})]})]})]})]})}),a.jsxs("section",{className:"relative px-6 lg:px-10 py-16 lg:py-24",style:{backgroundColor:xo},children:[a.jsx("div",{"aria-hidden":"true",className:"absolute left-0 top-0 bottom-0 w-[6px]",style:{backgroundColor:Ee}}),a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("p",{className:"text-[11px] font-medium mb-8 lg:mb-12 text-center",style:{letterSpacing:"0.3em",color:Ee},children:"AFTER OUR LAST EVENT"}),a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-5 items-stretch",children:[a.jsx("div",{className:"flex flex-col justify-center gap-5",children:[{text:a.jsxs(a.Fragment,{children:[a.jsx("strong",{className:"text-3xl lg:text-4xl font-bold align-middle",children:"96%"})," of attendees said they'd come to another Kindship event"]}),bg:Us,color:re},{text:a.jsxs(a.Fragment,{children:[a.jsx("strong",{className:"text-3xl lg:text-4xl font-bold align-middle",children:"56%"})," arrived feeling isolated or unseen."," ",a.jsx("strong",{className:"text-3xl lg:text-4xl font-bold align-middle",children:"91%"})," left feeling more included than when they walked in."]}),bg:Cd,color:"#fff"},{text:a.jsxs(a.Fragment,{children:[a.jsx("strong",{className:"text-3xl lg:text-4xl font-bold align-middle",children:"83%"})," of attendees left feeling more empowered, lighter, or like they weren't alone."]}),bg:Ee,color:"#fff"}].map((e,t)=>a.jsx("div",{className:"rounded-lg px-6 py-8 lg:px-8 lg:py-10 text-center leading-snug text-base lg:text-lg",style:{backgroundColor:e.bg,color:e.color,fontWeight:300},children:e.text},t))}),a.jsx("img",{src:LP.url,alt:"Guests listening at the last Kindship Collective Series event",className:"w-full h-[280px] lg:h-auto lg:min-h-full object-cover rounded-lg",loading:"lazy",decoding:"async"})]})]})]}),a.jsx("section",{className:"py-20 lg:py-28",style:{backgroundColor:re},children:a.jsxs("div",{className:"max-w-4xl mx-auto px-6 lg:px-10 text-center",children:[a.jsx("p",{className:"text-3xl sm:text-4xl lg:text-5xl leading-tight italic",style:{color:"#fff",fontFamily:"'DM Serif Display', serif"},children:'"The kind of day that gives you tools for your family and fills your cup at the same time."'}),a.jsx("p",{className:"mt-8 text-[11px] font-medium uppercase",style:{letterSpacing:"0.3em",color:"#fff"},children:"THE KINDSHIP COLLECTIVE SERIES"})]})}),a.jsx("section",{className:"px-6 lg:px-10 py-16 lg:py-24",style:{backgroundColor:xo},children:a.jsxs("div",{className:"max-w-[800px] mx-auto",children:[a.jsx("p",{className:"text-[11px] font-medium mb-4 text-center",style:{letterSpacing:"0.3em",color:Ee},children:"GOOD TO KNOW"}),a.jsx("h2",{className:"text-center text-2xl sm:text-3xl lg:text-[34px] mb-10 lg:mb-12",style:{color:re,fontFamily:"'DM Serif Display', serif",fontStyle:"italic"},children:"The bits you might be wondering about."}),a.jsx(aC,{type:"single",collapsible:!0,className:"faq-accordion",children:mR.map(e=>a.jsxs(_1,{value:e.q,className:"faq-item border-b-0",children:[a.jsx(E1,{className:"faq-trigger text-left text-[17px] lg:text-lg font-medium hover:no-underline py-5 lg:py-6",style:{color:re},children:e.q}),a.jsx(N1,{className:"pb-6 lg:pb-7",children:a.jsx("p",{className:"text-[15px] leading-relaxed",style:{color:"#333333"},children:e.a})})]},e.q))}),a.jsx("style",{children:` 204 .faq-item { border-bottom: 1px solid ${Us}; } 205 .faq-item:last-child { border-bottom: none; } 206 .faq-trigger svg { color: ${Ee}; height: 1.15rem; width: 1.15rem; } 207 `})]})}),a.jsx("section",{"aria-hidden":"true",className:"h-14 lg:h-24",style:{backgroundColor:xo}}),a.jsxs("section",{className:"relative h-[420px] lg:h-[520px] overflow-hidden",children:[a.jsx("img",{src:$C.url,alt:"The room at the last Kindship Collective Series event, with guests seated at long tables and two women speaking beside the flower display",className:"absolute inset-0 w-full h-full object-cover",loading:"lazy",decoding:"async"}),a.jsx("div",{className:"absolute inset-0",style:{background:`linear-gradient(to bottom, ${re}33 0%, ${re}66 45%, ${re}CC 100%)`}}),a.jsxs("div",{className:"relative h-full flex flex-col items-center justify-center text-center px-6",children:[a.jsx("p",{className:"text-[17px]",style:{color:"#fff",opacity:.8,fontWeight:300},children:"Saturday 17 October · The Loft, Australian Hotel & Brewery, Rouse Hill"}),a.jsx("a",{href:"https://luma.com/7p1i5p52",target:"_blank",rel:"noopener noreferrer","data-luma-action":"checkout","data-luma-event-id":"evt-N06nvbW5umeE8yP",className:"luma-checkout--button mt-8 inl
207ine-flex items-center justify-center rounded-full px-10 py-4 text-base font-semibold text-white transition-all hover:scale-[1.02] hover:shadow-lg",style:{backgroundColor:Ee},children:"Grab your tickets"}),a.jsx("p",{className:"mt-4 text-xs",style:{color:"#fff",opacity:.7},children:"$20 early access · $25 once speakers are announced"})]})]}),a.jsx("section",{"aria-hidden":"true",className:"h-20 lg:h-32",style:{backgroundColor:xo}}),a.jsx("section",{children:a.jsxs("div",{className:"px-6 lg:px-10 py-6 lg:py-8 flex flex-col sm:flex-row items-center justify-between gap-5 text-center sm:text-left",style:{backgroundColor:Ee},children:[a.jsx("p",{className:"text-base lg:text-lg font-medium text-white",children:"Want your brand in front of 100 Sydney carers?"}),a.jsx("a",{href:"mailto:[email protected]",className:"inline-flex items-center justify-center rounded-full px-8 py-3.5 text-sm font-semibold text-white transition-transform hover:scale-[1.02]",style:{backgroundColor:re},children:"Talk to us about sponsoring"})]})}),a.jsx(cC,{})]}));var _u=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(){}},Eu=typeof window>"u"||"Deno"in globalThis;function Yt(){}function yR(e,t){return typeof e=="function"?e(t):e}function vR(e){return typeof e=="number"&&e>=0&&e!==1/0}function xR(e,t){return Math.max(e+(t||0)-Date.now(),0)}function hf(e,t){return typeof e=="function"?e(t):e}function wR(e,t){return typeof e=="function"?e(t):e}function Dy(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:l}=e;if(o){if(r){if(t.queryHash!==ym(o,t.options))return!1}else if(!fa(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||s&&s!==t.state.fetchStatus||i&&!i(t))}function Ly(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(ha(t.options.mutationKey)!==ha(i))return!1}else if(!fa(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function ym(e,t){return((t==null?void 0:t.queryKeyHashFn)||ha)(e)}function ha(e){return JSON.stringify(e,(t,n)=>ff(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function fa(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>fa(e[n],t[n])):!1}function C1(e,t){if(e===t)return e;const n=My(e)&&My(t);if(n||ff(e)&&ff(t)){const r=n?e:Object.keys(e),s=r.length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<o;d++){const h=n?d:i[d];(!n&&c.has(h)||n)&&e[h]===void 0&&t[h]===void 0?(l[h]=void 0,u++):(l[h]=C1(e[h],t[h]),l[h]===e[h]&&e[h]!==void 0&&u++)}return s===o&&u===s?e:l}return t}function My(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ff(e){if(!$y(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!$y(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function $y(e){return Object.prototype.toString.call(e)==="[object Object]"}function bR(e){return new Promise(t=>{setTimeout(t,e)})}function kR(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?C1(e,t):t}function SR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function jR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var vm=Symbol();function A1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===vm?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ds,yr,Ci,bx,_R=(bx=class extends _u{constructor(){super();ne(this,ds);ne(this,yr);ne(this,Ci);J(this,Ci,t=>{if(!Eu&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){P(this,yr)||this.setEventListener(P(this,Ci))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,yr))==null||t.call(this),J(this,yr,void 0))}setEventListener(t){var n;J(this,Ci,t),(n=P(this,yr))==null||n.call(this),J(this,yr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){P(this,ds)!==t&&(J(this,ds,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,912 bytes, line 207
207this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof P(this,ds)=="boolean"?P(this,ds):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ds=new WeakMap,yr=new WeakMap,Ci=new WeakMap,bx),P1=new _R,Ai,vr,Pi,kx,ER=(kx=class extends _u{constructor(){super();ne(this,Ai,!0);ne(this,vr);ne(this,Pi);J(this,Pi,t=>{if(!Eu&&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(){P(this,vr)||this.setEventListener(P(this,Pi))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,vr))==null||t.call(this),J(this,vr,void 0))}setEventListener(t){var n;J(this,Pi,t),(n=P(this,vr))==null||n.call(this),J(this,vr,t(this.setOnline.bind(this)))}setOnline(t){P(this,Ai)!==t&&(J(this,Ai,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return P(this,Ai)}},Ai=new WeakMap,vr=new WeakMap,Pi=new WeakMap,kx),Dc=new ER;function NR(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function TR(e){return Math.min(1e3*2**e,3e4)}function R1(e){return(e??"online")==="online"?Dc.isOnline():!0}var I1=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ad(e){return e instanceof I1}function O1(e){let t=!1,n=0,r=!1,s;const i=NR(),o=m=>{var w;r||(f(new I1(m)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>P1.isFocused()&&(e.networkMode==="always"||Dc.isOnline())&&e.canRun(),d=()=>R1(e.networkMode)&&e.canRun(),h=m=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,m),s==null||s(),i.resolve(m))},f=m=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,m),s==null||s(),i.reject(m))},p=()=>new Promise(m=>{var w;s=y=>{(r||u())&&m(y)},(w=e.onPause)==null||w.call(e)}).then(()=>{var m;s=void 0,r||(m=e.onContinue)==null||m.call(e)}),x=()=>{if(r)return;let m;const w=n===0?e.initialPromise:void 0;try{m=w??e.fn()}catch(y){m=Promise.reject(y)}Promise.resolve(m).then(h).catch(y=>{var _;if(r)return;const g=e.retry??(Eu?0:3),v=e.retryDelay??TR,k=typeof v=="function"?v(n,y):v,S=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,y);if(t||!S){f(y);return}n++,(_=e.onFail)==null||_.call(e,n,y),bR(k).then(()=>u()?void 0:p()).then(()=>{t?f(y):x()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?x():p().then(x),i)}}var CR=e=>setTimeout(e,0);function AR(){let e=[],t=0,n=l=>{l()},r=l=>{l()},s=CR;const i=l=>{t?e.push(l):s(()=>{n(l)})},o=()=>{const l=e;e=[],l.length&&s(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||o()}return c},batchCalls:l=>(...c)=>{i(()=>{l(...c)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{s=l}}}var nt=AR(),hs,Sx,D1=(Sx=class{constructor(){ne(this,hs)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),vR(this.gcTime)&&J(this,hs,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Eu?1/0:5*60*1e3))}clearGcTimeout(){P(this,hs)&&(clearTimeout(P(this,hs)),J(this,hs,void 0))}},hs=new WeakMap,Sx),Ri,fs,At,ps,Je,Ra,ms,Qt,On,jx,PR=(jx=class extends D1{constructor(t){super();ne(this,Qt);ne(this,Ri);ne(this,fs);ne(this,At);ne(this,ps);ne(this,Je);ne(this,Ra);ne(this,ms);J(this,ms,!1),J(this,Ra,t.defaultOptions),this.setOptions(t.options),this.observers=[],J(this,ps,t.client),J(this,At,P(this,ps).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,J(this,Ri,IR(this.options)),this.state=t.state??P(this,Ri),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=P(this,Je))==null?void 0:t.promise}setOptions(t){this.options={...P(this,Ra),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,At).remove(this)}setData(t,n){const r=kR(this.state.data,t,this.options);return qe(this,Qt,On).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){qe(this,Qt,On).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=P(this,Je))==null?void 0:r.promise;return(s=P(this,Je))==null||s.cancel(t),n?n.then(Yt).catch(Yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,Ri))}isActive(){return this.observers.some(t=>wR(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===vm||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 207
207Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>hf(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:!xR(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Je))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Je))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,At).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(P(this,Je)&&(P(this,ms)?P(this,Je).cancel({revert:!0}):P(this,Je).cancelRetry()),this.scheduleGc()),P(this,At).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||qe(this,Qt,On).call(this,{type:"invalidate"})}
vendor: 14,124 bytes, line 207
207fetch(t,n){var u,d,h;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(P(this,Je))return P(this,Je).continueRetry(),P(this,Je).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(J(this,ms,!0),r.signal)})},i=()=>{const f=A1(this.options,n),x=(()=>{const m={client:P(this,ps),queryKey:this.queryKey,meta:this.meta};return s(m),m})();return J(this,ms,!1),this.options.persister?this.options.persister(f,x,this):f(x)},l=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:P(this,ps),state:this.state,fetchFn:i};return s(f),f})();(u=this.options.behavior)==null||u.onFetch(l,this),J(this,fs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&qe(this,Qt,On).call(this,{type:"fetch",meta:(h=l.fetchOptions)==null?void 0:h.meta});const c=f=>{var p,x,m,w;Ad(f)&&f.silent||qe(this,Qt,On).call(this,{type:"error",error:f}),Ad(f)||((x=(p=P(this,At).config).onError)==null||x.call(p,f,this),(w=(m=P(this,At).config).onSettled)==null||w.call(m,this.state.data,f,this)),this.scheduleGc()};return J(this,Je,O1({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,x,m,w;if(f===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(y){c(y);return}(x=(p=P(this,At).config).onSuccess)==null||x.call(p,f,this),(w=(m=P(this,At).config).onSettled)==null||w.call(m,f,this.state.error,this),this.scheduleGc()},onError:c,onFail:(f,p)=>{qe(this,Qt,On).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{qe(this,Qt,On).call(this,{type:"pause"})},onContinue:()=>{qe(this,Qt,On).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),P(this,Je).start()}},Ri=new WeakMap,fs=new WeakMap,At=new WeakMap,ps=new WeakMap,Je=new WeakMap,Ra=new WeakMap,ms=new WeakMap,Qt=new WeakSet,On=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,...RR(r.data,this.options),fetchMeta:t.meta??null};case"success":return J(this,fs,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 s=t.error;return Ad(s)&&s.revert&&P(this,fs)?{...P(this,fs),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),nt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),P(this,At).notify({query:this,type:"updated",action:t})})},jx);function RR(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function IR(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 gn,_x,OR=(_x=class extends _u{constructor(t={}){super();ne(this,gn);this.config=t,J(this,gn,new Map)}build(t,n,r){const s=n.queryKey,i=n.queryHash??ym(s,n);let o=this.get(i);return o||(o=new PR({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){P(this,gn).has(t.queryHash)||(P(this,gn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=P(this,gn).get(t.queryHash);n&&(t.destroy(),n===t&&P(this,gn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){nt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,gn).get(t)}getAll(){return[...P(this,gn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Dy(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Dy(t,r)):n}notify(t){nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){nt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){nt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},gn=new WeakMap,_x),yn,et,gs,vn,or,Ex,DR=(Ex=class extends D1{constructor(t){super();ne(this,vn);ne(this,yn);ne(this,et);ne(this,gs);this.mutationId=t.mutationId,J(this,et,t.mutationCache),J(this,yn,[]),this.state=t.state||LR(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,yn).includes(t)||(P(this,yn).push(t),this.clearGcTimeout(),P(this,et).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){J(this,yn,P(this,yn).filter(n=>n!==t)),this.scheduleGc(),P(this,et).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,yn).length||(this.state.status==="pending"?this.scheduleGc():P(this,et).remove(this))}continue(){var t;return((t=P(this,gs))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,l,c,u,d,h,f,p,x,m,w,y,g,v,k,S,_,j,E;const n=()=>{qe(this,vn,or).call(this,{type:"continue"})};J(this,gs,O1({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,T)=>{qe(this,vn,or).call(this,{type:"failed",failureCount:C,error:T})},onPause:()=>{qe(this,vn,or).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,et).canRun(this)}));const r=this.state.status==="pending",s=!P(this,gs).canStart();try{if(r)n();else{qe(this,vn,or).call(this,{type:"pending",variables:t,isPaused:s}),await((o=(i=P(this,et).config).onMutate)==null?void 0:o.call(i,t,this));const T=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));T!==this.state.context&&qe(this,vn,or).call(this,{type:"pending",context:T,variables:t,isPaused:s})}const C=await P(this,gs).start();return await((d=(u=P(this,et).config).onSuccess)==null?void 0:d.call(u,C,t,this.state.context,this)),await((f=(h=this.options).onSuccess)==null?void 0:f.call(h,C,t,this.state.context)),await((x=(p=P(this,et).config).onSettled)==null?void 0:x.call(p,C,null,this.state.variables,this.state.context,this)),await((w=(m=this.options).onSettled)==null?void 0:w.call(m,C,null,t,this.state.context)),qe(this,vn,or).call(this,{type:"success",data:C}),C}catch(C){try{throw await((g=(y=P(this,et).config).onError)==null?void 0:g.call(y,C,t,this.state.context,this)),await((k=(v=this.options).onError)==null?void 0:k.call(v,C,t,this.state.context)),await((_=(S=P(this,et).config).onSettled)==null?void 0:_.call(S,void 0,C,this.state.variables,this.state.context,this)),await((E=(j=this.options).onSettled)==null?void 0:E.call(j,void 0,C,t,this.state.context)),C}finally{qe(this,vn,or).call(this,{type:"error",error:C})}}finally{P(this,et).runNext(this)}}},yn=new WeakMap,et=new WeakMap,gs=new WeakMap,vn=new WeakSet,or=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),nt.batch(()=>{P(this,yn).forEach(r=>{r.onMutationUpdate(t)}),P(this,et).notify({mutation:this,type:"updated",action:t})})},Ex);function LR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Fn,Xt,Ia,Nx,MR=(Nx=class extends _u{constructor(t={}){super();ne(this,Fn);ne(this,Xt);ne(this,Ia);this.config=t,J(this,Fn,new Set),J(this,Xt,new Map),J(this,Ia,0)}build(t,n,r){const s=new DR({mutationCache:this,mutationId:++Qa(this,Ia)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){P(this,Fn).add(t);const n=gl(t);if(typeof n=="string"){const r=P(this,Xt).get(n);r?r.push(t):P(this,Xt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(P(this,Fn).delete(t)){const n=gl(t);if(typeof n=="string"){const r=P(this,Xt).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&P(this,Xt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=gl(t);if(typeof n=="string"){const r=P(this,Xt).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=gl(t);if(typeof n=="string"){const s=(r=P(this,Xt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){nt.batch(()=>{P(this,Fn).forEach(t=>{this.notify({type:"removed",mutation:t})}),P(this,Fn).clear(),P(this,Xt).clear()})}getAll(){return Array.from(P(this,Fn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ly(n,r))}findAll(t={}){return this.getAll().filter(n=>Ly(t,n))}notify(t){nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return nt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Yt))))}},Fn=new WeakMap,Xt=new WeakMap,Ia=new WeakMap,Nx);function gl(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Fy(e){return{onFetch:(t,n)=>{var d,h,f,p,x;const r=t.options,s=(f=(h=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:h.fetchMore)==null?void 0:f.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let m=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},y=A1(t.options,t.fetchOptions),g=async(v,k,S)=>{if(m)return Promise.reject();if(k==null&&v.pages.length)return Promise.resolve(v);const j=(()=>{const M={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return w(M),M})(),E=await y(j),{maxPages:C}=t.options,T=S?jR:SR;return{pages:T(v.pages,E,C),pageParams:T(v.pageParams,k,C)}};if(s&&i.length){const v=s==="backward",k=v?$R:By,S={pages:i,pageParams:o},_=k(r,S);l=await g(S,_,v)}else{const v=e??i.length;do{const k=c===0?o[0]??r.initialPageParam:By(r,l);if(c>0&&k==null)break;l=await g(l,k),c++}while(c<v)}return l};t.options.persister?t.fetchFn=()=>{var m,w;return(w=(m=t.options).persister)==null?void 0:w.call(m,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function By(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 $R(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 Se,xr,wr,Ii,Oi,br,Di,Li,Tx,FR=(Tx=class{constructor(e={}){ne(this,Se);ne(this,xr);ne(this,wr);ne(this,Ii);ne(this,Oi);ne(this,br);ne(this,Di);ne(this,Li);J(this,Se,e.queryCache||new OR),J(this,xr,e.mutationCache||new MR),J(this,wr,e.defaultOptions||{}),J(this,Ii,new Map),J(this,Oi,new Map),J(this,br,0)}mount(){Qa(this,br)._++,P(this,br)===1&&(J(this,Di,P1.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,Se).onFocus())})),J(this,Li,Dc.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,Se).onOnline())})))}unmount(){var e,t;Qa(this,br)._--,P(this,br)===0&&((e=P(this,Di))==null||e.call(this),J(this,Di,void 0),(t=P(this,Li))==null||t.call(this),J(this,Li,void 0))}isFetching(e){return P(this,Se).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,xr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,Se).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=P(this,Se).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(hf(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return P(this,Se).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=P(this,Se).get(r.queryHash),i=s==null?void 0:s.state.data,o=yR(t,i);if(o!==void 0)return P(this,Se).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return nt.batch(()=>P(this,Se).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,Se).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=P(this,Se);nt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=P(this,Se);return nt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=nt.batch(()=>P(this,Se).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Yt).catch(Yt)}invalidateQueries(e,t={}){return nt.batch(()=>(P(this,Se).findAll(e).forEach(n=>
207{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=nt.batch(()=>P(this,Se).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(Yt)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,Se).build(this,t);return n.isStaleByTime(hf(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Yt).catch(Yt)}fetchInfiniteQuery(e){return e.behavior=Fy(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Yt).catch(Yt)}ensureInfiniteQueryData(e){return e.behavior=Fy(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Dc.isOnline()?P(this,xr).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,Se)}getMutationCache(){return P(this,xr)}getDefaultOptions(){return P(this,wr)}setDefaultOptions(e){J(this,wr,e)}setQueryDefaults(e,t){P(this,Ii).set(ha(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,Ii).values()],n={};return t.forEach(r=>{fa(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){P(this,Oi).set(ha(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,Oi).values()],n={};return t.forEach(r=>{fa(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,wr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ym(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===vm&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,wr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,Se).clear(),P(this,xr).clear()}},Se=new WeakMap,xr=new WeakMap,wr=new WeakMap,Ii=new WeakMap,Oi=new WeakMap,br=new WeakMap,Di=new WeakMap,Li=new WeakMap,Tx),BR=b.createContext(void 0),UR=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(BR.Provider,{value:e,children:t}));/** 208 * @remix-run/router v1.23.0 209 * 210 * Copyright (c) Remix Software Inc. 211 * 212 * This source code is licensed under the MIT license found in the 213 * LICENSE.md file in the root directory of this source tree. 214 * 215 * @license MIT 216 */function Lc(){return Lc=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},Lc.apply(this,arguments)}var jr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(jr||(jr={}));const Uy="popstate";function VR(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:o,hash:l}=r.location;return pf("",{pathname:i,search:o,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:M1(s)}return WR(t,n,null,e)}function gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function L1(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function zR(){return Math.random().toString(36).substr(2,8)}function Vy(e,t){return{usr:e.state,key:e.key,idx:t}}function pf(e,t,n,r){return n===void 0&&(n=null),Lc({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Nu(t):t,{state:n,key:t&&t.key||r||zR()})}function M1(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 Nu(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 WR(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,o=s.history,l=jr.Pop,c=null,u=d();u==null&&(u=0,o.replaceState(Lc({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function h(){l=jr.Pop;let w=d(),y=w==null?null:w-u;u=w,c&&c({action:l,location:m.location,delta:y})}function f(w,y){l=jr.Push;let g=pf(m.location,w,y);u=d()+1;let v=Vy(g,u),k=m.createHref(g);try{o.pushState(v,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(k)}i&&c&&c({action:l,location:m.location,delta:1})}function p(w,y){l=jr.Replace;let g=pf(m.location,w,y);u=d();let v=Vy(g,u),k=m.createHref(g);o.replaceState(v,"",k),i&&c&&c({action:l,location:m.location,delta:0})}function x(w){let y=s.location.origin!=="null"?s.location.origin:s.location.href,g=typeof w=="string"?w:M1(w);return g=g.replace(/ $/,"%20"),gt(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let m={get action(){return l},get location(){return e(s,o)},listen(w){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(Uy,h),c=w,()=>{s.removeEventListener(Uy,h),c=null}},createHref(w){return t(s,w)},createURL:x,encodeLocation(w){let y=x(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:f,replace:p,go(w){return o.go(w)}};return m}var zy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(zy||(zy={}));
vendor: 6,418 bytes, lines 216-225
216function HR(e,t,n){return n===void 0&&(n="/"),KR(e,t,n,!1)}function KR(e,t,n,r){let s=typeof t=="string"?Nu(t):t,i=B1(s.pathname||"/",n);if(i==null)return null;let o=$1(e);qR(o);let l=null;for(let c=0;l==null&&c<o.length;++c){let u=s5(i);l=n5(o[c],u,r)}return l}function $1(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,o,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};c.relativePath.startsWith("/")&&(gt(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=_i([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(gt(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),$1(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:e5(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))s(i,o);else for(let c of F1(i.path))s(i,o,c)}),t}function F1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let o=F1(r.join("/")),l=[];return l.push(...o.map(c=>c===""?i:[i,c].join("/"))),s&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function qR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:t5(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const GR=/^:[\w-]+$/,YR=3,JR=2,QR=1,XR=10,ZR=-2,Wy=e=>e==="*";function e5(e,t){let n=e.split("/"),r=n.length;return n.some(Wy)&&(r+=ZR),t&&(r+=JR),n.filter(s=>!Wy(s)).reduce((s,i)=>s+(GR.test(i)?YR:i===""?QR:XR),r)}function t5(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function n5(e,t,n){let{routesMeta:r}=e,s={},i="/",o=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",h=Hy({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),f=c.route;if(!h&&u&&n&&!r[r.length-1].route.index&&(h=Hy({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!h)return null;Object.assign(s,h.params),o.push({params:s,pathname:_i([i,h.pathname]),pathnameBase:i5(_i([i,h.pathnameBase])),route:f}),h.pathnameBase!=="/"&&(i=_i([i,h.pathnameBase]))}return o}function Hy(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=r5(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],o=i.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:r.reduce((u,d,h)=>{let{paramName:f,isOptional:p}=d;if(f==="*"){let m=l[h]||"";o=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const x=l[h];return p&&!x?u[f]=void 0:u[f]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function r5(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),L1(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=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function s5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return L1(!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 B1(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const _i=e=>e.join("/").replace(/\/\/+/g,"/"),i5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function o5(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const U1=["post","put","patch","delete"];new Set(U1);const a5=["get",...U1];new Set(a5);/** 217 * React Router v6.30.1 218 * 219 * Copyright (c) Remix Software Inc. 220 * 221 * This source code is licensed under the MIT license found in the 222 * LICENSE.md file in the root directory of this source tree. 223 * 224 * @license MIT 225 */function Mc(){return Mc=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},Mc.apply(this,arguments)}const l5=b.createContext(null),c5=b.createContext(null),V1=b.createContext(null),Tu=b.createContext(null),Cu=b.createContext({outlet:null,matches:[],isDataRoute:!1}),z1=b.createContext(null);function xm(){return b.useContext(Tu)!=null}function W1(){return xm()||gt(!1),b.useContext(Tu).location}function u5(e,t){return d5(e,t)}function d5(e,t,n,r){xm()||gt(!1);let{navigator:s}=b.useContext(V1),{matches:i}=b.useContext(Cu),o=i[i.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=W1(),d;if(t){var h;let w=typeof t=="string"?Nu(t):t;c==="/"||(h=w.pathname)!=null&&h.startsWith(c)||gt(!1),d=w}else d=u;let f=d.pathname||"/",p=f;if(c!=="/"){let w=c.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let x=HR(e,{pathname:p}),m=g5(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:_i([c,s.encodeLocation?s.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:_i([c,s.encodeLocation?s.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&m?b.createElement(Tu.Provider,{value:{location:Mc({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:jr.Pop}},m):m}function h5(){let e=w5(),t=o5(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application
225Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:s},n):null,null)}const f5=b.createElement(h5,null);class p5 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(Cu.Provider,{value:this.props.routeContext},b.createElement(z1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function m5(e){let{routeContext:t,match:n,children:r}=e,s=b.useContext(l5);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Cu.Provider,{value:t},r)}function g5(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let d=o.findIndex(h=>h.route.id&&(l==null?void 0:l[h.route.id])!==void 0);d>=0||gt(!1),o=o.slice(0,Math.min(o.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let h=o[d];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(u=d),h.route.id){let{loaderData:f,errors:p}=n,x=h.route.loader&&f[h.route.id]===void 0&&(!p||p[h.route.id]===void 0);if(h.route.lazy||x){c=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,h,f)=>{let p,x=!1,m=null,w=null;n&&(p=l&&h.route.id?l[h.route.id]:void 0,m=h.route.errorElement||f5,c&&(u<0&&f===0?(x=!0,w=null):u===f&&(x=!0,w=h.route.hydrateFallbackElement||null)));let y=t.concat(o.slice(0,f+1)),g=()=>{let v;return p?v=m:x?v=w:h.route.Component?v=b.createElement(h.route.Component,null):h.route.element?v=h.route.element:v=d,b.createElement(m5,{match:h,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:v})};return n&&(h.route.ErrorBoundary||h.route.errorElement||f===0)?b.createElement(p5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:g(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):g()},null)}var mf=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}(mf||{});function y5(e){let t=b.useContext(c5);return t||gt(!1),t}function v5(e){let t=b.useContext(Cu);return t||gt(!1),t}function x5(e){let t=v5(),n=t.matches[t.matches.length-1];return n.route.id||gt(!1),n.route.id}function w5(){var e;let t=b.useContext(z1),n=y5(mf.UseRouteError),r=x5(mf.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function b5(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Ct(e){gt(!1)}function k5(e){let{basename:t="/",children:n=null,location:r,navigationType:s=jr.Pop,navigator:i,static:o=!1,future:l}=e;xm()&>(!1);let c=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:c,navigator:i,static:o,future:Mc({v7_relativeSplatPath:!1},l)}),[c,l,i,o]);typeof r=="string"&&(r=Nu(r));let{pathname:d="/",search:h="",hash:f="",state:p=null,key:x="default"}=r,m=b.useMemo(()=>{let w=B1(d,c);return w==null?null:{location:{pathname:w,search:h,hash:f,state:p,key:x},navigationType:s}},[c,d,h,f,p,x,s]);return m==null?null:b.createElement(V1.Provider,{value:u},b.createElement(Tu.Provider,{children:n,value:m}))}function S5(e){let{children:t,location:n}=e;return u5(gf(t),n)}new Promise(()=>{});function gf(e,t){t===void 0&&(t=[]);let n=[];
225return b.Children.forEach(e,(r,s)=>{if(!b.isValidElement(r))return;let i=[...t,s];if(r.type===b.Fragment){n.push.apply(n,gf(r.props.children,i));return}r.type!==Ct&>(!1),!r.props.index||!r.props.children||gt(!1);let o={id:r.props.id||i.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=gf(r.props.children,i)),n.push(o)}),n}/** 226 * React Router DOM v6.30.1 227 * 228 * Copyright (c) Remix Software Inc. 229 * 230 * This source code is licensed under the MIT license found in the 231 * LICENSE.md file in the root directory of this source tree. 232 * 233 * @license MIT 234 */const j5="6";try{window.__reactRouterVersion=j5}catch{}const _5="startTransition",Ky=mp[_5];function E5(e){let{basename:t,children:n,future:r,window:s}=e,i=b.useRef();i.current==null&&(i.current=VR({window:s,v5Compat:!0}));let o=i.current,[l,c]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=b.useCallback(h=>{u&&Ky?Ky(()=>c(h)):c(h)},[c,u]);return b.useLayoutEffect(()=>o.listen(d),[o,d]),b.useEffect(()=>b5(r),[r]),b.createElement(k5,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}var qy;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(qy||(qy={}));var Gy;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Gy||(Gy={}));var Yy=["light","dark"],N5="(prefers-color-scheme: dark)",T5=b.createContext(void 0),C5={setTheme:e=>{},themes:[]},A5=()=>{var e;return(e=b.useContext(T5))!=null?e:C5};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:o,attrs:l,nonce:c})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=s?Yy.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(x,m=!1,w=!0)=>{let y=o?o[x]:x,g=m?x+"|| ''":`'${y}'`,v="";return s&&w&&!m&&Yy.includes(x)&&(v+=`d.style.colorScheme = '${x}';`),n==="class"?m||y?v+=`c.add(${g})`:v+="null":y&&(v+=`d[s](n,${g})`),v},p=e?`!function(){${d}${f(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${N5}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${h}}catch(t){}}();`;return b.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})});var P5=e=>{switch(e){case"success":return O5;case"info":return L5;case"warning":return D5;case"error":return M5;default:return null}},R5=Array(12).fill(0),I5=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},R5.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),O5=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),D5=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
234currentColor",height:"20",width:"20"},R.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"})),L5=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),M5=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),$5=R.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"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),F5=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},yf=1,B5=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,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:yf++,i=this.toasts.find(l=>l.id===s),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...e,id:s,title:n}),{...l,...e,id:s,dismissible:o,title:n}):l):this.addToast({title:n,...r,dismissible:o,id:s}),s},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)=>
234this.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(),s=n!==void 0,i,o=r.then(async c=>{if(i=["resolve",c],R.isValidElement(c))s=!1,this.create({id:n,type:"default",message:c});else if(V5(c)&&!c.ok){s=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){s=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(i=["reject",c],t.error!==void 0){s=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;s&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>o.then(()=>i[0]==="reject"?u(i[1]):c(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||yf++;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}},ct=new B5,U5=(e,t)=>{let n=(t==null?void 0:t.id)||yf++;return ct.addToast({title:e,...t,id:n}),n},V5=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",z5=U5,W5=()=>ct.toasts,H5=()=>ct.getActiveToasts(),Ot=Object.assign(z5,{success:ct.success,info:ct.info,warning:ct.warning,error:ct.error,custom:ct.custom,message:ct.message,promise:ct.promise,dismiss:ct.dismiss,loading:ct.loading},{getHistory:W5,getToasts:H5});function K5(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))}K5(`: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;
234left: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}
234: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%);
234--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%)} 235`);function yl(e){return e.label!==void 0}var q5=3,G5="32px",Y5="16px",Jy=4e3,J5=356,Q5=14,X5=20,Z5=200;function Wt(...e){return e.filter(Boolean).join(" ")}function e3(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var t3=e=>{var t,n,r,s,i,o,l,c,u,d,h;let{invert:f,toast:p,unstyled:x,interacting:m,setHeights:w,visibleToasts:y,heights:g,index:v,toasts:k,expanded:S,removeToast:_,defaultRichColors:j,closeButton:E,style:C,cancelButtonStyle:T,actionButtonStyle:M,className:O="",descriptionClassName:W="",duration:D,position:q,gap:U,loadingIcon:G,expandByDefault:N,classNames:A,icons:L,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:z}=e,[X,ee]=R.useState(null),[Te,Ke]=R.useState(null),[se,Is]=R.useState(!1),[Qn,Wr]=R.useState(!1),[Xn,Os]=R.use
235State(!1),[Zn,Ga]=R.useState(!1),[Ju,Ya]=R.useState(!1),[Qu,oo]=R.useState(0),[Ds,fg]=R.useState(0),ao=R.useRef(p.duration||D||Jy),pg=R.useRef(null),Hr=R.useRef(null),Jj=v===0,Qj=v+1<=y,Tt=p.type,Ls=p.dismissible!==!1,Xj=p.className||"",Zj=p.descriptionClassName||"",Ja=R.useMemo(()=>g.findIndex(Y=>Y.toastId===p.id)||0,[g,p.id]),e_=R.useMemo(()=>{var Y;return(Y=p.closeButton)!=null?Y:E},[p.closeButton,E]),mg=R.useMemo(()=>p.duration||D||Jy,[p.duration,D]),Xu=R.useRef(0),Ms=R.useRef(0),gg=R.useRef(0),$s=R.useRef(null),[t_,n_]=q.split("-"),yg=R.useMemo(()=>g.reduce((Y,oe,ge)=>ge>=Ja?Y:Y+oe.height,0),[g,Ja]),vg=F5(),r_=p.invert||f,Zu=Tt==="loading";Ms.current=R.useMemo(()=>Ja*U+yg,[Ja,yg]),R.useEffect(()=>{ao.current=mg},[mg]),R.useEffect(()=>{Is(!0)},[]),R.useEffect(()=>{let Y=Hr.current;if(Y){let oe=Y.getBoundingClientRect().height;return fg(oe),w(ge=>[{toastId:p.id,height:oe,position:p.position},...ge]),()=>w(ge=>ge.filter(Bt=>Bt.toastId!==p.id))}},[w,p.id]),R.useLayoutEffect(()=>{if(!se)return;let Y=Hr.current,oe=Y.style.height;Y.style.height="auto";let ge=Y.getBoundingClientRect().height;Y.style.height=oe,fg(ge),w(Bt=>Bt.find(Ut=>Ut.toastId===p.id)?Bt.map(Ut=>Ut.toastId===p.id?{...Ut,height:ge}:Ut):[{toastId:p.id,height:ge,position:p.position},...Bt])},[se,p.title,p.description,w,p.id]);let er=R.useCallback(()=>{Wr(!0),oo(Ms.current),w(Y=>Y.filter(oe=>oe.toastId!==p.id)),setTimeout(()=>{_(p)},Z5)},[p,_,w,Ms]);R.useEffect(()=>{if(p.promise&&Tt==="loading"||p.duration===1/0||p.type==="loading")return;let Y;return S||m||z&&vg?(()=>{if(gg.current<Xu.current){let oe=new Date().getTime()-Xu.current;ao.current=ao.current-oe}gg.current=new Date().getTime()})():ao.current!==1/0&&(Xu.current=new Date().getTime(),Y=setTimeout(()=>{var oe;(oe=p.onAutoClose)==null||oe.call(p,p),er()},ao.current)),()=>clearTimeout(Y)},[S,m,p,Tt,z,vg,er]),R.useEffect(()=>{p.delete&&er()},[er,p.delete]);function s_(){var Y,oe,ge;return L!=null&&L.loading?R.createElement("div",{className:Wt(A==null?void 0:A.loader,(Y=p==null?void 0:p.classNames)==null?void 0:Y.loader,"sonner-loader"),"data-visible":Tt==="loading"},L.loading):G?R.createElement("div",{className:Wt(A==null?void 0:A.loader,(oe=p==null?void 0:p.classNames)==null?void 0:oe.loader,"sonner-loader"),"data-visible":Tt==="loading"},G):R.createElement(I5,{className:Wt(A==null?void 0:A.loader,(ge=p==null?void 0:p.classNames)==null?void 0:ge.loader),visible:Tt==="loading"})}return R.createElement("li",{tabIndex:0,ref:Hr,className:Wt(O,Xj,A==null?void 0:A.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,A==null?void 0:A.default,A==null?void 0:A[Tt],(n=p==null?void 0:p.classNames)==null?void 0:n[Tt]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:j,"data-styled":!(p.jsx||p.unstyled||x),"data-mounted":se,"data-promise":!!p.promise,"data-swiped":Ju,"data-removed":Qn,"data-visible":Qj,"data-y-position":t_,"data-x-position":n_,"data-index":v,"data-front":Jj,"data-swiping":Xn,"data-dismissible":Ls,"data-type":Tt,"data-invert":r_,"data-swipe-out":Zn,"data-swipe-direction":Te,"data-expanded":!!(S||N&&se),style:{"--index":v,"--toasts-before":v,"--z-index":k.length-v,"--offset":`${Qn?Qu:Ms.current}px`,"--initial-height":N?"auto":`${Ds}px`,...C,...p.style},onDragEnd:()=>{Os(!1),ee(null),$s.current=null},onPointerDown:Y=>{Zu||!Ls||(pg.current=new Date,oo(Ms.current),Y.target.setPointerCapture(Y.pointerId),Y.target.tagName!=="BUTTON"&&(Os(!0),$s.current={x:Y.clientX,y:Y.clientY}))},onPointerUp:()=>{var Y,oe,ge,Bt;if(Zn||!Ls)return;$s.current=null;let Ut=Number(((Y=Hr.current)==null?void 0:Y.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),tr=Number(((oe=Hr.current)==null?void 0:oe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Kr=new Date().getTime()-((ge=pg.current)==null?void 0:ge.getTime()),Vt=X==="x"?Ut:tr,nr=Math.abs(Vt)/Kr;if(Math.abs(Vt)>=X5||nr>.11){oo(Ms.current),(Bt=p.onDismiss)==null||Bt.call(p,p),Ke(X==="x"?Ut>0?"right":"left":tr>0?"down":"up"),er(),Ga(!0),Ya(!1);return}Os(!1),ee(null)},onPointerMove:Y=>{var oe,ge,Bt,Ut;if(!$s.current||!Ls||((oe=window.getSelection())==null?void 0:oe.toString().length)>0)return;let tr=Y.clientY-$s.current.y,Kr=Y.clientX-$s.current.x,Vt=(ge=e.swipeDirections)!=null?ge:e3(q);!X&&(Math.abs(Kr)>1||Math.abs(tr)>1)&&ee(Math.abs(Kr)>Math.abs(tr)?"x":"y");let nr={x:0,y:0};X==="y"?(Vt.includes("top")||Vt.includes("bottom"))&&(Vt.includes("top")&&tr<0||Vt.includes("bottom")&&tr>0)&&(nr.y=tr):X==="x"&&(Vt.includes("left")||Vt.includes("right"))&&(Vt.includes("left")&&Kr<0||Vt.includes("right")&&Kr>0)&&(nr.x=Kr),(Math.abs(nr.x)>0||Math.abs(nr.y)>0)&&Ya(!0),(Bt=Hr.current)==null||Bt.style.setProperty("--swipe-amount-x",`${nr.x}px`),(Ut=Hr.current)==null||Ut.style.setProperty("--swipe-amount-y",`${nr.y}px`)}},e_&&!p.jsx?R.createElement("button",{"aria-label":H,"data-disabled":Zu,"data-close-button":!0,onClick:Zu||!Ls?()=>{}:()=>{var Y;er(),(Y=p.onDismiss)==null||Y.call(p,p)},className:Wt(A==null?void 0:A.closeButton,(s=p==null?void 0:p.classNames)==null?void 0:s.closeButton)},(i=L==null?void 0:L.close)!=null?i:$5):null,p.jsx||b.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:R.createElement(R.Fragment,null,Tt||p.icon||p.promise?R.createElement("div",{"data-icon":"",className:Wt(A==null?void 0:A.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)}
vendor: 5,895 bytes, line 235
235,p.promise||p.type==="loading"&&!p.icon?p.icon||s_():null,p.type!=="loading"?p.icon||(L==null?void 0:L[Tt])||P5(Tt):null):null,R.createElement("div",{"data-content":"",className:Wt(A==null?void 0:A.content,(l=p==null?void 0:p.classNames)==null?void 0:l.content)},R.createElement("div",{"data-title":"",className:Wt(A==null?void 0:A.title,(c=p==null?void 0:p.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?R.createElement("div",{"data-description":"",className:Wt(W,Zj,A==null?void 0:A.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),b.isValidElement(p.cancel)?p.cancel:p.cancel&&yl(p.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||T,onClick:Y=>{var oe,ge;yl(p.cancel)&&Ls&&((ge=(oe=p.cancel).onClick)==null||ge.call(oe,Y),er())},className:Wt(A==null?void 0:A.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,b.isValidElement(p.action)?p.action:p.action&&yl(p.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||M,onClick:Y=>{var oe,ge;yl(p.action)&&((ge=(oe=p.action).onClick)==null||ge.call(oe,Y),!Y.defaultPrevented&&er())},className:Wt(A==null?void 0:A.actionButton,(h=p==null?void 0:p.classNames)==null?void 0:h.actionButton)},p.action.label):null))};function Qy(){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 n3(e,t){let n={};return[e,t].forEach((r,s)=>{let i=s===1,o=i?"--mobile-offset":"--offset",l=i?Y5:G5;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${o}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${o}-${u}`]=l:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var r3=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:o,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:h,duration:f,style:p,visibleToasts:x=q5,toastOptions:m,dir:w=Qy(),gap:y=Q5,loadingIcon:g,icons:v,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[_,j]=R.useState([]),E=R.useMemo(()=>Array.from(new Set([r].concat(_.filter(z=>z.position).map(z=>z.position)))),[_,r]),[C,T]=R.useState([]),[M,O]=R.useState(!1),[W,D]=R.useState(!1),[q,U]=R.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),G=R.useRef(null),N=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),A=R.useRef(null),L=R.useRef(!1),H=R.useCallback(z=>{j(X=>{var ee;return(ee=X.find(Te=>Te.id===z.id))!=null&&ee.delete||ct.dismiss(z.id),X.filter(({id:Te})=>Te!==z.id)})},[]);return R.useEffect(()=>ct.subscribe(z=>{if(z.dismiss){j(X=>X.map(ee=>ee.id===z.id?{...ee,delete:!0}:ee));return}setTimeout(()=>{Vb.flushSync(()=>{j(X=>{let ee=X.findIndex(Te=>Te.id===z.id);return ee!==-1?[...X.slice(0,ee),{...X[ee],...z},...X.slice(ee+1)]:[z,...X]})})})}),[]),R.useEffect(()=>{if(d!=="system"){U(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:X})=>{U(X?"dark":"light")})}catch{z.addListener(({matches:ee})=>{try{U(ee?"dark":"light")}catch(Te){console.error(Te)}})}},[d]),R.useEffect(()=>{_.length<=1&&O(!1)},[_]),R.useEffect(()=>{let z=X=>{var ee,Te;s.every(Ke=>X[Ke]||X.code===Ke)&&(O(!0),(ee=G.current)==null||ee.focus()),X.code==="Escape"&&(document.activeElement===G.current||(Te=G.current)!=null&&Te.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[s]),R.useEffect(()=>{if(G.current)return()=>{A.current&&(A.current.focus({preventScroll:!0}),A.current=null,L.current=!1)}},[G.current]),R.createElement("section",{ref:t,"aria-label":`${k} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},E.map((z,X)=>{var ee;let[Te,Ke]=z.split("-");return _.length?R.createElement("ol",{key:z,dir:w==="auto"?Qy():w,tabIndex:-1,ref:G,className:l,"data-sonner-toaster":!0,"data-theme":q,"data-y-position":Te,"data-lifted":M&&_.length>1&&!i,"data-x-position":Ke,style:{"--front-toast-height":`${((ee=C[0])==null?void 0:ee.height)||0}px`,"--width":`${J5}px`,"--gap":`${y}px`,...p,...n3(c,u)},onBlur:se=>{L.current&&!se.currentTarget.contains(se.relatedTarget)&&(L.current=!1,A.current&&(A.current.focus({preventScroll:!0}),A.current=null))},onFocus:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||L.current||(L.current=!0,A.current=se.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{W||O(!1)},onDragEnd:()=>O(!1),onPointerDown:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},_.filter(se=>!se.position&&X===0||se.position===z).map((se,Is)=>{var Qn,Wr;return R.createElement(t3,{key:se.id,icons:v,index:Is,toast:se,defaultRichColors:h,duration:(Qn=m==null?void 0:m.duration)!=null?Qn:f,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:x,closeButton:(Wr=m==null?void 0:m.closeButton)!=null?Wr:o,interacting:W,position:z,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:H,toasts:_.filter(Xn=>
235Xn.position==se.position),heights:C.filter(Xn=>Xn.position==se.position),setHeights:T,expandByDefault:i,gap:y,loadingIcon:g,expanded:M,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const s3=({...e})=>{const{theme:t="system"}=A5();return a.jsx(r3,{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})},i3=1,o3=1e6;let Pd=0;function a3(){return Pd=(Pd+1)%Number.MAX_SAFE_INTEGER,Pd.toString()}const Rd=new Map,Xy=e=>{if(Rd.has(e))return;const t=setTimeout(()=>{Rd.delete(e),Bo({type:"REMOVE_TOAST",toastId:e})},o3);Rd.set(e,t)},l3=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,i3)};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?Xy(n):e.toasts.forEach(r=>{Xy(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)}}},Yl=[];let Jl={toasts:[]};function Bo(e){Jl=l3(Jl,e),Yl.forEach(t=>{t(Jl)})}function c3({...e}){const t=a3(),n=s=>Bo({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>Bo({type:"DISMISS_TOAST",toastId:t});return Bo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function u3(){const[e,t]=b.useState(Jl);return b.useEffect(()=>(Yl.push(t),()=>{const n=Yl.indexOf(t);n>-1&&Yl.splice(n,1)}),[e]),{...e,toast:c3,dismiss:n=>Bo({type:"DISMISS_TOAST",toastId:n})}}function Cn(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 d3(e,t=globalThis==null?void 0:globalThis.document){const n=Cn(e);b.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var h3="DismissableLayer",vf="dismissableLayer.update",f3="dismissableLayer.pointerDownOutside",p3="dismissableLayer.focusOutside",Zy,H1=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Au=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:l,...c}=e,u=b.useContext(H1),[d,h]=b.useState(null),f=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=b.useState({}),x=He(t,j=>h(j)),m=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=m.indexOf(w),g=d?m.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,k=g>=y,S=g3(j=>{const E=j.target,C=[...u.branches].some(T=>T.contains(E));!k||C||(s==null||s(j),o==null||o(j),j.defaultPrevented||l==null||l())},f),_=y3(j=>{const E=j.target;[...u.branches].some(T=>T.contains(E))||(i==null||i(j),o==null||o(j),j.defaultPrevented||l==null||l())},f);return d3(j=>{g===u.layers.size-1&&(r==null||r(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},f),b.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Zy=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),ev(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Zy)}},[d,f,n,u]),b.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),ev())},[d,u]),b.useEffect(()=>{const j=()=>p({});return document.addEventListener(vf,j),()=>document.removeEventListener(vf,j)},[]),a.jsx(me.div,{...c,ref:x,style:{pointerEvents:v?k?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,_.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,S.onPointerDownCapture)})});Au.displayName=h3;var m3="DismissableLayerBranch",K1=b.forwardRef((e,t)=>
235{const n=b.useContext(H1),r=b.useRef(null),s=He(t,r);return b.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),a.jsx(me.div,{...e,ref:s})});K1.displayName=m3;function g3(e,t=globalThis==null?void 0:globalThis.document){const n=Cn(e),r=b.useRef(!1),s=b.useRef(()=>{});return b.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let c=function(){q1(f3,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function y3(e,t=globalThis==null?void 0:globalThis.document){const n=Cn(e),r=b.useRef(!1);return b.useEffect(()=>{const s=i=>{i.target&&!r.current&&q1(p3,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ev(){const e=new CustomEvent(vf);document.dispatchEvent(e)}function q1(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?qb(s,i):s.dispatchEvent(i)}var v3=Au,x3=K1,w3="Portal",wm=b.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[s,i]=b.useState(!1);Tn(()=>i(!0),[]);const o=n||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return o?Vb.createPortal(a.jsx(me.div,{...r,ref:t}),o):null});wm.displayName=w3;var b3=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"}),k3="VisuallyHidden",Pu=b.forwardRef((e,t)=>a.jsx(me.span,{...e,ref:t,style:{...b3,...e.style}}));Pu.displayName=k3;var S3=Pu,bm="ToastProvider",[km,j3,_3]=Kb("Toast"),[G1,$U]=As("Toast",[_3]),[E3,Ru]=G1(bm),Y1=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:o}=e,[l,c]=b.useState(null),[u,d]=b.useState(0),h=b.useRef(!1),f=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${bm}\`. Expected non-empty \`string\`.`),a.jsx(km.Provider,{scope:t,children:a.jsx(E3,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:b.useCallback(()=>d(p=>p+1),[]),onToastRemove:b.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:h,isClosePausedRef:f,children:o})})};Y1.displayName=bm;var J1="ToastViewport",N3=["F8"],xf="toast.viewportPause",wf="toast.viewportResume",Q1=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=N3,label:s="Notifications ({hotkey})",...i}=e,o=Ru(J1,n),l=j3(n),c=b.useRef(null),u=b.useRef(null),d=b.useRef(null),h=b.useRef(null),f=He(t,h,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;b.useEffect(()=>{const w=y=>{var v;r.length!==0&&r.every(k=>y[k]||y.code===k)&&((v=h.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),b.useEffect(()=>{const w=c.current,y=h.current;if(x&&w&&y){const g=()=>{if(!o.isClosePausedRef.current){const _=new CustomEvent(xf);y.dispatchEvent(_),o.isClosePausedRef.current=!0}},v=()=>{if(o.isClosePausedRef.current){const _=new CustomEvent(wf);y.dispatchEvent(_),o.isClosePausedRef.current=!1}},k=_=>{!w.contains(_.relatedTarget)&&v()},S=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",g),w.addEventListener("focusout",k),w.addEventListener("pointermove",g),w.addEventListener("pointerleave",S),window.addEventListener("blur",g),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",g),w.removeEventListener("focusout",k),w.removeEventListener("pointermove",g),w.removeEventListener("pointerleave",S),window.removeEventListener("blur",g),window.removeEventListener("focus",v)}}},[x,o.isClosePausedRef]);const m=b.useCallback(({tabbingDirection:w})=>{const g=l().map(v=>{const k=v.ref.current,S=[k,...B3(k)];return w==="forwards"?S:S.reverse()});return(w==="forwards"?g.reverse():g).flat()},[l]);return b.useEffect(()=>{const w=h.current;if(w){const y=g=>{var S,_,j;const v=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!v){const E=document.activeElement,C=g.shiftKey;if(g.target===w&&C){(S=u.current)==null||S.focus();return}const O=m({tabbingDirection:C?"backwards":"forwards"}),W=O.findIndex(D=>D===E);Id(O.slice(W+1))?g.preventDefault():C?(_=u.current)==null||_.focus():(j=d.current)==null||j.focus()}};return w.addEventListener("keydown",y),()=>w.removeEventListener("keydown",y)}},[l,m]),a.jsxs(x3,{ref:c,role:"region","aria-label":s.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&a.jsx(bf,{ref:u,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"forwards"});Id(w)}}),a.jsx(km.Slot,{scope:n,children:a.jsx(me.ol,{tabIndex:-1,...i,ref:f})}),x&&a.jsx(bf,{ref:d,onFocusFromOutsideViewport:()=>{const w=m({tabbingDirection:"backwards"});Id(w)}})]})});Q1.displayName=J1;var X1="ToastFocusProxy",bf=b.forwardRef((e,t)=>
235{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,i=Ru(X1,n);return a.jsx(Pu,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const l=o.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});bf.displayName=X1;var Ua="Toast",T3="toast.swipeStart",C3="toast.swipeMove",A3="toast.swipeCancel",P3="toast.swipeEnd",Z1=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:i,...o}=e,[l,c]=Ba({prop:r,defaultProp:s??!0,onChange:i,caller:Ua});return a.jsx(Ps,{present:n||l,children:a.jsx(O3,{open:l,...o,ref:t,onClose:()=>c(!1),onPause:Cn(e.onPause),onResume:Cn(e.onResume),onSwipeStart:ce(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ce(e.onSwipeMove,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${h}px`)}),onSwipeCancel:ce(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ce(e.onSwipeEnd,u=>{const{x:d,y:h}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${h}px`),c(!1)})})})});Z1.displayName=Ua;var[R3,I3]=G1(Ua,{onClose(){}}),O3=b.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:s,open:i,onClose:o,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:h,onSwipeCancel:f,onSwipeEnd:p,...x}=e,m=Ru(Ua,n),[w,y]=b.useState(null),g=He(t,D=>y(D)),v=b.useRef(null),k=b.useRef(null),S=s||m.duration,_=b.useRef(0),j=b.useRef(S),E=b.useRef(0),{onToastAdd:C,onToastRemove:T}=m,M=Cn(()=>{var q;(w==null?void 0:w.contains(document.activeElement))&&((q=m.viewport)==null||q.focus()),o()}),O=b.useCallback(D=>{!D||D===1/0||(window.clearTimeout(E.current),_.current=new Date().getTime(),E.current=window.setTimeout(M,D))},[M]);b.useEffect(()=>{const D=m.viewport;if(D){const q=()=>{O(j.current),u==null||u()},U=()=>{const G=new Date().getTime()-_.current;j.current=j.current-G,window.clearTimeout(E.current),c==null||c()};return D.addEventListener(xf,U),D.addEventListener(wf,q),()=>{D.removeEventListener(xf,U),D.removeEventListener(wf,q)}}},[m.viewport,S,c,u,O]),b.useEffect(()=>{i&&!m.isClosePausedRef.current&&O(S)},[i,S,m.isClosePausedRef,O]),b.useEffect(()=>(C(),()=>T()),[C,T]);const W=b.useMemo(()=>w?ok(w):null,[w]);return m.viewport?a.jsxs(a.Fragment,{children:[W&&a.jsx(D3,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),a.jsx(R3,{scope:n,onClose:M,children:Fa.createPortal(a.jsx(km.ItemSlot,{scope:n,children:a.jsx(v3,{asChild:!0,onEscapeKeyDown:ce(l,()=>{m.isFocusedToastEscapeKeyDownRef.current||M(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(me.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection,...x,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ce(e.onKeyDown,D=>{D.key==="Escape"&&(l==null||l(D.nativeEvent),D.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,M()))}),onPointerDown:ce(e.onPointerDown,D=>{D.button===0&&(v.current={x:D.clientX,y:D.clientY})}),onPointerMove:ce(e.onPointerMove,D=>{if(!v.current)return;const q=D.clientX-v.current.x,U=D.clientY-v.current.y,G=!!k.current,N=["left","right"].includes(m.swipeDirection),A=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,L=N?A(0,q):0,H=N?0:A(0,U),z=D.pointerType==="touch"?10:2,X={x:L,y:H},ee={originalEvent:D,delta:X};G?(k.current=X,vl(C3,h,ee,{discrete:!1})):tv(X,m.swipeDirection,z)?(k.current=X,vl(T3,d,ee,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(q)>z||Math.abs(U)>z)&&(v.current=null)}),onPointerUp:ce(e.onPointerUp,D=>{const q=k.current,U=D.target;if(U.hasPointerCapture(D.pointerId)&&U.releasePointerCapture(D.pointerId),k.current=null,v.current=null,q){const G=D.currentTarget,N={originalEvent:D,delta:q};tv(q,m.swipeDirection,m.swipeThreshold)?vl(P3,p,N,{discrete:!0}):vl(A3,f,N,{discrete:!0}),G.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),D3=e=>{const{__scopeToast:t,children:n,...r}=e,s=Ru(Ua,t),[i,o]=b.useState(!1),[l,c]=b.useState(!1);return $3(()=>o(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:a.jsx(wm,{asChild:!0,children:a.jsx(Pu,{...r,children:i&&a.jsxs(a.Fragment,{children:[s.label," ",n]})})})},L3="ToastTitle",ek=b.forwardRef((e,t)=>
235{const{__scopeToast:n,...r}=e;return a.jsx(me.div,{...r,ref:t})});ek.displayName=L3;var M3="ToastDescription",tk=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(me.div,{...r,ref:t})});tk.displayName=M3;var nk="ToastAction",rk=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(ik,{altText:n,asChild:!0,children:a.jsx(Sm,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${nk}\`. Expected non-empty \`string\`.`),null)});rk.displayName=nk;var sk="ToastClose",Sm=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=I3(sk,n);return a.jsx(ik,{asChild:!0,children:a.jsx(me.button,{type:"button",...r,ref:t,onClick:ce(e.onClick,s.onClose)})})});Sm.displayName=sk;var ik=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return a.jsx(me.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function ok(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),F3(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...ok(r))}}),t}function vl(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?qb(s,i):s.dispatchEvent(i)}var tv=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),i=r>s;return t==="left"||t==="right"?i&&r>n:!i&&s>n};function $3(e=()=>{}){const t=Cn(e);Tn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function F3(e){return e.nodeType===e.ELEMENT_NODE}function B3(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Id(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var U3=Y1,ak=Q1,lk=Z1,ck=ek,uk=tk,dk=rk,hk=Sm;const nv=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,rv=x1,fk=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return rv(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],h=i==null?void 0:i[u];if(d===null)return null;const f=nv(d)||nv(h);return s[u][f]}),l=n&&Object.entries(n).reduce((u,d)=>{let[h,f]=d;return f===void 0||(u[h]=f),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:h,className:f,...p}=d;return Object.entries(p).every(x=>{let[m,w]=x;return Array.isArray(w)?w.includes({...i,...l}[m]):{...i,...l}[m]===w})?[...u,h,f]:u},[]);return rv(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)},V3=U3,pk=b.forwardRef(({className:e,...t},n)=>a.jsx(ak,{ref:n,className:Ze("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}));pk.displayName=ak.displayName;const z3=fk("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"}}),mk=b.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(lk,{ref:r,className:Ze(z3({variant:t}),e),...n}));mk.displayName=lk.displayName;const W3=b.forwardRef(({className:e,...t},n)=>a.jsx(dk,{ref:n,className:Ze("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}));W3.displayName=dk.displayName;const gk=b.forwardRef(({className:e,...t},n)=>a.jsx(hk,{ref:n,className:Ze("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 11,416 bytes, line 235
235/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:a.jsx(y1,{className:"h-4 w-4"})}));gk.displayName=hk.displayName;const yk=b.forwardRef(({className:e,...t},n)=>a.jsx(ck,{ref:n,className:Ze("text-sm font-semibold",e),...t}));yk.displayName=ck.displayName;const vk=b.forwardRef(({className:e,...t},n)=>a.jsx(uk,{ref:n,className:Ze("text-sm opacity-90",e),...t}));vk.displayName=uk.displayName;function H3(){const{toasts:e}=u3();return a.jsxs(V3,{children:[e.map(function({id:t,title:n,description:r,action:s,...i}){return a.jsxs(mk,{...i,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(yk,{children:n}),r&&a.jsx(vk,{children:r})]}),s,a.jsx(gk,{})]},t)}),a.jsx(pk,{})]})}const K3=["top","right","bottom","left"],Lr=Math.min,xt=Math.max,$c=Math.round,xl=Math.floor,En=e=>({x:e,y:e}),q3={left:"right",right:"left",bottom:"top",top:"bottom"},G3={start:"end",end:"start"};function kf(e,t,n){return xt(e,Lr(t,n))}function qn(e,t){return typeof e=="function"?e(t):e}function Gn(e){return e.split("-")[0]}function eo(e){return e.split("-")[1]}function jm(e){return e==="x"?"y":"x"}function _m(e){return e==="y"?"height":"width"}const Y3=new Set(["top","bottom"]);function Sn(e){return Y3.has(Gn(e))?"y":"x"}function Em(e){return jm(Sn(e))}function J3(e,t,n){n===void 0&&(n=!1);const r=eo(e),s=Em(e),i=_m(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Fc(o)),[o,Fc(o)]}function Q3(e){const t=Fc(e);return[Sf(e),t,Sf(t)]}function Sf(e){return e.replace(/start|end/g,t=>G3[t])}const sv=["left","right"],iv=["right","left"],X3=["top","bottom"],Z3=["bottom","top"];function e6(e,t,n){switch(e){case"top":case"bottom":return n?t?iv:sv:t?sv:iv;case"left":case"right":return t?X3:Z3;default:return[]}}function t6(e,t,n,r){const s=eo(e);let i=e6(Gn(e),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),t&&(i=i.concat(i.map(Sf)))),i}function Fc(e){return e.replace(/left|right|bottom|top/g,t=>q3[t])}function n6(e){return{top:0,right:0,bottom:0,left:0,...e}}function xk(e){return typeof e!="number"?n6(e):{top:e,right:e,bottom:e,left:e}}function Bc(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function ov(e,t,n){let{reference:r,floating:s}=e;const i=Sn(t),o=Em(t),l=_m(o),c=Gn(t),u=i==="y",d=r.x+r.width/2-s.width/2,h=r.y+r.height/2-s.height/2,f=r[l]/2-s[l]/2;let p;switch(c){case"top":p={x:d,y:r.y-s.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-s.width,y:h};break;default:p={x:r.x,y:r.y}}switch(eo(t)){case"start":p[o]-=f*(n&&u?-1:1);break;case"end":p[o]+=f*(n&&u?-1:1);break}return p}const r6=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:h}=ov(u,r,c),f=r,p={},x=0;for(let m=0;m<l.length;m++){const{name:w,fn:y}=l[m],{x:g,y:v,data:k,reset:S}=await y({x:d,y:h,initialPlacement:r,placement:f,strategy:s,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});d=g??d,h=v??h,p={...p,[w]:{...p[w],...k}},S&&x<=50&&(x++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(u=S.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:d,y:h}=ov(u,f,c)),m=-1)}return{x:d,y:h,placement:f,strategy:s,middlewareData:p}};async function pa(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:i,rects:o,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:f=!1,padding:p=0}=qn(t,e),x=xk(p),w=l[f?h==="floating"?"reference":"floating":h],y=Bc(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),g=h==="floating"?{x:r,y:s,width:o.floating.width,height:o.floating.height}:o.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),k=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},S=Bc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:v,strategy:c}):g);return{top:(y.top-S.top+x.top)/k.y,bottom:(S.bottom-y.bottom+x.bottom)/k.y,left:(y.left-S.left+x.left)/k.x,right:(S.right-y.right+x.right)/k.x}}const s6=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:i,platform:o,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=qn(e,t)||{};if(u==null)return{};const h=xk(d),f={x:n,y:r},p=Em(s),x=_m(p),m=await o.getDimensions(u),w=p==="y",y=w?"top":"left",g=w?"bottom":"right",v=w?"clientHeight":"clientWidth",k=i.reference[x]+i.reference[p]-f[p]-i.floating[x],S=f[p]-i.reference[p],_=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let j=_?_[v]:0;(!j||!await(o.isElement==null?void 0:o.isElement(_)))&&(j=l.floating[v]||i.floating[x]);const E=k/2-S/2,C=j/2-m[x]/2-1,T=Lr(h[y],C),M=Lr(h[g],C),O=T,W=j-m[x]-M,D=j/2-m[x]/2+E,q=kf(O,D,W),U=!c.arrow&&eo(s)!=null&&D!==q&&i.reference[x]/2-(D<O?T:M)-m[x]/2<0,G=U?D<O?D-O:D-W:0;return{[p]:f[p]+G,data:{[p]:q,centerOffset:D-q-G,...U&&{alignmentOffset:G}},reset:U}}}),i6=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:o,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:m=!0,...w}=qn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Gn(s),g=Sn(l),v=Gn(l)===l,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=f||(v||!m?[Fc(l)]:Q3(l)),_=x!=="none";!f&&_&&S.push(...t6(l,m,x,k));const j=[l,...S],E=await pa(t,w),C=[];let T=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&C.push(E[y]),h){const D=J3(s,o,k);C.push(E[D[0]],E[D[1]])}if(T=[...T,{placement:s,overflows:C}],!C.every(D=>D<=0)){var M,O;const D=(((M=i.flip)==null?void 0:M.index)||0)+1,q=j[D];if(q&&(!(h==="alignment"?g!==Sn(q):!1)||T.every(N=>N.overflows[0]>0&&Sn(N.placement)===g)))return{data:{index:D,overflows:T},reset:{placement:q}};let U=(O=T.filter(G=>G.overflows[0]<=0).sort((G,N)=>G.overflows[1]-N.overflows[1])[0])==null?void 0:O.placement;if(!U)switch(p){case"bestFit":{var W;const G=(W=T.filter(N=>{if(_){const A=Sn(N.placement);return A===g||A==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(A=>A>0).reduce((A,L)=>A+L,0)]).sort((N,A)=>N[1]-A[1])[0])==null?void 0:W[0];G&&(U=G);break}case"initialPlacement":U=l;break}if(s!==U)return{reset:{placement:U}}}return{}}}};function av(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function lv(e){return K3.some(t=>e[t]>=0)}const o6=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=qn(e,t);switch(r){case"referenceHidden":{const i=await pa(t,{...s,elementContext:"reference"}),o=av(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:lv(o)}}}case"escaped":{const i=await pa(t,{...s,altBoundary:!0}),o=av(i,n.floating);return{data:{escapedOffsets:o,escaped:lv(o)}}}default:return{}}}}},wk=new Set(["left","top"]);async function a6(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=Gn(n),l=eo(n),c=Sn(n)==="y",u=wk.has(o)?-1:1,d=i&&c?-1:1,h=qn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof x=="number"&&(p=l==="end"?x*-1:x),c?{x:p*d,y:f*u}:{x:f*u,y:p*d}}const l6=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:o,middlewareData:l}=t,c=await a6(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:i+c.y,data:{...c,placement:o}}}}},c6=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:w=>{let{x:y,y:g}=w;return{x:y,y:g}}},...c}=qn(e,t),u={x:n,y:r},d=await pa(t,c),h=Sn(Gn(s)),f=jm(h);let p=u[f],x=u[h];if(i){const w=f==="y"?"top":"left",y=f==="y"?"bottom":"right",g=p+d[w],v=p-d[y];p=kf(g,p,v)}if(o){const w=h==="y"?"top":"left",y=h==="y"?"bottom":"right",g=x+d[w],v=x-d[y];x=kf(g,x,v)}const m=l.fn({...t,[f]:p,[h]:x});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[h]:o}}}}}},u6=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:i,middlewareData:o}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=qn(e,t),d={x:n,y:r},h=Sn(s),f=jm(h);let p=d[f],x=d[h];const m=qn(l,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const v=f==="y"?"height":"width",k=i.reference[f]-i.floating[v]+w.mainAxis,S=i.reference[f]+i.reference[v]-w.mainAxis;p<k?p=k:p>S&&(p=S)}if(u){var y,g;const v=f==="y"?"width":"height",k=wk.has(Gn(s)),S=i.reference[h]-i.floating[v]+(k&&((y=o.offset)==null?void 0:y[h])||0)+(k?0:w.crossAxis),_=i.reference[h]+i.reference[v]+(k?0:((g=o.offset)==null?void 0:g[h])||0)-(k?w.crossAxis:0);x<S?x=S:x>_&&(x=_)}return{[f]:p,[h]:x}}}},d6=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:o,elements:l}=t,{apply:c=()=>{},...u}=qn(e,t),d=await pa(t,u),h=Gn(s),f=eo(s),p=Sn(s)==="y",{width:x,height:m}=i.floating;let w,y;h==="top"||h==="bottom"?(w=h,y=f===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(y=h,w=f==="end"?"top":"bottom");const g=m-d.top-d.bottom,v=x-d.left-d.right,k=Lr(m-d[w],g),S=Lr(x-d[y],v),_=!t.middlewareData.shift;let j=k,E=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(j=g),_&&!f){const T=xt(d.left,0),M=xt(d.right,0),O=xt(d.top,0),W=xt(d.bottom,0);p?E=x-2*(T!==0||M!==0?T+M:xt(d.left,d.right)):j=m-2*(O!==0||W!==0?O+W:xt(d.top,d.bottom))}await c({...t,availableWidth:E,availableHeight:j});const C=await o.getDimensions(l.floating);return x!==C.width||m!==C.height?{reset:{rects:!0}}:{}}}};function Iu(){return typeof window<"u"}function to(e){return bk(e)?(e.nodeName||"").toLowerCase():"#document"}function jt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Rn(e){var t;return(t=(bk(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bk(e){return Iu()?e instanceof Node||e instanceof jt(e).Node:!1}function an(e){return Iu()?e instanceof Element||e instanceof jt(e).Element:!1}function An(e){return Iu()?e instanceof HTMLElement||e instanceof jt(e).HTMLElement:!1}function cv(e){return!Iu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof jt(e).ShadowRoot}const h6=new Set(["inline","contents"]);function Va(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=ln(e);
vendor: 4,121 bytes, line 235
235return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!h6.has(s)}const f6=new Set(["table","td","th"]);function p6(e){return f6.has(to(e))}const m6=[":popover-open",":modal"];function Ou(e){return m6.some(t=>{try{return e.matches(t)}catch{return!1}})}const g6=["transform","translate","scale","rotate","perspective"],y6=["transform","translate","scale","rotate","perspective","filter"],v6=["paint","layout","strict","content"];function Nm(e){const t=Tm(),n=an(e)?ln(e):e;return g6.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)||y6.some(r=>(n.willChange||"").includes(r))||v6.some(r=>(n.contain||"").includes(r))}function x6(e){let t=Mr(e);for(;An(t)&&!Hi(t);){if(Nm(t))return t;if(Ou(t))return null;t=Mr(t)}return null}function Tm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const w6=new Set(["html","body","#document"]);function Hi(e){return w6.has(to(e))}function ln(e){return jt(e).getComputedStyle(e)}function Du(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mr(e){if(to(e)==="html")return e;const t=e.assignedSlot||e.parentNode||cv(e)&&e.host||Rn(e);return cv(t)?t.host:t}function kk(e){const t=Mr(e);return Hi(t)?e.ownerDocument?e.ownerDocument.body:e.body:An(t)&&Va(t)?t:kk(t)}function ma(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=kk(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),o=jt(s);if(i){const l=jf(o);return t.concat(o,o.visualViewport||[],Va(s)?s:[],l&&n?ma(l):[])}return t.concat(s,ma(s,[],n))}function jf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Sk(e){const t=ln(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=An(e),i=s?e.offsetWidth:n,o=s?e.offsetHeight:r,l=$c(n)!==i||$c(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function Cm(e){return an(e)?e:e.contextElement}function Ei(e){const t=Cm(e);if(!An(t))return En(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=Sk(t);let o=(i?$c(n.width):n.width)/r,l=(i?$c(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const b6=En(0);function jk(e){const t=jt(e);return!Tm()||!t.visualViewport?b6:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function k6(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==jt(e)?!1:t}function Es(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=Cm(e);let o=En(1);t&&(r?an(r)&&(o=Ei(r)):o=Ei(e));const l=k6(i,n,r)?jk(i):En(0);let c=(s.left+l.x)/o.x,u=(s.top+l.y)/o.y,d=s.width/o.x,h=s.height/o.y;if(i){const f=jt(i),p=r&&an(r)?jt(r):r;let x=f,m=jf(x);for(;m&&r&&p!==x;){const w=Ei(m),y=m.getBoundingClientRect(),g=ln(m),v=y.left+(m.clientLeft+parseFloat(g.paddingLeft))*w.x,k=y.top+(m.clientTop+parseFloat(g.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,h*=w.y,c+=v,u+=k,x=jt(m),m=jf(x)}}return Bc({width:d,height:h,x:c,y:u})}function Am(e,t){const n=Du(e).scrollLeft;return t?t.left+n:Es(Rn(e)).left+n}function _k(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:Am(e,r)),i=r.top+t.scrollTop;return{x:s,y:i}}function S6(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",o=Rn(r),l=t?Ou(t.floating):!1;if(r===o||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=En(1);const d=En(0),h=An(r);if((h||!h&&!i)&&((to(r)!=="body"||Va(o))&&(c=Du(r)),An(r))){const p=Es(r);u=Ei(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const f=o&&!h&&!i?_k(o,c,!0):En(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-c.scrollTop*u.y+d.y+f.y}}function j6(e){return Array.from(e.getClientRects())}function _6(e){const t=Rn(e),n=Du(e),r=e.ownerDocument.body,s=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Am(e);const l=-n.scrollTop;return ln(r).direction==="rtl"&&(o+=xt(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:l}}
vendor: 9,263 bytes, line 235
235function E6(e,t){const n=jt(e),r=Rn(e),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,l=0,c=0;if(s){i=s.width,o=s.height;const u=Tm();(!u||u&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:i,height:o,x:l,y:c}}const N6=new Set(["absolute","fixed"]);function T6(e,t){const n=Es(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=An(e)?Ei(e):En(1),o=e.clientWidth*i.x,l=e.clientHeight*i.y,c=s*i.x,u=r*i.y;return{width:o,height:l,x:c,y:u}}function uv(e,t,n){let r;if(t==="viewport")r=E6(e,n);else if(t==="document")r=_6(Rn(e));else if(an(t))r=T6(t,n);else{const s=jk(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Bc(r)}function Ek(e,t){const n=Mr(e);return n===t||!an(n)||Hi(n)?!1:ln(n).position==="fixed"||Ek(n,t)}function C6(e,t){const n=t.get(e);if(n)return n;let r=ma(e,[],!1).filter(l=>an(l)&&to(l)!=="body"),s=null;const i=ln(e).position==="fixed";let o=i?Mr(e):e;for(;an(o)&&!Hi(o);){const l=ln(o),c=Nm(o);!c&&l.position==="fixed"&&(s=null),(i?!c&&!s:!c&&l.position==="static"&&!!s&&N6.has(s.position)||Va(o)&&!c&&Ek(e,o))?r=r.filter(d=>d!==o):s=l,o=Mr(o)}return t.set(e,r),r}function A6(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=[...n==="clippingAncestors"?Ou(t)?[]:C6(t,this._c):[].concat(n),r],l=o[0],c=o.reduce((u,d)=>{const h=uv(t,d,s);return u.top=xt(h.top,u.top),u.right=Lr(h.right,u.right),u.bottom=Lr(h.bottom,u.bottom),u.left=xt(h.left,u.left),u},uv(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function P6(e){const{width:t,height:n}=Sk(e);return{width:t,height:n}}function R6(e,t,n){const r=An(t),s=Rn(t),i=n==="fixed",o=Es(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=En(0);function u(){c.x=Am(s)}if(r||!r&&!i)if((to(t)!=="body"||Va(s))&&(l=Du(t)),r){const p=Es(t,!0,i,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&u();i&&!r&&s&&u();const d=s&&!r&&!i?_k(s,l):En(0),h=o.left+l.scrollLeft-c.x-d.x,f=o.top+l.scrollTop-c.y-d.y;return{x:h,y:f,width:o.width,height:o.height}}function Od(e){return ln(e).position==="static"}function dv(e,t){if(!An(e)||ln(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Rn(e)===n&&(n=n.ownerDocument.body),n}function Nk(e,t){const n=jt(e);if(Ou(e))return n;if(!An(e)){let s=Mr(e);for(;s&&!Hi(s);){if(an(s)&&!Od(s))return s;s=Mr(s)}return n}let r=dv(e,t);for(;r&&p6(r)&&Od(r);)r=dv(r,t);return r&&Hi(r)&&Od(r)&&!Nm(r)?n:r||x6(e)||n}const I6=async function(e){const t=this.getOffsetParent||Nk,n=this.getDimensions,r=await n(e.floating);return{reference:R6(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function O6(e){return ln(e).direction==="rtl"}const D6={convertOffsetParentRelativeRectToViewportRelativeRect:S6,getDocumentElement:Rn,getClippingRect:A6,getOffsetParent:Nk,getElementRects:I6,getClientRects:j6,getDimensions:P6,getScale:Ei,isElement:an,isRTL:O6};function Tk(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function L6(e,t){let n=null,r;const s=Rn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:d,top:h,width:f,height:p}=u;if(l||t(),!f||!p)return;const x=xl(h),m=xl(s.clientWidth-(d+f)),w=xl(s.clientHeight-(h+p)),y=xl(d),v={rootMargin:-x+"px "+-m+"px "+-w+"px "+-y+"px",threshold:xt(0,Lr(1,c))||1};let k=!0;function S(_){const j=_[0].intersectionRatio;if(j!==c){if(!k)return o();j?o(!1,j):r=setTimeout(()=>{o(!1,1e-7)},1e3)}j===1&&!Tk(u,e.getBoundingClientRect())&&o(),k=!1}try{n=new IntersectionObserver(S,{...v,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,v)}n.observe(e)}return o(!0),i}function M6(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Cm(e),d=s||i?[...u?ma(u):[],...ma(t)]:[];d.forEach(y=>{s&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const h=u&&l?L6(u,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(y=>{let[g]=y;g&&g.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!c&&p.observe(u),p.observe(t));let x,m=c?Es(e):null;c&&w();function w(){const y=Es(e);m&&!Tk(m,y)&&n(),m=y,x=requestAnimationFrame(w)}return n(),()=>{var y;d.forEach(g=>{s&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),h==null||h(),(y=p)==null||y.disconnect(),p=null,c&&cancelAnimationFrame(x)}}const $6=l6,F6=c6,B6=i6,U6=d6,V6=o6,hv=s6,z6=u6,W6=(e,t,n)=>{const r=new Map,s={platform:D6,...n},i={...s.platform,_c:r};return r6(e,t,{...s,platform:i})};var H6=typeof document<"u",K6=function(){},Ql=H6?b.useLayoutEffect:K6;function Uc(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,s;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(!Uc(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!Uc(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Ck(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fv(e,t){const n=Ck(e);return Math.round(t*n)/n}function Dd(e){const t=b.useRef(e);return Ql(()=>{t.current=e}),t}function q6(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:o}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,h]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=b.useState(r);Uc(f,r)||p(r);const[x,m]=b.useState(null),[w,y]=b.useState(null),g=b.useCallback(N=>{N!==_.current&&(_.current=N,m(N))},[]),v=b.useCallback(N=>{N!==j.current&&(j.current=N,y(N))},[]),k=i||x,S=o||w,_=b.useRef(null),j=b.useRef(null),E=b.useRef(d),C=c!=null,T=Dd(c),M=Dd(s),O=Dd(u),W=b.useCallback(()=>{if(!_.current||!j.current)return;const N={placement:t,strategy:n,middleware:f};M.current&&(N.platform=M.current),W6(_.current,j.current,N).then(A=>{const L={...A,isPositioned:O.current!==!1};D.current&&!Uc(E.current,L)&&(E.current=L,Fa.flushSync(()=>{h(L)}))})},[f,t,n,M,O]);Ql(()=>{u===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,h(N=>({...N,isPositioned:!1})))},[u]);const D=b.useRef(!1);Ql(()=>(D.current=!0,()=>{D.current=!1}),[]),Ql(()=>{if(k&&(_.current=k),S&&(j.current=S),k&&S){if(T.current)return T.current(k,S,W);W()}},[k,S,W,T,C]);const q=b.useMemo(()=>({reference:_,floating:j,setReference:g,setFloating:v}),[g,v]),U=b.useMemo(()=>({reference:k,floating:S}),[k,S]),G=b.useMemo(()=>{const N={position:n,left:0,top:0};if(!U.floating)return N;const A=fv(U.floating,d.x),L=fv(U.floating,d.y);return l?{...N,transform:"translate("+A+"px, "+L+"px)",...Ck(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:L}},[n,l,U.floating,d.x,d.y]);return b.useMemo(()=>({...d,update:W,refs:q,elements:U,floatingStyles:G}),[d,W,q,U,G])}const G6=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?hv({element:r.current,padding:s}).fn(n):{}:r?hv({element:r,padding:s}).fn(n):{}}}},Y6=(e,t)=>({...$6(e),options:[e,t]}),J6=(e,t)=>({...F6(e),options:[e,t]}),Q6=(e,t)=>({...z6(e),options:[e,t]}),X6=(e,t)=>({...B6(e),options:[e,t]}),Z6=(e,t)=>({...U6(e),options:[e,t]}),e8=(e,t)=>({...V6(e),options:[e,t]}),t8=(e,t)=>({...G6(e),options:[e,t]});var n8="Arrow",Ak=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...i}=e;return a.jsx(me.svg,{...i,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ak.displayName=n8;var r8=Ak;function s8(e){const[t,n]=b.useState(void 0);return Tn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,l;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;o=u.inlineSize,l=u.blockSize}else o=e.offsetWidth,l=e.offsetHeight;n({width:o,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Pk="Popper",[Rk,Ik]=As(Pk),[FU,Ok]=Rk(Pk),Dk="PopperAnchor",Lk=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,i=Ok(Dk,n),o=b.useRef(null),l=He(t,o);return b.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:a.jsx(me.div,{...s,ref:l})});Lk.displayName=Dk;var Pm="PopperContent",[i8,o8]=Rk(Pm),Mk=b.forwardRef((e,t)=>{var se,Is,Qn,Wr,Xn,Os;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:h="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:x,...m}=e,w=Ok(Pm,n),[y,g]=b.useState(null),v=He(t,Zn=>g(Zn)),[k,S]=b.useState(null),_=s8(k),j=(_==null?void 0:_.width)??0,E=(_==null?void 0:_.he
vendor: 9,623 bytes, line 235
235ight)??0,C=r+(i!=="center"?"-"+i:""),T=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},M=Array.isArray(u)?u:[u],O=M.length>0,W={padding:T,boundary:M.filter(l8),altBoundary:O},{refs:D,floatingStyles:q,placement:U,isPositioned:G,middlewareData:N}=q6({strategy:"fixed",placement:C,whileElementsMounted:(...Zn)=>M6(...Zn,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[Y6({mainAxis:s+E,alignmentAxis:o}),c&&J6({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Q6():void 0,...W}),c&&X6({...W}),Z6({...W,apply:({elements:Zn,rects:Ga,availableWidth:Ju,availableHeight:Ya})=>{const{width:Qu,height:oo}=Ga.reference,Ds=Zn.floating.style;Ds.setProperty("--radix-popper-available-width",`${Ju}px`),Ds.setProperty("--radix-popper-available-height",`${Ya}px`),Ds.setProperty("--radix-popper-anchor-width",`${Qu}px`),Ds.setProperty("--radix-popper-anchor-height",`${oo}px`)}}),k&&t8({element:k,padding:l}),c8({arrowWidth:j,arrowHeight:E}),f&&e8({strategy:"referenceHidden",...W})]}),[A,L]=Bk(U),H=Cn(x);Tn(()=>{G&&(H==null||H())},[G,H]);const z=(se=N.arrow)==null?void 0:se.x,X=(Is=N.arrow)==null?void 0:Is.y,ee=((Qn=N.arrow)==null?void 0:Qn.centerOffset)!==0,[Te,Ke]=b.useState();return Tn(()=>{y&&Ke(window.getComputedStyle(y).zIndex)},[y]),a.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:G?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Te,"--radix-popper-transform-origin":[(Wr=N.transformOrigin)==null?void 0:Wr.x,(Xn=N.transformOrigin)==null?void 0:Xn.y].join(" "),...((Os=N.hide)==null?void 0:Os.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(i8,{scope:n,placedSide:A,onArrowChange:S,arrowX:z,arrowY:X,shouldHideArrow:ee,children:a.jsx(me.div,{"data-side":A,"data-align":L,...m,ref:v,style:{...m.style,animation:G?void 0:"none"}})})})});Mk.displayName=Pm;var $k="PopperArrow",a8={top:"bottom",right:"left",bottom:"top",left:"right"},Fk=b.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,i=o8($k,r),o=a8[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(r8,{...s,ref:n,style:{...s.style,display:"block"}})})});Fk.displayName=$k;function l8(e){return e!==null}var c8=e=>({name:"transformOrigin",options:e,fn(t){var w,y,g;const{placement:n,rects:r,middlewareData:s}=t,o=((w=s.arrow)==null?void 0:w.centerOffset)!==0,l=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[u,d]=Bk(n),h={start:"0%",center:"50%",end:"100%"}[d],f=(((y=s.arrow)==null?void 0:y.x)??0)+l/2,p=(((g=s.arrow)==null?void 0:g.y)??0)+c/2;let x="",m="";return u==="bottom"?(x=o?h:`${f}px`,m=`${-c}px`):u==="top"?(x=o?h:`${f}px`,m=`${r.floating.height+c}px`):u==="right"?(x=`${-c}px`,m=o?h:`${p}px`):u==="left"&&(x=`${r.floating.width+c}px`,m=o?h:`${p}px`),{data:{x,y:m}}}});function Bk(e){const[t,n="center"]=e.split("-");return[t,n]}var u8=Lk,d8=Mk,h8=Fk,[Lu,BU]=As("Tooltip",[Ik]),Rm=Ik(),Uk="TooltipProvider",f8=700,pv="tooltip.open",[p8,Vk]=Lu(Uk),zk=e=>{const{__scopeTooltip:t,delayDuration:n=f8,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:i}=e,o=b.useRef(!0),l=b.useRef(!1),c=b.useRef(0);return b.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),a.jsx(p8,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:b.useCallback(u=>{l.current=u},[]),disableHoverableContent:s,children:i})};zk.displayName=Uk;var Wk="Tooltip",[UU,Mu]=Lu(Wk),_f="TooltipTrigger",m8=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Mu(_f,n),i=Vk(_f,n),o=Rm(n),l=b.useRef(null),c=He(t,l,s.onTriggerChange),u=b.useRef(!1),d=b.useRef(!1),h=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),a.jsx(u8,{asChild:!0,...o,children:a.jsx(me.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:ce(e.onPointerMove,f=>{f.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ce(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:ce(e.onBlur,s.onClose),onClick:ce(e.onClick,s.onClose)})})});m8.displayName=_f;var g8="TooltipPortal",[VU,y8]=Lu(g8,{forceMount:void 0}),Ki="TooltipContent",Hk=b.forwardRef((e,t)=>{const n=y8(Ki,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...i}=e,o=Mu(Ki,e.__scopeTooltip);return a.jsx(Ps,{present:r||o.open,children:o.disableHoverableContent?a.jsx(Kk,{side:s,...i,ref:t}):a.jsx(v8,{side:s,...i,ref:t})})}),v8=b.forwardRef((e,t)=>{const n=Mu(Ki,e.__scopeTooltip),r=Vk(Ki,e.__scopeTooltip),s=b.useRef(null),i=He(t,s),[o,l]=b.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:h}=r,f=b.useCallback(()=>{l(null),h(!1)},[h]),p=b.useCallback((x,m)=>{const w=x.currentTarget,y={x:x.clientX,y:x.clientY},g=S8(y,w.getBoundingClientRect()),v=j8(y,g),k=_8(m.getBoundingClientRect()),S=N8([...v,...k]);l(S),h(!0)},[h]);return b.useEffect(()=>()=>f(),[f]),b.useEffect(()=>{if(c&&d){const x=w=>p(w,d),m=w=>p(w,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",m)}}},[c,d,p,f]),b.useEffect(()=>{if(o){const x=m=>{const w=m.target,y={x:m.clientX,y:m.clientY},g=(c==null?void 0:c.contains(w))||(d==null?void 0:d.contains(w)),v=!E8(y,o);g?f():v&&(f(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,o,u,f]),a.jsx(Kk,{...e,ref:i})}),[x8,w8]=Lu(Wk,{isInside:!1}),b8=DN("TooltipContent"),Kk=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:o,...l}=e,c=Mu(Ki,n),u=Rm(n),{onClose:d}=c;return b.useEffect(()=>(document.addEventListener(pv,d),()=>document.removeEventListener(pv,d)),[d]),b.useEffect(()=>{if(c.trigger){const h=f=>{const p=f.target;p!=null&&p.contains(c.trigger)&&d()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[c.trigger,d]),a.jsx(Au,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:h=>h.preventDefault(),onDismiss:d,children:a.jsxs(d8,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.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:[a.jsx(b8,{children:r}),a.jsx(x8,{scope:n,isInside:!0,children:a.jsx(S3,{id:c.contentId,role:"tooltip",children:s||r})})]})})});Hk.displayName=Ki;var qk="TooltipArrow",k8=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=Rm(n);return w8(qk,n).isInside?null:a.jsx(h8,{...s,...r,ref:t})});k8.displayName=qk;function S8(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,s,i)){case i:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function j8(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 _8(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function E8(e,t){const{x:n,y:r}=e;let s=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const l=t[i],c=t[o],u=l.x,d=l.y,h=c.x,f=c.y;d>r!=f>r&&n<(h-u)*(r-d)/(f-d)+u&&(s=!s)}return s}function N8(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),T8(t)}function T8(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const i=n[n.length-1],o=n[n.length-2];if((i.x-o.x)*(s.y-o.y)>=(i.y-o.y)*(s.x-o.x))n.pop();else break}n.push(s)}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 C8=zk,Gk=Hk;const A8=C8,P8=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(Gk,{ref:r,sideOffset:t,className:Ze("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]:sli
235de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));P8.displayName=Gk.displayName;const R8=fk("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors 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",cta:"bg-primary text-primary-foreground hover:bg-coral-dark rounded-full text-base font-semibold shadow-lg hover:shadow-xl transition-all",ctaOutline:"border-2 border-primary text-primary hover:bg-primary hover:text-primary-foreground rounded-full text-base font-semibold transition-all"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-12 rounded-full px-8 text-base",xl:"h-14 roun
235ded-full px-10 text-lg",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),De=b.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},i)=>{const o=r?IN:"button";return a.jsx(o,{className:Ze(R8({variant:t,size:n,className:e})),ref:i,...s})});De.displayName="Button";const I8=1,O8="2db0c5d5-d500-4fa2-8e9b-3326f9ae47bf",D8="f98a8e28-fd19-4bb5-9211-9669688083db",L8="/__l5e/assets-v1/2db0c5d5-d500-4fa2-8e9b-3326f9ae47bf/all-about-me-hero.png",M8="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/2db0c5d5-d500-4fa2-8e9b-3326f9ae47bf/all-about-me-hero.png",$8="all-about-me-hero.png",F8=261254,B8="image/webp",U8="2026-09-17T01:16:31Z",V8={version:I8,asset_id:O8,project_id:D8,url:L8,r2_key:M8,original_filename:$8,size:F8,content_type:B8,created_at:U8},z8=1,W8="3119fc51-f2d5-4d9e-bd65-c546cdd9d5a4",H8="f98a8e28-fd19-4bb5-9211-9669688083db",K8="/__l5e/assets-v1/3119fc51-f2d5-4d9e-bd65-c546cdd9d5a4/kindship-app-phone.png",q8="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/3119fc51-f2d5-4d9e-bd65-c546cdd9d5a4/kindship-app-phone.png",G8="kindship-app-phone.png",Y8=174414,J8="image/png",Q8="2026-09-17T04:12:15Z",X8={version:z8,asset_id:W8,project_id:H8,url:K8,r2_key:q8,original_filename:G8,size:Y8,content_type:J8,created_at:Q8},Im=()=>a.jsx("footer",{style:{backgroundColor:"#671b01"},className:"text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"col-span-2 md:col-span-1",children:[a.jsx("a",{href:"https://www.kindship.com.au/",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:Rs,alt:"Kindship",className:"h-8 w-auto"})}),a.jsxs("div",{className:"flex items-center gap-4 mt-6",children:[a.jsx("a",{href:"https://www.instagram.com/kindship_au/",className:"hover:opacity-80 transition-opacity","aria-label":"Instagram",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),a.jsx("a",{href:"https://www.facebook.com/kindshipapp/",className:"hover:opacity-80 transition-opacity","aria-label":"Facebook",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385h-3.047v-3.47h3.047v-2.642c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953h-1.514c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385c5.737-.9 10.125-5.864 10.125-11.854z"})})}),a.jsx("a",{href:"https://www.linkedin.com/company/kindship/",className:"hover:opacity-80 transition-opacity","aria-label":"LinkedIn",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667h-3.554v-11.452h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zm-15.11-13.019c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019h-3.564v-11.452h3.564v11.452zm15.106-20.452h-20.454c-.979 0-1.771.774-1.771 1.729v20.542c0 .956.792 1.729 1.771 1.729h20.451c.978 0 1.778-.773 1.778-1.729v-20.542c0-.955-.8-1.729-1.778-1.729z"})})}),a.jsx("a",{href:"https://www.youtube.com/@KindshipCollective",className:"hover:opacity-80 transition-opacity","aria-label":"YouTube",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})})]})]}),a.jsx("div",{children:a.jsxs("ul",{className:"space-y-2.5",children:[a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/about-us",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"About Us"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/connection",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Community"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/supportpathways",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Family Support Pathways"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Plan Management"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/blog",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Blog"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-sm text-white/80 hover:text-white transition-colors",children:"Decoding the NDIS Webinars"})}),a.jsx("li",{children:a.jsx("a",{href:"https://calendly.com/d/3qz-nh5-g2g/discovery-call-with-kindship",className:"text-sm text-white/80 hover:text-white transition-colors font-semibold",target:"_blank",rel:"noopener noreferrer",children:"Book a Call With Us"})})]})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-sm mb-4",children:"Contact"}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"General:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"Member Support:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]})]})]})]}),a.jsxs("div",{className:"border-t border-white/10 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[a.jsxs("p",{className:"text-sm text-white/40",children:["© ",new Date().getFullYear()," Kindship. All rights reserved."]}),a.jsx("div",{className:"flex items-center gap-4",children:a.jsx("p",{className:"text-xs text-white/30",children:"A guide only â individual circumstances apply."})})]})]})}),Z8=[{icon:xT,title:"A bit about me",body:"What they love, what they're into, what they're working on.",card:"bg-beige text-dark-brown"},{icon:yT,title:"The essentials",body:"Diagnosis, medical needs, and anything else important.",card:"bg-salmon text-dark-brown"},{icon:ST,title:"What's hard, and what helps",body:"The practical part carers need most.",card:"bg-coral text-white"}
235],eI=[{text:"Thank you for sharing this resource with me. I feel it will be very beneficial to share with my son's preschool educators.",name:"Teagan",card:"bg-beige text-dark-brown"},{text:"Thanks for the resource! I've edited it tonight to give to Lacey's teacher this week â it was so easy to use and complete.",name:"Taryn",card:"bg-coral text-white"},{text:"I really love that I've been able to create an All About Me that covers everything. It goes into detail about Leo's needs and made it really easy and informative for school, therapists, and support workers. Everyone I've sent it to has said how easy it was to read â informative but not overwhelming.",name:"Lexi B",card:"bg-dark-brown text-white"},{text:"I love the bio â my son is in year 1, no diagnosis yet, but his teacher was amazed by it.",name:"Amber",card:"bg-salmon text-dark-brown"}],tI=()=>(b.useEffect(()=>{const e=document.title;return document.title="All About Me â Share your story once | Kindship",()=>{document.title=e}},[]),a.jsxs("main",{className:"min-h-screen bg-peach",children:[a.jsx("nav",{className:"bg-primary",children:a.jsx("div",{className:"mx-auto flex h-16 max-w-6xl items-center px-6",children:a.jsx("a",{href:"https://www.kindship.com.au/","aria-label":"Kindship home",children:a.jsx("img",{src:Rs,alt:"Kindship",className:"h-8 w-auto"})})})}),a.jsx("section",{className:"px-4 pb-12 pt-8 md:pb-20 md:pt-12",children:a.jsxs("div",{className:"mx-auto grid min-h-[610px] max-w-6xl overflow-hidden rounded-3xl shadow-xl md:grid-cols-2",children:[a.jsx("div",{className:"relative min-h-[430px] md:min-h-0",children:a.jsx("img",{src:V8.url,alt:"A young girl playing at the beach with her pink walking frame",className:"absolute inset-0 h-full w-full object-cover",loading:"eager"})}),a.jsxs("div",{className:"flex flex-col justify-center bg-beige px-8 py-14 sm:px-12 md:px-14 lg:px-16",children:[a.jsx("h1",{className:"font-serif text-4xl leading-tight text-dark-brown md:text-5xl lg:text-6xl",children:"Share your story once."}),a.jsx("p",{className:"mt-6 font-sans text-lg leading-relaxed text-dark-brown md:text-xl",children:"Kindship's All About Me PDF â making sure the world understands your child from day one."}),a.jsxs("div",{className:"mt-8",children:[a.jsx(De,{variant:"cta",size:"lg",asChild:!0,children:a.jsx("a",{href:"https://www.kindship.app/",target:"_blank",rel:"noopener noreferrer",children:"Get yours in the free Kindship app"})}),a.jsx("p",{className:"mt-4 font-sans text-sm text-warm-gray",children:"Kindship â trusted by over 10,000 families across Australia"})]})]})]})}),a.jsx("section",{className:"py-16 md:py-24",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"max-w-2xl mx-auto space-y-8",children:[a.jsx("h2",{className:"font-serif text-3xl md:text-5xl text-dark-brown text-center leading-tight",children:"What's inside"}),a.jsxs("div",{className:"space-y-5 font-sans text-base md:text-lg text-warm-gray leading-relaxed",children:[a.jsx("p",{children:"You know your child better than anyone. But explaining it all again to every new teacher, therapist, or support worker gets exhausting, and important details get lost along the way."}),a.jsx("p",{children:"Generic advice doesn't help much when every child is different. What actually makes a difference is the specific stuff: the things you've already learned, tried, and tested at home."}),a.jsx("p",{children:"All About Me puts it all in one place. It starts with who your child is, before getting into what's hard and what actually helps."})]})]}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-5xl mx-auto mt-12 md:mt-16",children:Z8.map(e=>a.jsxs("div",{className:`rounded-3xl p-8 ${e.card}`,children:[a.jsx(e.icon,{className:"w-8 h-8 mb-4",strokeWidth:1.75}),a.jsx("h3",{className:"font-serif text-2xl mb-3",children:e.title}),a.jsx("p",{className:"font-sans leading-relaxed opacity-90",children:e.body})]},e.title))})]})}),a.jsx("section",{className:"bg-white py-16 md:py-24",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"mx-auto grid max-w-5xl items-center gap-10 md:grid-cols-2 md:gap-16",children:[a.jsx("div",{className:"mx-auto w-full max-w-[320px]",children:a.jsx("img",{src:X8.url,alt:"The Kindship app on a phone, showing a family's welcome screen",className:"w-full",loading:"lazy"})}),a.jsxs("div",{children:[a.jsx("h2",{className:"font-serif text-3xl leading-tight text-dark-brown md:text-5xl",children:"Get yours through the free Kindship app"}),a.jsxs("div",{className:"mt-6 space-y-5 font-sans text-base leading-relaxed text-warm-gray md:text-lg",children:[a.jsx("p",{children:"The Kindship app helps families find clarity and confidence â whether that's navigating early intervention, understanding the NDIS, or just not knowing what your next step should be. No diagnosis, referral, or NDIS plan needed to use it."}),a.jsx("p",{children:"Built by parents, for parents. Make the most of what it has to offer and grab your child's All About Me profile while you're in there."})]}),a.jsx("div",{className:"mt-8",children:a.jsx(De,{variant:"cta",size:"lg",asChild:!0,children:a.jsx("a",{href:"https://www.kindship.app/",target:"_blank",rel:"noopener noreferrer",children:"Get yours in the free Kindship app"})})}),a.jsxs("p",{className:"mt-6 font-sans text-base md:text-lg",children:[a.jsxs("span",{className:"text-dark-brown",children:["Just want the PDF for now?"," "]}),a.jsx("a",{href:"https://canva.link/vvp4lbcg247wdyn",target:"_blank",rel:"noopener noreferrer",className:"font-semibold text-primary underline underline-offset-4 transition-opacity hover:opacity-80",children:"Download the Canva version â"})]})]})]})})}),a.jsx("section",{className:"py-16 md:py-24",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsx("h2",{className:"font-serif text-3xl md:text-5xl text-dark-brown text-center leading-tight mb-12 md:mb-16",children:"Hundreds of families have already made theirs."}),a.jsx("div",{className:"columns-1 md:columns-2 gap-6 max-w-4xl mx-auto",children:eI.map(e=>a.jsxs("div",{className:`break-inside-avoid mb-6 rounded-3xl p-8 ${e.card}`,children:[a.jsx("p",{className:"font-sans leading-relaxed mb-5",children:e.text}),a.jsx("p",{className:"font-semibold font-sans",children:e.name})]},e.name))})]})}),a.jsx("section",{id:"get-yours",className:"bg-primary py-20 md:py-28",children:a.jsxs("div",{className:"container mx-auto px-4 text-center space-y-6 max-w-2xl",children:[a.jsx("h2",{className:"font-serif text-3xl md:text-5xl text-primary-foreground leading-tight",children:"Get yours"}),a.jsx("p",{className:"font-sans text-lg text-primary-foreground
235/80 leading-relaxed",children:"Your All About Me is waiting inside the free Kindship app â along with support for whatever comes next."}),a.jsx(De,{variant:"ctaOutline",size:"xl",className:"border-primary-foreground text-primary-foreground hover:bg-primary-foreground hover:text-primary",asChild:!0,children:a.jsx("a",{href:"https://www.kindship.app/",target:"_blank",rel:"noopener noreferrer",children:"Get yours in the free Kindship app â"})}),a.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 pt-4 text-primary-foreground/80 font-sans text-sm",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(on,{className:"w-5 h-5 text-primary-foreground"}),"Free to use"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(on,{className:"w-5 h-5 text-primary-foreground"}),"No sign-up required"]})]})]})}),a.jsx(Im,{})]})),Yk=()=>a.jsx("nav",{className:"w-full",style:{backgroundColor:"#dc734c"},children:a.jsx("div",{className:"max-w-7xl mx-auto px-6 lg:px-8",children:a.jsx("div",{className:"flex items-center justify-start h-16",children:a.jsx("a",{href:"https://www.kindship.com.au/",className:"flex items-center",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:Rs,alt:"Kindship",className:"h-8 w-auto"})})})})}),Jk=b.createContext({});function nI(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const rI=typeof window<"u",sI=rI?b.useLayoutEffect:b.useEffect,Om=b.createContext(null);function Dm(e,t){e.indexOf(t)===-1&&e.push(t)}function Vc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Pn=(e,t,n)=>n>t?t:n<e?e:n;let $u=()=>{},qi=()=>{};const $r={},Qk=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Xk(e){return typeof e=="object"&&e!==null}const Zk=e=>/^0[^.\s]+$/u.test(e);function e2(e){let t;return()=>(t===void 0&&(t=e()),t)}const Mt=e=>e,iI=(e,t)=>n=>t(e(n)),za=(...e)=>e.reduce(iI),ga=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Lm{constructor(){this.subscriptions=[]}add(t){return Dm(this.subscriptions,t),()=>Vc(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const o=this.subscriptions[i];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const mt=e=>e*1e3,Dt=e=>e/1e3;function t2(e,t){return t?e*(1e3/t):0}
vendor: 8,527 bytes, line 235
235const n2=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,oI=1e-7,aI=12;function lI(e,t,n,r,s){let i,o,l=0;do o=t+(n-t)/2,i=n2(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>oI&&++l<aI);return o}function Wa(e,t,n,r){if(e===t&&n===r)return Mt;const s=i=>lI(i,0,1,e,n);return i=>i===0||i===1?i:n2(s(i),t,r)}const r2=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,s2=e=>t=>1-e(1-t),i2=Wa(.33,1.53,.69,.99),Mm=s2(i2),o2=r2(Mm),a2=e=>e>=1?1:(e*=2)<1?.5*Mm(e):.5*(2-Math.pow(2,-10*(e-1))),$m=e=>1-Math.sin(Math.acos(e)),l2=s2($m),c2=r2($m),cI=Wa(.42,0,1,1),uI=Wa(0,0,.58,1),u2=Wa(.42,0,.58,1),dI=e=>Array.isArray(e)&&typeof e[0]!="number",d2=e=>Array.isArray(e)&&typeof e[0]=="number",mv={linear:Mt,easeIn:cI,easeInOut:u2,easeOut:uI,circIn:$m,circInOut:c2,circOut:l2,backIn:Mm,backInOut:o2,backOut:i2,anticipate:a2},hI=e=>typeof e=="string",gv=e=>{if(d2(e)){qi(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return Wa(t,n,r,s)}else if(hI(e))return qi(mv[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),mv[e];return e},wl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],yv={value:null,addProjectionMetrics:null};function fI(e,t){let n=new Set,r=new Set,s=!1,i=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},c=0;function u(h){o.has(h)&&(d.schedule(h),e()),c++,h(l)}const d={schedule:(h,f=!1,p=!1)=>{const m=p&&s?n:r;return f&&o.add(h),m.add(h),h},cancel:h=>{r.delete(h),o.delete(h)},process:h=>{if(l=h,s){i=!0;return}s=!0;const f=n;n=r,r=f,n.forEach(u),t&&yv.value&&yv.value.frameloop[t].push(c),c=0,n.clear(),s=!1,i&&(i=!1,d.process(h))}};return d}const pI=40;function h2(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=wl.reduce((v,k)=>(v[k]=fI(i,t?k:void 0),v),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:h,preRender:f,render:p,postRender:x}=o,m=()=>{const v=$r.useManualTiming,k=v?s.timestamp:performance.now();n=!1,v||(s.delta=r?1e3/60:Math.max(Math.min(k-s.timestamp,pI),1)),s.timestamp=k,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),h.process(s),f.process(s),p.process(s),x.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(m))},w=()=>{n=!0,r=!0,s.isProcessing||e(m)};return{schedule:wl.reduce((v,k)=>{const S=o[k];return v[k]=(_,j=!1,E=!1)=>(n||w(),S.schedule(_,j,E)),v},{}),cancel:v=>{for(let k=0;k<wl.length;k++)o[wl[k]].cancel(v)},state:s,steps:o}}const{schedule:ae,cancel:Fr,state:Ue,steps:Ld}=h2(typeof requestAnimationFrame<"u"?requestAnimationFrame:Mt,!0);let Xl;function mI(){Xl=void 0}const rt={now:()=>(Xl===void 0&&rt.set(Ue.isProcessing||$r.useManualTiming?Ue.timestamp:performance.now()),Xl),set:e=>{Xl=e,queueMicrotask(mI)}},f2=e=>t=>typeof t=="string"&&t.startsWith(e),p2=f2("--"),gI=f2("var(--"),Fm=e=>gI(e)?yI.test(e.split("/*")[0].trim()):!1,yI=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function vv(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const no={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ya={...no,transform:e=>Pn(0,1,e)},bl={...no,default:1},Uo=e=>Math.round(e*1e5)/1e5,Bm=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function vI(e){return e==null}const xI=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Um=(e,t)=>n=>!!(typeof n=="string"&&xI.test(n)&&n.startsWith(e)||t&&!vI(n)&&Object.prototype.hasOwnProperty.call(n,t)),m2=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,o,l]=r.match(Bm);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},wI=e=>Pn(0,255,e),Md={...no,transform:e=>Math.round(wI(e))},ls={test:Um("rgb","red"),parse:m2("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Md.transform(e)+", "+Md.transform(t)+", "+Md.transform(n)+", "+Uo(ya.transform(r))+")"};function bI(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Ef={test:Um("#"),parse:bI,transform:ls.transform},Ha=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ar=Ha("deg"),Nn=Ha("%"),F=Ha("px"),kI=Ha("vh"),SI=Ha("vw"),xv={...Nn,parse:e=>Nn.parse(e)/100,transform:e=>Nn.transform(e*100)},pi={test:Um("hsl","hue"),parse:m2("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Nn.transform(Uo(t))+", "+Nn.transform(Uo(n))+", "+Uo(ya.transform(r))+")"},Ae={test:e=>ls.test(e)||Ef.test(e)||pi.test(e),parse:e=>ls.test(e)?ls.parse(e):pi.test(e)?pi.parse(e):Ef.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ls.transform(e):pi.transform(e),getAnimatableNone:e=>{const t=Ae.parse(e);return t.alpha=0,Ae.transform(t)}},jI=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function _I(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Bm))==null?void 0:t.length)||0)+(((n=e.match(jI))==null?void 0:n.length)||0)>0}const g2="number",y2="color",EI="var",NI="var(",wv="${}",TI=/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 Gi(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const l=t.replace(TI,c=>(Ae.test(c)?(r.color.push(i),s.push(y2),n.push(Ae.parse(c))):c.startsWith(NI)?(r.var.push(i),s.push(EI),n.push(c)):(r.number.push(i),s.push(g2),n.push(parseFloat(c))),++i,wv)).split(wv);return{values:n,split:l,indexes:r,types:s}}function CI(e){return Gi(e).values}function v2({split:e,types:t}){const n=e.length;return r=>{let s="";for(let i=0;i<n;i++)if(s+=e[i],r[i]!==void 0){const o=t[i];o===g2?s+=Uo(r[i]):o===y2?s+=Ae.transform(r[i]):s+=r[i]}return s}}function AI(e){return v2(Gi(e))}const PI=e=>typeof e=="number"?0:Ae.test(e)?Ae.getAnimatableNone(e):e,RI=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:PI(e);function II(e){const t=Gi(e);return v2(t)(t.values.map((r,s)=>RI(r,t.split[s])))}const rn={test:_I,parse:CI,createTransformer:AI,getAnimatableNone:II};function $d(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 OI({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=$d(c,l,e+1/3),i=$d(c,l,e),o=$d(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function zc(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,Fd=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},DI=[Ef,ls,pi],LI=e=>DI.find(t=>t.test(e));function bv(e){const t=LI(e);if($u(!!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===pi&&(n=OI(n)),n}const kv=(e,t)=>{const n=bv(e),r=bv(t);if(!n||!r)return zc(e,t);const s={...n};return i=>(s.red=Fd(n.red,r.red,i),s.green=Fd(n.green,r.green,i),s.blue=Fd(n.blue,r.blue,i),s.alpha=fe(n.alpha,r.alpha,i),ls.transform(s))},Nf=new Set(["none","hidden"]);function MI(e,t){return Nf.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function $I(e,t){return n=>fe(e,t,n)}function Vm(e){return typeof e=="number"?$I:typeof e=="string"?Fm(e)?zc:Ae.test(e)?kv:UI:Array.isArray(e)?x2:typeof e=="object"?Ae.test(e)?kv:FI:zc}function x2(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>Vm(i)(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}}function FI(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Vm(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function BI(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],o=e.indexes[i][r[i]],l=e.values[o]??0;n[s]=l,r[i]++}return n}const UI=(e,t)=>{const n=rn.createTransformer(t),r=Gi(e),s=Gi(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?Nf.has(e)&&!s.values.length||Nf.has(t)&&!r.values.length?MI(e,t):za(x2(BI(r,s),s.values),n):($u(!0,`Complex values '${e}' and '${t}
235' 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"),zc(e,t))};function w2(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):Vm(e)(e,t)}const VI=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ae.update(t,n),stop:()=>Fr(t),now:()=>Ue.isProcessing?Ue.timestamp:rt.now()}},b2=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Wc=2e4;function zm(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Wc;)t+=n,r=e.next(t);return t>=Wc?1/0:t}function zI(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(zm(r),Wc);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:Dt(s)}}const xe={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};function Tf(e,t){return e*Math.sqrt(1-t*t)}const WI=12;function HI(e,t,n){let r=n;for(let s=1;s<WI;s++)r=r-e(r)/t(r);return r}const Bd=.001;function KI({duration:e=xe.duration,bounce:t=xe.bounce,velocity:n=xe.velocity,mass:r=xe.mass}){let s,i;$u(e<=mt(xe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=Pn(xe.minDamping,xe.maxDamping,o),e=Pn(xe.minDuration,xe.maxDuration,Dt(e)),o<1?(s=u=>{const d=u*o,h=d*e,f=d-n,p=Tf(u,o),x=Math.exp(-h);return Bd-f/p*x},i=u=>{const h=u*o*e,f=h*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-h),m=Tf(Math.pow(u,2),o);return(-s(u)+Bd>0?-1:1)*((f-p)*x)/m}):(s=u=>{const d=Math.exp(-u*e),h=(u-n)*e+1;return-Bd+d*h},i=u=>{const d=Math.exp(-u*e),h=(n-u)*(e*e);return d*h});const l=5/e,c=HI(s,i,l);if(e=mt(e),isNaN(c))return{stiffness:xe.stiffness,damping:xe.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const qI=["duration","bounce"],GI=["stiffness","damping","mass"];function Sv(e,t){return t.some(n=>e[n]!==void 0)}function YI(e){let t={velocity:xe.velocity,stiffness:xe.stiffness,damping:xe.damping,mass:xe.mass,isResolvedFromDuration:!1,...e};if(!Sv(e,GI)&&Sv(e,qI))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*Pn(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:xe.mass,stiffness:s,damping:i}}else{const n=KI({...e,velocity:0});t={...t,...n,mass:xe.mass},t.isResolvedFromDuration=!0}return t}function Hc(e=xe.visualDuration,t=xe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:h,velocity:f,isResolvedFromDuration:p}=YI({...n,velocity:-Dt(n.velocity||0)}),x=f||0,m=u/(2*Math.sqrt(c*d)),w=o-i,y=Dt(Math.sqrt(c/d)),g=Math.abs(w)<5;r||(r=g?xe.restSpeed.granular:xe.restSpeed.default),s||(s=g?xe.restDelta.granular:xe.restDelta.default);let v,k,S,_,j,E;if(m<1)S=Tf(y,m),_=(x+m*y*w)/S,v=T=>{const M=Math.exp(-m*y*T);return o-M*(_*Math.sin(S*T)+w*Math.cos(S*T))},j=m*y*_+w*S,E=m*y*w-_*S,k=T=>Math.exp(-m*y*T)*(j*Math.sin(S*T)+E*Math.cos(S*T));else if(m===1){v=M=>o-Math.exp(-y*M)*(w+(x+y*w)*M);const T=x+y*w;k=M=>Math.exp(-y*M)*(y*T*M-x)}else{const T=y*Math.sqrt(m*m-1);v=D=>{const q=Math.exp(-m*y*D),U=Math.min(T*D,300);return o-q*((x+m*y*w)*Math.sinh(U)+T*w*Math.cosh(U))/T};const M=(x+m*y*w)/T,O=m*y*M-w*T,W=m*y*w-M*T;k=D=>{const q=Math.exp(-m*y*D),U=Math.min(T*D,300);return q*(O*Math.sinh(U)+W*Math.cosh(U))}}const C={calculatedDuration:p&&h||null,velocity:T=>mt(k(T)),next:T=>{if(!p&&m<1){const O=Math.exp(-m*y*T),W=Math.sin(S*T),D=Math.cos(S*T),q=o-O*(_*W+w*D),U=mt(O*(j*W+E*D));return l.done=Math.abs(U)<=r&&Math.abs(o-q)<=s,l.value=l.done?o:q,l}const M=v(T);if(p)l.done=T>=h;else{const O=mt(k(T));l.done=Math.abs(O)<=r&&Math.abs(o-M)<=s}return l.value=l.done?o:M,l},toString:()=>{const T=Math.min(zm(C),Wc),M=b2(O=>C.next(T*O).value,T,30);return T+"ms "+M},toTransition:()=>{}};return C}Hc.applyToOptions=e=>{const t=zI(e,100,Hc);return e.ease=t.ease,e.duration=mt(t.duration),e.type="keyframes",e};const JI=5;function k2(e,t,n){const r=Math.max(t-JI,0);return t2(n-e(r),t-r)}function Cf({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:l,max:c,restDelta:u=.5,restSpeed:d}){const h=e[0],f={done:!1,value:h},p=E=>l!==void 0&&E<l||c!==void 0&&E>c,x=E=>l===void 0?c:c===void 0||Math.abs(l-E)<Math.abs(c-E)?l:c;let m=n*t;const w=h+m,y=o===void 0?w:o(w);y!==w&&(m=y-h);const g=E=>-m*Math.exp(-E/r),v=E=>y+g(E),k=E=>{const C=g(E),T=v(E);f.done=Math.abs(C)<=u,f.value=f.done?y:T};let S,_;const j=E=>{p(f.value)&&(S=E,_=Hc({keyframes:[f.value,x(f.value)],velocity:k2(v,E,f.value),damping:s,stiffness:i,restDelta:u,restSpeed:d}))};return j(0),{calculatedDuration:null,next:E=>{let C=!1;return!_&&S===void 0&&(C=!0,k(E),j(E)),S!==void 0&&E>=S?_.next(E-S):(!C&&k(E),f)}}}
vendor: 15,325 bytes, line 235
235function QI(e,t,n){const r=[],s=n||$r.mix||w2,i=e.length-1;for(let o=0;o<i;o++){let l=s(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||Mt:t;l=za(c,l)}r.push(l)}return r}function XI(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(qi(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=QI(t,r,s),c=l.length,u=d=>{if(o&&d<e[0])return t[0];let h=0;if(c>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const f=ga(e[h],e[h+1],d);return l[h](f)};return n?d=>u(Pn(e[0],e[i-1],d)):u}function ZI(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=ga(0,t,r);e.push(fe(n,1,s))}}function eO(e){const t=[0];return ZI(t,e.length-1),t}function tO(e,t){return e.map(n=>n*t)}function nO(e,t){return e.map(()=>t||u2).splice(0,e.length-1)}function Vo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=dI(r)?r.map(gv):gv(r),i={done:!1,value:t[0]},o=tO(n&&n.length===t.length?n:eO(t),e),l=XI(o,t,{ease:Array.isArray(s)?s:nO(t,s)});return{calculatedDuration:e,next:c=>(i.value=l(c),i.done=c>=e,i)}}const rO=e=>e!==null;function Fu(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(rO),l=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!l||r===void 0?i[l]:r}const sO={decay:Cf,inertia:Cf,tween:Vo,keyframes:Vo,spring:Hc};function S2(e){typeof e.type=="string"&&(e.type=sO[e.type])}class Wm{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 iO=e=>e/100;class Kc extends Wm{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==rt.now()&&this.tick(rt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;S2(t);const{type:n=Vo,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=t;let{keyframes:l}=t;const c=n||Vo;c!==Vo&&typeof l[0]!="number"&&(this.mixKeyframes=za(iO,w2(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});i==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=zm(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}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:s,mixKeyframes:i,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:h,repeatType:f,repeatDelay:p,type:x,onUpdate:m,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?y<0:y>s;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let v=this.currentTime,k=r;if(h){const E=Math.min(this.currentTime,s)/l;let C=Math.floor(E),T=E%1;!T&&E>=1&&(T=1),T===1&&C--,C=Math.min(C,h+1),!!(C%2)&&(f==="reverse"?(T=1-T,p&&(T-=p/l)):f==="mirror"&&(k=o)),v=Pn(0,1,T)*l}let S;g?(this.delayState.value=d[0],S=this.delayState):S=k.next(v),i&&!g&&(S.value=i(S.value));let{done:_}=S;!g&&c!==null&&(_=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const j=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&_);return j&&x!==Cf&&(S.value=Fu(d,this.options,w,this.speed)),m&&m(S.value),j&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return Dt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Dt(t)}get time(){return Dt(this.currentTime)}set time(t){t=mt(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),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return k2(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(rt.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=Dt(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=VI,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(i=(s=this.options).onPlay)==null||i.call(s);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(rt.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 oO(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const cs=e=>e*180/Math.PI,Af=e=>{const t=cs(Math.atan2(e[1],e[0]));return Pf(t)},aO={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Af,rotateZ:Af,skewX:e=>cs(Math.atan(e[1])),skewY:e=>cs(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Pf=e=>(e=e%360,e<0&&(e+=360),e),jv=Af,_v=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ev=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),lO={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:_v,scaleY:Ev,scale:e=>(_v(e)+Ev(e))/2,rotateX:e=>Pf(cs(Math.atan2(e[6],e[5]))),rotateY:e=>Pf(cs(Math.atan2(-e[2],e[0]))),rotateZ:jv,rotate:jv,skewX:e=>cs(Math.atan(e[4])),skewY:e=>cs(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Rf(e){return e.includes("scale")?1:0}function If(e,t){if(!e||e==="none")return Rf(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=lO,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=aO,s=l}if(!s)return Rf(t);const i=r[t],o=s[1].split(",").map(uO);return typeof i=="function"?i(o):o[i]}const cO=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return If(n,t)};function uO(e){return parseFloat(e.trim())}const ro=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],so=new Set(ro),Nv=e=>e===no||e===F,dO=new Set(["x","y","z"]),hO=ro.filter(e=>!dO.has(e));function fO(e){const t=[];return hO.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const _r={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-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})=>If(t,"x"),y:(e,{transform:t})=>If(t,"y")};_r.translateX=_r.x;_r.translateY=_r.y;const xs=new Set;let Of=!1,Df=!1,Lf=!1;function j2(){if(Df){const e=Array.from(xs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=fO(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var l;(l=r.getValue(i))==null||l.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Df=!1,Of=!1,xs.forEach(e=>e.complete(Lf)),xs.clear()}function _2(){xs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Df=!0)})}function pO(){Lf=!0,_2(),j2(),Lf=!1}class Hm{constructor(t,n,r,s,i,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(xs.add(this),Of||(Of=!0,ae.read(_2),ae.resolveKeyframes(j2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),o=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,o);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=o),s&&i===void 0&&s.set(t[0])}oO(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),xs.delete(this)}cancel(){this.state==="scheduled"&&(xs.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const mO=e=>e.startsWith("--");function E2(e,t,n){mO(t)?e.style.setProperty(t,n):e.style[t]=n}const gO={};function N2(e,t){const n=e2(e);return()=>gO[t]??n()}const yO=N2(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),T2=N2(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Eo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Tv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Eo([0,.65,.55,1]),circOut:Eo([.55,0,1,.45]),backIn:Eo([.31,.01,.66,-.59]),backOut:Eo([.33,1.53,.69,.99])};function C2(e,t){if(e)return typeof e=="function"?T2()?b2(e,t):"ease-out":d2(e)?Eo(e):Array.isArray(e)?e.map(n=>C2(n,t)||Tv.easeOut):Tv[e]}function vO(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const h=C2(l,s);Array.isArray(h)&&(d.easing=h);const f={delay:r,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(d,f)}function A2(e){return typeof e=="function"&&"applyToOptions"in e}function xO({type:e,...t}){return A2(e)&&T2()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class P2 extends Wm{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=t,qi(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=xO(t);this.animation=vO(n,r,s,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=Fu(s,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(d),E2(n,r,d),this.animation.cancel()}c==null||c(),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 n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}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 Dt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Dt(t)}get time(){return Dt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=mt(t),n&&this.animation.pause()}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,rangeStart:n,rangeEnd:r,observe:s}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&yO()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),Mt):s(this)}}const R2={anticipate:a2,backInOut:o2,circInOut:c2};function wO(e){return e in R2}function bO(e){typeof e.ease=="string"&&wO(e.ease)&&(e.ease=R2[e.ease])}const Ud=10;class kO extends P2{constructor(t){bO(t),S2(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new Kc({...o,autoplay:!1}),c=Math.max(Ud,rt.now()-this.startTime),u=Pn(0,Ud,c-Ud),d=l.sample(c).value,{name:h}=this.options;i&&h&&E2(i,h,d),n.setWithVelocity(l.sample(Math.max(0,c-u)).value,d,u),l.stop()}}const Cv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(rn.test(e)||e==="0")&&!e.startsWith("url("));function SO(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 jO(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],o=Cv(s,t),l=Cv(i,t);return $u(o===l,`You are trying to animate ${t} from "${s}" to "${i}". "${o?i:s}" is not an animatable value.`,"value-not-animatable"),!o||!l?!1:SO(e)||(n==="spring"||A2(n))&&r}function Mf(e){e.duration=0,e.type="keyframes"}const I2=new Set(["opacity","clipPath","filter","transform"]),_O=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function EO(e){for(let t=0;t<e.length;
235t++)if(typeof e[t]=="string"&&_O.test(e[t]))return!0;return!1}const NO=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),TO=e2(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function CO(e){var h;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,type:o,keyframes:l}=e;if(!(((h=t==null?void 0:t.owner)==null?void 0:h.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return TO()&&n&&(I2.has(n)||NO.has(n)&&EO(l))&&(n!=="transform"||!d)&&!u&&!r&&s!=="mirror"&&i!==0&&o!=="inertia"}const AO=40;class PO extends Wm{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o="loop",keyframes:l,name:c,motionValue:u,element:d,...h}){var x;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=rt.now();const f={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,name:c,motionValue:u,element:d,...h},p=(d==null?void 0:d.KeyframeResolver)||Hm;this.keyframeResolver=new p(l,(m,w,y)=>this.onKeyframesResolved(m,w,f,!y),c,u,d),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,s){var y,g;this.keyframeResolver=void 0;const{name:i,type:o,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=rt.now();let h=!0;jO(t,i,o,l)||(h=!1,($r.instantAnimations||!c)&&(d==null||d(Fu(t,r,n))),t[0]=t[t.length-1],Mf(r),r.repeat=0);const p={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>AO?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},x=h&&!u&&CO(p),m=(g=(y=p.motionValue)==null?void 0:y.owner)==null?void 0:g.current;let w;if(x)try{w=new kO({...p,element:m})}catch{w=new Kc(p)}else w=new Kc(p);w.finished.then(()=>{this.notifyFinished()}).catch(Mt),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}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(),pO()),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 O2(e,t,n,r=0,s=1){const i=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),o=e.size,l=(o-1)*r;return typeof n=="function"?n(i,o):s===1?i*r:l-i*r}const RO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function IO(e){const t=RO.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const OO=4;function D2(e,t,n=1){qi(n<=OO,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=IO(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return Qk(o)?parseFloat(o):o}return Fm(s)?D2(s,t,n+1):s}const DO={type:"spring",stiffness:500,damping:25,restSpeed:10},LO=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),MO={type:"keyframes",duration:.8},$O={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},FO=(e,{keyframes:t})=>t.length>2?MO:so.has(e)?e.startsWith("scale")?LO(t[1]):DO:$O;function L2(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Km(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?L2(n,e):n}const BO=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function UO(e){for(const t in e)if(!BO.has(t))return!0;return!1}const qm=(e,t,n,r={},s,i)=>o=>{const l=Km(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-mt(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:f=>{t.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:s};UO(l)||Object.assign(d,FO(e,d)),d.duration&&(d.duration=mt(d.duration)),d.repeatDelay&&(d.repeatDelay=mt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let h=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Mf(d),d.delay===0&&(h=!0)),($r.instantAnimations||$r.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(h=!0,Mf(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,h&&!i&&t.get()!==void 0){const f=Fu(d.keyframes,l);if(f!==void 0){ae.update(()=>{d.onUpdate(f),d.onComplete()});return}}return l.isSync?new Kc(d):new PO(d)};function Av(e){const t=[{},{}];
vendor: 64,765 bytes, line 235
235return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Gm(e,t,n,r){if(typeof t=="function"){const[s,i]=Av(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=Av(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function ws(e,t,n){const r=e.getProps();return Gm(r,t,n!==void 0?n:r.custom,e)}const M2=new Set(["width","height","top","left","right","bottom",...ro]),Pv=30,VO=e=>!isNaN(parseFloat(e));class zO{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=rt.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.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=rt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=VO(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Lm);const r=this.events[t].add(n);return t==="change"?()=>{r(),ae.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=rt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Pv)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Pv);return t2(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 Yi(e,t){return new zO(e,t)}const $f=e=>Array.isArray(e);function WO(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Yi(n))}function HO(e){return $f(e)?e[e.length-1]||0:e}function KO(e,t){const n=ws(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const l=HO(i[o]);WO(e,o,l)}}const Ve=e=>!!(e&&e.getVelocity);function qO(e){return!!(Ve(e)&&e.add)}function Ff(e,t){const n=e.getValue("willChange");if(qO(n))return n.add(t);if(!n&&$r.WillChange){const r=new $r.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Ym(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const GO="framerAppearId",$2="data-"+Ym(GO);function F2(e){return e.props[$2]}function YO({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function B2(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i,transitionEnd:o,...l}=t;const c=e.getDefaultTransition();i=i?L2(i,c):c;const u=i==null?void 0:i.reduceMotion;r&&(i=r);const d=[],h=s&&e.animationState&&e.animationState.getState()[s];for(const f in l){const p=e.getValue(f,e.latestValues[f]??null),x=l[f];if(x===void 0||h&&YO(h,f))continue;const m={delay:n,...Km(i||{},f)},w=p.get();if(w!==void 0&&!p.isAnimating()&&!Array.isArray(x)&&x===w&&!m.velocity){ae.update(()=>p.set(x));continue}let y=!1;if(window.MotionHandoffAnimation){const k=F2(e);if(k){const S=window.MotionHandoffAnimation(k,f,ae);S!==null&&(m.startTime=S,y=!0)}}Ff(e,f);const g=u??e.shouldReduceMotion;p.start(qm(f,p,x,g&&M2.has(f)?{type:!1}:m,e,y));const v=p.animation;v&&d.push(v)}if(o){const f=()=>ae.update(()=>{o&&KO(e,o)});d.length?Promise.all(d).then(f):f()}return d}function Bf(e,t,n={}){var c;const r=ws(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(B2(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:f}=s;return JO(e,t,u,d,h,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,d]=l==="beforeChildren"?[i,o]:[o,i];return u().then(()=>d())}else return Promise.all([i(),o(n.delay)])}function JO(e,t,n=0,r=0,s=0,i=1,o){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(Bf(c,t,{...o,delay:n+(typeof r=="function"?0:r)+O2(e.variantChildren,c,r,s,i)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function QO(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>Bf(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=Bf(e,t,n);else{const s=typeof t=="function"?ws(e,t,n.custom):t;r=Promise.all(B2(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const XO={test:e=>e==="auto",parse:e=>e},U2=e=>t=>t.test(e),V2=[no,F,Nn,ar,SI,kI,XO],Rv=e=>V2.find(U2(e));function ZO(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Zk(e):!0}const eD=new Set(["brightness","contrast","saturate","opacity"]);function tD(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Bm)||[];if(!r)return e;const s=n.replace(r,"");let i=eD.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const nD=/\b([a-z-]*)\(.*?\)/gu,Uf={...rn,getAnimatableNone:e=>{const t=e.match(nD);return t?t.map(tD).join(" "):e}},Vf={...rn,getAnimatableNone:e=>{const t=rn.parse(e);return rn.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Iv={...no,transform:Math.round},rD={rotate:ar,rotateX:ar,rotateY:ar,rotateZ:ar,scale:bl,scaleX:bl,scaleY:bl,scaleZ:bl,skew:ar,skewX:ar,skewY:ar,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:ya,originX:xv,originY:xv,originZ:F},Jm={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...rD,zIndex:Iv,fillOpacity:ya,strokeOpacity:ya,numOctaves:Iv},sD={...Jm,color:Ae,backgroundColor:Ae,outlineColor:Ae,fill:Ae,stroke:Ae,borderColor:Ae,borderTopColor:Ae,borderRightColor:Ae,borderBottomColor:Ae,borderLeftColor:Ae,filter:Uf,WebkitFilter:Uf,mask:Vf,WebkitMask:Vf},z2=e=>sD[e],iD=new Set([Uf,Vf]);function W2(e,t){let n=z2(e);return iD.has(n)||(n=rn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const oD=new Set(["auto","none","0"]);function aD(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!oD.has(i)&&Gi(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=W2(n,s)}class lD extends Hm{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let h=t[d];if(typeof h=="string"&&(h=h.trim(),Fm(h))){const f=D2(h,n.current);f!==void 0&&(t[d]=f),d===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!M2.has(r)||t.length!==2)return;const[s,i]=t,o=Rv(s),l=Rv(i),c=vv(s),u=vv(i);if(c!==u&&_r[r]){this.needsMeasurement=!0;return}if(o!==l)if(Nv(o)&&Nv(l))for(let d=0;d<t.length;d++){const h=t[d];typeof h=="string"&&(t[d]=parseFloat(h))}else _r[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||ZO(t[s]))&&r.push(s);r.length&&aD(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=_r[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var l;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,o=r[i];r[i]=_r[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function H2(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const K2=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function cD(e){return Xk(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Qm,cancel:zU}=h2(queueMicrotask,!1),qt={x:!1,y:!1};function q2(){return qt.x||qt.y}function uD(e){return e==="x"||e==="y"?qt[e]?null:(qt[e]=!0,()=>{qt[e]=!1}):qt.x||qt.y?null:(qt.x=qt.y=!0,()=>{qt.x=qt.y=!1})}function G2(e,t){const n=H2(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function dD(e){return!(e.pointerType==="touch"||q2())}function hD(e,t,n={}){const[r,s,i]=G2(e,n);return r.forEach(o=>{let l=!1,c=!1,u;const d=()=>{o.removeEventListener("pointerleave",x)},h=w=>{u&&(u(w),u=void 0),d()},f=w=>{l=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),c&&(c=!1,h(w))},p=()=>{l=!0,window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",f,s)},x=w=>{if(w.pointerType!=="touch"){if(l){c=!0;return}h(w)}},m=w=>{if(!dD(w))return;c=!1;const y=t(o,w);typeof y=="function"&&(u=y,o.addEventListener("pointerleave",x,s))};o.addEventListener("pointerenter",m,s),o.addEventListener("pointerdown",p,s)}),i}const Y2=(e,t)=>t?e===t?!0:Y2(e,t.parentElement):!1,Xm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,fD=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function pD(e){return fD.has(e.tagName)||e.isContentEditable===!0}const mD=new Set(["INPUT","SELECT","TEXTAREA"]);function gD(e){return mD.has(e.tagName)||e.isContentEditable===!0}const Zl=new WeakSet;function Ov(e){return t=>{t.key==="Enter"&&e(t)}}function Vd(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const yD=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Ov(()=>{if(Zl.has(n))return;Vd(n,"down");const s=Ov(()=>{Vd(n,"up")}),i=()=>Vd(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Dv(e){return Xm(e)&&!q2()}const Lv=new WeakSet;function vD(e,t,n={}){const[r,s,i]=G2(e,n),o=l=>{const c=l.currentTarget;if(!Dv(l)||Lv.has(l))return;Zl.add(c),n.stopPropagation&&Lv.add(l);const u=t(c,l),d=(p,x)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Zl.has(c)&&Zl.delete(c),Dv(p)&&typeof u=="function"&&u(p,{success:x})},h=p=>{d(p,c===window||c===document||n.useGlobalTarget||Y2(c,p.target))},f=p=>{d(p,!1)};window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",f,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,s),cD(l)&&(l.addEventListener("focus",u=>yD(u,s)),!pD(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),i}function Zm(e){return Xk(e)&&"ownerSVGElement"in e}const ec=new WeakMap;let lr;const J2=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:Zm(r)&&"getBBox"in r?r.getBBox()[t]:r[n],xD=J2("inline","width","offsetWidth"),wD=J2("block","height","offsetHeight");function bD({target:e,borderBoxSize:t}){var n;(n=ec.get(e))==null||n.forEach(r=>{r(e,{get width(){return xD(e,t)},get height(){return wD(e,t)}})})}function kD(e){e.forEach(bD)}function SD(){typeof ResizeObserver>"u"||(lr=new ResizeObserver(kD))}function jD(e,t){lr||SD();const n=H2(e);return n.forEach(r=>{let s=ec.get(r);s||(s=new Set,ec.set(r,s)),s.add(t),lr==null||lr.observe(r)}),()=>{n.forEach(r=>{const s=ec.get(r);s==null||s.delete(t),s!=null&&s.size||lr==null||lr.unobserve(r)})}}const tc=new Set;let mi;function _D(){mi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};tc.forEach(t=>t(e))},window.addEventListener("resize",mi)}function ED(e){return tc.add(e),mi||_D(),()=>{tc.delete(e),!tc.size&&typeof mi=="function"&&(window.removeEventListener("resize",mi),mi=void 0)}}function Mv(e,t){return typeof e=="function"?ED(e):jD(e,t)}function ND(e){return Zm(e)&&e.tagName==="svg"}const TD=[...V2,Ae,rn],CD=e=>TD.find(U2(e)),$v=()=>({translate:0,scale:1,origin:0,originPoint:0}),gi=()=>({x:$v(),y:$v()}),Fv=()=>({min:0,max:0}),Re=()=>({x:Fv(),y:Fv()}),AD=new WeakMap;function Bu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function va(e){return typeof e=="string"||Array.isArray(e)}const eg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tg=["initial",...eg];function Uu(e){return Bu(e.animate)||tg.some(t=>va(e[t]))}function Q2(e){return!!(Uu(e)||e.variants)}function PD(e,t,n){for(const r in t){const s=t[r],i=n[r];if(Ve(s))e.addValue(r,s);else if(Ve(i))e.addValue(r,Yi(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,Yi(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const zf={current:null},X2={current:!1},RD=typeof window<"u";function ID(){if(X2.current=!0,!!RD)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>zf.current=e.matches;e.addEventListener("change",t),t()}else zf.current=!1}const Bv=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let qc={};function Z2(e){qc=e}function OD(){return qc}class DD{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:i,blockInitialAnimation:o,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Hm,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 p=rt.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,ae.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=i,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=Uu(n),this.isVariantNode=Q2(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in f){const x=f[p];u[p]!==void 0&&Ve(x)&&x.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,AD.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((s,i)=>this.bindToMotionValue(i,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(X2.current||ID(),this.shouldReduceMotion=zf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Fr(this.notifyUpdate),Fr(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){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&I2.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:l,times:c,ease:u,duration:d}=n.accelerate,h=new P2({element:this.current,name:t,keyframes:l,times:c,ease:u,duration:mt(d)}),f=o(h);this.valueSubscriptions.set(t,()=>{f(),h.cancel()});return}const r=so.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&ae.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),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 qc){const n=qc[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Re()}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<Bv.length;r++){const s=Bv[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,o=t[i];o&&(this.propEventSubscriptions[s]=this.on(s,o))}this.prevMotionValues=PD(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=Yi(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"&&(Qk(r)||Zk(r))?r=parseFloat(r):!CD(r)&&rn.test(n)&&(r=W2(t,n)),this.setBaseTarget(t,Ve(r)?r.get():r)),Ve(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Gm(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Ve(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Lm),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Qm.render(this.render)}}class eS extends DD{constructor(){super(...arguments),this.KeyframeResolver=lD}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;Ve(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class zr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function tS({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function LD({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function MD(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 zd(e){return e===void 0||e===1}function Wf({scale:e,scaleX:t,scaleY:n}){return!zd(e)||!zd(t)||!zd(n)}function ns(e){return Wf(e)||nS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function nS(e){return Uv(e.x)||Uv(e.y)}function Uv(e){return e&&e!=="0%"}function Gc(e,t,n){const r=e-n,s=t*r;return n+s}function Vv(e,t,n,r,s){return s!==void 0&&(e=Gc(e,s,r)),Gc(e,n,r)+t}function Hf(e,t=0,n=1,r,s){e.min=Vv(e.min,t,n,r,s),e.max=Vv(e.max,t,n,r,s)}function rS(e,{x:t,y:n}){Hf(e.x,t.translate,t.scale,t.originPoint),Hf(e.y,n.translate,n.scale,n.originPoint)}const zv=.999999999999,Wv=1.0000000000001;function $D(e,t,n,r=!1){var l;const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let c=0;c<s;c++){i=n[c],o=i.projectionDelta;const{visualElement:u}=i.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(xn(e.x,-i.scroll.offset.x),xn(e.y,-i.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,rS(e,o)),r&&ns(i.latestValues)&&nc(e,i.latestValues,(l=i.layout)==null?void 0:l.layoutBox))}t.x<Wv&&t.x>zv&&(t.x=1),t.y<Wv&&t.y>zv&&(t.y=1)}function xn(e,t){e.min+=t,e.max+=t}function Hv(e,t,n,r,s=.5){const i=fe(e.min,e.max,s);Hf(e,t,n,i,r)}function Kv(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function nc(e,t,n){const r=n??e;Hv(e.x,Kv(t.x,r.x),t.scaleX,t.scale,t.originX),Hv(e.y,Kv(t.y,r.y),t.scaleY,t.scale,t.originY)}function sS(e,t){return tS(MD(e.getBoundingClientRect(),t))}function FD(e,t,n){const r=sS(e,n),{scroll:s}=t;return s&&(xn(r.x,s.offset.x),xn(r.y,s.offset.y)),r}const BD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},UD=ro.length;function VD(e,t,n){let r="",s=!0;for(let i=0;i<UD;i++){const o=ro[i],l=e[o];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(o.startsWith("scale")?1:0);else{const u=parseFloat(l);c=o.startsWith("scale")?u===1:u===0}if(!c||n){const u=K2(l,Jm[o]);if(!c){s=!1;const d=BD[o]||o;r+=`${d}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function ng(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let o=!1,l=!1;for(const c in t){const u=t[c];if(so.has(c)){o=!0;continue}else if(p2(c)){s[c]=u;continue}else{const d=K2(u,Jm[c]);c.startsWith("origin")?(l=!0,i[c]=d):r[c]=d}}if(t.transform||(o||n?r.transform=VD(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=i;r.transformOrigin=`${c} ${u} ${d}`}}function iS(e,{style:t,vars:n},r,s){const i=e.style;let o;for(o in t)i[o]=t[o];s==null||s.applyProjectionStyles(i,r);for(o in n)i.setProperty(o,n[o])}function qv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const wo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;const n=qv(e,t.target.x),r=qv(e,t.target.y);return`${n}% ${r}%`}},zD={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=rn.parse(e);if(s.length>5)return r;const i=rn.createTransformer(e),o=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+o]/=l,s[1+o]/=c;const u=fe(l,c,.5);return typeof s[2+o]=="number"&&(s[2+o]/=u),typeof s[3+o]=="number"&&(s[3+o]/=u),i(s)}},Kf={borderRadius:{...wo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:wo,borderTopRightRadius:wo,borderBottomLeftRadius:wo,borderBottomRightRadius:wo,boxShadow:zD};function oS(e,{layout:t,layoutId:n}){return so.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Kf[e]||e==="opacity")}function rg(e,t,n){var o;const r=e.style,s=t==null?void 0:t.style,i={};if(!r)return i;for(const l in r)(Ve(r[l])||s&&Ve(s[l])||oS(l,e)||((o=n==null?void 0:n.getValue(l))==null?void 0:o.liveStyle)!==void 0)&&(i[l]=r[l]);return i}function WD(e){return window.getComputedStyle(e)}class HD extends eS{constructor(){super(...arguments),this.type="html",this.renderInstance=iS}readValueFromInstance(t,n){var r;if(so.has(n))return(r=this.projection)!=null&&r.isProjecting?Rf(n):cO(t,n);{const s=WD(t),i=(p2(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return sS(t,n)}build(t,n,r){ng(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return rg(t,n,r)}}const KD={offset:"stroke-dashoffset",array:"stroke-dasharray"},qD={offset:"strokeDashoffset",array:"strokeDasharray"};function GD(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?KD:qD;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const YD=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function aS(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:o=0,...l},c,u,d){if(ng(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:f}=e;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete h.transformBox);for(const p of YD)h[p]!==void 0&&(f[p]=h[p],delete h[p]);t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),s!==void 0&&GD(h,s,i,o,!1)}const lS=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"]),cS=e=>typeof e=="string"&&e.toLowerCase()==="svg";function JD(e,t,n,r){iS(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(lS.has(s)?s:Ym(s),t.attrs[s])}function uS(e,t,n){const r=rg(e,t,n);for(const s in e)if(Ve(e[s])||Ve(t[s])){const i=ro.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}class QD extends eS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Re}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(so.has(n)){const r=z2(n);return r&&r.default||0}return n=lS.has(n)?n:Ym(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return uS(t,n,r)}build(t,n,r){aS(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){JD(t,n,r,s)}mount(t){this.isSVGTag=cS(t.tagName),super.mount(t)}}const XD=tg.length;function dS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?dS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<XD;n++){const r=tg[n],s=e.props[r];(va(s)||s===!1)&&(t[r]=s)}return t}function hS(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 ZD=[...eg].reverse(),e9=eg.length;function t9(e){return t=>Promise.all(t.map(({animation:n,options:r})=>QO(e,n,r)))}function n9(e){let t=t9(e),n=Gv(),r=!0,s=!1;const i=u=>(d,h)=>{var p;const f=ws(e,h,u==="exit"?(p=e.presenceContext)==null?void 0:p.custom:void 0);if(f){const{transition:x,transitionEnd:m,...w}=f;d={...d,...w,...m}}return d};function o(u){t=u(e)}function l(u){const{props:d}=e,h=dS(e.parent)||{},f=[],p=new Set;let x={},m=1/0;for(let y=0;y<e9;y++){const g=ZD[y],v=n[g],k=d[g]!==void 0?d[g]:h[g],S=va(k),_=g===u?v.isActive:null;_===!1&&(m=y);let j=k===h[g]&&k!==d[g]&&S;if(j&&(r||s)&&e.manuallyAnimateOnMount&&(j=!1),v.protectedKeys={...x},!v.isActive&&_===null||!k&&!v.prevProp||Bu(k)||typeof k=="boolean")continue;if(g==="exit"&&v.isActive&&_!==!0){v.prevResolvedValues&&(x={...x,...v.prevResolvedValues});continue}const E=r9(v.prevProp,k);let C=E||g===u&&v.isActive&&!j&&S||y>m&&S,T=!1;const M=Array.isArray(k)?k:[k];let O=M.reduce(i(g),{});_===!1&&(O={});const{prevResolvedValues:W={}}=v,D={...W,...O},q=N=>{C=!0,p.has(N)&&(T=!0,p.delete(N)),v.needsAnimating[N]=!0;const A=e.getValue(N);A&&(A.liveStyle=!1)};for(const N in D){const A=O[N],L=W[N];if(x.hasOwnProperty(N))continue;let H=!1;$f(A)&&$f(L)?H=!hS(A,L):H=A!==L,H?A!=null?q(N):p.add(N):A!==void 0&&p.has(N)?q(N):v.protectedKeys[N]=!0}v.prevProp=k,v.prevResolvedValues=O,v.isActive&&(x={...x,...O}),(r||s)&&e.blockInitialAnimation&&(C=!1);const U=j&&E;C&&(!U||T)&&f.push(...M.map(N=>{const A={type:g};if(typeof N=="string"&&(r||s)&&!U&&e.manuallyAnimateOnMount&&e.parent){const{parent:L}=e,H=ws(L,N);if(L.enteringChildren&&H){const{delayChildren:z}=H.transition||{};A.delay=O2(L.enteringChildren,e,z)}}return{animation:N,options:A}}))}if(p.size){const y={};if(typeof d.initial!="boolean"){const g=ws(e,Array.isArray(d.initial)?d.initial[0]:d.initial);g&&g.transition&&(y.transition=g.transition)}p.forEach(g=>{const v=e.getBaseTarget(g),k=e.getValue(g);k&&(k.liveStyle=!0),y[g]=v??null}),f.push({animation:y})}let w=!!f.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,s=!1,w?t(f):Promise.resolve()}function c(u,d){var f;if(n[u].isActive===d)return Promise.resolve();(f=e.variantChildren)==null||f.forEach(p=>{var x;return(x=p.animationState)==null?void 0:x.setActive(u,d)}),n[u].isActive=d;const h=l(u);for(const p in n)n[p].protectedKeys={};return h}return{animateChanges:l,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Gv(),s=!0}}}function r9(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!hS(t,e):!1}function qr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gv(){return{animate:qr(!0),whileInView:qr(),whileHover:qr(),whileTap:qr(),whileDrag:qr(),whileFocus:qr(),exit:qr()}}function qf(e,t){e.min=t.min,e.max=t.max}function Ht(e,t){qf(e.x,t.x),qf(e.y,t.y)}function Yv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const fS=1e-4,s9=1-fS,i9=1+fS,pS=.01,o9=0-pS,a9=0+pS;function st(e){return e.max-e.min}function l9(e,t,n){return Math.abs(e-t)<=n}function Jv(e,t,n,r=.5){e.origin=r,e.originPoint=fe(t.min,t.max,e.origin),e.scale=st(n)/st(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=s9&&e.scale<=i9||isNaN(e.scale))&&(e.scale=1),(e.translate>=o9&&e.translate<=a9||isNaN(e.translate))&&(e.translate=0)}function zo(e,t,n,r){Jv(e.x,t.x,n.x,r?r.originX:void 0),Jv(e.y,t.y,n.y,r?r.originY:void 0)}function Qv(e,t,n,r=0){const s=r?fe(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+st(t)}function c9(e,t,n,r){Qv(e.x,t.x,n.x,r==null?void 0:r.x),Qv(e.y,t.y,n.y,r==null?void 0:r.y)}function Xv(e,t,n,r=0){const s=r?fe(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+st(t)}function Yc(e,t,n,r){Xv(e.x,t.x,n.x,r==null?void 0:r.x),Xv(e.y,t.y,n.y,r==null?void 0:r.y)}function Zv(e,t,n,r,s){return e-=t,e=Gc(e,1/n,r),s!==void 0&&(e=Gc(e,1/s,r)),e}function u9(e,t=0,n=1,r=.5,s,i=e,o=e){if(Nn.test(t)&&(t=parseFloat(t),t=fe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=fe(i.min,i.max,r);e===i&&(l-=t),e.min=Zv(e.min,t,n,l,s),e.max=Zv(e.max,t,n,l,s)}function e0(e,t,[n,r,s],i,o){u9(e,t[n],t[r],t[s],t.scale,i,o)}const d9=["x","scaleX","originX"],h9=["y","scaleY","originY"];function t0(e,t,n,r){e0(e.x,t,d9,n?n.x:void 0,r?r.x:void 0),e0(e.y,t,h9,n?n.y:void 0,r?r.y:void 0)}function n0(e){return e.translate===0&&e.scale===1}function mS(e){return n0(e.x)&&n0(e.y)}function r0(e,t){return e.min===t.min&&e.max===t.max}function f9(e,t){return r0(e.x,t.x)&&r0(e.y,t.y)}function s0(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function gS(e,t){return s0(e.x,t.x)&&s0(e.y,t.y)}function i0(e){return st(e.x)/st(e.y)}function o0(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function pn(e){return[e("x"),e("y")]}function p9(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:h,rotateY:f,skewX:p,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),h&&(r+=`rotateX(${h}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),x&&(r+=`skewY(${x}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const yS=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],m9=yS.length,a0=e=>typeof e=="string"?parseFloat(e):e,l0=e=>typeof e=="number"||F.test(e);function g9(e,t,n,r,s,i){s?(e.opacity=fe(0,n.opacity??1,y9(r)),e.opacityExit=fe(t.opacity??1,0,v9(r))):i&&(e.opacity=fe(t.opacity??1,n.opacity??1,r));for(let o=0;o<m9;o++){const l=yS[o];let c=c0(t,l),u=c0(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||l0(c)===l0(u)?(e[l]=Math.max(fe(a0(c),a0(u),r),0),(Nn.test(u)||Nn.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,r))}function c0(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const y9=vS(0,.5,l2),v9=vS(.5,.95,Mt);function vS(e,t,n){return r=>r<e?0:r>t?1:n(ga(e,t,r))}function x9(e,t,n){const r=Ve(e)?e:Yi(e);return r.start(qm("",r,t,n)),r.animation}function xa(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const w9=(e,t)=>e.depth-t.depth;class b9{constructor(){this.children=[],this.isDirty=!1}add(t){Dm(this.children,t),this.isDirty=!0}remove(t){Vc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(w9),this.isDirty=!1,this.children.forEach(t)}}function k9(e,t){const n=rt.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(Fr(r),e(i-t))};return ae.setup(r,!0),()=>Fr(r)}function rc(e){return Ve(e)?e.get():e}class S9{constructor(){this.members=[]}add(t){Dm(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(Vc(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Vc(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){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:o}=t.options;(i===void 0||i!==o)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,i,o;(r=(n=t.options).onExitComplete)==null||r.call(n),(o=(s=t.resumingFrom)==null?void 0:(i=s.options).onExitComplete)==null||o.call(i)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const sc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wd=["","X","Y","Z"],j9=1e3;let _9=0;function Hd(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function xS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=F2(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ae,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&xS(r)}function wS({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},l=t==null?void 0:t()){this.id=_9++,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(T9),this.nodes.forEach(O9),this.nodes.forEach(D9),this.nodes.forEach(C9)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new b9)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Lm),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const c=this.eventHandlers.get(o);c&&c.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Zm(o)&&!ND(o),this.instance=o;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,h=0;const f=()=>this.root.updateBlockedByResize=!1;ae.read(()=>{h=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==h&&(h=p,this.root.updateBlockedByResize=!0,d&&d(),d=k9(f,250),sc.hasAnimatedSinceResize&&(sc.hasAnimatedSinceResize=!1,this.nodes.forEach(h0)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||B9,{onLayoutAnimationStart:m,onLayoutAnimationComplete:w}=u.getProps(),y=!this.targetLayout||!gS(this.targetLayout,p),g=!h&&f;if(this.options.layoutRoot||this.resumeFrom||g||h&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...Km(x,"layout"),onPlay:m,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(d,g)}else h||h0(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(),Fr(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(L9),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&&xS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const h=this.path[d];h.shouldResetTransform=!0,(typeof h.latestValues.x=="string"||typeof h.latestValues.y=="string")&&(h.isLayoutDirty=!0),h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(P9),this.nodes.forEach(u0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(d0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(R9),this.nodes.forEach(I9),this.nodes.forEach(E9),this.nodes.forEach(N9)):this.nodes.forEach(d0),this.clearAllSnapshots();const l=rt.now();Ue.delta=Pn(0,1e3/60,l-Ue.timestamp),Ue.timestamp=l,Ue.isProcessing=!0,Ld.update.process(Ue),Ld.preRender.process(Ue),Ld.render.process(Ue),Ue.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Qm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(A9),this.sharedNodes.forEach(M9)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ae.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ae.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!st(this.snapshot.measuredBox.x)&&!st(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 c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Re()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!mS(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;o&&this.instance&&(l||ns(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return o&&(c=this.removeTransform(c)),U9(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Re();const l=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(V9))){const{scroll:d}=this.root;d&&(xn(l.x,d.offset.x),xn(l.y,d.offset.y))}return l}removeElementScroll(o){var c;const l=Re();if(Ht(l,o),(c=this.scroll)!=null&&c.wasRoot)return l;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:h,options:f}=d;d!==this.root&&h&&f.layoutScroll&&(h.wasRoot&&Ht(l,o),xn(l.x,h.offset.x),xn(l.y,h.offset.y))}return l}applyTransform(o,l=!1,c){var d,h;const u=c||Re();Ht(u,o);for(let f=0;f<this.path.length;f++){const p=this.path[f];!l&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(xn(u.x,-p.scroll.offset.x),xn(u.y,-p.scroll.offset.y)),ns(p.latestValues)&&nc(u,p.latestValues,(d=p.layout)==null?void 0:d.layoutBox)}return ns(this.latestValues)&&nc(u,this.latestValues,(h=this.layout)==null?void 0:h.layoutBox),u}removeTransform(o){var c;const l=Re();Ht(l,o);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!ns(d.latestValues))continue;let h;d.instance&&(Wf(d.latestValues)&&d.updateSnapshot(),h=Re(),Ht(h,d.measurePageBox())),t0(l,d.latestValues,(c=d.snapshot)==null?void 0:c.layoutBox,h)}return ns(this.latestValues)&&t0(l,this.latestValues),l}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!==Ue.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:h}=this.options;if(!this.layout||!(d||h))return;this.resolvedRelativeTargetAt=Ue.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Re(),this.targetWithTransforms=Re()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),c9(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Ht(this.target,this.layout.layoutBox),rS(this.target,this.targetDelta)):Ht(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Wf(this.parent.latestValues)||nS(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,l,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Re(),this.relativeTargetOrigin=Re(),Yc(this.relativeTargetOrigin,l,c,this.options.layoutAnchor||void 0),Ht(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const o=this.getLead(),l=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ue.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Ht(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;$D(this.layoutCorrected,this.treeScale,this.path,l),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Re());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Yv(this.prevProjectionDelta.x,this.projectionDelta.x),Yv(this.prevProjectionDelta.y,this.projectionDelta.y)),zo(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!o0(this.projectionDelta.x,this.prevProjectionDelta.x)||!o0(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 l;if((l=this.options.visualElement)==null||l.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=gi(),this.projectionDelta=gi(),this.projectionDeltaWithTransform=gi()}setAnimationOrigin(o,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},h=gi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const f=Re(),p=c?c.source:void 0,x=this.layout?this.layout.source:void 0,m=p!==x,w=this.getStack(),y=!w||w.members.length<=1,g=!!(m&&!y&&this.options.crossfade===!0&&!this.path.some(F9));this.animationProgress=0;let v;this.mixTargetDelta=k=>{const S=k/1e3;f0(h.x,o.x,S),f0(h.y,o.y,S),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Yc(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),$9(this.relativeTarget,this.relativeTargetOrigin,f,S),v&&f9(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Re()),Ht(v,this.relativeTarget)),m&&(this.animationValues=d,g9(d,u,this.latestValues,S,g,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var l,c,u;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(Fr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ae.update(()=>{sc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Yi(0)),this.motionValue.jump(0,!1),this.currentAnimation=x9(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),o.onUpdate&&o.onUpdate(d)},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(j9),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=o;if(!(!l||!c||!u)){if(this!==o&&this.layout&&u&&bS(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||Re();const h=st(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+h;const f=st(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}Ht(l,c),nc(l,d),zo(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new S9),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var l;const{layoutId:o}=this.options;return o?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:o}=this.options;return o?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&Hd("z",o,u,this.animationValues);for(let d=0;d<Wd.length;d++)Hd(`rotate${Wd[d]}`,o,u,this.animationValues),Hd(`skew${Wd[d]}`,o,u,this.animationValues);o.render();for(const d in u)o.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);o.scheduleRender()}applyProjectionStyles(o,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=rc(l==null?void 0:l.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=rc(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!ns(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let h=p9(this.projectionDeltaWithTransform,this.treeScale,d);c&&(h=c(d,h)),o.transform=h;const{x:f,y:p}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:o.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const x in Kf){if(d[x]===void 0)continue;const{correct:m,applyTo:w,isCSSVariable:y}=Kf[x],g=h==="none"?d[x]:m(d[x],u);if(w){const v=w.length;for(let k=0;k<v;k++)o[w[k]]=g}else y?this.options.visualElement.renderState.vars[x]=g:o[x]=g}this.options.layoutId&&(o.pointerEvents=u===this?rc(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(u0),this.root.sharedNodes.clear()}}}function E9(e){e.updateLayout()}function N9(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:s}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if(i==="size")pn(h=>{const f=o?t.measuredBox[h]:t.layoutBox[h],p=st(f);f.min=r[h].min,f.max=f.min+p});else if(i==="x"||i==="y"){const h=i==="x"?"y":"x";qf(o?t.measuredBox[h]:t.layoutBox[h],r[h])}else bS(i,t.layoutBox,r)&&pn(h=>{const f=o?t.measuredBox[h]:t.layoutBox[h],p=st(r[h]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+p)});const l=gi();zo(l,r,t.layoutBox);const c=gi();o?zo(c,e.applyTransform(s,!0),t.measuredBox):zo(c,r,t.layoutBox);const u=!mS(l);let d=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:p}=h;if(f&&p){const x=e.options.layoutAnchor||void 0,m=Re();Yc(m,t.layoutBox,f.layoutBox,x);const w=Re();Yc(w,r,p.layoutBox,x),gS(m,w)||(d=!0),h.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=m,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function T9(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 C9(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function A9(e){e.clearSnapshot()}function u0(e){e.clearMeasurements()}function P9(e){e.isLayoutDirty=!0,e.updateLayout()}function d0(e){e.isLayoutDirty=!1}function R9(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function I9(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function h0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function O9(e){e.resolveTargetDelta()}function D9(e){e.calcProjection()}function L9(e){e.resetSkewAndRotation()}function M9(e){e.removeLeadSnapshot()}function f0(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function p0(e,t,n,r){e.min=fe(t.min,n.min,r),e.max=fe(t.max,n.max,r)}function $9(e,t,n,r){p0(e.x,t.x,n.x,r),p0(e.y,t.y,n.y,r)}function F9(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const B9={duration:.45,ease:[.4,0,.1,1]},m0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),g0=m0("applewebkit/")&&!m0("chrome/")?Math.round:Mt;function y0(e){e.min=g0(e.min),e.max=g0(e.max)}function U9(e){y0(e.x),y0(e.y)}function bS(e,t,n){return e==="position"||e==="preserve-aspect"&&!l9(i0(t),i0(n),.2)}function V9(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const z9=wS({attachResizeListener:(e,t)=>xa(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}),Kd={current:void 0},kS=wS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Kd.current){const e=new z9({});e.mount(window),e.setOptions({layoutScroll:!0}),Kd.current=e}return Kd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),SS=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function W9(e=!0){const t=b.useContext(Om);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=b.useId();b.useEffect(()=>{if(e)return s(i)},[e]);const o=b.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const jS=b.createContext({strict:!1}),v0={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 x0=!1;function H9(){if(x0)return;const e={};for(const t in v0)e[t]={isEnabled:n=>v0[t].some(r=>!!n[r])};Z2(e),x0=!0}function _S(){return H9(),OD()}function K9(e){const t=_S();for(const n in e)t[n]={...t[n],...e[n]};Z2(t)}const q9=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","propagate","ignoreStrict","viewport"]);function Jc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||q9.has(e)}let ES=e=>!Jc(e);function G9(e){typeof e=="function"&&(ES=t=>t.startsWith("on")?!Jc(t):e(t))}try{G9(require("@emotion/is-prop-valid").default)}catch{}function Y9(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||Ve(e[s])||(ES(s)||n===!0&&Jc(s)||!t&&!Jc(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Vu=b.createContext({});function J9(e,t){if(Uu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||va(n)?n:void 0,animate:va(r)?r:void 0}}return e.inherit!==!1?t:{}}function Q9(e){const{initial:t,animate:n}=J9(e,b.useContext(Vu));return b.useMemo(()=>({initial:t,animate:n}),[w0(t),w0(n)])}function w0(e){return Array.isArray(e)?e.join(" "):e}const sg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function NS(e,t,n){for(const r in t)!Ve(t[r])&&!oS(r,n)&&(e[r]=t[r])}function X9({transformTemplate:e},t){return b.useMemo(()=>{const n=sg();return ng(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Z9(e,t){const n=e.style||{},r={};return NS(r,n,e),Object.assign(r,X9(e,t)),r}function eL(e,t){const n={},r=Z9(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"}
235`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const TS=()=>({...sg(),attrs:{}});function tL(e,t,n,r){const s=b.useMemo(()=>{const i=TS();return aS(i,t,cS(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};NS(i,e.style,e),s.style={...i,...s.style}}return s}const nL=["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 ig(e){return typeof e!="string"||e.includes("-")?!1:!!(nL.indexOf(e)>-1||/[A-Z]/u.test(e))}function rL(e,t,n,{latestValues:r},s,i=!1,o){const c=(o??ig(e)?tL:eL)(t,r,s,e),u=Y9(t,typeof e=="string",i),d=e!==b.Fragment?{...u,...c,ref:n}:{},{children:h}=t,f=b.useMemo(()=>Ve(h)?h.get():h,[h]);return b.createElement(e,{...d,children:f})}function sL({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:iL(n,r,s,e),renderState:t()}}function iL(e,t,n,r){const s={},i=r(e,{});for(const f in i)s[f]=rc(i[f]);let{initial:o,animate:l}=e;const c=Uu(e),u=Q2(e);t&&u&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||o===!1;const h=d?l:o;if(h&&typeof h!="boolean"&&!Bu(h)){const f=Array.isArray(h)?h:[h];for(let p=0;p<f.length;p++){const x=Gm(e,f[p]);if(x){const{transitionEnd:m,transition:w,...y}=x;for(const g in y){let v=y[g];if(Array.isArray(v)){const k=d?v.length-1:0;v=v[k]}v!==null&&(s[g]=v)}for(const g in m)s[g]=m[g]}}}return s}const CS=e=>(t,n)=>{const r=b.useContext(Vu),s=b.useContext(Om),i=()=>sL(e,t,r,s);return n?i():nI(i)},oL=CS({scrapeMotionValuesFromProps:rg,createRenderState:sg}),aL=CS({scrapeMotionValuesFromProps:uS,createRenderState:TS}),lL=Symbol.for("motionComponentSymbol");function cL(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const s=b.useRef(null);return b.useCallback(i=>{var l;i&&((l=e.onMount)==null||l.call(e,i));const o=r.current;if(typeof o=="function")if(i){const c=o(i);typeof c=="function"&&(s.current=c)}else s.current?(s.current(),s.current=null):o(i);else o&&(o.current=i);t&&(i?t.mount(i):t.unmount())},[t])}const AS=b.createContext({});function Qs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function uL(e,t,n,r,s,i){var v,k;const{visualElement:o}=b.useContext(Vu),l=b.useContext(jS),c=b.useContext(Om),u=b.useContext(SS),d=u.reducedMotion,h=u.skipAnimations,f=b.useRef(null),p=b.useRef(!1);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:h,isSVG:i}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const x=f.current,m=b.useContext(AS);x&&!x.projection&&s&&(x.type==="html"||x.type==="svg")&&dL(f.current,n,s,m);const w=b.useRef(!1);b.useInsertionEffect(()=>{x&&w.current&&x.update(n,c)});const y=n[$2],g=b.useRef(!!y&&typeof window<"u"&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,y))&&((k=window.MotionHasOptimisedAnimation)==null?void 0:k.call(window,y)));return sI(()=>{p.current=!0,x&&(w.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),g.current&&x.animationState&&x.animationState.animateChanges())}),b.useEffect(()=>{x&&(!g.current&&x.animationState&&x.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)==null||S.call(window,y)}),g.current=!1),x.enteringChildren=void 0)}),x}function dL(e,t,n,r){const{layoutId:s,layout:i,drag:o,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutAnchor:d,layoutCrossfade:h}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:PS(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||l&&Qs(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:c,layoutRoot:u,layoutAnchor:d})}function PS(e){if(e)return e.options.allowProjection!==!1?e.projection:PS(e.parent)}function qd(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&K9(r);const i=n?n==="svg":ig(e),o=i?aL:oL;function l(u,d){let h;const f={...b.useContext(SS),...u,layoutId:hL(u)},{isStatic:p}=f,x=Q9(u),m=o(u,p);if(!p&&typeof window<"u"){fL();const w=pL(f);h=w.MeasureLayout,x.visualElement=uL(e,m,f,s,w.ProjectionNode,i)}return a.jsxs(Vu.Provider,{value:x,children:[h&&x.visualElement?a.jsx(h,{visualElement:x.visualElement,...f}):null,rL(e,u,cL(m,x.visualElement,d),m,p,t,i)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=b.forwardRef(l);return c[lL]=e,c}function hL({layoutId:e}){const t=b.useContext(Jk).id;return t&&e!==void 0?t+"-"+e:e}function fL(e,t){b.useContext(jS).strict}function pL(e){const t=_S(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
vendor: 18,495 bytes, line 235
235function mL(e,t){if(typeof Proxy>"u")return qd;const n=new Map,r=(i,o)=>qd(i,o,e,t),s=(i,o)=>r(i,o);return new Proxy(s,{get:(i,o)=>o==="create"?r:(n.has(o)||n.set(o,qd(o,void 0,e,t)),n.get(o))})}const gL=(e,t)=>t.isSVG??ig(e)?new QD(t):new HD(t,{allowProjection:e!==b.Fragment});class yL extends zr{constructor(t){super(t),t.animationState||(t.animationState=n9(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Bu(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 vL=0;class xL extends zr{constructor(){super(...arguments),this.id=vL++,this.isExitComplete=!1}update(){var i;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;if(t&&r===!1){if(this.isExitComplete){const{initial:o,custom:l}=this.node.getProps();if(typeof o=="string"){const c=ws(this.node,o,l);if(c){const{transition:u,transitionEnd:d,...h}=c;for(const f in h)(i=this.node.getValue(f))==null||i.jump(h[f])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const wL={animation:{Feature:yL},exit:{Feature:xL}};function Ka(e){return{point:{x:e.pageX,y:e.pageY}}}const bL=e=>t=>Xm(t)&&e(t,Ka(t));function Wo(e,t,n,r){return xa(e,t,bL(n),r)}const RS=({current:e})=>e?e.ownerDocument.defaultView:null,b0=(e,t)=>Math.abs(e-t);function kL(e,t){const n=b0(e.x,t.x),r=b0(e.y,t.y);return Math.sqrt(n**2+r**2)}const k0=new Set(["auto","scroll"]);class IS{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!1,distanceThreshold:o=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=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;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=kl(this.lastRawMoveEventInfo,this.transformPagePoint));const p=Gd(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,m=kL(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!m)return;const{point:w}=p,{timestamp:y}=Ue;this.history.push({...w,timestamp:y});const{onStart:g,onMove:v}=this.handlers;x||(g&&g(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,p)},this.handlePointerMove=(p,x)=>{this.lastMoveEvent=p,this.lastRawMoveEventInfo=x,this.lastMoveEventInfo=kl(x,this.transformPagePoint),ae.update(this.updatePoint,!0)},this.handlePointerUp=(p,x)=>{this.end();const{onEnd:m,onSessionEnd:w,resumeAnimation:y}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Gd(p.type==="pointercancel"?this.lastMoveEventInfo:kl(x,this.transformPagePoint),this.history);this.startEvent&&m&&m(p,g),w&&w(p,g)},!Xm(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=s||window;const c=Ka(t),u=kl(c,this.transformPagePoint),{point:d}=u,{timestamp:h}=Ue;this.history=[{...d,timestamp:h}];const{onSessionStart:f}=n;f&&f(t,Gd(u,this.history)),this.removeListeners=za(Wo(this.contextWindow,"pointermove",this.handlePointerMove),Wo(this.contextWindow,"pointerup",this.handlePointerUp),Wo(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(k0.has(r.overflowX)||k0.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}),window.addEventListener("scroll",this.onWindowScroll),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,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-n.x,y:s.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,s),ae.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Fr(this.updatePoint)}}function kl(e,t){return t?{point:t(e.point)}:e}function S0(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Gd({point:e},t){return{point:e,delta:S0(e,OS(t)),offset:S0(e,SL(t)),velocity:jL(t,.1)}}function SL(e){return e[0]}function OS(e){return e[e.length-1]}function jL(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=OS(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>mt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>mt(t)*2&&(r=e[1]);const i=Dt(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function _L(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?fe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?fe(n,e,r.max):Math.min(e,n)),e}function j0(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 EL(e,{top:t,left:n,bottom:r,right:s}){return{x:j0(e.x,n,s),y:j0(e.y,t,r)}}function _0(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 NL(e,t){return{x:_0(e.x,t.x),y:_0(e.y,t.y)}}function TL(e,t){let n=.5;const r=st(e),s=st(t);return s>r?n=ga(t.min,t.max-r,e.min):r>s&&(n=ga(e.min,e.max-s,t.min)),Pn(0,1,n)}function CL(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 Gf=.35;function AL(e=Gf){return e===!1?e=0:e===!0&&(e=Gf),{x:E0(e,"left","right"),y:E0(e,"top","bottom")}}function E0(e,t,n){return{min:N0(e,t),max:N0(e,n)}}function N0(e,t){return typeof e=="number"?e:e[t]||0}const PL=new WeakMap;class RL{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=Re(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=h=>{n&&this.snapToCursor(Ka(h).point),this.stopAnimation()},o=(h,f)=>{const{drag:p,dragPropagation:x,onDragStart:m}=this.getProps();if(p&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=uD(p),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pn(y=>{let g=this.getAxisMotionValue(y).get()||0;if(Nn.test(g)){const{projection:v}=this.visualElement;if(v&&v.layout){const k=v.layout.layoutBox[y];k&&(g=st(k)*(parseFloat(g)/100))}}this.originPoint[y]=g}),m&&ae.update(()=>m(h,f),!1,!0),Ff(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},l=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:x,onDirectionLock:m,onDrag:w}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:y}=f;if(x&&this.currentDirection===null){this.currentDirection=OL(y),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,y),this.updateAxis("y",f.point,y),this.visualElement.render(),w&&ae.update(()=>w(h,f),!1,!0)},c=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:h}=this.getProps();(h||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new IS(t,{onSessionStart:i,onStart:o,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:RS(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&ae.postRender(()=>l(r,s))}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:s}=this.getProps();if(!r||!Sl(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=_L(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,s=this.constraints;t&&Qs(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=EL(r.layoutBox,t):this.constraints=!1,this.elastic=AL(n),s!==this.constraints&&!Qs(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&pn(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=CL(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Qs(t))return!1;const r=t.current;qi(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:s}=this.visualElement;if(!s||!s.layout)return!1;const i=FD(r,s.root,this.visualElement.getTransformPagePoint());let o=NL(s.layout.layoutBox,i);if(n){const l=n(LD(o));this.hasMutatedConstraints=!!l,l&&(o=tS(l))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=pn(d=>{if(!Sl(d,n,this.currentDirection))return;let h=c&&c[d]||{};(o===!0||o===d)&&(h={min:0,max:0});const f=s?200:1e6,p=s?40:1e7,x={type:"inertia",velocity:r?t[d]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...h};return this.startAxisValueAnimation(d,x)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Ff(this.visualElement,t),r.start(qm(t,r,0,n,this.visualElement,!1))}stopAnimation(){pn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){pn(n=>{const{drag:r}=this.getProps();if(!Sl(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:l}=s.layout.layoutBox[n],c=i.get()||0;i.set(t[n]-fe(o,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Qs(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};pn(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const c=l.get();s[o]=TL({min:c,max:c},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),pn(o=>{if(!Sl(o,t,null))return;const l=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];l.set(fe(c,u,s[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;PL.set(this.visualElement,this);const t=this.visualElement.current,n=Wo(t,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps(),f=u.target,p=f!==t&&gD(f);d&&h&&!p&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();Qs(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=IL(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,o=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),ae.read(s);const l=xa(window,"resize",()=>this.scalePositionWithinConstraints()),c=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(pn(h=>{const f=this.getAxisMotionValue(h);f&&(this.originPoint[h]+=u[h].translate,f.set(f.get()+u[h].translate))}),this.visualElement.render())});return()=>{l(),n(),o(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=Gf,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:l}}}function T0(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function IL(e,t,n){const r=Mv(e,T0(n)),s=Mv(t,T0(n));return()=>{r(),s()}}function Sl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function OL(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class DL extends zr{constructor(t){super(t),this.removeGroupControls=Mt,this.removeListeners=Mt,this.controls=new RL(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Mt}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 Yd=e=>(t,n)=>{e&&ae.update(()=>e(t,n),!1,!0)};class LL extends zr{constructor(){super(...arguments),this.removePointerDownListener=Mt}onPointerDown(t){this.session=new IS(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:RS(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Yd(t),onStart:Yd(n),onMove:Yd(r),onEnd:(i,o)=>{delete this.session,s&&ae.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=Wo(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 Jd=!1;class ML extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),Jd&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),sc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:o}=r;return o&&(o.isPresent=i,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Jd=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||ae.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Qm.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Jd=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function DS(e){const[t,n]=W9(),r=b.useContext(Jk);return a.jsx(ML,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(AS),isPresent:t,safeToRemove:n})}const $L={pan:{Feature:LL},drag:{Feature:DL,ProjectionNode:kS,MeasureLayout:DS}};function C0(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&ae.postRender(()=>i(t,Ka(t)))}class FL extends zr{mount(){const{current:t}=this.node;t&&(this.unmount=hD(t,(n,r)=>(C0(this.node,r,"Start"),s=>C0(this.node,s,"End"))))}unmount(){}}class BL extends zr{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=za(xa(this.node.current,"focus",()=>this.onFocus()),xa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function A0(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 s="onTap"+(n==="End"?"":n),i=r[s];i&&ae.postRender(()=>i(t,Ka(t)))}class UL extends zr{mount(){const{current:t}=this.node;if(!t)return;
235const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=vD(t,(s,i)=>(A0(this.node,i,"Start"),(o,{success:l})=>A0(this.node,o,l?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Yf=new WeakMap,Qd=new WeakMap,VL=e=>{const t=Yf.get(e.target);t&&t(e)},zL=e=>{e.forEach(VL)};function WL({root:e,...t}){const n=e||document;Qd.has(n)||Qd.set(n,{});const r=Qd.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(zL,{root:e,...t})),r[s]}function HL(e,t,n){const r=WL(t);return Yf.set(e,n),r.observe(e),()=>{Yf.delete(e),r.unobserve(e)}}const KL={some:0,all:1};class qL extends zr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:KL[s]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,i&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:f}=this.node.getProps(),p=d?h:f;p&&p(u)};this.stopObserver=HL(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(GL(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function GL({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const YL={inView:{Feature:qL},tap:{Feature:UL},focus:{Feature:BL},hover:{Feature:FL}},JL={layout:{ProjectionNode:kS,MeasureLayout:DS}},QL={...wL,...YL,...$L,...JL},wt=mL(QL,gL),XL="/assets/two-girls-I5eaLSva.png",ZL="/assets/ndis-provider-D7MWQVM7.png",LS=()=>a.jsx("section",{className:"overflow-hidden",style:{backgroundColor:"#fff3ee"},children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-8",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-0 items-stretch rounded-3xl overflow-hidden shadow-lg",style:{minHeight:"480px"},children:[a.jsx(wt.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.7},className:"relative",children:a.jsx("img",{src:XL,alt:"Family moment",className:"w-full h-full object-cover"})}),a.jsxs(wt.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.7,delay:.2},className:"flex flex-col justify-center px-8 md:px-12 lg:px-16 py-12",style:{backgroundColor:"#f2d9bf"},children:[a.jsxs("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold leading-tight mb-6",style:{color:"#671b01"},children:["Not sure what you can actually use your"," ",a.jsx("span",{style:{color:"#dc734c"},children:"NDIS funding"})," for anymore?"]}),a.jsx("p",{className:"text-lg md:text-xl mb-2 leading-relaxed",style:{color:"#671b01"},children:"A simple yes/no guide so you can stop second-guessing what's actually allowed."}),a.jsx("p",{className:"text-base md:text-lg mb-8 leading-relaxed italic",style:{color:"#671b01",opacity:.85},children:`If you've ever found yourself late at night googling "can I use my NDIS funding for this?", this is for you.`}),a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[a.jsx("img",{src:ZL,alt:"Registered NDIS Provider",className:"h-10 w-auto"}),a.jsx("p",{className:"text-sm italic",style:{color:"#671b01",opacity:.7},children:"From the team at Kindship, supporting 821 families through the NDIS"})]}),a.jsx("div",{children:a.jsx("a",{href:"#guide-form",className:"lm-btn-primary inline-block",children:"Grab my free guide"})})]})]})})}),eM="/assets/guide-cover-COk2E2s9.png",tM="/assets/guide-page-2-DgriTnnn.png",nM="/assets/guide-page-3-DQc3M5c3.png",rM="/assets/webinar-screenshot-D53BcTNb.png",sM="/assets/slide-1-QRd-qNoF.png",iM="/assets/slide-2-Ceez68np.png",oM="/assets/slide-3-DQsrkjPN.png",aM=[{title:"Clear yes/no answers on what you can actually spend your NDIS funding on",description:`No more guessing or getting five different answers depen
235ding on who you ask. We break it down simply: what's usually a yes, what's a no, and where things sit in that frustrating "it depends" zone.`},{title:"Real-life examples of what families are actually using funding for",description:`This isn't just theory; we show real examples of what families are using (and getting approved). So you can stop wondering "would this count?" and actually see how it plays out.`},{title:"The grey areas families are getting caught out on",description:"These are the tricky ones that trip people up, where one person says yes, another says no, and you're left stuck in the middle. We call these out so you're not caught off guard."},{title:"What's changed recently, in plain English",description:"Things have shifted lately⦠but no one really explains it clearly. We break down what's changed (without the jargon) so you can actually understand what it means for your child and your plan."}],P0={title:"BONUS: Full webinar + slides â we break it all down step-by-step",description:`We walk through real examples and answer questions live, the ones families are actually asking. 236 237You'll also get the slides, so you've got something practical to refer back to. 238 239This adds the "why" behind the guide, so it all actually clicks.`},R0=({title:e,description:t,icon:n,accent:r=!1})=>{const[s,i]=b.useState(!1);return a.jsxs("div",{className:`rounded-xl shadow-sm border overflow-hidden transition-all ${r?"border-2":"border-border bg-card"}`,style:r?{backgroundColor:"#fff8f4",borderColor:"rgba(220,115,76,0.3)"}:void 0,children:[a.jsxs("button",{onClick:()=>i(!s),className:"flex items-start gap-4 p-5 w-full text-left cursor-pointer",children:[a.jsx("div",{className:"flex-shrink-0 w-8 h-8 rounded-full flex items-center justify-center",style:{backgroundColor:r?"#671b01":"#dc734c"},children:n}),a.jsx("p",{className:`leading-relaxed flex-1 ${r?"font-bold":"font-medium"}`,style:{color:"#671b01"},children:e}),a.jsx(f1,{className:`w-5 h-5 flex-shrink-0 mt-1 transition-transform duration-200 ${s?"rotate-180":""}`,style:{color:"#671b01",opacity:.6}})]}),a.jsx("div",{className:`overflow-hidden transition-all duration-300 ${s?"max-h-60 opacity-100":"max-h-0 opacity-0"}`,children:a.jsx("div",{className:"px-5 pb-5 pl-[4.25rem]",children:a.jsx("p",{className:"text-sm leading-relaxed whitespace-pre-line",style:{color:"#671b01",opacity:.75},children:t})})})]})},MS=()=>a.jsx("section",{className:"py-20 md:py-28",style:{backgroundColor:"#fff3ee"},children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs(wt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4",style:{color:"#671b01"},children:"Here's what you'll get inside"}),a.jsx("p",{className:"text-lg max-w-2xl mx-auto",style:{color:"#671b01",opacity:.7},children:"Your 'Can I Buy It?' guide + full webinar breakdown, so you can stop second-guessing and feel confident in your decisions."})]}),a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[a.jsxs(wt.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"space-y-4",children:[aM.map((e,t)=>a.jsx(wt.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:t*.1},children:a.jsx(R0,{title:e.title,description:e.description,icon:a.jsx(hr,{className:"w-4 h-4 text-white"})})},t)),a.jsx(wt.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.4}
239,children:a.jsx(R0,{title:P0.title,description:P0.description,icon:a.jsx(m1,{className:"w-4 h-4 text-white"}),accent:!0})})]}),a.jsxs(wt.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"flex flex-col items-center gap-8",children:[a.jsxs("div",{className:"relative w-[340px] h-[240px]",children:[a.jsx("div",{className:"absolute top-2 left-4 w-[42%] transform -rotate-6",children:a.jsx("img",{src:nM,alt:"Guide page - Food & Consumables",className:"rounded-lg shadow-lg border border-border"})}),a.jsx("div",{className:"absolute top-2 right-4 w-[42%] transform rotate-6",children:a.jsx("img",{src:tM,alt:"Guide page - Real life examples",className:"rounded-lg shadow-lg border border-border"})}),a.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[38%] z-10",children:a.jsx("img",{src:eM,alt:"Can I Buy It? Guide Cover",className:"rounded-lg shadow-2xl"})})]}),a.jsxs("div",{className:"w-[360px]",children:[a.jsxs("div",{className:"bg-gray-800 rounded-t-xl p-2",children:[a.jsxs("div",{className:"flex items-center gap-1.5 mb-1.5",children:[a.jsx("div",{className:"w-2 h-2 rounded-full bg-red-400"}),a.jsx("div",{className:"w-2 h-2 rounded-full bg-yellow-400"}),a.jsx("div",{className:"w-2 h-2 rounded-full bg-green-400"})]}),a.jsx("div",{className:"bg-gray-200 rounded-md overflow-hidden",children:a.jsx("img",{src:rM,alt:"Decoding the NDIS webinar",className:"w-full h-auto"})})]}),a.jsx("div",{className:"bg-gray-700 h-2 rounded-b-lg mx-4"})]}),a.jsxs("div",{className:"flex gap-3 justify-center",children:[a.jsx("div",{className:"w-[120px] transform -rotate-2",children:a.jsx("img",{src:sM,alt:"NDIS support guide slide",className:"rounded-lg shadow-lg border border-border"})}),a.jsx("div",{className:"w-[120px] transform rotate-1",children:a.jsx("img",{src:iM,alt:"Transport & Travel slide",className:"rounded-lg shadow-lg border border-border"})}),a.jsx("div",{className:"w-[120px] transform rotate-3",children:a.jsx("img",{src:oM,alt:"School & Learning slide",className:"rounded-lg shadow-lg border border-border"})})]})]})]}),a.jsx("div",{className:"text-center mt-12",children:a.jsx("a",{href:"#guide-form",className:"lm-btn-primary inline-block text-center",children:"Grab my free guide"})})]})}),lM="/assets/kindship-team-C4AguhBd.png",$S=()=>a.jsx("section",{className:"pt-10 md:pt-14 pb-20 md:pb-28",style:{backgroundColor:"#f2d9bf"},children:a.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs(wt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[a.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-8",style:{color:"#671b01"},children:"The team behind Kindship"}),a.jsx(wt.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.2},className:"mb-10",children:a.jsx("img",{src:lM,alt:"The Kindship team",className:"w-full rounded-2xl shadow-lg"})}),a.jsxs("div",{className:"space-y-5 text-lg leading-relaxed text-left md:text-center",style:{color:"#671b01",opacity:.85},children:[a.jsx("p",{children:`Kindship was built by parents who've lived disability parenting â you know⦠the uncertainty, the overwhelm, and the constant "what do I do next?" moments.`}),a.jsx("p",{children:"Whether you're just starting out, in the middle of appointments and assessments, or deep in the world of therapies, advocacy, and the NDIS, we know how heavy it can feel trying to figure it all out."}),a.jsx("p",{children:"That's why we exist, to support families with real guidance, practical tools, and a community that understands without needing an explanation."}),a.jsxs("p",{children:["Today, we support ",a.jsx("strong",{style:{color:"#671b01"},children:"800+ families"})," navigating the NDIS, a growing community of ",a.jsx("strong",{style:{color:"#671b01"},children:"6,000+ parents"}),", and ",a.jsx("strong",{style:{color:"#671b01"},children:"1,500+ families"})," learning through our Decoding the NDIS webinar series, alongside free resources and support you can actually use in real life."]}),a.jsx("p",{className:"text-xl font-semibold italic",style:{color:"#671b01"},children:"Because you were never meant to do this alone."})]})]})})}),cM=[{text:"The NDIS webinars that Kindship have put on for parents and carers have been so insightful. I have learnt so much about how NDIA/NDIS works and how it's best to use my son's plan to help him thrive. I will be attending every single one I can so I can keep learning and keep up to date with all the changes that are happening. Thank y
239ou ladies for putting these on for us parents and making things clearer for us!",name:"Mel",variant:"coral"},{text:"We love these so much! There is a serious buzz amongst parents about these sessions. You're informing us the way we feel the NDIS should!",name:"Tara",variant:"peach"},{text:"I recently moved over to Kindship plan management, and it has been the smoothest and easiest process! I wished I had done it sooner. You no longer feel just like a 'number', and it's such an incredible feeling to be responded to promptly. If you're on the fence, I highly recommend reaching out to the team!",name:"Courtney",variant:"tan"},{text:"Kindship has been absolutely amazing for my family and me for our NDIS plan management needs! They are all so helpful, they relate to everything I'm going through as they all have lived NDIS experience. Their entire team is so amazing, and I am so glad we chose Kindship for our family! Takes the stress of this part of our journey off our hands and minds! Thanks, Kindship!",name:"Taryn",variant:"warm"},{text:"It's like someone took the mental load out of my brain and gave me a step-by-step map. Everything we discussed felt realistic and doable. It's the first time in ages that things feel like they might get better. I felt so supported. Being truly listened to and understood made all the difference.",name:"Crystal",source:"Family Support Pathways",variant:"peach"},{text:"Support in a world that can be scary, overwhelming and consuming. How lucky we are to have Kindship.",name:"Carrie",variant:"tan"},{text:"I'm only a week in with Kindship but am already so glad to be here. My phone call was returned within 24 hours, I spoke to a real person, and not only that, a real person WITH LIVED EXPERIENCE AND COMPASSION! I'm used to navigating difficult systems, so I'm overwhelmed by the kindness, knowledge and understanding that I've already experienced in Kindship. 100% recommend.",name:"Jane",variant:"coral"},{text:"My emails have been answered promptly, and they honestly can't do enough to help you. I've found everyone I've dealt with to be incredibly efficient, kind and friendly. If you are looking for a Plan Manager that won't let you down, you've found them.",name:"Kristy",variant:"peach"},{text:"This beautiful, embracing, non-judgmental community of families has been life-changing for me. The love and empathy we all share is just magical. The Kindship family are my rock, with me for all the highs and the lows of parenting children with additional needs. It's a soft, knowledgeable, incredibly friendly place to land when the whirlwind of a diagnosis and daily life collide.",name:"Tania",variant:"tan"},{text:"Kindship gives me the confidence to know that I can relax, knowing that I have an experienced and knowledgeable person ensuring our funds are looked after while I can focus on my family.",name:"Ash",variant:"coral"},{text:"I love everything about the webinars! We appreciate you all doing these sessions for us parents/carers! Please keep having them regularly!",name:"Mel",variant:"warm"},{text:"For me, Kindship is a safe haven. A place where I know that I truly belong. Here, I feel valued, empowered, supported, and inspired. It's where I can reach out and get genuine advice and guidance.",name:"Marisol",variant:"peach"}],uM={coral:"bg-[#671b01] text-[#fff3ee]",peach:"bg-[#f0a585] text-[#671b01]",warm:"bg-[#fddcc9] text-[#671b01]",tan:"bg-[#c4884e] text-[#fff3ee]"},FS=()=>a.jsx("section",{className:"py-20 md:py-28",style:{backgroundColor:"#fff3ee"},children:a.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs(wt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[a.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4",style:{color:"#671b01"},children:"What families are saying"}),a.jsx("p",{className:"text-lg",style:{color:"#671b01",opacity:.7},children:"Real feedback from real parents and carers who've joined our webinars."})]}),a.jsx("div",{className:"columns-1 md:columns-2 lg:columns-3 gap-5 space-y-5",children:cM.map((e,t)=>a.jsxs(wt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.08},className:`break-inside-avoid rounded-2xl p-6 md:p-8 ${uM[e.variant]}`,children:[a.jsx("p",{className:"text-[15px] leading-relaxed mb-4",children:e.text}),(e.name||e.source)&&a.jsxs("div",{children:[e.name&&a.jsx("p",{className:"font-bold text-lg",children:e.name}),e.source&&a.jsx("p",{className:"text-sm opacity-80",children:e.source})]})]},t))})]})});function dM(e,t,n,r){function s(i){return i instanceof n?i:new n(function(o){o(i)})}
239return new(n||(n=Promise))(function(i,o){function l(d){try{u(r.next(d))}catch(h){o(h)}}function c(d){try{u(r.throw(d))}catch(h){o(h)}}function u(d){d.done?i(d.value):s(d.value).then(l,c)}u((r=r.apply(e,t||[])).next())})}const hM=e=>e?(...t)=>e(...t):(...t)=>fetch(...t);class og extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}toJSON(){return{name:this.name,message:this.message,context:this.context}}}class fM extends og{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class I0 extends og{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class O0 extends og{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var Jf;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(Jf||(Jf={}));class pM{constructor(t,{headers:n={},customFetch:r,region:s=Jf.Any}={}){this.url=t,this.headers=n,this.region=s,this.fetch=hM(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return dM(this,arguments,void 0,function*(n,r={}){var s;let i,o;try{const{headers:l,method:c,body:u,signal:d,timeout:h}=r;let f={},{region:p}=r;p||(p=this.region);const x=new URL(`${this.url}/${n}`);p&&p!=="any"&&(f["x-region"]=p,x.searchParams.set("forceFunctionRegion",p));let m;u&&(l&&!Object.prototype.hasOwnProperty.call(l,"Content-Type")||!l)?typeof Blob<"u"&&u instanceof Blob||u instanceof ArrayBuffer?(f["Content-Type"]="application/octet-stream",m=u):typeof u=="string"?(f["Content-Type"]="text/plain",m=u):typeof FormData<"u"&&u instanceof FormData?m=u:(f["Content-Type"]="application/json",m=JSON.stringify(u)):u&&typeof u!="string"&&!(typeof Blob<"u"&&u instanceof Blob)&&!(u instanceof ArrayBuffer)&&!(typeof FormData<"u"&&u instanceof FormData)?m=JSON.stringify(u):m=u;let w=d;h&&(o=new AbortController,i=setTimeout(()=>o.abort(),h),d?(w=o.signal,d.addEventListener("abort",()=>o.abort())):w=o.signal);const y=yield this.fetch(x.toString(),{method:c||"POST",headers:Object.assign(Object.assign(Object.assign({},f),this.headers),l),body:m,signal:w}).catch(S=>{throw new fM(S)}),g=y.headers.get("x-relay-error");if(g&&g==="true")throw new I0(y);if(!y.ok)throw new O0(y);let v=((s=y.headers.get("Content-Type"))!==null&&s!==void 0?s:"text/plain").split(";")[0].trim(),k;return v==="application/json"?k=yield y.json():v==="application/octet-stream"||v==="application/pdf"?k=yield y.blob():v==="text/event-stream"?k=y:v==="multipart/form-data"?k=yield y.formData():k=yield y.text(),{data:k,error:null,response:y}}catch(l){return{data:null,error:l,response:l instanceof O0||l instanceof I0?l.context:void 0}}finally{i&&clearTimeout(i)}})}}const BS=3,D0=e=>Math.min(1e3*2**e,3e4),mM=[520,503],US=["GET","HEAD","OPTIONS"];var gM=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.co
239de=e.code}toJSON(){return{name:this.name,message:this.message,details:this.details,hint:this.hint,code:this.code}}};function L0(e,t){return new Promise(n=>{if(t!=null&&t.aborted){n();return}const r=setTimeout(()=>{t==null||t.removeEventListener("abort",s),n()},e);function s(){clearTimeout(r),n()}t==null||t.addEventListener("abort",s)})}function yM(e,t,n,r){return!(!r||n>=BS||!US.includes(e)||!mM.includes(t))}var vM=class{constructor(e){var t,n,r,s,i;this.shouldThrowOnError=!1,this.retryEnabled=!0,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,this.shouldStripNulls=(r=e.shouldStripNulls)!==null&&r!==void 0?r:!1,this.urlLengthLimit=(s=e.urlLengthLimit)!==null&&s!==void 0?s:8e3,this.retryEnabled=(i=e.retry)!==null&&i!==void 0?i:!0,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}stripNulls(){if(this.headers.get("Accept")==="text/csv")throw new Error("stripNulls() cannot be used with csv()");return this.shouldStripNulls=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}retry(e){return this.retryEnabled=e,this}then(e,t){var n=this;if(this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json"),this.shouldStripNulls){const o=this.headers.get("Accept");o==="application/vnd.pgrst.object+json"?this.headers.set("Accept","application/vnd.pgrst.object+json;nulls=stripped"):(!o||o==="application/json")&&this.headers.set("Accept","application/vnd.pgrst.array+json;nulls=stripped")}const r=this.fetch;let i=(async()=>{let o=0;for(;;){const u=new Headers(n.headers);o>0&&u.set("X-Retry-Count",String(o));let d;try{d=await r(n.url.toString(),{method:n.method,headers:u,body:JSON.stringify(n.body,(h,f)=>typeof f=="bigint"?f.toString():f),signal:n.signal})}catch(h){if((h==null?void 0:h.name)==="AbortError"||(h==null?void 0:h.code)==="ABORT_ERR"||!US.includes(n.method))throw h;if(n.retryEnabled&&o<BS){const f=D0(o);o++,await L0(f,n.signal);continue}throw h}if(yM(n.method,d.status,o,n.retryEnabled)){var l,c;const h=(l=(c=d.headers)===null||c===void 0?void 0:c.get("Retry-After"))!==null&&l!==void 0?l:null,f=h!==null?Math.max(0,parseInt(h,10)||0)*1e3:D0(o);await d.text(),o++,await L0(f,n.signal);continue}return await n.processResponse(d)}})();return this.shouldThrowOnError||(i=i.catch(o=>{var l;let c="",u="",d="";const h=o==null?void 0:o.cause;if(h){var f,p,x,m;const g=(f=h==null?void 0:h.message)!==null&&f!==void 0?f:"",v=(p=h==null?void 0:h.code)!==null&&p!==void 0?p:"";c=`${(x=o==null?void 0:o.name)!==null&&x!==void 0?x:"FetchError"}: ${o==null?void 0:o.message}`,c+=` 240 241Caused by: ${(m=h==null?void 0:h.name)!==null&&m!==void 0?m:"Error"}: ${g}`,v&&(c+=` (${v})`),h!=null&&h.stack&&(c+=` 242${h.stack}`)}else{var w;c=(w=o==null?void 0:o.stack)!==null&&w!==void 0?w:""}const y=this.url.toString().length;return(o==null?void 0:o.name)==="AbortError"||(o==null?void 0:o.code)==="ABORT_ERR"?(d="",u="Request was aborted (timeout or manual cancellation)",y>this.urlLengthLimit&&(u+=`. Note: Your request URL is ${y} characters, which may exceed server limits. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [many IDs])), consider using an RPC function to pass values server-side.`)):((h==null?void 0:h.name)==="HeadersOverflowError"||(h==null?void 0:h.code)==="UND_ERR_HEADERS_OVERFLOW")&&(d="",u="HTTP headers exceeded server limits (typically 16KB)",y>this.urlLengthLimit&&(u+=`. Your request URL is ${y} characters. If selecting many fields, consider using views. If filtering with large arrays (e.g., .in('id', [200+ IDs])), consider using an RPC function instead.`)),{success:!1,error:{message:`${(l=o==null?void 0:o.name)!==null&&l!==void 0?l:"FetchError"}: ${o==null?void 0:o.message}`,details:c,hint:u,code:d},data:null,count:null,status:0,statusText:""}}
242)),i.then(e,t)}async processResponse(e){var t=this;let n=null,r=null,s=null,i=e.status,o=e.statusText;if(e.ok){var l,c;if(t.method!=="HEAD"){var u;const f=await e.text();f===""||(t.headers.get("Accept")==="text/csv"||t.headers.get("Accept")&&(!((u=t.headers.get("Accept"))===null||u===void 0)&&u.includes("application/vnd.pgrst.plan+text"))?r=f:r=JSON.parse(f))}const d=(l=t.headers.get("Prefer"))===null||l===void 0?void 0:l.match(/count=(exact|planned|estimated)/),h=(c=e.headers.get("content-range"))===null||c===void 0?void 0:c.split("/");d&&h&&h.length>1&&(s=parseInt(h[1])),t.isMaybeSingle&&Array.isArray(r)&&(r.length>1?(n={code:"PGRST116",details:`Results contain ${r.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},r=null,s=null,i=406,o="Not Acceptable"):r.length===1?r=r[0]:r=null)}else{const d=await e.text();try{n=JSON.parse(d),Array.isArray(n)&&e.status===404&&(r=[],n=null,i=200,o="OK")}catch{e.status===404&&d===""?(i=204,o="No Content"):n={message:d}}if(n&&t.shouldThrowOnError)throw new gM(n)}return{success:n===null,error:n,data:r,count:s,status:i,statusText:o}}returns(){return this}overrideTypes(){return this}},xM=class extends vM{select(e){let t=!1;const n=(e??"*").split("").map(r=>/\s/.test(r)&&!t?"":(r==='"'&&(t=!t),r)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:s=r}={}){const i=s?`${s}.order`:"order",o=this.url.searchParams.get(i);return this.url.searchParams.set(i,`${o?`${o},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){const s=typeof r>"u"?"offset":`${r}.offset`,i=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(s,`${e}`),this.url.searchParams.set(i,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:s=!1,format:i="text"}={}){var o;const l=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,s?"wal":null].filter(Boolean).join("|"),c=(o=this.headers.get("Accept"))!==null&&o!==void 0?o:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${i}; for="${c}"; options=${l};`),i==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const M0=new RegExp("[,()]");var Xs=class extends xM{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&M0.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&M0.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:r}={}){let s="";r==="plain"?s="pl":r==="phrase"?s="ph":r==="websearch"&&(s="w");const i=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${s}fts${i}.${t}`),this}match(e){return Object.entries(e).filter(([t,n])=>
242n!==void 0).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},wM=class{constructor(e,{headers:t={},schema:n,fetch:r,urlLengthLimit:s=8e3,retry:i}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r,this.urlLengthLimit=s,this.retry=i}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:r}=t??{},s=n?"HEAD":"GET";let i=!1;const o=(e??"*").split("").map(u=>/\s/.test(u)&&!i?"":(u==='"'&&(i=!i),u)).join(""),{url:l,headers:c}=this.cloneRequestState();return l.searchParams.set("select",o),r&&c.append("Prefer",`count=${r}`),new Xs({method:s,url:l,headers:c,schema:this.schema,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}insert(e,{count:t,defaultToNull:n=!0}={}){var r;const s="POST",{url:i,headers:o}=this.cloneRequestState();if(t&&o.append("Prefer",`count=${t}`),n||o.append("Prefer","missing=default"),Array.isArray(e)){const l=e.reduce((c,u)=>c.concat(Object.keys(u)),[]);if(l.length>0){const c=[...new Set(l)].map(u=>`"${u}"`);i.searchParams.set("columns",c.join(","))}}return new Xs({method:s,url:i,headers:o,schema:this.schema,body:e,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:s=!0}={}){var i;const o="POST",{url:l,headers:c}=this.cloneRequestState();if(c.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&l.searchParams.set("on_conflict",t),r&&c.append("Prefer",`count=${r}`),s||c.append("Prefer","missing=default"),Array.isArray(e)){const u=e.reduce((d,h)=>d.concat(Object.keys(h)),[]);if(u.length>0){const d=[...new Set(u)].map(h=>`"${h}"`);l.searchParams.set("columns",d.join(","))}}return new Xs({method:o,url:l,headers:c,schema:this.schema,body:e,fetch:(i=this.fetch)!==null&&i!==void 0?i:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}update(e,{count:t}={}){var n;const r="PATCH",{url:s,headers:i}=this.cloneRequestState();return t&&i.append("Prefer",`count=${t}`),new Xs({method:r,url:s,headers:i,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}delete({count:e}={}){var t;const n="DELETE",{url:r,headers:s}=this.cloneRequestState();return e&&s.append("Prefer",`count=${e}`),new Xs({method:n,url:r,headers:s,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};function wa(e){"@babel/helpers - typeof";return wa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wa(e)}function bM(e,t){if(wa(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(wa(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kM(e){var t=bM(e,"string");return wa(t)=="symbol"?t:t+""}function SM(e,t,n){return(t=kM(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function jl(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$0(Object(n),!0).forEach(function(r){SM(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var jM=class VS{constructor(t,{headers:n={},schema:r,fetch:s,timeout:i,urlLengthLimit:o=8e3,retry:l}={}){this.url=t,this.headers=new Headers(n),this.schemaName=r,this.urlLengthLimit=o;const c=s??globalThis.fetch;i!==void 0&&i>0?this.fetch=(u,d)=>{const h=new AbortController,f=setTimeout(()=>h.abort(),i),p=d==null?void 0:d.signal;if(p){if(p.aborted)return clearTimeout(f),c(u,d);const x=()=>{clearTimeout(f),h.abort()};return p.addEventListener("abort",x,{once:!0}),c(u,jl(jl({},d),{},{signal:h.signal})).finally(()=>{clearTimeout(f),p.removeEventListener("abort",x)})}return c(u,jl(jl({},d),{},{signal:h.signal})).finally(()=>clearTimeout(f))}:this.fetch=c,this.retry=l}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new wM(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}schema(t){return new VS(this.url,{headers:this.headers,schema:t,fetch:this.fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}rpc(t,n={},{head:r=!1,get:s=!1,count:i}={}){var o;let l;const c=new URL(`${this.url}/rpc/${t}`);let u;const d=p=>p!==null&&typeof p=="object"&&(!Array.isArray(p)||p.some(d)),h=r&&Object.values(n).some(d);h?(l="POST",u=n):r||s?(l=r?"HEAD":"GET",Object.entries(n).filter(([p,x])=>x!==void 0).map(([p,x])=>[p,Array.isArray(x)?`{${x.join(",")}}`:`${x}
242`]).forEach(([p,x])=>{c.searchParams.append(p,x)})):(l="POST",u=n);const f=new Headers(this.headers);return h?f.set("Prefer",i?`count=${i},return=minimal`:"return=minimal"):i&&f.set("Prefer",`count=${i}`),new Xs({method:l,url:c,headers:f,schema:this.schemaName,body:u,fetch:(o=this.fetch)!==null&&o!==void 0?o:fetch,urlLengthLimit:this.urlLengthLimit,retry:this.retry})}};class _M{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const n=globalThis.process;if(n){const r=n.versions;if(r&&r.node){const s=r.node,i=parseInt(s.replace(/^v/,"").split(".")[0]);return i>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${i} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${i} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option: 243import ws from "ws" 244new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.constructor)return t.constructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=` 245 246Suggested solution: ${t.workaround}`),new Error(n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const EM="2.104.0",NM=`realtime-js/${EM}`,TM="1.0.0",zS="2.0.0",CM=zS,AM=1e4,PM=100,mr={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},WS={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave",access_token:"access_token"},Qf={connecting:"connecting",open:"open",closing:"closing",closed:"closed"};class RM{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(r))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,r;const s=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,s)}_encodeJsonUserBroadcastPush(t){var n,r;const s=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:{},o=new TextEncoder().encode(JSON.stringify(s)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,o)}_encodeUserBroadcastPush(t,n,r){var s,i;const o=t.topic,l=(s=t.ref)!==null&&s!==void 0?s:"",c=(i=t.join_ref)!==null&&i!==void 0?i:"",u=t.payload.event,d=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},h=Object.keys(d).length===0?"":JSON.stringify(d);if(c.length>255)throw new Error(`joinRef length ${c.length} exceeds maximum of 255`);if(l.length>255)throw new Error(`ref length ${l.length} exceeds maximum of 255`);if(o.length>255)throw new Error(`topic length ${o.length} exceeds maximum of 255`);if(u.length>255)throw new Error(`userEvent length ${u.length} exceeds maximum of 255`);if(h.length>255)throw new Error(`metadata length ${h.length} exceeds maximum of 255`);const f=this.USER_BROADCAST_PUSH_META_LENGTH+c.length+l.length+o.length+u.length+h.length,p=new ArrayBuffer(this.HEADER_LENGTH+f);let x=new DataView(p),m=0;x.setUint8(m++,this.KINDS.userBroadcastPush),x.setUint8(m++,c.length),x.setUint8(m++,l.length),x.setUint8(m++,o.length),x.setUint8(m++,u.length),x.setUint8(m++,h.length),x.setUint8(m++,n),Array.from(c,y=>
246x.setUint8(m++,y.charCodeAt(0))),Array.from(l,y=>x.setUint8(m++,y.charCodeAt(0))),Array.from(o,y=>x.setUint8(m++,y.charCodeAt(0))),Array.from(u,y=>x.setUint8(m++,y.charCodeAt(0))),Array.from(h,y=>x.setUint8(m++,y.charCodeAt(0)));var w=new Uint8Array(p.byteLength+r.byteLength);return w.set(new Uint8Array(p),0),w.set(new Uint8Array(r),p.byteLength),w.buffer}decode(t,n){if(this._isArrayBuffer(t)){let r=this._binaryDecode(t);return n(r)}if(typeof t=="string"){const r=JSON.parse(t),[s,i,o,l,c]=r;return n({join_ref:s,ref:i,topic:o,event:l,payload:c})}return n({})}_binaryDecode(t){const n=new DataView(t),r=n.getUint8(0),s=new TextDecoder;switch(r){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(t,n,s)}}_decodeUserBroadcast(t,n,r){const s=n.getUint8(1),i=n.getUint8(2),o=n.getUint8(3),l=n.getUint8(4);let c=this.HEADER_LENGTH+4;const u=r.decode(t.slice(c,c+s));c=c+s;const d=r.decode(t.slice(c,c+i));c=c+i;const h=r.decode(t.slice(c,c+o));c=c+o;const f=t.slice(c,t.byteLength),p=l===this.JSON_ENCODING?JSON.parse(r.decode(f)):f,x={type:this.BROADCAST_EVENT,event:d,payload:p};return o>0&&(x.meta=JSON.parse(h)),{join_ref:null,ref:null,topic:u,event:this.BROADCAST_EVENT,payload:x}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t==null?void 0:t.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([r])=>n.includes(r)))}}var le;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(le||(le={}));const F0=(e,t,n={})=>{var r;const s=(r=n.skipTypes)!==null&&r!==void 0?r:[];return t?Object.keys(t).reduce((i,o)=>(i[o]=IM(o,e,t,s),i),{}):{}},IM=(e,t,n,r)=>{const s=t.find(l=>
vendor: 5,523 bytes, line 246
246l.name===e),i=s==null?void 0:s.type,o=n[e];return i&&!r.includes(i)?HS(i,o):Xf(o)},HS=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return MM(t,n)}switch(e){case le.bool:return OM(t);case le.float4:case le.float8:case le.int2:case le.int4:case le.int8:case le.numeric:case le.oid:return DM(t);case le.json:case le.jsonb:return LM(t);case le.timestamp:return $M(t);case le.abstime:case le.date:case le.daterange:case le.int4range:case le.int8range:case le.money:case le.reltime:case le.text:case le.time:case le.timestamptz:case le.timetz:case le.tsrange:case le.tstzrange:return Xf(t);default:return Xf(t)}},Xf=e=>e,OM=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},DM=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},LM=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},MM=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let i;const o=e.slice(1,n);try{i=JSON.parse("["+o+"]")}catch{i=o?o.split(","):[]}return i.map(l=>HS(t,l))}return e},$M=e=>typeof e=="string"?e.replace(" ","T"):e,KS=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};var Ho=e=>typeof e=="function"?e:function(){return e},FM=typeof self<"u"?self:null,Zs=typeof window<"u"?window:null,mn=FM||Zs||globalThis,BM="2.0.0",UM=1e4,VM=1e3,wn={connecting:0,open:1,closing:2,closed:3},lt={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},Ln={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},Zf={longpoll:"longpoll",websocket:"websocket"},zM={complete:4},ep="base64url.bearer.phx.",_l=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1,this.ref=void 0}resend(e){this.timeout=e,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}destroy(){this.cancelRefEvent(),this.cancelTimeout()}matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(r=>r.status===e).forEach(r=>r.callback(t))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},qS=class{constructor(e,t){this.callback=e,this.timerCalc=t,this.timer=void 0,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},WM=class{constructor(e,t,n){this.state=lt.closed,this.topic=e,this.params=Ho(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new _l(this,Ln.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new qS(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=lt.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",r=>{this.state=lt.errored,this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic}`),this.state=lt.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=lt.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),new _l(this,Ln.leave,Ho({}),this.timeout).send(),this.state=lt.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(Ln.reply,(r,s)=>{this.trigger(this.replyEventName(s),r)})}join(e=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}
vendor: 5,263 bytes, line 246
246teardown(){this.pushBuffer.forEach(e=>e.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=lt.closed,this.bindings=[]}onClose(e){this.on(Ln.close,e)}onError(e){return this.on(Ln.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new _l(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=lt.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(Ln.close,"leave")},n=new _l(this,Ln.leave,Ho({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}filterBindings(e,t,n){return!0}isMember(e,t,n,r){return this.topic!==e?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=lt.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let s=this.onMessage(e,t,n,r);if(t&&!s)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let i=this.bindings.filter(o=>o.event===e&&this.filterBindings(o,t,n));for(let o=0;o<i.length;o++)i[o].callback(s,n,r||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===lt.closed}isErrored(){return this.state===lt.errored}isJoined(){return this.state===lt.joined}isJoining(){return this.state===lt.joining}isLeaving(){return this.state===lt.leaving}},Qc=class{static request(e,t,n,r,s,i,o){if(mn.XDomainRequest){let l=new mn.XDomainRequest;return this.xdomainRequest(l,e,t,r,s,i,o)}else if(mn.XMLHttpRequest){let l=new mn.XMLHttpRequest;return this.xhrRequest(l,e,t,n,r,s,i,o)}else{if(mn.fetch&&mn.AbortController)return this.fetchRequest(e,t,n,r,s,i,o);throw new Error("No suitable XMLHttpRequest implementation found")}}static fetchRequest(e,t,n,r,s,i,o){let l={method:e,headers:n,body:r},c=null;return s&&(c=new AbortController,setTimeout(()=>c.abort(),s),l.signal=c.signal),mn.fetch(t,l).then(u=>u.text()).then(u=>this.parseJSON(u)).then(u=>o&&o(u)).catch(u=>{u.name==="AbortError"&&i?i():o&&o(null)}),c}static xdomainRequest(e,t,n,r,s,i,o){return e.timeout=s,e.open(t,n),e.onload=()=>{let l=this.parseJSON(e.responseText);o&&o(l)},i&&(e.ontimeout=i),e.onprogress=()=>{},e.send(r),e}static xhrRequest(e,t,n,r,s,i,o,l){e.open(t,n,!0),e.timeout=i;for(let[c,u]of Object.entries(r))e.setRequestHeader(c,u);return e.onerror=()=>l&&l(null),e.onreadystatechange=()=>{if(e.readyState===zM.complete&&l){let c=this.parseJSON(e.responseText);l(c)}},o&&(e.ontimeout=o),e.send(s),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let s=t?`${t}[${r}]`:r,i=e[r];typeof i=="object"?n.push(this.serialize(i,s)):n.push(encodeURIComponent(s)+"="+encodeURIComponent(i))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},HM=e=>{let t="",n=new Uint8Array(e),r=n.byteLength;for(let s=0;s<r;s++)t+=String.fromCharCode(n[s]);return btoa(t)},Vs=class{constructor(e,t){t&&t.length===2&&t[1].startsWith(ep)&&(this.authToken=atob(t[1].slice(ep.length))),this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(e),this.readyState=wn.connecting,setTimeout(()=>this.poll(),0)}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+Zf.websocket),"$1/"+Zf.longpoll)}endpointURL(){return Qc.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=wn.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===wn.open||this.readyState===wn.connecting}poll(){const e={Accept:"application/json"};this.authToken&&(e["X-Phoenix-AuthToken"]=this.authToken),this.ajax("GET",e,null,()=>this.ontimeout(),t=>{if(t){var{status:n,token:r,messages:s}=t;if(n===410&&this.token!==null){this.onerror(410),this.closeAndRetry(3410,"session_gone",!1);return}this.token=r}else n=0;switch(n){case 200:s.forEach(i=>{setTimeout(()=>this.onmessage({data:i}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=wn.open,this.onopen({}),this.poll();break;
246case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${n}`)}})}send(e){typeof e!="string"&&(e=HM(e)),this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax("POST",{"Content-Type":"application/x-ndjson"},e.join(` 247`),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let s of this.reqs)s.abort();this.readyState=wn.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,s){let i,o=()=>{this.reqs.delete(i),r()};i=Qc.request(e,this.endpointURL(),t,n,this.timeout,o,l=>{this.reqs.delete(i),this.isActive()&&s(l)}),this.reqs.add(i)}},KM=class No{constructor(t,n={}){let r=n.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=t,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(r.state,s=>{let{onJoin:i,onLeave:o,onSync:l}=this.caller;this.joinRef=this.channel.joinRef(),this.state=No.syncState(this.state,s,i,o),this.pendingDiffs.forEach(c=>{this.state=No.syncDiff(this.state,c,i,o)}),this.pendingDiffs=[],l()}),this.channel.on(r.diff,s=>{let{onJoin:i,onLeave:o,onSync:l}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(s):(this.state=No.syncDiff(this.state,s,i,o),l())})}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}list(t){return No.list(this.state,t)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(t,n,r,s){let i=this.clone(t),o={},l={};return this.map(i,(c,u)=>{n[c]||(l[c]=u)}),this.map(n,(c,u)=>{let d=i[c];if(d){let h=u.metas.map(m=>m.phx_ref),f=d.metas.map(m=>m.phx_ref),p=u.metas.filter(m=>f.indexOf(m.phx_ref)<0),x=d.metas.filter(m=>h.indexOf(m.phx_ref)<0);p.length>0&&(o[c]=u,o[c].metas=p),x.length>0&&(l[c]=this.clone(d),l[c].metas=x)}else o[c]=u}),this.syncDiff(i,{joins:o,leaves:l},r,s)}static syncDiff(t,n,r,s){let{joins:i,leaves:o}=this.clone(n);return r||(r=function(){}),s||(s=function(){}),this.map(i,(l,c)=>{let u=t[l];if(t[l]=this.clone(c),u){let d=t[l].metas.map(f=>f.phx_ref),h=u.metas.filter(f=>d.indexOf(f.phx_ref)<0);t[l].metas.unshift(...h)}r(l,u,c)}),this.map(o,(l,c)=>{let u=t[l];if(!u)return;let d=c.metas.map(h=>h.phx_ref);u.metas=u.metas.filter(h=>d.indexOf(h.phx_ref)<0),s(l,u,c),u.metas.length===0&&delete t[l]}),t}static list(t,n){return n||(n=function(r,s){return s}),this.map(t,(r,s)=>n(r,s))}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static clone(t){return JSON.parse(JSON.stringify(t))}},El={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,s,i,o]=JSON.parse(e);return t({join_ref:n,ref:r,topic:s,event:i,payload:o})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:s,payload:i}=e,o=this.META_LENGTH+t.length+n.length+s.length+r.length,l=new ArrayBuffer(this.HEADER_LENGTH+o),c=new DataView(l),u=0;c.setUint8(u++,this.KINDS.push),c.setUint8(u++,t.length),c.setUint8(u++,n.length),c.setUint8(u++,s.length),c.setUint8(u++,r.length),Array.from(t,h=>c.setUint8(u++,h.charCodeAt(0))),Array.from(n,h=>c.setUint8(u++,h.charCodeAt(0))),Array.from(s,h=>c.setUint8(u++,h.charCodeAt(0))),Array.from(r,h=>c.setUint8(u++,h.charCodeAt(0)));var d=new Uint8Array(l.byteLength+i.byteLength);return d.set(new Uint8Array(l),0),d.set(new Uint8Array(i),l.byteLength),d.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}}
vendor: 8,419 bytes, line 247
247,decodePush(e,t,n){let r=t.getUint8(1),s=t.getUint8(2),i=t.getUint8(3),o=this.HEADER_LENGTH+this.META_LENGTH-1,l=n.decode(e.slice(o,o+r));o=o+r;let c=n.decode(e.slice(o,o+s));o=o+s;let u=n.decode(e.slice(o,o+i));o=o+i;let d=e.slice(o,e.byteLength);return{join_ref:l,ref:null,topic:c,event:u,payload:d}},decodeReply(e,t,n){let r=t.getUint8(1),s=t.getUint8(2),i=t.getUint8(3),o=t.getUint8(4),l=this.HEADER_LENGTH+this.META_LENGTH,c=n.decode(e.slice(l,l+r));l=l+r;let u=n.decode(e.slice(l,l+s));l=l+s;let d=n.decode(e.slice(l,l+i));l=l+i;let h=n.decode(e.slice(l,l+o));l=l+o;let f=e.slice(l,e.byteLength),p={status:h,response:f};return{join_ref:c,ref:u,topic:d,event:Ln.reply,payload:p}},decodeBroadcast(e,t,n){let r=t.getUint8(1),s=t.getUint8(2),i=this.HEADER_LENGTH+2,o=n.decode(e.slice(i,i+r));i=i+r;let l=n.decode(e.slice(i,i+s));i=i+s;let c=e.slice(i,e.byteLength);return{join_ref:null,ref:null,topic:o,event:l,payload:c}}},qM=class{constructor(e,t={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.fallbackRef=null,this.timeout=t.timeout||UM,this.transport=t.transport||mn.WebSocket||Vs,this.conn=void 0,this.primaryPassedHealthCheck=!1,this.longPollFallbackMs=t.longPollFallbackMs,this.fallbackTimer=null,this.sessionStore=t.sessionStorage||mn&&mn.sessionStorage,this.establishedConnections=0,this.defaultEncoder=El.encode.bind(El),this.defaultDecoder=El.decode.bind(El),this.closeWasClean=!0,this.disconnecting=!1,this.binaryType=t.binaryType||"arraybuffer",this.connectClock=1,this.pageHidden=!1,this.encode=void 0,this.decode=void 0,this.transport!==Vs?(this.encode=t.encode||this.defaultEncoder,this.decode=t.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let n=null;Zs&&Zs.addEventListener&&(Zs.addEventListener("pagehide",r=>{this.conn&&(this.disconnect(),n=this.connectClock)}),Zs.addEventListener("pageshow",r=>{n===this.connectClock&&(n=null,this.connect())}),Zs.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?this.pageHidden=!0:(this.pageHidden=!1,!this.isConnected()&&!this.closeWasClean&&this.teardown(()=>this.connect()))})),this.heartbeatIntervalMs=t.heartbeatIntervalMs||3e4,this.autoSendHeartbeat=t.autoSendHeartbeat??!0,this.heartbeatCallback=t.heartbeatCallback??(()=>{}),this.rejoinAfterMs=r=>t.rejoinAfterMs?t.rejoinAfterMs(r):[1e3,2e3,5e3][r-1]||1e4,this.reconnectAfterMs=r=>t.reconnectAfterMs?t.reconnectAfterMs(r):[10,50,100,150,200,250,500,1e3,2e3][r-1]||5e3,this.logger=t.logger||null,!this.logger&&t.debug&&(this.logger=(r,s,i)=>{console.log(`${r}: ${s}`,i)}),this.longpollerTimeout=t.longpollerTimeout||2e4,this.params=Ho(t.params||{}),this.endPoint=`${e}/${Zf.websocket}`,this.vsn=t.vsn||BM,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.heartbeatSentAt=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new qS(()=>{if(this.pageHidden){this.log("Not reconnecting as page is hidden!"),this.teardown();return}this.teardown(async()=>{t.beforeReconnect&&await t.beforeReconnect(),this.connect()})},this.reconnectAfterMs),this.authToken=t.authToken}getLongPollTransport(){return Vs}replaceTransport(e){this.connectClock++,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.conn&&(this.conn.close(),this.conn=null),this.transport=e}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let e=Qc.appendParams(Qc.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return e.charAt(0)!=="/"?e:e.charAt(1)==="/"?`${this.protocol()}:${e}`:`${this.protocol()}://${location.host}${e}`}disconnect(e,t,n){this.connectClock++,this.disconnecting=!0,this.closeWasClean=!0,clearTimeout(this.fallbackTimer),this.reconnectTimer.reset(),this.teardown(()=>{this.disconnecting=!1,e&&e()},t,n)}connect(e){e&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=Ho(e)),!(this.conn&&!this.disconnecting)&&(this.longPollFallbackMs&&this.transport!==Vs?this.connectWithFallback(Vs,this.longPollFallbackMs):this.transportConnect())}log(e,t,n){this.logger&&this.logger(e,t,n)}hasLogger(){return this.logger!==null}onOpen(e){let t=this.makeRef();return this.stateChangeCallbacks.open.push([t,e]),t}onClose(e){let t=this.makeRef();return this.stateChangeCallbacks.close.push([t,e]),t}onError(e){let t=this.makeRef();return this.stateChangeCallbacks.error.push([t,e]),t}onMessage(e){let t=this.makeRef();return this.stateChangeCallbacks.message.push([t,e]),t}onHeartbeat(e){this.heartbeatCallback=e}ping(e){if(!this.isConnected())return!1;let t=this.makeRef(),n=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:t});let r=this.onMessage(s=>{s.ref===t&&(this.off([r]),e(Date.now()-n))});return!0}transportName(e){switch(e){case Vs:return"LongPoll";default:return e.name}}transportConnect(){this.connectClock++,this.closeWasClean=!1;let e;this.authToken&&(e=["phoenix",`${ep}${btoa(this.authToken).replace(/=/g,"")}`]),this.conn=new this.transport(this.endPointURL(),e),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=t=>this.onConnError(t),this.conn.onmessage=t=>this.onConnMessage(t),this.conn.onclose=t=>this.onConnClose(t)}getSession(e){return this.sessionStore&&this.sessionStore.getItem(e)}storeSession(e,t){this.sessionStore&&this.sessionStore.setItem(e,t)}connectWithFallback(e,t=2500){clearTimeout(this.fallbackTimer);let n=!1,r=!0,s,i,o=this.transportName(e),l=c=>{this.log("transport",`falling back to ${o}...`,c),this.off([s,i]),r=!1,this.replaceTransport(e),this.transportConnect()};if(this.getSession(`phx:fallback:${o}`))return l("memorized");this.fallbackTimer=setTimeout(l,t),i=this.onError(c=>{this.log("transport","error",c),r&&!n&&(clearTimeout(this.fallbackTimer),l(c))}),this.fallbackRef&&this.off([this.fallbackRef]),this.fallbackRef=this.onOpen(()=>{if(n=!0,!r){let c=this.transportName(e);return this.primaryPassedHealthCheck||this.storeSession(`phx:fallback:${c}`,"true"),this.log("transport",`established ${c} fallback`)}clearTimeout(this.fallbackTimer),this.fallbackTimer=setTimeout(l,t),this.ping(c=>{this.log("transport","connected to primary after",c),this.primaryPassedHealthCheck=!0,clearTimeout(this.fallbackTimer)})}),this.transportConnect()}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.disconnecting=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.autoSendHeartbeat&&this.resetHeartbeat(),this.triggerStateCallbacks("open")}heartbeatTimeout(){if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(e){this.log("error","error in heartbeat callback",e)}this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),VM,"heartbeat timeout")}}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(e,t,n){if(!this.conn)return e&&e();const r=this.conn;this.waitForBufferDone(r,()=>{t?r.close(t,n||""):r.close(),this.waitForSocketClosed(r,()=>{this.conn===r&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),e&&e()})})}waitForBufferDone(e,t,n=1){if(n===5||!e.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(e,t,n+1)},150*n)}waitForSocketClosed(e,t,n=1){if(n===5||e.readyState===wn.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(e,t,n+1)},150*n)}onConnClose(e){this.conn&&(this.conn.onclose=()=>{}),this.hasLogger()&&this.log("transport","close",e),this.triggerChanError(),this.clearHeartbeats(),this.closeWasClean||this.reconnectTimer.scheduleTimeout(),this.triggerStateCallbacks("close",e)}onConnError(e){this.hasLogger()&&this.log("transport",e);let t=this.transport,n=this.establishedConnections;this.triggerStateCallbacks("error",e,t,n),(t===this.transport||n>0)&&this.triggerChanError()}
247triggerChanError(){this.channels.forEach(e=>{e.isErrored()||e.isLeaving()||e.isClosed()||e.trigger(Ln.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case wn.connecting:return"connecting";case wn.open:return"open";case wn.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(e){this.off(e.stateChangeRefs),this.channels=this.channels.filter(t=>t!==e)}off(e){for(let t in this.stateChangeCallbacks)this.stateChangeCallbacks[t]=this.stateChangeCallbacks[t].filter(([n])=>e.indexOf(n)===-1)}channel(e,t={}){let n=new WM(e,t,this);return this.channels.push(n),n}push(e){if(this.hasLogger()){let{topic:t,event:n,payload:r,ref:s,join_ref:i}=e;this.log("push",`${t} ${n} (${i}, ${s})`,r)}this.isConnected()?this.encode(e,t=>this.conn.send(t)):this.sendBuffer.push(()=>this.encode(e,t=>this.conn.send(t)))}makeRef(){let e=this.ref+1;return e===this.ref?this.ref=0:this.ref=e,this.ref.toString()}sendHeartbeat(){if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(e){this.log("error","error in heartbeat callback",e)}return}if(this.pendingHeartbeatRef){this.heartbeatTimeout();return}this.pendingHeartbeatRef=this.makeRef(),this.heartbeatSentAt=Date.now(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(e){this.log("error","error in heartbeat callback",e)}this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs)}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(e=>e()),this.sendBuffer=[])}onConnMessage(e){this.decode(e.data,t=>{let{topic:n,event:r,payload:s,ref:i,join_ref:o}=t;if(i&&i===this.pendingHeartbeatRef){const l=this.heartbeatSentAt?Date.now()-this.heartbeatSentAt:void 0;this.clearHeartbeats();try{this.heartbeatCallback(s.status==="ok"?"ok":"error",l)}catch(c){this.log("error","error in heartbeat callback",c)}this.pendingHeartbeatRef=null,this.heartbeatSentAt=null,this.autoSendHeartbeat&&(this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}this.hasLogger()&&this.log("receive",`${s.status||""} ${n} ${r} ${i&&"("+i+")"||""}`.trim(),s);for(let l=0;l<this.channels.length;l++){const c=this.channels[l];c.isMember(n,r,s,o)&&c.trigger(r,s,i,o)}this.triggerStateCallbacks("message",t)})}triggerStateCallbacks(e,...t){try{this.stateChangeCallbacks[e].forEach(([n,r])=>{try{r(...t)}catch(s){this.log("error",`error in ${e} callback`,s)}})}catch(n){this.log("error",`error triggering ${e} callbacks`,n)}}leaveOpenTopic(e){let t=this.channels.find(n=>n.topic===e&&(n.isJoined()||n.isJoining()));t&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${e}"`),t.leave())}};class Ko{constructor(t,n){const r=YM(n);this.presence=new KM(t.getChannel(),r),this.presence.onJoin((s,i,o)=>{const l=Ko.onJoinPayload(s,i,o);t.getChannel().trigger("presence",l)}),this.presence.onLeave((s,i,o)=>{const l=Ko.onLeavePayload(s,i,o);t.getChannel().trigger("presence",l)}),this.presence.onSync(()=>{t.getChannel().trigger("presence",{event:"sync"})})}get state(){return Ko.transformState(this.presence.state)}static transformState(t){return t=GM(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const s=t[r];return n[r]=ic(s),n},{})}static onJoinPayload(t,n,r){const s=B0(n),i=ic(r);return{event:"join",key:t,currentPresences:s,newPresences:i}}static onLeavePayload(t,n,r){const s=B0(n),i=ic(r);return{event:"leave",key:t,currentPresences:s,leftPresences:i}}}function ic(e){return e.metas.map(t=>(t.presence_ref=t.phx_ref,delete t.phx_ref,delete t.phx_ref_prev,t))}function GM(e){return JSON.parse(JSON.stringify(e))}function YM(e){return(e==null?void 0:e.events)&&{events:e.events}}function B0(e){return e!=null&&e.metas?ic(e):[]}var U0;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(U0||(U0={}));class JM{get state(){return this.presenceAdapter.state}constructor(t,n){this.channel=t,this.presenceAdapter=new Ko(this.channel.channelAdapter,n)}}class QM{constructor(t,n,r){const s=XM(r);this.channel=t.getSocket().channel(n,s),this.socket=t}get state(){return this.channel.state}set state(t){this.channel.state=t}get joinedOnce(){return this.channel.joinedOnce}get joinPush(){return this.channel.joinPush}get rejoinTimer(){return this.channel.rejoinTimer}on(t,n){return this.channel.on(t,n)}off(t,n){this.channel.off(t,n)}subscribe(t){return this.channel.join(t)}unsubscribe(t){return this.channel.leave(t)}teardown(){this.channel.teardown()}onClose(t){this.channel.onClose(t)}onError(t){return this.channel.onError(t)}push(t,n,r){let s;try{s=this.channel.push(t,n,r)}catch{throw new Error(`tried to push '${t}' to '${this.channel.topic}' before joining. Use channel.subscribe() before pushing events`)}if(this.channel.pushBuffer.length>PM){const i=this.channel.pushBuffer.shift();i.cancelTimeout(),this.socket.log("channel",`discarded push due to buffer overflow: ${i.event}`,i.payload())}return s}updateJoinPayload(t){const n=this.channel.joinPush.payload();this.channel.joinPush.payload=()=>Object.assign(Object.assign({},n),t)}canPush(){return this.socket.isConnected()&&this.state===mr.joined}isJoined(){return this.state===mr.joined}isJoining(){return this.state===mr.joining}isClosed(){return this.state===mr.closed}isLeaving(){return this.state===mr.leaving}updateFilterBindings(t){this.channel.filterBindings=t}updatePayloadTransform(t){this.channel.onMessage=t}getChannel(){return this.channel}}function XM(e){return{config:Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},e.config)}}var V0;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(V0||(V0={}));var yi;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(yi||(yi={}));var Mn;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(Mn||(Mn={}));class qo{get state(){return this.channelAdapter.state}set state(t){this.channelAdapter.state=t}get joinedOnce(){return this.channelAdapter.joinedOnce}get timeout(){return this.socket.timeout}get joinPush(){return this.channelAdapter.joinPush}get rejoinTimer(){return this.channelAdapter.rejoinTimer}constructor(t,n={config:{}},r){var s,i;if(this.topic=t,this.params=n,this.socket=r,this.bindings={},this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.channelAdapter=new QM(this.socket.socketAdapter,t,this.params),this.presence=new JM(this),this._onClose(()=>{this.socket._remove(this)}),this._updateFilterTransform(),this.broadcastEndpointURL=KS(this.socket.socketAdapter.endPointURL()),this.private=this.params.config.private||!1,!this.private&&(!((i=(s=this.params.config)===null||s===void 0?void 0:s.broadcast)===null||i===void 0)&&i.replay))throw new Error(`tried to use replay on public channel '${this.topic}'. It must be a private channel.`)}subscribe(t,n=this.timeout){var r,s,i;if(this.socket.isConnected()||this.socket.connect(),this.channelAdapter.isClosed()){const{config:{broadcast:o,presence:l,private:c}}=this.params,u=(s=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(p=>p.filter))!==null&&s!==void 0?s:[],d=!!this.bindings[yi.PRESENCE]&&this.bindings[yi.PRESENCE].length>0||((i=this.params.config.presence)===null||i===void 0?void 0:i.enabled)===!0,h={},f={broadcast:o,presence:Object.assign(Object.assign({},l),{enabled:d}),postgres_changes:u,private:c};this.socket.accessTokenValue&&(h.access_token=this.socket.accessTokenValue),this._onError(p=>{t==null||t(Mn.CHANNEL_ERROR,p)}),this._onClose(()=>t==null?void 0:t(Mn.CLOSED)),this.updateJoinPayload(Object.assign({config:f},h)),this._updateFilterMessage(),this.channelAdapter.subscribe(n).receive("ok",async({postgres_changes:p})=>{if(this.socket._isManualToken()||this.socket.setAuth(),p===void 0){t==null||t(Mn.SUBSCRIBED);return}this._updatePostgresBindings(p,t)}
247).receive("error",p=>{this.state=mr.errored,t==null||t(Mn.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(p).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(Mn.TIMED_OUT)})}return this}_updatePostgresBindings(t,n){var r;const s=this.bindings.postgres_changes,i=(r=s==null?void 0:s.length)!==null&&r!==void 0?r:0,o=[];for(let l=0;l<i;l++){const c=s[l],{filter:{event:u,schema:d,table:h,filter:f}}=c,p=t&&t[l];if(p&&p.event===u&&qo.isFilterValueEqual(p.schema,d)&&qo.isFilterValueEqual(p.table,h)&&qo.isFilterValueEqual(p.filter,f))o.push(Object.assign(Object.assign({},c),{id:p.id}));else{this.unsubscribe(),this.state=mr.errored,n==null||n(Mn.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=o,this.state!=mr.errored&&n&&n(Mn.SUBSCRIBED)}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){const s=this.channelAdapter.isJoined()||this.channelAdapter.isJoining(),i=t===yi.PRESENCE||t===yi.POSTGRES_CHANGES;if(s&&i)throw this.socket.log("channel",`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`),new Error(`cannot add \`${t}\` callbacks for ${this.topic} after \`subscribe()\`.`);return this._on(t,n,r)}async httpSend(t,n,r={}){var s;if(n==null)return Promise.reject(new Error("Payload is required for httpSend()"));const i={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(i.Authorization=`Bearer ${this.socket.accessTokenValue}`);const o={method:"POST",headers:i,body:JSON.stringify({messages:[{topic:this.subTopic,event:t,payload:n,private:this.private}]})},l=await this._fetchWithTimeout(this.broadcastEndpointURL,o,(s=r.timeout)!==null&&s!==void 0?s:this.timeout);if(l.status===202)return{success:!0};let c=l.statusText;try{const u=await l.json();c=u.error||u.message||c}catch{}return Promise.reject(new Error(c))}async send(t,n={}){var r,s;if(!this.channelAdapter.canPush()&&t.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated
247in the future. Please use httpSend() explicitly for REST delivery.");const{event:i,payload:o}=t,l={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(l.Authorization=`Bearer ${this.socket.accessTokenValue}`);const c={method:"POST",headers:l,body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:o,private:this.private}]})};try{const u=await this._fetchWithTimeout(this.broadcastEndpointURL,c,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((s=u.body)===null||s===void 0?void 0:s.cancel()),u.ok?"ok":"error"}catch(u){return u.name==="AbortError"?"timed out":"error"}}else return new Promise(i=>{var o,l,c;const u=this.channelAdapter.push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((c=(l=(o=this.params)===null||o===void 0?void 0:o.config)===null||l===void 0?void 0:l.broadcast)===null||c===void 0)&&c.ack)&&i("ok"),u.receive("ok",()=>i("ok")),u.receive("error",()=>i("error")),u.receive("timeout",()=>i("timed out"))})}updateJoinPayload(t){this.channelAdapter.updateJoinPayload(t)}async unsubscribe(t=this.timeout){return new Promise(n=>{this.channelAdapter.unsubscribe(t).receive("ok",()=>n("ok")).receive("timeout",()=>n("timed out")).receive("error",()=>n("error"))})}teardown(){this.channelAdapter.teardown()}async _fetchWithTimeout(t,n,r){const s=new AbortController,i=setTimeout(()=>s.abort(),r),o=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:s.signal}));return clearTimeout(i),o}_on(t,n,r){const s=t.toLocaleLowerCase(),i=this.channelAdapter.on(t,r),o={type:s,filter:n,callback:r,ref:i};return this.bindings[s]?this.bindings[s].push(o):this.bindings[s]=[o],this._updateFilterMessage(),this}_onClose(t){this.channelAdapter.onClose(t)}_onError(t){this.channelAdapter.onError(t)}_updateFilterMessage(){this.channelAdapter.updateFilterBindings((t,n,r)=>{var s,i,o,l,c,u,d;const h=t.event.toLocaleLowerCase();if(this._notThisChannelEvent(h,r))return!1;const f=(s=this.bindings[h])===null||s===void 0?void 0:s.find(p=>p.ref===t.ref);if(!f)return!0;if(["broadcast","presence","postgres_changes"].includes(h))if("id"in f){const p=f.id,x=(i=f.filter)===null||i===void 0?void 0:i.event;return p&&((o=n.ids)===null||o===void 0?void 0:o.includes(p))&&(x==="*"||(x==null?void 0:x.toLocaleLowerCase())===((l=n.data)===null||l===void 0?void 0:l.type.toLocaleLowerCase()))}else{const p=(u=(c=f==null?void 0:f.filter)===null||c===void 0?void 0:c.event)===null||u===void 0?void 0:u.toLocaleLowerCase();return p==="*"||p===((d=n==null?void 0:n.event)===null||d===void 0?void 0:d.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===h})}_notThisChannelEvent(t,n){const{close:r,error:s,leave:i,join:o}=WS;return n&&[r,s,i,o].includes(t)&&n!==this.joinPush.ref}_updateFilterTransform(){this.channelAdapter.updatePayloadTransform((t,n,r)=>{if(typeof n=="object"&&"ids"in n){const s=n.data,{schema:i,table:o,commit_timestamp:l,type:c,errors:u}=s;return Object.assign(Object.assign({},{schema:i,table:o,commit_timestamp:l,eventType:c,new:{},old:{},errors:u}),this._getPayloadRecords(s))}return n})}copyBindings(t){if(this.joinedOnce)throw new Error("cannot copy bindings into joined channel");for(const n in t.bindings)for(const r of t.bindings[n])this._on(r.type,r.filter,r.callback)}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=F0(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=F0(t.columns,t.old_record)),n}}class ZM{constructor(t,n){this.socket=new qM(t,n)}get timeout(){return this.socket.timeout}get endPoint(){return this.socket.endPoint}get transport(){return this.socket.transport}get heartbeatIntervalMs(){return this.socket.heartbeatIntervalMs}get heartbeatCallback(){return this.socket.heartbeatCallback}set heartbeatCallback(t){this.socket.heartbeatCallback=t}get heartbeatTimer(){return this.socket.heartbeatTimer}get pendingHeartbeatRef(){return this.socket.pendingHeartbeatRef}get reconnectTimer(){return this.socket.reconnectTimer}get vsn(){return this.socket.vsn}get encode(){return this.socket.encode}get decode(){return this.socket.decode}get reconnectAfterMs(){return this.socket.reconnectAfterMs}get sendBuffer(){return this.socket.sendBuffer}get stateChangeCallbacks(){return this.socket.stateChangeCallbacks}connect(){this.socket.connect()}disconnect(t,n,r,s=1e4){return new Promise(i=>{setTimeout(()=>i("timeout"),s),this.socket.disconnect(()=>{t(),i("ok")},n,r)})}push(t){this.socket.push(t)}log(t,n,r){this.socket.log(t,n,r)}makeRef(){return this.socket.makeRef()}onOpen(t){this.socket.onOpen(t)}onClose(t){this.socket.onClose(t)}onError(t){this.socket.onError(t)}onMessage(t){this.socket.onMessage(t)}isConnected(){return this.socket.isConnected()}isConnecting(){return this.socket.connectionState()==Qf.connecting}isDisconnecting(){return this.socket.connectionState()==Qf.closing}connectionState(){return this.socket.connectionState()}endPointURL(){return this.socket.endPointURL()}sendHeartbeat(){this.socket.sendHeartbeat()}getSocket(){return this.socket}}const e$={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},t$=[1e3,2e3,5e3,1e4],n$=1e4,r$=` 248 addEventListener("message", (e) => { 249 if (e.data.event === "start") { 250 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 251 } 252 });`;class s${get endPoint(){return this.socketAdapter.endPoint}get timeout(){return this.socketAdapter.timeout}get transport(){return this.socketAdapter.transport}get heartbeatCallback(){return this.socketAdapter.heartbeatCallback}get heartbeatIntervalMs(){return this.socketAdapter.heartbeatIntervalMs}get heartbeatTimer(){return this.worker?this._workerHeartbeatTimer:this.socketAdapter.heartbeatTimer}get pendingHeartbeatRef(){return this.worker?this._pendingWorkerHeartbeatRef:this.socketAdapter.pendingHeartbeatRef}get reconnectTimer(){return this.socketAdapter.reconnectTimer}get vsn(){return this.socketAdapter.vsn}get encode(){return this.socketAdapter.encode}get decode(){return this.socketAdapter.decode}get reconnectAfterMs(){return this.socketAdapter.reconnectAfterMs}get sendBuffer(){return this.socketAdapter.sendBuffer}get stateChangeCallbacks(){return this.socketAdapter.stateChangeCallbacks}constructor(t,n){var r;if(this.channels=new Array,this.accessTokenValue=null,this.accessToken=null,this.apiKey=null,this.httpEndpoint="",this.headers={},this.params={}
252,this.ref=0,this.serializer=new RM,this._manuallySetToken=!1,this._authPromise=null,this._workerHeartbeatTimer=void 0,this._pendingWorkerHeartbeatRef=null,this._resolveFetch=i=>i?(...o)=>i(...o):(...o)=>fetch(...o),!(!((r=n==null?void 0:n.params)===null||r===void 0)&&r.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey;const s=this._initializeOptions(n);this.socketAdapter=new ZM(t,s),this.httpEndpoint=KS(t),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.isConnected())){this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this._setupConnectionHandlers();try{this.socketAdapter.connect()}catch(t){const n=t.message;throw n.includes("Node.js")?new Error(`${n} 253 254To use Realtime in Node.js, you need to provide a WebSocket implementation: 255 256Option 1: Use Node.js 22+ which has native WebSocket support 257Option 2: Install and provide the "ws" package: 258 259 npm install ws 260 261 import ws from "ws" 262 const client = new RealtimeClient(url, { 263 ...options, 264 transport: ws 265 })`):new Error(`WebSocket not available: ${n}`)}this._handleNodeJsRaceCondition()}}endpointURL(){return this.socketAdapter.endPointURL()}async disconnect(t,n){return this.isDisconnecting()?"ok":await this.socketAdapter.disconnect(()=>{clearInterval(this._workerHeartbeatTimer),this._terminateWorker()},t,n)}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return n==="ok"&&t.teardown(),this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=this.channels.map(async r=>{const s=await r.unsubscribe();return r.teardown(),s}),n=await Promise.all(t);return this.disconnect(),n}log(t,n,r){this.socketAdapter.log(t,n,r)}connectionState(){return this.socketAdapter.connectionState()||Qf.closed}isConnected(){return this.socketAdapter.isConnected()}isConnecting(){return this.socketAdapter.isConnecting()}isDisconnecting(){return this.socketAdapter.isDisconnecting()}channel(t,n={config:{}}){const r=`realtime:${t}`,s=this.getChannels().find(i=>i.topic===r);if(s)return s;{const i=new qo(`realtime:${t}`,n,this);return this.channels.push(i),i}}push(t){this.socketAdapter.push(t)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){this.socketAdapter.sendHeartbeat()}onHeartbeat(t){this.socketAdapter.heartbeatCallback=this._wrapHeartbeatCallback(t)}_makeRef(){return this.socketAdapter.makeRef()}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic)}async _performAuth(t=null){let n,r=!1;if(t)n=t,r=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(s){this.log("error","Error fetching access token from callback",s),n=this.accessTokenValue}else n=this.accessTokenValue;r?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(s=>{const i={access_token:n,version:NM};n&&s.updateJoinPayload(i),s.joinedOnce&&s.channelAdapter.isJoined()&&s.channelAdapter.push(WS.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_setupConnectionHandlers(){this.socketAdapter.onOpen(()=>{(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).catch(n=>{this.log("error","error waiting for auth on connect",n)}),this.worker&&!this.workerRef&&this._startWorkerHeartbeat()}),this.socketAdapter.onClose(()=>{this.worker&&this.workerRef&&this._terminateWorker()}),this.socketAdapter.onMessage(t=>{t.ref&&t.ref===this._pendingWorkerHeartbeatRef&&(this._pendingWorkerHeartbeatRef=null)})}_handleNodeJsRaceCondition(){this.socketAdapter.isConnected()&&this.socketAdapter.getSocket().onConnOpen()}_wrapHeartbeatCallback(t){return(n,r)=>{n=="sent"&&this._setAuthSafely(),t&&t(n,r)}}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker(),this.disconnect()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([r$],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}_initializeOptions(t){var n,r,s,i,o,l,c,u,d;this.worker=(n=t==null?void 0:t.worker)!==null&&n!==void 0?n:!1,this.accessToken=(r=t==null?void 0:t.accessToken)!==null&&r!==void 0?r:null;const h={};
265h.timeout=(s=t==null?void 0:t.timeout)!==null&&s!==void 0?s:AM,h.heartbeatIntervalMs=(i=t==null?void 0:t.heartbeatIntervalMs)!==null&&i!==void 0?i:e$.HEARTBEAT_INTERVAL,h.transport=(o=t==null?void 0:t.transport)!==null&&o!==void 0?o:_M.getWebSocketConstructor(),h.params=t==null?void 0:t.params,h.logger=t==null?void 0:t.logger,h.heartbeatCallback=this._wrapHeartbeatCallback(t==null?void 0:t.heartbeatCallback),h.reconnectAfterMs=(l=t==null?void 0:t.reconnectAfterMs)!==null&&l!==void 0?l:m=>t$[m-1]||n$;let f,p;const x=(c=t==null?void 0:t.vsn)!==null&&c!==void 0?c:CM;switch(x){case TM:f=(m,w)=>w(JSON.stringify(m)),p=(m,w)=>w(JSON.parse(m));break;case zS:f=this.serializer.encode.bind(this.serializer),p=this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${h.vsn}`)}if(h.vsn=x,h.encode=(u=t==null?void 0:t.encode)!==null&&u!==void 0?u:f,h.decode=(d=t==null?void 0:t.decode)!==null&&d!==void 0?d:p,h.beforeReconnect=this._reconnectAuth.bind(this),(t!=null&&t.logLevel||t!=null&&t.log_level)&&(this.logLevel=t.logLevel||t.log_level,h.params=Object.assign(Object.assign({},h.params),{log_level:this.logLevel})),this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t==null?void 0:t.workerUrl,h.autoSendHeartbeat=!this.worker}return h}async _reconnectAuth(){await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()}}var ba=class extends Error{constructor(e,t){var n;super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&((n=t.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function i$(e,t,n){const r=new URL(t,e);if(n)for(const[s,i]of Object.entries(n))i!==void 0&&r.searchParams.set(s,i);return r.toString()}async function o$(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function a$(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:s,body:i,headers:o}){const l=i$(e.baseUrl,r,s),c=await o$(e.auth),u=await t(l,{method:n,headers:{...i?{"Content-Type":"application/json"}:{},...c,...o},body:i?JSON.stringify(i):void 0}),d=await u.text(),h=(u.headers.get("content-type")||"").includes("application/json"),f=h&&d?JSON.parse(d):d;if(!u.ok){const p=h?f:void 0,x=p==null?void 0:p.error;throw new ba((x==null?void 0:x.message)??`Request failed with status ${u.status}`,{status:u.status,icebergType:x==null?void 0:x.type,icebergCode:x==null?void 0:x.code,details:p})}return{status:u.status,headers:u.headers,data:f}}}}function Nl(e){return e.join("�")}var l$=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:Nl(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t==null?void 0:t.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Nl(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Nl(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Nl(e.namespace)}`}),!0}catch(t){if(t instanceof ba&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof ba&&n.status===409)return;throw n}}};function zs(e){return e.join("�")}var c$=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${zs(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${zs(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${zs(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${zs(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((t==null?void 0:t.purge)??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${zs(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${zs(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof ba&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof ba&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},u$=class{constructor(e){var r;let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=a$({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(r=e.accessDelegation)==null?void 0:r.join(","),this.namespaceOps=new l$(this.client,t),this.tableOps=new c$(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
265async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}};function ka(e){"@babel/helpers - typeof";return ka=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ka(e)}function d$(e,t){if(ka(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ka(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function h$(e){var t=d$(e,"string");return ka(t)=="symbol"?t:t+""}
265function f$(e,t,n){return(t=h$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z0(Object(n),!0).forEach(function(r){f$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var zu=class extends Error{constructor(e,t="storage",n,r){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=r}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}};function Wu(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var tp=class extends zu{constructor(e,t,n,r="storage"){super(e,r,t,n),this.name=r==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=t,this.statusCode=n}toJSON(){return K({},super.toJSON())}},GS=class extends zu{constructor(e,t,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=t}};function ag(e,t,n){const r=K({},e),s=t.toLowerCase();for(const i of Object.keys(r))i.toLowerCase()===s&&delete r[i];return r[s]=n,r}function p$(e){const t={};for(const[n,r]of Object.entries(e))t[n.toLowerCase()]=r;return t}const m$=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),g$=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)},np=e=>{if(Array.isArray(e))return e.map(n=>np(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const s=n.replace(/([-_][a-z])/gi,i=>i.toUpperCase().replace(/[-_]/g,""));t[s]=np(r)}),t},y$=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e),W0=e=>{var t;return e.msg||e.message||e.error_description||(typeof e.error=="string"?e.error:(t=e.error)===null||t===void 0?void 0:t.message)||JSON.stringify(e)},v$=async(e,t,n,r)=>{if(e!==null&&typeof e=="object"&&typeof e.json=="function"){const s=e;let i=parseInt(s.status,10);Number.isFinite(i)||(i=500),s.json().then(o=>{const l=(o==null?void 0:o.statusCode)||(o==null?void 0:o.code)||i+"";t(new tp(W0(o),i,l,r))}).catch(()=>{const o=i+"";t(new tp(s.statusText||`HTTP ${i} error`,i,o,r))})}else t(new GS(W0(e),e,r))},x$=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};if(e==="GET"||e==="HEAD"||!r)return K(K({},s),n);if(g$(r)){var i;const o=(t==null?void 0:t.headers)||{};let l;for(const[c,u]of Object.entries(o))c.toLowerCase()==="content-type"&&(l=u);s.headers=ag(o,"Content-Type",(i=l)!==null&&i!==void 0?i:"application/json"),s.body=JSON.stringify(r)}else s.body=r;return t!=null&&t.duplex&&(s.duplex=t.duplex),K(K({},s),n)};async function bo(e,t,n,r,s,i,o){return new Promise((l,c)=>{e(n,x$(t,r,s,i)).then(u=>{if(!u.ok)throw u;if(r!=null&&r.noResolveJson)return u;if(o==="vectors"){const d=u.headers.get("content-type");if(u.headers.get("content-length")==="0"||u.status===204)return{};if(!d||!d.includes("application/json"))return{}}return u.json()}).then(u=>l(u)).catch(u=>v$(u,c,r,o))})}function YS(e="storage"){return{get:async(t,n,r,s)=>bo(t,"GET",n,r,s,void 0,e),post:async(t,n,r,s,i)=>bo(t,"POST",n,s,i,r,e),put:async(t,n,r,s,i)=>bo(t,"PUT",n,s,i,r,e),head:async(t,n,r,s)=>bo(t,"HEAD",n,K(K({},r),{},{noResolveJson:!0}),s,void 0,e),remove:async(t,n,r,s,i)=>bo(t,"DELETE",n,s,i,r,e)}}const w$=YS("storage"),{get:Sa,post:Jt,put:rp,head:b$,remove:lg}=w$,bt=YS("vectors");var io=class{constructor(e,t={},n,r="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=p$(t),this.fetch=m$(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=ag(this.headers,e,t),this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(Wu(n))return{data:null,error:n};throw n}}},k$=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t}then(e,t){return this.execute().then(e,t)}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Wu(t))return{data:null,error:t};throw t}}};let JS;JS=Symbol.toStringTag;var S$=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[JS]="BlobDownloadBuilder",this.promise=null}asStream(){return new k$(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Wu(t))return{data:null,error:t};throw t}}};const j$={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},H0={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var _$=class extends io{constructor(e,t={},n,r){super(e,t,r,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var s=this;return s.handleOperation(async()=>{let i;const o=K(K({},H0),r);let l=K(K({},s.headers),e==="POST"&&{"x-upsert":String(o.upsert)});const c=o.metadata;if(typeof Blob<"u"&&n instanceof Blob?(i=new FormData,i.append("cacheControl",o.cacheControl),c&&i.append("metadata",s.encodeMetadata(c)),i.append("",n)):typeof FormData<"u"&&n instanceof FormData?(i=n,i.has("cacheControl")||i.append("cacheControl",o.cacheControl),c&&!i.has("metadata")&&i.append("metadata",s.encodeMetadata(c))):(i=n,l["cache-control"]=`max-age=${o.cacheControl}`,l["content-type"]=o.contentType,c&&(l["x-metadata"]=s.toBase64(s.encodeMetadata(c))),(typeof ReadableStream<"u"&&i instanceof ReadableStream||i&&typeof i=="object"&&"pipe"in i&&typeof i.pipe=="function")&&!o.duplex&&(o.duplex="half")),r!=null&&r.headers)for(const[f,p]of Object.entries(r.headers))l=ag(l,f,p);const u=s._removeEmptyFolders(t),d=s._getFinalPath(u),h=await(e=="PUT"?rp:Jt)(s.fetch,`${s.url}/object/${d}`,i,K({headers:l},o!=null&&o.duplex?{duplex:o.duplex}:{}));return{path:u,id:h.Id,fullPath:h.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,r){var s=this;const i=s._removeEmptyFolders(e),o=s._getFinalPath(i),l=new URL(s.url+`/object/upload/sign/${o}`);return l.searchParams.set("token",t),s.handleOperation(async()=>{let c;const u=K(K({},H0),r),d=K(K({},s.headers),{"x-upsert":String(u.upsert)});return typeof Blob<"u"&&n instanceof Blob?(c=new FormData,c.append("cacheControl",u.cacheControl),c.append("",n)):typeof FormData<"u"&&n instanceof FormData?(c=n,c.append("cacheControl",u.cacheControl)):(c=n,d["cache-control"]=`max-age=${u.cacheControl}`,d["content-type"]=u.contentType),{path:i,fullPath:(await rp(s.fetch,l.toString(),c,{headers:d})).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e);const s=K({},n.headers);t!=null&&t.upsert&&(s["x-upsert"]="true");const i=await Jt(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:s}),o=new URL(n.url+i.url),l=o.searchParams.get("token");if(!l)throw new zu("No token returned by API");return{signedUrl:o.toString(),path:e,token:l}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await Jt(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,de
265stinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await Jt(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let s=r._getFinalPath(e);const i=typeof(n==null?void 0:n.transform)=="object"&&n.transform!==null&&Object.keys(n.transform).length>0;let o=await Jt(r.fetch,`${r.url}/object/sign/${s}`,K({expiresIn:t},i?{transform:n.transform}:{}),{headers:r.headers});const l=new URLSearchParams;n!=null&&n.download&&l.set("download",n.download===!0?"":n.download),(n==null?void 0:n.cacheNonce)!=null&&l.set("cacheNonce",String(n.cacheNonce));const c=l.toString();return{signedUrl:encodeURI(`${r.url}${o.signedURL}${c?`&${c}`:""}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{const s=await Jt(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),i=new URLSearchParams;n!=null&&n.download&&i.set("download",n.download===!0?"":n.download),(n==null?void 0:n.cacheNonce)!=null&&i.set("cacheNonce",String(n.cacheNonce));const o=i.toString();return s.map(l=>K(K({},l),{},{signedUrl:l.signedURL?encodeURI(`${r.url}${l.signedURL}${o?`&${o}`:""}`):null}))})}download(e,t,n){const r=typeof(t==null?void 0:t.transform)=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image/authenticated":"object",s=new URLSearchParams;t!=null&&t.transform&&this.applyTransformOptsToQuery(s,t.transform),(t==null?void 0:t.cacheNonce)!=null&&s.set("cacheNonce",String(t.cacheNonce));const i=s.toString(),o=this._getFinalPath(e),l=()=>Sa(this.fetch,`${this.url}/${r}/${o}${i?`?${i}`:""}`,{headers:this.headers,noResolveJson:!0},n);return new S$(l,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>np(await Sa(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await b$(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(s){if(t.shouldThrowOnError)throw s;if(Wu(s)){var r;const i=s instanceof tp?s.status:s instanceof GS?(r=s.originalError)===null||r===void 0?void 0:r.status:void 0;if(i!==void 0&&[400,404].includes(i))return{data:!1,error:s}}throw s}}getPublicUrl(e,t){const n=this._getFinalPath(e),r=new URLSearchParams;t!=null&&t.download&&r.set("download",t.download===!0?"":t.download),t!=null&&t.transform&&this.applyTransformOptsToQuery(r,t.transform),(t==null?void 0:t.cacheNonce)!=null&&r.set("cacheNonce",String(t.cacheNonce));const s=r.toString(),i=typeof(t==null?void 0:t.transform)=="object"&&t.transform!==null&&Object.keys(t.transform).length>0?"render/image":"object";return{data:{publicUrl:encodeURI(`${this.url}/${i}/public/${n}`)+(s?`?${s}`:"")}}}async remove(e){var t=this;return t.handleOperation(async()=>await lg(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{const s=K(K(K({},j$),t),{},{prefix:e||""});return await Jt(r.fetch,`${r.url}/object/list/${r.bucketId}`,s,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const r=K({},e);return await Jt(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}applyTransformOptsToQuery(e,t){return t.width&&e.set("width",t.width.toString()),t.height&&e.set("height",t.height.toString()),t.resize&&e.set("resize",t.resize),t.format&&e.set("format",t.format),t.quality&&e.set("quality",t.quality.toString()),e}};const E$="2.104.0",qa={"X-Client-Info":`storage-js/${E$}`};var N$=class extends io{constructor(e,t={},n,r){const s=new URL(e);r!=null&&r.useNewHostname&&/supabase\.(co|in|red)$/.test(s.hostname)&&!s.hostname.includes("storage.supabase.")&&(s.hostname=s.hostname.replace("supabase.","storage.supabase."));const i=s.href.replace(/\/$/,""),o=K(K({},qa),t);super(i,o,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await Sa(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Sa(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await Jt(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await rp(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await Jt(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await lg(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},T$=class extends io{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=K(K({},qa),t);super(r,s,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Jt(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;(e==null?void 0:e.limit)!==void 0&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&n.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&n.set("sortOrder",e.sortOrder),e!=null&&e.search&&n.set("search",e.search);const r=n.toString(),s=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await Sa(t.fetch,s,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await lg(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!y$(e))throw new zu("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new u$({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}
265),r=this.shouldThrowOnError;return new Proxy(n,{get(s,i){const o=s[i];return typeof o!="function"?o:async(...l)=>{try{return{data:await o.apply(s,l),error:null}}catch(c){if(r)throw c;return{data:null,error:c}}}}})}},C$=class extends io{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=K(K({},qa),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await bt.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await bt.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},A$=class extends io{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=K(K({},qa),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},P$=class extends io{constructor(e,t={},n){const r=e.replace(/\/$/,""),s=K(K({},qa),{},{"Content-Type":"application/json"},t);super(r,s,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await bt.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},R$=class extends P${constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new I$(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},I$=class extends C${constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,K(K({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,K(K({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new O$(this.url,this.headers,this.vectorBucketName,e,this.fetch)}}
265,O$=class extends A${constructor(e,t,n,r,s){super(e,t,s),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,K(K({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,K(K({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,K(K({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,K(K({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,K(K({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},D$=class extends N${constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new _$(this.url,this.headers,e,this.fetch)}get vectors(){return new R$(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new T$(this.url+"/iceberg",this.headers,this.fetch)}};function Hu(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 s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}const QS="2.104.0",ei=30*1e3,sp=3,Xd=sp*ei,L$="http://localhost:9999",M$="supabase.auth.token",$$={"X-Client-Info":`gotrue-js/${QS}`},ip="X-Supabase-Api-Version",XS={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},F$=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,B$=10*60*1e3;class ja extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}toJSON(){return{name:this.name,message:this.message,status:this.status,code:this.code}}}function B(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class U$ extends ja{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function V$(e){return B(e)&&e.name==="AuthApiError"}class ss extends ja{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Jn extends ja{constructor(t,n,r,s){super(t,r,s),this.name=n,this.status=r}}class yt extends Jn{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function Tl(e){return B(e)&&e.name==="AuthSessionMissingError"}class Ws extends Jn{constructor(){super("Auth session or user missing","AuthInvalidToken
265ResponseError",500,void 0)}}class Cl extends Jn{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Al extends Jn{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}function z$(e){return B(e)&&e.name==="AuthImplicitGrantRedirectError"}class K0 extends Jn{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{details:this.details})}}class W$ extends Jn{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class op extends Jn{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function Zd(e){return B(e)&&e.name==="AuthRetryableFetchError"}class q0 extends Jn{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}toJSON(){return Object.assign(Object.assign({},super.toJSON()),{reasons:this.reasons})}}class ap extends Jn{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const Xc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),G0=`
266\r=`.split(""),H$=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<G0.length;t+=1)e[G0[t].charCodeAt(0)]=-2;for(let t=0;t<Xc.length;t+=1)e[Xc[t].charCodeAt(0)]=t;return e})();function Y0(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Xc[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Xc[r]),t.queuedBits-=6}}function ZS(e,t,n){const r=H$[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function J0(e){const t=[],n=o=>{t.push(String.fromCodePoint(o))},r={utf8seq:0,codepoint:0},s={queue:0,queuedBits:0},i=o=>{G$(o,r,n)};for(let o=0;o<e.length;o+=1)ZS(e.charCodeAt(o),s,i);return t.join("")}function K$(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function q$(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const s=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|s)+65536,n+=1}K$(r,t)}}function G$(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function Ni(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};for(let s=0;s<e.length;s+=1)ZS(e.charCodeAt(s),n,r);return new Uint8Array(t)}function Y$(e){const t=[];return q$(e,n=>t.push(n)),new Uint8Array(t)}function us(e){const t=[],n={queue:0,queuedBits:0},r=s=>{t.push(s)};return e.forEach(s=>Y0(s,n,r)),Y0(null,n,r),t.join("")}function J$(e){return Math.round(Date.now()/1e3)+e}function Q$(){return Symbol("auth-callback")}const Fe=()=>typeof window<"u"&&typeof document<"u",Gr={tested:!1,writable:!1},ej=()=>
266{if(!Fe())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(Gr.tested)return Gr.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),Gr.tested=!0,Gr.writable=!0}catch{Gr.tested=!0,Gr.writable=!1}return Gr.writable};function X$(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((s,i)=>{t[i]=s})}catch{}return n.searchParams.forEach((r,s)=>{t[s]=r}),t}const tj=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),Z$=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",ti=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},Yr=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},$e=async(e,t)=>{await e.removeItem(t)};class Ku{constructor(){this.promise=new Ku.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}Ku.promiseConstructor=Promise;function Pl(e){const t=e.split(".");if(t.length!==3)throw new ap("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!F$.test(t[r]))throw new ap("JWT not in base64url format");return{header:JSON.parse(J0(t[0])),payload:JSON.parse(J0(t[1])),signature:Ni(t[2]),raw:{header:t[0],payload:t[1]}}}async function e7(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function t7(e,t){return new Promise((r,s)=>{(async()=>{for(let i=0;i<1/0;i++)try{const o=await e(i);if(!t(i,null,o)){r(o);return}}catch(o){if(!t(i,o)){s(o);return}}})()})}function n7(e){return("0"+e.toString(16)).substr(-2)}function r7(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let s="";for(let i=0;i<56;i++)s+=n.charAt(Math.floor(Math.random()*r));return s}return crypto.getRandomValues(t),Array.from(t,n7).join("")}async function s7(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),s=new Uint8Array(r);return Array.from(s).map(i=>String.fromCharCode(i)).join("")}async function i7(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await s7(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Hs(e,t,n=!1){const r=r7();let s=r;n&&(s+="/PASSWORD_RECOVERY"),await ti(e,`${t}-code-verifier`,s);const i=await i7(r);return[i,r===i?"plain":"s256"]}const o7=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function a7(e){const t=e.headers.get(ip);if(!t||!t.match(o7))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function l7(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function c7(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const u7=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Ks(e){if(!u7.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function eh(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function d7(e,t){return new Proxy(e,{get:(n,r,s)=>{if(r==="__isInsecureUserWarningProxy")return!0;
266if(typeof r=="symbol"){const i=r.toString();if(i==="Symbol(Symbol.toPrimitive)"||i==="Symbol(Symbol.toStringTag)"||i==="Symbol(util.inspect.custom)"||i==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,r,s)}return!t.value&&typeof r=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,r,s)}})}function Q0(e){return JSON.parse(JSON.stringify(e))}const rs=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),h7=[502,503,504,520,521,522,523,524,530];async function X0(e){var t;if(!Z$(e))throw new op(rs(e),0);if(h7.includes(e.status))throw new op(rs(e),e.status);let n;try{n=await e.json()}catch(i){throw new ss(rs(i),i)}let r;const s=a7(e);if(s&&s.getTime()>=XS["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new q0(rs(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new yt}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((i,o)=>i&&typeof o=="string",!0))throw new q0(rs(n),e.status,n.weak_password.reasons);throw new U$(rs(n),e.status||500,r)}const f7=(e,t,n,r)=>{const s={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?s:(s.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),s.body=JSON.stringify(r),Object.assign(Object.assign({},s),n))};async function V(e,t,n,r){var s;const i=Object.assign({},r==null?void 0:r.headers);i[ip]||(i[ip]=XS["2024-01-01"].name),r!=null&&r.jwt&&(i.Authorization=`Bearer ${r.jwt}`);const o=(s=r==null?void 0:r.query)!==null&&s!==void 0?s:{};r!=null&&r.redirectTo&&(o.redirect_to=r.redirectTo);const l=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",c=await p7(e,t,n+l,{headers:i,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(c):{data:Object.assign({},c),error:null}}async function p7(e,t,n,r,s,i){const o=f7(t,r,s,i);let l;try{l=await e(n,Object.assign({},o))}catch(c){throw console.error(c),new op(rs(c),0)}if(l.ok||await X0(l),r!=null&&r.noResolveJson)return l;try{return await l.json()}catch(c){await X0(c)}}function Kt(e){var t;let n=null;y7(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=J$(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function Z0(e){const t=Kt(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function gr(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function m7(e){return{data:e,error:null}}function g7(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:i}=e,o=Hu(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),l={action_link:t,email_otp:n,hashed_token:r,redirect_to:s,verification_type:i},c=Object.assign({},o);return{data:{properties:l,user:c},error:null}}function ex(e){return e}function y7(e){return e.access_token&&e.refresh_token&&e.expires_in}const th=["global","local","others"];class v7{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=tj(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)},this.customProviders={listProviders:this._listCustomProviders.bind(this),createProvider:this._createCustomProvider.bind(this),getProvider:this._getCustomProvider.bind(this),updateProvider:this._updateCustomProvider.bind(this),deleteProvider:this._deleteCustomProvider.bind(this)}}async signOut(t,n=th[0]){if(th.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${th.join(", ")}`);try{return await V(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(B(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await V(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:gr})}catch(r){if(B(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=Hu(t,["options"]),s=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(s.new_email=r==null?void 0:r.newEmail,delete s.newEmail),await V(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:s,headers:this.headers,xform:g7,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(B(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await V(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:gr})}catch(n){if(B(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,s,i,o,l,c;try{const u={nextPage:null,lastPage:0,total:0},d=await V(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(s=t==null?void 0:t.perPage)===null||s===void 0?void 0:s.toString())!==null&&i!==void 0?i:""},xform:ex});if(d.error)throw d.error;const h=await d.json(),f=(o=d.headers.get("x-total-count"))!==null&&o!==void 0?o:0,p=(c=(l=d.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return p.length>
2660&&(p.forEach(x=>{const m=parseInt(x.split(";")[0].split("=")[1].substring(0,1)),w=JSON.parse(x.split(";")[1].split("=")[1]);u[`${w}Page`]=m}),u.total=parseInt(f)),{data:Object.assign(Object.assign({},h),u),error:null}}catch(u){if(B(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){Ks(t);try{return await V(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:gr})}catch(n){if(B(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){Ks(t);try{return await V(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:gr})}catch(r){if(B(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){Ks(t);try{return await V(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:gr})}catch(r){if(B(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){Ks(t.userId);try{const{data:n,error:r}=await V(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:s=>({data:{factors:s},error:null})});return{data:n,error:r}}catch(n){if(B(n))return{data:null,error:n};throw n}}async _deleteFactor(t){Ks(t.userId),Ks(t.id);try{return{data:await V(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(B(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,r,s,i,o,l,c;try{const u={nextPage:null,lastPage:0,total:0},d=await V(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(s=t==null?void 0:t.perPage)===null||s===void 0?void 0:s.toString())!==null&&i!==void 0?i:""},xform:ex});if(d.error)throw d.error;const h=await d.json(),f=(o=d.headers.get("x-total-count"))!==null&&o!==void 0?o:0,p=(c=(l=d.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return p.length>0&&(p.forEach(x=>{const m=parseInt(x.split(";")[0].split("=")[1].substring(0,1)),w=JSON.parse(x.split(";")[1].split("=")[1]);u[`${w}Page`]=m}),u.total=parseInt(f)),{data:Object.assign(Object.assign({},h),u),error:null}}catch(u){if(B(u))return{data:{clients:[]},error:u};throw u}}async _createOAuthClient(t){try{return await V(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(B(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await V(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(B(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await V(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(B(r))return{data:null,error:r};throw r}}async _deleteOAuthClient(t){try{return await V(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(B(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await V(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(B(n))return{data:null,error:n};throw n}}async _listCustomProviders(t){try{const n={};return t!=null&&t.type&&(n.type=t.type),await V(this.fetch,"GET",`${this.url}/admin/custom-providers`,{headers:this.headers,query:n,xform:r=>{var s;return{data:{providers:(s=r==null?void 0:r.providers)!==null&&s!==void 0?s:[]},error:null}}})}catch(n){if(B(n))return{data:{providers:[]},error:n};throw n}}async _createCustomProvider(t){try{return await V(this.fetch,"POST",`${this.url}/admin/custom-providers`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(B(n))return{data:null,error:n};throw n}}async _getCustomProvider(t){try{return await V(this.fetch,"GET",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(B(n))return{data:null,error:n};throw n}}async _updateCustomProvider(t,n){try{return await V(this.fetch,"PUT",`${this.url}/admin/custom-providers/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(B(r))return{data:null,error:r};throw r}}async _deleteCustomProvider(t){try{return await V(this.fetch,"DELET
266E",`${this.url}/admin/custom-providers/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(B(n))return{data:null,error:n};throw n}}}function tx(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}const hn={debug:!!(globalThis&&ej()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class nj extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class nx extends nj{}async function x7(e,t,n){hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;let s;t>0&&(s=setTimeout(()=>{r.abort(),hn.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t)),await Promise.resolve();try{return await globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async i=>{if(i){clearTimeout(s),hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name);try{return await n()}finally{hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}else{if(t===0)throw hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new nx(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(hn.debug)try{const o=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(o,null," "))}catch(o){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",o)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),clearTimeout(s),await n()}})}catch(i){if(t>0&&clearTimeout(s),(i==null?void 0:i.name)==="AbortError"&&t>0){if(r.signal.aborted)return hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire timeout, recovering by stealing lock",e),console.warn(`@supabase/gotrue-js: Lock "${e}" was not released within ${t}ms. This may indicate an orphaned lock from a component unmount (e.g., React Strict Mode). Forcefully acquiring the lock to recover.`),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,{mode:"exclusive",steal:!0},async o=>{if(o){hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: recovered (stolen)",e,o.name);try{return await n()}finally{hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: released (stolen)",e,o.name)}}else return console.warn("@supabase/gotrue-js: Navigator LockManager returned null lock even with steal: true"),await n()}));throw hn.debug&&console.log("@supabase/gotrue-js: navigatorLock: lock was stolen by another request",e),new nx(`Lock "${e}" was released because another request stole it`)}throw i}}function w7(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function rj(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}" is invalid.`);return e.toLowerCase()}function b7(e){return parseInt(e,16)}function k7(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,r=>r.toString(16).padStart(2,"0")).join("")}function S7(e){var t;const{chainId:n,domain:r,expirationTime:s,issuedAt:i=new Date,nonce:o,notBefore:l,requestId:c,resources:u,scheme:d,uri:h,version:f}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!r)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(o&&o.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${o}`);if(!h)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(f!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${f}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(` 267`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const p=rj(e.address),x=d?`${d}://${r}`:r,m=e.statement?`${e.statement} 268`:"",w=`${x}
268 wants you to sign in with your Ethereum account: 269${p} 270 271${m}`;let y=`URI: ${h} 272Version: ${f} 273Chain ID: ${n}${o?` 274Nonce: ${o}`:""} 275Issued At: ${i.toISOString()}`;if(s&&(y+=` 276Expiration Time: ${s.toISOString()}`),l&&(y+=` 277Not Before: ${l.toISOString()}`),c&&(y+=` 278Request ID: ${c}`),u){let g=` 279Resources:`;for(const v of u){if(!v||typeof v!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${v}`);g+=` 280- ${v}`}y+=g}return`${w} 281${y}`}class Ce extends Error{constructor({message:t,code:n,cause:r,name:s}){var i;super(t,{cause:r}),this.__isWebAuthnError=!0,this.name=(i=s??(r instanceof Error?r.name:void 0))!==null&&i!==void 0?i:"Unknown Error",this.code=n}}class Zc extends Ce{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function j7({error:e,options:t}){var n,r,s;const{publicKey:i}=t;if(!i)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Ce({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=i.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new Ce({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((r=i.authenticatorSelection)===null||r===void 0?void 0:r.userVerification)==="required")return new Ce({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((s=i.authenticatorSelection)===null||s===void 0?void 0:s.userVerification)==="required")return new Ce({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new Ce({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new Ce({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return i.pubKeyCredParams.filter(l=>l.type==="public-key").length===0?new Ce({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new Ce({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const o=window.location.hostname;if(sj(o)){if(i.rp.id!==o)return new Ce({message:`The RP ID "${i.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Ce({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(i.user.id.byteLength<1||i.user.id.byteLength>64)return new Ce({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new Ce({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Ce({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function _7({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Ce({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new Ce({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const r=window.location.hostname;if(sj(r)){if(n.rpId!==r)return new Ce({message:`The RP ID "${n.rpId}
281" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Ce({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new Ce({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Ce({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class E7{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const N7=new E7;function T7(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:r}=e,s=Hu(e,["challenge","user","excludeCredentials"]),i=Ni(t).buffer,o=Object.assign(Object.assign({},n),{id:Ni(n.id).buffer}),l=Object.assign(Object.assign({},s),{challenge:i,user:o});if(r&&r.length>0){l.excludeCredentials=new Array(r.length);for(let c=0;c<r.length;c++){const u=r[c];l.excludeCredentials[c]=Object.assign(Object.assign({},u),{id:Ni(u.id).buffer,type:u.type||"public-key",transports:u.transports})}}return l}function C7(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:t,allowCredentials:n}=e,r=Hu(e,["challenge","allowCredentials"]),s=Ni(t).buffer,i=Object.assign(Object.assign({},r),{challenge:s});if(n&&n.length>0){i.allowCredentials=new Array(n.length);for(let o=0;o<n.length;o++){const l=n[o];i.allowCredentials[o]=Object.assign(Object.assign({},l),{id:Ni(l.id).buffer,type:l.type||"public-key",transports:l.transports})}}return i}function A7(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:us(new Uint8Array(e.response.attestationObject)),clientDataJSON:us(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function P7(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,r=e.getClientExtensionResults(),s=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:us(new Uint8Array(s.authenticatorData)),clientDataJSON:us(new Uint8Array(s.clientDataJSON)),signature:us(new Uint8Array(s.signature)),userHandle:s.userHandle?us(new Uint8Array(s.userHandle)):void 0},type:"public-key",clientExtensionResults:r,authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function sj(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function rx(){var e,t;return!!(Fe()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((t=navigator==null?void 0:navigator.credentials)===null||t===void 0?void 0:t.get)=="function")}async function R7(e){try{const t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Zc("Browser returned unexpected credential type",t)}:{data:null,error:new Zc("Empty credential response",t)}}catch(t){return{data:null,error:j7({error:t,options:e})}}}async function I7(e){try{const t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Zc("Browser returned unexpected credential type",t)}:{data:null,error:new Zc("Empty credential response",t)}}
281catch(t){return{data:null,error:_7({error:t,options:e})}}}const O7={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},D7={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function eu(...e){const t=s=>s!==null&&typeof s=="object"&&!Array.isArray(s),n=s=>s instanceof ArrayBuffer||ArrayBuffer.isView(s),r={};for(const s of e)if(s)for(const i in s){const o=s[i];if(o!==void 0)if(Array.isArray(o))r[i]=o;else if(n(o))r[i]=o;else if(t(o)){const l=r[i];t(l)?r[i]=eu(l,o):r[i]=eu(o)}else r[i]=o}return r}function L7(e,t){return eu(O7,e,t||{})}function M7(e,t){return eu(D7,e,t||{})}class $7{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:r,signal:s},i){var o;try{const{data:l,error:c}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!l)return{data:null,error:c};const u=s??N7.createNewAbortSignal();if(l.webauthn.type==="create"){const{user:d}=l.webauthn.credential_options.publicKey;if(!d.name){const h=r;if(h)d.name=`${d.id}:${h}`;else{const p=(await this.client.getUser()).data.user,x=((o=p==null?void 0:p.user_metadata)===null||o===void 0?void 0:o.name)||(p==null?void 0:p.email)||(p==null?void 0:p.id)||"User";d.name=`${d.id}:${x}`}}d.displayName||(d.displayName=d.name)}switch(l.webauthn.type){case"create":{const d=L7(l.webauthn.credential_options.publicKey,i==null?void 0:i.create),{data:h,error:f}=await R7({publicKey:d,signal:u});return h?{data:{factorId:t,challengeId:l.id,webauthn:{type:l.webauthn.type,credential_response:h}},error:null}:{data:null,error:f}}case"request":{const d=M7(l.webauthn.credential_options.publicKey,i==null?void 0:i.request),{data:h,error:f}=await I7(Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:d,signal:u}));return h?{data:{factorId:t,challengeId:l.id,webauthn:{type:l.webauthn.type,credential_response:h}},error:null}:{data:null,error:f}}}}catch(l){return B(l)?{data:null,error:l}:{data:null,error:new ss("Unexpected error in challenge",l)}}}async _verify({challengeId:t,factorId:n,webauthn:r}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:r})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:s}={}},i){if(!n)return{data:null,error:new ja("rpId is required for WebAuthn authentication")};try{if(!rx())return{data:null,error:new ss("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:r},signal:s},{request:i});if(!o)return{data:null,error:l};const{webauthn:c}=o;return this._verify({factorId:t,challengeId:o.challengeId,webauthn:{type:c.type,rpId:n,rpOrigins:r,credential_response:c.credential_response}})}catch(o){return B(o)?{data:null,error:o}:{data:null,error:new ss("Unexpected error in authenticate",o)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:s}={}},i){if(!n)return{data:null,error:new ja("rpId is required for WebAuthn registration")};try{if(!rx())return{data:null,error:new ss("Browser does not support WebAuthn",null)};const{data:o,error:l}=await this._enroll({friendlyName:t});if(!o)return await this.client.mfa.listFactors().then(d=>{var h;return(h=d.data)===null||h===void 0?void 0:h.all.find(f=>f.factor_type==="webauthn"&&f.friendly_name===t&&f.status!=="unverified")}).then(d=>d?this.client.mfa.unenroll({factorId:d==null?void 0:d.id}):void 0),{data:null,error:l};const{data:c,error:u}=await this._challenge({factorId:o.id,friendlyName:o.friendly_name,webauthn:{rpId:n,rpOrigins:r},signal:s},{create:i});return c?this._verify({factorId:o.id,challengeId:c.challengeId,webauthn:{rpId:n,rpOrigins:r,type:c.webauthn.type,credential_response:c.webauthn.credential_response}}):{data:null,error:u}}catch(o){return B(o)?{data:null,error:o}:{data:null,error:new ss("Unexpected error in register",o)}}}}w7();const F7={url:L$,storageKey:M$,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:$$,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:5e3,skipAutoInitialize:!1};async function sx(e,t,n){return await n()}const qs={};class _a{get jwks(){var t,n;return(n=(t=qs[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){qs[this.storageKey]=Object.assign(Object.assign({},qs[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=qs[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){qs[this.storageKey]=Object.assign(Object.assign({},qs[this.storageKey]),{cachedAt:t})}constructor(t){var n,r,s;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const i=Object.assign(Object.assign({},F7),t);if(this.storageKey=i.storageKey,this.instanceID=(n=_a.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,_a.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.instanceID>0&&Fe()){const o=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(o),this.logDebugMessages&&console.trace(o)}if(this.persistSession=i.persistSession,this.autoRefreshToken=i.autoRefreshToken,this.admin=new v7({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=tj(i.fetch),this.lock=i.lock||sx,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,this.throwOnError=i.throwOnError,this.lockAcquireTimeout=i.lockAcquireTimeout,i.lock?this.lock=i.lock:this.persistSession&&Fe()&&(!((r=globalThis==null?void 0:globalThis.navigator)===null||r===void 0)&&r.locks)?this.lock=x7:this.lock=sx,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new $7(this)}
281,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(i.storage?this.storage=i.storage:ej()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=tx(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=tx(this.memoryStorage)),Fe()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(o){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",o)}(s=this.broadcastChannel)===null||s===void 0||s.addEventListener("message",async o=>{this._debug("received broadcast notification from other tab or client",o);try{await this._notifyAllSubscribers(o.data.event,o.data.session,!1)}catch(l){this._debug("#broadcastChannel","error",l)}})}i.skipAutoInitialize||this.initialize().catch(o=>{this._debug("#initialize()","error",o)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${QS}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{let n={},r="none";if(Fe()&&(n=X$(window.location.href),this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce")),Fe()&&this.detectSessionInUrl&&r!=="none"){const{data:s,error:i}=await this._getSessionFromURL(n,r);if(i){if(this._debug("#_initialize()","error detecting session from URL",i),z$(i)){const c=(t=i.details)===null||t===void 0?void 0:t.code;if(c==="identity_already_exists"||c==="identity_not_found"||c==="single_identity_not_deletable")return{error:i}}return{error:i}}const{session:o,redirectType:l}=s;return this._debug("#_initialize()","detected session in URL",o,"redirect type",l),await this._saveSession(o),setTimeout(async()=>{l==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return B(n)?this._returnResult({error:n}):this._returnResult({error:new ss("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,s;try{const i=await V(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(s=t==null?void 0:t.options)===null||s===void 0?void 0:s.captchaToken}},xform:Kt}),{data:o,error:l}=i;if(l||!o)return this._returnResult({data:{user:null,session:null},error:l});const c=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(i){if(B(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signUp(t){var n,r,s;try{let i;if("email"in t){const{email:d,password:h,options:f}=t;let p=null,x=null;this.flowType==="pkce"&&([p,x]=await Hs(this.storage,this.storageKey)),i=await V(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:d,password:h,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:p,code_challenge_method:x},xform:Kt})}else if("phone"in t){const{phone:d,password:h,options:f}=t;i=await V(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:d,password:h,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(s=f==null?void 0:f.channel)!==null&&s!==void 0?s:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:Kt})}else throw new Cl("You must provide either an email or phone number and a password");const{data:o,error:l}=i;if(l||!o)return await $e(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:l});const c=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(i){if(await $e(this.storage,`${this.storageKey}-code-verifier`),B(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithPassword(t){try{let n;if("email"in t){const{email:i,password:o,options:l}=t;n=await V(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:i,password:o,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:Z0})}else if("phone"in t){const{phone:i,password:o,options:l}=t;n=await V(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:o,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:Z0})}else throw new Cl("You must provide either an email or phone number and a password");const{data:r,error:s}=n;if(s)return this._returnResult({data:{user:null,session:null},error:s});if(!r||!r.session||!r.user){const i=new Ws;return this._returnResult({data:{user:null,session:null},error:i})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),this._returnResult({data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:s})}catch(n){if(B(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,r,s,i;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(s=t.options)===null||s===void 0?void 0:s.queryParams,skipBrowserRedirect:(i=t.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,r,s,i,o,l,c,u,d,h,f;let p,x;if("message"in t)p=t.message,x=t.signature;else{const{chain:m,wallet:w,statement:y,options:g}=t;let v;if(Fe())if(typeof w=="object")v=w;else{const C=window;if("ethereum"in C&&typeof C.ethereum=="object"&&"request"in C.ethereum&&typeof C.ethereum.request=="function")v=C.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof w!="object"||!(g!=null&&g.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");v=w}const k=new URL((n=g==null?void 0:g.url)!==null&&n!==void 0?n:window.location.href),S=await v.request({method:"eth_requestAccounts"}).then(C=>C).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!S||S.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const _=rj(S[0]);let j=(r=g==null?void 0:g.signInWithEthereum)===null||r===void 0?void 0:r.chainId;if(!j){const C=await v.request({method:"eth_chainId"});j=b7(C)}const E={domain:k.host,address:_,statement:y,uri:k.href,version:"1",chainId:j,nonce:(s=g==null?void 0:g.signInWithEthereum)===null||s===void 0?void 0:s.nonce,issuedAt:(o=(i=g==null?void 0:g.signInWithEthereum)===null||i===void 0?void 0:i.issuedAt)!==null&&o!==void 0?o:new Date,expirationTime:(l=g==null?void 0:g.signInWithEthereum)===null||l===void 0?void 0:l.expirationTime,notBefore:(c=g==null?void 0:g.signInWithEthereum)===null||c===void 0?void 0:c.notBefore,requestId:(u=g==null?void 0:g.signInWithEthereum)===null||u===void 0?void 0:u.requestId,resources:(d=g==null?void 0:g.signInWithEthereum)===null||d===void 0?void 0:d.resources};p=S7(E),x=await v.request({method:"personal_sign",params:[k7(p),_]})}try{const{data:m,error:w}=await V(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:p,signature:x}
281,!((h=t.options)===null||h===void 0)&&h.captchaToken?{gotrue_meta_security:{captcha_token:(f=t.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:Kt});if(w)throw w;if(!m||!m.session||!m.user){const y=new Ws;return this._returnResult({data:{user:null,session:null},error:y})}return m.session&&(await this._saveSession(m.session),await this._notifyAllSubscribers("SIGNED_IN",m.session)),this._returnResult({data:Object.assign({},m),error:w})}catch(m){if(B(m))return this._returnResult({data:{user:null,session:null},error:m});throw m}}async signInWithSolana(t){var n,r,s,i,o,l,c,u,d,h,f,p;let x,m;if("message"in t)x=t.message,m=t.signature;else{const{chain:w,wallet:y,statement:g,options:v}=t;let k;if(Fe())if(typeof y=="object")k=y;else{const _=window;if("solana"in _&&typeof _.solana=="object"&&("signIn"in _.solana&&typeof _.solana.signIn=="function"||"signMessage"in _.solana&&typeof _.solana.signMessage=="function"))k=_.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof y!="object"||!(v!=null&&v.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");k=y}const S=new URL((n=v==null?void 0:v.url)!==null&&n!==void 0?n:window.location.href);
281if("signIn"in k&&k.signIn){const _=await k.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},v==null?void 0:v.signInWithSolana),{version:"1",domain:S.host,uri:S.href}),g?{statement:g}:null));let j;if(Array.isArray(_)&&_[0]&&typeof _[0]=="object")j=_[0];else if(_&&typeof _=="object"&&"signedMessage"in _&&"signature"in _)j=_;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in j&&"signature"in j&&(typeof j.signedMessage=="string"||j.signedMessage instanceof Uint8Array)&&j.signature instanceof Uint8Array)x=typeof j.signedMessage=="string"?j.signedMessage:new TextDecoder().decode(j.signedMessage),m=j.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in k)||typeof k.signMessage!="function"||!("publicKey"in k)||typeof k!="object"||!k.publicKey||!("toBase58"in k.publicKey)||typeof k.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");x=[`${S.host} wants you to sign in with your Solana account:`,k.publicKey.toBase58(),...g?["",g,""]:[""],"Version: 1",`URI: ${S.href}`,`Issued At: ${(s=(r=v==null?void 0:v.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&s!==void 0?s:new Date().toISOString()}`,...!((i=v==null?void 0:v.signInWithSolana)===null||i===void 0)&&i.notBefore?[`Not Before: ${v.signInWithSolana.notBefore}`]:[],...!((o=v==null?void 0:v.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${v.signInWithSolana.expirationTime}`]:[],...!((l=v==null?void 0:v.signInWithSolana)===null||l===void 0)&&l.chainId?[`Chain ID: ${v.signInWithSolana.chainId}`]:[],...!((c=v==null?void 0:v.signInWithSolana)===null||c===void 0)&&c.nonce?[`Nonce: ${v.signInWithSolana.nonce}`]:[],...!((u=v==null?void 0:v.signInWithSolana)===null||u===void 0)&&u.requestId?[`Request ID: ${v.signInWithSolana.requestId}`]:[],...!((h=(d=v==null?void 0:v.signInWithSolana)===null||d===void 0?void 0:d.resources)===null||h===void 0)&&h.length?["Resources",...v.signInWithSolana.resources.map(j=>`- ${j}`)]:[]].join(` 282`);const _=await k.signMessage(new TextEncoder().encode(x),"utf8");if(!_||!(_ instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");m=_}}try{const{data:w,error:y}=await V(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:x,signature:us(m)},!((f=t.options)===null||f===void 0)&&f.captchaToken?{gotrue_meta_security:{captcha_token:(p=t.options)===null||p===void 0?void 0:p.captchaToken}}:null),xform:Kt});if(y)throw y;if(!w||!w.session||!w.user){const g=new Ws;return this._returnResult({data:{user:null,session:null},error:g})}return w.session&&(await this._saveSession(w.session),await this._notifyAllSubscribers("SIGNED_IN",w.session)),this._returnResult({data:Object.assign({},w),error:y})}catch(w){if(B(w))return this._returnResult({data:{user:null,session:null},error:w});throw w}}async _exchangeCodeForSession(t){const n=await Yr(this.storage,`${this.storageKey}-code-verifier`),[r,s]=(n??"").split("/");try{if(!r&&this.flowType==="pkce")throw new W$;const{data:i,error:o}=await V(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:Kt});if(await $e(this.storage,`${this.storageKey}-code-verifier`),o)throw o;if(!i||!i.session||!i.user){const l=new Ws;return this._returnResult({data:{user:null,session:null,redirectType:null},error:l})}return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),this._returnResult({data:Object.assign(Object.assign({},i),{redirectType:s??null}),error:o})}catch(i){if(await $e(this.storage,`${this.storageKey}-code-verifier`),B(i))return this._returnResult({data:{user:null,session:null,redirectType:null},error:i});throw i}}async signInWithIdToken(t){try{const{options:n,provider:r,token:s,access_token:i,nonce:o}=t,l=await V(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:s,access_token:i,nonce:o,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:Kt}),{data:c,error:u}=l;if(u)return this._returnResult({data:{user:null,session:null},error:u});if(!c||!c.session||!c.user){const d=new Ws;return this._returnResult({data:{user:null,session:null},error:d})}return c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",c.session)),this._returnResult({data:c,error:u})}catch(n){if(B(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,r,s,i,o;try{if("email"in t){const{email:l,options:c}=t;let u=null,d=null;this.flowType==="pkce"&&([u,d]=await Hs(this.storage,this.storageKey));const{error:h}=await V(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:l,data:(n=c==null?void 0:c.data)!==null&&n!==void 0?n:{},create_user:(r=c==null?void 0:c.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},code_challenge:u,code_challenge_method:d},redirectTo:c==null?void 0:c.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:h})}if("phone"in t){const{phone:l,options:c}=t,{data:u,error:d}=await V(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:l,data:(s=c==null?void 0:c.data)!==null&&s!==void 0?s:{},create_user:(i=c==null?void 0:c.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},channel:(o=c==null?void 0:c.channel)!==null&&o!==void 0?o:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:d})}throw new Cl("You must provide either an email or phone number.")}catch(l){if(await $e(this.storage,`${this.storageKey}-code-verifier`),B(l))return this._returnResult({data:{user:null,session:null},error:l});throw l}}async verifyOtp(t){var n,r;try{let s,i;"options"in t&&(s=(n=t.options)===null||n===void 0?void 0:n.redirectTo,i=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:o,error:l}=await V(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:i}}),redirectTo:s,xform:Kt});if(l)throw l;if(!o)throw new Error("An error occurred on token verification.");const c=o.session,u=o.user;return c!=null&&c.access_token&&(await this._saveSession(c),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",c)),this._returnResult({data:{user:u,session:c},error:null})}catch(s){if(B(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}}async signInWithSSO(t){var n,r,s,i,o;try{let l=null,c=null;this.flowType==="pkce"&&([l,c]=await Hs(this.storage,this.storageKey));const u=await V(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((s=t==null?void 0:t.options)===null||s===void 0)&&s.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:l,code_challenge_method:c}),headers:this.headers,xform:m7});return!((i=u.data)===null||i===void 0)&&i.url&&Fe()&&!(!((o=t.options)===null||o===void 0)&&o.skipBrowserRedirect)&&window.location.assign(u.data.url),this._returnResult(u)}catch(l){if(await $e(this.storage,`${this.storageKey}-code-verifier`),B(l))return this._returnResult({data:null,error:l});throw l}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new yt;const{error:s}=await V(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:s})})}catch(t){if(B(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:s,options:i}=t,{error:o}=await V(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:s,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:o})}else if("phone"in t){const{phone:r,type:s,options:i}=t,{data:o,error:l}=await V(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:s,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:l})}throw new Cl("You must provide either an email or phone number and a type")}catch(n){if(B(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),s=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await s}catch{}})()),s}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const s=[...this.pendingInLock];await Promise.all(s),this.pendingInLock.splice(0,s.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await Yr(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not val
282id"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<Xd:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.userStorage){const o=await Yr(this.userStorage,this.storageKey+"-user");o!=null&&o.user?t.user=o.user:t.user=eh()}if(this.storage.isServer&&t.user&&!t.user.__isUserNotAvailableProxy){const o={value:this.suppressGetSessionWarning};t.user=d7(t.user,o),o.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:t},error:null}}const{data:s,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{session:null},error:i}):this._returnResult({data:{session:s},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(t){if(t)return await this._getUser(t);await this.initializePromise;const n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser());return n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await V(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:gr}):await this._useSession(async n=>{var r,s,i;const{data:o,error:l}=n;if(l)throw l;return!(!((r=o.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new yt}:await V(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(i=(s=o.session)===null||s===void 0?void 0:s.access_token)!==null&&i!==void 0?i:void 0,xform:gr})})}catch(n){if(B(n))return Tl(n)&&(await this._removeSession(),await $e(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:s,error:i}=r;if(i)throw i;if(!s.session)throw new yt;const o=s.session;let l=null,c=null;this.flowType==="pkce"&&t.email!=null&&([l,c]=await Hs(this.storage,this.storageKey));const{data:u,error:d}=await V(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:l,code_challenge_method:c}),jwt:o.access_token,xform:gr});if(d)throw d;return o.user=u.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),this._returnResult({data:{user:o.user},error:null})})}catch(r){if(await $e(this.storage,`${this.storageKey}-code-verifier`),B(r))return this._returnResult({data:{user:null},error:r});throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new yt;const n=Date.now()/1e3;let r=n,s=!0,i=null;const{payload:o}=Pl(t.access_token);if(o.exp&&(r=o.exp,s=r<=n),s){const{data:l,error:c}=await this._callRefreshToken(t.refresh_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});if(!l)return{data:{user:null,session:null},error:null};i=l}else{const{data:l,error:c}=await this._getUser(t.access_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});i={access_token:t.access_token,refresh_token:t.refresh_token,user:l.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return this._returnResult({data:{user:i.user,session:i},error:null})}catch(n){if(B(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:o,error:l}=n;if(l)throw l;t=(r=o.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new yt;const{data:s,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{user:null,session:null},error:i}):s?this._returnResult({data:{user:s.user,session:s},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(B(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(t,n){try{if(!Fe())throw new Al("No browser detected.");
282if(t.error||t.error_description||t.error_code)throw new Al(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new K0("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Al("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new K0("No code detected.");const{data:g,error:v}=await this._exchangeCodeForSession(t.code);if(v)throw v;const k=new URL(window.location.href);return k.searchParams.delete("code"),window.history.replaceState(window.history.state,"",k.toString()),{data:{session:g.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:s,access_token:i,refresh_token:o,expires_in:l,expires_at:c,token_type:u}=t;if(!i||!l||!o||!u)throw new Al("No session defined in URL");const d=Math.round(Date.now()/1e3),h=parseInt(l);let f=d+h;c&&(f=parseInt(c));const p=f-d;p*1e3<=ei&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${p}s, should have been closer to ${h}s`);const x=f-h;d-x>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",x,f,d):d-x<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",x,f,d);const{data:m,error:w}=await this._getUser(i);if(w)throw w;const y={provider_token:r,provider_refresh_token:s,access_token:i,expires_in:h,expires_at:f,refresh_token:o,token_type:u,user:m.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:y,redirectType:t.type},error:null})}catch(r){if(B(r))return this._returnResult({data:{session:null,redirectType:null},error:r});throw r}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await Yr(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i&&!Tl(i))return this._returnResult({error:i});const o=(r=s.session)===null||r===void 0?void 0:r.access_token;if(o){const{error:l}=await this.admin.signOut(o,t);if(l&&!(V$(l)&&(l.status===404||l.status===401||l.status===403)||Tl(l)))return this._returnResult({error:l})}return t!=="others"&&(await this._removeSession(),await $e(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=Q$(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,s;try{const{data:{session:i},error:o}=n;if(o)throw o;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",t,"session",i)}catch(i){await((s=this.stateChangeEmitters.get(t))===null||s===void 0?void 0:s.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",i),Tl(i)?console.warn(i):console.error(i)}})}async resetPasswordForEmail(t,n={}){let r=null,s=null;this.flowType==="pkce"&&([r,s]=await Hs(this.storage,this.storageKey,!0));try{return await V(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:s,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(i){if(await $e(this.storage,`${this.storageKey}-code-verifier`),B(i))return this._returnResult({data:null,error:i});throw i}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:r,error:s}=await this._useSession(async i=>{var o,l,c,u,d;const{data:h,error:f}=i;if(f)throw f;const p=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(o=t.options)===null||o===void 0?void 0:o.redirectTo,scopes:(l=t.options)===null||l===void 0?void 0:l.scopes,queryParams:(c=t.options)===null||c===void 0?void 0:c.queryParams,skipBrowserRedirect:!0});return await V(this.fetch,"GET",p,{headers:this.headers,jwt:(d=(u=h.session)===null||u===void 0?void 0:u.access_token)!==null&&d!==void 0?d:void 0})});if(s)throw s;return Fe()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),this._returnResult({data:{provider:t.provider,url:r==null?void 0:r.url},error:null})}catch(r){if(B(r))return this._returnResult({data:{provider:t.provider,url:null},error:r});throw r}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var r;try{const{error:s,data:{session:i}}=n;
282if(s)throw s;const{options:o,provider:l,token:c,access_token:u,nonce:d}=t,h=await V(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(r=i==null?void 0:i.access_token)!==null&&r!==void 0?r:void 0,body:{provider:l,id_token:c,access_token:u,nonce:d,link_identity:!0,gotrue_meta_security:{captcha_token:o==null?void 0:o.captchaToken}},xform:Kt}),{data:f,error:p}=h;return p?this._returnResult({data:{user:null,session:null},error:p}):!f||!f.session||!f.user?this._returnResult({data:{user:null,session:null},error:new Ws}):(f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("USER_UPDATED",f.session)),this._returnResult({data:f,error:p}))}catch(s){if(await $e(this.storage,`${this.storageKey}-code-verifier`),B(s))return this._returnResult({data:{user:null,session:null},error:s});throw s}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,s;const{data:i,error:o}=n;if(o)throw o;return await V(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(s=(r=i.session)===null||r===void 0?void 0:r.access_token)!==null&&s!==void 0?s:void 0})})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await t7(async s=>(s>
2820&&await e7(200*Math.pow(2,s-1)),this._debug(n,"refreshing attempt",s),await V(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:Kt})),(s,i)=>{const o=200*Math.pow(2,s);return i&&Zd(i)&&Date.now()+o-r<ei})}catch(r){if(this._debug(n,"error",r),B(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),Fe()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r="#_recoverAndRefresh()";this._debug(r,"begin");try{const s=await Yr(this.storage,this.storageKey);if(s&&this.userStorage){let o=await Yr(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:s.user},await ti(this.userStorage,this.storageKey+"-user",o)),s.user=(t=o==null?void 0:o.user)!==null&&t!==void 0?t:eh()}else if(s&&!s.user&&!s.user){const o=await Yr(this.storage,this.storageKey+"-user");o&&(o!=null&&o.user)?(s.user=o.user,await $e(this.storage,this.storageKey+"-user"),await ti(this.storage,this.storageKey,s)):s.user=eh()}if(this._debug(r,"session from storage",s),!this._isValidSession(s)){this._debug(r,"session is not valid"),s!==null&&await this._removeSession();return}const i=((n=s.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<Xd;if(this._debug(r,`session has${i?"":" not"} expired with margin of ${Xd}s`),i){if(this.autoRefreshToken&&s.refresh_token){const{error:o}=await this._callRefreshToken(s.refresh_token);o&&(console.error(o),Zd(o)||(this._debug(r,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else if(s.user&&s.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:l}=await this._getUser(s.access_token);!l&&(o!=null&&o.user)?(s.user=o.user,await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(o){console.error("Error getting user data:",o),this._debug(r,"error getting user data, skipping SIGNED_IN notification",o)}else await this._notifyAllSubscribers("SIGNED_IN",s)}catch(s){this._debug(r,"error",s),console.error(s);return}finally{this._debug(r,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new yt;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const s=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(s,"begin");try{this.refreshingDeferred=new Ku;const{data:i,error:o}=await this._refreshAccessToken(t);if(o)throw o;if(!i.session)throw new yt;await this._saveSession(i.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",i.session);const l={data:i.session,error:null};return this.refreshingDeferred.resolve(l),l}catch(i){if(this._debug(s,"error",i),B(i)){const o={data:null,error:i};return Zd(i)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(o),o}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(i),i}finally{this.refreshingDeferred=null,this._debug(s,"end")}}async _notifyAllSubscribers(t,n,r=!0){const s=`#_notifyAllSubscribers(${t})`;this._debug(s,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const i=[],o=Array.from(this.stateChangeEmitters.values()).map(async l=>{try{await l.callback(t,n)}catch(c){i.push(c)}});if(await Promise.all(o),i.length>0){for(let l=0;l<i.length;l+=1)console.error(i[l]);throw i[0]}}finally{this._debug(s,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await $e(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await ti(this.userStorage,this.storageKey+"-user",{user:n.user});const s=Object.assign({},n);delete s.user;const i=Q0(s);await ti(this.storage,this.storageKey,i)}else{const s=Q0(n);await ti(this.storage,this.storageKey,s)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await $e(this.storage,this.storageKey),await $e(this.storage,this.storageKey+"-code-verifier"),await $e(this.storage,this.storageKey+"-user"),this.userStorage&&await $e(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&Fe()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}
282catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),ei);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const s=Math.floor((r.expires_at*1e3-t)/ei);this._debug("#_autoRefreshTokenTick()",`access token expires in ${s} ticks, a tick lasts ${ei}ms, refresh threshold is ${sp} ticks`),s<=sp&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof nj)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!Fe()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const s=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&s.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&s.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[i,o]=await Hs(this.storage,this.storageKey),l=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(o)}`});s.push(l.toString())}if(r!=null&&r.queryParams){const i=new URLSearchParams(r.queryParams);s.push(i.toString())}return r!=null&&r.skipBrowserRedirect&&s.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${s.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;return i?this._returnResult({data:null,error:i}):await V(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,s;const{data:i,error:o}=n;if(o)return this._returnResult({data:null,error:o});const l=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:c,error:u}=await V(this.fetch,"POST",`${this.url}/factors`,{body:l,headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return u?this._returnResult({data:null,error:u}):(t.factorType==="totp"&&c.type==="totp"&&(!((s=c==null?void 0:c.totp)===null||s===void 0)&&s.qr_code)&&(c.totp.qr_code=`data:image/svg+xml;utf-8,${c.totp.qr_code}`),this._returnResult({data:c,error:null}))})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i)return this._returnResult({data:null,error:i});const o=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?A7(t.webauthn.credential_response):P7(t.
282webauthn.credential_response)})}:{code:t.code}),{data:l,error:c}=await V(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:o,headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});return c?this._returnResult({data:null,error:c}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+l.expires_in},l)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",l),this._returnResult({data:l,error:c}))})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}})}async _challenge(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:s,error:i}=n;if(i)return this._returnResult({data:null,error:i});const o=await V(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});if(o.error)return o;const{data:l}=o;if(l.type!=="webauthn")return{data:l,error:null};switch(l.webauthn.type){case"create":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:T7(l.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:C7(l.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?this._returnResult({data:null,error:r}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:r}=await this.getUser();if(r)return{data:null,error:r};const s={all:[],phone:[],totp:[],webauthn:[]};for(const i of(t=n==null?void 0:n.factors)!==null&&t!==void 0?t:[])s.all.push(i),i.status==="verified"&&s[i.factor_type].push(i);return{data:s,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,r,s,i;if(t)try{const{payload:p}=Pl(t);let x=null;p.aal&&(x=p.aal);let m=x;const{data:{user:w},error:y}=await this.getUser(t);if(y)return this._returnResult({data:null,error:y});((r=(n=w==null?void 0:w.factors)===null||n===void 0?void 0:n.filter(k=>k.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(m="aal2");const v=p.amr||[];return{data:{currentLevel:x,nextLevel:m,currentAuthenticationMethods:v},error:null}}catch(p){if(B(p))return this._returnResult({data:null,error:p});throw p}const{data:{session:o},error:l}
282=await this.getSession();if(l)return this._returnResult({data:null,error:l});if(!o)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:c}=Pl(o.access_token);let u=null;c.aal&&(u=c.aal);let d=u;((i=(s=o.user.factors)===null||s===void 0?void 0:s.filter(p=>p.status==="verified"))!==null&&i!==void 0?i:[]).length>0&&(d="aal2");const f=c.amr||[];return{data:{currentLevel:u,nextLevel:d,currentAuthenticationMethods:f},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;return s?this._returnResult({data:null,error:s}):r?await V(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:r.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new yt})})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:s},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!s)return this._returnResult({data:null,error:new yt});const o=await V(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:s.access_token,body:{action:"approve"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&Fe()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(B(r))return this._returnResult({data:null,error:r});throw r}}async _denyAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:s},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!s)return this._returnResult({data:null,error:new yt});const o=await V(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:s.access_token,body:{action:"deny"},xform:l=>({data:l,error:null})});return o.data&&o.data.redirect_url&&Fe()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(o.data.redirect_url),o})}catch(r){if(B(r))return this._returnResult({data:null,error:r});throw r}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await V(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:s=>({data:s,error:null})}):this._returnResult({data:null,error:new yt})})}catch(t){if(B(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:r},error:s}=n;return s?this._returnResult({data:null,error:s}):r?(await V(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new yt})})}catch(n){if(B(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(l=>l.kid===t);if(r)return r;const s=Date.now();if(r=this.jwks.keys.find(l=>l.kid===t),r&&this.jwks_cached_at+B$>s)return r;const{data:i,error:o}=await V(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!i.keys||i.keys.length===0||(this.jwks=i,this.jwks_cached_at=s,r=i.keys.find(l=>l.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:p,error:x}
282=await this.getSession();if(x||!p.session)return this._returnResult({data:null,error:x});r=p.session.access_token}const{header:s,payload:i,signature:o,raw:{header:l,payload:c}}=Pl(r);n!=null&&n.allowExpired||l7(i.exp);const u=!s.alg||s.alg.startsWith("HS")||!s.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(s.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!u){const{error:p}=await this.getUser(r);if(p)throw p;return{data:{claims:i,header:s,signature:o},error:null}}const d=c7(s.alg),h=await crypto.subtle.importKey("jwk",u,d,!0,["verify"]);if(!await crypto.subtle.verify(d,h,o,Y$(`${l}.${c}`)))throw new ap("Invalid JWT signature");return{data:{claims:i,header:s,signature:o},error:null}}catch(r){if(B(r))return this._returnResult({data:null,error:r});throw r}}}_a.nextInstanceID={};const B7=_a,U7="2.104.0";let To="";typeof Deno<"u"?To="deno":typeof document<"u"?To="web":typeof navigator<"u"&&navigator.product==="ReactNative"?To="react-native":To="node";const V7={"X-Client-Info":`supabase-js-${To}/${U7}`},z7={headers:V7},W7={schema:"public"},H7={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},K7={};function Ea(e){"@babel/helpers - typeof";return Ea=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ea(e)}function q7(e,t){if(Ea(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Ea(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function G7(e){var t=q7(e,"string");return Ea(t)=="symbol"?t:t+""}function Y7(e,t,n){return(t=G7(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ix(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ix(Object(n),!0).forEach(function(r){Y7(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ix(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const J7=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),Q7=()=>Headers,X7=(e,t,n)=>{const r=J7(n),s=Q7();return async(i,o)=>{var l;const c=(l=await t())!==null&&l!==void 0?l:e;let u=new s(o==null?void 0:o.headers);return u.has("apikey")||u.set("apikey",e),u.has("Authorization")||u.set("Authorization",`Bearer ${c}`),r(i,je(je({},o),{},{headers:u}))}};function Z7(e){return e.endsWith("/")?e:e+"/"}function eF(e,t){var n,r;const{db:s,auth:i,realtime:o,global:l}=e,{db:c,auth:u,realtime:d,global:h}=t,f={db:je(je({},c),s),auth:je(je({},u),i),realtime:je(je({},d),o),storage:{},global:je(je(je({},h),l),{},{headers:je(je({},(n=h==null?void 0:h.headers)!==null&&n!==void 0?n:{}),(r=l==null?void 0:l.headers)!==null&&r!==void 0?r:{})}),accessToken:async()=>""};return e.accessToken?f.accessToken=e.accessToken:delete f.accessToken,f}function tF(e){const t=e==null?void 0:e.trim();if(!t)throw new Error("supabaseUrl is required.");if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(Z7(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var nF=class extends B7{constructor(e){super(e)}},rF=class{constructor(e,t,n){var r,s;this.supabaseUrl=e,this.supabaseKey=t;const i=tF(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",i),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",i),this.storageUrl=new URL("storage/v1",i),this.functionsUrl=new URL("functions/v1",i);const o=`sb-${i.hostname.split(".")[0]}-auth-token`,l={db:W7,realtime:K7,auth:je(je({},H7),{},{storageKey:o}),global:z7},c=eF(n??{},l);if(this.storageKey=(r=c.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(s=c.global.headers)!==null&&s!==void 0?s:{},c.accessToken)this.accessToken=c.accessToken,this.auth=new Proxy({},{get:(d,h)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(h)} is not possible`)}});else{var u;this.auth=this._initSupabaseAuthClient((u=c.auth)!==null&&u!==void 0?u:{},this.headers,c.global.fetch)}this.fetch=X7(t,this._getAccessToken.bind(this),c.global.fetch),this.realtime=this._initRealtimeClient(je({headers:this.headers,accessToken:this._getAccessToken.bind(this)},c.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(d=>this.realtime.setAuth(d)).catch(d=>console.warn("Failed to set initial Realtime auth token:",d)),this.rest=new jM(new URL("rest/v1",i).href,{headers:this.headers,schema:c.db.schema,fetch:this.fetch,timeout:c.db.timeout,urlLengthLimit:c.db.urlLengthLimit}),this.storage=new D$(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),c.accessToken||this._listenForAuthEvents()}get functions(){return new pM(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}
282channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:r}=await e.auth.getSession();return(t=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:s,storageKey:i,flowType:o,lock:l,debug:c,throwOnError:u},d,h){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new nF({url:this.authUrl.href,headers:je(je({},f),d),storageKey:i,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:s,flowType:o,lock:l,debug:c,throwOnError:u,fetch:h,hasCustomAuthorizationHeader:Object.keys(this.headers).some(p=>p.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new s$(this.realtimeUrl.href,je(je({},e),{},{params:je(je({},{apikey:this.supabaseKey}),e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t==null?void 0:t.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const sF=(e,t,n)=>new rF(e,t,n);function iF(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}iF()&&console.warn("â ï¸ Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function oF(){var w,y;if(typeof window>"u")return;const e=location.hostname,n=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(g=>e===g||e.endsWith("."+g)),r="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",s=n?((w=e.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+r+")(?:-dev)?(?=\\.|$)","i")))==null?void 0:w[1])??((y=e.match(new RegExp("^("+r+")(?=[.-])","i")))==null?void 0:y[1]):void 0,i=window.parent&&window.parent!==window;if(!s||!i)return localStorage;const o=e.endsWith(".lovableproject-dev.com")||e.endsWith(".gpt-eng.com"),l=o?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,c=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),u=c&&l.test(c)?[c]:o?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],d="lovable-preview-auth:result",h=2e3,f=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),p=(g,v,k)=>new Promise(S=>{const _=f();let j=!1,E;const C=O=>{j||(j=!0,clearTimeout(E),window.removeEventListener("message",T),S(O))},T=O=>{if(u.indexOf(O.origin)<0)return;const W=O.data;W&&W.type===d&&W.requestId===_&&C(W)};window.addEventListener("message",T);const M={type:g,requestId:_,projectId:s,key:v};k!==void 0&&(M.value=k);for(const O of u)window.parent.postMessage(M,O);E=setTimeout(()=>C(null),h)});let x=!0;const m=250;return{getItem:async g=>{let v=await p("lovable-preview-auth:get",g);return!v&&x&&(await new Promise(k=>setTimeout(k,m)),v=await p("lovable-preview-auth:get",g)),x=!1,v&&v.ok&&typeof v.value=="string"?v.value===""?(localStorage.removeItem(g),null):v.value:localStorage.getItem(g)},setItem:(g,v)=>(localStorage.setItem(g,v),p("lovable-preview-auth:set",g,v).then(k=>{k&&k.ok&&typeof k.value=="string"&&localStorage.getItem(g)===v&&(k.value===""?localStorage.removeItem(g):localStorage.setItem(g,k.value))})),removeItem:g=>(localStorage.removeItem(g),p("lovable-preview-auth:remove",g).then(()=>{}))}}const aF="https://wpzuugulaxtizyprrkzn.supabase.co",lF="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndwenV1Z3VsYXh0aXp5cHJya3puIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzY3NDcwODcsImV4cCI6MjA5MjMyMzA4N30.Jup7pRrYW45Qbjhp82vm1AQFqXtnh-a3O1cDTDoZjBU",qu=sF(aF,lF,{auth:{storage:oF(),persistSession:!0,autoRefreshToken:!0}}),ij=()=>{const[e,t]=b.useState(""),[n,r]=b.useState(""),[s,i]=b.useState(""),[o,l]=b.useState(!1),[c,u]=b.useState(!1),d=async f=>{if(f.preventDefault(),!o){l(!0);try{const{data:p,error:x}=await qu.functions.invoke("flodesk-sync",{body:{name:e,email:n,planType:s}});if(x||p&&p.error)throw new Error((x==null?void 0:x.message)||(p==null?void 0:p.error)||"Something went wrong");u(!0),Ot.success("You're in! Check your inbox for the guide.")}catch(p){console.error(p),Ot.error(p.message||"Couldn't sign you up. Please try again.")}finally{l(!1)}}},h=["Plan managed","Self managed","NDIA managed","Plan Managed by
282Kindship"];return a.jsx("section",{id:"guide-form",className:"py-10 md:py-14",style:{backgroundColor:"#fff3ee"},children:a.jsx("div",{className:"max-w-3xl mx-auto px-4 sm:px-6",children:a.jsxs(wt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"bg-card rounded-3xl shadow-xl p-8 md:p-12 border border-border",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-3",style:{color:"#671b01"},children:"Get your free 'Can I Buy It?' guide"}),a.jsx("p",{style:{color:"#671b01",opacity:.7},children:"It'll land in your inbox in seconds, no waiting."}),a.jsx("p",{className:"text-sm font-medium mt-2",style:{color:"#dc734c"},children:"Join 500+ families who've already accessed this guide"})]}),a.jsxs("form",{onSubmit:d,className:"space-y-5",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"lm-name",className:"block text-sm font-medium mb-1.5",style:{color:"#671b01"},children:"Name"}),a.jsx("input",{id:"lm-name",type:"text",value:e,onChange:f=>t(f.target.value),required:!0,maxLength:100,className:"w-full px-4 py-3 rounded-xl border border-border bg-background focus:outline-none focus:ring-2 focus:ring-ring transition-all",placeholder:"Your name"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"lm-email",className:"block text-sm font-medium mb-1.5",style:{color:"#671b01"},children:"Email"}),a.jsx("input",{id:"lm-email",type:"email",value:n,onChange:f=>r(f.target.value),required:!0,maxLength:255,className:"w-full px-4 py-3 rounded-xl border border-border bg-background focus:outline-none focus:ring-2 focus:ring-ring transition-all",placeholder:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-3",style:{color:"#671b01"},children:"Quick question (so we send the most helpful info): how is your plan managed?"}),a.jsx("div",{className:"grid grid-cols-2 gap-3",children:h.map(f=>{const p=s===f;return a.jsx("button",{type:"button",onClick:()=>i(f),className:"px-4 py-3 rounded-xl text-sm font-medium border transition-all",style:{backgroundColor:p?"#dc734c":"transparent",color:p?"#fff":"#671b01",borderColor:p?"#dc734c":"rgba(103,27,1,0.2)"},children:f},f)})})]}),a.jsx("button",{type:"submit",disabled:o||c,className:"lm-btn-primary w-full text-center mt-4 disabled:opacity-60 disabled:cursor-not-allowed",children:c?"You're in! ð":o?"Sending...":"Grab my free guide"})]})]})})})},oj=()=>a.jsxs("footer",{children:[a.jsx("div",{style:{backgroundColor:"#dc734c"},className:"py-16 md:py-24",children:a.jsx("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 text-center",children:a.jsxs(wt.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[a.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-4 leading-tight text-white",children:"Because you were never meant to do this alone."}),a.jsx("p",{className:"text-white/80 text-lg mb-8",children:"Clear, simple answers, so you can stop second-guessing and feel confident using your funding."}),a.jsx("a",{href:"#guide-form",className:"inline-block bg-white font-semibold px-8 py-4 rounded-full text-lg transition-all duration-300 hover:scale-105 hover:shadow-lg",style:{color:"#671b01"},children:"Grab my free guide"}),a.jsx("p",{className:"text-white/60 text-sm mt-3",children:"It'll land in your inbox in seconds, no waiting."})]})})}),a.jsx("div",{style:{backgroundColor:"#671b01"},className:"text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"col-span-2 md:col-span-1",children:[a.jsx("a",{href:"https://www.kindship.com.au/",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:Rs,alt:"Kindship",className:"h-8 w-auto"})}),a.jsxs("div",{className:"flex items-center gap-4 mt-6",children:[a.jsx("a",{href:"https://www.instagram.com/kindship_au/",className:"hover:opacity-80 transition-opacity","aria-label":"Instagram",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259
2820-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),a.jsx("a",{href:"https://www.facebook.com/kindshipapp/",className:"hover:opacity-80 transition-opacity","aria-label":"Facebook",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385h-3.047v-3.47h3.047v-2.642c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953h-1.514c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385c5.737-.9 10.125-5.864 10.125-11.854z"})})}),a.jsx("a",{href:"https://www.linkedin.com/company/kindship/",className:"hover:opacity-80 transition-opacity","aria-label":"LinkedIn",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667h-3.554v-11.452h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zm-15.11-13.019c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019h-3.564v-11.452h3.564v11.452zm15.106-20.452h-20.454c-.979 0-1.771.774-1.771 1.729v20.542c0 .956.792 1.729 1.771 1.729h20.451c.978 0 1.778-.773 1.778-1.729v-20.542c0-.955-.8-1.729-1.778-1.729z"})})}),a.jsx("a",{href:"https://www.youtube.com/@KindshipCollective",className:"hover:opacity-80 transition-opacity","aria-label":"YouTube",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})})]})]}),a.jsx("div",{children:a.jsxs("ul",{className:"space-y-2.5",children:[a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/about-us",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"About Us"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/connection",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Community"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/supportpathways",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Family Support Pathways"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Plan Management"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/blog",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Blog"})}),a.jsx("li",{children:a.jsx("a",{href:"/",className:"text-sm text-white/80 hover:text-white transition-colors",children:"Decoding the NDIS Webinars"})}),a.jsx("li",{children:a.jsx("a",{href:"https://calendly.com/d/3qz-nh5-g2g/discovery-call-with-kindship",className:"text-sm text-white/80 hover:text-white transition-colors font-semibold",target:"_blank",rel:"noopener noreferrer",children:"Book a Call With Us"})})]})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-sm mb-4",children:"Contact"}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"General:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"Member Support:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]})]})]})]}),a.jsxs("div",{className:"border-t border-white/10 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[a.jsxs("p",{className:"text-sm text-white/40",children:["© ",new Date().getFullYear()," Kindship. All rights reserved."]}),a.jsx("p",{className:"text-xs text-white/30",children:"A guide only â individual circumstances apply."})]})]})})]}),cF=()=>(b.useEffect(()=>{const e=document.title;return document.title="Can I Buy It? Free NDIS Funding Guide | Kindship",()=>{document.title=e}},[]),a.jsxs("main",{className:"min-h-screen",style:{backgroundColor:"#fff3ee"},children:[a.jsx(Yk,{}),a.jsx(LS,{}),a.jsx(MS,{}),a.jsx($S,{}),a.jsx(FS,{}),a.jsx(ij,{}),a.jsx(oj,{})]})),aj=()=>a.jsx("nav",{className:"bg-coral shadow-md sticky top-0 z-50",children:a.jsx("div",{className:"px-6 py-3 flex items-center justify-start",children:a.jsx("a",{href:"/",className:"flex items-center",children:a.jsx("img",{src:Wi,alt:"Kindship",className:"h-8 w-auto brightness-0 invert"})})})}),lj=({targetDate:e})=>{const t=()=>{const o=(e instanceof Date?e.getTime():new Date(e).getTime())-Date.now();return!Number.isFinite(o)||o<=0?{days:0,hours:0,minutes:0,seconds:0}:{days:Math.floor(o/864e5),hours:Math.floor(o/36e5%24),minutes:Math.floor(o/1e3/60%60),seconds:Math.floor(o/1e3%60)}},[n,r]=b.useState(t);b.useEffect(()=>{r(t());const i=setInterval(()=>r(t()),1e3);return()=>clearInterval(i)},[typeof e=="object"?e.getTime():e]);const s=[{label:"Days",value:n.days},{label:"Hours",value:n.hours},{label:"Mins",value:n.minutes},{label:"Secs",value:n.seconds}];return a.jsx("div",{className:"flex gap-3",children:s.map(i=>a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx("div",{className:"bg-primary text-primary-foreground rounded-xl w-14 h-14 flex items-center justify-center text-2xl font-bold font-sans",children:String(i.value).padStart(2,"0")}),a.jsx("span",{className:"text-xs text-muted-foreground mt-1 font-sans",children:i.label})]},i.label))})},uF=1,dF="72fbba52-1786-4e42-98ef-9dcb9c02de58",hF="f98a8e28-fd19-4bb5-9211-9669688083db",fF="/__l5e/assets-v1/72fbba52-1786-4e42-98ef-9dcb9c02de58/hayley-thiele-hero-wide.png",pF="a/v1/f98a8e28-fd19-4bb5-9211-9669688083db/72fbba52-1786-4e42-98ef-9dcb9c02de58/hayley-thiele-hero-wide.png",mF="hayley-thiele-hero-wide.png",gF=129634,yF="image/webp",vF="2026-09-21T02:29:40Z",xF={version:uF,asset_id:dF,project_id:hF,url:fF,r2_key:pF,original_filename:mF,size:gF,content_type:yF,created_at:vF}
282,cj="/assets/ndis-logo-long-cropped-BjcvCKvu.png",lp=new Set,Na=()=>{lp.forEach(e=>e())},wF=e=>(lp.add(e),()=>{lp.delete(e)}),tu="https://streamyard.com/watch/mnUnq7SzpVBd",bF=()=>{const e=b.useMemo(()=>new Date("2026-09-29T12:30:00+10:00"),[]);return a.jsx("section",{className:"bg-peach",children:a.jsxs("div",{className:"container mx-auto px-4 py-6 md:py-12",children:[a.jsxs("div",{className:"grid md:grid-cols-2 gap-8 items-center",children:[a.jsxs("div",{className:"max-w-xl",children:[a.jsx("p",{className:"text-sm md:text-base uppercase tracking-widest text-primary font-semibold mb-2",children:"Decoding the NDIS"}),a.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl leading-tight",children:"The NDIS Reforms: What Happens to Your Plan Now"}),a.jsx("p",{className:"text-lg md:text-xl text-warm-gray font-sans leading-relaxed mt-8 md:mt-10",children:"A free, plain-English webinar on how support determinations, plan reviews and the new reasonable and necessary criteria will actually affect your child's plan."}),a.jsx(De,{onClick:Na,variant:"cta",size:"xl",className:"mt-6 w-full sm:w-auto",children:"Send me the recording â"}),a.jsx("p",{className:"text-sm text-warm-gray font-sans mt-3",children:"Can't make it live? Register anyway â we'll send you the recording and slides."}),a.jsxs("div",{className:"flex items-center gap-3 text-base md:text-lg text-muted-foreground font-sans mt-5",children:[a.jsx(mm,{className:"w-5 h-5 text-primary"}),a.jsxs("span",{children:[a.jsx("span",{className:"font-semibold",children:"Join 2,000+ families"})," who've attended our NDIS webinars"]})]})]}),a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"rounded-3xl overflow-hidden shadow-2xl w-full",children:a.jsx("img",{src:xF.url,alt:"A mum laughing with her daughter, who is smiling while holding her feeding tube",width:1814,height:1920,className:"w-full h-auto object-cover"})}),a.jsx("div",{className:"absolute bottom-4 left-4 bg-white rounded-xl px-3 py-2 shadow-md",children:a.jsx("img",{src:cj,alt:"Registered NDIS Provider",className:"h-14 w-auto"})})]})]}),a.jsx("div",{className:"bg-beige rounded-2xl p-6 mt-8 shadow-md",children:a.jsxs("div",{className:"grid md:grid-cols-3 gap-6 items-center",children:[a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-sm uppercase tracking-wider text-muted-foreground font-sans font-semibold",children:"Next Webinar"}),a.jsx("h3",{className:"text-xl md:text-2xl",children:"The NDIS Reforms: What Happens to Your Plan Now"}),a.jsxs("div",{className:"flex flex-wrap gap-4 text-sm text-muted-foreground font-sans",children:[a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(hm,{className:"w-4 h-4"})," Tue 29 Sep 2026"]}),a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(fm,{className:"w-4 h-4"})," 12:30 PM AEST"]}),a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(_T,{className:"w-4 h-4"})," Online"]}),a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(m1,{className:"w-4 h-4"})," Free - spots limited"]})]})]}),a.jsxs("div",{className:"flex flex-col items-center gap-2",children:[a.jsx("p",{className:"text-sm text-muted-foreground font-sans",children:"Starts in:"}),a.jsx(lj,{targetDate:e})]}),a.jsxs("div",{className:"flex flex-col items-center md:items-end gap-3",children:[a.jsx(De,{onClick:Na,variant:"cta",size:"xl",className:"w-full md:w-auto",children:"Send me the recording â"}),a.jsx("p",{className:"font-sans text-sm text-warm-gray text-center md:text-right",children:"âï¸ Free to attend âï¸ Recording sent after"})]})]})})]})})},kF=["You attended our last reforms webinar and want the next layer of detail",`You keep hearing "support determination" and aren't sure what it actually means for you`,'You want to understand what "reasonable and necessary" means before February 2027'],SF=["What a support determination actually is, and who can make one about your child's plan","What is a plan reset?","The new reasonable and necessary criteria, and what it could mean for what's funded","What families need to do right now versus what can wait"],jF=[{icon:p1,title:"The full picture",desc:"A clear picture of what's changing and what it means for your family"},{icon:on,title:"Mistakes to avoid",desc:"The mistakes to avoid as the changes roll out"},{icon:g1,title:"Confidence",desc:"Feel confident, not caught off guard"},{icon:pm,title:"Slides in your inbox",desc:"Slides sent straight to your inbox afterwards"}],_F=()=>a.jsx("section",{className:"py-12 md:py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsxs("div",{className:"bg-card rounded-3xl p-8 md:p-12 shadow-sm space-y-6",children:[a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed",children:"The NDIS reforms are now officially law, so whether you came to our last session or you're catching up for the first time, this is where we get into what it actually means for your child's plan. This free, plain-English webinar breaks down supp
282ort determinations, plan resets and the new reasonable and necessary criteria shaping what gets funded going forward."}),a.jsx("h2",{className:"text-3xl md:text-4xl",children:"Is this for you?"}),a.jsx("p",{className:"text-warm-gray text-lg font-sans",children:"This is for you if:"}),a.jsx("ul",{className:"space-y-3",children:kF.map(e=>a.jsxs("li",{className:"flex items-start gap-3 font-sans",children:[a.jsx(on,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),a.jsx("span",{children:e})]},e))}),a.jsx("h3",{className:"text-2xl pt-4",children:"What we'll cover"}),a.jsx("ul",{className:"space-y-3",children:SF.map(e=>a.jsxs("li",{className:"flex items-start gap-3 font-sans",children:[a.jsx(on,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),a.jsx("span",{children:e})]},e))}),a.jsx("h3",{className:"text-2xl pt-4",children:"Who it's for"}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed",children:"Any parent or carer who wants to understand what's actually changing with support determinations, plan resets and funding criteria â whether you came to our first reforms session or you're jumping in fresh."}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed",children:"NDIS providers, support coordinators and therapists are warmly welcome too â many of you support families through exactly this."})]}),a.jsxs("div",{className:"mt-12 space-y-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h3",{className:"text-2xl md:text-3xl",children:"You'll leave with"}),a.jsx("p",{className:"text-warm-gray font-sans text-lg mt-1",children:"All of this, completely free when you register"})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:jF.map(({icon:e,title:t,desc:n})=>a.jsxs("div",{className:"bg-beige rounded-2xl p-5 flex flex-col items-center text-center gap-3 shadow-sm hover:shadow-md transition-shadow",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/15 flex items-center justify-center",children:a.jsx(e,{className:"w-6 h-6 text-primary"})}),a.jsx("h4",{className:"font-semibold text-sm",children:t}),a.jsx("p",{className:"text-xs text-warm-gray font-sans leading-relaxed",children:n})]},t))})]}),a.jsxs("div",{className:"text-center pt-10",children:[a.jsx(De,{onClick:Na,variant:"cta",size:"xl",children:"Send me the recording â"}),a.jsx("p",{className:"font-sans text-sm text-warm-gray mt-4",children:"Free to attend. Recording available for all who register. No spam, ever."})]})]})}),nu="/assets/willow-walker-BQDyara4.png",ru="/assets/hayley-piper-CE1yS1PT.png",EF=()=>a.jsx("section",{className:"bg-peach py-16 md:py-24 overflow-hidden",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"relative max-w-4xl mx-auto",children:[a.jsxs("div",{className:"hidden md:block",children:[a.jsxs("div",{className:"absolute -left-16 lg:-left-24 top-4 w-44 lg:w-52",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg rotate-[-4deg]",children:a.jsx("img",{src:nu,alt:"Tara's daughter Willow in her pink walker",className:"w-full aspect-[3/4] object-cover"})}),a.jsx("span",{className:"inline-block mt-2 ml-2 bg-primary text-primary-foreground text-xs font-bold font-sans px-3 py-1 rounded-full",children:"Tara & Willow"})]}),a.jsxs("div",{className:"absolute -right-16 lg:-right-24 bottom-8 w-44 lg:w-52",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg rotate-[3deg]",children:a.jsx("img",{src:ru,alt:"Hayley cuddling her daughter Piper",className:"w-full aspect-[3/4] object-cover"})}),a.jsx("span",{className:"inline-block mt-2 ml-2 bg-primary text-primary-foreground text-xs font-bold font-sans px-3 py-1 rounded-full",children:"Hayley & Pip"})]})]}),a.jsxs("div",{className:"relative z-10 max-w-lg mx-auto space-y-5 font-sans text-center py-8",children:[a.jsx("h2",{className:"text-3xl md:text-4xl",children:"Why we created these webinars"}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"We kept seeing the same thing over and over again⦠Families and carers feeling overwhelmed by the NDIS."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"Being told different things by different people. Trying to keep up with ever-changing rules and updates. And constantly wondering if they're getting any of it right."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"And honestly⦠who has time to become a part-time NDIS expert?"}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:a.jsx("strong",{className:"text-foreground",children:"We've been there too."})}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"And we knew there had to be a better way to navigate the maze of the NDIS, one that actually makes sense, without the pressure or confusion."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"So that's what these sessions are."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:a.jsx("strong",{className:"text-foreground",children:"Simple. Honest. And designed to help you feel clearer, more supported, and less like you're figuring it all out on your own."})})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4 mt-8 md:hidden",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg",children:a.jsx("img",{src:nu,alt:"Tara's daughter Willow",className:"w-full aspect-[3/4] object-cover"})}),a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg",children:a.jsx("img",{src:ru,alt:"Hayley cuddling Piper",className:"w-full aspect-[3/4] object-cover"})})]})]})})}),NF=[{text:"LOVED the webinar! Love that it was recorded. Felt a huge sense of community with like-minded parents. Also, prompted me to go look at my plan again and realised I was using therapy that wasn't listed, EKK! So, talking with NDIS today. Thank y
282ou for your time.",name:"Elizabeth"},{text:"The webinars are always topical, insightful and provide immediate 'take home' insights/benefits, greatly appreciated resource in the busy life of SCs who are trying hard to stay up to date, thank you!",name:"Sarah"},{text:"We love these so much! There is a serious buzz amongst parents about these sessions. You're informing us the way we feel the NDIS should!",name:"Tara"},{text:"The webinar was brilliant! I am now going back to watch other ones. I do really like having the questions at the end so that you can get through the big stuff first.",name:"Gina"},{text:"I love everything about the webinars! We appreciate you all doing these sessions for us parents/carers! Please keep having them regularly!",name:"Mel"},{text:"I love the webinars and that they are available on replay so I can watch it when I'm able to.",name:"Terrie"}],ox=["bg-beige text-dark-brown","bg-salmon text-white","bg-dark-brown text-white","bg-beige text-dark-brown","bg-coral text-white","bg-orange-earth text-white"],TF=()=>a.jsx("section",{className:"py-20 md:py-28",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-12 space-y-3",children:[a.jsx("h2",{className:"text-3xl md:text-4xl",children:"What families are saying"}),a.jsx("p",{className:"text-warm-gray font-sans max-w-xl mx-auto",children:"Real feedback from real parents and carers who've joined our webinars."})]}),a.jsx("div",{className:"columns-1 md:columns-2 lg:columns-3 gap-6 max-w-6xl mx-auto",children:NF.map((e,t)=>a.jsxs("div",{className:`break-inside-avoid mb-6 rounded-2xl p-6 ${ox[t%ox.length]}`,children:[a.jsx("p",{className:"font-sans leading-relaxed text-sm mb-4 opacity-90",children:e.text}),a.jsx("p",{className:"font-semibold font-sans",children:e.name})]},e.name))})]})}),uj="/assets/host-tara-BkKJxkvy.png",dj="/assets/host-hayley-jdeCefH4.png",CF=()=>a.jsx("section",{className:"bg-beige py-10 md:py-14",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[a.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-center mb-4 text-foreground",children:"Meet your hosts"}),a.jsx("p",{className:"text-center text-warm-gray font-sans mb-12 max-w-2xl mx-auto",children:"Hosted by Hayley Thiele & Tara Thompson"}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-12",children:[a.jsxs("div",{className:"bg-background rounded-2xl overflow-hidden shadow-md",children:[a.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:a.jsx("img",{src:uj,alt:"Hayley Thiele",className:"w-full h-full object-cover object-[center_20%]"})}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"font-serif text-xl mb-1",children:"Hayley Thiele"}),a.jsx("p",{className:"text-xs text-coral font-sans font-medium mb-3",children:"CEO & Director of Alee Disability Support"}),a.jsxs("div",{className:"text-sm text-warm-gray font-sans leading-relaxed space-y-3",children:[a.jsx("p",{children:"A mum first, Hayley knows what it's like to navigate disability and the NDIS in real life â the questions, the overwhelm, and the constant advocating."}),a.jsx("p",{children:"Professionally, she's spent years supporting families and working within the system, helping turn complex NDIS processes into support that actually makes sense and works in practice."})]})]})]}),a.jsxs("div",{className:"bg-background rounded-2xl overflow-hidden shadow-md",children:[a.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:a.jsx("img",{src:dj,alt:"Tara Thompson",className:"w-full h-full object-cover object-top"})}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"font-serif text-xl mb-1",children:"Tara Thompson"}),a.jsx("p",{className:"text-xs text-coral font-sans font-medium mb-3",children:"Co-Founder & Chief of Marketing"}),a.jsxs("div",{className:"text-sm text-warm-gray font-sans leading-relaxed space-y-3",children:[a.jsx("p",{children:"As a mum of a young person with cerebral palsy and autism, Tara brings lived experience of therapy, early intervention, and navigating the NDIS day to day."}),a.jsx("p",{children:"With a background in education and years spent building a community of families, she focuses on turning information into practical tools, resources, and support that families can actually use in real life."})]})]})]})]}),a.jsxs("div",{className:"bg-orange-earth rounded-2xl p-8 md:p-10 max-w-3xl mx-auto
282space-y-4 font-sans text-white leading-relaxed",children:[a.jsxs("p",{children:[a.jsx("strong",{children:"Hayley"})," (our self-confessed NDIS nerd) will absolutely get excited about the details⦠while"," ",a.jsx("strong",{children:"Tara"})," jumps in to ask the questions everyone else is thinking â and gently brings her back when she goes on a full NDIS tangent."]}),a.jsx("p",{children:"We share real examples, our own experiences, and break things down in a way that actually clicks."}),a.jsxs("p",{children:[a.jsx("strong",{children:"It's a bit of a no-BS zone"})," â just clear, simple, and relatable explanations."]}),a.jsx("p",{className:"italic",children:"There's always space to ask questions. And you'll walk away with the recording, slides, and usually a handy cheat sheet we've put together to make everything easier to follow."})]}),a.jsxs("div",{className:"flex flex-col items-center gap-3 mt-10",children:[a.jsx(De,{onClick:Na,variant:"cta",size:"xl",children:"Send me the recording â"}),a.jsx("p",{className:"font-sans text-xs text-warm-gray",children:"Free to attend. Recording available for all who register. No spam, ever."})]})]})}),AF=()=>a.jsx("section",{className:"py-12 md:py-16",children:a.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:a.jsxs("div",{className:"bg-card rounded-3xl p-8 md:p-12 shadow-sm space-y-6",children:[a.jsx("h3",{className:"text-2xl md:text-3xl",children:"Questions?"}),a.jsxs("div",{className:"space-y-5",children:[a.jsxs("div",{children:[a.jsx("p",{className:"font-semibold font-sans",children:"Is this really free?"}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed mt-1",children:"Yes. Free for parents, carers and providers. Always."})]}),a.jsxs("div",{children:[a.jsx("p",{className:"font-semibold font-sans",children:"What if I can't make it live?"}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed mt-1",children:"Register anyway. We'll send you the recording and slides straight to your inbox - so you can watch when life lets you."})]}),a.jsxs("div",{children:[a.jsx("p",{className:"font-semibold font-sans",children:"Do I need to be NDIS Plan Managed by Kindship?"}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed mt-1",children:"No. This is for all NDIS families - self-managed, agency-managed, or plan-managed by any provider."})]}),a.jsxs("div",{children:[a.jsx("p",{className:"font-semibold font-sans",children:"I've never been to a Kindship webinar before. What are they like?"}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed mt-1",children:"Warm, practical, plain English, and parent-led. You'll feel like you're having a cuppa with a friend who happens to know the NDIS really well."})]}),a.jsxs("div",{children:[a.jsx("p",{className:"font-semibold font-sans",children:"My plan hasn't changed yet - is this still worth coming to?"}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed mt-1",children:"Yes. These changes affect every NDIS plan as it comes up for renewal, so understanding what's ahead means you'll be ready, not caught off guard."})]})]})]})})}),PF=()=>a.jsx("section",{className:"bg-primary py-20 md:py-28",children:a.jsxs("div",{className:"container mx-auto px-4 text-center space-y-6 max-w-2xl",children:[a.jsx("h2",{className:"text-3xl md:text-5xl text-primary-foreground leading-tight",children:"Because you were never meant to do this alone."}),a.jsx("p",{className:"text-primary-foreground/80 font-sans text-lg",children:"Whether you're trying to make sense of what's actually changed, or just want to be ready before it affects your young person's plan, this hour is here to walk alongside you."}),a.jsx(De,{onClick:Na,variant:"ctaOutline",size:"xl",className:"border-primary-foreground text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:"Send me the recording â"}),a.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 pt-4 text-primary-foreground/80 font-sans text-sm",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(on,{className:"w-5 h-5 text-primary-foreground"}),"Free to attend"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(on,{className:"w-5 h-5 text-primary-foreground"}),"Recording sent after"]})]})]})});var nh="focusScope.autoFocusOnMount",rh="focusScope.autoFocusOnUnmount",ax={bubbles:!1,cancelable:!0},RF="FocusScope",hj=b.forwardRef((e,t)=>
vendor: 5,004 bytes, line 282
282{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...o}=e,[l,c]=b.useState(null),u=Cn(s),d=Cn(i),h=b.useRef(null),f=He(t,m=>c(m)),p=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let m=function(v){if(p.paused||!l)return;const k=v.target;l.contains(k)?h.current=k:cr(h.current,{select:!0})},w=function(v){if(p.paused||!l)return;const k=v.relatedTarget;k!==null&&(l.contains(k)||cr(h.current,{select:!0}))},y=function(v){if(document.activeElement===document.body)for(const S of v)S.removedNodes.length>0&&cr(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",w);const g=new MutationObserver(y);return l&&g.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w),g.disconnect()}}},[r,l,p.paused]),b.useEffect(()=>{if(l){cx.add(p);const m=document.activeElement;if(!l.contains(m)){const y=new CustomEvent(nh,ax);l.addEventListener(nh,u),l.dispatchEvent(y),y.defaultPrevented||(IF($F(fj(l)),{select:!0}),document.activeElement===m&&cr(l))}return()=>{l.removeEventListener(nh,u),setTimeout(()=>{const y=new CustomEvent(rh,ax);l.addEventListener(rh,d),l.dispatchEvent(y),y.defaultPrevented||cr(m??document.body,{select:!0}),l.removeEventListener(rh,d),cx.remove(p)},0)}}},[l,u,d,p]);const x=b.useCallback(m=>{if(!n&&!r||p.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(w&&y){const g=m.currentTarget,[v,k]=OF(g);v&&k?!m.shiftKey&&y===k?(m.preventDefault(),n&&cr(v,{select:!0})):m.shiftKey&&y===v&&(m.preventDefault(),n&&cr(k,{select:!0})):y===g&&m.preventDefault()}},[n,r,p.paused]);return a.jsx(me.div,{tabIndex:-1,...o,ref:f,onKeyDown:x})});hj.displayName=RF;function IF(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(cr(r,{select:t}),document.activeElement!==n)return}function OF(e){const t=fj(e),n=lx(t,e),r=lx(t.reverse(),e);return[n,r]}function fj(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function lx(e,t){for(const n of e)if(!DF(n,{upTo:t}))return n}function DF(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 LF(e){return e instanceof HTMLInputElement&&"select"in e}function cr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&LF(e)&&t&&e.select()}}var cx=MF();function MF(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ux(e,t),e.unshift(t)},remove(t){var n;e=ux(e,t),(n=e[0])==null||n.resume()}}}function ux(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function $F(e){return e.filter(t=>t.tagName!=="A")}var sh=0;function FF(){b.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??dx()),document.body.insertAdjacentElement("beforeend",e[1]??dx()),sh++,()=>{sh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),sh--}},[])}function dx(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var kn=function(){return kn=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},kn.apply(this,arguments)};function pj(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 s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function BF(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var oc="right-scroll-bar-position",ac="width-before-scroll-bar",UF="with-scroll-bars-hidden",VF="--removed-body-scroll-bar-size";function ih(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function zF(e,t){var n=b.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var WF=typeof window<"u"?b.useLayoutEffect:b.useEffect,hx=new WeakMap;function HF(e,t){var n=zF(null,function(r){return e.forEach(function(s){return ih(s,r)})});return WF(function(){var r=hx.get(n);if(r){var s=new Set(r),i=new Set(e),o=n.current;
vendor: 4,196 bytes, lines 282-297
282s.forEach(function(l){i.has(l)||ih(l,null)}),i.forEach(function(l){s.has(l)||ih(l,o)})}hx.set(n,e)},[e]),n}function KF(e){return e}function qF(e,t){t===void 0&&(t=KF);var n=[],r=!1,s={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(i){var o=t(i,r);return n.push(o),function(){n=n.filter(function(l){return l!==o})}},assignSyncMedium:function(i){for(r=!0;n.length;){var o=n;n=[],o.forEach(i)}n={push:function(l){return i(l)},filter:function(){return n}}},assignMedium:function(i){r=!0;var o=[];if(n.length){var l=n;n=[],l.forEach(i),o=n}var c=function(){var d=o;o=[],d.forEach(i)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),n}}}};return s}function GF(e){e===void 0&&(e={});var t=qF(null);return t.options=kn({async:!0,ssr:!1},e),t}var mj=function(e){var t=e.sideCar,n=pj(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,kn({},n))};mj.isSideCarExport=!0;function YF(e,t){return e.useMedium(t),mj}var gj=GF(),oh=function(){},Gu=b.forwardRef(function(e,t){var n=b.useRef(null),r=b.useState({onScrollCapture:oh,onWheelCapture:oh,onTouchMoveCapture:oh}),s=r[0],i=r[1],o=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,h=e.shards,f=e.sideCar,p=e.noRelative,x=e.noIsolation,m=e.inert,w=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,v=e.gapMode,k=pj(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,_=HF([n,t]),j=kn(kn({},k),s);return b.createElement(b.Fragment,null,d&&b.createElement(S,{sideCar:gj,removeScrollBar:u,shards:h,noRelative:p,noIsolation:x,inert:m,setCallbacks:i,allowPinchZoom:!!w,lockRef:n,gapMode:v}),o?b.cloneElement(b.Children.only(l),kn(kn({},j),{ref:_})):b.createElement(g,kn({},j,{className:c,ref:_}),l))});Gu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Gu.classNames={fullWidth:ac,zeroRight:oc};var JF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function QF(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=JF();return t&&e.setAttribute("nonce",t),e}function XF(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ZF(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var eB=function(){var e=0,t=null;return{add:function(n){e==0&&(t=QF())&&(XF(t,n),ZF(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tB=function(){var e=eB();return function(t,n){b.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},yj=function(){var e=tB(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},nB={left:0,top:0,right:0,gap:0},ah=function(e){return parseInt(e||"",10)||0},rB=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[ah(n),ah(r),ah(s)]},sB=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return nB;var t=rB(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])}},iB=yj(),Ti="data-scroll-locked",oB=function(e,t,n,r){var s=e.left,i=e.top,o=e.right,l=e.gap;return n===void 0&&(n="margin"),` 283 .`.concat(UF,` { 284 overflow: hidden `).concat(r,`; 285 padding-right: `).concat(l,"px ").concat(r,`; 286 } 287 body[`).concat(Ti,`] { 288 overflow: hidden `).concat(r,`; 289 overscroll-behavior: contain; 290 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 291 padding-left: `.concat(s,`px; 292 padding-top: `).concat(i,`px; 293 padding-right: `).concat(o,`px; 294 margin-left:0; 295 margin-top:0; 296 margin-right: `).concat(l,"px ").concat(r,`; 297 `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";
297")].filter(Boolean).join(""),` 298 } 299 300 .`).concat(oc,` { 301 right: `).concat(l,"px ").concat(r,`; 302 } 303 304 .`).concat(ac,` { 305 margin-right: `).concat(l,"px ").concat(r,`; 306 } 307 308 .`).concat(oc," .").concat(oc,` { 309 right: 0 `).concat(r,`; 310 } 311 312 .`).concat(ac," .").concat(ac,` { 313 margin-right: 0 `).concat(r,`; 314 } 315 316 body[`).concat(Ti,`] { 317 `).concat(VF,": ").concat(l,`px; 318 } 319`)},fx=function(){var e=parseInt(document.body.getAttribute(Ti)||"0",10);return isFinite(e)?e:0},aB=function(){b.useEffect(function(){return document.body.setAttribute(Ti,(fx()+1).toString()),function(){var e=fx()-1;e<=0?document.body.removeAttribute(Ti):document.body.setAttribute(Ti,e.toString())}},[])},lB=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;aB();var i=b.useMemo(function(){return sB(s)},[s]);return b.createElement(iB,{styles:oB(i,!t,s,n?"":"!important")})},cp=!1;if(typeof window<"u")try{var Rl=Object.defineProperty({},"passive",{get:function(){return cp=!0,!0}});window.addEventListener("test",Rl,Rl),window.removeEventListener("test",Rl,Rl)}catch{cp=!1}var Gs=cp?{passive:!1}:!1,cB=function(e){return e.tagName==="TEXTAREA"},vj=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!cB(e)&&n[t]==="visible")},uB=function(e){return vj(e,"overflowY")},dB=function(e){return vj(e,"overflowX")},px=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=xj(e,r);if(s){var i=wj(e,r),o=i[1],l=i[2];if(o>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},hB=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},fB=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},xj=function(e,t){return e==="v"?uB(t):dB(t)},wj=function(e,t){return e==="v"?hB(t):fB(t)},pB=function(e,t){return e==="h"&&t==="rtl"?-1:1},mB=function(e,t,n,r,s){var i=pB(e,window.getComputedStyle(t).direction),o=i*r,l=n.target,c=t.contains(l),u=!1,d=o>0,h=0,f=0;do{if(!l)break;var p=wj(e,l),x=p[0],m=p[1],w=p[2],y=m-w-i*x;(x||y)&&xj(e,l)&&(h+=y,f+=x);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&(Math.abs(h)<1||!s)||!d&&(Math.abs(f)<1||!s))&&(u=!0),u},Il=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},mx=function(e){return[e.deltaX,e.deltaY]},gx=function(e){return e&&"current"in e?e.current:e},gB=function(e,t){return e[0]===t[0]&&e[1]===t[1]},yB=function(e){return` 320 .block-interactivity-`.concat(e,` {pointer-events: none;} 321 .allow-interactivity-`).concat(e,` {pointer-events: all;} 322`)},vB=0,Ys=[];function xB(e){var t=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),s=b.useState(vB++)[0],i=b.useState(yj)[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(s));var m=BF([e.lockRef.current],(e.shards||[]).map(gx),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=b.useCallback(function(m,w){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!o.current.allowPinchZoom;var y=Il(m),g=n.current,v="deltaX"in m?m.deltaX:g[0]-y[0],k="deltaY"in m?m.deltaY:g[1]-y[1],S,_=m.target,j=Math.abs(v)>Math.abs(k)?"h":"v";if("touches"in m&&j==="h"&&_.type==="range")return!1;var E=px(j,_);if(!E)return!0;if(E?S=j:(S=j==="v"?"h":"v",E=px(j,_)),!E)return!1;if(!r.current&&"changedTouches"in m&&(v||k)&&(r.current=S),!S)return!0;var C=r.current||S;return mB(C,w,m,C==="h"?v:k,!0)},[]),c=b.useCallback(function(m){var w=m;if(!(!Ys.length||Ys[Ys.length-1]!==i)){var y="deltaY"in w?mx(w):Il(w),g=t.current.filter(function(S){return S.name===w.type&&(S.target===w.target||w.target===S.shadowParent)&&gB(S.delta,y)})[0];if(g&&g.should){w.cancelable&&w.preventDefault();return}
vendor: 4,333 bytes, line 322
322if(!g){var v=(o.current.shards||[]).map(gx).filter(Boolean).filter(function(S){return S.contains(w.target)}),k=v.length>0?l(w,v[0]):!o.current.noIsolation;k&&w.cancelable&&w.preventDefault()}}},[]),u=b.useCallback(function(m,w,y,g){var v={name:m,delta:w,target:y,should:g,shadowParent:wB(y)};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(k){return k!==v})},1)},[]),d=b.useCallback(function(m){n.current=Il(m),r.current=void 0},[]),h=b.useCallback(function(m){u(m.type,mx(m),m.target,l(m,e.lockRef.current))},[]),f=b.useCallback(function(m){u(m.type,Il(m),m.target,l(m,e.lockRef.current))},[]);b.useEffect(function(){return Ys.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Gs),document.addEventListener("touchmove",c,Gs),document.addEventListener("touchstart",d,Gs),function(){Ys=Ys.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,Gs),document.removeEventListener("touchmove",c,Gs),document.removeEventListener("touchstart",d,Gs)}},[]);var p=e.removeScrollBar,x=e.inert;return b.createElement(b.Fragment,null,x?b.createElement(i,{styles:yB(s)}):null,p?b.createElement(lB,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function wB(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const bB=YF(gj,xB);var bj=b.forwardRef(function(e,t){return b.createElement(Gu,kn({},e,{ref:t,sideCar:bB}))});bj.classNames=Gu.classNames;var kB=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Js=new WeakMap,Ol=new WeakMap,Dl={},lh=0,kj=function(e){return e&&(e.host||kj(e.parentNode))},SB=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=kj(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})},jB=function(e,t,n,r){var s=SB(t,Array.isArray(e)?e:[e]);Dl[n]||(Dl[n]=new WeakMap);var i=Dl[n],o=[],l=new Set,c=new Set(s),u=function(h){!h||l.has(h)||(l.add(h),u(h.parentNode))};s.forEach(u);var d=function(h){!h||c.has(h)||Array.prototype.forEach.call(h.children,function(f){if(l.has(f))d(f);else try{var p=f.getAttribute(r),x=p!==null&&p!=="false",m=(Js.get(f)||0)+1,w=(i.get(f)||0)+1;Js.set(f,m),i.set(f,w),o.push(f),m===1&&x&&Ol.set(f,!0),w===1&&f.setAttribute(n,"true"),x||f.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",f,y)}})};return d(t),l.clear(),lh++,function(){o.forEach(function(h){var f=Js.get(h)-1,p=i.get(h)-1;Js.set(h,f),i.set(h,p),f||(Ol.has(h)||h.removeAttribute(r),Ol.delete(h)),p||h.removeAttribute(n)}),lh--,lh||(Js=new WeakMap,Js=new WeakMap,Ol=new WeakMap,Dl={})}},_B=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=kB(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),jB(r,s,n,"aria-hidden")):function(){return null}},Yu="Dialog",[Sj,HU]=As(Yu),[EB,un]=Sj(Yu),jj=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!0}=e,l=b.useRef(null),c=b.useRef(null),[u,d]=Ba({prop:r,defaultProp:s??!1,onChange:i,caller:Yu});return a.jsx(EB,{scope:t,triggerRef:l,contentRef:c,contentId:Fo(),titleId:Fo(),descriptionId:Fo(),open:u,onOpenChange:d,onOpenToggle:b.useCallback(()=>d(h=>!h),[d]),modal:o,children:n})};jj.displayName=Yu;var _j="DialogTrigger",NB=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(_j,n),i=He(t,s.triggerRef);return a.jsx(me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":dg(s.open),...r,ref:i,onClick:ce(e.onClick,s.onOpenToggle)})});NB.displayName=_j;var cg="DialogPortal",[TB,Ej]=Sj(cg,{forceMount:void 0}),Nj=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,i=un(cg,t);return a.jsx(TB,{scope:t,forceMount:n,children:b.Children.map(r,o=>a.jsx(Ps,{present:n||i.open,children:a.jsx(wm,{asChild:!0,container:s,children:o})}))})};Nj.displayName=cg;var su="DialogOverlay",Tj=b.forwardRef((e,t)=>{const n=Ej(su,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=un(su,e.__scopeDialog);return i.modal?a.jsx(Ps,{present:r||i.open,children:a.jsx(AB,{...s,ref:t})}):null});Tj.displayName=su;var CB=da("DialogOverlay.RemoveScroll"),AB=b.forwardRef((e,t)=>
vendor: 4,628 bytes, lines 322-326
322{const{__scopeDialog:n,...r}=e,s=un(su,n);return a.jsx(bj,{as:CB,allowPinchZoom:!0,shards:[s.contentRef],children:a.jsx(me.div,{"data-state":dg(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Ns="DialogContent",Cj=b.forwardRef((e,t)=>{const n=Ej(Ns,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=un(Ns,e.__scopeDialog);return a.jsx(Ps,{present:r||i.open,children:i.modal?a.jsx(PB,{...s,ref:t}):a.jsx(RB,{...s,ref:t})})});Cj.displayName=Ns;var PB=b.forwardRef((e,t)=>{const n=un(Ns,e.__scopeDialog),r=b.useRef(null),s=He(t,n.contentRef,r);return b.useEffect(()=>{const i=r.current;if(i)return _B(i)},[]),a.jsx(Aj,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,l=o.button===0&&o.ctrlKey===!0;(o.button===2||l)&&i.preventDefault()}),onFocusOutside:ce(e.onFocusOutside,i=>i.preventDefault())})}),RB=b.forwardRef((e,t)=>{const n=un(Ns,e.__scopeDialog),r=b.useRef(!1),s=b.useRef(!1);return a.jsx(Aj,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,l;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),i.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:i=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),Aj=b.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...o}=e,l=un(Ns,n),c=b.useRef(null),u=He(t,c);return FF(),a.jsxs(a.Fragment,{children:[a.jsx(hj,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:a.jsx(Au,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":dg(l.open),...o,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(IB,{titleId:l.titleId}),a.jsx(DB,{contentRef:c,descriptionId:l.descriptionId})]})]})}),ug="DialogTitle",Pj=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(ug,n);return a.jsx(me.h2,{id:s.titleId,...r,ref:t})});Pj.displayName=ug;var Rj="DialogDescription",Ij=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(Rj,n);return a.jsx(me.p,{id:s.descriptionId,...r,ref:t})});Ij.displayName=Rj;var Oj="DialogClose",Dj=b.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(Oj,n);return a.jsx(me.button,{type:"button",...r,ref:t,onClick:ce(e.onClick,()=>s.onOpenChange(!1))})});Dj.displayName=Oj;function dg(e){return e?"open":"closed"}var Lj="DialogTitleWarning",[KU,Mj]=PN(Lj,{contentName:Ns,titleName:ug,docsSlug:"dialog"}),IB=({titleId:e})=>{const t=Mj(Lj),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 323 324If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 325 326For 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},OB="DialogDescriptionWarning",DB=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Mj(OB).contentName}}.`;return b.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},LB=jj,MB=Nj,$j=Tj,Fj=Cj,Bj=Pj,Uj=Ij,$B=Dj;const Vj=LB,FB=MB,zj=b.forwardRef(({className:e,...t},n)=>a.jsx($j,{ref:n,className:Ze("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}));zj.displayName=$j.displayName;const hg=b.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(FB,{children:[a.jsx(zj,{}),a.jsxs(Fj,{ref:r,className:Ze("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
326nded-lg",e),...n,children:[t,a.jsxs($B,{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:[a.jsx(y1,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));hg.displayName=Fj.displayName;const Ta=({className:e,...t})=>a.jsx("div",{className:Ze("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Ta.displayName="DialogHeader";const Ca=b.forwardRef(({className:e,...t},n)=>a.jsx(Bj,{ref:n,className:Ze("text-lg font-semibold leading-none tracking-tight",e),...t}));Ca.displayName=Bj.displayName;const Aa=b.forwardRef(({className:e,...t},n)=>a.jsx(Uj,{ref:n,className:Ze("text-sm text-muted-foreground",e),...t}));Aa.displayName=Uj.displayName;const BB=["Parent / Carer","NDIS Participant","Support Coordinator / Provider / Therapist / Educator","Other (just curious!)"],UB=["Under 9","Over 9","Not relevant to me"],VB=["I'm self-managed","I'm plan-managed","Plan managed by Kindship","I'm NDIA-managed / not sure yet"],Wj="Kindship Webinar: The NDIS Reforms â What Happens to Your Plan Now",Hj=`Join us live: ${tu}`,lc="20260929T023000Z",Kj="20260929T033000Z",zB=()=>`https://calendar.google.com/calendar/render?action=TEMPLATE&text=${encodeURIComponent(Wj)}&dates=${lc}/${Kj}&details=${encodeURIComponent(Hj)}&location=${encodeURIComponent(tu)}`,WB=()=>{const e=["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//Kindship//Webinar//EN","BEGIN:VEVENT",`UID:kindship-reform-webinar-${lc}@kindship`,`DTSTAMP:${lc}`,`DTSTART:${lc}`,`DTEND:${Kj}`,`SUMMARY:${Wj}`,`DESCRIPTION:${Hj}`,`URL:${tu}`,`LOCATION:${tu}`,"END:VEVENT","END:VCALENDAR"].join(`\r 327`);return`data:text/calendar;charset=utf-8,${encodeURIComponent(e)}`},HB=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(""),[s,i]=b.useState(""),[o,l]=b.useState(""),[c,u]=b.useState(""),[d,h]=b.useState(""),[f,p]=b.useState(""),[x,m]=b.useState(!1),[w,y]=b.useState(!1);b.useEffect(()=>wF(()=>{y(!1),t(!0)}),[]);const g=c==="Parent / Carer",v=o==="Yes",k=()=>{r(""),i(""),l(""),u(""),h(""),p("")},S=async j=>{if(j.preventDefault(),!x){if(!n.trim()||!s.trim()||!o||!c){Ot.error("Please fill in your name, email, and the first two questions.");return}m(!0);try{const{data:E,error:C}=await qu.functions.invoke("webinar-register",{body:{name:n.trim(),email:s.trim(),hasNdis:o,role:c,childAge:g?d:"",planType:v?f:""}});if(C||E&&E.error)throw new Error((C==null?void 0:C.message)||(E==null?void 0:E.error)||"Something went wrong");Ot.success("You're registered!"),k(),y(!0)}catch(E){console.error(E),Ot.error(E.message||"Couldn't register. Please try again.")}finally{m(!1)}}},_=({selected:j,onClick:E,children:C})=>a.jsx("button",{type:"button",onClick:E,className:`px-4 py-2.5 rounded-xl text-sm font-medium border transition-all text-left ${j?"bg-coral text-white border-coral":"bg-transparent text-dark-brown border-dark-brown/20 hover:border-coral/60"}`,children:C});return a.jsx(Vj,{open:e,onOpenChange:t,children:a.jsx(hg,{className:"max-w-lg max-h-[90vh] overflow-y-auto",children:w?a.jsxs("div",{className:"space-y-5 font-sans text-center py-2",children:[a.jsxs(Ta,{children:[a.jsx(Ca,{className:"font-serif text-2xl text-dark-brown",children:"You're in - see you on 29 September"}),a.jsx(Aa,{className:"font-sans",children:"We've emailed your confirmation and webinar link. Save the date now so it's locked in."})]}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 pt-2",children:[a.jsx("a",{href:zB(),target:"_blank",rel:"noopener noreferrer",className:"px-4 py-3 rounded-xl border border-dark-brown/20 bg-transparent text-dark-brown font-medium hover:border-coral/60 transition-colors",children:"Add to Google Calendar"}),a.jsx("a",{href:WB(),download:"kindship-webinar.ics",className:"px-4 py-3 rounded-xl border border-dark-brown/20 bg-transparent text-dark-brown font-medium hover:border-coral/60 transition-colors",children:"Add to Apple / Outlook"})]}),a.jsx("p",{className:"text-xs text-warm-gray pt-2",children:"Can't find the email? Check your promotions or spam folder."})]}):a.jsxs(a.Fragment,{children:[a.jsxs(Ta,{children:[a.jsx(Ca,{className:"font-serif text-2xl text-dark-brown",children:"Save your spot - it's free"}),a.jsx(Aa,{className:"font-sans",children:"A few quick questions so we can send the most useful info."})]}),a.jsxs("form",{onSubmit:S,className:"space-y-5 font-sans",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-medium mb-1.5 text-dark-brown",children:"Name"}),a.jsx("input",{type:"text",value:n,onChange:j=>r(j.target.value),required:!0,maxLength:100,className:"w-full px-4 py-3 rounded-xl border border-border bg-background focus:outline-none focus:ring-2 focus:ring-ring",placeholder:"Your name"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-medium mb-1.5 text-dark-brown",children:"Email"}),a.jsx("input",{type:"email",value:s,onChange:j=>i(j.target.value),required:!0,maxLength:255,className:"w-full px-4 py-3 rounded-xl border border-border bg-background focus:outline-none focus:ring-2 focus:ring-ring",placeholder:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"Just so we know
327who's joining us - do you (or your young person) currently have an NDIS plan?"}),a.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[a.jsx(_,{selected:o==="Yes",onClick:()=>l("Yes"),children:"Yes"}),a.jsx(_,{selected:o==="No",onClick:()=>l("No"),children:"No"})]})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"So we know who's in the (virtual) room - which best describes you?"}),a.jsx("div",{className:"grid grid-cols-1 gap-3",children:BB.map(j=>a.jsx(_,{selected:c===j,onClick:()=>u(j),children:j},j))})]}),g&&a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"If you're a parent or carer, how old is your young person?"}),a.jsx("div",{className:"grid grid-cols-3 gap-3",children:UB.map(j=>a.jsx(_,{selected:d===j,onClick:()=>h(j),children:j},j))})]}),v&&a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"Last one, promise! If you have an NDIS plan, how do you currently manage it?"}),a.jsx("div",{className:"grid grid-cols-1 gap-3",children:VB.map(j=>a.jsx(_,{selected:f===j,onClick:()=>p(j),children:j},j))})]}),a.jsx("button",{type:"submit",disabled:x,className:"w-full bg-coral hover:bg-coral/90 text-white font-semibold py-3.5 rounded-xl transition-colors disabled:opacity-60 disabled:cursor-not-allowed",children:x?"Sendingâ¦":"Send me the recording â"}),a.jsx("p",{className:"text-xs text-warm-gray text-center",children:"Free to attend. Recording available for all who register. No spam, ever."})]})]})})})},ch="The NDIS Reforms: What Happens to Your Plan Now",uh="Free, plain-English webinar for Australian parents and carers on the NDIS reforms that have just passed both Houses of Parliament. Tuesday 29 September 2026, 12:30pm AEST.",KB="/applying-for-ndis-rich-snippet.png",Jr=(e,t,n,r)=>{let s=document.head.querySelector(e);s||(s=document.createElement("meta"),s.setAttribute(t,n),document.head.appendChild(s)),s.setAttribute("content",r)},yx=()=>(b.useEffect(()=>{const e=document.title,t=`${window.location.origin}${KB}`;return document.title=ch,Jr('meta[name="description"]',"name","description",uh),Jr('meta[property="og:title"]',"property","og:title",ch),Jr('meta[property="og:description"]',"property","og:description",uh),Jr('meta[property="og:image"]',"property","og:image",t),Jr('meta[name="twitter:title"]',"name","twitter:title",ch),Jr('meta[name="twitter:description"]',"name","twitter:description",uh),Jr('meta[name="twitter:image"]',"name","twitter:image",t),()=>{document.title=e}},[]),a.jsxs("main",{children:[a.jsx(aj,{}),a.jsx(bF,{}),a.jsx(_F,{}),a.jsx(CF,{}),a.jsx(AF,{}),a.jsx(EF,{}),a.jsx(TF,{}),a.jsx(PF,{}),a.jsx(Im,{}),a.jsx(HB,{})]})),qB=()=>a.jsx("nav",{className:"bg-coral shadow-md sticky top-0 z-50",children:a.jsx("div",{className:"px-6 py-3 flex items-center justify-start",children:a.jsx("a",{href:"/",className:"flex items-center",children:a.jsx("img",{src:Wi,alt:"Kindship",className:"h-8 w-auto brightness-0 invert"})})})}),GB="/assets/hero-reform-family-Dh80tBlr.jpg",up=new Set,Pa=()=>{up.forEach(e=>e())},YB=e=>(up.add(e),()=>{up.delete(e)}),iu="https://streamyard.com/watch/reuvNSbsiQ6n",JB=()=>{const e=new Date("2026-06-09T12:30:00+10:00");return a.jsx("section",{className:"bg-peach",children:a.jsxs("div",{className:"container mx-auto px-4 py-6 md:py-12",children:[a.jsxs("div",{className:"grid md:grid-cols-2 gap-8 items-center",children:[a.jsxs("div",{className:"max-w-xl",children:[a.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl leading-tight",children:"Decoding the NDIS Reform Bill 2026: What It Actually Means for Your Family"}),a.jsx("p",{className:"text-lg md:text-xl text-warm-gray font-sans leading-relaxed mt-8 md:mt-10",children:"A free, plain-English webinar with Kindship cutting through the reform headlines so you know what's actually been proposed, what hasn't changed yet, and how to get ready without panic."}),a.jsxs("div",{className:"text-base md:text-lg text-warm-gray font-sans mt-8 md:mt-10 space-y-3",children:[a.jsx("p",{className:"font-semibold text-foreground",children:"This is for you if:"}),a.jsxs("ul",{className:"space-y-2 leading-relaxed",children:[a.jsx("li",{children:"⢠You're an NDIS parent or carer"}),a.jsx("li",{children:"⢠Your child has a current plan"}),a.jsx("li",{children:"⢠The reform headlines are stressing you out"}),a.jsx("li",{children:"⢠You're a coordinator, plan manager or provider"})]})]}),a.jsx(De,{onClick:Pa,variant:"cta",size:"xl",className:"mt-6 w-full sm:w-auto",children:"Save My Spot â It's Free"}),a.jsxs("div",{className:"flex items-center gap-3 text-base md:text-lg text-muted-foreground font-sans mt-5",children:[a.jsx(mm,{className:"w-5 h-5 text-primary"}),a.jsxs("span",{children:[a.jsx("span",{className:"font-semibold",children:"Join 1,500+ families"})," who've attended our NDIS webinars"]})]})]}),a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"rounded-3xl overflow-hidden shadow-2xl",children:a.jsx("img",{src:GB,alt:"A mum walking hand-in-hand with her two daughters",width:1200,height:1800,className:"w-full h-auto object-cover"})}),a.jsx("div",{className:"absolute top-4 left-4 bg-white rounded-xl px-3 py-2 shadow-md",children:a.jsx("img",{src:cj,alt:"Registered NDIS Provider",className:"h-14 w-auto"})})]})]}),a.jsx("div",{className:"bg-beige rounded-2xl p-6 mt-8 shadow-md",children:a.jsxs("div",{className:"grid md:grid-cols-3 gap-6 items-center",children:[a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-sm uppercase tracking-wider text-muted-foreground font-sans font-semibold",children:"Next Webinar"}),a.jsx("h3",{className:"text-xl md:text-2xl",children:"Decoding the NDIS Reform Bill 2026"}),a.jsxs("div",{className:"flex flex-wrap gap-4 text-sm text-muted-foreground font-sans",children:[a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(hm,{className:"w-4 h-4"})," Tue 9 June 2026"]}),a.jsxs("span",{className:"flex items-center gap-1.5",children:[a.jsx(fm,{className:"w-4 h-4"})," 12:30 PM AEST"]})]})]}),a.jsxs("div",{className:"flex flex-col items-center gap-2",children:[a.jsx("p",{className:"text-sm text-muted-foreground font-sans",children:"â³ Starts in:"}),a.jsx(lj,{targetDate:e})]}),a.jsxs("div",{className:"flex flex-col items-center md:items-end gap-3",children:[a.jsx(De,{onClick:Pa,variant:"cta",size:"xl",className:"w-full md:w-auto",children:"Save My Spot â It's Free"}),a.jsx("p",{className:"font-sans text-sm text-warm-gray text-center md:text-right",children:"âï¸ Free to attend âï¸ Recording sent after"})]})]})})]})})},QB=["What the NDIS Reform Bill 2026 actually proposes â and what it doesn't","How automatic 12-month plan reviews would work under the proposed changes","What the new evidence hierarchy means for funding decisions â and why fam
327ilies should pay attention",`The proposed changes to "parental responsibility" and how they affect your child's supports`,"The shift from 21 to 90 days for reassessment notice periods â and why it matters","Whether plan managers and support coordinators can still request reassessments under the proposed rules","The Minister's proposed power to cap budget categories â what this means for your plan flexibility","What's changing for plan managers and support coordinators under the proposed legislation","Where the Bill is currently sitting in the Senate â and what families should be watching for"],XB=["You have a child or family member on the NDIS and you want to understand what might change","You're new to the NDIS and you want to get across the proposed reforms before they happen","You're a support worker, plan manager, or disability professional who supports NDIS families","You've been following the Reform Bill in the news and you want the full picture â not just the headlines","You just want someone to explain it all clearly, without the jargon"],ZB=[{icon:NT,title:"Live Webinar",desc:"Join live with Q&A or catch the replay"},{icon:pm,title:"Recording Sent",desc:"Full recording straight to your inbox"},{icon:ET,title:"Session Slides",desc:"Download the slides from the session"},{icon:p1,title:"Cheat Sheet",desc:"A handy guide to make it all easier"},{icon:kT,title:"Webinar Library",desc:"Access our full library of past sessions"}],eU=()=>a.jsx("section",{className:"py-12 md:py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsxs("div",{className:"bg-card rounded-3xl p-8 md:p-12 shadow-sm space-y-6",children:[a.jsx("h2",{className:"text-3xl md:text-4xl",children:"Cutting through the NDIS Reform Bill 2026 noise"}),a.jsx("p",{className:"text-warm-gray text-lg font-sans",children:"If you've been trying to make sense of the NDIS Reform Bill 2026, you're not alone. The headlines are confusing, the official documents are full of legal language, and social media is doing more to panic families than help them."}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed",children:"The truth is: the Bill is still being reviewed by the Senate. Nothing has changed yet. But what's been proposed matters â and understanding it now means you'll be ready."}),a.jsx("p",{className:"text-warm-gray font-sans leading-relaxed",children:"Join us for this free Kindship webinar, where we cut through the noise and give you the clear, practical information your family actually needs."}),a.jsx("h3",{className:"text-2xl pt-4",children:"What this session covers"}),a.jsx("ul",{className:"space-y-3",children:QB.map(e=>a.jsxs("li",{className:"flex items-start gap-3 font-sans",children:[a.jsx(on,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),a.jsx("span",{children:e})]},e))}),a.jsx("h3",{className:"text-2xl pt-4",children:"This webinar is for you if..."}),a.jsx("ul",{className:"space-y-3",children:XB.map(e=>a.jsxs("li",{className:"flex items-start gap-3 font-sans",children:[a.jsx(on,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),a.jsx("span",{children:e})]},e))})]}),a.jsxs("div",{className:"mt-12 space-y-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h3",{className:"text-2xl md:text-3xl",children:"What you'll get"}),a.jsx("p",{className:"text-warm-gray font-sans text-lg mt-1",children:"All of this, completely free when you register"})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-4",children:ZB.map(({icon:e,title:t,desc:n})=>a.jsxs("div",{className:"bg-beige rounded-2xl p-5 flex flex-col items-center text-center gap-3 shadow-sm hover:shadow-md transition-shadow",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-primary/15 flex items-center justify-center",children:a.jsx(e,{className:"w-6 h-6 text-primary"})}),a.jsx("h4",{className:"font-semibold text-sm",children:t}),a.jsx("p",{className:"text-xs text-warm-gray font-sans leading-relaxed",children:n})]},t))})]}),a.jsxs("div",{className:"text-center pt-10",children:[a.jsx(De,{onClick:Pa,variant:"cta",size:"xl",children:"Save My Spot â It's Free"}),a.jsx("p",{className:"font-sans text-sm text-warm-gray mt-4",children:"Free to attend. Recording available for all who register. No spam, ever."})]})]})}),tU=()=>a.jsx("section",{className:"bg-peach py-16 md:py-24 overflow-hidden",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"relative max-w-4xl mx-auto",children:[a.jsxs("div",{className:"hidden md:block",children:[a.jsxs("div",{className:"absolute -left-16 lg:-left-24 top-4 w-44 lg:w-52",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg rotate-[-4deg]",children:a.jsx("img",{src:nu,alt:"Tara's daughter Willow in her pink walker",className:"w-full aspect-[3/4] object-cover"})}),a.jsx("span",{className:"inline-block mt-2 ml-2 bg-primary text-primary-foreground text-xs font-bold font-sans px-3 py-1 rounded-full",children:"Tara & Willow"})]}),a.jsxs("div",{className:"absolute -right-16 lg:-right-24 bottom-8 w-44 lg:w-52",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg rotate-[3deg]",children:a.jsx("img",{src:ru,alt:"Hayley cuddling her daughter Piper",className:"w-full aspect-[3/4] object-cover"})}),a.jsx("span",{className:"inline-block mt-2 ml-2 bg-primary text-primary-foreground text-xs font-bold font-sans px-3 py-1 rounded-full",children:"Hayley & Pip"})]})]}
327),a.jsxs("div",{className:"relative z-10 max-w-lg mx-auto space-y-5 font-sans text-center py-8",children:[a.jsx("h2",{className:"text-3xl md:text-4xl",children:"Why we created these webinars"}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"We kept seeing the same thing over and over again⦠Families and carers feeling overwhelmed by the NDIS."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"Being told different things by different people. Trying to keep up with ever-changing rules and updates. And constantly wondering if they're getting any of it right."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"And honestly⦠who has time to become a part-time NDIS expert?"}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:a.jsx("strong",{className:"text-foreground",children:"We've been there too."})}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"And we knew there had to be a better way to navigate the maze of the NDIS, one that actually makes sense, without the pressure or confusion."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:"So that's what these sessions are."}),a.jsx("p",{className:"text-warm-gray leading-relaxed",children:a.jsx("strong",{className:"text-foreground",children:"Simple. Honest. And designed to help you feel clearer, more supported, and less like you're figuring it all out on your own."})})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4 mt-8 md:hidden",children:[a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg",children:a.jsx("img",{src:nu,alt:"Tara's daughter Willow",className:"w-full aspect-[3/4] object-cover"})}),a.jsx("div",{className:"rounded-2xl overflow-hidden shadow-lg",children:a.jsx("img",{src:ru,alt:"Hayley cuddling Piper",className:"w-full aspect-[3/4] object-cover"})})]})]})})}),nU=[{text:"LOVED the webinar! Love that it was recorded. Felt a huge sense of community with like-minded parents. Also, prompted me to go look at my plan again and realised I was using therapy that wasn't listed, EKK! So, talking with NDIS today. Thank you for your time.",name:"Elizabeth"},{text:"The webinars are always topical, insightful and provide immediate 'take home' insights/benefits, greatly appreciated resource in the busy life of SCs who are trying hard to stay up to date, thank you!",name:"Sarah"},{text:"We love these so much! There is a serious buzz amongst parents about these sessions. You're informing us the way we feel the NDIS should!",name:"Tara"},{text:"The webinar was brilliant! I am now going back to watch other ones. I do really like having the questions at the end so that you can get through the big stuff first.",name:"Gina"},{text:"I love everything about the webinars! We appreciate you all doing these sessions for us parents/carers! Please keep having them regularly!",name:"Mel"},{text:"I love the webinars and that they are available on replay so I can watch it when I'm able to.",name:"Terrie"}],vx=["bg-beige text-dark-brown","bg-salmon text-white","bg-dark-brown text-white","bg-beige text-dark-brown","bg-coral text-white","bg-orange-earth text-white"],rU=()=>a.jsx("section",{className:"py-20 md:py-28",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-12 space-y-3",children:[a.jsx("h2",{className:"text-3xl md:text-4xl",children:"What families are saying"}),a.jsx("p",{className:"text-warm-gray font-sans max-w-xl mx-auto",children:"Real feedback from real parents and carers who've joined our webinars."})]}),a.jsx("div",{className:"columns-1 md:columns-2 lg:columns-3 gap-6 max-w-6xl mx-auto",children:nU.map((e,t)=>a.jsxs("div",{className:`break-inside-avoid mb-6 rounded-2xl p-6 ${vx[t%vx.length]}`,children:[a.jsx("p",{className:"font-sans leading-relaxed text-sm mb-4 opacity-90",children:e.text}),a.jsx("p",{className:"font-semibold font-sans",children:e.name})]},e.name))})]})}),sU=()=>a.jsx("section",{className:"bg-beige py-10 md:py-14",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-5xl",children:[a.jsx("h2",{className:"font-serif text-3xl md:text-4xl text-center mb-4 text-foreground",children:"Meet your hosts"}),a.jsx("p",{className:"text-center text-warm-gray font-sans mb-12 max-w-2xl mx-auto",children:"Hosted by Hayley Thiele & Tara Thompson"}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-12",children:[a.jsxs("div",{className:"bg-background rounded-2xl overflow-hidden shadow-md",children:[a.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:a.jsx("img",{src:uj,alt:"Hayley Thiele",className:"w-full h-full object-cover object-[center_20%]"})}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"font-serif text-xl mb-1",children:"Hayley Thiele"}),a.jsx("p",{className:"text-xs text-coral font-sans font-medium mb-3",children:"CEO & Director of Alee Disability Support"}),a.jsxs("div",{className:"text-sm text-warm-gray font-sans leading-relaxed space-y-3",children:[a.jsx("p",{children:"A mum first, Hayley knows what it's like to navigate disability and the NDIS in real life â the questions, the overwhelm, and the constant advocating."}),a.jsx("p",{children:"Professionally, she's spent years supporting families and working within the system, helping turn complex NDIS processes into support that actually makes sense and works in practice."})]})]})]}),a.jsxs("div",{className:"bg-background rounded-2xl overflow-hidden shadow-md",children:[a.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:a.jsx("img",{src:dj,alt:"Tara Thompson",className:"w-full h-full object-cover object-top"})}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"font-serif text-xl mb-1",children:"Tara Thompson"}),a.jsx("p",{className:"text-xs text-coral font-sans font-medium mb-3",children:"Co-Founder & Chief of Marketing"}),a.jsxs("div",{className:"text-sm text-warm-gray font-sans leading-relaxed space-y-3",children:[a.jsx("p",{children:"As a mum of a child with cerebral palsy and autism, Tara brings lived experience of therapy, early intervention, and navigating the NDIS day to day."}),a.jsx("p",{children:"With a background in education and years spent building a community of families, she focuses on turning information into practical tools, resources, and support that families can actually use in real life."})]})]})]})]}),a.jsxs("div",{className:"bg-orange-earth rounded-2xl p-8 md:p-10 max-w-3xl mx-auto
327space-y-4 font-sans text-white leading-relaxed",children:[a.jsxs("p",{children:[a.jsx("strong",{children:"Hayley"})," (our self-confessed NDIS nerd) will absolutely get excited about the details⦠while"," ",a.jsx("strong",{children:"Tara"})," jumps in to ask the questions everyone else is thinking â and gently brings her back when she goes on a full NDIS tangent."]}),a.jsx("p",{children:"We share real examples, our own experiences, and break things down in a way that actually clicks."}),a.jsxs("p",{children:[a.jsx("strong",{children:"It's a bit of a no-BS zone"})," â just clear, simple, and relatable explanations."]}),a.jsx("p",{className:"italic",children:"There's always space to ask questions. And you'll walk away with the recording, slides, and usually a handy cheat sheet we've put together to make everything easier to follow."})]}),a.jsxs("div",{className:"flex flex-col items-center gap-3 mt-10",children:[a.jsx(De,{onClick:Pa,variant:"cta",size:"xl",children:"Save My Spot â It's Free"}),a.jsx("p",{className:"font-sans text-xs text-warm-gray",children:"Free to attend. Recording available for all who register. No spam, ever."})]})]})}),iU=()=>a.jsx("section",{className:"bg-primary py-20 md:py-28",children:a.jsxs("div",{className:"container mx-auto px-4 text-center space-y-6 max-w-2xl",children:[a.jsx("h2",{className:"text-3xl md:text-5xl text-primary-foreground leading-tight",children:"Because you were never meant to do this alone."}),a.jsx("p",{className:"text-primary-foreground/80 font-sans text-lg",children:"Whether you're trying to make sense of the NDIS Reform Bill headlines, or just want things explained in a way that actually clicks, our web
327inars are here to walk alongside you."}),a.jsx(De,{onClick:Pa,variant:"ctaOutline",size:"xl",className:"border-primary-foreground text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:"Save My Spot â It's Free"}),a.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 pt-4 text-primary-foreground/80 font-sans text-sm",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(on,{className:"w-5 h-5 text-primary-foreground"}),"Free to attend"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(on,{className:"w-5 h-5 text-primary-foreground"}),"Recording sent after"]})]})]})}),oU=()=>a.jsx("footer",{style:{backgroundColor:"#671b01"},className:"text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"col-span-2 md:col-span-1",children:[a.jsx("a",{href:"https://www.kindship.com.au/",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:Rs,alt:"Kindship",className:"h-8 w-auto"})}),a.jsxs("div",{className:"flex items-center gap-4 mt-6",children:[a.jsx("a",{href:"https://www.instagram.com/kindship_au/",className:"hover:opacity-80 transition-opacity","aria-label":"Instagram",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),a.jsx("a",{href:"https://www.facebook.com/kindshipapp/",className:"hover:opacity-80 transition-opacity","aria-label":"Facebook",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385h-3.047v-3.47h3.047v-2.642c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953h-1.514c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385c5.737-.9 10.125-5.864 10.125-11.854z"})})}),a.jsx("a",{href:"https://www.linkedin.com/company/kindship/",className:"hover:opacity-80 transition-opacity","aria-label":"LinkedIn",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667h-3.554v-11.452h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zm-15.11-13.019c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019h-3.564v-11.452h3.564v11.452zm15.106-20.452h-20.454c-.979 0-1.771.774-1.771 1.729v20.542c0 .956.792 1.729 1.771 1.729h20.451c.978 0 1.778-.773 1.778-1.729v-20.542c0-.955-.8-1.729-1.778-1.729z"})})}),a.jsx("a",{href:"https://www.youtube.com/@KindshipCollective",className:"hover:opacity-80 transition-opacity","aria-label":"YouTube",target:"_blank",rel:"noopener noreferrer",children:a.jsx("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:a.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})})]})]}),a.jsx("div",{children:a.jsxs("ul",{className:"space-y-2.5",children:[a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/about-us",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"About Us"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/connection",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Community"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/supportpathways",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Family Support Pathways"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Plan Management"})}),a.jsx("li",{children:a.jsx("a",{href:"https://www.kindship.com.au/blog",className:"text-sm text-white/80 hover:text-white transition-colors",target:"_blank",rel:"noopener noreferrer",children:"Blog"})}),a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-sm text-white/80 hover:text-white transition-colors",children:"Decoding the NDIS Webinars"})}),a.jsx("li",{children:a.jsx("a",{href:"https://calendly.com/d/3qz-nh5-g2g/discovery-call-with-kindship",className:"text-sm text-white/80 hover:text-white transition-colors font-semibold",target:"_blank",rel:"noopener noreferrer",children:"Book a Call With Us"})})]})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-sm mb-4",children:"Contact"}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"General:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"Member Support:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-white/80 hover:text-white transition-colors",children:"[email protected]"})]})]})]})]}),a.jsxs("div",{className:"border-t border-white/10 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center gap-4",children:[a.jsxs("p",{className:"text-sm text-white/40",children:["© ",new Date().getFullYear()," Kindship. All rights reserved."]}),a.jsx("div",{className:"flex items-center gap-4",children:a.jsx("p",{className:"text-xs text-white/30",children:"A guide only â individual circumstances apply."})})]})]})}),aU=["Parent / Carer","NDIS Participant","Support Coordinator / Provider / Therapist / Educator","Other (just curious!)"],lU=["Under 9","Over 9","Not relevant to me"],cU=["I'm self-managed","I'm plan-managed","Plan managed by
327Kindship","I'm NDIA-managed / not sure yet"],qj="Kindship Webinar: The NDIS Reform Bill â What it means for you",Gj=`Join us live: ${iu}`,cc="20260609T023000Z",Yj="20260609T033000Z",uU=()=>`https://calendar.google.com/calendar/render?action=TEMPLATE&text=${encodeURIComponent(qj)}&dates=${cc}/${Yj}&details=${encodeURIComponent(Gj)}&location=${encodeURIComponent(iu)}`,dU=()=>{const e=["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//Kindship//Webinar//EN","BEGIN:VEVENT",`UID:kindship-reform-webinar-${cc}@kindship`,`DTSTAMP:${cc}`,`DTSTART:${cc}`,`DTEND:${Yj}`,`SUMMARY:${qj}`,`DESCRIPTION:${Gj}`,`URL:${iu}`,`LOCATION:${iu}`,"END:VEVENT","END:VCALENDAR"].join(`\r 328`);return`data:text/calendar;charset=utf-8,${encodeURIComponent(e)}`},hU=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(""),[s,i]=b.useState(""),[o,l]=b.useState(""),[c,u]=b.useState(""),[d,h]=b.useState(""),[f,p]=b.useState(""),[x,m]=b.useState(!1),[w,y]=b.useState(!1);b.useEffect(()=>YB(()=>{y(!1),t(!0)}),[]);const g=c==="Parent / Carer",v=o==="Yes",k=()=>{r(""),i(""),l(""),u(""),h(""),p("")},S=async j=>{if(j.preventDefault(),!x){if(!n.trim()||!s.trim()||!o||!c){Ot.error("Please fill in your name, email, and the first two questions.");return}m(!0);try{const{data:E,error:C}=await qu.functions.invoke("webinar-register",{body:{name:n.trim(),email:s.trim(),hasNdis:o,role:c,childAge:g?d:"",planType:v?f:""}});if(C||E&&E.error)throw new Error((C==null?void 0:C.message)||(E==null?void 0:E.error)||"Something went wrong");Ot.success("You're registered!"),k(),y(!0)}catch(E){console.error(E),Ot.error(E.message||"Couldn't register. Please try again.")}finally{m(!1)}}},_=({selected:j,onClick:E,children:C})=>a.jsx("button",{type:"button",onClick:E,className:`px-4 py-2.5 rounded-xl text-sm font-medium border transition-all text-left ${j?"bg-coral text-white border-coral":"bg-transparent text-dark-brown border-dark-brown/20 hover:border-coral/60"}`,children:C});return a.jsx(Vj,{open:e,onOpenChange:t,children:a.jsx(hg,{className:"max-w-lg max-h-[90vh] overflow-y-auto",children:w?a.jsxs("div",{className:"space-y-5 font-sans text-center py-2",children:[a.jsxs(Ta,{children:[a.jsx(Ca,{className:"font-serif text-2xl text-dark-brown",children:"You're in â see you on 9 June"}),a.jsx(Aa,{className:"font-sans",children:"We've emailed your confirmation and webinar link. Save the date now so it's locked in."})]}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 pt-2",children:[a.jsx("a",{href:uU(),target:"_blank",rel:"noopener noreferrer",className:"px-4 py-3 rounded-xl border border-dark-brown/20 bg-transparent text-dark-brown font-medium hover:border-coral/60 transition-colors",children:"Add to Google Calendar"}),a.jsx("a",{href:dU(),download:"kindship-webinar.ics",className:"px-4 py-3 rounded-xl border border-dark-brown/20 bg-transparent text-dark-brown font-medium hover:border-coral/60 transition-colors",children:"Add to Apple / Outlook"})]}),a.jsx("p",{className:"text-xs text-warm-gray pt-2",children:"Can't find the email? Check your promotions or spam folder."})]}):a.jsxs(a.Fragment,{children:[a.jsxs(Ta,{children:[a.jsx(Ca,{className:"font-serif text-2xl text-dark-brown",children:"Save your spot â it's free"}),a.jsx(Aa,{className:"font-sans",children:"A few quick questions so we can send the most useful info."})]}),a.jsxs("form",{onSubmit:S,className:"space-y-5 font-sans",children:[a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-medium mb-1.5 text-dark-brown",children:"Name"}),a.jsx("input",{type:"text",value:n,onChange:j=>r(j.target.value),required:!0,maxLength:100,className:"w-full px-4 py-3 rounded-xl border border-border bg-background focus:outline-none focus:ring-2 focus:ring-ring",placeholder:"Your name"})]}),a.jsxs("div",{children:[a.jsx("label",{className:"block text-sm font-medium mb-1.5 text-dark-brown",children:"Email"}),a.jsx("input",{type:"email",value:s,onChange:j=>i(j.target.value),required:!0,maxLength:255,className:"w-full px-4 py-3 rounded-xl border border-border bg-background focus:outline-none focus:ring-2 focus:ring-ring",placeholder:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"Just so we know
328who's joining us â do you (or your child) currently have an NDIS plan?"}),a.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[a.jsx(_,{selected:o==="Yes",onClick:()=>l("Yes"),children:"Yes"}),a.jsx(_,{selected:o==="No",onClick:()=>l("No"),children:"No"})]})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"So we know who's in the (virtual) room â which best describes you?"}),a.jsx("div",{className:"grid grid-cols-1 gap-3",children:aU.map(j=>a.jsx(_,{selected:c===j,onClick:()=>u(j),children:j},j))})]}),g&&a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"If you're a parent or carer, how old is your child?"}),a.jsx("div",{className:"grid grid-cols-3 gap-3",children:lU.map(j=>a.jsx(_,{selected:d===j,onClick:()=>h(j),children:j},j))})]}),v&&a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium mb-2 text-dark-brown",children:"Last one, promise! If you have an NDIS plan, how do you currently manage it?"}),a.jsx("div",{className:"grid grid-cols-1 gap-3",children:cU.map(j=>a.jsx(_,{selected:f===j,onClick:()=>p(j),children:j},j))})]}),a.jsx("button",{type:"submit",disabled:x,className:"w-full bg-coral hover:bg-coral/90 text-white font-semibold py-3.5 rounded-xl transition-colors disabled:opacity-60 disabled:cursor-not-allowed",children:x?"Saving your spotâ¦":"Save My Spot â It's Free"}),a.jsx("p",{className:"text-xs text-warm-gray text-center",children:"Free to attend. Recording available for all who register. No spam, ever."})]})]})})})},dh="Decoding the NDIS Reform Bill 2026: What It Actually Means for Your Family",hh="A free, plain-English webinar with Kindship cutting through the reform headlines so you know what's actually been proposed, what hasn't changed yet, and how to get ready without panic. Tuesday 9 June 2026, 12:30pm AEST.",fU="/applying-for-ndis-rich-snippet.png",Qr=(e,t,n,r)=>{let s=document.head.querySelector(e);s||(s=document.createElement("meta"),s.setAttribute(t,n),document.head.appendChild(s)),s.setAttribute("content",r)},pU=()=>(b.useEffect(()=>{const e=document.title,t=`${window.location.origin}${fU}`;return document.title=dh,Qr('meta[name="description"]',"name","description",hh),Qr('meta[property="og:title"]',"property","og:title",dh),Qr('meta[property="og:description"]',"property","og:description",hh),Qr('meta[property="og:image"]',"property","og:image",t),Qr('meta[name="twitter:title"]',"name","twitter:title",dh),Qr('meta[name="twitter:description"]',"name","twitter:description",hh),Qr('meta[name="twitter:image"]',"name","twitter:image",t),()=>{document.title=e}},[]),a.jsxs("main",{children:[a.jsx(qB,{}),a.jsx(JB,{}),a.jsx(eU,{}),a.jsx(sU,{}),a.jsx(tU,{}),a.jsx(rU,{}),a.jsx(iU,{}),a.jsx(oU,{}),a.jsx(hU,{})]})),mU="/assets/reform-webinar-hero-DqK99eJX.png",gU="/assets/reform-ndis-badge-5K8vErax.png",yU="/assets/reform-webinar-thumbnail-DH3x_LbT.png",vU="/assets/reform-host-hayley-C_9ha-ft.png",xU="/assets/reform-host-tara-ChK7d_KA.png",Co="https://streamyard.com/watch/YXfs5RVqZqmX",fh="NDIS Reforms: Family Q&A",ph="A free 30-minute breakdown of the latest NDIS changes, what they may mean for your childâs plan, and what families can focus on now â followed by a live Q&A with Hayley.",wU="/reform-webinar-rich-snippet.png",Xr=(e,t,n,r)=>{let s=document.head.querySelector(e);s||(s=document.createElement("meta"),s.setAttribute(t,n),document.head.appendChild(s)),s.setAttribute("content",r)},bU=e=>{const[t,n]=b.useState(Date.now());b.useEffect(()=>{const s=window.setInterval(()=>n(Date.now()),1e3);return()=>window.clearInterval(s)},[]);const r=Math.max(0,e.getTime()-t);return{days:Math.floor(r/864e5),hours:Math.floor(r/36e5%24),mins:Math.floor(r/6e4%60),secs:Math.floor(r/1e3%60)}},Ll=e=>e.toString().padStart(2,"0"),xx=({size:e="lg",className:t=""})=>a.jsx(De,{asChild:!0,size:e,className:`rounded-full px-10 h-14 text-lg font-semibold shadow-lg ${t}`,children:a.jsx("a",{href:Co,target:"_blank",rel:"noopener noreferrer",children:"Save my spot"})}),wx=({className:e=""})=>a.jsx("span",{className:`mt-1 flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full border-2 border-primary ${e}`,children:a.jsx(hr,{className:"h-3 w-3 text-primary",strokeWidth:3})}),kU=()=>{const e=new Date("2026-04-30T01:00:00Z"),{days:t,hours:n,mins:r,secs:s}=bU(e);return b.useEffect(()=>{const i=document.title,o=`${window.location.origin}${wU}`;return document.title=fh,Xr('meta[name="description"]',"name","description",ph),Xr('meta[property="og:title"]',"property","og:title",fh),Xr('meta[property="og:description"]',"property","og:description",ph),Xr('meta[property="og:image"]',"property","og:image",o),Xr('meta[name="twitter:title"]',"name","twitter:title",fh),Xr('meta[name="twitter:description"]',"name","twitter:description",ph),Xr('meta[name="twitter:image"]',"name","twitter:image",o),()=>{document.title=i}},[]),a.jsxs("main",{className:"min-h-screen bg-background",children:[a.jsx("header",{className:"bg-primary",children:a.jsx("div",{className:"container flex items-center py-5",children:a.jsx("img",{src:Wi,alt:"Kindship",className:"h-7 w-auto"})})}),a.jsx("section",{className:"container pb-8 pt-12 md:pb-10 md:pt-16",children:a.jsxs("div",{className:"grid items-center gap-10 md:grid-cols-2 md:gap-16",children:[a.jsxs("div",{children:[a.jsxs("h1",{className:"mb-6 text-5xl font-bold leading-none md:text-7xl",children:["NDIS Reforms:",a.jsx("br",{}),"Family Q&A"]}),a.jsx("p",{className:"mb-6 text-xl font-semibold text-primary md:text-2xl",children:"Free 30-min breakdown + live Q&A"}
328),a.jsx("p",{className:"mb-4 text-base text-foreground/80 md:text-lg",children:"In this session, we'll cover:"}),a.jsx("ul",{className:"mb-8 space-y-3",children:["What's actually been announced","What this means for your child","What to focus on right now","Ask your questions live"].map(i=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(wx,{}),a.jsx("span",{className:"text-base text-foreground md:text-lg",children:i})]},i))}),a.jsx("div",{className:"mb-6",children:a.jsx(xx,{})}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(mm,{className:"h-5 w-5 text-primary"}),a.jsxs("p",{className:"text-base",children:[a.jsx("span",{className:"font-bold text-foreground",children:"Supporting 7,000+ families"}),a.jsx("span",{className:"text-muted-foreground",children:" navigating the NDIS"})]})]})]}),a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:mU,alt:"Mother holding her smiling daughter â NDIS Reforms Family Debrief webinar",className:"aspect-[4/5] h-auto w-full rounded-3xl object-cover shadow-xl",loading:"eager"}),a.jsx("img",{src:gU,alt:"We love NDIS â Registered NDIS Provider",className:"absolute bottom-5 right-5 h-auto w-28 md:w-36"})]})]})}),a.jsx("section",{className:"container pb-16",children:a.jsxs("div",{className:"flex flex-col gap-6 rounded-3xl bg-secondary p-6 md:grid md:grid-cols-[1fr_auto_1fr] md:items-center md:p-7",children:[a.jsxs("div",{className:"min-w-0",children:[a.jsx("p",{className:"mb-2 text-[11px] font-bold uppercase tracking-[0.18em] text-foreground",children:"Next Webinar"}),a.jsx("h2",{className:"mb-3 text-2xl font-bold text-foreground md:text-3xl",children:"NDIS Reforms: Family Debrief"}),a.jsxs("div",{className:"flex flex-wrap gap-x-5 gap-y-1 text-sm text-foreground/70",children:[a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(hm,{className:"h-4 w-4 text-primary"}),"Thursday 30 April"]}),a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(fm,{className:"h-4 w-4 text-primary"}),"11:00am AEST"]})]})]}),a.jsxs("div",{className:"flex flex-col items-center gap-2 text-center md:justify-self-center",children:[a.jsxs("p",{className:"inline-flex items-center gap-1 text-xs text-foreground/60",children:[a.jsx(wT,{className:"h-3 w-3"})," Starts in:"]}),a.jsx("div",{className:"flex justify-center gap-2",children:[{v:Ll(t),l:"Days"},{v:Ll(n),l:"Hours"},{v:Ll(r),l:"Mins"},{v:Ll(s),l:"Secs"}].map(({v:i,l:o})=>a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx("div",{className:"grid h-14 w-14 place-items-center rounded-xl bg-primary text-primary-foreground",children:a.jsx("span",{className:"text-xl font-bold leading-none tabular-nums md:text-2xl",children:i})}),a.jsx("span",{className:"mt-1 text-[10px] uppercase tracking-wide text-foreground/60",children:o})]},o))})]}),a.jsxs("div",{className:"flex flex-col items-center gap-2 md:items-end md:justify-self-end",children:[a.jsx(De,{asChild:!0,size:"lg",className:"h-12 rounded-full px-8 text-base font-semibold shadow-md",children:a.jsx("a",{href:Co,target:"_blank",rel:"noopener noreferrer",children:"Save my spot"})}),a.jsxs("p",{className:"inline-flex items-center gap-2 text-[11px] text-muted-foreground",children:[a.jsxs("span",{className:"inline-flex items-center gap-1",children:[a.jsx(hr,{className:"h-3 w-3 text-primary",strokeWidth:3}),"Free to attend"]}),a.jsxs("span",{className:"inline-flex items-center gap-1",children:[a.jsx(hr,{className:"h-3 w-3 text-primary",strokeWidth:3}),"Replay sent after"]})]})]})]})}),a.jsx("section",{className:"container pb-16",children:a.jsxs("div",{className:"mx-auto max-w-4xl rounded-3xl bg-card p-8 shadow-sm md:p-14",children:[a.jsx("h2",{className:"mb-5 text-3xl font-bold md:text-4xl",children:"What we'll cover"}),a.jsx("p",{className:"mb-8 text-base leading-relaxed text-muted-foreground md:text-lg",children:"There's been a lot of noise around the recent NDIS reforms. In this session, we'll break it down simply so you can understand what's changing, without the overwhelm."}),a.jsx("ul",{className:"space-y-4",children:["What was actually announced (and what it means in real life)","The key changes and when they're happening","What might impact your child's plan (and what won't)","What to focus on now (without panic or guesswork)","What to start documenting or preparing"].map(i=>a.jsxs("li",{className:"flex items-start gap-3",children:[a.jsx(wx,{}),a.jsx("span",{className:"text-base text-foreground md:text-lg",children:i})]},i))})]})}),a.jsxs("section",{className:"container pb-16",children:[a.jsxs("div",{className:"mx-auto mb-10 max-w-2xl text-center",children:[a.jsx("h2",{className:"mb-3 text-3xl font-bold md:text-4xl",children:"What to expect"}),a.jsx("p",{className:"text-base text-muted-foreground md:text-lg",children:"A simple, supportive session designed for families"})]}),a.jsx("div",{className:"mx-auto grid max-w-5xl gap-5 md:grid-cols-3",children:[{title:"Live 30-min breakdown",desc:"Clear, practical explanation in plain English"},{title:"Live Q&A with Hayley",desc:"Ask your questions and get real answers"},{title:"Recording sent after",desc:"Watch back anytime if you can't attend live"}].map(({title:i,desc:o})=>a.jsxs("div",{className:"rounded-3xl bg-secondary p-7 text-center",children:[a.jsx("h3",{className:"mb-2 text-lg font-bold md:text-xl",children:i}),a.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground",children:o})]},i))})]}),a.jsx("section",{className:"container pb-20",children:a.jsxs("div",{className:"flex flex-col items-center",children:[a.jsx(xx,{}),a.jsxs("div",{className:"mt-4 flex items-center gap-5 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(hr,{className:"h-4 w-4 text-primary",strokeWidth:3}),"Free to attend"]}),a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(hr,{className:"h-4 w-4 text-primary",strokeWidth:3}),"Recording sent after"]})]})]})}),a.jsx("section",{className:"bg-secondary pb-16",children:a.jsxs("div",{className:"container pt-16",children:[a.jsxs("div",{className:"mb-10 text-center",children:[a.jsx("h2",{className:"mb-3 text-3xl font-bold md:text-5xl",children:"Meet your hosts"}
328),a.jsx("p",{className:"text-base text-foreground/70 md:text-lg",children:"Hosted by Hayley Thiele & Tara Thompson"})]}),a.jsx("div",{className:"mx-auto grid max-w-5xl gap-6 md:grid-cols-2",children:[{name:"Hayley Thiele",role:"CEO & Director of Alee Disability Support",img:vU,bio:["A mum first, Hayley knows what it's like to navigate disability and the NDIS in real life, the questions, the overwhelm, and the constant advocating.","Professionally, she's spent years supporting families and working within the system, helping turn complex NDIS processes into support that actually makes sense and works in practice."]},{name:"Tara Thompson",role:"Co-Founder & Chief of Marketing",img:xU,bio:["As a mum of a child with cerebral palsy and autism, Tara brings lived experience of therapy, early intervention, and navigating the NDIS day to day.","With a background in education and years spent building a community of families, she focuses on turning information into practical tools, resources, and support that families can actually use in real life."]}].map(i=>a.jsxs("article",{className:"overflow-hidden rounded-3xl bg-card shadow-sm",children:[a.jsx("div",{className:"aspect-[3/4] overflow-hidden bg-secondary",children:a.jsx("img",{src:i.img,alt:i.name,className:"h-full w-full object-cover object-top",loading:"lazy"})}),a.jsxs("div",{className:"p-7 md:p-8",children:[a.jsx("h3",{className:"mb-1 text-2xl font-bold",children:i.name}),a.jsx("p",{className:"mb-5 text-sm font-semibold text-primary",children:i.role}),i.bio.map(o=>a.jsx("p",{className:"mb-4 text-sm leading-relaxed text-muted-foreground last:mb-0 md:text-base",children:o},o))]})]},i.name))}),a.jsxs("div",{className:"mt-10 flex flex-col items-center gap-3",children:[a.jsx(De,{asChild:!0,size:"lg",className:"h-14 rounded-full px-12 text-lg font-semibold shadow-lg",children:a.jsx("a",{href:Co,target:"_blank",rel:"noopener noreferrer",children:"Save my spot"})}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"âï¸ Free to attend âï¸ Replay sent after"})]})]})}),a.jsx("section",{className:"container py-16",children:a.jsx("a",{href:Co,target:"_blank",rel:"noopener noreferrer",className:"mx-auto block max-w-5xl overflow-hidden rounded-3xl shadow-xl transition-opacity hover:opacity-95",children:a.jsx("img",{src:yU,alt:"NDIS Reforms: Family Debrief â Free Webinar",className:"h-auto w-full",loading:"lazy"})})}),a.jsx("section",{className:"bg-primary",children:a.jsxs("div",{className:"container py-20 text-center md:py-28",children:[a.jsxs("h2",{className:"mb-6 text-4xl font-bold leading-tight text-primary-foreground md:text-6xl",children:["Because you were never",a.jsx("br",{}),"meant to do this alone."]}),a.jsx("p",{className:"mx-auto mb-10 max-w-2xl text-base leading-relaxed text-primary-foreground/90 md:text-lg",children:"Whether you're trying to make sense of the NDIS or just want things explained in a way that actually clicks, our web
328inars are here to walk alongside you."}),a.jsx(De,{asChild:!0,size:"lg",variant:"outline",className:"h-14 rounded-full border-2 border-primary-foreground bg-transparent px-12 text-lg font-semibold text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:a.jsx("a",{href:Co,target:"_blank",rel:"noopener noreferrer",children:"Save my spot"})}),a.jsxs("div",{className:"mt-5 flex items-center justify-center gap-5 text-sm text-primary-foreground/90",children:[a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(hr,{className:"h-4 w-4",strokeWidth:3}),"Free to attend"]}),a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(hr,{className:"h-4 w-4",strokeWidth:3}),"Replay sent after"]})]})]})}),a.jsx("footer",{className:"bg-foreground text-primary-foreground",children:a.jsxs("div",{className:"container py-16",children:[a.jsxs("div",{className:"grid grid-cols-2 gap-8 md:grid-cols-3",children:[a.jsxs("div",{className:"col-span-2 md:col-span-1",children:[a.jsx("a",{href:"https://www.kindship.com.au/",target:"_blank",rel:"noopener noreferrer",children:a.jsx("img",{src:Rs,alt:"Kindship",className:"h-8 w-auto"})}),a.jsxs("div",{className:"mt-6 flex items-center gap-4",children:[a.jsx("a",{href:"https://www.instagram.com/kindship_au/","aria-label":"Instagram",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80",children:a.jsx(bT,{className:"h-5 w-5"})}),a.jsx("a",{href:"https://www.facebook.com/kindshipapp/","aria-label":"Facebook",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80",children:a.jsx(vT,{className:"h-5 w-5"})}),a.jsx("a",{href:"https://www.linkedin.com/company/kindship/","aria-label":"LinkedIn",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80",children:a.jsx(jT,{className:"h-5 w-5"})}),a.jsx("a",{href:"https://www.youtube.com/@KindshipCollective","aria-label":"YouTube",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80",children:a.jsx(TT,{className:"h-5 w-5"})})]})]}),a.jsx("nav",{children:a.jsx("ul",{className:"space-y-2.5",children:[{label:"About Us",href:"https://www.kindship.com.au/about-us"},{label:"Community",href:"https://www.kindship.com.au/connection"},{label:"Family Support Pathways",href:"https://www.kindship.com.au/supportpathways"},{label:"Plan Management",href:"https://www.kindship.com.au/"},{label:"Blog",href:"https://www.kindship.com.au/blog"},{label:"Decoding the NDIS Webinars",href:"#"},{label:"Book a Call With Us",href:"https://calendly.com/d/3qz-nh5-g2g/discovery-call-with-kindship",bold:!0}].map(i=>a.jsx("li",{children:a.jsx("a",{href:i.href,target:"_blank",rel:"noopener noreferrer",className:`text-sm text-primary-foreground/80 transition-colors hover:text-primary-foreground ${i.bold?"font-semibold":""}`,children:i.label})},i.label))})}),a.jsxs("div",{children:[a.jsx("h3",{className:"mb-4 text-sm font-semibold text-primary-foreground",children:"Contact"}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"General:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-primary-foreground/80 hover:text-primary-foreground",children:"[email protected]"})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-semibold",children:"Member Support:"}),a.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-primary-foreground/80 hover:text-primary-foreground",children:"[email protected]"})]})]})]})]}),a.jsxs("div",{className:"mt-12 flex flex-col items-center justify-between gap-4 border-t border-primary-foreground/10 pt-8 md:flex-row",children:[a.jsxs("p",{className:"text-sm text-primary-foreground/40",children:["© ",new Date().getFullYear()," Kindship. All rights reserved."]}),a.jsx("p",{className:"text-xs text-primary-foreground/30",children:"A guide only â individual circumstances apply."})]})]})})]})},mh="Not sure what you can actually use your NDIS funding for anymore?",gh="If youâve ever found yourself Googling âcan I use my NDIS funding for this?â â this is for you. A simple yes/no guide to help you stop second-guessing and feel confident in your decisions.",SU="/can-i-buy-rich-snippet.png",Zr=(e,t,n,r)=>{let s=document.head.querySelector(e);s||(s=document.createElement("meta"),s.setAttribute(t,n),document.head.appendChild(s)),s.setAttribute("content",r)},jU=()=>(b.useEffect(()=>{const e=document.title,t=`${window.location.origin}${SU}`;return document.title=mh,Zr('meta[name="description"]',"name","description",gh),Zr('meta[property="og:title"]',"property","og:title",mh),Zr('meta[property="og:description"]',"property","og:description",gh),Zr('meta[property="og:image"]',"property","og:image",t),Zr('meta[name="twitter:title"]',"name","twitter:title",mh),Zr('meta[name="twitter:description"]',"name","twitter:description",gh),Zr('meta[name="twitter:image"]',"name","twitter:image",t),()=>{document.title=e}},[]),a.jsxs("main",{className:"min-h-screen",style:{backgroundColor:"#fff3ee"},children:[a.jsx(Yk,{}),a.jsx(LS,{}),a.jsx(MS,{}),a.jsx($S,{}),a.jsx(FS,{}),a.jsx(ij,{}),a.jsx(oj,{})]})),_U=()=>{const[e,t]=b.useState(""),[n,r]=b.useState(""),[s,i]=b.useState(!1),[o,l]=b.useState(!1),c=async u=>{u.preventDefault();const d=e.trim(),h=n.trim().toLowerCase();if(!d||d.length>100){Ot.error("Please enter your full name.");return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(h)||h.length>255){Ot.error("Please enter a valid email address.");return}i(!0);try{const{error:f}
328=await qu.from("bio_leads").insert({full_name:d,email:h,source:"bio"});if(f)throw f;l(!0),Ot.success("You're in! Check your inbox for the resource.")}catch(f){Ot.error((f==null?void 0:f.message)||"Something went wrong. Please try again.")}finally{i(!1)}};return a.jsxs("main",{className:"min-h-screen bg-background",children:[a.jsx(aj,{}),a.jsx("section",{className:"bg-peach",children:a.jsx("div",{className:"container mx-auto px-4 py-10 md:py-16",children:a.jsxs("div",{className:"grid gap-10 lg:grid-cols-[1.05fr_0.95fr] lg:items-center",children:[a.jsxs("div",{className:"max-w-2xl",children:[a.jsxs("div",{className:"mb-6 inline-flex items-center gap-2 rounded-full bg-secondary px-4 py-2 font-sans text-sm font-medium text-secondary-foreground",children:[a.jsx(g1,{className:"h-4 w-4 text-primary"}),"Free bio resource"]}),a.jsx("h1",{className:"text-4xl leading-tight md:text-5xl lg:text-6xl",children:"Write a bio that feels clear, warm and genuinely you."}),a.jsx("p",{className:"mt-6 max-w-xl font-sans text-lg leading-relaxed text-warm-gray md:text-xl",children:"Pop your details below and weâll send the free bio resource straight to your inbox."}),a.jsxs("div",{className:"mt-8 grid gap-3 font-sans text-base text-muted-foreground sm:grid-cols-3",children:[a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Nd,{className:"h-5 w-5 text-primary"})," Simple prompts"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Nd,{className:"h-5 w-5 text-primary"})," Copy-ready structure"]}),a.jsxs("span",{className:"flex items-center gap-2",children:[a.jsx(Nd,{className:"h-5 w-5 text-primary"})," Free download"]})]})]}),a.jsxs("div",{className:"rounded-2xl border border-border bg-card p-6 shadow-xl md:p-8",children:[a.jsxs("div",{className:"mb-6",children:[a.jsx(pm,{className:"mb-4 h-9 w-9 text-primary"}),a.jsx("h2",{className:"text-2xl md:text-3xl",children:"Get the free bio resource"}),a.jsx("p",{className:"mt-2 font-sans text-sm text-muted-foreground",children:"Enter your full name and email and weâll send it over."})]}),a.jsxs("form",{onSubmit:c,className:"space-y-5",children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"bio-full-name",className:"mb-2 block font-sans text-sm font-medium text-foreground",children:"Full name"}),a.jsx("input",{id:"bio-full-name",type:"text",value:e,onChange:u=>t(u.target.value),required:!0,maxLength:100,className:"w-full rounded-xl border border-input bg-background px-4 py-3 font-sans text-foreground outline-none transition focus:ring-2 focus:ring-ring",placeholder:"Your full name"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"bio-email",className:"mb-2 block font-sans text-sm font-medium text-foreground",children:"Email"}),a.jsx("input",{id:"bio-email",type:"email",value:n,onChange:u=>r(u.target.value),required:!0,maxLength:255,className:"w-full rounded-xl border border-input bg-background px-4 py-3 font-sans text-foreground outline-none transition focus:ring-2 focus:ring-ring",placeholder:"[email protected]"})]}),a.jsx(De,{type:"submit",variant:"cta",size:"xl",disabled:s||o,className:"w-full",children:o?"Resource requested":s?"Sending...":"Send me the free resource"})]})]})]})})}),a.jsx(Im,{})]})},EU="/assets/family-batman-JigJl7_0.jpg",NU="/assets/three-sisters-SoYCwxEL.jpg",TU="/assets/mum-son-wave-DBkepbA7.jpg",CU="/assets/hayley-daughter-BvfNEji7.jpg",AU="/assets/beach-walker-CwAsz6Er.jpg",PU="/kindship-senate-submission.pdf",RU=()=>(b.useEffect(()=>{document.title="Kindship Senate Submission â NDIS Future Generations Bill 2026";const e="https://kindship.com.au/senate-submission";let t=document.querySelector("link[rel='canonical']");t||(t=document.createElement("link"),t.rel="canonical",document.head.appendChild(t)),t.href=e;const n=new URLSearchParams(window.location.search).get("embed")==="true",r=/(^|\.)kindship\.com\.au$/i.test((()=>{try{return new URL(document.referrer).hostname}catch{return""}})());if(!(n||r))return;document.documentElement.classList.add("kindship-embed"),document.body.classList.add("kindship-embed");const i=()=>{var c;const l=document.documentElement.scrollHeight;(c=window.parent)==null||c.postMessage({type:"kindship-embed-height",he
328ight:l},"*")};i();const o=new ResizeObserver(i);return o.observe(document.body),window.addEventListener("load",i),()=>{o.disconnect(),window.removeEventListener("load",i)}},[]),a.jsxs(a.Fragment,{children:[a.jsx("link",{href:"https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=DM+Sans:wght@300;400;500&display=swap",rel:"stylesheet"}),a.jsx("style",{children:` 329 .submission-page, .submission-page *, .submission-page *::before, .submission-page *::after { box-sizing: border-box; margin: 0; padding: 0; } 330 .submission-page { 331 --marshmallow: #FFF3EE; 332 --beige: #F2D9BF; 333 --salmon: #F0A585; 334 --coral: #DC734C; 335 --coral-deep: #B85A36; 336 --orange-earth: #C68441; 337 --auburn: #671B00; 338 --auburn-deep: #4A1300; 339 --ink: #2C1810; 340 font-family: 'DM Sans', sans-serif; 341 background: var(--marshmallow); 342 color: var(--ink); 343 line-height: 1.7; 344 overflow-x: hidden; 345 scroll-behavior: smooth; 346 } 347 .submission-page .top-nav { background: #DC734C; padding: 14px 28px; border-radius: 100px; max-width: 1240px; margin: 16px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; } 348 .submission-page .top-nav-logo { display: flex; align-items: center; text-decoration: none; } 349 .submission-page .top-nav-logo img { height: 30px; width: auto; display: block; filter: brightness(0) invert(1); } 350 .submission-page .top-nav-links { display: flex; align-items: center; gap: 2.25rem; } 351 .submission-page .top-nav-links a { color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: 0.01em; transition: opacity 0.2s; } 352 .submission-page .top-nav-links a:hover { opacity: 0.75; } 353 @media (max-width: 720px) { .submission-page .top-nav { padding: 12px 18px; border-radius: 80px; } .submission-page .top-nav-links { display: none; } } 354 355 .submission-page .hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 4rem 2rem 4rem; position: relative; overflow: hidden; } 356 .kindship-embed .submission-page .hero { min-height: 0; padding: 3rem 2rem; } 357 .kindship-embed .submission-page .kindship-logo { margin-bottom: 1.5rem; } 358 .kindship-embed .submission-page .hero::before { width: 280px; height: 280px; top: -80px; right: -80px; } 359 .kindship-embed .submission-page .hero::after { width: 180px; height: 180px; } 360 .submission-page .hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; background: var(--salmon); border-radius: 50%; opacity: 0.35; } 361 .submission-page .hero::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 300px; height: 300px; background: var(--coral); border-radius: 50%; opacity: 0.18; } 362 .submission-page .hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; } 363 .submission-page .kindship-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 3rem; } 364 .submission-page .kindship-logo a { display: flex; align-items: center; text-decoration: none; } 365 .submission-page .kindship-logo-img { height: 38px; width: auto; display: block; } 366 .submission-page .pill { display: inline-block; background: var(--coral); color: var(--marshmallow); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 2rem; } 367 .submission-page .hero h1 { font-family: 'Lora', serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.2; color: var(--auburn); margin-bottom: 1.5rem; } 368 .submission-page .hero h1 em { font-style: italic; color: var(--coral); } 369 .submission-page .hero-sub { font-size: 1.1rem; color: var(--ink); max-width: 600px; margin-bottom: 3rem; line-height: 1.8; opacity: 0.82; } 370 .submission-page .hero-meta { display: flex; flex-wrap: wrap; gap: 2rem; padding-top: 2rem; border-top: 1px solid rgba(103,27,0,0.15); } 371 .submission-page .meta-item { display: flex; flex-direction: column; gap: 4px; } 372 .submission-page .meta-label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); } 373 .submission-page .meta-value { font-size: 15px; font-weight: 500; color: var(--auburn); } 374 .submission-page .stat-bar { background: var(--beige); padding: 4rem 2rem; } 375 .submission-page .stat-bar-inner { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; } 376 .submission-page .stat-block { text-align: center; } 377 .submission-page .stat-number { font-family: 'Lora', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; color: var(--coral); line-height: 1; margin-bottom: 0.5rem; } 378 .submission-page .stat-desc { font-size: 13px; color: var(--auburn); opacity: 0.78; line-height: 1.5; } 379 .submission-page .section { padding: 5rem 2rem; } 380 .submission-page .section-inner { max-width: 860px; margin: 0 auto; } 381 .submission-page .section-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 1rem; } 382 .submission-page .section h2 { font-family: 'Lora', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; color: var(--auburn); margin-bottom: 1.5rem; line-height: 1.3; } 383 .submission-page .section p { color: var(--ink); opacity: 0.82; font-size: 1rem; margin-bottom: 1.25rem; max-width: 680px; } 384 .submission-page .findings-grid { display: grid; gap: 1.5rem; margin-top: 3rem; } 385 .submission-page .finding-card { background: #FFFBF8; border: 1px solid rgba(103,27,0,0.08); border-radius: 16px; padding: 2rem; position: relative; overflow: hidden; } 386 .submission-page .finding-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--coral); border-radius: 4px 0 0 4px; } 387 .submission-page .finding-number { font-family: 'Lora', serif; font-size: 0.85rem; font-style: italic; color: var(--coral); margin-bottom: 0.75rem; } 388 .submission-page .finding-card h3 { font-family: 'Lora', serif; font-size: 1.15rem; font-weight: 400; color: var(--auburn); line-height: 1.4; margin-bottom: 0.75rem; } 389 .submission-page .finding-card p { font-size: 0.9rem; color: var(--ink); opacity: 0.82; margin: 0; max-width: none; } 390 .submission-page .finding-pct { display: inline-block; background: rgba(220,115,76,0.15); color: var(--coral-deep); font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 6px; margin-top: 1rem; } 391 .submission-page .quotes-section { background: var(--beige); padding: 5rem 2rem; } 392 .submission-page .quotes-inner { max-width: 860px; margin: 0 auto; } 393 .submission-page .quote-block { border-left: 2px solid var(--coral); padding-left: 1.5rem; margin-bottom: 2.5rem; } 394 .submission-page .quote-block blockquote { font-family: 'Lora', serif; font-style: italic; font-size: 1.05rem; color: var(--auburn); line-height: 1.7; margin-bottom: 0.75rem; } 395 .submission-page .quote-attr { font-size: 12px; color: var(--coral-deep); letter-spacing: 0.03em; } 396 .submission-page .asks-section { padding: 5rem 2rem; } 397 .submission-page .asks-inner { max-width: 860px; margin: 0 auto; } 398 .submission-page .asks-h2 { font-family: 'Lora', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; color: var(--auburn); margin-bottom: 0.75rem; line-height: 1.3; } 399 .submission-page .asks-sub { color: var(--ink); opacity: 0.82; margin-bottom: 2.5rem; } 400 .submission-page .ask-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; align-items: flex-start; } 401 .submission-page .ask-num { font-family: 'Lora', serif; font-size: 1.5rem; font-weight: 400; color: var(--coral); min-width: 32px; line-height: 1.3; } 402 .submission-page .ask-text { font-size: 1rem; color: var(--ink); opacity: 0.88; line-height: 1.7; padding-top: 4px; } 403 .submission-page .ask-text strong { color: var(--auburn); opacity: 1; font-weight: 500; display: block; margin-bottom: 4px; font-family: 'Lora', serif; font-size: 1.05rem; } 404 .submission-page .closing-section { background: var(--salmon); padding: 5rem 2rem; position: relative; overflow: hidden; } 405 .submission-page .closing-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: var(--coral); border-radius: 50%; opacity: 0.25; } 406 .submission-page .closing-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; text-align: center; } 407 .submission-page .closing-inner p.quote { font-family: 'Lora', serif; font-style: italic; font-size: 1.15rem; color: var(--auburn); line-height: 1.8; margin-bottom: 1.5rem; max-width: none; } 408 .submission-page .closing-sig { font-size: 14px; color: var(--auburn-deep); margin-top: 2rem; } 409 .submission-page .closing-sig strong { display: block; color: var(--auburn); font-weight: 500; font-size: 16px; margin-bottom: 4px; } 410 .submission-page .pdf-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--auburn); color: var(--marshmallow); text-decoration: none; padding: 14px 28px; border-radius: 100px; font-size: 14px; font-weight: 500; margin-top: 2.5rem; transition: background 0.2s; } 411 .submission-page .pdf-cta:hover { background: var(--auburn-deep); } 412 .submission-page .pdf-cta svg { width: 18px; height: 18px; } 413 .submission-page footer { background: var(--auburn); padding: 2.5rem 2rem; text-align: center; } 414 .submission-page footer p { font-size: 12px; color: var(--marshmallow); opacity: 0.7; max-width: none; } 415 .submission-page .divider { width: 60px; height: 1px; background: var(--coral); margin: 3rem 0; opacity: 0.6; } 416 .submission-page .image-band { padding: 0 2rem; background: var(--marshmallow); } 417 .submission-page .image-band.tinted { background: var(--beige); padding-top: 4rem; padding-bottom: 4rem; } 418 .submission-page .image-band-inner { max-width: 1100px; margin: 0 auto; } 419 .submission-page .image-band img { width: 100%; height: clamp(280px, 48vw, 520px); object-fit: cover; border-radius: 18px; display: block; box-shadow: 0 20px 50px -20px rgba(103,27,0,0.25); } 420 .submission-page .image-caption { margin-top: 0.9rem; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); text-align: center; } 421 .submission-page .image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 1100px; margin: 0 auto; padding: 0 2rem 1rem; } 422 .submission-page .image-pair img { width: 100%; height: clamp(220px, 35vw, 360px); object-fit: cover; border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(103,27,0,0.25); } 423 @media (max-width: 600px) { 424 .submission-page .hero { padding: 4rem 1.5rem 3rem; } 425 .submission-page .stat-bar, .submission-page .section, .submission-page .quotes-section, .submission-page .asks-section, .submission-page .closing-section { padding: 3.5rem 1.5rem; } 426 .submission-page .ask-item { flex-direction: column; gap: 0.5rem; } 427 .submission-page .image-band, .submission-page .image-pair { padding-left: 1.5rem; padding-right: 1.5rem; } 428 .submission-page .image-pair { grid-template-columns: 1fr; } 429 } 430 `}),a.jsxs("div",{className:"submission-page",children:[a.jsxs("nav",{className:"top-nav","aria-label":"Kindship",children:[a.jsx("a",{href:"https://kindship.com.au/",target:"_blank",rel:"noopener noreferrer",className:"top-nav-logo","aria-label":"Kindship homepage",children:a.jsx("img",{src:Wi,alt:"Kindship"})}),a.jsxs("div",{className:"top-nav-links",children:[a.jsx("a",{href:"https://kindship.com.au/family-support-pathways",target:"_blank",rel:"noopener noreferrer",children:"Family Support Pathways"}),a.jsx("a",{href:"https://kindship.com.au/plan-management",target:"_blank",rel:"noopener noreferrer",children:"Plan Management"}),a.jsx("a",{href:"https://kindship.com.au/about-us",target:"_blank",rel:"noopener noreferrer",children:"About Us"}),a.jsx("a",{href:"https://kindship.com.au/contact-us",target:"_blank",rel:"noopener noreferrer",children:"Contact Us"})]})]}),a.jsx("section",{className:"hero",children:a.jsxs("div",{className:"hero-inner",children:[a.jsx("div",{className:"kindship-logo",children:a.jsx("a",{href:"https://kindship.com.au/",target:"_blank",rel:"noopener noreferrer","aria-label":"Go to Kindship homepage",children:a.jsx("img",{src:Wi,alt:"Kindship",className:"kindship-logo-img"})})}),a.jsx("div",{className:"pill",children:"Senate Submission · May 2026"}),a.jsxs("h1",{children:["768 families",a.jsx("br",{}),"took the time",a.jsx("br",{}),a.jsxs("em",{children:["to tell you what",a.jsx("br",{}),"they think."]})]}),a.jsx("p",{className:"hero-sub",children:"Kindship's submission to the Senate Inquiry into the National Disability Insurance Scheme Amendment (Securing the NDIS for Future Generations) Bill 2026. Submitted on behalf of 768 Australian families."}),a.jsxs("div",{className:"hero-meta",children:[a.jsxs("div",{className:"meta-item",children:[a.jsx("span",{className:"meta-label",children:"Submitted by"}),a.jsx("span",{className:"meta-value",children:"Hayley Thiele, CEO"})]}),a.jsxs("div",{className:"meta-item",children:[a.jsx("span",{className:"meta-label",children:"Date"}),a.jsx("span",{className:"meta-value",children:"31 May 2026"})]}),a.jsxs("div",{className:"meta-item",children:[a.jsx("span",{className:"meta-label",children:"Families represented"}),a.jsx("span",{className:"meta-value",children:"768 across all states & territories"})]}),a.jsxs("div",{className:"meta-item",children:[a.jsx("span",{className:"meta-label",children:"Written responses"}),a.jsx("span",{className:"meta-value",children:"More than 3,000"})]})]})]})}),a.jsx("div",{className:"stat-bar",children:a.jsxs("div",{className:"stat-bar-inner",children:[a.jsxs("div",{className:"stat-block",children:[a.jsx("div",{className:"stat-number",children:"97.2%"}
430),a.jsx("div",{className:"stat-desc",children:"Highest combined concern across any single proposed reform"})]}),a.jsxs("div",{className:"stat-block",children:[a.jsx("div",{className:"stat-number",children:"0"}),a.jsx("div",{className:"stat-desc",children:"Families who strongly supported any of the six reforms tested"})]}),a.jsxs("div",{className:"stat-block",children:[a.jsx("div",{className:"stat-number",children:"39%"}),a.jsx("div",{className:"stat-desc",children:"Of respondents living outside a capital city"})]}),a.jsxs("div",{className:"stat-block",children:[a.jsx("div",{className:"stat-number",children:"3,000+"}),a.jsx("div",{className:"stat-desc",children:"Written responses from families in their own words"})]})]})}),a.jsx("div",{className:"image-band",style:{paddingTop:"4rem",paddingBottom:"4rem"},children:a.jsxs("div",{className:"image-band-inner",children:[a.jsx("img",{src:EU,alt:"A mother with her two daughters, one in a Batman costume, smiling behind a wooden fence",loading:"lazy"}),a.jsx("p",{className:"image-caption",children:"A Kindship family · one of 768"})]})}),a.jsx("section",{className:"section",children:a.jsxs("div",{className:"section-inner",children:[a.jsx("div",{className:"section-label",children:"About this submission"}),a.jsx("h2",{children:"This submission is their voice."}),a.jsx("p",{children:"It is not a legal analysis. It is not a clause-by-clause critique. That work has been done by others, and done well. What Kindship brings is something only families can bring: the lived reality of what these reforms will mean for the children and young people this Bill is supposed to protect."}),a.jsx("p",{children:"Behind the 768 responses are families from every state and territory â parenting children from newborns to young adults, most of them with autism, ADHD, intellectual disability or developmental delay. They took time they did not have, in the middle of caring for their children, to tell the Senate what these proposed reforms will do to their lives."}),a.jsx("div",{className:"divider"}),a.jsx("div",{className:"section-label",children:"Five themes from the data"}),a.jsx("h2",{children:"What 768 families want you to know"}),a.jsx("p",{children:"Across more than 3,000 written responses, five themes emerged clearly and consistently. Each is grounded in the words of the families themselves."}),a.jsxs("div",{className:"findings-grid",children:[a.jsxs("div",{className:"finding-card",children:[a.jsx("div",{className:"finding-number",children:"Finding one"}),a.jsx("h3",{children:`"My child's disability is permanent. Asking us to prove otherwise is cruel."`}),a.jsx("p",{children:'157 families used words like "no cure", "lifelong", "permanent" or "incurable" in their responses. There is no treatment that makes Down Syndrome, Cerebral Palsy, Autism or genetic conditions less permanent. 91 comments raised geographic and financial access barriers explicitly â families read this provision as a postcode lottery dressed up as an evidence test.'}),a.jsx("span",{className:"finding-pct",children:"95.6% concerned or strongly disagreed"})]}),a.jsxs("div",{className:"finding-card",children:[a.jsx("div",{className:"finding-number",children:"Finding two"}),a.jsx("h3",{children:'"We are already at breaking point. Asking parents to do more is not a policy. It is how people break."'}),a.jsx("p",{children:"239 distinct comments mention burnout or exhaustion. 102 mention mental health. 39 use the words die, died or dying. 40 respondents explicitly identify as single parents. Nine explicitly mention relinquishment of care."}),a.jsx("span",{className:"finding-pct",children:"94.0% concerned or strongly disagreed"})]}),a.jsxs("div",{className:"finding-card",children:[a.jsx("div",{className:"finding-number",children:"Finding three"}),a.jsx("h3",{children:'"Children change. Plans must change with them."'}),a.jsx("p",{children:"267 distinct comments mention growing, changing, transitions or puberty. Children grow. They transition. They regress. A plan that cannot adapt to a child's changing developmental needs is not a plan at all. The move to 90-day decision windows drew particular alarm from families who described the Agency already failing to meet the current 21-day standard."}),a.jsx("span",{className:"finding-pct",children:"84.6%â89.8% concerned or strongly disagreed"})]}),a.jsxs("div",{className:"finding-card",children:[a.jsx("div",{className:"finding-number",children:"Finding four"}),a.jsx("h3",{children:'"What my child experiences matters. Peer-reviewed research alone cannot tell you what works for them."'}),a.jsx("p",{children:'Families are not anti-evidence. They are objecting to a hierarchy that places general research above the specific lived experience of an individual child. The most-repeated phrase across this question was "one size fits all." This concern was particularly sharp for families of children with rare conditions for which population-level research does not yet exist.'}),a.jsx("span",{className:"finding-pct",children:"93.6% concerned or strongly disagreed"})]}),a.jsxs("div",{className:"finding-card",children:[a.jsx("div",{className:"finding-number",children:"Finding five"}),a.jsx("h3",{children:'"The Minister should not have this much power, and our children should not be cut without being heard."'}),a.jsx("p",{children:'181 distinct comments invoke the Minister, bureaucracy or politicians. 116 use the language of cuts, robbed, stolen or stripping. The phrases that appeared most often were "no notice", "behind closed doors" and "how is this allowed?" That is not a community objecting to reform. That is a community asking for the process that the Bill removes.'}),a.jsx("span",{className:"finding-pct",children:"97.2% concerned or strongly disagreed â the highest of all six reforms"})]})]})]})}),a.jsxs("div",{className:"image-pair",children:[a.jsx("img",{src:TU,alt:"A mum smiling with her young son who is waving at the camera",loading:"lazy"}),a.jsx("img",{src:NU,alt:"Three young sisters together, the youngest with a nasal cannula",loading:"lazy"})]}),a.jsx("section",{className:"quotes-section",children:a.jsxs("div",{className:"quotes-inner",children:[a.jsx("div",{className:"section-label",children:"In their own words"}),a.jsx("h2",{className:"asks-h2",style:{marginBottom:"2.5rem"},children:"The voices behind the data"}),a.jsxs("div",{className:"quote-block",children:[a.jsx("blockquote",{children:'"A family can end up in crisis in days. Waiting months is not acceptable. This would have to be a human rights violation in some circumstances."'}),a.jsx("span",{className:"quote-attr",children:"â Parent, VIC Metro, child aged 12"})]}),a.jsxs("div",{className:"quote-block",children:[a.jsx("blockquote",{children:`"Community participation is all my son will ever have. He will never work. So if this funding is cut he'll sit in his wheelchair at home, day in and day out."`}),a.jsx("span",{className:"quote-attr",children:"â Parent, WA Metro, child aged 18"})]}),a.jsxs("div",{className:"quote-block",children:[a.jsx("blockquote",{children:'"Disability is not steady. It is unpredictable and changes can occur at any time."'}),a.jsx("span",{className:"quote-attr",children:"â Parent, QLD Metro, child aged 15"})]}),a.jsxs("div",{className:"quote-block",children:[a.jsx("blockquote",{children:`"Indiv
430iduals' lives are built around these budgets. To cap is to take away their rights to live and exist."`}),a.jsx("span",{className:"quote-attr",children:"â Parent, WA Metro, child aged 9"})]})]})}),a.jsx("div",{className:"image-band",style:{paddingTop:"0",paddingBottom:"5rem",background:"var(--beige)"},children:a.jsx("div",{className:"image-band-inner",children:a.jsx("img",{src:AU,alt:"A father helping his young daughter walk on the beach with a walker",loading:"lazy"})})}),a.jsx("section",{className:"asks-section",children:a.jsxs("div",{className:"asks-inner",children:[a.jsx("div",{className:"section-label",children:"What we ask"}),a.jsx("h2",{className:"asks-h2",children:"Six things families need the Committee to carry into its deliberations"}),a.jsx("p",{className:"asks-sub",children:"These are not legislative drafting. They are what our community asked us to bring."}),[["Recognise that lifelong disabilities are lifelong.","Where a diagnosis is permanent, the Bill should not require families to prove the impossible by exhausting treatments that cannot change the underlying condition."],["Do not punish families for where they live or what they earn.","Geographic, financial and cultural access barriers must be considered in any assessment of whether a treatment is appropriate."],["Recognise that disability parents are not parents of typically developing children.","Any parental responsibility presumption must account for the parent's own capacity, any disability they carry themselves, and the cumulative caring load."],["Make space for children in the system to actually be children.","Plans must be able to adapt to anticipated developmental transitions, not only to crises. Decision timeframes must be honoured."],["Give equal weight to lived experience, clinical evidence and peer-reviewed research.","Missing peer-reviewed evidence must not be a veto where other categories of evidence demonstrate what works for an individual child."],["Preserve parliamentary oversight and individual review rights.","Where the Bill grants the Minister power to reduce funding in existing plans, those assumptions must be visible to Parliament and families must retain a meaningful right of review."]].map(([e,t],n)=>
430a.jsxs("div",{className:"ask-item",children:[a.jsxs("span",{className:"ask-num",children:[n+1,"."]}),a.jsxs("div",{className:"ask-text",children:[a.jsx("strong",{children:e}),t]})]},n))]})}),a.jsx("div",{className:"image-band",style:{paddingTop:"1rem",paddingBottom:"5rem"},children:a.jsxs("div",{className:"image-band-inner",children:[a.jsx("img",{src:CU,alt:"Hayley Thiele sitting with her daughter who has a feeding tube",loading:"lazy"}),a.jsx("p",{className:"image-caption",children:"Hayley Thiele, CEO of Kindship, with her daughter"})]})}),a.jsx("section",{className:"closing-section",children:a.jsxs("div",{className:"closing-inner",children:[a.jsx("p",{className:"quote",children:'"The community was given 14 days to respond to nearly 400 pages of complex legislative drafting. 768 families found the time anyway to tell you what they think. Please find the time to listen to them."'}),a.jsxs("a",{href:PU,className:"pdf-cta",download:!0,target:"_blank",rel:"noopener noreferrer",children:[a.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[a.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),a.jsx("polyline",{points:"7 10 12 15 17 10"}),a.jsx("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]}),"Read the full submission"]}),a.jsxs("div",{className:"closing-sig",children:[a.jsx("strong",{children:"Hayley Thiele"}),"Chief Executive Officer, Kindship Group",a.jsx("br",{}),"On behalf of 768 Australian families"]})]})}),a.jsx("footer",{children:a.jsx("p",{children:"© Kindship Group 2026 · kindship.com.au · [email protected]"})})]})]})),IU=()=>{const e=W1();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),a.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),a.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),a.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},OU=new FR,DU=()=>a.jsx(UR,{client:OU,children:a.jsxs(A8,{children:[a.jsx(H3,{}),a.jsx(s3,{}),a.jsx(E5,{children:a.jsxs(S5,{children:[a.jsx(Ct,{path:"/",element:a.jsx(yx,{})}),a.jsx(Ct,{path:"/v2",element:a.jsx(pU,{})}),a.jsx(Ct,{path:"/event",element:a.jsx(gR,{})}),a.jsx(Ct,{path:"/decoding-ndis",element:a.jsx(yx,{})}),a.jsx(Ct,{path:"/resource-lead-magnet",element:a.jsx(jU,{})}),a.jsx(Ct,{path:"/bio",element:a.jsx(_U,{})}),a.jsx(Ct,{path:"/reformwebinar",element:a.jsx(kU,{})}),a.jsx(Ct,{path:"/aboutme",element:a.jsx(tI,{})}),a.jsx(Ct,{path:"/can-i-buy",element:a.jsx(cF,{})}),a.jsx(Ct,{path:"/submission",element:a.jsx(RU,{})}),a.jsx(Ct,{path:"*",element:a.jsx(IU,{})})]})})]})});zb(document.getElementById("root")).render(a.jsx(DU,{}));
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.