@local-logic/sdks-app 1.2.3 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index-legacy.008d8ab5.js +40 -0
- package/dist/assets/index-legacy.74694904.js +1 -0
- package/dist/assets/index-legacy.ad6dd738.js +8 -0
- package/dist/assets/{index-legacy.07116093.js → index-legacy.f7e0f85f.js} +1 -1
- package/dist/assets/{index.c1827e8f.js → index.1e974327.js} +9 -9
- package/dist/assets/{index.1b45b39b.js → index.3a10cc5f.js} +80 -75
- package/dist/assets/index.465d1ec4.js +242 -0
- package/dist/assets/index.c6852ed8.js +1109 -0
- package/dist/assets/{polyfills-legacy.d3683099.js → polyfills-legacy.9624f473.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/types/components/Search/index.d.ts +3 -3
- package/dist/types/components/Search/index.d.ts.map +1 -1
- package/dist/types/components/Search/index.js +26 -20
- package/dist/types/components/Search/index.js.map +1 -1
- package/dist/types/components/Search/styles.d.ts +2 -2
- package/dist/types/components/Search/styles.js +3 -3
- package/dist/types/sdks/DataExplorer/components/Map/index.d.ts.map +1 -1
- package/dist/types/sdks/DataExplorer/components/Map/index.js +1 -1
- package/dist/types/sdks/DataExplorer/components/Map/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/index.js +1 -1
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.js +1 -2
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.d.ts +1 -0
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.js +4 -1
- package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.d.ts +14 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.js +44 -3
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.d.ts +3 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.js +23 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.d.ts +16 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.js +53 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/Markers/index.js +6 -52
- package/dist/types/sdks/LocalContent/Map/Markers/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/index.js +6 -0
- package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/index.js +5 -2
- package/dist/types/sdks/LocalContent/index.js.map +1 -1
- package/dist/types/services/storage/browserStorage.d.ts +46 -0
- package/dist/types/services/storage/browserStorage.d.ts.map +1 -0
- package/dist/types/services/storage/browserStorage.js +56 -0
- package/dist/types/services/storage/browserStorage.js.map +1 -0
- package/dist/types/services/storage/commuteHistory.d.ts +46 -0
- package/dist/types/services/storage/commuteHistory.d.ts.map +1 -0
- package/dist/types/services/storage/commuteHistory.js +54 -0
- package/dist/types/services/storage/commuteHistory.js.map +1 -0
- package/package.json +4 -3
- package/dist/assets/auto-track-legacy.541af3f5.js +0 -1
- package/dist/assets/auto-track.10e7c441.js +0 -1
- package/dist/assets/index-legacy.4d95875e.js +0 -40
- package/dist/assets/index-legacy.60d9e590.js +0 -1
- package/dist/assets/index-legacy.690811dc.js +0 -1
- package/dist/assets/index-legacy.89760bd0.js +0 -1
- package/dist/assets/index-legacy.a4b02181.js +0 -1
- package/dist/assets/index-legacy.be4ae81b.js +0 -672
- package/dist/assets/index-legacy.d24a67f5.js +0 -1
- package/dist/assets/index-legacy.d281a40b.js +0 -1
- package/dist/assets/index-legacy.d7f5a5d6.js +0 -1
- package/dist/assets/index.0c5b062b.js +0 -1345
- package/dist/assets/index.1787c8e5.js +0 -1
- package/dist/assets/index.24a102e7.js +0 -1
- package/dist/assets/index.27821d72.js +0 -1155
- package/dist/assets/index.7dae5d4e.js +0 -1
- package/dist/assets/index.99863166.js +0 -221
- package/dist/assets/index.ca339fe1.js +0 -1
- package/dist/assets/index.e50321f4.js +0 -1
- package/dist/assets/index.umd-legacy.84ee2b87.js +0 -1
- package/dist/assets/index.umd.703b7a5f.js +0 -1
- package/dist/assets/is-plan-event-enabled-legacy.0a339854.js +0 -1
- package/dist/assets/is-plan-event-enabled.681b46ca.js +0 -1
|
@@ -1,1155 +0,0 @@
|
|
|
1
|
-
function eee(){import("data:text/javascript,")}function uR(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var tee=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function nee(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var f={exports:{}},he={};/**
|
|
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 cl=Symbol.for("react.element"),cR=Symbol.for("react.portal"),dR=Symbol.for("react.fragment"),fR=Symbol.for("react.strict_mode"),pR=Symbol.for("react.profiler"),hR=Symbol.for("react.provider"),mR=Symbol.for("react.context"),vR=Symbol.for("react.forward_ref"),gR=Symbol.for("react.suspense"),yR=Symbol.for("react.memo"),xR=Symbol.for("react.lazy"),ry=Symbol.iterator;function wR(e){return e===null||typeof e!="object"?null:(e=ry&&e[ry]||e["@@iterator"],typeof e=="function"?e:null)}var Tb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kb=Object.assign,Pb={};function ha(e,t,n){this.props=e,this.context=t,this.refs=Pb,this.updater=n||Tb}ha.prototype.isReactComponent={};ha.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")};ha.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rb(){}Rb.prototype=ha.prototype;function n0(e,t,n){this.props=e,this.context=t,this.refs=Pb,this.updater=n||Tb}var r0=n0.prototype=new Rb;r0.constructor=n0;kb(r0,ha.prototype);r0.isPureReactComponent=!0;var oy=Array.isArray,Ob=Object.prototype.hasOwnProperty,o0={current:null},Lb={key:!0,ref:!0,__self:!0,__source:!0};function Mb(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Ob.call(t,r)&&!Lb.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:cl,type:e,key:i,ref:a,props:o,_owner:o0.current}}function _R(e,t){return{$$typeof:cl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function i0(e){return typeof e=="object"&&e!==null&&e.$$typeof===cl}function ER(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var iy=/\/+/g;function rp(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ER(""+e.key):t.toString(36)}function Pu(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case cl:case cR:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+rp(a,0):r,oy(o)?(n="",e!=null&&(n=e.replace(iy,"$&/")+"/"),Pu(o,t,n,"",function(u){return u})):o!=null&&(i0(o)&&(o=_R(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(iy,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",oy(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+rp(i,s);a+=Pu(i,t,n,l,o)}else if(l=wR(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+rp(i,s++),a+=Pu(i,t,n,l,o);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 a}function Nl(e,t,n){if(e==null)return e;var r=[],o=0;return Pu(e,r,"","",function(i){return t.call(n,i,o++)}),r}function bR(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 kt={current:null},Ru={transition:null},SR={ReactCurrentDispatcher:kt,ReactCurrentBatchConfig:Ru,ReactCurrentOwner:o0};he.Children={map:Nl,forEach:function(e,t,n){Nl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Nl(e,function(){t++}),t},toArray:function(e){return Nl(e,function(t){return t})||[]},only:function(e){if(!i0(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};he.Component=ha;he.Fragment=dR;he.Profiler=pR;he.PureComponent=n0;he.StrictMode=fR;he.Suspense=gR;he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=SR;he.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=kb({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=o0.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Ob.call(t,l)&&!Lb.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:cl,type:e.type,key:o,ref:i,props:r,_owner:a}};he.createContext=function(e){return e={$$typeof:mR,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:hR,_context:e},e.Consumer=e};he.createElement=Mb;he.createFactory=function(e){var t=Mb.bind(null,e);return t.type=e,t};he.createRef=function(){return{current:null}};he.forwardRef=function(e){return{$$typeof:vR,render:e}};he.isValidElement=i0;he.lazy=function(e){return{$$typeof:xR,_payload:{_status:-1,_result:e},_init:bR}};he.memo=function(e,t){return{$$typeof:yR,type:e,compare:t===void 0?null:t}};he.startTransition=function(e){var t=Ru.transition;Ru.transition={};try{e()}finally{Ru.transition=t}};he.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};he.useCallback=function(e,t){return kt.current.useCallback(e,t)};he.useContext=function(e){return kt.current.useContext(e)};he.useDebugValue=function(){};he.useDeferredValue=function(e){return kt.current.useDeferredValue(e)};he.useEffect=function(e,t){return kt.current.useEffect(e,t)};he.useId=function(){return kt.current.useId()};he.useImperativeHandle=function(e,t,n){return kt.current.useImperativeHandle(e,t,n)};he.useInsertionEffect=function(e,t){return kt.current.useInsertionEffect(e,t)};he.useLayoutEffect=function(e,t){return kt.current.useLayoutEffect(e,t)};he.useMemo=function(e,t){return kt.current.useMemo(e,t)};he.useReducer=function(e,t,n){return kt.current.useReducer(e,t,n)};he.useRef=function(e){return kt.current.useRef(e)};he.useState=function(e){return kt.current.useState(e)};he.useSyncExternalStore=function(e,t,n){return kt.current.useSyncExternalStore(e,t,n)};he.useTransition=function(){return kt.current.useTransition()};he.version="18.2.0";(function(e){e.exports=he})(f);const J=$b(f.exports),a0=uR({__proto__:null,default:J},[f.exports]);var Fh={},Pt={exports:{}},Xt={},Nb={exports:{}},Db={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* scheduler.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
|
-
*/(function(e){function t(V,X){var R=V.length;V.push(X);e:for(;0<R;){var Y=R-1>>>1,L=V[Y];if(0<o(L,X))V[Y]=X,V[R]=L,R=Y;else break e}}function n(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var X=V[0],R=V.pop();if(R!==X){V[0]=R;e:for(var Y=0,L=V.length,P=L>>>1;Y<P;){var T=2*(Y+1)-1,M=V[T],A=T+1,K=V[A];if(0>o(M,R))A<L&&0>o(K,M)?(V[Y]=K,V[A]=R,Y=A):(V[Y]=M,V[T]=R,Y=T);else if(A<L&&0>o(K,R))V[Y]=K,V[A]=R,Y=A;else break e}}return X}function o(V,X){var R=V.sortIndex-X.sortIndex;return R!==0?R:V.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,p=3,h=!1,v=!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 x(V){for(var X=n(u);X!==null;){if(X.callback===null)r(u);else if(X.startTime<=V)r(u),X.sortIndex=X.expirationTime,t(l,X);else break;X=n(u)}}function _(V){if(m=!1,x(V),!v)if(n(l)!==null)v=!0,ue(E);else{var X=n(u);X!==null&&ie(_,X.startTime-V)}}function E(V,X){v=!1,m&&(m=!1,y(C),C=-1),h=!0;var R=p;try{for(x(X),d=n(l);d!==null&&(!(d.expirationTime>X)||V&&!D());){var Y=d.callback;if(typeof Y=="function"){d.callback=null,p=d.priorityLevel;var L=Y(d.expirationTime<=X);X=e.unstable_now(),typeof L=="function"?d.callback=L:d===n(l)&&r(l),x(X)}else r(l);d=n(l)}if(d!==null)var P=!0;else{var T=n(u);T!==null&&ie(_,T.startTime-X),P=!1}return P}finally{d=null,p=R,h=!1}}var b=!1,S=null,C=-1,$=5,k=-1;function D(){return!(e.unstable_now()-k<$)}function F(){if(S!==null){var V=e.unstable_now();k=V;var X=!0;try{X=S(!0,V)}finally{X?G():(b=!1,S=null)}}else b=!1}var G;if(typeof g=="function")G=function(){g(F)};else if(typeof MessageChannel<"u"){var H=new MessageChannel,te=H.port2;H.port1.onmessage=F,G=function(){te.postMessage(null)}}else G=function(){w(F,0)};function ue(V){S=V,b||(b=!0,G())}function ie(V,X){C=w(function(){V(e.unstable_now())},X)}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(V){V.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,ue(E))},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(V){switch(p){case 1:case 2:case 3:var X=3;break;default:X=p}var R=p;p=X;try{return V()}finally{p=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(V,X){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var R=p;p=V;try{return X()}finally{p=R}},e.unstable_scheduleCallback=function(V,X,R){var Y=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?Y+R:Y):R=Y,V){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=R+L,V={id:c++,callback:X,priorityLevel:V,startTime:R,expirationTime:L,sortIndex:-1},R>Y?(V.sortIndex=R,t(u,V),n(l)===null&&V===n(u)&&(m?(y(C),C=-1):m=!0,ie(_,R-Y))):(V.sortIndex=L,t(l,V),v||h||(v=!0,ue(E))),V},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(V){var X=p;return function(){var R=p;p=X;try{return V.apply(this,arguments)}finally{p=R}}}})(Db);(function(e){e.exports=Db})(Nb);/**
|
|
18
|
-
* @license React
|
|
19
|
-
* react-dom.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var Fb=f.exports,Wt=Nb.exports;function B(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 Ib=new Set,As={};function Xo(e,t){Wi(e,t),Wi(e+"Capture",t)}function Wi(e,t){for(As[e]=t,e=0;e<t.length;e++)Ib.add(t[e])}var rr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ih=Object.prototype.hasOwnProperty,CR=/^[: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]*$/,ay={},sy={};function AR(e){return Ih.call(sy,e)?!0:Ih.call(ay,e)?!1:CR.test(e)?sy[e]=!0:(ay[e]=!0,!1)}function $R(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 TR(e,t,n,r){if(t===null||typeof t>"u"||$R(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 Rt(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var pt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pt[e]=new Rt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pt[t]=new Rt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pt[e]=new Rt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pt[e]=new Rt(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){pt[e]=new Rt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pt[e]=new Rt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pt[e]=new Rt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pt[e]=new Rt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pt[e]=new Rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var s0=/[\-:]([a-z])/g;function l0(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(s0,l0);pt[t]=new Rt(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(s0,l0);pt[t]=new Rt(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(s0,l0);pt[t]=new Rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pt[e]=new Rt(e,1,!1,e.toLowerCase(),null,!1,!1)});pt.xlinkHref=new Rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pt[e]=new Rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function u0(e,t,n,r){var o=pt.hasOwnProperty(t)?pt[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(TR(t,n,o,r)&&(n=null),r||o===null?AR(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var gr=Fb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Dl=Symbol.for("react.element"),mi=Symbol.for("react.portal"),vi=Symbol.for("react.fragment"),c0=Symbol.for("react.strict_mode"),jh=Symbol.for("react.profiler"),jb=Symbol.for("react.provider"),zb=Symbol.for("react.context"),d0=Symbol.for("react.forward_ref"),zh=Symbol.for("react.suspense"),Vh=Symbol.for("react.suspense_list"),f0=Symbol.for("react.memo"),Pr=Symbol.for("react.lazy"),Vb=Symbol.for("react.offscreen"),ly=Symbol.iterator;function La(e){return e===null||typeof e!="object"?null:(e=ly&&e[ly]||e["@@iterator"],typeof e=="function"?e:null)}var He=Object.assign,op;function Wa(e){if(op===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);op=t&&t[1]||""}return`
|
|
26
|
-
`+op+e}var ip=!1;function ap(e,t){if(!e||ip)return"";ip=!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 o=u.stack.split(`
|
|
27
|
-
`),i=r.stack.split(`
|
|
28
|
-
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
|
|
29
|
-
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{ip=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wa(e):""}function kR(e){switch(e.tag){case 5:return Wa(e.type);case 16:return Wa("Lazy");case 13:return Wa("Suspense");case 19:return Wa("SuspenseList");case 0:case 2:case 15:return e=ap(e.type,!1),e;case 11:return e=ap(e.type.render,!1),e;case 1:return e=ap(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 vi:return"Fragment";case mi:return"Portal";case jh:return"Profiler";case c0:return"StrictMode";case zh:return"Suspense";case Vh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zb:return(e.displayName||"Context")+".Consumer";case jb:return(e._context.displayName||"Context")+".Provider";case d0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case f0:return t=e.displayName||null,t!==null?t:Bh(e.type)||"Memo";case Pr:t=e._payload,e=e._init;try{return Bh(e(t))}catch(n){}}return null}function PR(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===c0?"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 ro(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function RR(e){var t=Bb(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fl(e){e._valueTracker||(e._valueTracker=RR(e))}function Hb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Bb(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function oc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Hh(e,t){var n=t.checked;return He({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function uy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ro(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 Ub(e,t){t=t.checked,t!=null&&u0(e,"checked",t,!1)}function Uh(e,t){Ub(e,t);var n=ro(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")?Gh(e,t.type,n):t.hasOwnProperty("defaultValue")&&Gh(e,t.type,ro(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function cy(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)}function Gh(e,t,n){(t!=="number"||oc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qa=Array.isArray;function Mi(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ro(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Yh(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(B(91));return He({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function dy(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(B(92));if(qa(n)){if(1<n.length)throw Error(B(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ro(n)}}function Gb(e,t){var n=ro(t.value),r=ro(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 fy(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Yb(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 Wh(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Yb(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Il,Wb=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Il=Il||document.createElement("div"),Il.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Il.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $s(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ja={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},OR=["Webkit","ms","Moz","O"];Object.keys(Ja).forEach(function(e){OR.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ja[t]=Ja[e]})});function qb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ja.hasOwnProperty(e)&&Ja[e]?(""+t).trim():t+"px"}function Kb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=qb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var LR=He({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 qh(e,t){if(t){if(LR[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function Kh(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 Xh=null;function p0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zh=null,Ni=null,Di=null;function py(e){if(e=pl(e)){if(typeof Zh!="function")throw Error(B(280));var t=e.stateNode;t&&(t=bd(t),Zh(e.stateNode,e.type,t))}}function Xb(e){Ni?Di?Di.push(e):Di=[e]:Ni=e}function Zb(){if(Ni){var e=Ni,t=Di;if(Di=Ni=null,py(e),t)for(e=0;e<t.length;e++)py(t[e])}}function Qb(e,t){return e(t)}function Jb(){}var sp=!1;function e2(e,t,n){if(sp)return e(t,n);sp=!0;try{return Qb(e,t,n)}finally{sp=!1,(Ni!==null||Di!==null)&&(Jb(),Zb())}}function Ts(e,t){var n=e.stateNode;if(n===null)return null;var r=bd(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(B(231,t,typeof n));return n}var Qh=!1;if(rr)try{var Ma={};Object.defineProperty(Ma,"passive",{get:function(){Qh=!0}}),window.addEventListener("test",Ma,Ma),window.removeEventListener("test",Ma,Ma)}catch(e){Qh=!1}function MR(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var es=!1,ic=null,ac=!1,Jh=null,NR={onError:function(e){es=!0,ic=e}};function DR(e,t,n,r,o,i,a,s,l){es=!1,ic=null,MR.apply(NR,arguments)}function FR(e,t,n,r,o,i,a,s,l){if(DR.apply(this,arguments),es){if(es){var u=ic;es=!1,ic=null}else throw Error(B(198));ac||(ac=!0,Jh=u)}}function Zo(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function t2(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 hy(e){if(Zo(e)!==e)throw Error(B(188))}function IR(e){var t=e.alternate;if(!t){if(t=Zo(e),t===null)throw Error(B(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return hy(o),e;if(i===r)return hy(o),t;i=i.sibling}throw Error(B(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)throw Error(B(189))}}if(n.alternate!==r)throw Error(B(190))}if(n.tag!==3)throw Error(B(188));return n.stateNode.current===n?e:t}function n2(e){return e=IR(e),e!==null?r2(e):null}function r2(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=r2(e);if(t!==null)return t;e=e.sibling}return null}var o2=Wt.unstable_scheduleCallback,my=Wt.unstable_cancelCallback,jR=Wt.unstable_shouldYield,zR=Wt.unstable_requestPaint,Ke=Wt.unstable_now,VR=Wt.unstable_getCurrentPriorityLevel,h0=Wt.unstable_ImmediatePriority,i2=Wt.unstable_UserBlockingPriority,sc=Wt.unstable_NormalPriority,BR=Wt.unstable_LowPriority,a2=Wt.unstable_IdlePriority,xd=null,Dn=null;function HR(e){if(Dn&&typeof Dn.onCommitFiberRoot=="function")try{Dn.onCommitFiberRoot(xd,e,void 0,(e.current.flags&128)===128)}catch(t){}}var wn=Math.clz32?Math.clz32:YR,UR=Math.log,GR=Math.LN2;function YR(e){return e>>>=0,e===0?32:31-(UR(e)/GR|0)|0}var jl=64,zl=4194304;function Ka(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 lc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Ka(s):(i&=a,i!==0&&(r=Ka(i)))}else a=n&~o,a!==0?r=Ka(a):i!==0&&(r=Ka(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-wn(t),o=1<<n,r|=e[n],t&=~o;return r}function WR(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 qR(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-wn(i),s=1<<a,l=o[a];l===-1?((s&n)===0||(s&r)!==0)&&(o[a]=WR(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function em(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function s2(){var e=jl;return jl<<=1,(jl&4194240)===0&&(jl=64),e}function lp(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function dl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-wn(t),e[t]=n}function KR(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 o=31-wn(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function m0(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-wn(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var we=0;function l2(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var u2,v0,c2,d2,f2,tm=!1,Vl=[],Ur=null,Gr=null,Yr=null,ks=new Map,Ps=new Map,Nr=[],XR="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 vy(e,t){switch(e){case"focusin":case"focusout":Ur=null;break;case"dragenter":case"dragleave":Gr=null;break;case"mouseover":case"mouseout":Yr=null;break;case"pointerover":case"pointerout":ks.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ps.delete(t.pointerId)}}function Na(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=pl(t),t!==null&&v0(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function ZR(e,t,n,r,o){switch(t){case"focusin":return Ur=Na(Ur,e,t,n,r,o),!0;case"dragenter":return Gr=Na(Gr,e,t,n,r,o),!0;case"mouseover":return Yr=Na(Yr,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ks.set(i,Na(ks.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ps.set(i,Na(Ps.get(i)||null,e,t,n,r,o)),!0}return!1}function p2(e){var t=Oo(e.target);if(t!==null){var n=Zo(t);if(n!==null){if(t=n.tag,t===13){if(t=t2(n),t!==null){e.blockedOn=t,f2(e.priority,function(){c2(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 Ou(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=nm(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Xh=r,n.target.dispatchEvent(r),Xh=null}else return t=pl(n),t!==null&&v0(t),e.blockedOn=n,!1;t.shift()}return!0}function gy(e,t,n){Ou(e)&&n.delete(t)}function QR(){tm=!1,Ur!==null&&Ou(Ur)&&(Ur=null),Gr!==null&&Ou(Gr)&&(Gr=null),Yr!==null&&Ou(Yr)&&(Yr=null),ks.forEach(gy),Ps.forEach(gy)}function Da(e,t){e.blockedOn===t&&(e.blockedOn=null,tm||(tm=!0,Wt.unstable_scheduleCallback(Wt.unstable_NormalPriority,QR)))}function Rs(e){function t(o){return Da(o,e)}if(0<Vl.length){Da(Vl[0],e);for(var n=1;n<Vl.length;n++){var r=Vl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ur!==null&&Da(Ur,e),Gr!==null&&Da(Gr,e),Yr!==null&&Da(Yr,e),ks.forEach(t),Ps.forEach(t),n=0;n<Nr.length;n++)r=Nr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Nr.length&&(n=Nr[0],n.blockedOn===null);)p2(n),n.blockedOn===null&&Nr.shift()}var Fi=gr.ReactCurrentBatchConfig,uc=!0;function JR(e,t,n,r){var o=we,i=Fi.transition;Fi.transition=null;try{we=1,g0(e,t,n,r)}finally{we=o,Fi.transition=i}}function e3(e,t,n,r){var o=we,i=Fi.transition;Fi.transition=null;try{we=4,g0(e,t,n,r)}finally{we=o,Fi.transition=i}}function g0(e,t,n,r){if(uc){var o=nm(e,t,n,r);if(o===null)yp(e,t,r,cc,n),vy(e,r);else if(ZR(o,e,t,n,r))r.stopPropagation();else if(vy(e,r),t&4&&-1<XR.indexOf(e)){for(;o!==null;){var i=pl(o);if(i!==null&&u2(i),i=nm(e,t,n,r),i===null&&yp(e,t,r,cc,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else yp(e,t,r,null,n)}}var cc=null;function nm(e,t,n,r){if(cc=null,e=p0(r),e=Oo(e),e!==null)if(t=Zo(e),t===null)e=null;else if(n=t.tag,n===13){if(e=t2(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 cc=e,null}function h2(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(VR()){case h0:return 1;case i2:return 4;case sc:case BR:return 16;case a2:return 536870912;default:return 16}default:return 16}}var jr=null,y0=null,Lu=null;function m2(){if(Lu)return Lu;var e,t=y0,n=t.length,r,o="value"in jr?jr.value:jr.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return Lu=o.slice(e,1<r?1-r:void 0)}function Mu(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 Bl(){return!0}function yy(){return!1}function Zt(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Bl:yy,this.isPropagationStopped=yy,this}return He(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=Bl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Bl)},persist:function(){},isPersistent:Bl}),t}var ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},x0=Zt(ma),fl=He({},ma,{view:0,detail:0}),t3=Zt(fl),up,cp,Fa,wd=He({},fl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:w0,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!==Fa&&(Fa&&e.type==="mousemove"?(up=e.screenX-Fa.screenX,cp=e.screenY-Fa.screenY):cp=up=0,Fa=e),up)},movementY:function(e){return"movementY"in e?e.movementY:cp}}),xy=Zt(wd),n3=He({},wd,{dataTransfer:0}),r3=Zt(n3),o3=He({},fl,{relatedTarget:0}),dp=Zt(o3),i3=He({},ma,{animationName:0,elapsedTime:0,pseudoElement:0}),a3=Zt(i3),s3=He({},ma,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),l3=Zt(s3),u3=He({},ma,{data:0}),wy=Zt(u3),c3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},d3={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"},f3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function p3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=f3[e])?!!t[e]:!1}function w0(){return p3}var h3=He({},fl,{key:function(e){if(e.key){var t=c3[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Mu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?d3[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:w0,charCode:function(e){return e.type==="keypress"?Mu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Mu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),m3=Zt(h3),v3=He({},wd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_y=Zt(v3),g3=He({},fl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:w0}),y3=Zt(g3),x3=He({},ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),w3=Zt(x3),_3=He({},wd,{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}),E3=Zt(_3),b3=[9,13,27,32],_0=rr&&"CompositionEvent"in window,ts=null;rr&&"documentMode"in document&&(ts=document.documentMode);var S3=rr&&"TextEvent"in window&&!ts,v2=rr&&(!_0||ts&&8<ts&&11>=ts),Ey=String.fromCharCode(32),by=!1;function g2(e,t){switch(e){case"keyup":return b3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function y2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var gi=!1;function C3(e,t){switch(e){case"compositionend":return y2(t);case"keypress":return t.which!==32?null:(by=!0,Ey);case"textInput":return e=t.data,e===Ey&&by?null:e;default:return null}}function A3(e,t){if(gi)return e==="compositionend"||!_0&&g2(e,t)?(e=m2(),Lu=y0=jr=null,gi=!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 v2&&t.locale!=="ko"?null:t.data;default:return null}}var $3={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 Sy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$3[e.type]:t==="textarea"}function x2(e,t,n,r){Xb(r),t=dc(t,"onChange"),0<t.length&&(n=new x0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ns=null,Os=null;function T3(e){P2(e,0)}function _d(e){var t=wi(e);if(Hb(t))return e}function k3(e,t){if(e==="change")return t}var w2=!1;if(rr){var fp;if(rr){var pp="oninput"in document;if(!pp){var Cy=document.createElement("div");Cy.setAttribute("oninput","return;"),pp=typeof Cy.oninput=="function"}fp=pp}else fp=!1;w2=fp&&(!document.documentMode||9<document.documentMode)}function Ay(){ns&&(ns.detachEvent("onpropertychange",_2),Os=ns=null)}function _2(e){if(e.propertyName==="value"&&_d(Os)){var t=[];x2(t,Os,e,p0(e)),e2(T3,t)}}function P3(e,t,n){e==="focusin"?(Ay(),ns=t,Os=n,ns.attachEvent("onpropertychange",_2)):e==="focusout"&&Ay()}function R3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _d(Os)}function O3(e,t){if(e==="click")return _d(t)}function L3(e,t){if(e==="input"||e==="change")return _d(t)}function M3(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Cn=typeof Object.is=="function"?Object.is:M3;function Ls(e,t){if(Cn(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 o=n[r];if(!Ih.call(t,o)||!Cn(e[o],t[o]))return!1}return!0}function $y(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ty(e,t){var n=$y(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=$y(n)}}function E2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?E2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function b2(){for(var e=window,t=oc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(r){n=!1}if(n)e=t.contentWindow;else break;t=oc(e.document)}return t}function E0(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 N3(e){var t=b2(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&E2(n.ownerDocument.documentElement,n)){if(r!==null&&E0(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ty(n,i);var a=Ty(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 D3=rr&&"documentMode"in document&&11>=document.documentMode,yi=null,rm=null,rs=null,om=!1;function ky(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;om||yi==null||yi!==oc(r)||(r=yi,"selectionStart"in r&&E0(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}),rs&&Ls(rs,r)||(rs=r,r=dc(rm,"onSelect"),0<r.length&&(t=new x0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yi)))}function Hl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xi={animationend:Hl("Animation","AnimationEnd"),animationiteration:Hl("Animation","AnimationIteration"),animationstart:Hl("Animation","AnimationStart"),transitionend:Hl("Transition","TransitionEnd")},hp={},S2={};rr&&(S2=document.createElement("div").style,"AnimationEvent"in window||(delete xi.animationend.animation,delete xi.animationiteration.animation,delete xi.animationstart.animation),"TransitionEvent"in window||delete xi.transitionend.transition);function Ed(e){if(hp[e])return hp[e];if(!xi[e])return e;var t=xi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in S2)return hp[e]=t[n];return e}var C2=Ed("animationend"),A2=Ed("animationiteration"),$2=Ed("animationstart"),T2=Ed("transitionend"),k2=new Map,Py="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 ho(e,t){k2.set(e,t),Xo(t,[e])}for(var mp=0;mp<Py.length;mp++){var vp=Py[mp],F3=vp.toLowerCase(),I3=vp[0].toUpperCase()+vp.slice(1);ho(F3,"on"+I3)}ho(C2,"onAnimationEnd");ho(A2,"onAnimationIteration");ho($2,"onAnimationStart");ho("dblclick","onDoubleClick");ho("focusin","onFocus");ho("focusout","onBlur");ho(T2,"onTransitionEnd");Wi("onMouseEnter",["mouseout","mouseover"]);Wi("onMouseLeave",["mouseout","mouseover"]);Wi("onPointerEnter",["pointerout","pointerover"]);Wi("onPointerLeave",["pointerout","pointerover"]);Xo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Xo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Xo("onBeforeInput",["compositionend","keypress","textInput","paste"]);Xo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Xo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Xo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xa="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(" "),j3=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xa));function Ry(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,FR(r,t,void 0,e),e.currentTarget=null}function P2(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Ry(o,s,u),i=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Ry(o,s,u),i=l}}}if(ac)throw e=Jh,ac=!1,Jh=null,e}function De(e,t){var n=t[um];n===void 0&&(n=t[um]=new Set);var r=e+"__bubble";n.has(r)||(R2(t,e,2,!1),n.add(r))}function gp(e,t,n){var r=0;t&&(r|=4),R2(n,e,r,t)}var Ul="_reactListening"+Math.random().toString(36).slice(2);function Ms(e){if(!e[Ul]){e[Ul]=!0,Ib.forEach(function(n){n!=="selectionchange"&&(j3.has(n)||gp(n,!1,e),gp(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ul]||(t[Ul]=!0,gp("selectionchange",!1,t))}}function R2(e,t,n,r){switch(h2(t)){case 1:var o=JR;break;case 4:o=e3;break;default:o=g0}n=o.bind(null,t,n,e),o=void 0,!Qh||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function yp(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=Oo(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}e2(function(){var u=i,c=p0(n),d=[];e:{var p=k2.get(e);if(p!==void 0){var h=x0,v=e;switch(e){case"keypress":if(Mu(n)===0)break e;case"keydown":case"keyup":h=m3;break;case"focusin":v="focus",h=dp;break;case"focusout":v="blur",h=dp;break;case"beforeblur":case"afterblur":h=dp;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":h=xy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=r3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=y3;break;case C2:case A2:case $2:h=a3;break;case T2:h=w3;break;case"scroll":h=t3;break;case"wheel":h=E3;break;case"copy":case"cut":case"paste":h=l3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=_y}var m=(t&4)!==0,w=!m&&e==="scroll",y=m?p!==null?p+"Capture":null:p;m=[];for(var g=u,x;g!==null;){x=g;var _=x.stateNode;if(x.tag===5&&_!==null&&(x=_,y!==null&&(_=Ts(g,y),_!=null&&m.push(Ns(g,_,x)))),w)break;g=g.return}0<m.length&&(p=new h(p,v,null,n,c),d.push({event:p,listeners:m}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==Xh&&(v=n.relatedTarget||n.fromElement)&&(Oo(v)||v[or]))break e;if((h||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,h?(v=n.relatedTarget||n.toElement,h=u,v=v?Oo(v):null,v!==null&&(w=Zo(v),v!==w||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(m=xy,_="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=_y,_="onPointerLeave",y="onPointerEnter",g="pointer"),w=h==null?p:wi(h),x=v==null?p:wi(v),p=new m(_,g+"leave",h,n,c),p.target=w,p.relatedTarget=x,_=null,Oo(c)===u&&(m=new m(y,g+"enter",v,n,c),m.target=x,m.relatedTarget=w,_=m),w=_,h&&v)t:{for(m=h,y=v,g=0,x=m;x;x=ni(x))g++;for(x=0,_=y;_;_=ni(_))x++;for(;0<g-x;)m=ni(m),g--;for(;0<x-g;)y=ni(y),x--;for(;g--;){if(m===y||y!==null&&m===y.alternate)break t;m=ni(m),y=ni(y)}m=null}else m=null;h!==null&&Oy(d,p,h,m,!1),v!==null&&w!==null&&Oy(d,w,v,m,!0)}}e:{if(p=u?wi(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var E=k3;else if(Sy(p))if(w2)E=L3;else{E=R3;var b=P3}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(E=O3);if(E&&(E=E(e,u))){x2(d,E,n,c);break e}b&&b(e,p,u),e==="focusout"&&(b=p._wrapperState)&&b.controlled&&p.type==="number"&&Gh(p,"number",p.value)}switch(b=u?wi(u):window,e){case"focusin":(Sy(b)||b.contentEditable==="true")&&(yi=b,rm=u,rs=null);break;case"focusout":rs=rm=yi=null;break;case"mousedown":om=!0;break;case"contextmenu":case"mouseup":case"dragend":om=!1,ky(d,n,c);break;case"selectionchange":if(D3)break;case"keydown":case"keyup":ky(d,n,c)}var S;if(_0)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else gi?g2(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(v2&&n.locale!=="ko"&&(gi||C!=="onCompositionStart"?C==="onCompositionEnd"&&gi&&(S=m2()):(jr=c,y0="value"in jr?jr.value:jr.textContent,gi=!0)),b=dc(u,C),0<b.length&&(C=new wy(C,e,null,n,c),d.push({event:C,listeners:b}),S?C.data=S:(S=y2(n),S!==null&&(C.data=S)))),(S=S3?C3(e,n):A3(e,n))&&(u=dc(u,"onBeforeInput"),0<u.length&&(c=new wy("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=S))}P2(d,t)})}function Ns(e,t,n){return{instance:e,listener:t,currentTarget:n}}function dc(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Ts(e,n),i!=null&&r.unshift(Ns(e,i,o)),i=Ts(e,t),i!=null&&r.push(Ns(e,i,o))),e=e.return}return r}function ni(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Oy(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,o?(l=Ts(n,i),l!=null&&a.unshift(Ns(n,l,s))):o||(l=Ts(n,i),l!=null&&a.push(Ns(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var z3=/\r\n?/g,V3=/\u0000|\uFFFD/g;function Ly(e){return(typeof e=="string"?e:""+e).replace(z3,`
|
|
30
|
-
`).replace(V3,"")}function Gl(e,t,n){if(t=Ly(t),Ly(e)!==t&&n)throw Error(B(425))}function fc(){}var im=null,am=null;function sm(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 lm=typeof setTimeout=="function"?setTimeout:void 0,B3=typeof clearTimeout=="function"?clearTimeout:void 0,My=typeof Promise=="function"?Promise:void 0,H3=typeof queueMicrotask=="function"?queueMicrotask:typeof My<"u"?function(e){return My.resolve(null).then(e).catch(U3)}:lm;function U3(e){setTimeout(function(){throw e})}function xp(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Rs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Rs(t)}function Wr(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 Ny(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 va=Math.random().toString(36).slice(2),Pn="__reactFiber$"+va,Ds="__reactProps$"+va,or="__reactContainer$"+va,um="__reactEvents$"+va,G3="__reactListeners$"+va,Y3="__reactHandles$"+va;function Oo(e){var t=e[Pn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[or]||n[Pn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ny(e);e!==null;){if(n=e[Pn])return n;e=Ny(e)}return t}e=n,n=e.parentNode}return null}function pl(e){return e=e[Pn]||e[or],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(B(33))}function bd(e){return e[Ds]||null}var cm=[],_i=-1;function mo(e){return{current:e}}function Fe(e){0>_i||(e.current=cm[_i],cm[_i]=null,_i--)}function Me(e,t){_i++,cm[_i]=e.current,e.current=t}var oo={},bt=mo(oo),Dt=mo(!1),Ho=oo;function qi(e,t){var n=e.type.contextTypes;if(!n)return oo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ft(e){return e=e.childContextTypes,e!=null}function pc(){Fe(Dt),Fe(bt)}function Dy(e,t,n){if(bt.current!==oo)throw Error(B(168));Me(bt,t),Me(Dt,n)}function O2(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(B(108,PR(e)||"Unknown",o));return He({},n,r)}function hc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||oo,Ho=bt.current,Me(bt,e),Me(Dt,Dt.current),!0}function Fy(e,t,n){var r=e.stateNode;if(!r)throw Error(B(169));n?(e=O2(e,t,Ho),r.__reactInternalMemoizedMergedChildContext=e,Fe(Dt),Fe(bt),Me(bt,e)):Fe(Dt),Me(Dt,n)}var Zn=null,Sd=!1,wp=!1;function L2(e){Zn===null?Zn=[e]:Zn.push(e)}function W3(e){Sd=!0,L2(e)}function vo(){if(!wp&&Zn!==null){wp=!0;var e=0,t=we;try{var n=Zn;for(we=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Zn=null,Sd=!1}catch(o){throw Zn!==null&&(Zn=Zn.slice(e+1)),o2(h0,vo),o}finally{we=t,wp=!1}}return null}var Ei=[],bi=0,mc=null,vc=0,Jt=[],en=0,Uo=null,Qn=1,Jn="";function Ao(e,t){Ei[bi++]=vc,Ei[bi++]=mc,mc=e,vc=t}function M2(e,t,n){Jt[en++]=Qn,Jt[en++]=Jn,Jt[en++]=Uo,Uo=e;var r=Qn;e=Jn;var o=32-wn(r)-1;r&=~(1<<o),n+=1;var i=32-wn(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qn=1<<32-wn(t)+o|n<<o|r,Jn=i+e}else Qn=1<<i|n<<o|r,Jn=e}function b0(e){e.return!==null&&(Ao(e,1),M2(e,1,0))}function S0(e){for(;e===mc;)mc=Ei[--bi],Ei[bi]=null,vc=Ei[--bi],Ei[bi]=null;for(;e===Uo;)Uo=Jt[--en],Jt[en]=null,Jn=Jt[--en],Jt[en]=null,Qn=Jt[--en],Jt[en]=null}var Yt=null,Gt=null,Ie=!1,gn=null;function N2(e,t){var n=tn(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 Iy(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,Yt=e,Gt=Wr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Yt=e,Gt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Uo!==null?{id:Qn,overflow:Jn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=tn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Yt=e,Gt=null,!0):!1;default:return!1}}function dm(e){return(e.mode&1)!==0&&(e.flags&128)===0}function fm(e){if(Ie){var t=Gt;if(t){var n=t;if(!Iy(e,t)){if(dm(e))throw Error(B(418));t=Wr(n.nextSibling);var r=Yt;t&&Iy(e,t)?N2(r,n):(e.flags=e.flags&-4097|2,Ie=!1,Yt=e)}}else{if(dm(e))throw Error(B(418));e.flags=e.flags&-4097|2,Ie=!1,Yt=e}}}function jy(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Yt=e}function Yl(e){if(e!==Yt)return!1;if(!Ie)return jy(e),Ie=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!sm(e.type,e.memoizedProps)),t&&(t=Gt)){if(dm(e))throw D2(),Error(B(418));for(;t;)N2(e,t),t=Wr(t.nextSibling)}if(jy(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(B(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Gt=Wr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Gt=null}}else Gt=Yt?Wr(e.stateNode.nextSibling):null;return!0}function D2(){for(var e=Gt;e;)e=Wr(e.nextSibling)}function Ki(){Gt=Yt=null,Ie=!1}function C0(e){gn===null?gn=[e]:gn.push(e)}var q3=gr.ReactCurrentBatchConfig;function pn(e,t){if(e&&e.defaultProps){t=He({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var gc=mo(null),yc=null,Si=null,A0=null;function $0(){A0=Si=yc=null}function T0(e){var t=gc.current;Fe(gc),e._currentValue=t}function pm(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ii(e,t){yc=e,A0=Si=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Nt=!0),e.firstContext=null)}function on(e){var t=e._currentValue;if(A0!==e)if(e={context:e,memoizedValue:t,next:null},Si===null){if(yc===null)throw Error(B(308));Si=e,yc.dependencies={lanes:0,firstContext:e}}else Si=Si.next=e;return t}var Lo=null;function k0(e){Lo===null?Lo=[e]:Lo.push(e)}function F2(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,k0(t)):(n.next=o.next,o.next=n),t.interleaved=n,ir(e,r)}function ir(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 Rr=!1;function P0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function I2(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 er(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(ge&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ir(e,n)}return o=r.interleaved,o===null?(t.next=t,k0(r)):(t.next=o.next,o.next=t),r.interleaved=t,ir(e,n)}function Nu(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,m0(e,n)}}function zy(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,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 xc(e,t,n,r){var o=e.updateQueue;Rr=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?i=u:a.next=u,a=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;a=0,c=u=l=null,s=i;do{var p=s.lane,h=s.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,m=s;switch(p=t,h=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){d=v.call(h,d,p);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,p=typeof v=="function"?v.call(h,d,p):v,p==null)break e;d=He({},d,p);break e;case 2:Rr=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(1);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Yo|=a,e.lanes=a,e.memoizedState=d}}function Vy(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(B(191,o));o.call(r)}}}var j2=new Fb.Component().refs;function hm(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:He({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Cd={isMounted:function(e){return(e=e._reactInternals)?Zo(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Tt(),o=Xr(e),i=er(r,o);i.payload=t,n!=null&&(i.callback=n),t=qr(e,i,o),t!==null&&(_n(t,e,o,r),Nu(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Tt(),o=Xr(e),i=er(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=qr(e,i,o),t!==null&&(_n(t,e,o,r),Nu(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Tt(),r=Xr(e),o=er(n,r);o.tag=2,t!=null&&(o.callback=t),t=qr(e,o,r),t!==null&&(_n(t,e,r,n),Nu(t,e,r))}};function By(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!Ls(n,r)||!Ls(o,i):!0}function z2(e,t,n){var r=!1,o=oo,i=t.contextType;return typeof i=="object"&&i!==null?i=on(i):(o=Ft(t)?Ho:bt.current,r=t.contextTypes,i=(r=r!=null)?qi(e,o):oo),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Cd,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hy(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&&Cd.enqueueReplaceState(t,t.state,null)}function mm(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=j2,P0(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=on(i):(i=Ft(t)?Ho:bt.current,o.context=qi(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(hm(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Cd.enqueueReplaceState(o,o.state,null),xc(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ia(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(B(309));var r=n.stateNode}if(!r)throw Error(B(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;s===j2&&(s=o.refs={}),a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(B(284));if(!n._owner)throw Error(B(290,e))}return e}function Wl(e,t){throw e=Object.prototype.toString.call(t),Error(B(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Uy(e){var t=e._init;return t(e._payload)}function V2(e){function t(y,g){if(e){var x=y.deletions;x===null?(y.deletions=[g],y.flags|=16):x.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 o(y,g){return y=Zr(y,g),y.index=0,y.sibling=null,y}function i(y,g,x){return y.index=x,e?(x=y.alternate,x!==null?(x=x.index,x<g?(y.flags|=2,g):x):(y.flags|=2,g)):(y.flags|=1048576,g)}function a(y){return e&&y.alternate===null&&(y.flags|=2),y}function s(y,g,x,_){return g===null||g.tag!==6?(g=$p(x,y.mode,_),g.return=y,g):(g=o(g,x),g.return=y,g)}function l(y,g,x,_){var E=x.type;return E===vi?c(y,g,x.props.children,_,x.key):g!==null&&(g.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Pr&&Uy(E)===g.type)?(_=o(g,x.props),_.ref=Ia(y,g,x),_.return=y,_):(_=Vu(x.type,x.key,x.props,null,y.mode,_),_.ref=Ia(y,g,x),_.return=y,_)}function u(y,g,x,_){return g===null||g.tag!==4||g.stateNode.containerInfo!==x.containerInfo||g.stateNode.implementation!==x.implementation?(g=Tp(x,y.mode,_),g.return=y,g):(g=o(g,x.children||[]),g.return=y,g)}function c(y,g,x,_,E){return g===null||g.tag!==7?(g=jo(x,y.mode,_,E),g.return=y,g):(g=o(g,x),g.return=y,g)}function d(y,g,x){if(typeof g=="string"&&g!==""||typeof g=="number")return g=$p(""+g,y.mode,x),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Dl:return x=Vu(g.type,g.key,g.props,null,y.mode,x),x.ref=Ia(y,null,g),x.return=y,x;case mi:return g=Tp(g,y.mode,x),g.return=y,g;case Pr:var _=g._init;return d(y,_(g._payload),x)}if(qa(g)||La(g))return g=jo(g,y.mode,x,null),g.return=y,g;Wl(y,g)}return null}function p(y,g,x,_){var E=g!==null?g.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return E!==null?null:s(y,g,""+x,_);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Dl:return x.key===E?l(y,g,x,_):null;case mi:return x.key===E?u(y,g,x,_):null;case Pr:return E=x._init,p(y,g,E(x._payload),_)}if(qa(x)||La(x))return E!==null?null:c(y,g,x,_,null);Wl(y,x)}return null}function h(y,g,x,_,E){if(typeof _=="string"&&_!==""||typeof _=="number")return y=y.get(x)||null,s(g,y,""+_,E);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Dl:return y=y.get(_.key===null?x:_.key)||null,l(g,y,_,E);case mi:return y=y.get(_.key===null?x:_.key)||null,u(g,y,_,E);case Pr:var b=_._init;return h(y,g,x,b(_._payload),E)}if(qa(_)||La(_))return y=y.get(x)||null,c(g,y,_,E,null);Wl(g,_)}return null}function v(y,g,x,_){for(var E=null,b=null,S=g,C=g=0,$=null;S!==null&&C<x.length;C++){S.index>C?($=S,S=null):$=S.sibling;var k=p(y,S,x[C],_);if(k===null){S===null&&(S=$);break}e&&S&&k.alternate===null&&t(y,S),g=i(k,g,C),b===null?E=k:b.sibling=k,b=k,S=$}if(C===x.length)return n(y,S),Ie&&Ao(y,C),E;if(S===null){for(;C<x.length;C++)S=d(y,x[C],_),S!==null&&(g=i(S,g,C),b===null?E=S:b.sibling=S,b=S);return Ie&&Ao(y,C),E}for(S=r(y,S);C<x.length;C++)$=h(S,y,C,x[C],_),$!==null&&(e&&$.alternate!==null&&S.delete($.key===null?C:$.key),g=i($,g,C),b===null?E=$:b.sibling=$,b=$);return e&&S.forEach(function(D){return t(y,D)}),Ie&&Ao(y,C),E}function m(y,g,x,_){var E=La(x);if(typeof E!="function")throw Error(B(150));if(x=E.call(x),x==null)throw Error(B(151));for(var b=E=null,S=g,C=g=0,$=null,k=x.next();S!==null&&!k.done;C++,k=x.next()){S.index>C?($=S,S=null):$=S.sibling;var D=p(y,S,k.value,_);if(D===null){S===null&&(S=$);break}e&&S&&D.alternate===null&&t(y,S),g=i(D,g,C),b===null?E=D:b.sibling=D,b=D,S=$}if(k.done)return n(y,S),Ie&&Ao(y,C),E;if(S===null){for(;!k.done;C++,k=x.next())k=d(y,k.value,_),k!==null&&(g=i(k,g,C),b===null?E=k:b.sibling=k,b=k);return Ie&&Ao(y,C),E}for(S=r(y,S);!k.done;C++,k=x.next())k=h(S,y,C,k.value,_),k!==null&&(e&&k.alternate!==null&&S.delete(k.key===null?C:k.key),g=i(k,g,C),b===null?E=k:b.sibling=k,b=k);return e&&S.forEach(function(F){return t(y,F)}),Ie&&Ao(y,C),E}function w(y,g,x,_){if(typeof x=="object"&&x!==null&&x.type===vi&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Dl:e:{for(var E=x.key,b=g;b!==null;){if(b.key===E){if(E=x.type,E===vi){if(b.tag===7){n(y,b.sibling),g=o(b,x.props.children),g.return=y,y=g;break e}}else if(b.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Pr&&Uy(E)===b.type){n(y,b.sibling),g=o(b,x.props),g.ref=Ia(y,b,x),g.return=y,y=g;break e}n(y,b);break}else t(y,b);b=b.sibling}x.type===vi?(g=jo(x.props.children,y.mode,_,x.key),g.return=y,y=g):(_=Vu(x.type,x.key,x.props,null,y.mode,_),_.ref=Ia(y,g,x),_.return=y,y=_)}return a(y);case mi:e:{for(b=x.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===x.containerInfo&&g.stateNode.implementation===x.implementation){n(y,g.sibling),g=o(g,x.children||[]),g.return=y,y=g;break e}else{n(y,g);break}else t(y,g);g=g.sibling}g=Tp(x,y.mode,_),g.return=y,y=g}return a(y);case Pr:return b=x._init,w(y,g,b(x._payload),_)}if(qa(x))return v(y,g,x,_);if(La(x))return m(y,g,x,_);Wl(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,g!==null&&g.tag===6?(n(y,g.sibling),g=o(g,x),g.return=y,y=g):(n(y,g),g=$p(x,y.mode,_),g.return=y,y=g),a(y)):n(y,g)}return w}var Xi=V2(!0),B2=V2(!1),hl={},Fn=mo(hl),Fs=mo(hl),Is=mo(hl);function Mo(e){if(e===hl)throw Error(B(174));return e}function R0(e,t){switch(Me(Is,t),Me(Fs,e),Me(Fn,hl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Wh(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Wh(t,e)}Fe(Fn),Me(Fn,t)}function Zi(){Fe(Fn),Fe(Fs),Fe(Is)}function H2(e){Mo(Is.current);var t=Mo(Fn.current),n=Wh(t,e.type);t!==n&&(Me(Fs,e),Me(Fn,n))}function O0(e){Fs.current===e&&(Fe(Fn),Fe(Fs))}var Ve=mo(0);function wc(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)!==0)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 _p=[];function L0(){for(var e=0;e<_p.length;e++)_p[e]._workInProgressVersionPrimary=null;_p.length=0}var Du=gr.ReactCurrentDispatcher,Ep=gr.ReactCurrentBatchConfig,Go=0,Be=null,et=null,ot=null,_c=!1,os=!1,js=0,K3=0;function mt(){throw Error(B(321))}function M0(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Cn(e[n],t[n]))return!1;return!0}function N0(e,t,n,r,o,i){if(Go=i,Be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Du.current=e===null||e.memoizedState===null?J3:eO,e=n(r,o),os){i=0;do{if(os=!1,js=0,25<=i)throw Error(B(301));i+=1,ot=et=null,t.updateQueue=null,Du.current=tO,e=n(r,o)}while(os)}if(Du.current=Ec,t=et!==null&&et.next!==null,Go=0,ot=et=Be=null,_c=!1,t)throw Error(B(300));return e}function D0(){var e=js!==0;return js=0,e}function $n(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Be.memoizedState=ot=e:ot=ot.next=e,ot}function an(){if(et===null){var e=Be.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=ot===null?Be.memoizedState:ot.next;if(t!==null)ot=t,et=e;else{if(e===null)throw Error(B(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},ot===null?Be.memoizedState=ot=e:ot=ot.next=e}return ot}function zs(e,t){return typeof t=="function"?t(e):t}function bp(e){var t=an(),n=t.queue;if(n===null)throw Error(B(311));n.lastRenderedReducer=e;var r=et,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var s=a=null,l=null,u=i;do{var c=u.lane;if((Go&c)===c)l!==null&&(l=l.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 d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=d,a=r):l=l.next=d,Be.lanes|=c,Yo|=c}u=u.next}while(u!==null&&u!==i);l===null?a=r:l.next=s,Cn(r,t.memoizedState)||(Nt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Be.lanes|=i,Yo|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sp(e){var t=an(),n=t.queue;if(n===null)throw Error(B(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);Cn(i,t.memoizedState)||(Nt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function U2(){}function G2(e,t){var n=Be,r=an(),o=t(),i=!Cn(r.memoizedState,o);if(i&&(r.memoizedState=o,Nt=!0),r=r.queue,F0(q2.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ot!==null&&ot.memoizedState.tag&1){if(n.flags|=2048,Vs(9,W2.bind(null,n,r,o,t),void 0,null),at===null)throw Error(B(349));(Go&30)!==0||Y2(n,t,o)}return o}function Y2(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 W2(e,t,n,r){t.value=n,t.getSnapshot=r,K2(t)&&X2(e)}function q2(e,t,n){return n(function(){K2(t)&&X2(e)})}function K2(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Cn(e,n)}catch(r){return!0}}function X2(e){var t=ir(e,1);t!==null&&_n(t,e,1,-1)}function Gy(e){var t=$n();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zs,lastRenderedState:e},t.queue=e,e=e.dispatch=Q3.bind(null,Be,e),[t.memoizedState,e]}function Vs(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 Z2(){return an().memoizedState}function Fu(e,t,n,r){var o=$n();Be.flags|=e,o.memoizedState=Vs(1|t,n,void 0,r===void 0?null:r)}function Ad(e,t,n,r){var o=an();r=r===void 0?null:r;var i=void 0;if(et!==null){var a=et.memoizedState;if(i=a.destroy,r!==null&&M0(r,a.deps)){o.memoizedState=Vs(t,n,i,r);return}}Be.flags|=e,o.memoizedState=Vs(1|t,n,i,r)}function Yy(e,t){return Fu(8390656,8,e,t)}function F0(e,t){return Ad(2048,8,e,t)}function Q2(e,t){return Ad(4,2,e,t)}function J2(e,t){return Ad(4,4,e,t)}function eS(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 tS(e,t,n){return n=n!=null?n.concat([e]):null,Ad(4,4,eS.bind(null,t,e),n)}function I0(){}function nS(e,t){var n=an();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&M0(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function rS(e,t){var n=an();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&M0(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function oS(e,t,n){return(Go&21)===0?(e.baseState&&(e.baseState=!1,Nt=!0),e.memoizedState=n):(Cn(n,t)||(n=s2(),Be.lanes|=n,Yo|=n,e.baseState=!0),t)}function X3(e,t){var n=we;we=n!==0&&4>n?n:4,e(!0);var r=Ep.transition;Ep.transition={};try{e(!1),t()}finally{we=n,Ep.transition=r}}function iS(){return an().memoizedState}function Z3(e,t,n){var r=Xr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},aS(e))sS(t,n);else if(n=F2(e,t,n,r),n!==null){var o=Tt();_n(n,e,r,o),lS(n,t,r)}}function Q3(e,t,n){var r=Xr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(aS(e))sS(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Cn(s,a)){var l=t.interleaved;l===null?(o.next=o,k0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch(u){}finally{}n=F2(e,t,o,r),n!==null&&(o=Tt(),_n(n,e,r,o),lS(n,t,r))}}function aS(e){var t=e.alternate;return e===Be||t!==null&&t===Be}function sS(e,t){os=_c=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lS(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,m0(e,n)}}var Ec={readContext:on,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},J3={readContext:on,useCallback:function(e,t){return $n().memoizedState=[e,t===void 0?null:t],e},useContext:on,useEffect:Yy,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fu(4194308,4,eS.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fu(4,2,e,t)},useMemo:function(e,t){var n=$n();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$n();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=Z3.bind(null,Be,e),[r.memoizedState,e]},useRef:function(e){var t=$n();return e={current:e},t.memoizedState=e},useState:Gy,useDebugValue:I0,useDeferredValue:function(e){return $n().memoizedState=e},useTransition:function(){var e=Gy(!1),t=e[0];return e=X3.bind(null,e[1]),$n().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Be,o=$n();if(Ie){if(n===void 0)throw Error(B(407));n=n()}else{if(n=t(),at===null)throw Error(B(349));(Go&30)!==0||Y2(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Yy(q2.bind(null,r,i,e),[e]),r.flags|=2048,Vs(9,W2.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=$n(),t=at.identifierPrefix;if(Ie){var n=Jn,r=Qn;n=(r&~(1<<32-wn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=js++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=K3++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},eO={readContext:on,useCallback:nS,useContext:on,useEffect:F0,useImperativeHandle:tS,useInsertionEffect:Q2,useLayoutEffect:J2,useMemo:rS,useReducer:bp,useRef:Z2,useState:function(){return bp(zs)},useDebugValue:I0,useDeferredValue:function(e){var t=an();return oS(t,et.memoizedState,e)},useTransition:function(){var e=bp(zs)[0],t=an().memoizedState;return[e,t]},useMutableSource:U2,useSyncExternalStore:G2,useId:iS,unstable_isNewReconciler:!1},tO={readContext:on,useCallback:nS,useContext:on,useEffect:F0,useImperativeHandle:tS,useInsertionEffect:Q2,useLayoutEffect:J2,useMemo:rS,useReducer:Sp,useRef:Z2,useState:function(){return Sp(zs)},useDebugValue:I0,useDeferredValue:function(e){var t=an();return et===null?t.memoizedState=e:oS(t,et.memoizedState,e)},useTransition:function(){var e=Sp(zs)[0],t=an().memoizedState;return[e,t]},useMutableSource:U2,useSyncExternalStore:G2,useId:iS,unstable_isNewReconciler:!1};function Qi(e,t){try{var n="",r=t;do n+=kR(r),r=r.return;while(r);var o=n}catch(i){o=`
|
|
31
|
-
Error generating stack: `+i.message+`
|
|
32
|
-
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Cp(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function vm(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var nO=typeof WeakMap=="function"?WeakMap:Map;function uS(e,t,n){n=er(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Sc||(Sc=!0,Am=r),vm(e,t)},n}function cS(e,t,n){n=er(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){vm(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){vm(e,t),typeof r!="function"&&(Kr===null?Kr=new Set([this]):Kr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Wy(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new nO;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=vO.bind(null,e,t,n),t.then(e,e))}function qy(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 Ky(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=er(-1,1),t.tag=2,qr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var rO=gr.ReactCurrentOwner,Nt=!1;function Ct(e,t,n,r){t.child=e===null?B2(t,null,n,r):Xi(t,e.child,n,r)}function Xy(e,t,n,r,o){n=n.render;var i=t.ref;return Ii(t,o),r=N0(e,t,n,r,i,o),n=D0(),e!==null&&!Nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ar(e,t,o)):(Ie&&n&&b0(t),t.flags|=1,Ct(e,t,r,o),t.child)}function Zy(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Y0(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,dS(e,t,i,r,o)):(e=Vu(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Ls,n(a,r)&&e.ref===t.ref)return ar(e,t,o)}return t.flags|=1,e=Zr(i,r),e.ref=t.ref,e.return=t,t.child=e}function dS(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Ls(i,r)&&e.ref===t.ref)if(Nt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Nt=!0);else return t.lanes=e.lanes,ar(e,t,o)}return gm(e,t,n,r,o)}function fS(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(Ai,Ht),Ht|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Me(Ai,Ht),Ht|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Me(Ai,Ht),Ht|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Me(Ai,Ht),Ht|=r;return Ct(e,t,o,n),t.child}function pS(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function gm(e,t,n,r,o){var i=Ft(n)?Ho:bt.current;return i=qi(t,i),Ii(t,o),n=N0(e,t,n,r,i,o),r=D0(),e!==null&&!Nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ar(e,t,o)):(Ie&&r&&b0(t),t.flags|=1,Ct(e,t,n,o),t.child)}function Qy(e,t,n,r,o){if(Ft(n)){var i=!0;hc(t)}else i=!1;if(Ii(t,o),t.stateNode===null)Iu(e,t),z2(t,n,r),mm(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=on(u):(u=Ft(n)?Ho:bt.current,u=qi(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Hy(t,a,r,u),Rr=!1;var p=t.memoizedState;a.state=p,xc(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Dt.current||Rr?(typeof c=="function"&&(hm(t,n,c,r),l=t.memoizedState),(s=Rr||By(t,n,s,r,p,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,I2(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:pn(t.type,s),a.props=u,d=t.pendingProps,p=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=on(l):(l=Ft(n)?Ho:bt.current,l=qi(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||p!==l)&&Hy(t,a,r,l),Rr=!1,p=t.memoizedState,a.state=p,xc(t,r,a,o);var v=t.memoizedState;s!==d||p!==v||Dt.current||Rr?(typeof h=="function"&&(hm(t,n,h,r),v=t.memoizedState),(u=Rr||By(t,n,u,r,p,v,l)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return ym(e,t,n,r,i,o)}function ym(e,t,n,r,o,i){pS(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&Fy(t,n,!1),ar(e,t,i);r=t.stateNode,rO.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Xi(t,e.child,null,i),t.child=Xi(t,null,s,i)):Ct(e,t,s,i),t.memoizedState=r.state,o&&Fy(t,n,!0),t.child}function hS(e){var t=e.stateNode;t.pendingContext?Dy(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dy(e,t.context,!1),R0(e,t.containerInfo)}function Jy(e,t,n,r,o){return Ki(),C0(o),t.flags|=256,Ct(e,t,n,r),t.child}var xm={dehydrated:null,treeContext:null,retryLane:0};function wm(e){return{baseLanes:e,cachePool:null,transitions:null}}function mS(e,t,n){var r=t.pendingProps,o=Ve.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Me(Ve,o&1),e===null)return fm(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=a):i=kd(a,r,0,null),e=jo(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=wm(n),t.memoizedState=xm,e):j0(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return oO(e,t,a,r,s,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return(a&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Zr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Zr(s,i):(i=jo(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?wm(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=xm,r}return i=e.child,e=i.sibling,r=Zr(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(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 j0(e,t){return t=kd({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ql(e,t,n,r){return r!==null&&C0(r),Xi(t,e.child,null,n),e=j0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oO(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=Cp(Error(B(422))),ql(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=kd({mode:"visible",children:r.children},o,0,null),i=jo(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Xi(t,e.child,null,a),t.child.memoizedState=wm(a),t.memoizedState=xm,i);if((t.mode&1)===0)return ql(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(B(419)),r=Cp(i,r,void 0),ql(e,t,a,r)}if(s=(a&e.childLanes)!==0,Nt||s){if(r=at,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|a))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,ir(e,o),_n(r,e,o,-1))}return G0(),r=Cp(Error(B(421))),ql(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=gO.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Gt=Wr(o.nextSibling),Yt=t,Ie=!0,gn=null,e!==null&&(Jt[en++]=Qn,Jt[en++]=Jn,Jt[en++]=Uo,Qn=e.id,Jn=e.overflow,Uo=t),t=j0(t,r.children),t.flags|=4096,t)}function ex(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),pm(e.return,t,n)}function Ap(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function vS(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ct(e,t,r.children,n),r=Ve.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ex(e,n,t);else if(e.tag===19)ex(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(Me(Ve,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&wc(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ap(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&wc(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ap(t,!0,n,null,i);break;case"together":Ap(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Iu(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ar(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yo|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(B(153));if(t.child!==null){for(e=t.child,n=Zr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Zr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function iO(e,t,n){switch(t.tag){case 3:hS(t),Ki();break;case 5:H2(t);break;case 1:Ft(t.type)&&hc(t);break;case 4:R0(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Me(gc,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Me(Ve,Ve.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?mS(e,t,n):(Me(Ve,Ve.current&1),e=ar(e,t,n),e!==null?e.sibling:null);Me(Ve,Ve.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return vS(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Me(Ve,Ve.current),r)break;return null;case 22:case 23:return t.lanes=0,fS(e,t,n)}return ar(e,t,n)}var gS,_m,yS,xS;gS=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}};_m=function(){};yS=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Mo(Fn.current);var i=null;switch(n){case"input":o=Hh(e,o),r=Hh(e,r),i=[];break;case"select":o=He({},o,{value:void 0}),r=He({},r,{value:void 0}),i=[];break;case"textarea":o=Yh(e,o),r=Yh(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=fc)}qh(n,r);var a;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var s=o[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(As.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(s=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(As.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&De("scroll",e),i||s===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};xS=function(e,t,n,r){n!==r&&(t.flags|=4)};function ja(e,t){if(!Ie)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 vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function aO(e,t,n){var r=t.pendingProps;switch(S0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return Ft(t.type)&&pc(),vt(t),null;case 3:return r=t.stateNode,Zi(),Fe(Dt),Fe(bt),L0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Yl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,gn!==null&&(km(gn),gn=null))),_m(e,t),vt(t),null;case 5:O0(t);var o=Mo(Is.current);if(n=t.type,e!==null&&t.stateNode!=null)yS(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(B(166));return vt(t),null}if(e=Mo(Fn.current),Yl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Pn]=t,r[Ds]=i,e=(t.mode&1)!==0,n){case"dialog":De("cancel",r),De("close",r);break;case"iframe":case"object":case"embed":De("load",r);break;case"video":case"audio":for(o=0;o<Xa.length;o++)De(Xa[o],r);break;case"source":De("error",r);break;case"img":case"image":case"link":De("error",r),De("load",r);break;case"details":De("toggle",r);break;case"input":uy(r,i),De("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},De("invalid",r);break;case"textarea":dy(r,i),De("invalid",r)}qh(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&Gl(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&Gl(r.textContent,s,e),o=["children",""+s]):As.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&De("scroll",r)}switch(n){case"input":Fl(r),cy(r,i,!0);break;case"textarea":Fl(r),fy(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=fc)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Yb(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Pn]=t,e[Ds]=r,gS(e,t,!1,!1),t.stateNode=e;e:{switch(a=Kh(n,r),n){case"dialog":De("cancel",e),De("close",e),o=r;break;case"iframe":case"object":case"embed":De("load",e),o=r;break;case"video":case"audio":for(o=0;o<Xa.length;o++)De(Xa[o],e);o=r;break;case"source":De("error",e),o=r;break;case"img":case"image":case"link":De("error",e),De("load",e),o=r;break;case"details":De("toggle",e),o=r;break;case"input":uy(e,r),o=Hh(e,r),De("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=He({},r,{value:void 0}),De("invalid",e);break;case"textarea":dy(e,r),o=Yh(e,r),De("invalid",e);break;default:o=r}qh(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?Kb(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Wb(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&$s(e,l):typeof l=="number"&&$s(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(As.hasOwnProperty(i)?l!=null&&i==="onScroll"&&De("scroll",e):l!=null&&u0(e,i,l,a))}switch(n){case"input":Fl(e),cy(e,r,!1);break;case"textarea":Fl(e),fy(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ro(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Mi(e,!!r.multiple,i,!1):r.defaultValue!=null&&Mi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=fc)}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 vt(t),null;case 6:if(e&&t.stateNode!=null)xS(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(B(166));if(n=Mo(Is.current),Mo(Fn.current),Yl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Pn]=t,(i=r.nodeValue!==n)&&(e=Yt,e!==null))switch(e.tag){case 3:Gl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Gl(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Pn]=t,t.stateNode=r}return vt(t),null;case 13:if(Fe(Ve),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ie&&Gt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)D2(),Ki(),t.flags|=98560,i=!1;else if(i=Yl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(B(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(B(317));i[Pn]=t}else Ki(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;vt(t),i=!1}else gn!==null&&(km(gn),gn=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Ve.current&1)!==0?nt===0&&(nt=3):G0())),t.updateQueue!==null&&(t.flags|=4),vt(t),null);case 4:return Zi(),_m(e,t),e===null&&Ms(t.stateNode.containerInfo),vt(t),null;case 10:return T0(t.type._context),vt(t),null;case 17:return Ft(t.type)&&pc(),vt(t),null;case 19:if(Fe(Ve),i=t.memoizedState,i===null)return vt(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)ja(i,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=wc(e),a!==null){for(t.flags|=128,ja(i,!1),r=a.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,a=i.alternate,a===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=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Me(Ve,Ve.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ke()>Ji&&(t.flags|=128,r=!0,ja(i,!1),t.lanes=4194304)}else{if(!r)if(e=wc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ja(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ie)return vt(t),null}else 2*Ke()-i.renderingStartTime>Ji&&n!==1073741824&&(t.flags|=128,r=!0,ja(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ke(),t.sibling=null,n=Ve.current,Me(Ve,r?n&1|2:n&1),t):(vt(t),null);case 22:case 23:return U0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Ht&1073741824)!==0&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),null;case 24:return null;case 25:return null}throw Error(B(156,t.tag))}function sO(e,t){switch(S0(t),t.tag){case 1:return Ft(t.type)&&pc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Zi(),Fe(Dt),Fe(bt),L0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return O0(t),null;case 13:if(Fe(Ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(B(340));Ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Fe(Ve),null;case 4:return Zi(),null;case 10:return T0(t.type._context),null;case 22:case 23:return U0(),null;case 24:return null;default:return null}}var Kl=!1,yt=!1,lO=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Ci(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ge(e,t,r)}else n.current=null}function Em(e,t,n){try{n()}catch(r){Ge(e,t,r)}}var tx=!1;function uO(e,t){if(im=uc,e=b2(),E0(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(_){n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,p=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(h=d.firstChild)!==null;)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++u===o&&(s=a),p===i&&++c===r&&(l=a),(h=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(am={focusedElem:e,selectionRange:n},uc=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,w=v.memoizedState,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:pn(t.type,m),w);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(B(163))}}catch(_){Ge(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return v=tx,tx=!1,v}function is(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Em(t,n,i)}o=o.next}while(o!==r)}}function $d(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 bm(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 wS(e){var t=e.alternate;t!==null&&(e.alternate=null,wS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pn],delete t[Ds],delete t[um],delete t[G3],delete t[Y3])),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 _S(e){return e.tag===5||e.tag===3||e.tag===4}function nx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_S(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 Sm(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=fc));else if(r!==4&&(e=e.child,e!==null))for(Sm(e,t,n),e=e.sibling;e!==null;)Sm(e,t,n),e=e.sibling}function Cm(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(Cm(e,t,n),e=e.sibling;e!==null;)Cm(e,t,n),e=e.sibling}var ct=null,mn=!1;function br(e,t,n){for(n=n.child;n!==null;)ES(e,t,n),n=n.sibling}function ES(e,t,n){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(xd,n)}catch(s){}switch(n.tag){case 5:yt||Ci(n,t);case 6:var r=ct,o=mn;ct=null,br(e,t,n),ct=r,mn=o,ct!==null&&(mn?(e=ct,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ct.removeChild(n.stateNode));break;case 18:ct!==null&&(mn?(e=ct,n=n.stateNode,e.nodeType===8?xp(e.parentNode,n):e.nodeType===1&&xp(e,n),Rs(e)):xp(ct,n.stateNode));break;case 4:r=ct,o=mn,ct=n.stateNode.containerInfo,mn=!0,br(e,t,n),ct=r,mn=o;break;case 0:case 11:case 14:case 15:if(!yt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&((i&2)!==0||(i&4)!==0)&&Em(n,t,a),o=o.next}while(o!==r)}br(e,t,n);break;case 1:if(!yt&&(Ci(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ge(n,t,s)}br(e,t,n);break;case 21:br(e,t,n);break;case 22:n.mode&1?(yt=(r=yt)||n.memoizedState!==null,br(e,t,n),yt=r):br(e,t,n);break;default:br(e,t,n)}}function rx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new lO),t.forEach(function(r){var o=yO.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function cn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:ct=s.stateNode,mn=!1;break e;case 3:ct=s.stateNode.containerInfo,mn=!0;break e;case 4:ct=s.stateNode.containerInfo,mn=!0;break e}s=s.return}if(ct===null)throw Error(B(160));ES(i,a,o),ct=null,mn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){Ge(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)bS(t,e),t=t.sibling}function bS(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(cn(t,e),An(e),r&4){try{is(3,e,e.return),$d(3,e)}catch(m){Ge(e,e.return,m)}try{is(5,e,e.return)}catch(m){Ge(e,e.return,m)}}break;case 1:cn(t,e),An(e),r&512&&n!==null&&Ci(n,n.return);break;case 5:if(cn(t,e),An(e),r&512&&n!==null&&Ci(n,n.return),e.flags&32){var o=e.stateNode;try{$s(o,"")}catch(m){Ge(e,e.return,m)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&Ub(o,i),Kh(s,a);var u=Kh(s,i);for(a=0;a<l.length;a+=2){var c=l[a],d=l[a+1];c==="style"?Kb(o,d):c==="dangerouslySetInnerHTML"?Wb(o,d):c==="children"?$s(o,d):u0(o,c,d,u)}switch(s){case"input":Uh(o,i);break;case"textarea":Gb(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?Mi(o,!!i.multiple,h,!1):p!==!!i.multiple&&(i.defaultValue!=null?Mi(o,!!i.multiple,i.defaultValue,!0):Mi(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ds]=i}catch(m){Ge(e,e.return,m)}}break;case 6:if(cn(t,e),An(e),r&4){if(e.stateNode===null)throw Error(B(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){Ge(e,e.return,m)}}break;case 3:if(cn(t,e),An(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Rs(t.containerInfo)}catch(m){Ge(e,e.return,m)}break;case 4:cn(t,e),An(e);break;case 13:cn(t,e),An(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(B0=Ke())),r&4&&rx(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(yt=(u=yt)||c,cn(t,e),yt=u):cn(t,e),An(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(Z=e,c=e.child;c!==null;){for(d=Z=c;Z!==null;){switch(p=Z,h=p.child,p.tag){case 0:case 11:case 14:case 15:is(4,p,p.return);break;case 1:Ci(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Ge(r,n,m)}}break;case 5:Ci(p,p.return);break;case 22:if(p.memoizedState!==null){ix(d);continue}}h!==null?(h.return=p,Z=h):ix(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=d.stateNode,l=d.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=qb("display",a))}catch(m){Ge(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){Ge(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:cn(t,e),An(e),r&4&&rx(e);break;case 21:break;default:cn(t,e),An(e)}}function An(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(_S(n)){var r=n;break e}n=n.return}throw Error(B(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&($s(o,""),r.flags&=-33);var i=nx(e);Cm(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=nx(e);Sm(e,s,a);break;default:throw Error(B(161))}}catch(l){Ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function cO(e,t,n){Z=e,SS(e)}function SS(e,t,n){for(var r=(e.mode&1)!==0;Z!==null;){var o=Z,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Kl;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||yt;s=Kl;var u=yt;if(Kl=a,(yt=l)&&!u)for(Z=o;Z!==null;)a=Z,l=a.child,a.tag===22&&a.memoizedState!==null?ax(o):l!==null?(l.return=a,Z=l):ax(o);for(;i!==null;)Z=i,SS(i),i=i.sibling;Z=o,Kl=s,yt=u}ox(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,Z=i):ox(e)}}function ox(e){for(;Z!==null;){var t=Z;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:yt||$d(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!yt)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:pn(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Vy(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Vy(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&Rs(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(B(163))}yt||t.flags&512&&bm(t)}catch(p){Ge(t,t.return,p)}}if(t===e){Z=null;break}if(n=t.sibling,n!==null){n.return=t.return,Z=n;break}Z=t.return}}function ix(e){for(;Z!==null;){var t=Z;if(t===e){Z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Z=n;break}Z=t.return}}function ax(e){for(;Z!==null;){var t=Z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$d(4,t)}catch(l){Ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Ge(t,o,l)}}var i=t.return;try{bm(t)}catch(l){Ge(t,i,l)}break;case 5:var a=t.return;try{bm(t)}catch(l){Ge(t,a,l)}}}catch(l){Ge(t,t.return,l)}if(t===e){Z=null;break}var s=t.sibling;if(s!==null){s.return=t.return,Z=s;break}Z=t.return}}var dO=Math.ceil,bc=gr.ReactCurrentDispatcher,z0=gr.ReactCurrentOwner,rn=gr.ReactCurrentBatchConfig,ge=0,at=null,Qe=null,ft=0,Ht=0,Ai=mo(0),nt=0,Bs=null,Yo=0,Td=0,V0=0,as=null,Lt=null,B0=0,Ji=1/0,qn=null,Sc=!1,Am=null,Kr=null,Xl=!1,zr=null,Cc=0,ss=0,$m=null,ju=-1,zu=0;function Tt(){return(ge&6)!==0?Ke():ju!==-1?ju:ju=Ke()}function Xr(e){return(e.mode&1)===0?1:(ge&2)!==0&&ft!==0?ft&-ft:q3.transition!==null?(zu===0&&(zu=s2()),zu):(e=we,e!==0||(e=window.event,e=e===void 0?16:h2(e.type)),e)}function _n(e,t,n,r){if(50<ss)throw ss=0,$m=null,Error(B(185));dl(e,n,r),((ge&2)===0||e!==at)&&(e===at&&((ge&2)===0&&(Td|=n),nt===4&&Dr(e,ft)),It(e,r),n===1&&ge===0&&(t.mode&1)===0&&(Ji=Ke()+500,Sd&&vo()))}function It(e,t){var n=e.callbackNode;qR(e,t);var r=lc(e,e===at?ft:0);if(r===0)n!==null&&my(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&my(n),t===1)e.tag===0?W3(sx.bind(null,e)):L2(sx.bind(null,e)),H3(function(){(ge&6)===0&&vo()}),n=null;else{switch(l2(r)){case 1:n=h0;break;case 4:n=i2;break;case 16:n=sc;break;case 536870912:n=a2;break;default:n=sc}n=OS(n,CS.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function CS(e,t){if(ju=-1,zu=0,(ge&6)!==0)throw Error(B(327));var n=e.callbackNode;if(ji()&&e.callbackNode!==n)return null;var r=lc(e,e===at?ft:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Ac(e,r);else{t=r;var o=ge;ge|=2;var i=$S();(at!==e||ft!==t)&&(qn=null,Ji=Ke()+500,Io(e,t));do try{hO();break}catch(s){AS(e,s)}while(1);$0(),bc.current=i,ge=o,Qe!==null?t=0:(at=null,ft=0,t=nt)}if(t!==0){if(t===2&&(o=em(e),o!==0&&(r=o,t=Tm(e,o))),t===1)throw n=Bs,Io(e,0),Dr(e,r),It(e,Ke()),n;if(t===6)Dr(e,r);else{if(o=e.current.alternate,(r&30)===0&&!fO(o)&&(t=Ac(e,r),t===2&&(i=em(e),i!==0&&(r=i,t=Tm(e,i))),t===1))throw n=Bs,Io(e,0),Dr(e,r),It(e,Ke()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(B(345));case 2:$o(e,Lt,qn);break;case 3:if(Dr(e,r),(r&130023424)===r&&(t=B0+500-Ke(),10<t)){if(lc(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Tt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=lm($o.bind(null,e,Lt,qn),t);break}$o(e,Lt,qn);break;case 4:if(Dr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-wn(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dO(r/1960))-r,10<r){e.timeoutHandle=lm($o.bind(null,e,Lt,qn),r);break}$o(e,Lt,qn);break;case 5:$o(e,Lt,qn);break;default:throw Error(B(329))}}}return It(e,Ke()),e.callbackNode===n?CS.bind(null,e):null}function Tm(e,t){var n=as;return e.current.memoizedState.isDehydrated&&(Io(e,t).flags|=256),e=Ac(e,t),e!==2&&(t=Lt,Lt=n,t!==null&&km(t)),e}function km(e){Lt===null?Lt=e:Lt.push.apply(Lt,e)}function fO(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 o=n[r],i=o.getSnapshot;o=o.value;try{if(!Cn(i(),o))return!1}catch(a){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 Dr(e,t){for(t&=~V0,t&=~Td,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-wn(t),r=1<<n;e[n]=-1,t&=~r}}function sx(e){if((ge&6)!==0)throw Error(B(327));ji();var t=lc(e,0);if((t&1)===0)return It(e,Ke()),null;var n=Ac(e,t);if(e.tag!==0&&n===2){var r=em(e);r!==0&&(t=r,n=Tm(e,r))}if(n===1)throw n=Bs,Io(e,0),Dr(e,t),It(e,Ke()),n;if(n===6)throw Error(B(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,$o(e,Lt,qn),It(e,Ke()),null}function H0(e,t){var n=ge;ge|=1;try{return e(t)}finally{ge=n,ge===0&&(Ji=Ke()+500,Sd&&vo())}}function Wo(e){zr!==null&&zr.tag===0&&(ge&6)===0&&ji();var t=ge;ge|=1;var n=rn.transition,r=we;try{if(rn.transition=null,we=1,e)return e()}finally{we=r,rn.transition=n,ge=t,(ge&6)===0&&vo()}}function U0(){Ht=Ai.current,Fe(Ai)}function Io(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,B3(n)),Qe!==null)for(n=Qe.return;n!==null;){var r=n;switch(S0(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&pc();break;case 3:Zi(),Fe(Dt),Fe(bt),L0();break;case 5:O0(r);break;case 4:Zi();break;case 13:Fe(Ve);break;case 19:Fe(Ve);break;case 10:T0(r.type._context);break;case 22:case 23:U0()}n=n.return}if(at=e,Qe=e=Zr(e.current,null),ft=Ht=t,nt=0,Bs=null,V0=Td=Yo=0,Lt=as=null,Lo!==null){for(t=0;t<Lo.length;t++)if(n=Lo[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}Lo=null}return e}function AS(e,t){do{var n=Qe;try{if($0(),Du.current=Ec,_c){for(var r=Be.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}_c=!1}if(Go=0,ot=et=Be=null,os=!1,js=0,z0.current=null,n===null||n.return===null){nt=1,Bs=t,Qe=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=ft,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,d=c.tag;if((c.mode&1)===0&&(d===0||d===11||d===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=qy(a);if(h!==null){h.flags&=-257,Ky(h,a,s,i,t),h.mode&1&&Wy(i,u,t),t=h,l=u;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if((t&1)===0){Wy(i,u,t),G0();break e}l=Error(B(426))}}else if(Ie&&s.mode&1){var w=qy(a);if(w!==null){(w.flags&65536)===0&&(w.flags|=256),Ky(w,a,s,i,t),C0(Qi(l,s));break e}}i=l=Qi(l,s),nt!==4&&(nt=2),as===null?as=[i]:as.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=uS(i,l,t);zy(i,y);break e;case 1:s=l;var g=i.type,x=i.stateNode;if((i.flags&128)===0&&(typeof g.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Kr===null||!Kr.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var _=cS(i,s,t);zy(i,_);break e}}i=i.return}while(i!==null)}kS(n)}catch(E){t=E,Qe===n&&n!==null&&(Qe=n=n.return);continue}break}while(1)}function $S(){var e=bc.current;return bc.current=Ec,e===null?Ec:e}function G0(){(nt===0||nt===3||nt===2)&&(nt=4),at===null||(Yo&268435455)===0&&(Td&268435455)===0||Dr(at,ft)}function Ac(e,t){var n=ge;ge|=2;var r=$S();(at!==e||ft!==t)&&(qn=null,Io(e,t));do try{pO();break}catch(o){AS(e,o)}while(1);if($0(),ge=n,bc.current=r,Qe!==null)throw Error(B(261));return at=null,ft=0,nt}function pO(){for(;Qe!==null;)TS(Qe)}function hO(){for(;Qe!==null&&!jR();)TS(Qe)}function TS(e){var t=RS(e.alternate,e,Ht);e.memoizedProps=e.pendingProps,t===null?kS(e):Qe=t,z0.current=null}function kS(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=aO(n,t,Ht),n!==null){Qe=n;return}}else{if(n=sO(n,t),n!==null){n.flags&=32767,Qe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,Qe=null;return}}if(t=t.sibling,t!==null){Qe=t;return}Qe=t=e}while(t!==null);nt===0&&(nt=5)}function $o(e,t,n){var r=we,o=rn.transition;try{rn.transition=null,we=1,mO(e,t,n,r)}finally{rn.transition=o,we=r}return null}function mO(e,t,n,r){do ji();while(zr!==null);if((ge&6)!==0)throw Error(B(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(B(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(KR(e,i),e===at&&(Qe=at=null,ft=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Xl||(Xl=!0,OS(sc,function(){return ji(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=rn.transition,rn.transition=null;var a=we;we=1;var s=ge;ge|=4,z0.current=null,uO(e,n),bS(n,e),N3(am),uc=!!im,am=im=null,e.current=n,cO(n),zR(),ge=s,we=a,rn.transition=i}else e.current=n;if(Xl&&(Xl=!1,zr=e,Cc=o),i=e.pendingLanes,i===0&&(Kr=null),HR(n.stateNode),It(e,Ke()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Sc)throw Sc=!1,e=Am,Am=null,e;return(Cc&1)!==0&&e.tag!==0&&ji(),i=e.pendingLanes,(i&1)!==0?e===$m?ss++:(ss=0,$m=e):ss=0,vo(),null}function ji(){if(zr!==null){var e=l2(Cc),t=rn.transition,n=we;try{if(rn.transition=null,we=16>e?16:e,zr===null)var r=!1;else{if(e=zr,zr=null,Cc=0,(ge&6)!==0)throw Error(B(331));var o=ge;for(ge|=4,Z=e.current;Z!==null;){var i=Z,a=i.child;if((Z.flags&16)!==0){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(Z=u;Z!==null;){var c=Z;switch(c.tag){case 0:case 11:case 15:is(8,c,i)}var d=c.child;if(d!==null)d.return=c,Z=d;else for(;Z!==null;){c=Z;var p=c.sibling,h=c.return;if(wS(c),c===u){Z=null;break}if(p!==null){p.return=h,Z=p;break}Z=h}}}var v=i.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var w=m.sibling;m.sibling=null,m=w}while(m!==null)}}Z=i}}if((i.subtreeFlags&2064)!==0&&a!==null)a.return=i,Z=a;else e:for(;Z!==null;){if(i=Z,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:is(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,Z=y;break e}Z=i.return}}var g=e.current;for(Z=g;Z!==null;){a=Z;var x=a.child;if((a.subtreeFlags&2064)!==0&&x!==null)x.return=a,Z=x;else e:for(a=g;Z!==null;){if(s=Z,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:$d(9,s)}}catch(E){Ge(s,s.return,E)}if(s===a){Z=null;break e}var _=s.sibling;if(_!==null){_.return=s.return,Z=_;break e}Z=s.return}}if(ge=o,vo(),Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(xd,e)}catch(E){}r=!0}return r}finally{we=n,rn.transition=t}}return!1}function lx(e,t,n){t=Qi(n,t),t=uS(e,t,1),e=qr(e,t,1),t=Tt(),e!==null&&(dl(e,1,t),It(e,t))}function Ge(e,t,n){if(e.tag===3)lx(e,e,n);else for(;t!==null;){if(t.tag===3){lx(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Kr===null||!Kr.has(r))){e=Qi(n,e),e=cS(t,e,1),t=qr(t,e,1),e=Tt(),t!==null&&(dl(t,1,e),It(t,e));break}}t=t.return}}function vO(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Tt(),e.pingedLanes|=e.suspendedLanes&n,at===e&&(ft&n)===n&&(nt===4||nt===3&&(ft&130023424)===ft&&500>Ke()-B0?Io(e,0):V0|=n),It(e,t)}function PS(e,t){t===0&&((e.mode&1)===0?t=1:(t=zl,zl<<=1,(zl&130023424)===0&&(zl=4194304)));var n=Tt();e=ir(e,t),e!==null&&(dl(e,t,n),It(e,n))}function gO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),PS(e,n)}function yO(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(B(314))}r!==null&&r.delete(t),PS(e,n)}var RS;RS=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Dt.current)Nt=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Nt=!1,iO(e,t,n);Nt=(e.flags&131072)!==0}else Nt=!1,Ie&&(t.flags&1048576)!==0&&M2(t,vc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Iu(e,t),e=t.pendingProps;var o=qi(t,bt.current);Ii(t,n),o=N0(null,t,r,e,o,n);var i=D0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ft(r)?(i=!0,hc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,P0(t),o.updater=Cd,t.stateNode=o,o._reactInternals=t,mm(t,r,e,n),t=ym(null,t,r,!0,i,n)):(t.tag=0,Ie&&i&&b0(t),Ct(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Iu(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=wO(r),e=pn(r,e),o){case 0:t=gm(null,t,r,e,n);break e;case 1:t=Qy(null,t,r,e,n);break e;case 11:t=Xy(null,t,r,e,n);break e;case 14:t=Zy(null,t,r,pn(r.type,e),n);break e}throw Error(B(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),gm(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),Qy(e,t,r,o,n);case 3:e:{if(hS(t),e===null)throw Error(B(387));r=t.pendingProps,i=t.memoizedState,o=i.element,I2(e,t),xc(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Qi(Error(B(423)),t),t=Jy(e,t,r,n,o);break e}else if(r!==o){o=Qi(Error(B(424)),t),t=Jy(e,t,r,n,o);break e}else for(Gt=Wr(t.stateNode.containerInfo.firstChild),Yt=t,Ie=!0,gn=null,n=B2(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ki(),r===o){t=ar(e,t,n);break e}Ct(e,t,r,n)}t=t.child}return t;case 5:return H2(t),e===null&&fm(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,sm(r,o)?a=null:i!==null&&sm(r,i)&&(t.flags|=32),pS(e,t),Ct(e,t,a,n),t.child;case 6:return e===null&&fm(t),null;case 13:return mS(e,t,n);case 4:return R0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xi(t,null,r,n):Ct(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),Xy(e,t,r,o,n);case 7:return Ct(e,t,t.pendingProps,n),t.child;case 8:return Ct(e,t,t.pendingProps.children,n),t.child;case 12:return Ct(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Me(gc,r._currentValue),r._currentValue=a,i!==null)if(Cn(i.value,a)){if(i.children===o.children&&!Dt.current){t=ar(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=er(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),pm(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(B(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),pm(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Ct(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ii(t,n),o=on(o),r=r(o),t.flags|=1,Ct(e,t,r,n),t.child;case 14:return r=t.type,o=pn(r,t.pendingProps),o=pn(r.type,o),Zy(e,t,r,o,n);case 15:return dS(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),Iu(e,t),t.tag=1,Ft(r)?(e=!0,hc(t)):e=!1,Ii(t,n),z2(t,r,o),mm(t,r,o,n),ym(null,t,r,!0,e,n);case 19:return vS(e,t,n);case 22:return fS(e,t,n)}throw Error(B(156,t.tag))};function OS(e,t){return o2(e,t)}function xO(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 tn(e,t,n,r){return new xO(e,t,n,r)}function Y0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wO(e){if(typeof e=="function")return Y0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===d0)return 11;if(e===f0)return 14}return 2}function Zr(e,t){var n=e.alternate;return n===null?(n=tn(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.deletions=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 Vu(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Y0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case vi:return jo(n.children,o,i,t);case c0:a=8,o|=8;break;case jh:return e=tn(12,n,t,o|2),e.elementType=jh,e.lanes=i,e;case zh:return e=tn(13,n,t,o),e.elementType=zh,e.lanes=i,e;case Vh:return e=tn(19,n,t,o),e.elementType=Vh,e.lanes=i,e;case Vb:return kd(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jb:a=10;break e;case zb:a=9;break e;case d0:a=11;break e;case f0:a=14;break e;case Pr:a=16,r=null;break e}throw Error(B(130,e==null?e:typeof e,""))}return t=tn(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function jo(e,t,n,r){return e=tn(7,e,r,t),e.lanes=n,e}function kd(e,t,n,r){return e=tn(22,e,r,t),e.elementType=Vb,e.lanes=n,e.stateNode={isHidden:!1},e}function $p(e,t,n){return e=tn(6,e,null,t),e.lanes=n,e}function Tp(e,t,n){return t=tn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _O(e,t,n,r,o){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=lp(0),this.expirationTimes=lp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lp(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function W0(e,t,n,r,o,i,a,s,l){return e=new _O(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=tn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},P0(i),e}function EO(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:mi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function LS(e){if(!e)return oo;e=e._reactInternals;e:{if(Zo(e)!==e||e.tag!==1)throw Error(B(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(B(171))}if(e.tag===1){var n=e.type;if(Ft(n))return O2(e,n,t)}return t}function MS(e,t,n,r,o,i,a,s,l){return e=W0(n,r,!0,e,o,i,a,s,l),e.context=LS(null),n=e.current,r=Tt(),o=Xr(n),i=er(r,o),i.callback=t!=null?t:null,qr(n,i,o),e.current.lanes=o,dl(e,o,r),It(e,r),e}function Pd(e,t,n,r){var o=t.current,i=Tt(),a=Xr(o);return n=LS(n),t.context===null?t.context=n:t.pendingContext=n,t=er(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=qr(o,t,a),e!==null&&(_n(e,o,a,i),Nu(e,o,a)),a}function $c(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 ux(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function q0(e,t){ux(e,t),(e=e.alternate)&&ux(e,t)}function bO(){return null}var NS=typeof reportError=="function"?reportError:function(e){console.error(e)};function K0(e){this._internalRoot=e}Rd.prototype.render=K0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(B(409));Pd(e,t,null,null)};Rd.prototype.unmount=K0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Wo(function(){Pd(null,e,null,null)}),t[or]=null}};function Rd(e){this._internalRoot=e}Rd.prototype.unstable_scheduleHydration=function(e){if(e){var t=d2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nr.length&&t!==0&&t<Nr[n].priority;n++);Nr.splice(n,0,e),n===0&&p2(e)}};function X0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Od(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function cx(){}function SO(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=$c(a);i.call(u)}}var a=MS(t,r,e,0,null,!1,!1,"",cx);return e._reactRootContainer=a,e[or]=a.current,Ms(e.nodeType===8?e.parentNode:e),Wo(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=$c(l);s.call(u)}}var l=W0(e,0,!1,null,null,!1,!1,"",cx);return e._reactRootContainer=l,e[or]=l.current,Ms(e.nodeType===8?e.parentNode:e),Wo(function(){Pd(t,l,n,r)}),l}function Ld(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=$c(a);s.call(l)}}Pd(t,a,e,o)}else a=SO(n,t,e,o,r);return $c(a)}u2=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ka(t.pendingLanes);n!==0&&(m0(t,n|1),It(t,Ke()),(ge&6)===0&&(Ji=Ke()+500,vo()))}break;case 13:Wo(function(){var r=ir(e,1);if(r!==null){var o=Tt();_n(r,e,1,o)}}),q0(e,1)}};v0=function(e){if(e.tag===13){var t=ir(e,134217728);if(t!==null){var n=Tt();_n(t,e,134217728,n)}q0(e,134217728)}};c2=function(e){if(e.tag===13){var t=Xr(e),n=ir(e,t);if(n!==null){var r=Tt();_n(n,e,t,r)}q0(e,t)}};d2=function(){return we};f2=function(e,t){var n=we;try{return we=e,t()}finally{we=n}};Zh=function(e,t,n){switch(t){case"input":if(Uh(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 o=bd(r);if(!o)throw Error(B(90));Hb(r),Uh(r,o)}}}break;case"textarea":Gb(e,n);break;case"select":t=n.value,t!=null&&Mi(e,!!n.multiple,t,!1)}};Qb=H0;Jb=Wo;var CO={usingClientEntryPoint:!1,Events:[pl,wi,bd,Xb,Zb,H0]},za={findFiberByHostInstance:Oo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},AO={bundleType:za.bundleType,version:za.version,rendererPackageName:za.rendererPackageName,rendererConfig:za.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:gr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=n2(e),e===null?null:e.stateNode},findFiberByHostInstance:za.findFiberByHostInstance||bO,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zl.isDisabled&&Zl.supportsFiber)try{xd=Zl.inject(AO),Dn=Zl}catch(e){}}Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=CO;Xt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!X0(t))throw Error(B(200));return EO(e,t,null,n)};Xt.createRoot=function(e,t){if(!X0(e))throw Error(B(299));var n=!1,r="",o=NS;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=W0(e,1,!1,null,null,n,!1,r,o),e[or]=t.current,Ms(e.nodeType===8?e.parentNode:e),new K0(t)};Xt.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(B(188)):(e=Object.keys(e).join(","),Error(B(268,e)));return e=n2(t),e=e===null?null:e.stateNode,e};Xt.flushSync=function(e){return Wo(e)};Xt.hydrate=function(e,t,n){if(!Od(t))throw Error(B(200));return Ld(null,e,t,!0,n)};Xt.hydrateRoot=function(e,t,n){if(!X0(e))throw Error(B(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=NS;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=MS(t,null,e,1,n!=null?n:null,o,!1,i,a),e[or]=t.current,Ms(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Rd(t)};Xt.render=function(e,t,n){if(!Od(t))throw Error(B(200));return Ld(null,e,t,!1,n)};Xt.unmountComponentAtNode=function(e){if(!Od(e))throw Error(B(40));return e._reactRootContainer?(Wo(function(){Ld(null,null,e,!1,function(){e._reactRootContainer=null,e[or]=null})}),!0):!1};Xt.unstable_batchedUpdates=H0;Xt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Od(n))throw Error(B(200));if(e==null||e._reactInternals===void 0)throw Error(B(38));return Ld(e,t,n,!1,r)};Xt.version="18.2.0-next-9e3b772b8-20220608";(function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Xt})(Pt);const DS=$b(Pt.exports);var dx=Pt.exports;Fh.createRoot=dx.createRoot,Fh.hydrateRoot=dx.hydrateRoot;function $O(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function Md(){return!$O()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Vr(e,t){return e.require(t)}function TO(e){let t;try{t=Vr(module,e)}catch(n){}try{const{cwd:n}=Vr(module,"process");t=Vr(module,`${n()}/node_modules/${e}`)}catch(n){}return t}var kO={};function be(){return Md()?global:typeof window<"u"?window:typeof self<"u"?self:kO}function Z0(e,t,n){var r=n||be(),o=r.__SENTRY__=r.__SENTRY__||{},i=o[e]||(o[e]=t());return i}var FS=Object.prototype.toString;function IS(e){switch(FS.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return yr(e,Error)}}function ga(e,t){return FS.call(e)===`[object ${t}]`}function jS(e){return ga(e,"ErrorEvent")}function fx(e){return ga(e,"DOMError")}function PO(e){return ga(e,"DOMException")}function io(e){return ga(e,"String")}function zS(e){return e===null||typeof e!="object"&&typeof e!="function"}function ea(e){return ga(e,"Object")}function Q0(e){return typeof Event<"u"&&yr(e,Event)}function RO(e){return typeof Element<"u"&&yr(e,Element)}function OO(e){return ga(e,"RegExp")}function J0(e){return Boolean(e&&e.then&&typeof e.then=="function")}function LO(e){return ea(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function VS(e){return typeof e=="number"&&e!==e}function yr(e,t){try{return e instanceof t}catch(n){return!1}}function Hs(e,t){try{let s=e;var n=5,r=80,o=[];let l=0,u=0;var i=" > ",a=i.length;let c;for(;s&&l++<n&&(c=MO(s,t),!(c==="html"||l>1&&u+o.length*a+c.length>=r));)o.push(c),u+=c.length,s=s.parentNode;return o.reverse().join(i)}catch(s){return"<unknown>"}}function MO(e,t){var n=e,r=[];let o,i,a,s,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var u=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),o=n.className,o&&io(o))for(i=o.split(/\s+/),l=0;l<i.length;l++)r.push(`.${i[l]}`);var c=["type","name","title","alt"];for(l=0;l<c.length;l++)a=c[l],s=n.getAttribute(a),s&&r.push(`[${a}="${s}"]`);return r.join("")}function NO(){var e=be();try{return e.document.location.href}catch(t){return""}}class xt extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}var DO=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function FO(e){return e==="http"||e==="https"}function eg(e,t=!1){const{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&o?`:${o}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${a}`}function IO(e){var t=DO.exec(e);if(!t)throw new xt(`Invalid Sentry Dsn: ${e}`);const[n,r,o="",i,a="",s]=t.slice(1);let l="",u=s;var c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){var d=u.match(/^\d+/);d&&(u=d[0])}return BS({host:i,pass:o,path:l,projectId:u,port:a,protocol:n,publicKey:r})}function BS(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function jO(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;var o=["protocol","publicKey","host","projectId"];if(o.forEach(i=>{if(!e[i])throw new xt(`Invalid Sentry Dsn: ${i} missing`)}),!n.match(/^\d+$/))throw new xt(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!FO(r))throw new xt(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new xt(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function zO(e){var t=typeof e=="string"?IO(e):BS(e);return jO(t),t}var VO=be(),BO="Sentry Logger ",Tc=["debug","info","warn","error","log","assert","trace"];function HS(e){var t=be();if(!("console"in t))return e();var n=t.console,r={};Tc.forEach(o=>{var i=n[o]&&n[o].__sentry_original__;o in t.console&&i&&(r[o]=n[o],n[o]=i)});try{return e()}finally{Object.keys(r).forEach(o=>{n[o]=r[o]})}}function px(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Tc.forEach(n=>{t[n]=(...r)=>{e&&HS(()=>{VO.console[n](`${BO}[${n}]:`,...r)})}}):Tc.forEach(n=>{t[n]=()=>{}}),t}let W;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?W=Z0("logger",px):W=px();function ls(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function hx(e,t){if(!Array.isArray(e))return"";var n=[];for(let o=0;o<e.length;o++){var r=e[o];try{n.push(String(r))}catch(i){n.push("[value cannot be serialized]")}}return n.join(t)}function Us(e,t){return io(e)?OO(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function wt(e,t,n){if(t in e){var r=e[t],o=n(r);if(typeof o=="function")try{US(o,r)}catch(i){}e[t]=o}}function tg(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function US(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,tg(e,"__sentry_original__",t)}function ng(e){return e.__sentry_original__}function HO(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function GS(e){if(IS(e))return{message:e.message,name:e.name,stack:e.stack,...vx(e)};if(Q0(e)){var t={type:e.type,target:mx(e.target),currentTarget:mx(e.currentTarget),...vx(e)};return typeof CustomEvent<"u"&&yr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function mx(e){try{return RO(e)?Hs(e):Object.prototype.toString.call(e)}catch(t){return"<unknown>"}}function vx(e){if(typeof e=="object"&&e!==null){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function UO(e,t=40){var n=Object.keys(GS(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return ls(n[0],t);for(let o=n.length;o>0;o--){var r=n.slice(0,o).join(", ");if(!(r.length>t))return o===n.length?r:ls(r,t)}return""}function Qr(e){var t=new Map;return Pm(e,t)}function Pm(e,t){if(ea(e)){var n=t.get(e);if(n!==void 0)return n;var r={};t.set(e,r);for(var o of Object.keys(e))typeof e[o]<"u"&&(r[o]=Pm(e[o],t));return r}if(Array.isArray(e)){var n=t.get(e);if(n!==void 0)return n;var r=[];return t.set(e,r),e.forEach(s=>{r.push(Pm(s,t))}),r}return e}function Fr(e,t){return e!=null?e:t()}function GO(e){let t,n=e[0],r=1;for(;r<e.length;){var o=e[r],i=e[r+1];if(r+=2,(o==="optionalAccess"||o==="optionalCall")&&n==null)return;o==="access"||o==="optionalAccess"?(t=n,n=i(n)):(o==="call"||o==="optionalCall")&&(n=i((...a)=>n.call(t,...a)),t=void 0)}return n}var YO=50;function YS(...e){var t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{var o=[];for(var i of n.split(`
|
|
33
|
-
`).slice(r)){var a=i.replace(/\(error: (.*)\)/,"$1");for(var s of t){var l=s(a);if(l){o.push(l);break}}}return qO(o)}}function WO(e){return Array.isArray(e)?YS(...e):e}function qO(e){if(!e.length)return[];let t=e;var n=t[0].function||"",r=t[t.length-1].function||"";return(n.indexOf("captureMessage")!==-1||n.indexOf("captureException")!==-1)&&(t=t.slice(1)),r.indexOf("sentryWrapped")!==-1&&(t=t.slice(0,-1)),t.slice(0,YO).map(o=>({...o,filename:o.filename||t[0].filename,function:o.function||"?"})).reverse()}var kp="<anonymous>";function ao(e){try{return!e||typeof e!="function"?kp:e.name||kp}catch(t){return kp}}function rg(){if(!("fetch"in be()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function Rm(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function KO(){if(!rg())return!1;var e=be();if(Rm(e.fetch))return!0;let t=!1;var n=e.document;if(n&&typeof n.createElement=="function")try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=Rm(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return t}function XO(){var e=be(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}var ze=be(),us={},gx={};function ZO(e){if(!gx[e])switch(gx[e]=!0,e){case"console":QO();break;case"dom":s4();break;case"xhr":n4();break;case"fetch":JO();break;case"history":r4();break;case"error":l4();break;case"unhandledrejection":u4();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("unknown instrumentation type:",e);return}}function Ut(e,t){us[e]=us[e]||[],us[e].push(t),ZO(e)}function En(e,t){if(!(!e||!us[e]))for(var n of us[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error(`Error while triggering instrumentation handler.
|
|
34
|
-
Type: ${e}
|
|
35
|
-
Name: ${ao(n)}
|
|
36
|
-
Error:`,r)}}function QO(){"console"in ze&&Tc.forEach(function(e){e in ze.console&&wt(ze.console,e,function(t){return function(...n){En("console",{args:n,level:e}),t&&t.apply(ze.console,n)}})})}function JO(){!KO()||wt(ze,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:e4(t),url:t4(t)},startTimestamp:Date.now()};return En("fetch",{...n}),e.apply(ze,t).then(r=>(En("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw En("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function e4(e=[]){return"Request"in ze&&yr(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function t4(e=[]){return typeof e[0]=="string"?e[0]:"Request"in ze&&yr(e[0],Request)?e[0].url:String(e[0])}function n4(){if("XMLHttpRequest"in ze){var e=XMLHttpRequest.prototype;wt(e,"open",function(t){return function(...n){var r=this,o=n[1],i=r.__sentry_xhr__={method:io(n[0])?n[0].toUpperCase():n[0],url:n[1]};io(o)&&i.method==="POST"&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var a=function(){if(r.readyState===4){try{i.status_code=r.status}catch(s){}En("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?wt(r,"onreadystatechange",function(s){return function(...l){return a(),s.apply(r,l)}}):r.addEventListener("readystatechange",a),t.apply(r,n)}}),wt(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),En("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let Ql;function r4(){if(!XO())return;var e=ze.onpopstate;ze.onpopstate=function(...n){var r=ze.location.href,o=Ql;if(Ql=r,En("history",{from:o,to:r}),e)try{return e.apply(this,n)}catch(i){}};function t(n){return function(...r){var o=r.length>2?r[2]:void 0;if(o){var i=Ql,a=String(o);Ql=a,En("history",{from:i,to:a})}return n.apply(this,r)}}wt(ze.history,"pushState",t),wt(ze.history,"replaceState",t)}var o4=1e3;let Jl,eu;function i4(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(n){}return!1}function a4(e){if(e.type!=="keypress")return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch(n){}return!0}function yx(e,t=!1){return n=>{if(!(!n||eu===n)&&!a4(n)){var r=n.type==="keypress"?"input":n.type;Jl===void 0?(e({event:n,name:r,global:t}),eu=n):i4(eu,n)&&(e({event:n,name:r,global:t}),eu=n),clearTimeout(Jl),Jl=ze.setTimeout(()=>{Jl=void 0},o4)}}}function s4(){if("document"in ze){var e=En.bind(null,"dom"),t=yx(e,!0);ze.document.addEventListener("click",t,!1),ze.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=ze[n]&&ze[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(wt(r,"addEventListener",function(o){return function(i,a,s){if(i==="click"||i=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[i]=u[i]||{refCount:0};if(!c.handler){var d=yx(e);c.handler=d,o.call(this,i,d,s)}c.refCount+=1}catch(p){}return o.call(this,i,a,s)}}),wt(r,"removeEventListener",function(o){return function(i,a,s){if(i==="click"||i=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[i];c&&(c.refCount-=1,c.refCount<=0&&(o.call(this,i,c.handler,s),c.handler=void 0,delete u[i]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch(d){}return o.call(this,i,a,s)}}))})}}let Pp=null;function l4(){Pp=ze.onerror,ze.onerror=function(e,t,n,r,o){return En("error",{column:r,error:o,line:n,msg:e,url:t}),Pp?Pp.apply(this,arguments):!1}}let Rp=null;function u4(){Rp=ze.onunhandledrejection,ze.onunhandledrejection=function(e){return En("unhandledrejection",e),Rp?Rp.apply(this,arguments):!0}}function c4(){var e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(o){if(e)return t.has(o)?!0:(t.add(o),!1);for(let a=0;a<t.length;a++){var i=t[a];if(i===o)return!0}return t.push(o),!1}function r(o){if(e)t.delete(o);else for(let i=0;i<t.length;i++)if(t[i]===o){t.splice(i,1);break}}return[n,r]}function Jr(){var e=be(),t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");var n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function WS(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function No(e){const{message:t,event_id:n}=e;if(t)return t;var r=WS(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Om(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function Gs(e,t){var n=WS(e);if(!!n){var r={type:"generic",handled:!0},o=n.mechanism;if(n.mechanism={...r,...o,...t},t&&"data"in t){var i={...o&&o.data,...t.data};n.mechanism.data=i}}}function xx(e){if(e&&e.__sentry_captured__)return!0;try{tg(e,"__sentry_captured__",!0)}catch(t){}return!1}function To(e,t=1/0,n=1/0){try{return Lm("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function qS(e,t=3,n=100*1024){var r=To(e,t);return p4(r)>n?qS(e,t-1,n):r}function Lm(e,t,n=1/0,r=1/0,o=c4()){const[i,a]=o;if(t===null||["number","boolean","string"].includes(typeof t)&&!VS(t))return t;var s=d4(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;if(n===0)return s.replace("object ","");if(i(t))return"[Circular ~]";var l=t;if(l&&typeof l.toJSON=="function")try{var u=l.toJSON();return Lm("",u,n-1,r,o)}catch(m){}var c=Array.isArray(t)?[]:{};let d=0;var p=GS(t);for(var h in p)if(!!Object.prototype.hasOwnProperty.call(p,h)){if(d>=r){c[h]="[MaxProperties ~]";break}var v=p[h];c[h]=Lm(h,v,n-1,r,o),d+=1}return a(t),c}function d4(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&t===global?"[Global]":typeof window<"u"&&t===window?"[Window]":typeof document<"u"&&t===document?"[Document]":LO(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${ao(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(n){return`**non-serializable** (${n})`}}function f4(e){return~-encodeURI(e).split(/%..|./).length}function p4(e){return f4(JSON.stringify(e))}var Kn;(function(e){var t=0;e[e.PENDING=t]="PENDING";var n=1;e[e.RESOLVED=n]="RESOLVED";var r=2;e[e.REJECTED=r]="REJECTED"})(Kn||(Kn={}));function qo(e){return new At(t=>{t(e)})}function Mm(e){return new At((t,n)=>{n(e)})}class At{__init(){this._state=Kn.PENDING}__init2(){this._handlers=[]}constructor(t){At.prototype.__init.call(this),At.prototype.__init2.call(this),At.prototype.__init3.call(this),At.prototype.__init4.call(this),At.prototype.__init5.call(this),At.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new At((r,o)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(a){o(a)}},i=>{if(!n)o(i);else try{r(n(i))}catch(a){o(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new At((n,r)=>{let o,i;return this.then(a=>{i=!1,o=a,t&&t()},a=>{i=!0,o=a,t&&t()}).then(()=>{if(i){r(o);return}n(o)})})}__init3(){this._resolve=t=>{this._setResult(Kn.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Kn.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Kn.PENDING){if(J0(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==Kn.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Kn.RESOLVED&&n[1](this._value),this._state===Kn.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function h4(e){var t=[];function n(){return e===void 0||t.length<e}function r(a){return t.splice(t.indexOf(a),1)[0]}function o(a){if(!n())return Mm(new xt("Not adding Promise due to buffer limit reached."));var s=a();return t.indexOf(s)===-1&&t.push(s),s.then(()=>r(s)).then(null,()=>r(s).then(null,()=>{})),s}function i(a){return new At((s,l)=>{let u=t.length;if(!u)return s(!0);var c=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(d=>{qo(d).then(()=>{--u||(clearTimeout(c),s(!0))},l)})})}return{$:t,add:o,drain:i}}function Op(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}var m4=["fatal","error","warning","log","info","debug"];function v4(e){return e==="warn"?"warning":m4.includes(e)?e:"log"}var Nm={nowSeconds:()=>Date.now()/1e3};function g4(){const{performance:e}=be();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function y4(){try{var e=Vr(module,"perf_hooks");return e.performance}catch(t){return}}var Lp=Md()?y4():g4(),wx=Lp===void 0?Nm:{nowSeconds:()=>(Lp.timeOrigin+Lp.now())/1e3},Nd=Nm.nowSeconds.bind(Nm),og=wx.nowSeconds.bind(wx),Ys=og,ta=(()=>{const{performance:e}=be();if(!(!e||!e.now)){var t=3600*1e3,n=e.now(),r=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=o<t,a=e.timing&&e.timing.navigationStart,s=typeof a=="number",l=s?Math.abs(a+n-r):t,u=l<t;return i||u?o<=l?e.timeOrigin:a:r}})(),x4=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function w4(e){var t=e.match(x4);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function Dd(e,t=[]){return[e,t]}function _4(e,t){const[n,r]=e;return[n,[...r,t]]}function _x(e,t){var n=e[1];n.forEach(r=>{var o=r[0].type;t(r,o)})}function Dm(e,t){var n=t||new TextEncoder;return n.encode(e)}function KS(e,t){const[n,r]=e;let o=JSON.stringify(n);function i(s){typeof o=="string"?o=typeof s=="string"?o+s:[Dm(o,t),s]:o.push(typeof s=="string"?Dm(s,t):s)}for(var a of r){const[s,l]=a;i(`
|
|
37
|
-
${JSON.stringify(s)}
|
|
38
|
-
`),i(typeof l=="string"||l instanceof Uint8Array?l:JSON.stringify(l))}return typeof o=="string"?o:E4(o)}function E4(e){var t=e.reduce((i,a)=>i+a.length,0),n=new Uint8Array(t);let r=0;for(var o of e)n.set(o,r),r+=o.length;return n}function b4(e,t){var n=typeof e.data=="string"?Dm(e.data,t):e.data;return[Qr({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var S4={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Ex(e){return S4[e]}function C4(e,t,n){var r=[{type:"client_report"},{timestamp:n||Nd(),discarded_events:e}];return Dd(t?{dsn:t}:{},[r])}var A4=60*1e3;function $4(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?A4:r-t}function T4(e,t){return e[t]||e.all||0}function k4(e,t,n=Date.now()){return T4(e,t)>n}function P4(e,{statusCode:t,headers:n},r=Date.now()){var o={...e},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(var s of i.trim().split(",")){const[d,p]=s.split(":",2);var l=parseInt(d,10),u=(isNaN(l)?60:l)*1e3;if(!p)o.all=r+u;else for(var c of p.split(";"))o[c]=r+u}else a?o.all=r+$4(a,r):t===429&&(o.all=r+60*1e3);return o}var $i="baggage",R4="sentry-",bx=/^sentry-/,O4=8192;function kc(e,t="",n=!0){return[{...e},t,n]}function L4(e){return Object.keys(e[0]).length===0}function XS(e){return e[0]}function M4(e){return e[1]}function N4(e){return e[2]}function D4(e){e[2]=!1}function F4(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],o=`${R4}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=t===""?o:`${t},${o}`;return i.length>O4?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):i},e[1])}function ZS(e,t=!1){if(!Array.isArray(e)&&!io(e)||typeof e=="number")return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("[parseBaggageHeader] Received input value of incompatible type: ",typeof e,e),kc({},"");var n=(io(e)?e:e.join(",")).split(",").map(r=>r.trim()).filter(r=>r!==""&&(t||bx.test(r)));return n.reduce(([r,o],i)=>{const[a,s]=i.split("=");if(bx.test(a)){var l=decodeURIComponent(a.split("-")[1]);return[{...r,[l]:decodeURIComponent(s)},o,!0]}else return[r,o===""?i:`${o},${i}`,!0]},[{},"",!0])}function Za(e,t){if(!e&&!t)return"";var n=t&&ZS(t,!0)||void 0,r=n&&M4(n),o=kc(e&&e[0]||{},r||"");return F4(o)}function I4(e,t){var n=ZS(e||"");return(t||!L4(n))&&D4(n),n}function j4(e){var t=og(),n={sid:Jr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>V4(n)};return e&&na(n,e),n}function na(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||og(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Jr()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function z4(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),na(e,n)}function V4(e){return Qr({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}var Sx=100;class eo{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){var n=new eo;return t&&(n._breadcrumbs=[...t._breadcrumbs],n._tags={...t._tags},n._extra={...t._extra},n._contexts={...t._contexts},n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=[...t._eventProcessors],n._requestSession=t._requestSession,n._attachments=[...t._attachments]),n}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&na(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts={...this._contexts,[t]:n},this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){var n=t(this);return n instanceof eo?n:this}return t instanceof eo?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):ea(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,n){var r=typeof n=="number"?Math.min(n,Sx):Sx;if(r<=0)return this;var o={timestamp:Nd(),...t};return this._breadcrumbs=[...this._breadcrumbs,o].slice(-r),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,n={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};var r=this._span.transaction&&this._span.transaction.name;r&&(t.tags={transaction:r,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...QS(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,o=0){return new At((i,a)=>{var s=t[o];if(n===null||typeof s!="function")i(n);else{var l=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&l===null&&W.log(`Event processor "${s.id}" dropped event`),J0(l)?l.then(u=>this._notifyEventProcessors(t,u,r,o+1).then(i)).then(null,a):this._notifyEventProcessors(t,l,r,o+1).then(i).then(null,a)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function QS(){return Z0("globalEventProcessors",()=>[])}function ig(e){QS().push(e)}var ag=4,B4=100;class ml{__init(){this._stack=[{}]}constructor(t,n=new eo,r=ag){this._version=r,ml.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){var n=this.getStackTop();n.client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){var t=eo.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){var n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:Jr(),o=new Error("Sentry syntheticException");return this._withClient((i,a)=>{i.captureException(t,{originalException:t,syntheticException:o,...n,event_id:r},a)}),r}captureMessage(t,n,r){var o=this._lastEventId=r&&r.event_id?r.event_id:Jr(),i=new Error(t);return this._withClient((a,s)=>{a.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:o},s)}),o}captureEvent(t,n){var r=n&&n.event_id?n.event_id:Jr();return t.type!=="transaction"&&(this._lastEventId=r),this._withClient((o,i)=>{o.captureEvent(t,{...n,event_id:r},i)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:o}=this.getStackTop();if(!r||!o)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=B4}=o.getOptions&&o.getOptions()||{};if(!(a<=0)){var s=Nd(),l={timestamp:s,...t},u=i?HS(()=>i(l,n)):l;u!==null&&r.addBreadcrumb(u,a)}}setUser(t){var n=this.getScope();n&&n.setUser(t)}setTags(t){var n=this.getScope();n&&n.setTags(t)}setExtras(t){var n=this.getScope();n&&n.setExtras(t)}setTag(t,n){var r=this.getScope();r&&r.setTag(t,n)}setExtra(t,n){var r=this.getScope();r&&r.setExtra(t,n)}setContext(t,n){var r=this.getScope();r&&r.setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();n&&r&&t(n)}run(t){var n=Cx(this);try{t(this)}finally{Cx(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch(r){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){return this._callExtensionMethod("startTransaction",t,n)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){var t=this.getStackTop(),n=t&&t.scope,r=n&&n.getSession();r&&z4(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:o,environment:i}=r&&r.getOptions()||{};var a=be();const{userAgent:s}=a.navigator||{};var l=j4({release:o,environment:i,...n&&{user:n.getUser()},...s&&{userAgent:s},...t});if(n){var u=n.getSession&&n.getSession();u&&u.status==="ok"&&na(u,{status:"exited"}),this.endSession(),n.setSession(l)}return l}shouldSendDefaultPii(){var t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop();if(!!t){var r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}}_withClient(t){const{scope:n,client:r}=this.getStackTop();r&&t(r,n)}_callExtensionMethod(t,...n){var r=ya(),o=r.__SENTRY__;if(o&&o.extensions&&typeof o.extensions[t]=="function")return o.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function ya(){var e=be();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function Cx(e){var t=ya(),n=Ir(t);return sg(t,e),n}function Xe(){var e=ya();return(!JS(e)||Ir(e).isOlderThan(ag))&&sg(e,new ml),Md()?H4(e):Ir(e)}function H4(e){try{var t=ya().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return Ir(e);if(!JS(n)||Ir(n).isOlderThan(ag)){var r=Ir(e).getStackTop();sg(n,new ml(r.client,eo.clone(r.scope)))}return Ir(n)}catch(o){return Ir(e)}}function JS(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Ir(e){return Z0("hub",()=>new ml,e)}function sg(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function U4(e,t){return Xe().captureException(e,{captureContext:t})}function G4(e){Xe().withScope(e)}var Y4="7";function W4(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function q4(e){return`${W4(e)}${e.projectId}/envelope/`}function K4(e,t){return HO({sentry_key:e.publicKey,sentry_version:Y4,...t&&{sentry_client:`${t.name}/${t.version}`}})}function eC(e,t={}){var n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${q4(e)}?${K4(e,r)}`}function tC(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function X4(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function Z4(e,t,n,r){var o=tC(n),i={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!r&&{dsn:eg(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return Dd(i,[a])}function Q4(e,t,n,r){var o=tC(n),i=e.type||"event";const{transactionSampling:a}=e.sdkProcessingMetadata||{},{method:s,rate:l}=a||{};X4(e,n&&n.sdk);var u=J4(e,o,r,t);delete e.sdkProcessingMetadata;var c=[{type:i,sample_rates:[{id:s,rate:l}]},e];return Dd(u,[c])}function J4(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&XS(o);return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:eg(r)},...e.type==="transaction"&&i&&{trace:Qr({...i})}}}var Ax=[];function $x(e){return e.reduce((t,n)=>(t.every(r=>n.name!==r.name)&&t.push(n),t),[])}function e9(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...$x(t)];Array.isArray(n)?r=[...r.filter(a=>n.every(s=>s.name!==a.name)),...$x(n)]:typeof n=="function"&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map(a=>a.name),i="Debug";return o.indexOf(i)!==-1&&r.push(...r.splice(o.indexOf(i),1)),r}function t9(e){var t={};return e.forEach(n=>{t[n.name]=n,Ax.indexOf(n.name)===-1&&(n.setupOnce(ig,Xe),Ax.push(n.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`Integration installed: ${n.name}`))}),t}var Tx="Not capturing exception because it's already been captured.";class Ti{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Ti.prototype.__init.call(this),Ti.prototype.__init2.call(this),Ti.prototype.__init3.call(this),Ti.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=zO(t.dsn);var n=eC(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(xx(t)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(Tx);return}let o=n&&n.event_id;return this._process(this.eventFromException(t,n).then(i=>this._captureEvent(i,n,r)).then(i=>{o=i})),o}captureMessage(t,n,r,o){let i=r&&r.event_id;var a=zS(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(a.then(s=>this._captureEvent(s,r,o)).then(s=>{i=s})),i}captureEvent(t,n,r){if(n&&n.originalException&&xx(n.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(Tx);return}let o=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(i=>{o=i})),o}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),na(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(t){var n=this._transport;return n?this._isClientDoneProcessing(t).then(r=>n.flush(t).then(o=>r&&o)):qo(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=t9(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(n){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let o=Q4(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])o=_4(o,b4(r,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(o)}}sendSession(t){if(this._dsn){var n=Z4(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n){if(this._options.sendClientReports){var r=`${t}:${n}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`Adding outcome: "${r}"`),this._outcomes[r]=this._outcomes[r]+1||1}}_updateSessionFromEvent(t,n){let r=!1,o=!1;var i=n.exception&&n.exception.values;if(i){o=!0;for(var a of i){var s=a.mechanism;if(s&&s.handled===!1){r=!0;break}}}var l=t.status==="ok",u=l&&t.errors===0||l&&r;u&&(na(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new At(n=>{let r=0;var o=1,i=setInterval(()=>{this._numProcessing==0?(clearInterval(i),n(!0)):(r+=o,t&&r>=t&&(clearInterval(i),n(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const{normalizeDepth:o=3,normalizeMaxBreadth:i=1e3}=this.getOptions();var a={...t,event_id:t.event_id||n.event_id||Jr(),timestamp:t.timestamp||Nd()};this._applyClientOptions(a),this._applyIntegrationsMetadata(a);let s=r;n.captureContext&&(s=eo.clone(s).update(n.captureContext));let l=qo(a);if(s){var u=[...n.attachments||[],...s.getAttachments()];u.length&&(n.attachments=u),l=s.applyToEvent(a,n)}return l.then(c=>typeof o=="number"&&o>0?this._normalizeEvent(c,o,i):c)}_normalizeEvent(t,n,r){if(!t)return null;var o={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(i=>({...i,...i.data&&{data:To(i.data,n,r)}}))},...t.user&&{user:To(t.user,n,r)},...t.contexts&&{contexts:To(t.contexts,n,r)},...t.extra&&{extra:To(t.extra,n,r)}};return t.contexts&&t.contexts.trace&&o.contexts&&(o.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(o.contexts.trace.data=To(t.contexts.trace.data,n,r))),t.spans&&(o.spans=t.spans.map(i=>(i.data&&(i.data=To(i.data,n,r)),i))),o}_applyClientOptions(t){var n=this.getOptions();const{environment:r,release:o,dist:i,maxValueLength:a=250}=n;"environment"in t||(t.environment="environment"in n?r:"production"),t.release===void 0&&o!==void 0&&(t.release=o),t.dist===void 0&&i!==void 0&&(t.dist=i),t.message&&(t.message=ls(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=ls(s.value,a));var l=t.request;l&&l.url&&(l.url=ls(l.url,a))}_applyIntegrationsMetadata(t){var n=Object.keys(this._integrations);n.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...n])}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(o=>o.event_id,o=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){var i=o;i.logLevel==="log"?W.log(i.message):W.warn(i)}})}_processEvent(t,n,r){const{beforeSend:o,sampleRate:i}=this.getOptions();if(!this._isEnabled())return Mm(new xt("SDK not enabled, will not capture event.","log"));var a=t.type==="transaction";return!a&&typeof i=="number"&&Math.random()>i?(this.recordDroppedEvent("sample_rate","error"),Mm(new xt(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"))):this._prepareEvent(t,n,r).then(s=>{if(s===null)throw this.recordDroppedEvent("event_processor",t.type||"error"),new xt("An event processor returned null, will not send event.","log");var l=n.data&&n.data.__sentry__===!0;if(l||a||!o)return s;var u=o(s,n);return n9(u)}).then(s=>{if(s===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new xt("`beforeSend` returned `null`, will not send event.","log");var l=r&&r.getSession();return!a&&l&&this._updateSessionFromEvent(l,s),this.sendEvent(s,n),s}).then(null,s=>{throw s instanceof xt?s:(this.captureException(s,{data:{__sentry__:!0},originalException:s}),new xt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
39
|
-
Reason: ${s}`))})}_process(t){this._numProcessing+=1,t.then(n=>(this._numProcessing-=1,n),n=>(this._numProcessing-=1,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,o]=n.split(":");return{reason:r,category:o,quantity:t[n]}})}}function n9(e){var t="`beforeSend` method has to return `null` or a valid event.";if(J0(e))return e.then(n=>{if(!(ea(n)||n===null))throw new xt(t);return n},n=>{throw new xt(`beforeSend rejected with ${n}`)});if(!(ea(e)||e===null))throw new xt(t);return e}function r9(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?W.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Xe(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}var o9=30;function nC(e,t,n=h4(e.bufferSize||o9)){let r={};var o=a=>n.drain(a);function i(a){var s=[];if(_x(a,(d,p)=>{var h=Ex(p);k4(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):s.push(d)}),s.length===0)return qo();var l=Dd(a[0],s),u=d=>{_x(l,(p,h)=>{e.recordDroppedEvent(d,Ex(h))})},c=()=>t({body:KS(l,e.textEncoder)}).then(d=>{d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=P4(r,d)},d=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error("Failed while sending event:",d),u("network_error")});return n.add(c).then(d=>d,d=>{if(d instanceof xt)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error("Skipped sending event due to full buffer"),u("queue_overflow"),qo();throw d})}return{send:i,flush:o}}var Pc="7.11.1";let kx;class Ws{constructor(){Ws.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=Ws.id}setupOnce(){kx=Function.prototype.toString,Function.prototype.toString=function(...t){var n=ng(this)||this;return kx.apply(n,t)}}}Ws.__initStatic();var i9=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class zi{static __initStatic(){this.id="InboundFilters"}__init(){this.name=zi.id}constructor(t={}){this._options=t,zi.prototype.__init.call(this)}setupOnce(t,n){var r=o=>{var i=n();if(i){var a=i.getIntegration(zi);if(a){var s=i.getClient(),l=s?s.getOptions():{},u=a9(a._options,l);return s9(o,u)?null:o}}return o};r.id=this.name,t(r)}}zi.__initStatic();function a9(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...i9],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function s9(e,t){return t.ignoreInternal&&f9(e)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to being internal Sentry Error.
|
|
40
|
-
Event: ${No(e)}`),!0):l9(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
41
|
-
Event: ${No(e)}`),!0):u9(e,t.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
42
|
-
Event: ${No(e)}.
|
|
43
|
-
Url: ${Rc(e)}`),!0):c9(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
44
|
-
Event: ${No(e)}.
|
|
45
|
-
Url: ${Rc(e)}`),!0)}function l9(e,t){return!t||!t.length?!1:d9(e).some(n=>t.some(r=>Us(n,r)))}function u9(e,t){if(!t||!t.length)return!1;var n=Rc(e);return n?t.some(r=>Us(n,r)):!1}function c9(e,t){if(!t||!t.length)return!0;var n=Rc(e);return n?t.some(r=>Us(n,r)):!0}function d9(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error(`Cannot extract message for event ${No(e)}`),[]}return[]}function f9(e){try{return e.exception.values[0].type==="SentryError"}catch(t){}return!1}function p9(e=[]){for(let n=e.length-1;n>=0;n--){var t=e[n];if(t&&t.filename!=="<anonymous>"&&t.filename!=="[native code]")return t.filename||null}return null}function Rc(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(n){}return t?p9(t):null}catch(t){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error(`Cannot extract url for event ${No(e)}`),null}}function rC(e,t){var n=lg(e,t),r={type:t&&t.name,value:g9(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function h9(e,t,n,r){var o={exception:{values:[{type:Q0(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${UO(t)}`}]},extra:{__serialized__:qS(t)}};if(n){var i=lg(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}function Mp(e,t){return{exception:{values:[rC(e,t)]}}}function lg(e,t){var n=t.stacktrace||t.stack||"",r=v9(t);try{return e(n,r)}catch(o){}return[]}var m9=/Minified React error #\d+;/i;function v9(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(m9.test(e.message))return 1}return 0}function g9(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function y9(e,t,n,r){var o=n&&n.syntheticException||void 0,i=ug(e,t,o,r);return Gs(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),qo(i)}function x9(e,t,n="info",r,o){var i=r&&r.syntheticException||void 0,a=Fm(e,t,i,o);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),qo(a)}function ug(e,t,n,r,o){let i;if(jS(t)&&t.error){var a=t;return Mp(e,a.error)}if(fx(t)||PO(t)){var s=t;if("stack"in t)i=Mp(e,t);else{var l=s.name||(fx(s)?"DOMError":"DOMException"),u=s.message?`${l}: ${s.message}`:l;i=Fm(e,u,n,r),Om(i,u)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}if(IS(t))return Mp(e,t);if(ea(t)||Q0(t)){var c=t;return i=h9(e,c,n,o),Gs(i,{synthetic:!0}),i}return i=Fm(e,t,n,r),Om(i,`${t}`,void 0),Gs(i,{synthetic:!0}),i}function Fm(e,t,n,r){var o={message:t};if(r&&n){var i=lg(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}var oC="Breadcrumbs";class qs{static __initStatic(){this.id=oC}__init(){this.name=qs.id}constructor(t){qs.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Ut("console",_9),this.options.dom&&Ut("dom",w9(this.options.dom)),this.options.xhr&&Ut("xhr",E9),this.options.fetch&&Ut("fetch",b9),this.options.history&&Ut("history",S9)}}qs.__initStatic();function w9(e){function t(n){let r,o=typeof e=="object"?e.serializeAttribute:void 0;typeof o=="string"&&(o=[o]);try{r=n.event.target?Hs(n.event.target,o):Hs(n.event,o)}catch(i){r="<unknown>"}r.length!==0&&Xe().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function _9(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:v4(e.level),message:hx(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${hx(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;Xe().addBreadcrumb(t,{input:e.args,level:e.level})}function E9(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:o}=e.xhr.__sentry_xhr__||{};Xe().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:o});return}}function b9(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Xe().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Xe().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response}))}function S9(e){var t=be();let n=e.from,r=e.to;var o=Op(t.location.href);let i=Op(n);var a=Op(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),Xe().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var yn=be();let tu;function iC(){if(tu)return tu;if(Rm(yn.fetch))return tu=yn.fetch.bind(yn);var e=yn.document;let t=yn.fetch;if(e&&typeof e.createElement=="function")try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(o){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return tu=t.bind(yn)}function C9(e,t){var n=Object.prototype.toString.call(yn&&yn.navigator)==="[object Navigator]",r=n&&typeof yn.navigator.sendBeacon=="function";if(r){var o=yn.navigator.sendBeacon.bind(yn.navigator);o(e,t)}else if(rg()){var i=iC();i(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,a=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error(a)})}}var Np=be();class A9 extends Ti{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Pc}],version:Pc},super(t),t.sendClientReports&&Np.document&&Np.document.addEventListener("visibilitychange",()=>{Np.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return y9(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return x9(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(oC);r&&r.options&&r.options.sentry&&Xe().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:No(t)},{event:t}),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){var t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("Sending outcomes:",t);var n=eC(this._dsn,this._options),r=C4(t,this._options.tunnel&&eg(this._dsn));try{C9(n,KS(r))}catch(o){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.error(o)}}}function $9(e,t=iC()){function n(r){var o={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,...e.fetchOptions};return t(e.url,o).then(i=>({statusCode:i.status,headers:{"x-sentry-rate-limits":i.headers.get("X-Sentry-Rate-Limits"),"retry-after":i.headers.get("Retry-After")}}))}return nC(e,n)}var T9=4;function k9(e){function t(n){return new At((r,o)=>{var i=new XMLHttpRequest;i.onerror=o,i.onreadystatechange=()=>{i.readyState===T9&&r({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url);for(var a in e.headers)Object.prototype.hasOwnProperty.call(e.headers,a)&&i.setRequestHeader(a,e.headers[a]);i.send(n.body)})}return nC(e,t)}var Fd="?",P9=30,R9=40,O9=50;function cg(e,t,n,r){var o={filename:e,function:t,in_app:!0};return n!==void 0&&(o.lineno=n),r!==void 0&&(o.colno=r),o}var L9=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,M9=/\((\S*)(?::(\d+))(?::(\d+))\)/,N9=e=>{var t=L9.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=M9.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[o,i]=aC(t[1]||Fd,t[2]);return cg(i,o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},D9=[P9,N9],F9=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,I9=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,j9=e=>{var t=F9.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=I9.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}let o=t[3],i=t[1]||Fd;return[i,o]=aC(i,o),cg(o,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},z9=[O9,j9],V9=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,B9=e=>{var t=V9.exec(e);return t?cg(t[2],t[1]||Fd,+t[3],t[4]?+t[4]:void 0):void 0},H9=[R9,B9],U9=[D9,z9,H9],G9=YS(...U9),aC=(e,t)=>{var n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Fd,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let Im=0;function sC(){return Im>0}function Y9(){Im+=1,setTimeout(()=>{Im-=1})}function ra(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(ng(e))return e}catch(s){return e}var o=function(){var s=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);var l=s.map(u=>ra(u,t));return e.apply(this,l)}catch(u){throw Y9(),G4(c=>{c.addEventProcessor(d=>(t.mechanism&&(Om(d,void 0,void 0),Gs(d,t.mechanism)),d.extra={...d.extra,arguments:s},d)),U4(u)}),u}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(s){}US(o,e),tg(e,"__sentry_wrapped__",o);try{var a=Object.getOwnPropertyDescriptor(o,"name");a.configurable&&Object.defineProperty(o,"name",{get(){return e.name}})}catch(s){}return o}class to{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=to.id}__init2(){this._installFunc={onerror:W9,onunhandledrejection:q9}}constructor(t){to.prototype.__init.call(this),to.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;var t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(Z9(n),r(),this._installFunc[n]=void 0)}}}to.__initStatic();function W9(){Ut("error",e=>{const[t,n,r]=cC();if(!t.getIntegration(to))return;const{msg:o,url:i,line:a,column:s,error:l}=e;if(!(sC()||l&&l.__sentry_own_request__)){var u=l===void 0&&io(o)?X9(o,i,a,s):lC(ug(n,l||o,void 0,r,!1),i,a,s);u.level="error",uC(t,l,u,"onerror")}})}function q9(){Ut("unhandledrejection",e=>{const[t,n,r]=cC();if(!t.getIntegration(to))return;let o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch(a){}if(sC()||o&&o.__sentry_own_request__)return!0;var i=zS(o)?K9(o):ug(n,o,void 0,r,!0);i.level="error",uC(t,o,i,"onunhandledrejection")})}function K9(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function X9(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=jS(e)?e.message:e,a="Error";var s=i.match(o);s&&(a=s[1],i=s[2]);var l={exception:{values:[{type:a,value:i}]}};return lC(l,t,n,r)}function lC(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=io(t)&&t.length>0?t:NO();return l.length===0&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function Z9(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`Global Handler attached: ${e}`)}function uC(e,t,n,r){Gs(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function cC(){var e=Xe(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var Q9=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Ks{static __initStatic(){this.id="TryCatch"}__init(){this.name=Ks.id}constructor(t){Ks.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=be();this._options.setTimeout&&wt(t,"setTimeout",Px),this._options.setInterval&&wt(t,"setInterval",Px),this._options.requestAnimationFrame&&wt(t,"requestAnimationFrame",J9),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&wt(XMLHttpRequest.prototype,"send",eL);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:Q9;r.forEach(tL)}}}Ks.__initStatic();function Px(e){return function(...t){var n=t[0];return t[0]=ra(n,{mechanism:{data:{function:ao(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function J9(e){return function(t){return e.apply(this,[ra(t,{mechanism:{data:{function:"requestAnimationFrame",handler:ao(e)},handled:!0,type:"instrument"}})])}}function eL(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(o=>{o in n&&typeof n[o]=="function"&&wt(n,o,function(i){var a={mechanism:{data:{function:o,handler:ao(i)},handled:!0,type:"instrument"}},s=ng(i);return s&&(a.mechanism.data.handler=ao(s)),ra(i,a)})}),e.apply(this,t)}}function tL(e){var t=be(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(wt(n,"addEventListener",function(r){return function(o,i,a){try{typeof i.handleEvent=="function"&&(i.handleEvent=ra(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ao(i),target:e},handled:!0,type:"instrument"}}))}catch(s){}return r.apply(this,[o,ra(i,{mechanism:{data:{function:"addEventListener",handler:ao(i),target:e},handled:!0,type:"instrument"}}),a])}}),wt(n,"removeEventListener",function(r){return function(o,i,a){var s=i;try{var l=s&&s.__sentry_wrapped__;l&&r.call(this,o,l,a)}catch(u){}return r.call(this,o,s,a)}}))}var nL="cause",rL=5;class Vi{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Vi.id}constructor(t={}){Vi.prototype.__init.call(this),this._key=t.key||nL,this._limit=t.limit||rL}setupOnce(){var t=Xe().getClient();!t||ig((n,r)=>{var o=Xe().getIntegration(Vi);return o?oL(t.getOptions().stackParser,o._key,o._limit,n,r):n})}}Vi.__initStatic();function oL(e,t,n,r,o){if(!r.exception||!r.exception.values||!o||!yr(o.originalException,Error))return r;var i=dC(e,n,o.originalException,t);return r.exception.values=[...i,...r.exception.values],r}function dC(e,t,n,r,o=[]){if(!yr(n[r],Error)||o.length+1>=t)return o;var i=rC(e,n[r]);return dC(e,t,n[r],r,[i,...o])}var bo=be();class Bi{constructor(){Bi.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Bi.id}setupOnce(){ig(t=>{if(Xe().getIntegration(Bi)){if(!bo.navigator&&!bo.location&&!bo.document)return t;var n=t.request&&t.request.url||bo.location&&bo.location.href;const{referrer:i}=bo.document||{},{userAgent:a}=bo.navigator||{};var r={...t.request&&t.request.headers,...i&&{Referer:i},...a&&{"User-Agent":a}},o={...n&&{url:n},headers:r};return{...t,request:o}}return t})}}Bi.__initStatic();class Hi{constructor(){Hi.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Hi.id}setupOnce(t,n){var r=o=>{var i=n().getIntegration(Hi);if(i){try{if(iL(o,i._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(a){return i._previousEvent=o}return i._previousEvent=o}return o};r.id=this.name,t(r)}}Hi.__initStatic();function iL(e,t){return t?!!(aL(e,t)||sL(e,t)):!1}function aL(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!pC(e,t)||!fC(e,t))}function sL(e,t){var n=Rx(t),r=Rx(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!pC(e,t)||!fC(e,t))}function fC(e,t){let n=Ox(e),r=Ox(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let a=0;a<r.length;a++){var o=r[a],i=n[a];if(o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1}return!0}function pC(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch(o){return!1}}function Rx(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Ox(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}var lL=[new zi,new Ws,new Ks,new qs,new to,new Vi,new Hi,new Bi];function uL(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=lL),e.release===void 0){var t=be();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);var n={...e,stackParser:WO(e.stackParser||G9),integrations:e9(e),transport:e.transport||(rg()?$9:k9)};r9(A9,n),e.autoSessionTracking&&cL()}function Lx(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function cL(){var e=be(),t=e.document;if(typeof t>"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=Xe();!n.captureSession||(Lx(n),Ut("history",({from:r,to:o})=>{r===void 0||r===o||Lx(Xe())}))}function dL(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Pc}],version:Pc},uL(e)}var hC={exports:{}},_e={};/** @license React v16.13.1
|
|
46
|
-
* react-is.production.min.js
|
|
47
|
-
*
|
|
48
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the MIT license found in the
|
|
51
|
-
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var ut=typeof Symbol=="function"&&Symbol.for,dg=ut?Symbol.for("react.element"):60103,fg=ut?Symbol.for("react.portal"):60106,Id=ut?Symbol.for("react.fragment"):60107,jd=ut?Symbol.for("react.strict_mode"):60108,zd=ut?Symbol.for("react.profiler"):60114,Vd=ut?Symbol.for("react.provider"):60109,Bd=ut?Symbol.for("react.context"):60110,pg=ut?Symbol.for("react.async_mode"):60111,Hd=ut?Symbol.for("react.concurrent_mode"):60111,Ud=ut?Symbol.for("react.forward_ref"):60112,Gd=ut?Symbol.for("react.suspense"):60113,fL=ut?Symbol.for("react.suspense_list"):60120,Yd=ut?Symbol.for("react.memo"):60115,Wd=ut?Symbol.for("react.lazy"):60116,pL=ut?Symbol.for("react.block"):60121,hL=ut?Symbol.for("react.fundamental"):60117,mL=ut?Symbol.for("react.responder"):60118,vL=ut?Symbol.for("react.scope"):60119;function Qt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case dg:switch(e=e.type,e){case pg:case Hd:case Id:case zd:case jd:case Gd:return e;default:switch(e=e&&e.$$typeof,e){case Bd:case Ud:case Wd:case Yd:case Vd:return e;default:return t}}case fg:return t}}}function mC(e){return Qt(e)===Hd}_e.AsyncMode=pg;_e.ConcurrentMode=Hd;_e.ContextConsumer=Bd;_e.ContextProvider=Vd;_e.Element=dg;_e.ForwardRef=Ud;_e.Fragment=Id;_e.Lazy=Wd;_e.Memo=Yd;_e.Portal=fg;_e.Profiler=zd;_e.StrictMode=jd;_e.Suspense=Gd;_e.isAsyncMode=function(e){return mC(e)||Qt(e)===pg};_e.isConcurrentMode=mC;_e.isContextConsumer=function(e){return Qt(e)===Bd};_e.isContextProvider=function(e){return Qt(e)===Vd};_e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===dg};_e.isForwardRef=function(e){return Qt(e)===Ud};_e.isFragment=function(e){return Qt(e)===Id};_e.isLazy=function(e){return Qt(e)===Wd};_e.isMemo=function(e){return Qt(e)===Yd};_e.isPortal=function(e){return Qt(e)===fg};_e.isProfiler=function(e){return Qt(e)===zd};_e.isStrictMode=function(e){return Qt(e)===jd};_e.isSuspense=function(e){return Qt(e)===Gd};_e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Id||e===Hd||e===zd||e===jd||e===Gd||e===fL||typeof e=="object"&&e!==null&&(e.$$typeof===Wd||e.$$typeof===Yd||e.$$typeof===Vd||e.$$typeof===Bd||e.$$typeof===Ud||e.$$typeof===hL||e.$$typeof===mL||e.$$typeof===vL||e.$$typeof===pL)};_e.typeOf=Qt;(function(e){e.exports=_e})(hC);var hg=hC.exports,gL={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},yL={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},xL={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},vC={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},mg={};mg[hg.ForwardRef]=xL;mg[hg.Memo]=vC;function Mx(e){return hg.isMemo(e)?vC:mg[e.$$typeof]||gL}var wL=Object.defineProperty,_L=Object.getOwnPropertyNames,Nx=Object.getOwnPropertySymbols,EL=Object.getOwnPropertyDescriptor,bL=Object.getPrototypeOf,Dx=Object.prototype;function gC(e,t,n){if(typeof t!="string"){if(Dx){var r=bL(t);r&&r!==Dx&&gC(e,r,n)}var o=_L(t);Nx&&(o=o.concat(Nx(t)));for(var i=Mx(e),a=Mx(t),s=0;s<o.length;++s){var l=o[s];if(!yL[l]&&!(n&&n[l])&&!(a&&a[l])&&!(i&&i[l])){var u=EL(t,l);try{wL(e,l,u)}catch(c){}}}}return e}var SL=gC,qd={exports:{}},Kd={};/**
|
|
53
|
-
* @license React
|
|
54
|
-
* react-jsx-runtime.production.min.js
|
|
55
|
-
*
|
|
56
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the MIT license found in the
|
|
59
|
-
* LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/var CL=f.exports,AL=Symbol.for("react.element"),$L=Symbol.for("react.fragment"),TL=Object.prototype.hasOwnProperty,kL=CL.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,PL={key:!0,ref:!0,__self:!0,__source:!0};function yC(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)TL.call(t,r)&&!PL.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:AL,type:e,key:i,ref:a,props:o,_owner:kL.current}}Kd.Fragment=$L;Kd.jsx=yC;Kd.jsxs=yC;(function(e){e.exports=Kd})(qd);const RL=qd.exports.Fragment,N=qd.exports.jsx,lt=qd.exports.jsxs;function vg(e){var t=Xe().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function vl(e){var t=e||Xe(),n=t.getScope();return n&&n.getTransaction()}function tt(e){return e/1e3}function OL(){Ut("error",Fx),Ut("unhandledrejection",Fx)}function Fx(){var e=vl();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class Xd{__init(){this.spans=[]}constructor(t=1e3){Xd.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class Or{__init2(){this.traceId=Jr()}__init3(){this.spanId=Jr().substring(16)}__init4(){this.startTimestamp=Ys()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(Or.prototype.__init2.call(this),Or.prototype.__init3.call(this),Or.prototype.__init4.call(this),Or.prototype.__init5.call(this),Or.prototype.__init6.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}startChild(t){var n=new Or({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n.transaction){var r=t&&t.op||"< unknown op >",o=n.transaction.name||"< unknown name >",i=n.transaction.spanId,a=`[Tracing] Starting '${r}' span on transaction '${o}' (${i}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:a},W.log(a)}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));var n=LL(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&W.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:Ys()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Qr({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=Fr(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=Fr(t.spanId,()=>this.spanId),this.startTimestamp=Fr(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=Fr(t.tags,()=>({})),this.traceId=Fr(t.traceId,()=>this.traceId),this}getTraceContext(){return Qr({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Qr({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function LL(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class Zd extends Or{__init(){this._measurements={}}constructor(t,n){super(t),Zd.prototype.__init.call(this),this._hub=n||Xe(),this._name=t.name||"",this.metadata={...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this}get name(){return this._name}set name(t){this._name=t,this.metadata.source="custom"}setName(t,n="custom"){this.name=t,this.metadata.source=n}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new Xd(t)),this.spanRecorder.add(this)}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp===void 0){if(this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var n=this._hub.getClient();n&&n.recordDroppedEvent("sample_rate","transaction");return}var r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,l)=>s.endTimestamp&&l.endTimestamp?s.endTimestamp>l.endTimestamp?s:l:s).endTimestamp);var o=this.metadata,i={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...o,baggage:this.getBaggage()},...o.source&&{transaction_info:{source:o.source}}},a=Object.keys(this._measurements).length>0;return a&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}}toContext(){var t=super.toContext();return Qr({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=Fr(t.name,()=>""),this._trimEnd=t.trimEnd,this}getBaggage(){var t=this.metadata.baggage,n=!t||N4(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=n,n}_populateBaggageWithSentryValues(t=kc({})){var n=this._hub||Xe(),r=n&&n.getClient();if(!r)return t;const{environment:o,release:i}=r.getOptions()||{},{publicKey:a}=r.getDsn()||{};var s=this.metadata&&this.metadata.transactionSampling&&this.metadata.transactionSampling.rate&&this.metadata.transactionSampling.rate.toString(),l=n.getScope();const{segment:u}=l&&l.getUser()||{};var c=this.metadata.source,d=c&&c!=="url"?this.name:void 0;return kc(Qr({environment:o,release:i,transaction:d,user_segment:u,public_key:a,trace_id:this.traceId,sample_rate:s,...XS(t)}),"",!1)}}var xC=1e3,wC=3e4,ML=5e3;class NL extends Xd{constructor(t,n,r,o){super(o),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:Ys(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class ki extends Zd{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=xC,o=wC,i=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=o,this._onScope=i,ki.prototype.__init.call(this),ki.prototype.__init2.call(this),ki.prototype.__init3.call(this),ki.prototype.__init4.call(this),i&&(Ix(n),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(a=>a.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=Ys()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(var n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var o=r.startTimestamp<t;return o||(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),o}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] No active IdleTransaction");return this._onScope&&Ix(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){var n=o=>{this._finished||this._pushActivity(o)},r=o=>{this._finished||this._popActivity(o)};this.spanRecorder=new NL(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=Ys()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},ML)}}function Ix(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function DL(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function _C(e,t,n){if(!vg(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):n.parentSampled!==void 0?(r=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(r=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),FL(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function FL(e){return VS(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function IL(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let o=new Zd(e,this);return o=_C(o,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function jL(e,t,n,r,o,i){var a=e.getClient(),s=a&&a.getOptions()||{};let l=new ki(t,e,n,r,o);return l=_C(l,s,{parentSampled:t.parentSampled,transactionContext:t,...i}),l.sampled&&l.initSpanRecorder(s._experiments&&s._experiments.maxSpans),l}function zL(){var e=ya();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=IL),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=DL))}function VL(){var e=ya();if(!!e.__SENTRY__){var t={mongodb(){var r=Vr(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=Vr(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=Vr(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=Vr(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!TO(r)).map(r=>{try{return t[r]()}catch(o){return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function BL(){zL(),Md()&&VL(),OL()}var nu=be();function HL(){nu&&nu.document?nu.document.addEventListener("visibilitychange",()=>{var e=vl();if(nu.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var gg=(e,t,n)=>{let r;return o=>{t.value>=0&&(o||n)&&(t.delta=t.value-(r||0),(t.delta||r===void 0)&&(r=t.value,e(t)))}},UL=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,yg=(e,t)=>({name:e,value:Fr(t,()=>-1),delta:0,entries:[],id:UL()}),Qd=(e,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(e==="first-input"&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver(r=>r.getEntries().map(t));return n.observe({type:e,buffered:!0}),n}}catch(r){}},Jd=(e,t)=>{var n=r=>{(r.type==="pagehide"||be().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},GL=(e,t)=>{var n=yg("CLS",0);let r,o=0,i=[];var a=l=>{if(l&&!l.hadRecentInput){var u=i[0],c=i[i.length-1];o&&i.length!==0&&l.startTime-c.startTime<1e3&&l.startTime-u.startTime<5e3?(o+=l.value,i.push(l)):(o=l.value,i=[l]),o>n.value&&(n.value=o,n.entries=i,r&&r())}},s=Qd("layout-shift",a);s&&(r=gg(e,n,t),Jd(()=>{s.takeRecords().map(a),r(!0)}))};let Bu=-1;var YL=()=>be().document.visibilityState==="hidden"?0:1/0,WL=()=>{Jd(({timeStamp:e})=>{Bu=e},!0)},xg=()=>(Bu<0&&(Bu=YL(),WL()),{get firstHiddenTime(){return Bu}}),qL=(e,t)=>{var n=xg(),r=yg("FID");let o;var i=s=>{o&&s.startTime<n.firstHiddenTime&&(r.value=s.processingStart-s.startTime,r.entries.push(s),o(!0))},a=Qd("first-input",i);a&&(o=gg(e,r,t),Jd(()=>{a.takeRecords().map(i),a.disconnect()},!0))},jx={},KL=(e,t)=>{var n=xg(),r=yg("LCP");let o;var i=l=>{var u=l.startTime;u<n.firstHiddenTime&&(r.value=u,r.entries.push(l)),o&&o()},a=Qd("largest-contentful-paint",i);if(a){o=gg(e,r,t);var s=()=>{jx[r.id]||(a.takeRecords().map(i),a.disconnect(),jx[r.id]=!0,o(!0))};["keydown","click"].forEach(l=>{addEventListener(l,s,{once:!0,capture:!0})}),Jd(s,!0)}};function ru(e){return typeof e=="number"&&isFinite(e)}function oa(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var zo=be();function EC(){return zo&&zo.addEventListener&&zo.performance}let zx=0,Ae={},Tn,cs;function XL(e=!1){var t=EC();t&&ta&&(t.mark&&zo.performance.mark("sentry-tracing-init"),QL(),JL(e),eM())}function ZL(){var e=t=>{var n=vl();if(!!n){var r=tt(ta+t.startTime),o=tt(t.duration);n.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:r,endTimestamp:r+o})}};Qd("longtask",e)}function QL(){GL(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding CLS"),Ae.cls={value:e.value,unit:""},cs=t)})}function JL(e){KL(t=>{var n=t.entries.pop();if(!!n){var r=tt(ta),o=tt(n.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding LCP"),Ae.lcp={value:t.value,unit:"millisecond"},Ae["mark.lcp"]={value:r+o,unit:"second"},Tn=n}},e)}function eM(){qL(e=>{var t=e.entries.pop();if(!!t){var n=tt(ta),r=tt(t.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding FID"),Ae.fid={value:e.value,unit:"millisecond"},Ae["mark.fid"]={value:n+r,unit:"second"}}})}function tM(e){var t=EC();if(!t||!zo.performance.getEntries||!ta)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Tracing] Adding & adjusting spans using Performance API");var n=tt(ta),r=t.getEntries();let o,i;r.slice(zx).forEach(a=>{var s=tt(a.startTime),l=tt(a.duration);if(!(e.op==="navigation"&&n+s<e.startTimestamp))switch(a.entryType){case"navigation":{rM(e,a,n),o=n+tt(a.responseStart),i=n+tt(a.requestStart);break}case"mark":case"paint":case"measure":{var u=nM(e,a,s,l,n),c=xg(),d=a.startTime<c.firstHiddenTime;a.name==="first-paint"&&d&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding FP"),Ae.fp={value:a.startTime,unit:"millisecond"},Ae["mark.fp"]={value:u,unit:"second"}),a.name==="first-contentful-paint"&&d&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding FCP"),Ae.fcp={value:a.startTime,unit:"millisecond"},Ae["mark.fcp"]={value:u,unit:"second"});break}case"resource":{var p=a.name.replace(zo.location.origin,"");iM(e,a,p,s,l,n);break}}}),zx=Math.max(r.length-1,0),aM(e),e.op==="pageload"&&(typeof o=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding TTFB"),Ae.ttfb={value:(o-e.startTimestamp)*1e3,unit:"millisecond"},typeof i=="number"&&i<=o&&(Ae["ttfb.requestTime"]={value:(o-i)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(a=>{if(!(!Ae[a]||n>=e.startTimestamp)){var s=Ae[a].value,l=n+tt(s),u=Math.abs((l-e.startTimestamp)*1e3),c=u-s;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Measurements] Normalized ${a} from ${s} to ${u} (${c})`),Ae[a].value=u}}),Ae["mark.fid"]&&Ae.fid&&oa(e,{description:"first input delay",endTimestamp:Ae["mark.fid"].value+tt(Ae.fid.value),op:"web.vitals",startTimestamp:Ae["mark.fid"].value}),"fcp"in Ae||delete Ae.cls,Object.keys(Ae).forEach(a=>{e.setMeasurement(a,Ae[a].value,Ae[a].unit)}),sM(e)),Tn=void 0,cs=void 0,Ae={}}function nM(e,t,n,r,o){var i=o+n,a=i+r;return oa(e,{description:t.name,endTimestamp:a,op:t.entryType,startTimestamp:i}),i}function rM(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{ou(e,t,r,n)}),ou(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),ou(e,t,"fetch",n,"cache","domainLookupStart"),ou(e,t,"domainLookup",n,"DNS"),oM(e,t,n)}function ou(e,t,n,r,o,i){var a=i?t[i]:t[`${n}End`],s=t[`${n}Start`];!s||!a||oa(e,{op:"browser",description:Fr(o,()=>n),startTimestamp:r+tt(s),endTimestamp:r+tt(a)})}function oM(e,t,n){oa(e,{op:"browser",description:"request",startTimestamp:n+tt(t.requestStart),endTimestamp:n+tt(t.responseEnd)}),oa(e,{op:"browser",description:"response",startTimestamp:n+tt(t.responseStart),endTimestamp:n+tt(t.responseEnd)})}function iM(e,t,n,r,o,i){if(!(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")){var a={};"transferSize"in t&&(a["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(a["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(a["Decoded Body Size"]=t.decodedBodySize);var s=i+r,l=s+o;oa(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:s,data:a})}}function aM(e){var t=zo.navigator;if(!!t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),ru(n.rtt)&&(Ae["connection.rtt"]={value:n.rtt,unit:"millisecond"}),ru(n.downlink)&&(Ae["connection.downlink"]={value:n.downlink,unit:""})),ru(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),ru(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}}function sM(e){Tn&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding LCP Data"),Tn.element&&e.setTag("lcp.element",Hs(Tn.element)),Tn.id&&e.setTag("lcp.id",Tn.id),Tn.url&&e.setTag("lcp.url",Tn.url.trim().slice(0,200)),e.setTag("lcp.size",Tn.size)),cs&&cs.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log("[Measurements] Adding CLS Data"),cs.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Hs(t.node))))}var lM=["localhost",/^\//],Oc={traceFetch:!0,traceXHR:!0,tracingOrigins:lM};function uM(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:o}={...Oc,...e};var i={},a=u=>{if(i[u])return i[u];var c=r;return i[u]=c.some(d=>Us(u,d))&&!Us(u,"sentry_key"),i[u]};let s=a;typeof o=="function"&&(s=u=>a(u)&&o(u));var l={};t&&Ut("fetch",u=>{cM(u,s,l)}),n&&Ut("xhr",u=>{fM(u,s,l)})}function cM(e,t,n){if(!(!vg()||!(e.fetchData&&t(e.fetchData.url)))){if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;var o=n[r];o&&(e.response?o.setHttpStatus(e.response.status):e.error&&o.setStatus("internal_error"),o.finish(),delete n[r]);return}var i=vl();if(i){var o=i.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=o.spanId,n[o.spanId]=o;var a=e.args[0]=e.args[0],s=e.args[1]=e.args[1]||{};s.headers=dM(a,i.getBaggage(),o,s)}}}function dM(e,t,n,r){let o=r.headers;if(yr(e,Request)&&(o=e.headers),o)if(typeof o.append=="function")o.append("sentry-trace",n.toTraceparent()),o.append($i,Za(t,o.get($i)));else if(Array.isArray(o)){const[,i]=o.find(([a,s])=>a===$i);o=[...o,["sentry-trace",n.toTraceparent()],[$i,Za(t,i)]]}else o={...o,"sentry-trace":n.toTraceparent(),baggage:Za(t,o.baggage)};else o={"sentry-trace":n.toTraceparent(),baggage:Za(t)};return o}function fM(e,t,n){if(!(!vg()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))){var r=e.xhr.__sentry_xhr__;if(e.endTimestamp){var o=e.xhr.__sentry_xhr_span_id__;if(!o)return;var i=n[o];i&&(i.setHttpStatus(r.status_code),i.finish(),delete n[o]);return}var a=vl();if(a){var i=a.startChild({data:{...r.data,type:"xhr",method:r.method,url:r.url},description:`${r.method} ${r.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=i.spanId,n[e.xhr.__sentry_xhr_span_id__]=i,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",i.toTraceparent());var s=e.xhr.getRequestHeader&&e.xhr.getRequestHeader($i);e.xhr.setRequestHeader($i,Za(a.getBaggage(),s))}catch(u){}}}}var Va=be();function pM(e,t=!0,n=!0){if(!Va||!Va.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("Could not initialize routing instrumentation due to invalid location");return}let r=Va.location.href,o;t&&(o=e({name:Va.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Ut("history",({to:i,from:a})=>{if(a===void 0&&r&&r.indexOf(i)!==-1){r=void 0;return}a!==i&&(r=void 0,o&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Finishing current transaction with op: ${o.op}`),o.finish()),o=e({name:Va.location.pathname,op:"navigation",metadata:{source:"url"}}))})}var hM="BrowserTracing",mM={idleTimeout:xC,finalTimeout:wC,markBackgroundTransactions:!0,routingInstrumentation:pM,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...Oc};class wg{__init(){this.name=hM}constructor(t){wg.prototype.__init.call(this);let n=Oc.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options={...mM,...t,tracingOrigins:n};const{_metricOptions:r}=this.options;XL(r&&r._reportAllChanges),GO([this,"access",o=>o.options,"access",o=>o._experiments,"optionalAccess",o=>o.enableLongTask])&&ZL()}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] We added a reasonable default for you: ${Oc.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:o,startTransactionOnPageLoad:i,markBackgroundTransactions:a,traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c}=this.options;r(d=>this._createRouteTransaction(d),i,o),a&&HL(),uM({traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:o}=this.options;var i=t.op==="pageload"?vM():void 0,a={...t,...i,...i&&{metadata:{...t.metadata,...i.metadata}},trimEnd:!0},s=typeof n=="function"?n(a):a,l=s===void 0?{...a,sampled:!1}:s;l.metadata=l.name!==a.name?{...l.metadata,source:"custom"}:l.metadata,l.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&W.log(`[Tracing] Starting ${l.op} transaction on scope`);var u=this._getCurrentHub();const{location:c}=be();var d=jL(u,l,r,o,!0,{location:c});return d.registerBeforeFinishCallback(p=>{tM(p),p.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),d}}function vM(){var e=Vx("sentry-trace"),t=Vx("baggage"),n=e?w4(e):void 0,r=I4(t,e);if(n||r)return{...n&&n,...r&&{metadata:{baggage:r}}}}function Vx(e){var t=be();if(t.document&&t.document.querySelector){var n=t.document.querySelector(`meta[name=${e}]`);return n?n.getAttribute("content"):null}else return null}(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__)&&BL();var _g={exports:{}},Ee={};/**
|
|
61
|
-
* @license React
|
|
62
|
-
* react-is.production.min.js
|
|
63
|
-
*
|
|
64
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
65
|
-
*
|
|
66
|
-
* This source code is licensed under the MIT license found in the
|
|
67
|
-
* LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/var Eg=Symbol.for("react.element"),bg=Symbol.for("react.portal"),ef=Symbol.for("react.fragment"),tf=Symbol.for("react.strict_mode"),nf=Symbol.for("react.profiler"),rf=Symbol.for("react.provider"),of=Symbol.for("react.context"),gM=Symbol.for("react.server_context"),af=Symbol.for("react.forward_ref"),sf=Symbol.for("react.suspense"),lf=Symbol.for("react.suspense_list"),uf=Symbol.for("react.memo"),cf=Symbol.for("react.lazy"),yM=Symbol.for("react.offscreen"),bC;bC=Symbol.for("react.module.reference");function sn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Eg:switch(e=e.type,e){case ef:case nf:case tf:case sf:case lf:return e;default:switch(e=e&&e.$$typeof,e){case gM:case of:case af:case cf:case uf:case rf:return e;default:return t}}case bg:return t}}}Ee.ContextConsumer=of;Ee.ContextProvider=rf;Ee.Element=Eg;Ee.ForwardRef=af;Ee.Fragment=ef;Ee.Lazy=cf;Ee.Memo=uf;Ee.Portal=bg;Ee.Profiler=nf;Ee.StrictMode=tf;Ee.Suspense=sf;Ee.SuspenseList=lf;Ee.isAsyncMode=function(){return!1};Ee.isConcurrentMode=function(){return!1};Ee.isContextConsumer=function(e){return sn(e)===of};Ee.isContextProvider=function(e){return sn(e)===rf};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Eg};Ee.isForwardRef=function(e){return sn(e)===af};Ee.isFragment=function(e){return sn(e)===ef};Ee.isLazy=function(e){return sn(e)===cf};Ee.isMemo=function(e){return sn(e)===uf};Ee.isPortal=function(e){return sn(e)===bg};Ee.isProfiler=function(e){return sn(e)===nf};Ee.isStrictMode=function(e){return sn(e)===tf};Ee.isSuspense=function(e){return sn(e)===sf};Ee.isSuspenseList=function(e){return sn(e)===lf};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ef||e===nf||e===tf||e===sf||e===lf||e===yM||typeof e=="object"&&e!==null&&(e.$$typeof===cf||e.$$typeof===uf||e.$$typeof===rf||e.$$typeof===of||e.$$typeof===af||e.$$typeof===bC||e.getModuleId!==void 0)};Ee.typeOf=sn;(function(e){e.exports=Ee})(_g);var xM=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),s=Object.keys(n);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var c=a[u];if(!l(c))return!1;var d=t[c],p=n[c];if(i=r?r.call(o,d,p,c):void 0,i===!1||i===void 0&&d!==p)return!1}return!0};function wM(e){function t(L,P,T,M,A){for(var K=0,z=0,ce=0,ae=0,fe,ne,Se=0,Pe=0,se,Re=se=fe=0,ee=0,pe=0,Ue=0,me=0,Ot=T.length,Yn=Ot-1,Ce,Q="",ve="",Je="",un="",ht;ee<Ot;){if(ne=T.charCodeAt(ee),ee===Yn&&z+ae+ce+K!==0&&(z!==0&&(ne=z===47?10:47),ae=ce=K=0,Ot++,Yn++),z+ae+ce+K===0){if(ee===Yn&&(0<pe&&(Q=Q.replace(p,"")),0<Q.trim().length)){switch(ne){case 32:case 9:case 59:case 13:case 10:break;default:Q+=T.charAt(ee)}ne=59}switch(ne){case 123:for(Q=Q.trim(),fe=Q.charCodeAt(0),se=1,me=++ee;ee<Ot;){switch(ne=T.charCodeAt(ee)){case 123:se++;break;case 125:se--;break;case 47:switch(ne=T.charCodeAt(ee+1)){case 42:case 47:e:{for(Re=ee+1;Re<Yn;++Re)switch(T.charCodeAt(Re)){case 47:if(ne===42&&T.charCodeAt(Re-1)===42&&ee+2!==Re){ee=Re+1;break e}break;case 10:if(ne===47){ee=Re+1;break e}}ee=Re}}break;case 91:ne++;case 40:ne++;case 34:case 39:for(;ee++<Yn&&T.charCodeAt(ee)!==ne;);}if(se===0)break;ee++}switch(se=T.substring(me,ee),fe===0&&(fe=(Q=Q.replace(d,"").trim()).charCodeAt(0)),fe){case 64:switch(0<pe&&(Q=Q.replace(p,"")),ne=Q.charCodeAt(1),ne){case 100:case 109:case 115:case 45:pe=P;break;default:pe=ue}if(se=t(P,pe,se,ne,A+1),me=se.length,0<V&&(pe=n(ue,Q,Ue),ht=s(3,se,pe,P,G,F,me,ne,A,M),Q=pe.join(""),ht!==void 0&&(me=(se=ht.trim()).length)===0&&(ne=0,se="")),0<me)switch(ne){case 115:Q=Q.replace(b,a);case 100:case 109:case 45:se=Q+"{"+se+"}";break;case 107:Q=Q.replace(g,"$1 $2"),se=Q+"{"+se+"}",se=te===1||te===2&&i("@"+se,3)?"@-webkit-"+se+"@"+se:"@"+se;break;default:se=Q+se,M===112&&(se=(ve+=se,""))}else se="";break;default:se=t(P,n(P,Q,Ue),se,M,A+1)}Je+=se,se=Ue=pe=Re=fe=0,Q="",ne=T.charCodeAt(++ee);break;case 125:case 59:if(Q=(0<pe?Q.replace(p,""):Q).trim(),1<(me=Q.length))switch(Re===0&&(fe=Q.charCodeAt(0),fe===45||96<fe&&123>fe)&&(me=(Q=Q.replace(" ",":")).length),0<V&&(ht=s(1,Q,P,L,G,F,ve.length,M,A,M))!==void 0&&(me=(Q=ht.trim()).length)===0&&(Q="\0\0"),fe=Q.charCodeAt(0),ne=Q.charCodeAt(1),fe){case 0:break;case 64:if(ne===105||ne===99){un+=Q+T.charAt(ee);break}default:Q.charCodeAt(me-1)!==58&&(ve+=o(Q,fe,ne,Q.charCodeAt(2)))}Ue=pe=Re=fe=0,Q="",ne=T.charCodeAt(++ee)}}switch(ne){case 13:case 10:z===47?z=0:1+fe===0&&M!==107&&0<Q.length&&(pe=1,Q+="\0"),0<V*R&&s(0,Q,P,L,G,F,ve.length,M,A,M),F=1,G++;break;case 59:case 125:if(z+ae+ce+K===0){F++;break}default:switch(F++,Ce=T.charAt(ee),ne){case 9:case 32:if(ae+K+z===0)switch(Se){case 44:case 58:case 9:case 32:Ce="";break;default:ne!==32&&(Ce=" ")}break;case 0:Ce="\\0";break;case 12:Ce="\\f";break;case 11:Ce="\\v";break;case 38:ae+z+K===0&&(pe=Ue=1,Ce="\f"+Ce);break;case 108:if(ae+z+K+H===0&&0<Re)switch(ee-Re){case 2:Se===112&&T.charCodeAt(ee-3)===58&&(H=Se);case 8:Pe===111&&(H=Pe)}break;case 58:ae+z+K===0&&(Re=ee);break;case 44:z+ce+ae+K===0&&(pe=1,Ce+="\r");break;case 34:case 39:z===0&&(ae=ae===ne?0:ae===0?ne:ae);break;case 91:ae+z+ce===0&&K++;break;case 93:ae+z+ce===0&&K--;break;case 41:ae+z+K===0&&ce--;break;case 40:if(ae+z+K===0){if(fe===0)switch(2*Se+3*Pe){case 533:break;default:fe=1}ce++}break;case 64:z+ce+ae+K+Re+se===0&&(se=1);break;case 42:case 47:if(!(0<ae+K+ce))switch(z){case 0:switch(2*ne+3*T.charCodeAt(ee+1)){case 235:z=47;break;case 220:me=ee,z=42}break;case 42:ne===47&&Se===42&&me+2!==ee&&(T.charCodeAt(me+2)===33&&(ve+=T.substring(me,ee+1)),Ce="",z=0)}}z===0&&(Q+=Ce)}Pe=Se,Se=ne,ee++}if(me=ve.length,0<me){if(pe=P,0<V&&(ht=s(2,ve,pe,L,G,F,me,M,A,M),ht!==void 0&&(ve=ht).length===0))return un+ve+Je;if(ve=pe.join(",")+"{"+ve+"}",te*H!==0){switch(te!==2||i(ve,2)||(H=0),H){case 111:ve=ve.replace(_,":-moz-$1")+ve;break;case 112:ve=ve.replace(x,"::-webkit-input-$1")+ve.replace(x,"::-moz-$1")+ve.replace(x,":-ms-input-$1")+ve}H=0}}return un+ve+Je}function n(L,P,T){var M=P.trim().split(w);P=M;var A=M.length,K=L.length;switch(K){case 0:case 1:var z=0;for(L=K===0?"":L[0]+" ";z<A;++z)P[z]=r(L,P[z],T).trim();break;default:var ce=z=0;for(P=[];z<A;++z)for(var ae=0;ae<K;++ae)P[ce++]=r(L[ae]+" ",M[z],T).trim()}return P}function r(L,P,T){var M=P.charCodeAt(0);switch(33>M&&(M=(P=P.trim()).charCodeAt(0)),M){case 38:return P.replace(y,"$1"+L.trim());case 58:return L.trim()+P.replace(y,"$1"+L.trim());default:if(0<1*T&&0<P.indexOf("\f"))return P.replace(y,(L.charCodeAt(0)===58?"":"$1")+L.trim())}return L+P}function o(L,P,T,M){var A=L+";",K=2*P+3*T+4*M;if(K===944){L=A.indexOf(":",9)+1;var z=A.substring(L,A.length-1).trim();return z=A.substring(0,L).trim()+z+";",te===1||te===2&&i(z,1)?"-webkit-"+z+z:z}if(te===0||te===2&&!i(A,1))return A;switch(K){case 1015:return A.charCodeAt(10)===97?"-webkit-"+A+A:A;case 951:return A.charCodeAt(3)===116?"-webkit-"+A+A:A;case 963:return A.charCodeAt(5)===110?"-webkit-"+A+A:A;case 1009:if(A.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+A+A;case 978:return"-webkit-"+A+"-moz-"+A+A;case 1019:case 983:return"-webkit-"+A+"-moz-"+A+"-ms-"+A+A;case 883:if(A.charCodeAt(8)===45)return"-webkit-"+A+A;if(0<A.indexOf("image-set(",11))return A.replace(D,"$1-webkit-$2")+A;break;case 932:if(A.charCodeAt(4)===45)switch(A.charCodeAt(5)){case 103:return"-webkit-box-"+A.replace("-grow","")+"-webkit-"+A+"-ms-"+A.replace("grow","positive")+A;case 115:return"-webkit-"+A+"-ms-"+A.replace("shrink","negative")+A;case 98:return"-webkit-"+A+"-ms-"+A.replace("basis","preferred-size")+A}return"-webkit-"+A+"-ms-"+A+A;case 964:return"-webkit-"+A+"-ms-flex-"+A+A;case 1023:if(A.charCodeAt(8)!==99)break;return z=A.substring(A.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+z+"-webkit-"+A+"-ms-flex-pack"+z+A;case 1005:return v.test(A)?A.replace(h,":-webkit-")+A.replace(h,":-moz-")+A:A;case 1e3:switch(z=A.substring(13).trim(),P=z.indexOf("-")+1,z.charCodeAt(0)+z.charCodeAt(P)){case 226:z=A.replace(E,"tb");break;case 232:z=A.replace(E,"tb-rl");break;case 220:z=A.replace(E,"lr");break;default:return A}return"-webkit-"+A+"-ms-"+z+A;case 1017:if(A.indexOf("sticky",9)===-1)break;case 975:switch(P=(A=L).length-10,z=(A.charCodeAt(P)===33?A.substring(0,P):A).substring(L.indexOf(":",7)+1).trim(),K=z.charCodeAt(0)+(z.charCodeAt(7)|0)){case 203:if(111>z.charCodeAt(8))break;case 115:A=A.replace(z,"-webkit-"+z)+";"+A;break;case 207:case 102:A=A.replace(z,"-webkit-"+(102<K?"inline-":"")+"box")+";"+A.replace(z,"-webkit-"+z)+";"+A.replace(z,"-ms-"+z+"box")+";"+A}return A+";";case 938:if(A.charCodeAt(5)===45)switch(A.charCodeAt(6)){case 105:return z=A.replace("-items",""),"-webkit-"+A+"-webkit-box-"+z+"-ms-flex-"+z+A;case 115:return"-webkit-"+A+"-ms-flex-item-"+A.replace(C,"")+A;default:return"-webkit-"+A+"-ms-flex-line-pack"+A.replace("align-content","").replace(C,"")+A}break;case 973:case 989:if(A.charCodeAt(3)!==45||A.charCodeAt(4)===122)break;case 931:case 953:if(k.test(L)===!0)return(z=L.substring(L.indexOf(":")+1)).charCodeAt(0)===115?o(L.replace("stretch","fill-available"),P,T,M).replace(":fill-available",":stretch"):A.replace(z,"-webkit-"+z)+A.replace(z,"-moz-"+z.replace("fill-",""))+A;break;case 962:if(A="-webkit-"+A+(A.charCodeAt(5)===102?"-ms-"+A:"")+A,T+M===211&&A.charCodeAt(13)===105&&0<A.indexOf("transform",10))return A.substring(0,A.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+A}return A}function i(L,P){var T=L.indexOf(P===1?":":"{"),M=L.substring(0,P!==3?T:10);return T=L.substring(T+1,L.length-1),X(P!==2?M:M.replace($,"$1"),T,P)}function a(L,P){var T=o(P,P.charCodeAt(0),P.charCodeAt(1),P.charCodeAt(2));return T!==P+";"?T.replace(S," or ($1)").substring(4):"("+P+")"}function s(L,P,T,M,A,K,z,ce,ae,fe){for(var ne=0,Se=P,Pe;ne<V;++ne)switch(Pe=ie[ne].call(c,L,Se,T,M,A,K,z,ce,ae,fe)){case void 0:case!1:case!0:case null:break;default:Se=Pe}if(Se!==P)return Se}function l(L){switch(L){case void 0:case null:V=ie.length=0;break;default:if(typeof L=="function")ie[V++]=L;else if(typeof L=="object")for(var P=0,T=L.length;P<T;++P)l(L[P]);else R=!!L|0}return l}function u(L){return L=L.prefix,L!==void 0&&(X=null,L?typeof L!="function"?te=1:(te=2,X=L):te=0),u}function c(L,P){var T=L;if(33>T.charCodeAt(0)&&(T=T.trim()),Y=T,T=[Y],0<V){var M=s(-1,P,T,T,G,F,0,0,0,0);M!==void 0&&typeof M=="string"&&(P=M)}var A=t(ue,T,P,0,0);return 0<V&&(M=s(-2,A,T,T,G,F,A.length,0,0,0),M!==void 0&&(A=M)),Y="",H=0,F=G=1,A}var d=/^\0+/g,p=/[\0\r\f]/g,h=/: */g,v=/zoo|gra/,m=/([,: ])(transform)/g,w=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,x=/::(place)/g,_=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,C=/-self|flex-/g,$=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,F=1,G=1,H=0,te=1,ue=[],ie=[],V=0,X=null,R=0,Y="";return c.use=l,c.set=u,e!==void 0&&u(e),c}var _M={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function EM(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var bM=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Bx=EM(function(e){return bM.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Mn(){return(Mn=Object.assign||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}).apply(this,arguments)}var Hx=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},jm=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!_g.exports.typeOf(e)},Lc=Object.freeze([]),no=Object.freeze({});function Xs(e){return typeof e=="function"}function Ux(e){return e.displayName||e.name||"Component"}function Sg(e){return e&&typeof e.styledComponentId=="string"}var ia=typeof process<"u"&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Cg=typeof window<"u"&&"HTMLElement"in window,SM=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:!1),CM={};function gl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var AM=function(){function e(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=e.prototype;return t.indexOfGroup=function(n){for(var r=0,o=0;o<n;o++)r+=this.groupSizes[o];return r},t.insertRules=function(n,r){if(n>=this.groupSizes.length){for(var o=this.groupSizes,i=o.length,a=i;n>=a;)(a<<=1)<0&&gl(16,""+n);this.groupSizes=new Uint32Array(a),this.groupSizes.set(o),this.length=a;for(var s=i;s<a;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(n+1),u=0,c=r.length;u<c;u++)this.tag.insertRule(l,r[u])&&(this.groupSizes[n]++,l++)},t.clearGroup=function(n){if(n<this.length){var r=this.groupSizes[n],o=this.indexOfGroup(n),i=o+r;this.groupSizes[n]=0;for(var a=o;a<i;a++)this.tag.deleteRule(o)}},t.getGroup=function(n){var r="";if(n>=this.length||this.groupSizes[n]===0)return r;for(var o=this.groupSizes[n],i=this.indexOfGroup(n),a=i+o,s=i;s<a;s++)r+=this.tag.getRule(s)+`/*!sc*/
|
|
69
|
-
`;return r},e}(),Hu=new Map,Mc=new Map,ds=1,iu=function(e){if(Hu.has(e))return Hu.get(e);for(;Mc.has(ds);)ds++;var t=ds++;return Hu.set(e,t),Mc.set(t,e),t},$M=function(e){return Mc.get(e)},TM=function(e,t){t>=ds&&(ds=t+1),Hu.set(e,t),Mc.set(t,e)},kM="style["+ia+'][data-styled-version="5.3.5"]',PM=new RegExp("^"+ia+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),RM=function(e,t,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},OM=function(e,t){for(var n=(t.textContent||"").split(`/*!sc*/
|
|
70
|
-
`),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(PM);if(s){var l=0|parseInt(s[1],10),u=s[2];l!==0&&(TM(u,l),RM(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},LM=function(){return typeof window<"u"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},SC=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(s){for(var l=s.childNodes,u=l.length;u>=0;u--){var c=l[u];if(c&&c.nodeType===1&&c.hasAttribute(ia))return c}}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(ia,"active"),r.setAttribute("data-styled-version","5.3.5");var a=LM();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},MM=function(){function e(n){var r=this.element=SC(n);r.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var i=document.styleSheets,a=0,s=i.length;a<s;a++){var l=i[a];if(l.ownerNode===o)return l}gl(17)}(r),this.length=0}var t=e.prototype;return t.insertRule=function(n,r){try{return this.sheet.insertRule(r,n),this.length++,!0}catch(o){return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var r=this.sheet.cssRules[n];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e}(),NM=function(){function e(n){var r=this.element=SC(n);this.nodes=r.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(n,r){if(n<=this.length&&n>=0){var o=document.createTextNode(r),i=this.nodes[n];return this.element.insertBefore(o,i||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n<this.length?this.nodes[n].textContent:""},e}(),DM=function(){function e(n){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(n,r){return n<=this.length&&(this.rules.splice(n,0,r),this.length++,!0)},t.deleteRule=function(n){this.rules.splice(n,1),this.length--},t.getRule=function(n){return n<this.length?this.rules[n]:""},e}(),Gx=Cg,FM={isServer:!Cg,useCSSOMInjection:!SM},Nc=function(){function e(n,r,o){n===void 0&&(n=no),r===void 0&&(r={}),this.options=Mn({},FM,{},n),this.gs=r,this.names=new Map(o),this.server=!!n.isServer,!this.server&&Cg&&Gx&&(Gx=!1,function(i){for(var a=document.querySelectorAll(kM),s=0,l=a.length;s<l;s++){var u=a[s];u&&u.getAttribute(ia)!=="active"&&(OM(i,u),u.parentNode&&u.parentNode.removeChild(u))}}(this))}e.registerId=function(n){return iu(n)};var t=e.prototype;return t.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(Mn({},this.options,{},n),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},t.getTag=function(){return this.tag||(this.tag=(o=(r=this.options).isServer,i=r.useCSSOMInjection,a=r.target,n=o?new DM(a):i?new MM(a):new NM(a),new AM(n)));var n,r,o,i,a},t.hasNameForId=function(n,r){return this.names.has(n)&&this.names.get(n).has(r)},t.registerName=function(n,r){if(iu(n),this.names.has(n))this.names.get(n).add(r);else{var o=new Set;o.add(r),this.names.set(n,o)}},t.insertRules=function(n,r,o){this.registerName(n,r),this.getTag().insertRules(iu(n),o)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(iu(n)),this.clearNames(n)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(n){for(var r=n.getTag(),o=r.length,i="",a=0;a<o;a++){var s=$M(a);if(s!==void 0){var l=n.names.get(s),u=r.getGroup(a);if(l&&u&&l.size){var c=ia+".g"+a+'[id="'+s+'"]',d="";l!==void 0&&l.forEach(function(p){p.length>0&&(d+=p+",")}),i+=""+u+c+'{content:"'+d+`"}/*!sc*/
|
|
71
|
-
`}}}return i}(this)},e}(),IM=/(a)(d)/gi,Yx=function(e){return String.fromCharCode(e+(e>25?39:97))};function zm(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Yx(t%52)+n;return(Yx(t%52)+n).replace(IM,"$1-$2")}var Pi=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},CC=function(e){return Pi(5381,e)};function AC(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Xs(n)&&!Sg(n))return!1}return!0}var jM=CC("5.3.5"),zM=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&AC(t),this.componentId=n,this.baseHash=Pi(jM,n),this.baseStyle=r,Nc.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(t,n,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(o,this.staticRulesId))i.push(this.staticRulesId);else{var a=Ko(this.rules,t,n,r).join(""),s=zm(Pi(this.baseHash,a)>>>0);if(!n.hasNameForId(o,s)){var l=r(a,"."+s,void 0,o);n.insertRules(o,s,l)}i.push(s),this.staticRulesId=s}else{for(var u=this.rules.length,c=Pi(this.baseHash,r.hash),d="",p=0;p<u;p++){var h=this.rules[p];if(typeof h=="string")d+=h;else if(h){var v=Ko(h,t,n,r),m=Array.isArray(v)?v.join(""):v;c=Pi(c,m+p),d+=m}}if(d){var w=zm(c>>>0);if(!n.hasNameForId(o,w)){var y=r(d,"."+w,void 0,o);n.insertRules(o,w,y)}i.push(w)}}return i.join(" ")},e}(),VM=/^\s*\/\/.*$/gm,BM=[":","[",".","#"];function $C(e){var t,n,r,o,i=e===void 0?no:e,a=i.options,s=a===void 0?no:a,l=i.plugins,u=l===void 0?Lc:l,c=new wM(s),d=[],p=function(m){function w(y){if(y)try{m(y+"}")}catch(g){}}return function(y,g,x,_,E,b,S,C,$,k){switch(y){case 1:if($===0&&g.charCodeAt(0)===64)return m(g+";"),"";break;case 2:if(C===0)return g+"/*|*/";break;case 3:switch(C){case 102:case 112:return m(x[0]+g),"";default:return g+(k===0?"/*|*/":"")}case-2:g.split("/*|*/}").forEach(w)}}}(function(m){d.push(m)}),h=function(m,w,y){return w===0&&BM.indexOf(y[n.length])!==-1||y.match(o)?m:"."+t};function v(m,w,y,g){g===void 0&&(g="&");var x=m.replace(VM,""),_=w&&y?y+" "+w+" { "+x+" }":x;return t=g,n=w,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),c(y||!w?"":w,_)}return c.use([].concat(u,[function(m,w,y){m===2&&y.length&&y[0].lastIndexOf(n)>0&&(y[0]=y[0].replace(r,h))},p,function(m){if(m===-2){var w=d;return d=[],w}}])),v.hash=u.length?u.reduce(function(m,w){return w.name||gl(15),Pi(m,w.name)},5381).toString():"",v}var Ag=J.createContext();Ag.Consumer;var $g=J.createContext(),HM=($g.Consumer,new Nc),Vm=$C();function Tg(){return f.exports.useContext(Ag)||HM}function TC(){return f.exports.useContext($g)||Vm}function UM(e){var t=f.exports.useState(e.stylisPlugins),n=t[0],r=t[1],o=Tg(),i=f.exports.useMemo(function(){var s=o;return e.sheet?s=e.sheet:e.target&&(s=s.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(s=s.reconstructWithOptions({useCSSOMInjection:!1})),s},[e.disableCSSOMInjection,e.sheet,e.target]),a=f.exports.useMemo(function(){return $C({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return f.exports.useEffect(function(){xM(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),J.createElement(Ag.Provider,{value:i},J.createElement($g.Provider,{value:a},e.children))}var kC=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=Vm);var a=r.name+i.hash;o.hasNameForId(r.id,a)||o.insertRules(r.id,a,i(r.rules,a,"@keyframes"))},this.toString=function(){return gl(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return e.prototype.getName=function(t){return t===void 0&&(t=Vm),this.name+t.hash},e}(),GM=/([A-Z])/,YM=/([A-Z])/g,WM=/^ms-/,qM=function(e){return"-"+e.toLowerCase()};function Wx(e){return GM.test(e)?e.replace(YM,qM).replace(WM,"-ms-"):e}var qx=function(e){return e==null||e===!1||e===""};function Ko(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)(o=Ko(e[a],t,n,r))!==""&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}if(qx(e))return"";if(Sg(e))return"."+e.styledComponentId;if(Xs(e)){if(typeof(u=e)!="function"||u.prototype&&u.prototype.isReactComponent||!t)return e;var l=e(t);return Ko(l,t,n,r)}var u;return e instanceof kC?n?(e.inject(n,r),e.getName(r)):e:jm(e)?function c(d,p){var h,v,m=[];for(var w in d)d.hasOwnProperty(w)&&!qx(d[w])&&(Array.isArray(d[w])&&d[w].isCss||Xs(d[w])?m.push(Wx(w)+":",d[w],";"):jm(d[w])?m.push.apply(m,c(d[w],w)):m.push(Wx(w)+": "+(h=w,(v=d[w])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||h in _M?String(v).trim():v+"px")+";"));return p?[p+" {"].concat(m,["}"]):m}(e):e.toString()}var Kx=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ye(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Xs(e)||jm(e)?Kx(Ko(Hx(Lc,[e].concat(n)))):n.length===0&&e.length===1&&typeof e[0]=="string"?e:Kx(Ko(Hx(e,n)))}var PC=function(e,t,n){return n===void 0&&(n=no),e.theme!==n.theme&&e.theme||t||n.theme},KM=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,XM=/(^-|-$)/g;function Dp(e){return e.replace(KM,"-").replace(XM,"")}var kg=function(e){return zm(CC(e)>>>0)};function au(e){return typeof e=="string"&&!0}var Bm=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},ZM=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function QM(e,t,n){var r=e[n];Bm(t)&&Bm(r)?RC(r,t):e[n]=t}function RC(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Bm(a))for(var s in a)ZM(s)&&QM(e,a[s],s)}return e}var Pg=J.createContext();Pg.Consumer;var Fp={};function OC(e,t,n){var r=Sg(e),o=!au(e),i=t.attrs,a=i===void 0?Lc:i,s=t.componentId,l=s===void 0?function(g,x){var _=typeof g!="string"?"sc":Dp(g);Fp[_]=(Fp[_]||0)+1;var E=_+"-"+kg("5.3.5"+_+Fp[_]);return x?x+"-"+E:E}(t.displayName,t.parentComponentId):s,u=t.displayName,c=u===void 0?function(g){return au(g)?"styled."+g:"Styled("+Ux(g)+")"}(e):u,d=t.displayName&&t.componentId?Dp(t.displayName)+"-"+t.componentId:t.componentId||l,p=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,h=t.shouldForwardProp;r&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(g,x,_){return e.shouldForwardProp(g,x,_)&&t.shouldForwardProp(g,x,_)}:e.shouldForwardProp);var v,m=new zM(n,d,r?e.componentStyle:void 0),w=m.isStatic&&a.length===0,y=function(g,x){return function(_,E,b,S){var C=_.attrs,$=_.componentStyle,k=_.defaultProps,D=_.foldedComponentIds,F=_.shouldForwardProp,G=_.styledComponentId,H=_.target,te=function(M,A,K){M===void 0&&(M=no);var z=Mn({},A,{theme:M}),ce={};return K.forEach(function(ae){var fe,ne,Se,Pe=ae;for(fe in Xs(Pe)&&(Pe=Pe(z)),Pe)z[fe]=ce[fe]=fe==="className"?(ne=ce[fe],Se=Pe[fe],ne&&Se?ne+" "+Se:ne||Se):Pe[fe]}),[z,ce]}(PC(E,f.exports.useContext(Pg),k)||no,E,C),ue=te[0],ie=te[1],V=function(M,A,K,z){var ce=Tg(),ae=TC(),fe=A?M.generateAndInjectStyles(no,ce,ae):M.generateAndInjectStyles(K,ce,ae);return fe}($,S,ue),X=b,R=ie.$as||E.$as||ie.as||E.as||H,Y=au(R),L=ie!==E?Mn({},E,{},ie):E,P={};for(var T in L)T[0]!=="$"&&T!=="as"&&(T==="forwardedAs"?P.as=L[T]:(F?F(T,Bx,R):!Y||Bx(T))&&(P[T]=L[T]));return E.style&&ie.style!==E.style&&(P.style=Mn({},E.style,{},ie.style)),P.className=Array.prototype.concat(D,G,V!==G?V:null,E.className,ie.className).filter(Boolean).join(" "),P.ref=X,f.exports.createElement(R,P)}(v,g,x,w)};return y.displayName=c,(v=J.forwardRef(y)).attrs=p,v.componentStyle=m,v.displayName=c,v.shouldForwardProp=h,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Lc,v.styledComponentId=d,v.target=r?e.target:e,v.withComponent=function(g){var x=t.componentId,_=function(b,S){if(b==null)return{};var C,$,k={},D=Object.keys(b);for($=0;$<D.length;$++)C=D[$],S.indexOf(C)>=0||(k[C]=b[C]);return k}(t,["componentId"]),E=x&&x+"-"+(au(g)?g:Dp(Ux(g)));return OC(g,Mn({},_,{attrs:p,componentId:E}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(g){this._foldedDefaultProps=r?RC({},e.defaultProps,g):g}}),v.toString=function(){return"."+v.styledComponentId},o&&SL(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Hm=function(e){return function t(n,r,o){if(o===void 0&&(o=no),!_g.exports.isValidElementType(r))return gl(1,String(r));var i=function(){return n(r,o,ye.apply(void 0,arguments))};return i.withConfig=function(a){return t(n,r,Mn({},o,{},a))},i.attrs=function(a){return t(n,r,Mn({},o,{attrs:Array.prototype.concat(o.attrs,a).filter(Boolean)}))},i}(OC,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){Hm[e]=Hm(e)});var JM=function(){function e(n,r){this.rules=n,this.componentId=r,this.isStatic=AC(n),Nc.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(n,r,o,i){var a=i(Ko(this.rules,r,o,i).join(""),""),s=this.componentId+n;o.insertRules(s,s,a)},t.removeStyles=function(n,r){r.clearRules(this.componentId+n)},t.renderStyles=function(n,r,o,i){n>2&&Nc.registerId(this.componentId+n),this.removeStyles(n,o),this.createStyles(n,r,o,i)},e}();function LC(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ye.apply(void 0,[e].concat(n)),i="sc-global-"+kg(JSON.stringify(o)),a=new JM(o,i);function s(u){var c=Tg(),d=TC(),p=f.exports.useContext(Pg),h=f.exports.useRef(c.allocateGSInstance(i)).current;return c.server&&l(h,u,c,p,d),f.exports.useLayoutEffect(function(){if(!c.server)return l(h,u,c,p,d),function(){return a.removeStyles(h,c)}},[h,u,c,p,d]),null}function l(u,c,d,p,h){if(a.isStatic)a.renderStyles(u,CM,d,h);else{var v=Mn({},c,{theme:PC(c,p,s.defaultProps)});a.renderStyles(u,v,d,h)}}return J.memo(s)}function df(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ye.apply(void 0,[e].concat(n)).join(""),i=kg(o);return new kC(i,o)}const j=Hm,Zs={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},$e={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},Rg={colorBlue70:"#0056D3"},eN=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:Zs,neutralColors:$e,blueColors:Rg},Symbol.toStringTag,{value:"Module"})),tr=4,tN={"--ll-color-primary":Zs.colorPrimary50,"--ll-color-primary-variant1":Zs.colorPrimary40,"--ll-color-background":$e.colorNeutral100,"--ll-color-surface":$e.colorNeutral95,"--ll-color-surface-variant1":$e.colorNeutral90,"--ll-color-surface-variant2":$e.colorNeutral80,"--ll-color-on-primary":$e.colorNeutral100,"--ll-color-on-primary-variant1":$e.colorNeutral90,"--ll-color-on-background":$e.colorNeutral10,"--ll-color-on-background-variant1":$e.colorNeutral30,"--ll-color-on-surface":$e.colorNeutral10,"--ll-color-on-surface-variant1":$e.colorNeutral30,"--ll-color-placeholder":$e.colorNeutral60,"--ll-color-disabled":$e.colorNeutral60,"--ll-color-border":$e.colorNeutral90,"--ll-color-link":Rg.colorBlue70},nN={"--ll-border-radius-small":`${tr}px`,"--ll-border-radius-medium":`${2*tr}px`},rN={"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},oN={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${tr}px`,"--ll-spacing-xx-small":"var(--ll-spacing-base-unit)","--ll-spacing-x-small":"calc(var(--ll-spacing-base-unit) * 2)","--ll-spacing-small":"calc(var(--ll-spacing-base-unit) * 3)","--ll-spacing-medium":"calc(var(--ll-spacing-base-unit) * 4)","--ll-spacing-large":"calc(var(--ll-spacing-base-unit) * 6)","--ll-spacing-x-large":"calc(var(--ll-spacing-base-unit) * 8)","--ll-spacing-xx-large":"calc(var(--ll-spacing-base-unit) * 12)","--ll-spacing-xxx-large":"calc(var(--ll-spacing-base-unit) * 16)"},iN={"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"},aN={"--ll-font-size-base":"12px","--ll-font-size-h1":"calc(var(--ll-font-size-base) * 4)","--ll-font-size-h2":"calc(var(--ll-font-size-base) * 3)","--ll-font-size-h3":"calc(var(--ll-font-size-base) * 2)","--ll-font-size-h4":"calc(var(--ll-font-size-base) * 1.667)","--ll-font-size-h5":"calc(var(--ll-font-size-base) * 1.5)","--ll-font-size-h6":"calc(var(--ll-font-size-base) * 1.333)","--ll-font-size-p":"calc(var(--ll-font-size-base) * 1.167)","--ll-font-size-caption-1":"var(--ll-font-size-base)","--ll-font-size-caption-2":"calc(var(--ll-font-size-base) * 0.833)"},sN={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},Og={...tN,...nN,...rN,...oN,...iN,...aN,...sN},lN={...Og,"--ll-color-primary":Zs.colorPrimary60,"--ll-color-primary-variant1":Zs.colorPrimary50,"--ll-color-background":$e.colorNeutral10,"--ll-color-surface":$e.colorNeutral20,"--ll-color-surface-variant1":$e.colorNeutral30,"--ll-color-surface-variant2":$e.colorNeutral40,"--ll-color-on-primary":$e.colorNeutral100,"--ll-color-on-primary-variant1":$e.colorNeutral90,"--ll-color-on-background":$e.colorNeutral99,"--ll-color-on-background-variant1":$e.colorNeutral80,"--ll-color-on-surface":$e.colorNeutral80,"--ll-color-on-surface-variant1":$e.colorNeutral90,"--ll-color-placeholder":$e.colorNeutral70,"--ll-color-disabled":$e.colorNeutral70,"--ll-color-border":$e.colorNeutral30,"--ll-color-link":Rg.colorBlue70},uN=Object.keys(Og),I=uN.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),cN={day:Og,night:lN},dN=LC`
|
|
72
|
-
:root {
|
|
73
|
-
${({themeName:e,overrides:t})=>({...cN[e||"day"],...t})};
|
|
74
|
-
}
|
|
75
|
-
`,fN=e=>e,pN=fN({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),hN=Object.freeze(Object.defineProperty({__proto__:null,transitions:pN},Symbol.toStringTag,{value:"Module"})),mN={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},vN=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:mN},Symbol.toStringTag,{value:"Module"})),ree={colors:eN,...hN,...vN},gN=({size:e})=>e==="small"?ye`
|
|
76
|
-
padding: calc(${I["--ll-spacing-xx-small"]} / 2) ${I["--ll-spacing-xx-small"]};
|
|
77
|
-
`:e==="large"?ye`
|
|
78
|
-
padding: calc(${I["--ll-spacing-small"]} / 2) ${I["--ll-spacing-medium"]};
|
|
79
|
-
font-size: ${I["--ll-font-size-p"]};
|
|
80
|
-
line-height: ${I["--ll-font-size-h6"]};
|
|
81
|
-
`:ye`
|
|
82
|
-
padding: ${I["--ll-spacing-xx-small"]} ${I["--ll-spacing-x-small"]};
|
|
83
|
-
`;j.span`
|
|
84
|
-
display: inline-flex;
|
|
85
|
-
color: ${({textColor:e})=>e};
|
|
86
|
-
background-color: ${({backgroundColor:e})=>e};
|
|
87
|
-
border-radius: ${I["--ll-border-radius-small"]};
|
|
88
|
-
line-height: 1;
|
|
89
|
-
font-family: ${I["--ll-font-family"]};
|
|
90
|
-
font-size: ${I["--ll-font-size-caption-1"]};
|
|
91
|
-
justify-content: center;
|
|
92
|
-
|
|
93
|
-
${gN};
|
|
94
|
-
`;var ff={exports:{}},Ba={};/**
|
|
95
|
-
* @license React
|
|
96
|
-
* react-jsx-runtime.production.min.js
|
|
97
|
-
*
|
|
98
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
99
|
-
*
|
|
100
|
-
* This source code is licensed under the MIT license found in the
|
|
101
|
-
* LICENSE file in the root directory of this source tree.
|
|
102
|
-
*/var Xx;function yN(){if(Xx)return Ba;Xx=1;var e=J,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,d={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:d,_owner:o.current}}return Ba.Fragment=n,Ba.jsx=a,Ba.jsxs=a,Ba}(function(e){e.exports=yN()})(ff);const pf=ff.exports.Fragment,de=ff.exports.jsx,xn=ff.exports.jsxs,xN=j.div`
|
|
103
|
-
height: ${({height:e})=>e}px;
|
|
104
|
-
width: ${({width:e})=>e}px;
|
|
105
|
-
fill: ${({fill:e})=>e};
|
|
106
|
-
display: flex;
|
|
107
|
-
|
|
108
|
-
& > svg {
|
|
109
|
-
fill: inherit;
|
|
110
|
-
height: 100%;
|
|
111
|
-
width: 100%;
|
|
112
|
-
}
|
|
113
|
-
`,Lg=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>de(xN,{fill:t,height:n,width:r,children:de(e,{})}),Zx=({variant:e})=>e==="h1"?I["--ll-font-size-h1"]:e==="h2"?I["--ll-font-size-h2"]:e==="h3"?I["--ll-font-size-h3"]:e==="h4"?I["--ll-font-size-h4"]:e==="h5"?I["--ll-font-size-h5"]:e==="h6"?I["--ll-font-size-h6"]:e==="p"?I["--ll-font-size-p"]:e==="caption1"?I["--ll-font-size-caption-1"]:e==="caption2"?I["--ll-font-size-caption-2"]:I["--ll-font-size-h2"],Qx=({color:e})=>e in I?I[e]:e,MC=j.span`
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
display: inline-block;
|
|
116
|
-
width: 100%;
|
|
117
|
-
line-height: ${({lineHeight:e})=>e||1.45};
|
|
118
|
-
margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
|
|
119
|
-
font-size: inherit;
|
|
120
|
-
font-weight: inherit;
|
|
121
|
-
`,wN=j.div`
|
|
122
|
-
${e=>ye`
|
|
123
|
-
text-align: ${e.align};
|
|
124
|
-
font-size: ${Zx(e)};
|
|
125
|
-
font-family: ${e.family==="sans-serif"?I["--ll-font-family"]:I["--ll-font-family-mono"]};
|
|
126
|
-
color: ${Qx(e)};
|
|
127
|
-
font-weight: ${I[e.weight]};
|
|
128
|
-
overflow: hidden;
|
|
129
|
-
display: flex;
|
|
130
|
-
|
|
131
|
-
svg {
|
|
132
|
-
height: ${Zx(e)};
|
|
133
|
-
fill: ${Qx(e)};
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
${MC} {
|
|
137
|
-
${e.noWrap&&ye`
|
|
138
|
-
text-overflow: ellipsis;
|
|
139
|
-
white-space: nowrap;
|
|
140
|
-
`}
|
|
141
|
-
}
|
|
142
|
-
`}
|
|
143
|
-
`,Um=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,lineHeight:a,weight:s="--ll-font-weight-normal",family:l="sans-serif",className:u})=>{const c=["caption1","caption2","p"].includes(t)?"p":t;return de(wN,{variant:t,align:n,color:r,noWrap:o,weight:s,family:l,children:de(MC,{as:c,noMargin:i,className:u,lineHeight:a,children:e})})};j.a`
|
|
144
|
-
font-family: ${I["--ll-font-family"]};
|
|
145
|
-
font-size: ${I["--ll-font-size-p"]};
|
|
146
|
-
color: ${I["--ll-color-link"]};
|
|
147
|
-
cursor: pointer;
|
|
148
|
-
|
|
149
|
-
${({lineClamp:e})=>e&&ye`
|
|
150
|
-
overflow: hidden;
|
|
151
|
-
text-overflow: ellipsis;
|
|
152
|
-
display: -webkit-box;
|
|
153
|
-
-webkit-box-orient: vertical;
|
|
154
|
-
-webkit-line-clamp: ${e};
|
|
155
|
-
`}
|
|
156
|
-
`;function re(){return re=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},re.apply(this,arguments)}function _N(e,t){const n=f.exports.createContext(t);function r(i){const{children:a,...s}=i,l=f.exports.useMemo(()=>s,Object.values(s));return f.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=f.exports.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function xa(e,t=[]){let n=[];function r(i,a){const s=f.exports.createContext(a),l=n.length;n=[...n,a];function u(d){const{scope:p,children:h,...v}=d,m=(p==null?void 0:p[e][l])||s,w=f.exports.useMemo(()=>v,Object.values(v));return f.exports.createElement(m.Provider,{value:w},h)}function c(d,p){const h=(p==null?void 0:p[e][l])||s,v=f.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>f.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return f.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,EN(o,...t)]}function EN(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return f.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function bN(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function NC(...e){return t=>e.forEach(n=>bN(n,t))}function Ne(...e){return f.exports.useCallback(NC(...e),e)}const aa=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.exports.Children.toArray(n),i=o.find(CN);if(i){const a=i.props.children,s=o.map(l=>l===i?f.exports.Children.count(a)>1?f.exports.Children.only(null):f.exports.isValidElement(a)?a.props.children:null:l);return f.exports.createElement(Gm,re({},r,{ref:t}),f.exports.isValidElement(a)?f.exports.cloneElement(a,void 0,s):null)}return f.exports.createElement(Gm,re({},r,{ref:t}),n)});aa.displayName="Slot";const Gm=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return f.exports.isValidElement(n)?f.exports.cloneElement(n,{...AN(r,n.props),ref:NC(t,n.ref)}):f.exports.Children.count(n)>1?f.exports.Children.only(null):null});Gm.displayName="SlotClone";const SN=({children:e})=>f.exports.createElement(f.exports.Fragment,null,e);function CN(e){return f.exports.isValidElement(e)&&e.type===SN}function AN(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{i==null||i(...a),o==null||o(...a)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const $N=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Te=$N.reduce((e,t)=>{const n=f.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?aa:t;return f.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.exports.createElement(s,re({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function TN(e,t){e&&Pt.exports.flushSync(()=>e.dispatchEvent(t))}const zt=Boolean(globalThis==null?void 0:globalThis.document)?f.exports.useLayoutEffect:()=>{},kN=a0["useId".toString()]||(()=>{});let PN=0;function hf(e){const[t,n]=f.exports.useState(kN());return zt(()=>{e||n(r=>r!=null?r:String(PN++))},[e]),e||(t?`radix-${t}`:"")}const RN="Label",[ON,LN]=_N(RN,{id:void 0,controlRef:{current:null}}),MN=f.exports.forwardRef((e,t)=>{const{htmlFor:n,id:r,...o}=e,i=f.exports.useRef(null),a=f.exports.useRef(null),s=Ne(t,a),l=hf(r);return f.exports.useEffect(()=>{if(n){const u=document.getElementById(n);if(a.current&&u){const c=()=>u.getAttribute("aria-labelledby"),d=[l,c()].filter(Boolean).join(" ");return u.setAttribute("aria-labelledby",d),i.current=u,()=>{var p;const h=(p=c())===null||p===void 0?void 0:p.replace(l,"");h===""?u.removeAttribute("aria-labelledby"):h&&u.setAttribute("aria-labelledby",h)}}}},[l,n]),f.exports.createElement(ON,{id:l,controlRef:i},f.exports.createElement(Te.span,re({role:"label",id:l},o,{ref:s,onMouseDown:u=>{var c;(c=e.onMouseDown)===null||c===void 0||c.call(e,u),!u.defaultPrevented&&u.detail>1&&u.preventDefault()},onClick:u=>{var c;if((c=e.onClick)===null||c===void 0||c.call(e,u),!i.current||u.defaultPrevented)return;const d=i.current.contains(u.target),p=u.isTrusted===!0;!d&&p&&(i.current.click(),i.current.focus())}})))}),DC=e=>{const t=LN("LabelConsumer"),{controlRef:n}=t;return f.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id},NN=MN,DN=j(NN)`
|
|
157
|
-
font-size: ${I["--ll-font-size-p"]};
|
|
158
|
-
font-family: ${I["--ll-font-family"]};
|
|
159
|
-
color: ${I["--ll-color-placeholder"]};
|
|
160
|
-
`,FC=e=>de(DN,{...e});let Jx=0;const FN=()=>(Jx+=1,`id-${Jx}`),IN=df`
|
|
161
|
-
0% {
|
|
162
|
-
transform: rotate(0deg);
|
|
163
|
-
}
|
|
164
|
-
100% {
|
|
165
|
-
transform: rotate(360deg);
|
|
166
|
-
}
|
|
167
|
-
`,Ip={small:tr*4,medium:tr*6,large:tr*8},jN=j.div`
|
|
168
|
-
height: ${({size:e})=>Ip[e]}px;
|
|
169
|
-
width: ${({size:e})=>Ip[e]}px;
|
|
170
|
-
border: ${({size:e})=>Ip[e]/6}px solid ${I["--ll-color-on-surface-variant1"]};
|
|
171
|
-
border-bottom-color: transparent;
|
|
172
|
-
border-radius: 50%;
|
|
173
|
-
display: inline-block;
|
|
174
|
-
box-sizing: border-box;
|
|
175
|
-
animation: ${IN} 1s linear infinite;
|
|
176
|
-
`,IC=({size:e="medium"})=>de(jN,{size:e}),fs={primary:{background:I["--ll-color-primary"],onBackground:I["--ll-color-on-primary"],hover:I["--ll-color-primary-variant1"]}},zN=({size:e})=>e==="small"?`font-size: ${I["--ll-font-size-caption-1"]}`:`font-size: ${I["--ll-font-size-p"]}`,Mg=({size:e})=>e==="small"?`${tr*8}px`:e==="large"?`${tr*12}px`:`${tr*10}px`,VN=({size:e})=>e==="small"?`padding: 0 ${I["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${I["--ll-spacing-medium"]}`:`padding: 0 ${I["--ll-spacing-small"]}`,BN=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",HN=ye`
|
|
177
|
-
${({color:e="primary"})=>ye`
|
|
178
|
-
color: ${I["--ll-color-on-background"]};
|
|
179
|
-
|
|
180
|
-
&:disabled {
|
|
181
|
-
cursor: default;
|
|
182
|
-
}
|
|
183
|
-
`};
|
|
184
|
-
|
|
185
|
-
height: ${Mg};
|
|
186
|
-
`,UN=ye`
|
|
187
|
-
${({color:e="primary"})=>ye`
|
|
188
|
-
background-color: ${fs[e].background};
|
|
189
|
-
color: ${fs[e].onBackground};
|
|
190
|
-
border: 1px solid transparent;
|
|
191
|
-
|
|
192
|
-
&:hover {
|
|
193
|
-
background-color: ${fs[e].hover};
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
&:disabled {
|
|
197
|
-
background-color: ${I["--ll-color-disabled"]};
|
|
198
|
-
cursor: default;
|
|
199
|
-
}
|
|
200
|
-
`};
|
|
201
|
-
height: ${Mg};
|
|
202
|
-
`,GN=ye`
|
|
203
|
-
${({color:e="primary"})=>ye`
|
|
204
|
-
border-color: ${fs[e].background};
|
|
205
|
-
border-width: 1px;
|
|
206
|
-
border-style: solid;
|
|
207
|
-
color: ${fs[e].background};
|
|
208
|
-
`};
|
|
209
|
-
|
|
210
|
-
&:hover {
|
|
211
|
-
background-color: rgba(0, 0, 0, 0.03);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
height: ${Mg};
|
|
215
|
-
`,YN=e=>({contained:UN,outlined:GN,text:HN})[e.variant],WN=j.div`
|
|
216
|
-
display: flex;
|
|
217
|
-
align-items: center;
|
|
218
|
-
margin-right: ${I["--ll-spacing-x-small"]};
|
|
219
|
-
margin-left: calc(-1 * ${I["--ll-spacing-xx-small"]});
|
|
220
|
-
`,qN=j.button`
|
|
221
|
-
font-weight: ${I["--ll-font-weight-normal"]};
|
|
222
|
-
border-radius: ${I["--ll-border-radius-small"]};
|
|
223
|
-
align-items: center;
|
|
224
|
-
justify-content: center;
|
|
225
|
-
cursor: pointer;
|
|
226
|
-
display: inline-flex;
|
|
227
|
-
background: none;
|
|
228
|
-
border: none;
|
|
229
|
-
box-sizing: border-box;
|
|
230
|
-
|
|
231
|
-
svg {
|
|
232
|
-
fill: currentColor;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
${YN};
|
|
236
|
-
${BN};
|
|
237
|
-
${zN};
|
|
238
|
-
${VN};
|
|
239
|
-
`,jC=J.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:o,size:i="medium",type:a="button",color:s,isLoading:l,className:u},c)=>de(qN,{variant:r,size:i,onClick:d=>{t||!n||l||n(d)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?de(IC,{}):xn(pf,{children:[o&&de(WN,{children:o}),e]})}));jC.displayName="Button";const KN=j.div`
|
|
240
|
-
display: flex;
|
|
241
|
-
flex-direction: column;
|
|
242
|
-
`,XN=j.div`
|
|
243
|
-
position: relative;
|
|
244
|
-
`,ZN=j(jC)`
|
|
245
|
-
position: absolute;
|
|
246
|
-
right: 0px;
|
|
247
|
-
top: 0px;
|
|
248
|
-
`,QN=j.input`
|
|
249
|
-
all: unset;
|
|
250
|
-
display: inline-flex;
|
|
251
|
-
align-items: center;
|
|
252
|
-
justify-content: center;
|
|
253
|
-
border-radius: ${I["--ll-border-radius-small"]};
|
|
254
|
-
padding: 0 ${I["--ll-spacing-x-small"]};
|
|
255
|
-
height: 30px;
|
|
256
|
-
line-height: 1;
|
|
257
|
-
font-size: ${I["--ll-font-size-p"]};
|
|
258
|
-
font-family: ${I["--ll-font-family"]};
|
|
259
|
-
color: ${I["--ll-color-on-background"]};
|
|
260
|
-
background-color: ${I["--ll-color-background"]};
|
|
261
|
-
border: 1px solid ${I["--ll-color-border"]};
|
|
262
|
-
width: calc(100% - ${I["--ll-spacing-medium"]});
|
|
263
|
-
|
|
264
|
-
&:focus {
|
|
265
|
-
box-shadow: ${I["--ll-shadow-small"]};
|
|
266
|
-
}
|
|
267
|
-
`,JN=e=>N("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM10 8.59L13.59 5L15 6.41L11.41 10L15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59Z"})}),oee=({value:e,label:t,placeholder:n,className:r,autofocus:o=!1,onBlur:i,onFocus:a,onClear:s,onChange:l})=>{const[u]=f.exports.useState(()=>FN()),c=f.exports.useMemo(()=>t?de(FC,{htmlFor:u,style:{lineHeight:"26px"},children:t}):null,[t]);return xn(KN,{children:[c,xn(XN,{children:[de(QN,{autoFocus:o,className:r,id:u,value:e,onBlur:i,onFocus:a,onChange:l,placeholder:n}),s&&de(ZN,{size:"small",variant:"text",onClick:s,children:de(JN,{})})]})]})};function Le(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function so(e){const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Dc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=e6({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=so(n),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function e6({defaultProp:e,onChange:t}){const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=so(t);return f.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function Ng(e){const t=f.exports.useRef({value:e,previous:e});return f.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Dg(e){const[t,n]=f.exports.useState(void 0);return zt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const zC="Switch",[t6,iee]=xa(zC),[n6,r6]=t6(zC),o6=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,"aria-labelledby":r,name:o,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,...d}=e,[p,h]=f.exports.useState(null),v=Ne(t,E=>h(E)),m=DC(p),w=r||m,y=f.exports.useRef(!1),g=p?Boolean(p.closest("form")):!0,[x=!1,_]=Dc({prop:i,defaultProp:a,onChange:c});return f.exports.createElement(n6,{scope:n,checked:x,disabled:l},f.exports.createElement(Te.button,re({type:"button",role:"switch","aria-checked":x,"aria-labelledby":w,"aria-required":s,"data-state":VC(x),"data-disabled":l?"":void 0,disabled:l,value:u},d,{ref:v,onClick:Le(e.onClick,E=>{_(b=>!b),g&&(y.current=E.isPropagationStopped(),y.current||E.stopPropagation())})})),g&&f.exports.createElement(s6,{control:p,bubbles:!y.current,name:o,value:u,checked:x,required:s,disabled:l,style:{transform:"translateX(-100%)"}}))}),i6="SwitchThumb",a6=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=r6(i6,n);return f.exports.createElement(Te.span,re({"data-state":VC(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),s6=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=f.exports.useRef(null),a=Ng(n),s=Dg(t);return f.exports.useEffect(()=>{const l=i.current,u=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&c){const d=new Event("click",{bubbles:r});c.call(l,n),l.dispatchEvent(d)}},[a,n,r]),f.exports.createElement("input",re({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function VC(e){return e?"checked":"unchecked"}const l6=o6,u6=a6,c6=j(l6)`
|
|
268
|
-
all: unset;
|
|
269
|
-
width: 42px;
|
|
270
|
-
height: 24px;
|
|
271
|
-
background-color: ${I["--ll-color-disabled"]};
|
|
272
|
-
border-radius: 13px;
|
|
273
|
-
position: relative;
|
|
274
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
275
|
-
|
|
276
|
-
&[data-state="checked"] {
|
|
277
|
-
background-color: ${I["--ll-color-on-background"]};
|
|
278
|
-
}
|
|
279
|
-
`,d6=j(u6)`
|
|
280
|
-
display: block;
|
|
281
|
-
width: 18px;
|
|
282
|
-
height: 18px;
|
|
283
|
-
background-color: ${I["--ll-color-background"]};
|
|
284
|
-
border-radius: 9px;
|
|
285
|
-
transition: transform 100ms;
|
|
286
|
-
transform: translateX(3px);
|
|
287
|
-
will-change: transform;
|
|
288
|
-
|
|
289
|
-
&[data-state="checked"] {
|
|
290
|
-
transform: translateX(21px);
|
|
291
|
-
}
|
|
292
|
-
`,aee=e=>de(c6,{...e,children:de(d6,{})});function Ym(e,[t,n]){return Math.min(n,Math.max(t,e))}const f6=f.exports.createContext(void 0);function BC(e){const t=f.exports.useContext(f6);return e||t||"ltr"}function HC(e){const t=e+"CollectionProvider",[n,r]=xa(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,w=J.useRef(null),y=J.useRef(new Map).current;return J.createElement(o,{scope:v,itemMap:y,collectionRef:w},m)},s=e+"CollectionSlot",l=J.forwardRef((h,v)=>{const{scope:m,children:w}=h,y=i(s,m),g=Ne(v,y.collectionRef);return J.createElement(aa,{ref:g},w)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=J.forwardRef((h,v)=>{const{scope:m,children:w,...y}=h,g=J.useRef(null),x=Ne(v,g),_=i(u,m);return J.useEffect(()=>(_.itemMap.set(g,{ref:g,...y}),()=>void _.itemMap.delete(g))),J.createElement(aa,{[c]:"",ref:x},w)});function p(h){const v=i(e+"CollectionConsumer",h);return J.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const w=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((y,g)=>w.indexOf(y.ref.current)-w.indexOf(g.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},p,r]}const UC=["PageUp","PageDown"],GC=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],YC={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},yl="Slider",[Wm,p6,h6]=HC(yl),[WC,see]=xa(yl,[h6]),[m6,mf]=WC(yl),v6=f.exports.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:c,onValueChange:d=()=>{},...p}=e,[h,v]=f.exports.useState(null),m=Ne(t,k=>v(k)),w=f.exports.useRef(new Set),y=f.exports.useRef(0),g=a==="horizontal",x=h?Boolean(h.closest("form")):!0,_=g?g6:y6,[E=[],b]=Dc({prop:c,defaultProp:u,onChange:k=>{var D;(D=[...w.current][y.current])===null||D===void 0||D.focus(),d(k)}});function S(k){const D=$6(E,k);$(k,D)}function C(k){$(k,y.current)}function $(k,D){const F=R6(i),G=O6(Math.round((k-r)/i)*i+r,F),H=Ym(G,[r,o]);b((te=[])=>{const ue=C6(te,H,D);return P6(ue,l*i)?(y.current=ue.indexOf(H),String(ue)===String(te)?te:ue):te})}return f.exports.createElement(m6,{scope:e.__scopeSlider,disabled:s,min:r,max:o,valueIndexToChangeRef:y,thumbs:w.current,values:E,orientation:a},f.exports.createElement(Wm.Provider,{scope:e.__scopeSlider},f.exports.createElement(Wm.Slot,{scope:e.__scopeSlider},f.exports.createElement(_,re({"aria-disabled":s,"data-disabled":s?"":void 0},p,{ref:m,min:r,max:o,onSlideStart:s?void 0:S,onSlideMove:s?void 0:C,onHomeKeyDown:()=>!s&&$(r,0),onEndKeyDown:()=>!s&&$(o,E.length-1),onStepKeyDown:({event:k,direction:D})=>{if(!s){const F=UC.includes(k.key)||k.shiftKey&&GC.includes(k.key)?10:1,G=y.current,H=E[G],te=i*F*D;$(H+te,G)}}})))),x&&E.map((k,D)=>f.exports.createElement(S6,{key:D,name:n?n+(E.length>1?"[]":""):void 0,value:k})))}),[qC,KC]=WC(yl,{startEdge:"left",endEdge:"right",size:"width",direction:1}),g6=f.exports.forwardRef((e,t)=>{const{min:n,max:r,dir:o,onSlideStart:i,onSlideMove:a,onStepKeyDown:s,...l}=e,[u,c]=f.exports.useState(null),d=Ne(t,w=>c(w)),p=f.exports.useRef(),h=BC(o),v=h==="ltr";function m(w){const y=p.current||u.getBoundingClientRect(),g=[0,y.width],x=Fg(g,v?[n,r]:[r,n]);return p.current=y,x(w-y.left)}return f.exports.createElement(qC,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},f.exports.createElement(XC,re({dir:h,"data-orientation":"horizontal"},l,{ref:d,style:{...l.style,["--radix-slider-thumb-transform"]:"translateX(-50%)"},onSlideStart:w=>{const y=m(w.clientX);i==null||i(y)},onSlideMove:w=>{const y=m(w.clientX);a==null||a(y)},onSlideEnd:()=>p.current=void 0,onStepKeyDown:w=>{const y=YC[h].includes(w.key);s==null||s({event:w,direction:y?-1:1})}})))}),y6=f.exports.forwardRef((e,t)=>{const{min:n,max:r,onSlideStart:o,onSlideMove:i,onStepKeyDown:a,...s}=e,l=f.exports.useRef(null),u=Ne(t,l),c=f.exports.useRef();function d(p){const h=c.current||l.current.getBoundingClientRect(),v=[0,h.height],m=Fg(v,[r,n]);return c.current=h,m(p-h.top)}return f.exports.createElement(qC,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},f.exports.createElement(XC,re({"data-orientation":"vertical"},s,{ref:u,style:{...s.style,["--radix-slider-thumb-transform"]:"translateY(50%)"},onSlideStart:p=>{const h=d(p.clientY);o==null||o(h)},onSlideMove:p=>{const h=d(p.clientY);i==null||i(h)},onSlideEnd:()=>c.current=void 0,onStepKeyDown:p=>{const h=YC.ltr.includes(p.key);a==null||a({event:p,direction:h?-1:1})}})))}),XC=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,c=mf(yl,n);return f.exports.createElement(Te.span,re({},u,{ref:t,onKeyDown:Le(e.onKeyDown,d=>{d.key==="Home"?(a(d),d.preventDefault()):d.key==="End"?(s(d),d.preventDefault()):UC.concat(GC).includes(d.key)&&(l(d),d.preventDefault())}),onPointerDown:Le(e.onPointerDown,d=>{const p=d.target;p.setPointerCapture(d.pointerId),d.preventDefault(),c.thumbs.has(p)?p.focus():r(d)}),onPointerMove:Le(e.onPointerMove,d=>{d.target.hasPointerCapture(d.pointerId)&&o(d)}),onPointerUp:Le(e.onPointerUp,d=>{const p=d.target;p.hasPointerCapture(d.pointerId)&&(p.releasePointerCapture(d.pointerId),i(d))})}))}),x6="SliderTrack",w6=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=mf(x6,n);return f.exports.createElement(Te.span,re({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),ew="SliderRange",_6=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=mf(ew,n),i=KC(ew,n),a=f.exports.useRef(null),s=Ne(t,a),l=o.values.length,u=o.values.map(p=>ZC(p,o.min,o.max)),c=l>1?Math.min(...u):0,d=100-Math.max(...u);return f.exports.createElement(Te.span,re({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:s,style:{...e.style,[i.startEdge]:c+"%",[i.endEdge]:d+"%"}}))}),tw="SliderThumb",E6=f.exports.forwardRef((e,t)=>{const n=p6(e.__scopeSlider),[r,o]=f.exports.useState(null),i=Ne(t,s=>o(s)),a=f.exports.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return f.exports.createElement(b6,re({},e,{ref:i,index:a}))}),b6=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,i=mf(tw,n),a=KC(tw,n),[s,l]=f.exports.useState(null),u=Ne(t,w=>l(w)),c=Dg(s),d=i.values[r],p=d===void 0?0:ZC(d,i.min,i.max),h=A6(r,i.values.length),v=c==null?void 0:c[a.size],m=v?T6(v,p,a.direction):0;return f.exports.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]),f.exports.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${p}% + ${m}px)`}},f.exports.createElement(Wm.ItemSlot,{scope:e.__scopeSlider},f.exports.createElement(Te.span,re({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:u,style:d===void 0?{display:"none"}:e.style,onFocus:Le(e.onFocus,()=>{i.valueIndexToChangeRef.current=r})}))))}),S6=e=>{const{value:t,...n}=e,r=f.exports.useRef(null),o=Ng(t);return f.exports.useEffect(()=>{const i=r.current,a=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(a,"value").set;if(o!==t&&s){const l=new Event("input",{bubbles:!0});s.call(i,t),i.dispatchEvent(l)}},[o,t]),f.exports.createElement("input",re({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function C6(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function ZC(e,t,n){return 100/(n-t)*(e-t)}function A6(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function $6(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function T6(e,t,n){const r=e/2,o=Fg([0,50],[0,r]);return(r-o(t)*n)*n}function k6(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function P6(e,t){if(t>0){const n=k6(e);return Math.min(...n)>=t}return!0}function Fg(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function R6(e){return(String(e).split(".")[1]||"").length}function O6(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const L6=v6,M6=w6,N6=_6,D6=E6,F6=j.div``,I6=j.div`
|
|
293
|
-
display: flex;
|
|
294
|
-
align-items: center;
|
|
295
|
-
`,j6=j(L6)`
|
|
296
|
-
position: relative;
|
|
297
|
-
display: flex;
|
|
298
|
-
align-items: center;
|
|
299
|
-
user-select: none;
|
|
300
|
-
touch-action: none;
|
|
301
|
-
height: 20;
|
|
302
|
-
flex: 1;
|
|
303
|
-
`,z6=j(D6)`
|
|
304
|
-
all: unset;
|
|
305
|
-
height: 20px;
|
|
306
|
-
width: 20px;
|
|
307
|
-
border-radius: 50%;
|
|
308
|
-
display: block;
|
|
309
|
-
background-color: ${I["--ll-color-primary"]};
|
|
310
|
-
box-shadow: ${I["--ll-shadow-medium"]};
|
|
311
|
-
`,V6=j(M6)`
|
|
312
|
-
height: 4px;
|
|
313
|
-
border-radius: 2px;
|
|
314
|
-
background-color: ${I["--ll-color-surface-variant1"]};
|
|
315
|
-
position: relative;
|
|
316
|
-
flex: 1;
|
|
317
|
-
`,B6=j(N6)`
|
|
318
|
-
height: 100%;
|
|
319
|
-
position: absolute;
|
|
320
|
-
background-color: ${I["--ll-color-primary"]};
|
|
321
|
-
border-radius: 2px;
|
|
322
|
-
`,H6=({vertical:e,spacing:t})=>{const n=I[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},U6=j.div`
|
|
323
|
-
margin: ${e=>H6(e)};
|
|
324
|
-
flex-shrink: 0;
|
|
325
|
-
`,G6=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>de(U6,{vertical:e,spacing:t}),lee=({label:e,showValue:t,...n})=>xn(F6,{children:[e&&de(FC,{style:{lineHeight:"50px"},children:e}),xn(I6,{children:[xn(j6,{...n,children:[de(V6,{children:de(B6,{})}),de(z6,{})]}),t&&xn(pf,{children:[de(G6,{spacing:"--ll-spacing-small"}),de(Um,{noMargin:!0,children:n.value})]})]})]});function Y6(e){const t=so(e);f.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const qm="dismissableLayer.update",W6="dismissableLayer.pointerDownOutside",q6="dismissableLayer.focusOutside";let nw;const K6=f.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),QC=f.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=f.exports.useContext(K6),[c,d]=f.exports.useState(null),[,p]=f.exports.useState({}),h=Ne(t,b=>d(b)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=v.indexOf(m),y=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,x=y>=w,_=X6(b=>{const S=b.target,C=[...u.branches].some($=>$.contains(S));!x||C||(o==null||o(b),a==null||a(b),b.defaultPrevented||s==null||s())}),E=Z6(b=>{const S=b.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(b),a==null||a(b),b.defaultPrevented||s==null||s())});return Y6(b=>{y===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))}),f.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(nw=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),rw(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=nw)}},[c,n,u]),f.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),rw())},[c,u]),f.exports.useEffect(()=>{const b=()=>p({});return document.addEventListener(qm,b),()=>document.removeEventListener(qm,b)},[]),f.exports.createElement(Te.div,re({},l,{ref:h,style:{pointerEvents:g?x?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,_.onPointerDownCapture)}))});function X6(e){const t=so(e),n=f.exports.useRef(!1),r=f.exports.useRef(()=>{});return f.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){JC(W6,t,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=s,document.addEventListener("click",r.current,{once:!0})):s()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function Z6(e){const t=so(e),n=f.exports.useRef(!1);return f.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&JC(q6,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function rw(){const e=new CustomEvent(qm);document.dispatchEvent(e)}function JC(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?TN(o,i):o.dispatchEvent(i)}let jp=0;function eA(){f.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ow()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ow()),jp++,()=>{jp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),jp--}},[])}function ow(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const zp="focusScope.autoFocusOnMount",Vp="focusScope.autoFocusOnUnmount",iw={bubbles:!1,cancelable:!0},tA=f.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=f.exports.useState(null),u=so(o),c=so(i),d=f.exports.useRef(null),p=Ne(t,m=>l(m)),h=f.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.exports.useEffect(()=>{if(r){let m=function(y){if(h.paused||!s)return;const g=y.target;s.contains(g)?d.current=g:ko(d.current,{select:!0})},w=function(y){h.paused||!s||s.contains(y.relatedTarget)||ko(d.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",w),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w)}}},[r,s,h.paused]),f.exports.useEffect(()=>{if(s){sw.add(h);const m=document.activeElement;if(!s.contains(m)){const w=new CustomEvent(zp,iw);s.addEventListener(zp,u),s.dispatchEvent(w),w.defaultPrevented||(Q6(rD(nA(s)),{select:!0}),document.activeElement===m&&ko(s))}return()=>{s.removeEventListener(zp,u),setTimeout(()=>{const w=new CustomEvent(Vp,iw);s.addEventListener(Vp,c),s.dispatchEvent(w),w.defaultPrevented||ko(m!=null?m:document.body,{select:!0}),s.removeEventListener(Vp,c),sw.remove(h)},0)}}},[s,u,c,h]);const v=f.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(w&&y){const g=m.currentTarget,[x,_]=J6(g);x&&_?!m.shiftKey&&y===_?(m.preventDefault(),n&&ko(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),n&&ko(_,{select:!0})):y===g&&m.preventDefault()}},[n,r,h.paused]);return f.exports.createElement(Te.div,re({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function Q6(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ko(r,{select:t}),document.activeElement!==n)return}function J6(e){const t=nA(e),n=aw(t,e),r=aw(t.reverse(),e);return[n,r]}function nA(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function aw(e,t){for(const n of e)if(!eD(n,{upTo:t}))return n}function eD(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 tD(e){return e instanceof HTMLInputElement&&"select"in e}function ko(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&tD(e)&&t&&e.select()}}const sw=nD();function nD(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=lw(e,t),e.unshift(t)},remove(t){var n;e=lw(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function lw(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function rD(e){return e.filter(t=>t.tagName!=="A")}function wa(e){return e.split("-")[0]}function vf(e){return e.split("-")[1]}function _a(e){return["top","bottom"].includes(wa(e))?"x":"y"}function Ig(e){return e==="y"?"height":"width"}function uw(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=_a(t),l=Ig(s),u=r[l]/2-o[l]/2,c=wa(t),d=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(vf(t)){case"start":p[s]-=u*(n&&d?-1:1);break;case"end":p[s]+=u*(n&&d?-1:1);break}return p}const oD=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=uw(l,r,s),d=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:w}=i[v],{x:y,y:g,data:x,reset:_}=await w({x:u,y:c,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=y!=null?y:u,c=g!=null?g:c,p={...p,[m]:{...p[m],...x}},_&&h<=50){h++,typeof _=="object"&&(_.placement&&(d=_.placement),_.rects&&(l=_.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):_.rects),{x:u,y:c}=uw(l,d,s)),v=-1;continue}}return{x:u,y:c,placement:d,strategy:o,middlewareData:p}};function iD(e){return{top:0,right:0,bottom:0,left:0,...e}}function rA(e){return typeof e!="number"?iD(e):{top:e,right:e,bottom:e,left:e}}function Fc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ic(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,v=rA(h),m=s[p?d==="floating"?"reference":"floating":d],w=Fc(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=Fc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[d]);return{top:w.top-y.top+v.top,bottom:y.bottom-w.bottom+v.bottom,left:w.left-y.left+v.left,right:y.right-w.right+v.right}}const aD=Math.min,sD=Math.max;function Km(e,t,n){return sD(e,aD(t,n))}const cw=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=rA(r),c={x:o,y:i},d=_a(a),p=vf(a),h=Ig(d),v=await l.getDimensions(n),m=d==="y"?"top":"left",w=d==="y"?"bottom":"right",y=s.reference[h]+s.reference[d]-c[d]-s.floating[h],g=c[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let _=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;_===0&&(_=s.floating[h]);const E=y/2-g/2,b=u[m],S=_-v[h]-u[w],C=_/2-v[h]/2+E,$=Km(b,C,S),k=(p==="start"?u[m]:u[w])>0&&C!==$&&s.reference[h]<=s.floating[h]?C<b?b-C:S-C:0;return{[d]:c[d]-k,data:{[d]:$,centerOffset:C-$}}}}),lD={left:"right",right:"left",bottom:"top",top:"bottom"};function jc(e){return e.replace(/left|right|bottom|top/g,t=>lD[t])}function uD(e,t,n){n===void 0&&(n=!1);const r=vf(e),o=_a(e),i=Ig(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=jc(a)),{main:a,cross:jc(a)}}const cD={start:"end",end:"start"};function dw(e){return e.replace(/start|end/g,t=>cD[t])}const dD=["top","right","bottom","left"];function fD(e){const t=jc(e);return[dw(e),t,dw(t)]}const pD=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=wa(r),w=d||(m===a||!h?[jc(a)]:fD(a)),y=[a,...w],g=await Ic(t,v),x=[];let _=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(g[m]),c){const{main:C,cross:$}=uD(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(g[C],g[$])}if(_=[..._,{placement:r,overflows:x}],!x.every(C=>C<=0)){var E,b;const C=((E=(b=o.flip)==null?void 0:b.index)!=null?E:0)+1,$=y[C];if($)return{data:{index:C,overflows:_},reset:{placement:$}};let k="bottom";switch(p){case"bestFit":{var S;const D=(S=_.map(F=>[F,F.overflows.filter(G=>G>0).reduce((G,H)=>G+H,0)]).sort((F,G)=>F[1]-G[1])[0])==null?void 0:S[0].placement;D&&(k=D);break}case"initialPlacement":k=a;break}if(r!==k)return{reset:{placement:k}}}return{}}}};function fw(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function pw(e){return dD.some(t=>e[t]>=0)}const hD=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=await Ic(r,{...n,elementContext:"reference"}),a=fw(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:pw(a)}}}case"escaped":{const i=await Ic(r,{...n,altBoundary:!0}),a=fw(i,o.floating);return{data:{escapedOffsets:a,escaped:pw(a)}}}default:return{}}}}};async function mD(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=wa(n),s=vf(n),l=_a(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const vD=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await mD(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function oA(e){return e==="x"?"y":"x"}const gD=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:y,y:g}=w;return{x:y,y:g}}},...l}=e,u={x:n,y:r},c=await Ic(t,l),d=_a(wa(o)),p=oA(d);let h=u[d],v=u[p];if(i){const w=d==="y"?"top":"left",y=d==="y"?"bottom":"right",g=h+c[w],x=h-c[y];h=Km(g,h,x)}if(a){const w=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=v+c[w],x=v-c[y];v=Km(g,v,x)}const m=s.fn({...t,[d]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},yD=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},d=_a(o),p=oA(d);let h=c[d],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const E=d==="y"?"height":"width",b=i.reference[d]-i.floating[E]+w.mainAxis,S=i.reference[d]+i.reference[E]-w.mainAxis;h<b?h=b:h>S&&(h=S)}if(u){var y,g,x,_;const E=d==="y"?"width":"height",b=["top","left"].includes(wa(o)),S=i.reference[p]-i.floating[E]+(b&&(y=(g=a.offset)==null?void 0:g[p])!=null?y:0)+(b?0:w.crossAxis),C=i.reference[p]+i.reference[E]+(b?0:(x=(_=a.offset)==null?void 0:_[p])!=null?x:0)-(b?w.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[d]:h,[p]:v}}}};function iA(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function xr(e){if(e==null)return window;if(!iA(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function xl(e){return xr(e).getComputedStyle(e)}function sr(e){return iA(e)?"":e?(e.nodeName||"").toLowerCase():""}function aA(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Vn(e){return e instanceof xr(e).HTMLElement}function lo(e){return e instanceof xr(e).Element}function xD(e){return e instanceof xr(e).Node}function jg(e){if(typeof ShadowRoot>"u")return!1;const t=xr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function gf(e){const{overflow:t,overflowX:n,overflowY:r}=xl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function wD(e){return["table","td","th"].includes(sr(e))}function sA(e){const t=/firefox/i.test(aA()),n=xl(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function lA(){return!/^((?!chrome|android).)*safari/i.test(aA())}const hw=Math.min,ps=Math.max,zc=Math.round;function lr(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Vn(e)&&(l=e.offsetWidth>0&&zc(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&zc(s.height)/e.offsetHeight||1);const c=lo(e)?xr(e):window,d=!lA()&&n,p=(s.left+(d&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(d&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function go(e){return((xD(e)?e.ownerDocument:e.document)||window.document).documentElement}function yf(e){return lo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function uA(e){return lr(go(e)).left+yf(e).scrollLeft}function _D(e){const t=lr(e);return zc(t.width)!==e.offsetWidth||zc(t.height)!==e.offsetHeight}function ED(e,t,n){const r=Vn(t),o=go(t),i=lr(e,r&&_D(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((sr(t)!=="body"||gf(o))&&(a=yf(t)),Vn(t)){const l=lr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=uA(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function cA(e){return sr(e)==="html"?e:e.assignedSlot||e.parentNode||(jg(e)?e.host:null)||go(e)}function mw(e){return!Vn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function bD(e){let t=cA(e);for(jg(t)&&(t=t.host);Vn(t)&&!["html","body"].includes(sr(t));){if(sA(t))return t;t=t.parentNode}return null}function Xm(e){const t=xr(e);let n=mw(e);for(;n&&wD(n)&&getComputedStyle(n).position==="static";)n=mw(n);return n&&(sr(n)==="html"||sr(n)==="body"&&getComputedStyle(n).position==="static"&&!sA(n))?t:n||bD(e)||t}function vw(e){if(Vn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=lr(e);return{width:t.width,height:t.height}}function SD(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Vn(n),i=go(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((sr(n)!=="body"||gf(i))&&(a=yf(n)),Vn(n))){const l=lr(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function CD(e,t){const n=xr(e),r=go(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=lA();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function AD(e){var t;const n=go(e),r=yf(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ps(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ps(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+uA(e);const l=-r.scrollTop;return xl(o||n).direction==="rtl"&&(s+=ps(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function dA(e){const t=cA(e);return["html","body","#document"].includes(sr(t))?e.ownerDocument.body:Vn(t)&&gf(t)?t:dA(t)}function Vc(e,t){var n;t===void 0&&(t=[]);const r=dA(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=xr(r),a=o?[i].concat(i.visualViewport||[],gf(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Vc(a))}function $D(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&jg(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function TD(e,t){const n=lr(e,!1,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function gw(e,t,n){return t==="viewport"?Fc(CD(e,n)):lo(t)?TD(t,n):Fc(AD(go(e)))}function kD(e){const t=Vc(e),n=["absolute","fixed"].includes(xl(e).position)&&Vn(e)?Xm(e):e;return lo(n)?t.filter(r=>lo(r)&&$D(r,n)&&sr(r)!=="body"):[]}function PD(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?kD(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=gw(t,u,o);return l.top=ps(c.top,l.top),l.right=hw(c.right,l.right),l.bottom=hw(c.bottom,l.bottom),l.left=ps(c.left,l.left),l},gw(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const RD={getClippingRect:PD,convertOffsetParentRelativeRectToViewportRelativeRect:SD,isElement:lo,getDimensions:vw,getOffsetParent:Xm,getDocumentElement:go,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:ED(t,Xm(n),r),floating:{...vw(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>xl(e).direction==="rtl"};function OD(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,u=i&&!s,c=l||u?[...lo(e)?Vc(e):[],...Vc(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let d=null;if(a){let m=!0;d=new ResizeObserver(()=>{m||n(),m=!1}),lo(e)&&!s&&d.observe(e),d.observe(t)}let p,h=s?lr(e):null;s&&v();function v(){const m=lr(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&n(),h=m,p=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(w=>{l&&w.removeEventListener("scroll",n),u&&w.removeEventListener("resize",n)}),(m=d)==null||m.disconnect(),d=null,s&&cancelAnimationFrame(p)}}const LD=(e,t,n)=>oD(e,t,{platform:RD,...n});var Zm=typeof document<"u"?f.exports.useLayoutEffect:f.exports.useEffect;function Qm(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,o;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(!Qm(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Qm(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function MD(e){const t=f.exports.useRef(e);return Zm(()=>{t.current=e}),t}function ND(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=f.exports.useRef(null),a=f.exports.useRef(null),s=MD(o),l=f.exports.useRef(null),[u,c]=f.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[d,p]=f.exports.useState(t);Qm(d==null?void 0:d.map(x=>{let{options:_}=x;return _}),t==null?void 0:t.map(x=>{let{options:_}=x;return _}))||p(t);const h=f.exports.useCallback(()=>{!i.current||!a.current||LD(i.current,a.current,{middleware:d,placement:n,strategy:r}).then(x=>{v.current&&Pt.exports.flushSync(()=>{c(x)})})},[d,n,r]);Zm(()=>{v.current&&h()},[h]);const v=f.exports.useRef(!1);Zm(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=f.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),w=f.exports.useCallback(x=>{i.current=x,m()},[m]),y=f.exports.useCallback(x=>{a.current=x,m()},[m]),g=f.exports.useMemo(()=>({reference:i,floating:a}),[]);return f.exports.useMemo(()=>({...u,update:h,refs:g,reference:w,floating:y}),[u,h,g,w,y])}const DD=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?cw({element:t.current,padding:n}).fn(o):{}:t?cw({element:t,padding:n}).fn(o):{}}}},FD=f.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return f.exports.createElement(Te.svg,re({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),ID=FD,fA="Popper",[zg,pA]=xa(fA),[uee,hA]=zg(fA),jD="PopperAnchor",zD=f.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=hA(jD,n),a=f.exports.useRef(null),s=Ne(t,a);return f.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:f.exports.createElement(Te.div,re({},o,{ref:s}))}),Bc="PopperContent",[VD,BD]=zg(Bc),[HD,UD]=zg(Bc,{hasParent:!1,positionUpdateFns:new Set}),GD=f.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:w=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:x=!1,avoidCollisions:_=!0,...E}=e,b=hA(Bc,c),[S,C]=f.exports.useState(null),$=Ne(t,me=>C(me)),[k,D]=f.exports.useState(null),F=Dg(k),G=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,H=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,te=d+(h!=="center"?"-"+h:""),ue=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ie=Array.isArray(w)?w:[w],V=ie.length>0,X={padding:ue,boundary:ie.filter(XD),altBoundary:V},{reference:R,floating:Y,strategy:L,x:P,y:T,placement:M,middlewareData:A,update:K}=ND({strategy:"fixed",placement:te,whileElementsMounted:OD,middleware:[vD({mainAxis:p+H,alignmentAxis:v}),_?gD({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?yD():void 0,...X}):void 0,k?DD({element:k,padding:m}):void 0,_?pD({...X}):void 0,ZD({arrowWidth:G,arrowHeight:H}),x?hD({strategy:"referenceHidden"}):void 0].filter(KD)});zt(()=>{R(b.anchor)},[R,b.anchor]);const z=P!==null&&T!==null,[ce,ae]=mA(M),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,ne=(i=A.arrow)===null||i===void 0?void 0:i.y,Se=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Pe,se]=f.exports.useState();zt(()=>{S&&se(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Re,positionUpdateFns:ee}=UD(Bc,c),pe=!Re;f.exports.useLayoutEffect(()=>{if(!pe)return ee.add(K),()=>{ee.delete(K)}},[pe,ee,K]),f.exports.useLayoutEffect(()=>{pe&&z&&Array.from(ee).reverse().forEach(me=>requestAnimationFrame(me))},[pe,z,ee]);const Ue={"data-side":ce,"data-align":ae,...E,ref:$,style:{...E.style,animation:z?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return f.exports.createElement("div",{ref:Y,"data-radix-popper-content-wrapper":"",style:{position:L,left:0,top:0,transform:z?`translate3d(${Math.round(P)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Pe,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},f.exports.createElement(VD,{scope:c,placedSide:ce,onArrowChange:D,arrowX:fe,arrowY:ne,shouldHideArrow:Se},pe?f.exports.createElement(HD,{scope:c,hasParent:!0,positionUpdateFns:ee},f.exports.createElement(Te.div,Ue)):f.exports.createElement(Te.div,Ue)))}),YD="PopperArrow",WD={top:"bottom",right:"left",bottom:"top",left:"right"},qD=f.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=BD(YD,n),i=WD[o.placedSide];return f.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},f.exports.createElement(ID,re({},r,{ref:t,style:{...r.style,display:"block"}})))});function KD(e){return e!==void 0}function XD(e){return e!==null}const ZD=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=mA(s),m={start:"0%",center:"50%",end:"100%"}[v],w=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+d/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let g="",x="";return h==="bottom"?(g=c?m:`${w}px`,x=`${-p}px`):h==="top"?(g=c?m:`${w}px`,x=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,x=c?m:`${y}px`):h==="left"&&(g=`${l.floating.width+p}px`,x=c?m:`${y}px`),{data:{x:g,y:x}}}});function mA(e){const[t,n="center"]=e.split("-");return[t,n]}const QD=zD,JD=GD,e8=qD,t8=f.exports.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?DS.createPortal(f.exports.createElement(Te.div,re({},o,{ref:t})),r):null});function n8(e,t){return f.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const vA=e=>{const{present:t,children:n}=e,r=r8(t),o=typeof n=="function"?n({present:r.isPresent}):f.exports.Children.only(n),i=Ne(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.exports.cloneElement(o,{ref:i}):null};vA.displayName="Presence";function r8(e){const[t,n]=f.exports.useState(),r=f.exports.useRef({}),o=f.exports.useRef(e),i=f.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=n8(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.exports.useEffect(()=>{const u=su(r.current);i.current=s==="mounted"?u:"none"},[s]),zt(()=>{const u=r.current,c=o.current;if(c!==e){const d=i.current,p=su(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),zt(()=>{if(t){const u=d=>{const p=su(r.current).includes(d.animationName);d.target===t&&p&&Pt.exports.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(i.current=su(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function su(e){return(e==null?void 0:e.animationName)||"none"}var o8=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ri=new WeakMap,lu=new WeakMap,uu={},Bp=0,i8=function(e,t,n,r){var o=Array.isArray(e)?e:[e];uu[n]||(uu[n]=new WeakMap);var i=uu[n],a=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(ri.get(p)||0)+1,w=(i.get(p)||0)+1;ri.set(p,m),i.set(p,w),a.push(p),m===1&&v&&lu.set(p,!0),w===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),Bp++,function(){a.forEach(function(d){var p=ri.get(d)-1,h=i.get(d)-1;ri.set(d,p),i.set(d,h),p||(lu.has(d)||d.removeAttribute(r),lu.delete(d)),h||d.removeAttribute(n)}),Bp--,Bp||(ri=new WeakMap,ri=new WeakMap,lu=new WeakMap,uu={})}},gA=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||o8(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),i8(r,o,n,"aria-hidden")):function(){return null}},Rn=function(){return Rn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Rn.apply(this,arguments)};function yA(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function a8(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;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 Uu="right-scroll-bar-position",Gu="width-before-scroll-bar",s8="with-scroll-bars-hidden",l8="--removed-body-scroll-bar-size";function u8(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function c8(e,t){var n=f.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function d8(e,t){return c8(t||null,function(n){return e.forEach(function(r){return u8(r,n)})})}function f8(e){return e}function p8(e,t){t===void 0&&(t=f8);var n=[],r=!1,o={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 a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function h8(e){e===void 0&&(e={});var t=p8(null);return t.options=Rn({async:!0,ssr:!1},e),t}var xA=function(e){var t=e.sideCar,n=yA(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 de(r,{...Rn({},n)})};xA.isSideCarExport=!0;function m8(e,t){return e.useMedium(t),xA}var wA=h8(),Hp=function(){},xf=f.exports.forwardRef(function(e,t){var n=f.exports.useRef(null),r=f.exports.useState({onScrollCapture:Hp,onWheelCapture:Hp,onTouchMoveCapture:Hp}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,w=e.as,y=w===void 0?"div":w,g=yA(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,_=d8([n,t]),E=Rn(Rn({},g),o);return xn(pf,{children:[c&&de(x,{sideCar:wA,removeScrollBar:u,shards:d,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?f.exports.cloneElement(f.exports.Children.only(s),Rn(Rn({},E),{ref:_})):de(y,{...Rn({},E,{className:l,ref:_}),children:s})]})});xf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};xf.classNames={fullWidth:Gu,zeroRight:Uu};var v8=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function g8(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=v8();return t&&e.setAttribute("nonce",t),e}function y8(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function x8(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var w8=function(){var e=0,t=null;return{add:function(n){e==0&&(t=g8())&&(y8(t,n),x8(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_8=function(){var e=w8();return function(t,n){f.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},_A=function(){var e=_8(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},E8={left:0,top:0,right:0,gap:0},Up=function(e){return parseInt(e||"",10)||0},b8=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Up(n),Up(r),Up(o)]},S8=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return E8;var t=b8(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])}},C8=_A(),A8=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
326
|
-
.`.concat(s8,` {
|
|
327
|
-
overflow: hidden `).concat(r,`;
|
|
328
|
-
padding-right: `).concat(s,"px ").concat(r,`;
|
|
329
|
-
}
|
|
330
|
-
body {
|
|
331
|
-
overflow: hidden `).concat(r,`;
|
|
332
|
-
overscroll-behavior: contain;
|
|
333
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
334
|
-
padding-left: `.concat(o,`px;
|
|
335
|
-
padding-top: `).concat(i,`px;
|
|
336
|
-
padding-right: `).concat(a,`px;
|
|
337
|
-
margin-left:0;
|
|
338
|
-
margin-top:0;
|
|
339
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
340
|
-
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.`).concat(Uu,` {
|
|
344
|
-
right: `).concat(s,"px ").concat(r,`;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.`).concat(Gu,` {
|
|
348
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
.`).concat(Uu," .").concat(Uu,` {
|
|
352
|
-
right: 0 `).concat(r,`;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.`).concat(Gu," .").concat(Gu,` {
|
|
356
|
-
margin-right: 0 `).concat(r,`;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
body {
|
|
360
|
-
`).concat(l8,": ").concat(s,`px;
|
|
361
|
-
}
|
|
362
|
-
`)},$8=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=f.exports.useMemo(function(){return S8(o)},[o]);return de(C8,{styles:A8(i,!t,o,n?"":"!important")})},Jm=!1;if(typeof window<"u")try{var cu=Object.defineProperty({},"passive",{get:function(){return Jm=!0,!0}});window.addEventListener("test",cu,cu),window.removeEventListener("test",cu,cu)}catch(e){Jm=!1}var oi=Jm?{passive:!1}:!1,T8=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},k8=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},yw=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=EA(e,n);if(r){var o=bA(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},P8=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},R8=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},EA=function(e,t){return e==="v"?T8(t):k8(t)},bA=function(e,t){return e==="v"?P8(t):R8(t)},O8=function(e,t){return e==="h"&&t==="rtl"?-1:1},L8=function(e,t,n,r,o){var i=O8(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,p=0;do{var h=bA(e,s),v=h[0],m=h[1],w=h[2],y=m-w-i*v;(v||y)&&EA(e,s)&&(d+=y,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&a>d)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},du=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},xw=function(e){return[e.deltaX,e.deltaY]},ww=function(e){return e&&"current"in e?e.current:e},M8=function(e,t){return e[0]===t[0]&&e[1]===t[1]},N8=function(e){return`
|
|
363
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
364
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
365
|
-
`)},D8=0,ii=[];function F8(e){var t=f.exports.useRef([]),n=f.exports.useRef([0,0]),r=f.exports.useRef(),o=f.exports.useState(D8++)[0],i=f.exports.useState(function(){return _A()})[0],a=f.exports.useRef(e);f.exports.useEffect(function(){a.current=e},[e]),f.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=a8([e.lockRef.current],(e.shards||[]).map(ww),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.exports.useCallback(function(m,w){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var y=du(m),g=n.current,x="deltaX"in m?m.deltaX:g[0]-y[0],_="deltaY"in m?m.deltaY:g[1]-y[1],E,b=m.target,S=Math.abs(x)>Math.abs(_)?"h":"v";if("touches"in m&&S==="h"&&b.type==="range")return!1;var C=yw(S,b);if(!C)return!0;if(C?E=S:(E=S==="v"?"h":"v",C=yw(S,b)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||_)&&(r.current=E),!E)return!0;var $=r.current||E;return L8($,w,m,$==="h"?x:_,!0)},[]),l=f.exports.useCallback(function(m){var w=m;if(!(!ii.length||ii[ii.length-1]!==i)){var y="deltaY"in w?xw(w):du(w),g=t.current.filter(function(E){return E.name===w.type&&E.target===w.target&&M8(E.delta,y)})[0];if(g&&g.should){w.preventDefault();return}if(!g){var x=(a.current.shards||[]).map(ww).filter(Boolean).filter(function(E){return E.contains(w.target)}),_=x.length>0?s(w,x[0]):!a.current.noIsolation;_&&w.preventDefault()}}},[]),u=f.exports.useCallback(function(m,w,y,g){var x={name:m,delta:w,target:y,should:g};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(_){return _!==x})},1)},[]),c=f.exports.useCallback(function(m){n.current=du(m),r.current=void 0},[]),d=f.exports.useCallback(function(m){u(m.type,xw(m),m.target,s(m,e.lockRef.current))},[]),p=f.exports.useCallback(function(m){u(m.type,du(m),m.target,s(m,e.lockRef.current))},[]);f.exports.useEffect(function(){return ii.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,oi),document.addEventListener("touchmove",l,oi),document.addEventListener("touchstart",c,oi),function(){ii=ii.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,oi),document.removeEventListener("touchmove",l,oi),document.removeEventListener("touchstart",c,oi)}},[]);var h=e.removeScrollBar,v=e.inert;return xn(pf,{children:[v?de(i,{styles:N8(o)}):null,h?de($8,{gapMode:"margin"}):null]})}const I8=m8(wA,F8);var SA=f.exports.forwardRef(function(e,t){return de(xf,{...Rn({},e,{ref:t,sideCar:I8})})});SA.classNames=xf.classNames;const CA=SA,AA="Popover",[$A,cee]=xa(AA,[pA]),Vg=pA(),[dee,wl]=$A(AA),j8="PopoverTrigger",z8=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=wl(j8,n),i=Vg(n),a=Ne(t,o.triggerRef),s=f.exports.createElement(Te.button,re({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":kA(o.open)},r,{ref:a,onClick:Le(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.exports.createElement(QD,re({asChild:!0},i),s)}),V8="PopoverPortal",[fee,B8]=$A(V8,{forceMount:void 0}),Qs="PopoverContent",H8=f.exports.forwardRef((e,t)=>{const n=B8(Qs,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=wl(Qs,e.__scopePopover);return f.exports.createElement(vA,{present:r||i.open},i.modal?f.exports.createElement(U8,re({},o,{ref:t})):f.exports.createElement(G8,re({},o,{ref:t})))}),U8=f.exports.forwardRef((e,t)=>{const n=wl(Qs,e.__scopePopover),r=f.exports.useRef(null),o=Ne(t,r),i=f.exports.useRef(!1);return f.exports.useEffect(()=>{const a=r.current;if(a)return gA(a)},[]),f.exports.createElement(CA,{as:aa,allowPinchZoom:!0},f.exports.createElement(TA,re({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Le(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Le(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Le(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),G8=f.exports.forwardRef((e,t)=>{const n=wl(Qs,e.__scopePopover),r=f.exports.useRef(!1);return f.exports.createElement(TA,re({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;!((a=n.triggerRef.current)===null||a===void 0)&&a.contains(s)&&o.preventDefault()}}))}),TA=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=wl(Qs,n),h=Vg(n);return eA(),f.exports.createElement(tA,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},f.exports.createElement(QC,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.exports.createElement(JD,re({"data-state":kA(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),Y8=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Vg(n);return f.exports.createElement(e8,re({},o,r,{ref:t}))});function kA(e){return e?"open":"closed"}const W8=z8,q8=H8,K8=Y8;j(W8)`
|
|
366
|
-
background: none;
|
|
367
|
-
border: none;
|
|
368
|
-
padding: 0;
|
|
369
|
-
`;j(q8)`
|
|
370
|
-
border-radius: ${I["--ll-border-radius-small"]};
|
|
371
|
-
box-shadow: ${I["--ll-shadow-small"]};
|
|
372
|
-
padding: ${I["--ll-spacing-medium"]};
|
|
373
|
-
`;j(K8)`
|
|
374
|
-
fill: ${I["--ll-color-background"]};
|
|
375
|
-
`;const Yu={primary:{background:I["--ll-color-primary"],onBackground:I["--ll-color-on-primary"],hover:I["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:I["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:I["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},Hc={small:24,medium:32,large:48},X8=j.button`
|
|
376
|
-
${({color:e="primary",size:t="medium"})=>ye`
|
|
377
|
-
border: none;
|
|
378
|
-
background-color: ${Yu[e].background};
|
|
379
|
-
color: ${Yu[e].onBackground};
|
|
380
|
-
border-radius: 50%;
|
|
381
|
-
height: ${Hc[t]}px;
|
|
382
|
-
width: ${Hc[t]}px;
|
|
383
|
-
display: flex;
|
|
384
|
-
justify-content: center;
|
|
385
|
-
align-items: center;
|
|
386
|
-
padding: 6px;
|
|
387
|
-
|
|
388
|
-
&:hover {
|
|
389
|
-
background-color: ${Yu[e].hover};
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
&:disabled {
|
|
393
|
-
cursor: default;
|
|
394
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
395
|
-
color: ${I["--ll-color-on-background-variant1"]};
|
|
396
|
-
}
|
|
397
|
-
`};
|
|
398
|
-
`,pee=({SVGElement:e,disabled:t=!1,onClick:n,size:r="medium",type:o="button",color:i="primary",isLoading:a,className:s})=>{const l=c=>{t||!n||a||n(c)},u=f.exports.useMemo(()=>t?I["--ll-color-placeholder"]:Yu[i].onBackground,[i,t]);return de(X8,{size:r,onClick:l,disabled:t||a,className:s,color:i,type:o,children:a?de(IC,{}):de(Lg,{SVGElement:e,width:Hc[r]/1.33333,height:Hc[r]/1.33333,fill:u})})};function Z8({height:e,width:t}){return ye`
|
|
399
|
-
height: ${e};
|
|
400
|
-
width: ${t};
|
|
401
|
-
`}const Q8=df`
|
|
402
|
-
from {
|
|
403
|
-
background-position: -800px 0;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
to {
|
|
407
|
-
background-position: 800px 0;
|
|
408
|
-
}
|
|
409
|
-
`,J8=j.div`
|
|
410
|
-
border-radius: ${I["--ll-border-radius-medium"]};
|
|
411
|
-
animation: ${Q8} 2s linear infinite;
|
|
412
|
-
background: linear-gradient(
|
|
413
|
-
to right,
|
|
414
|
-
/* NOTE: 99.9% of the time we should use colours from theme, since these are
|
|
415
|
-
CSS vars that can be overriden. */
|
|
416
|
-
${I["--ll-color-surface-variant1"]} 4%,
|
|
417
|
-
${I["--ll-color-surface-variant2"]} 25%,
|
|
418
|
-
${I["--ll-color-surface-variant1"]} 36%
|
|
419
|
-
);
|
|
420
|
-
background-size: 800px 100%;
|
|
421
|
-
${Z8}
|
|
422
|
-
`,hee=({height:e,width:t,className:n})=>de(J8,{height:e,width:t,className:n});j.div`
|
|
423
|
-
flex: 1;
|
|
424
|
-
height: 100%;
|
|
425
|
-
width: 100%;
|
|
426
|
-
display: flex;
|
|
427
|
-
align-items: center;
|
|
428
|
-
justify-content: center;
|
|
429
|
-
`;j.div`
|
|
430
|
-
display: flex;
|
|
431
|
-
flex-direction: column;
|
|
432
|
-
align-items: center;
|
|
433
|
-
`;const e7=f.exports.forwardRef((e,t)=>f.exports.createElement(Te.span,re({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),t7=[" ","Enter","ArrowUp","ArrowDown"],n7=[" ","Enter"],wf="Select",[_f,Bg,r7]=HC(wf),[_l,o7]=xa(wf,[r7]),[i7,Ea]=_l(wf),[a7,s7]=_l(wf),PA=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:l,dir:u,name:c,autoComplete:d}=e,[p,h]=f.exports.useState(null),[v,m]=f.exports.useState(null),[w,y]=f.exports.useState(!1),g=BC(u),[x=!1,_]=Dc({prop:r,defaultProp:o,onChange:i}),[E,b]=Dc({prop:a,defaultProp:s,onChange:l}),S=f.exports.useRef(null),C=p?Boolean(p.closest("form")):!0,[$,k]=f.exports.useState(new Set),D=Array.from($).map(F=>F.props.value).join(";");return f.exports.createElement(i7,{scope:t,trigger:p,onTriggerChange:h,valueNode:v,onValueNodeChange:m,valueNodeHasChildren:w,onValueNodeHasChildrenChange:y,contentId:hf(),value:E,onValueChange:b,open:x,onOpenChange:_,dir:g,triggerPointerDownPosRef:S},f.exports.createElement(_f.Provider,{scope:t},f.exports.createElement(a7,{scope:e.__scopeSelect,onNativeOptionAdd:f.exports.useCallback(F=>{k(G=>new Set(G).add(F))},[]),onNativeOptionRemove:f.exports.useCallback(F=>{k(G=>{const H=new Set(G);return H.delete(F),H})},[])},n)),C?f.exports.createElement(WA,{key:D,"aria-hidden":!0,tabIndex:-1,name:c,autoComplete:d,value:E,onChange:F=>b(F.target.value)},Array.from($)):null)},l7="SelectTrigger",RA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=Ea(l7,n),s=Ne(t,a.onTriggerChange),l=Bg(n),u=DC(a.trigger),c=o||u,[d,p,h]=qA(m=>{const w=l().filter(x=>!x.disabled),y=w.find(x=>x.value===a.value),g=KA(w,m,y);g!==void 0&&a.onValueChange(g.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return f.exports.createElement(Te.button,re({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-autocomplete":"none","aria-labelledby":c,dir:a.dir,"data-state":a.open?"open":"closed",disabled:r,"data-disabled":r?"":void 0,"data-placeholder":a.value===void 0?"":void 0},i,{ref:s,onPointerDown:Le(i.onPointerDown,m=>{m.target.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&(v(),a.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)},m.preventDefault())}),onKeyDown:Le(i.onKeyDown,m=>{const w=d.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(w&&m.key===" ")&&t7.includes(m.key)&&(v(),m.preventDefault())})}))}),u7="SelectValue",OA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a,...s}=e,l=Ea(u7,n),{onValueNodeHasChildrenChange:u}=l,c=i!==void 0,d=Ne(t,l.onValueNodeChange);return zt(()=>{u(c)},[u,c]),f.exports.createElement(Te.span,re({},s,{ref:d,style:{pointerEvents:"none"}}),l.value===void 0&&a!==void 0?a:i)}),Ef=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return f.exports.createElement(Te.span,re({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),LA=e=>f.exports.createElement(t8,re({asChild:!0},e)),Hg="SelectContent",MA=f.exports.forwardRef((e,t)=>{const n=Ea(Hg,e.__scopeSelect),[r,o]=f.exports.useState();return zt(()=>{o(new DocumentFragment)},[]),f.exports.createElement(f.exports.Fragment,null,n.open?f.exports.createElement(c7,re({},e,{ref:t})):r?Pt.exports.createPortal(f.exports.createElement(NA,{scope:e.__scopeSelect},f.exports.createElement(_f.Slot,{scope:e.__scopeSelect},f.exports.createElement("div",null,e.children))),r):null)}),Cr=10,[NA,ba]=_l(Hg),c7=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=Ea(Hg,n),[a,s]=f.exports.useState(null),[l,u]=f.exports.useState(null),[c,d]=f.exports.useState(null),p=Ne(t,R=>u(R)),[h,v]=f.exports.useState(null),[m,w]=f.exports.useState(null),y=Bg(n),[g,x]=f.exports.useState(!1),_=f.exports.useRef(!0),E=f.exports.useRef(!1),b=f.exports.useRef(!1);f.exports.useEffect(()=>{if(l)return gA(l)},[l]),eA();const[S,C]=f.exports.useState();zt(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const $=f.exports.useCallback(R=>{const[Y,...L]=y().map(M=>M.ref.current),[P]=L.slice(-1),T=document.activeElement;for(const M of R)if(M===T||(M==null||M.scrollIntoView({block:"nearest"}),M===Y&&c&&(c.scrollTop=0),M===P&&c&&(c.scrollTop=c.scrollHeight),M==null||M.focus(),document.activeElement!==T))return},[y,c]),k=f.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const R=i.trigger.getBoundingClientRect(),Y=l.getBoundingClientRect(),L=i.valueNode.getBoundingClientRect(),P=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ce=P.left-Y.left,Q=L.left-Ce,ve=R.left-Q,Je=R.width+ve,un=Math.max(Je,Y.width),ht=window.innerWidth-Cr,Eo=Ym(Q,[Cr,ht-un]);a.style.minWidth=Je+"px",a.style.left=Eo+"px"}else{const Ce=Y.right-P.right,Q=window.innerWidth-L.right-Ce,ve=window.innerWidth-R.right-Q,Je=R.width+ve,un=Math.max(Je,Y.width),ht=window.innerWidth-Cr,Eo=Ym(Q,[Cr,ht-un]);a.style.minWidth=Je+"px",a.style.right=Eo+"px"}const T=y(),M=window.innerHeight-Cr*2,A=c.scrollHeight,K=window.getComputedStyle(l),z=parseInt(K.borderTopWidth,10),ce=parseInt(K.paddingTop,10),ae=parseInt(K.borderBottomWidth,10),fe=parseInt(K.paddingBottom,10),ne=z+ce+A+fe+ae,Se=Math.min(h.offsetHeight*5,ne),Pe=window.getComputedStyle(c),se=parseInt(Pe.paddingTop,10),Re=parseInt(Pe.paddingBottom,10),ee=R.top+R.height/2-Cr,pe=M-ee,Ue=h.offsetHeight/2,me=h.offsetTop+Ue,Ot=z+ce+me,Yn=ne-Ot;if(Ot<=ee){const Ce=h===T[T.length-1].ref.current;a.style.bottom="0px";const Q=l.clientHeight-c.offsetTop-c.offsetHeight,ve=Math.max(pe,Ue+(Ce?Re:0)+Q+ae),Je=Ot+ve;a.style.height=Je+"px"}else{const Ce=h===T[0].ref.current;a.style.top="0px";const Q=Math.max(ee,z+c.offsetTop+(Ce?se:0)+Ue)+Yn;a.style.height=Q+"px",c.scrollTop=Ot-ee+c.offsetTop}a.style.margin=`${Cr}px 0`,a.style.minHeight=Se+"px",a.style.maxHeight=M+"px",x(!0),requestAnimationFrame(()=>E.current=!0)}},[y,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);zt(()=>k(),[k]);const D=f.exports.useCallback(()=>$([h,l]),[$,h,l]);f.exports.useEffect(()=>{g&&D()},[g,D]);const F=f.exports.useCallback(R=>{R&&_.current===!0&&(k(),D(),_.current=!1)},[k,D]),{onOpenChange:G,triggerPointerDownPosRef:H}=i;f.exports.useEffect(()=>{if(l){let R={x:0,y:0};const Y=P=>{var T,M,A,K;R={x:Math.abs(Math.round(P.pageX)-((T=(M=H.current)===null||M===void 0?void 0:M.x)!==null&&T!==void 0?T:0)),y:Math.abs(Math.round(P.pageY)-((A=(K=H.current)===null||K===void 0?void 0:K.y)!==null&&A!==void 0?A:0))}},L=P=>{R.x<=10&&R.y<=10?P.preventDefault():l.contains(P.target)||G(!1),document.removeEventListener("pointermove",Y),H.current=null};return H.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",L,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",L,{capture:!0})}}},[l,G,H]),f.exports.useEffect(()=>{const R=()=>G(!1);return window.addEventListener("blur",R),window.addEventListener("resize",R),()=>{window.removeEventListener("blur",R),window.removeEventListener("resize",R)}},[G]);const[te,ue]=qA(R=>{const Y=y().filter(T=>!T.disabled),L=Y.find(T=>T.ref.current===document.activeElement),P=KA(Y,R,L);P&&setTimeout(()=>P.ref.current.focus())}),ie=f.exports.useCallback((R,Y,L)=>{const P=!b.current&&!L;(i.value!==void 0&&i.value===Y||P)&&(v(R),P&&(b.current=!0))},[i.value]),V=f.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),X=f.exports.useCallback((R,Y,L)=>{const P=!b.current&&!L;(i.value!==void 0&&i.value===Y||P)&&w(R)},[i.value]);return f.exports.createElement(NA,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:d,itemRefCallback:ie,selectedItem:h,onItemLeave:V,itemTextRefCallback:X,selectedItemText:m,onScrollButtonChange:F,isPositioned:g,shouldExpandOnScrollRef:E,searchRef:te},f.exports.createElement(CA,{as:aa,allowPinchZoom:!0},f.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},f.exports.createElement(tA,{asChild:!0,trapped:i.open,onMountAutoFocus:R=>{R.preventDefault()},onUnmountAutoFocus:Le(r,R=>{var Y;(Y=i.trigger)===null||Y===void 0||Y.focus({preventScroll:!0}),R.preventDefault()})},f.exports.createElement(QC,re({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:R=>R.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:R=>R.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:Le(o.onKeyDown,R=>{const Y=R.ctrlKey||R.altKey||R.metaKey;if(R.key==="Tab"&&R.preventDefault(),!Y&&R.key.length===1&&ue(R.key),["ArrowUp","ArrowDown","Home","End"].includes(R.key)){let L=y().filter(P=>!P.disabled).map(P=>P.ref.current);if(["ArrowUp","End"].includes(R.key)&&(L=L.slice().reverse()),["ArrowUp","ArrowDown"].includes(R.key)){const P=R.target,T=L.indexOf(P);L=L.slice(T+1)}setTimeout(()=>$(L)),R.preventDefault()}})}))))))}),d7="SelectViewport",DA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=ba(d7,n),i=Ne(t,o.onViewportChange),a=f.exports.useRef(0);return f.exports.createElement(f.exports.Fragment,null,f.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),f.exports.createElement(_f.Slot,{scope:n},f.exports.createElement(Te.div,re({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:Le(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const d=Math.abs(a.current-l.scrollTop);if(d>0){const p=window.innerHeight-Cr*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<p){const w=m+d,y=Math.min(p,w),g=w-y;u.style.height=y+"px",u.style.bottom==="0px"&&(l.scrollTop=g>0?g:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),f7="SelectGroup",[p7,h7]=_l(f7),FA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=hf();return f.exports.createElement(p7,{scope:n,id:o},f.exports.createElement(Te.div,re({role:"group","aria-labelledby":o},r,{ref:t})))}),m7="SelectLabel",IA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=h7(m7,n);return f.exports.createElement(Te.div,re({id:o.id},r,{ref:t}))}),ev="SelectItem",[v7,jA]=_l(ev),zA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=Ea(ev,n),l=ba(ev,n),u=s.value===r,[c,d]=f.exports.useState(i!=null?i:""),[p,h]=f.exports.useState(!1),v=Ne(t,y=>{var g;return(g=l.itemRefCallback)===null||g===void 0?void 0:g.call(l,y,r,o)}),m=hf(),w=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return f.exports.createElement(v7,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:f.exports.useCallback(y=>{d(g=>{var x;return g||((x=y==null?void 0:y.textContent)!==null&&x!==void 0?x:"").trim()})},[])},f.exports.createElement(_f.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},f.exports.createElement(Te.div,re({role:"option","aria-labelledby":m,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:v,onFocus:Le(a.onFocus,()=>h(!0)),onBlur:Le(a.onBlur,()=>h(!1)),onPointerUp:Le(a.onPointerUp,w),onPointerMove:Le(a.onPointerMove,y=>{if(o){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}else y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Le(a.onPointerLeave,y=>{if(y.currentTarget===document.activeElement){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}}),onKeyDown:Le(a.onKeyDown,y=>{var g;((g=l.searchRef)===null||g===void 0?void 0:g.current)!==""&&y.key===" "||(n7.includes(y.key)&&w(),y.key===" "&&y.preventDefault())})}))))}),fu="SelectItemText",VA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=Ea(fu,n),s=ba(fu,n),l=jA(fu,n),u=s7(fu,n),[c,d]=f.exports.useState(null),p=Ne(t,y=>d(y),l.onItemTextChange,y=>{var g;return(g=s.itemTextRefCallback)===null||g===void 0?void 0:g.call(s,y,l.value,l.disabled)}),h=c==null?void 0:c.textContent,v=f.exports.useMemo(()=>f.exports.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},h),[l.disabled,l.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:w}=u;return zt(()=>(m(v),()=>w(v)),[m,w,v]),f.exports.createElement(f.exports.Fragment,null,f.exports.createElement(Te.span,re({id:l.textId},i,{ref:p})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Pt.exports.createPortal(i.children,a.valueNode):null)}),g7="SelectItemIndicator",BA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return jA(g7,n).isSelected?f.exports.createElement(Te.span,re({"aria-hidden":!0},r,{ref:t})):null}),y7="SelectScrollUpButton",HA=f.exports.forwardRef((e,t)=>{const n=ba(y7,e.__scopeSelect),[r,o]=f.exports.useState(!1),i=Ne(t,n.onScrollButtonChange);return zt(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=s.scrollTop>0;o(l)};const s=n.viewport;return a(),s.addEventListener("scroll",a),()=>s.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?f.exports.createElement(GA,re({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),x7="SelectScrollDownButton",UA=f.exports.forwardRef((e,t)=>{const n=ba(x7,e.__scopeSelect),[r,o]=f.exports.useState(!1),i=Ne(t,n.onScrollButtonChange);return zt(()=>{if(n.viewport&&n.isPositioned){let a=function(){const l=s.scrollHeight-s.clientHeight,u=Math.ceil(s.scrollTop)<l;o(u)};const s=n.viewport;return a(),s.addEventListener("scroll",a),()=>s.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),r?f.exports.createElement(GA,re({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),GA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=ba("SelectScrollButton",n),a=f.exports.useRef(null),s=Bg(n),l=f.exports.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return f.exports.useEffect(()=>()=>l(),[l]),zt(()=>{var u;const c=s().find(d=>d.ref.current===document.activeElement);c==null||(u=c.ref.current)===null||u===void 0||u.scrollIntoView({block:"nearest"})},[s]),f.exports.createElement(Te.div,re({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:Le(o.onPointerMove,()=>{var u;(u=i.onItemLeave)===null||u===void 0||u.call(i),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:Le(o.onPointerLeave,()=>{l()})}))}),YA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return f.exports.createElement(Te.div,re({"aria-hidden":!0},r,{ref:t}))}),WA=f.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=f.exports.useRef(null),i=Ne(t,o),a=Ng(n);return f.exports.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const c=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(c)}},[a,n]),f.exports.createElement(e7,{asChild:!0},f.exports.createElement("select",re({},r,{ref:i,defaultValue:n})))});WA.displayName="BubbleSelect";function qA(e){const t=so(e),n=f.exports.useRef(""),r=f.exports.useRef(0),o=f.exports.useCallback(a=>{const s=n.current+a;t(s),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=f.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function KA(e,t,n){const r=t.length>1&&Array.from(t).every(s=>s===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=w7(e,Math.max(o,0));r.length===1&&(i=i.filter(s=>s!==n));const a=i.find(s=>s.textValue.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function w7(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const _7=PA,XA=RA,E7=OA,b7=Ef,ZA=LA,QA=MA,JA=DA,S7=FA,C7=IA,e$=zA,t$=VA,n$=BA,A7=HA,$7=UA,T7=YA,k7=Object.freeze(Object.defineProperty({__proto__:null,createSelectScope:o7,Select:PA,SelectTrigger:RA,SelectValue:OA,SelectIcon:Ef,SelectPortal:LA,SelectContent:MA,SelectViewport:DA,SelectGroup:FA,SelectLabel:IA,SelectItem:zA,SelectItemText:VA,SelectItemIndicator:BA,SelectScrollUpButton:HA,SelectScrollDownButton:UA,SelectSeparator:YA,Root:_7,Trigger:XA,Value:E7,Icon:b7,Portal:ZA,Content:QA,Viewport:JA,Group:S7,Label:C7,Item:e$,ItemText:t$,ItemIndicator:n$,ScrollUpButton:A7,ScrollDownButton:$7,Separator:T7},Symbol.toStringTag,{value:"Module"})),P7=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("g",{clipPath:"url(#clip0_17_2062)",children:N("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"})})}),R7=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("g",{clipPath:"url(#clip0_17_4631)",children:N("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"})})}),r$=j(XA)`
|
|
434
|
-
display: inline-flex;
|
|
435
|
-
align-items: center;
|
|
436
|
-
justify-content: space-between;
|
|
437
|
-
background-color: ${I["--ll-color-background"]};
|
|
438
|
-
border-radius: ${I["--ll-border-radius-small"]};
|
|
439
|
-
border: 1px solid ${I["--ll-color-border"]};
|
|
440
|
-
color: ${I["--ll-color-on-background-variant1"]};
|
|
441
|
-
padding: ${I["--ll-spacing-xx-small"]} ${I["--ll-spacing-x-small"]}
|
|
442
|
-
${I["--ll-spacing-xx-small"]} ${I["--ll-spacing-small"]};
|
|
443
|
-
flex: 1;
|
|
444
|
-
height: ${({size:e})=>e==="medium"?"32px":"40px"};
|
|
445
|
-
font-size: ${({size:e})=>e==="medium"?I["--ll-font-size-p"]:I["--ll-font-size-h6"]};
|
|
446
|
-
`,O7=j(Ef)`
|
|
447
|
-
margin-left: ${I["--ll-spacing-x-small"]};
|
|
448
|
-
`,o$=j(QA)`
|
|
449
|
-
overflow: hidden;
|
|
450
|
-
background-color: ${I["--ll-color-background"]};
|
|
451
|
-
border-radius: ${I["--ll-border-radius-small"]};
|
|
452
|
-
box-shadow: ${I["--ll-shadow-medium"]};
|
|
453
|
-
min-width: 120px;
|
|
454
|
-
z-index: 2;
|
|
455
|
-
font-size: ${({size:e})=>e==="medium"?I["--ll-font-size-p"]:I["--ll-font-size-h6"]};
|
|
456
|
-
`,i$=j(e$)`
|
|
457
|
-
font-family: ${I["--ll-font-family"]};
|
|
458
|
-
font-size: inherit;
|
|
459
|
-
padding: ${I["--ll-spacing-xx-small"]} ${I["--ll-spacing-x-large"]}
|
|
460
|
-
${I["--ll-spacing-xx-small"]} ${I["--ll-spacing-large"]};
|
|
461
|
-
outline: none;
|
|
462
|
-
border-radius: ${I["--ll-border-radius-small"]};
|
|
463
|
-
position: relative;
|
|
464
|
-
color: ${I["--ll-color-on-surface-variant1"]};
|
|
465
|
-
cursor: default;
|
|
466
|
-
|
|
467
|
-
&[data-highlighted] {
|
|
468
|
-
background-color: ${I["--ll-color-primary"]};
|
|
469
|
-
color: ${I["--ll-color-on-primary"]};
|
|
470
|
-
}
|
|
471
|
-
`,a$=j(n$)`
|
|
472
|
-
position: absolute;
|
|
473
|
-
left: 0;
|
|
474
|
-
height: 100%;
|
|
475
|
-
left: 0;
|
|
476
|
-
bottom: 0;
|
|
477
|
-
width: ${I["--ll-spacing-large"]};
|
|
478
|
-
display: inline-flex;
|
|
479
|
-
align-items: center;
|
|
480
|
-
justify-content: center;
|
|
481
|
-
`,s$=j(JA)`
|
|
482
|
-
font-size: inherit;
|
|
483
|
-
padding: ${I["--ll-spacing-base-unit"]};
|
|
484
|
-
`,L7=j(ZA)`
|
|
485
|
-
z-index: 1;
|
|
486
|
-
`,M7=Object.freeze(Object.defineProperty({__proto__:null,Trigger:r$,SelectIcon:O7,Content:o$,Item:i$,ItemIndicator:a$,Viewport:s$,Portal:L7},Symbol.toStringTag,{value:"Module"})),N7=({size:e="medium",children:t,...n})=>xn(r$,{size:e,...n,children:[t,de(Ef,{children:de(Lg,{SVGElement:P7,fill:I["--ll-color-on-background-variant1"],height:20})})]}),D7=({size:e="medium",children:t,...n})=>de(o$,{size:e,...n,children:de(s$,{children:t})}),F7=({children:e,...t})=>xn(i$,{...t,children:[de(t$,{children:e}),de(a$,{children:de(Lg,{SVGElement:R7,fill:"currentColor",height:12})})]}),{Root:I7}=k7,{Portal:j7}=M7,mee=Object.freeze(Object.defineProperty({__proto__:null,Root:I7,Trigger:N7,Content:D7,Item:F7,Portal:j7},Symbol.toStringTag,{value:"Module"}));function sa(){return sa=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},sa.apply(this,arguments)}var Nn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Nn||(Nn={}));var Uc=function(e){return e},_w="beforeunload",z7="popstate";function V7(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,o=r.history;function i(){var S=r.location,C=S.pathname,$=S.search,k=S.hash,D=o.state||{};return[D.idx,Uc({pathname:C,search:$,hash:k,state:D.usr||null,key:D.key||"default"})]}var a=null;function s(){if(a)h.call(a),a=null;else{var S=Nn.Pop,C=i(),$=C[0],k=C[1];if(h.length){if($!=null){var D=c-$;D&&(a={action:S,location:k,retry:function(){E(D*-1)}},E(D))}}else g(S)}}r.addEventListener(z7,s);var l=Nn.Pop,u=i(),c=u[0],d=u[1],p=Gc(),h=Gc();c==null&&(c=0,o.replaceState(sa({},o.state,{idx:c}),""));function v(S){return typeof S=="string"?S:l$(S)}function m(S,C){return C===void 0&&(C=null),Uc(sa({pathname:d.pathname,hash:"",search:""},typeof S=="string"?nv(S):S,{state:C,key:tv()}))}function w(S,C){return[{usr:S.state,key:S.key,idx:C},v(S)]}function y(S,C,$){return!h.length||(h.call({action:S,location:C,retry:$}),!1)}function g(S){l=S;var C=i();c=C[0],d=C[1],p.call({action:l,location:d})}function x(S,C){var $=Nn.Push,k=m(S,C);function D(){x(S,C)}if(y($,k,D)){var F=w(k,c+1),G=F[0],H=F[1];try{o.pushState(G,"",H)}catch(te){r.location.assign(H)}g($)}}function _(S,C){var $=Nn.Replace,k=m(S,C);function D(){_(S,C)}if(y($,k,D)){var F=w(k,c),G=F[0],H=F[1];o.replaceState(G,"",H),g($)}}function E(S){o.go(S)}var b={get action(){return l},get location(){return d},createHref:v,push:x,replace:_,go:E,back:function(){E(-1)},forward:function(){E(1)},listen:function(C){return p.push(C)},block:function(C){var $=h.push(C);return h.length===1&&r.addEventListener(_w,bw),function(){$(),h.length||r.removeEventListener(_w,bw)}}};return b}function B7(e){e===void 0&&(e={});var t=e,n=t.initialEntries,r=n===void 0?["/"]:n,o=t.initialIndex,i=r.map(function(x){var _=Uc(sa({pathname:"/",search:"",hash:"",state:null,key:tv()},typeof x=="string"?nv(x):x));return _}),a=Ew(o==null?i.length-1:o,0,i.length-1),s=Nn.Pop,l=i[a],u=Gc(),c=Gc();function d(x){return typeof x=="string"?x:l$(x)}function p(x,_){return _===void 0&&(_=null),Uc(sa({pathname:l.pathname,search:"",hash:""},typeof x=="string"?nv(x):x,{state:_,key:tv()}))}function h(x,_,E){return!c.length||(c.call({action:x,location:_,retry:E}),!1)}function v(x,_){s=x,l=_,u.call({action:s,location:l})}function m(x,_){var E=Nn.Push,b=p(x,_);function S(){m(x,_)}h(E,b,S)&&(a+=1,i.splice(a,i.length,b),v(E,b))}function w(x,_){var E=Nn.Replace,b=p(x,_);function S(){w(x,_)}h(E,b,S)&&(i[a]=b,v(E,b))}function y(x){var _=Ew(a+x,0,i.length-1),E=Nn.Pop,b=i[_];function S(){y(x)}h(E,b,S)&&(a=_,v(E,b))}var g={get index(){return a},get action(){return s},get location(){return l},createHref:d,push:m,replace:w,go:y,back:function(){y(-1)},forward:function(){y(1)},listen:function(_){return u.push(_)},block:function(_){return c.push(_)}};return g}function Ew(e,t,n){return Math.min(Math.max(e,t),n)}function bw(e){e.preventDefault(),e.returnValue=""}function Gc(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function tv(){return Math.random().toString(36).substr(2,8)}function l$(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,o=r===void 0?"":r,i=e.hash,a=i===void 0?"":i;return o&&o!=="?"&&(n+=o.charAt(0)==="?"?o:"?"+o),a&&a!=="#"&&(n+=a.charAt(0)==="#"?a:"#"+a),n}function nv(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}/**
|
|
487
|
-
* react-location
|
|
488
|
-
*
|
|
489
|
-
* Copyright (c) TanStack
|
|
490
|
-
*
|
|
491
|
-
* This source code is licensed under the MIT license found in the
|
|
492
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
493
|
-
*
|
|
494
|
-
* @license MIT
|
|
495
|
-
*/function bn(){return bn=Object.assign||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},bn.apply(this,arguments)}function rv(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function H7(e,t){var n,r,o,i="";for(n in e)if((o=e[n])!==void 0)if(Array.isArray(o))for(r=0;r<o.length;r++)i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o[r]);else i&&(i+="&"),i+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(t||"")+i}function Sw(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function U7(e){for(var t,n,r={},o=e.split("&");t=o.shift();)t=t.split("="),n=t.shift(),r[n]!==void 0?r[n]=[].concat(r[n],Sw(t.shift())):r[n]=Sw(t.shift());return r}const G7=["children","location","__experimental__snapshot"],Y7=["location","__experimental__snapshot"],W7=["basepath","routes"],u$=f.exports.createContext(null),c$=f.exports.createContext(null),d$=f.exports.createContext(null),f$=Boolean(typeof window<"u"&&window.document&&window.document.createElement),ov=f$?f.exports.useLayoutEffect:f.exports.useEffect,q7=()=>f$?V7():B7();class Ug{constructor(){this.listeners=[]}subscribe(t){return this.listeners.push(t),()=>{this.listeners=this.listeners.filter(n=>n!==t)}}notify(){this.listeners.forEach(t=>t())}}class K7 extends Ug{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||q7(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:lF,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:sF,this.current=this.parseLocation(this.history.location),this.destroy=this.history.listen(o=>{this.current=this.parseLocation(o.location,this.current),this.notify()})}buildNext(t,n){var r,o,i,a;t===void 0&&(t="/"),n===void 0&&(n={});const s=bn({},this.current,n.from),l=aF(t,s.pathname,""+((r=n.to)!=null?r:".")),u=(o=n.__searchFilters)!=null&&o.length?n.__searchFilters.reduce((v,m)=>m(v),s.search):s.search,c=n.search===!0?u:n.search?(i=$w(n.search,u))!=null?i:{}:(a=n.__searchFilters)!=null&&a.length?u:{},d=iv(s.search,c),p=this.stringifySearch(d);let h=n.hash===!0?s.hash:$w(n.hash,s.hash);return h=h?"#"+h:"",{pathname:l,search:d,searchStr:p,hash:h,href:""+l+p+h,key:n.key}}navigate(t,n){this.current=t,this.navigateTimeout&&clearTimeout(this.navigateTimeout);let r="replace";return n||(r="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(r="replace"),r==="replace"?this.history.replace({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr}):this.history.push({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr})}parseLocation(t,n){var r;const o=this.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:iv(n==null?void 0:n.search,o),hash:(r=t.hash.split("#").reverse()[0])!=null?r:"",href:""+t.pathname+t.search+t.hash,key:t.key}}}function p$(e){return N(c$.Provider,{...e})}function X7(e){let{children:t,location:n,__experimental__snapshot:r}=e,o=rv(e,G7);const i=f.exports.useRef(null);i.current||(i.current=new Q7({location:n,__experimental__snapshot:r,routes:o.routes}));const a=i.current,[s,l]=f.exports.useReducer(()=>({}),{});return a.update(o),ov(()=>a.subscribe(()=>{l()}),[]),ov(()=>a.updateLocation(n.current).unsubscribe,[n.current.key]),f.exports.createElement(u$.Provider,{value:{location:n}},f.exports.createElement(d$.Provider,{value:{router:a}},N(Z7,{}),N(p$,{value:[a.rootMatch,...a.state.matches],children:t!=null?t:N(Gg,{})})))}function Z7(){const e=Sa(),t=x$(),n=y$();return ov(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class Q7 extends Ug{constructor(t){var n;let{location:r,__experimental__snapshot:o}=t,i=rv(t,Y7);super(),this.routesById={},this.update=s=>{let{basepath:l,routes:u}=s,c=rv(s,W7);Object.assign(this,c),this.basepath=bf("/"+(l!=null?l:"")),this.routesById={};const d=(p,h)=>p.map(v=>{var m,w,y,g;const x=(m=v.path)!=null?m:"*",_=la([(h==null?void 0:h.id)==="root"?"":h==null?void 0:h.id,""+(x==null?void 0:x.replace(/(.)\/$/,"$1"))+(v.id?"-"+v.id:"")]);if(v=bn({},v,{pendingMs:(w=v.pendingMs)!=null?w:c==null?void 0:c.defaultPendingMs,pendingMinMs:(y=v.pendingMinMs)!=null?y:c==null?void 0:c.defaultPendingMinMs,id:_}),this.routesById[_])throw new Error;return this.routesById[_]=v,v.children=(g=v.children)!=null&&g.length?d(v.children,v):void 0,v});this.routes=d(u),this.rootMatch={id:"root",params:{},search:{},pathname:this.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},this.setState=s=>{const l=s({state:this.state,pending:this.pending});this.state=l.state,this.pending=l.pending,this.cleanMatchCache(),this.notify()},this.matchCache={},this.cleanMatchCache=()=>{var s,l,u;const c=[...(s=this==null?void 0:this.state.matches)!=null?s:[],...(l=this==null||(u=this.pending)==null?void 0:u.matches)!=null?l:[]].map(d=>d.id);Object.values(this.matchCache).forEach(d=>{var p;if(!d.updatedAt||c.includes(d.id))return;const h=Date.now()-((p=d.updatedAt)!=null?p:0);(!d.maxAge||h>d.maxAge)&&(d.route.unloader&&d.route.unloader(d),delete this.matchCache[d.id])})},this.updateLocation=s=>{let l;return{promise:new Promise(c=>{const d=new Cw(this,s);this.setState(p=>bn({},p,{pending:{location:d.location,matches:d.matches}})),l=d.subscribe(()=>{const p=this.state.matches;p.filter(h=>!d.matches.find(v=>v.id===h.id)).forEach(h=>{h.onExit==null||h.onExit(h)}),p.filter(h=>d.matches.find(v=>v.id===h.id)).forEach(h=>{h.route.onTransition==null||h.route.onTransition(h)}),d.matches.filter(h=>!p.find(v=>v.id===h.id)).forEach(h=>{h.onExit=h.route.onMatch==null?void 0:h.route.onMatch(h)}),this.setState(h=>bn({},h,{state:{location:d.location,matches:d.matches},pending:void 0})),c()}),d.loadData(),d.startPending()}),unsubscribe:l}},this.__experimental__createSnapshot=()=>({location:this.state.location,matches:this.state.matches.map(s=>{let{ownData:l,id:u}=s;return{id:u,ownData:l}})}),this.update(i);let a=[];if(o){const s=new Cw(this,r.current);s.matches.forEach((l,u)=>{var c,d,p;if(l.id!==((c=o.matches[u])==null?void 0:c.id)){var h;throw new Error("Router hydration mismatch: "+l.id+" !== "+((h=o.matches[u])==null?void 0:h.id))}l.ownData=(d=(p=o.matches[u])==null?void 0:p.ownData)!=null?d:{}}),h$(s.matches),a=s.matches}this.state={location:(n=o==null?void 0:o.location)!=null?n:r.current,matches:a},r.subscribe(()=>this.notify())}}function Sa(){const e=f.exports.useContext(u$);return w$(!!e,"useLocation must be used within a <ReactLocation />"),e.location}class J7{constructor(t){this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=n=>{var r;(r=this.matchLoader)==null||r.preNotify(n?this:void 0)},this.assignMatchLoader=n=>{this.matchLoader=n},this.startPending=()=>{this.pendingTimeout&&clearTimeout(this.pendingTimeout),this.route.pendingMs!==void 0&&(this.pendingTimeout=setTimeout(()=>{var n;this.status==="loading"&&(this.status="pending"),(n=this.notify)==null||n.call(this),typeof this.route.pendingMinMs<"u"&&(this.pendingMinPromise=new Promise(r=>setTimeout(r,this.route.pendingMinMs)))},this.route.pendingMs))},this.load=n=>{var r,o;if(this.maxAge=(r=(o=n.maxAge)!=null?o:this.route.loaderMaxAge)!=null?r:n.router.defaultLoaderMaxAge,this.loaderPromise)return;const i=this.route.import;this.loaderPromise=(i?(()=>(this.isLoading=!0,i({params:this.params,search:this.search}).then(a=>{this.route=bn({},this.route,a)})))():Promise.resolve()).then(()=>{const a=[];["element","errorElement","pendingElement"].forEach(c=>{const d=this.route[c];this[c]||(typeof d=="function"?(this.isLoading=!0,a.push(d(this).then(p=>{this[c]=p}))):this[c]=this.route[c])});const l=this.route.loader,u=l?new Promise(async c=>{this.isLoading=!0;const d=v=>{this.updatedAt=Date.now(),c(this.ownData),this.status=v},p=v=>{this.ownData=v,this.error=void 0,d("resolved")},h=v=>{console.error(v),this.error=v,d("rejected")};try{p(await l(this,{parentMatch:n.parentMatch,dispatch:async v=>{var m;v.type==="resolve"?p(v.data):v.type==="reject"?h(v.error):v.type==="loading"?this.isLoading=!0:v.type==="maxAge"&&(this.maxAge=v.maxAge),this.updatedAt=Date.now(),(m=this.notify)==null||m.call(this,!0)}}))}catch(v){h(v)}}):Promise.resolve();return Promise.all([...a,u]).then(()=>{this.status="resolved",this.isLoading=!1,this.startPending=void 0}).then(()=>this.pendingMinPromise).then(()=>{var c;this.pendingTimeout&&clearTimeout(this.pendingTimeout),(c=this.notify)==null||c.call(this,!0)})}).then(()=>this.ownData)},Object.assign(this,t)}}class Cw extends Ug{constructor(t,n){var r;super(),r=this,this.preNotifiedMatches=[],this.status="pending",this.preNotify=i=>{i&&(this.preNotifiedMatches.includes(i)||this.preNotifiedMatches.push(i)),(!i||this.preNotifiedMatches.length===this.matches.length)&&(this.status="resolved",h$(this.matches),this.notify())},this.loadData=async function(i){var a;let{maxAge:s}=i===void 0?{}:i;if(r.router.cleanMatchCache(),!((a=r.matches)!=null&&a.length)){r.preNotify();return}return r.firstRenderPromises=[],r.matches.forEach((l,u)=>{var c,d;const p=(c=r.matches)==null?void 0:c[u-1];l.assignMatchLoader==null||l.assignMatchLoader(r),l.load==null||l.load({maxAge:s,parentMatch:p,router:r.router}),(d=r.firstRenderPromises)==null||d.push(l.loaderPromise)}),await Promise.all(r.firstRenderPromises).then(()=>(r.preNotify(),r.matches))},this.load=async function(i){let{maxAge:a}=i===void 0?{}:i;return await r.loadData({maxAge:a})},this.startPending=async()=>{this.matches.forEach(i=>i.startPending==null?void 0:i.startPending())},this.router=t,this.location=n,this.matches=[];const o=v$(this.router,this.location);this.matches=o==null?void 0:o.map(i=>(this.router.matchCache[i.id]||(this.router.matchCache[i.id]=new J7(i)),this.router.matchCache[i.id]))}}function h$(e){e==null||e.forEach((t,n)=>{var r;const o=e==null?void 0:e[n-1];t.data=bn({},(r=o==null?void 0:o.data)!=null?r:{},t.ownData)})}function m$(){const e=f.exports.useContext(d$);if(!e)throw w$(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function v$(e,t){if(!e.routes.length)return[];const n=[],r=async(o,i)=>{var a;let{pathname:s,params:l}=i;const c=(e!=null&&e.filterRoutes?e==null?void 0:e.filterRoutes(o):o).find(v=>{var m,w;const y=la([s,v.path]),g=!!(v.path!=="/"||(m=v.children)!=null&&m.length),x=nF(t,{to:y,search:v.search,fuzzy:g,caseSensitive:(w=v.caseSensitive)!=null?w:e.caseSensitive});return x&&(l=bn({},l,x)),!!x});if(!c)return;const d=Aw(c.path,l);s=la([s,d]);const h={id:Aw(c.id,l,!0),route:c,params:l,pathname:s,search:t.search};n.push(h),(a=c.children)!=null&&a.length&&r(c.children,h)};return r(e.routes,e.rootMatch),n}function Aw(e,t,n){const r=Js(e);return la(r.map(o=>{if(o.value==="*"&&!n)return"";if(o.type==="param"){var i;return(i=t[o.value.substring(1)])!=null?i:""}return o.value}))}function g$(){return f.exports.useContext(c$)}function eF(){var e;return(e=g$())==null?void 0:e[0]}function y$(){const e=Sa(),t=eF(),n=x$();function r(o){var i;let{search:a,hash:s,replace:l,from:u,to:c,fromCurrent:d}=o;d=(i=d)!=null?i:typeof c>"u";const p=n({to:c,search:a,hash:s,from:d?e.current:u!=null?u:{pathname:t.pathname}});e.navigate(p,l)}return _$(r)}function x$(){const e=Sa(),t=m$();return _$(r=>{const o=e.buildNext(t.basepath,r),a=v$(t,o).map(s=>{var l;return(l=s.route.searchFilters)!=null?l:[]}).flat().filter(Boolean);return e.buildNext(t.basepath,bn({},r,{__searchFilters:a}))})}function Gg(){var e;const t=m$(),[n,...r]=g$(),o=r[0];if(!o)return null;const i=(e=o.errorElement)!=null?e:t.defaultErrorElement,a=(()=>{var s,l;if(o.status==="rejected"){if(i)return i;if(!t.useErrorBoundary)return"An unknown error occured!";throw o.error}const u=(s=o.pendingElement)!=null?s:t.defaultPendingElement;if(o.status==="loading")return null;if(o.status==="pending"&&(o.route.pendingMs||u))return u!=null?u:null;const c=(l=o.element)!=null?l:t.defaultElement;return c!=null?c:N(Gg,{})})();return N(p$,{value:r,children:a})}function tF(){return Sa().current.search}function nF(e,t){const n=oF(e,t),r=iF(e,t);if(!(t.to&&!n)&&!(t.search&&!r))return n!=null?n:{}}function w$(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch(n){}}}function rF(e){return typeof e=="function"}function $w(e,t){return rF(e)?e(t):e}function la(e){return bf(e.filter(Boolean).join("/"))}function bf(e){return(""+e).replace(/\/{2,}/g,"/")}function oF(e,t){var n;const r=Js(e.pathname),o=Js(""+((n=t.to)!=null?n:"*")),i={};return(()=>{for(let s=0;s<Math.max(r.length,o.length);s++){const l=r[s],u=o[s],c=s===o.length-1,d=s===r.length-1;if(u){if(u.type==="wildcard")return l!=null&&l.value?(i["*"]=la(r.slice(s).map(p=>p.value)),!0):!1;if(u.type==="pathname"){if(u.value==="/"&&!(l!=null&&l.value))return!0;if(l){if(t.caseSensitive){if(u.value!==l.value)return!1}else if(u.value.toLowerCase()!==l.value.toLowerCase())return!1}}if(!l)return!1;u.type==="param"&&(i[u.value.substring(1)]=l.value)}if(c&&!d)return!!t.fuzzy}return!0})()?i:void 0}function iF(e,t){return!!(t.search&&t.search(e.search))}function Js(e){if(!e)return[];e=bf(e);const t=[];if(e.slice(0,1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(r=>r.startsWith("*")?{type:"wildcard",value:r}:r.charAt(0)===":"?{type:"param",value:r}:{type:"pathname",value:r})),e.slice(-1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function aF(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");let r=Js(t);const o=Js(n);o.forEach((a,s)=>{if(a.value==="/")s?s===o.length-1&&r.push(a):r=[a];else if(a.value==="..")r.pop();else{if(a.value===".")return;r.push(a)}});const i=la([e,...r.map(a=>a.value)]);return bf(i)}function _$(e){const t=f.exports.useRef(),n=f.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current(...arguments)}),t.current}function iv(e,t){if(e===t)return e;const n=Array.isArray(e)&&Array.isArray(t);if(n||Tw(e)&&Tw(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let l=0;l<i;l++){const u=n?l:o[l];a[u]=iv(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function Tw(e){if(!kw(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!kw(n)||!n.hasOwnProperty("isPrototypeOf"))}function kw(e){return Object.prototype.toString.call(e)==="[object Object]"}const sF=uF(JSON.parse),lF=cF(JSON.stringify);function uF(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));let n=U7(t);for(let r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch(i){}}return n}}function cF(e){return t=>{t=bn({},t),t&&Object.keys(t).forEach(r=>{const o=t[r];if(typeof o>"u"||o===void 0)delete t[r];else if(o&&typeof o=="object"&&o!==null)try{t[r]=e(o)}catch(i){}});const n=H7(t).toString();return n?"?"+n:""}}function av(e,t){return av=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},av(e,t)}function dF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,av(e,t)}var fF=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,o){return!Object.is(r,n[o])})},Pw={error:null},pF=function(e){dF(t,e);function t(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=e.call.apply(e,[this].concat(i))||this,r.state=Pw,r.resetErrorBoundary=function(){for(var s,l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];r.props.onReset==null||(s=r.props).onReset.apply(s,u),r.reset()},r}t.getDerivedStateFromError=function(o){return{error:o}};var n=t.prototype;return n.reset=function(){this.setState(Pw)},n.componentDidCatch=function(o,i){var a,s;(a=(s=this.props).onError)==null||a.call(s,o,i)},n.componentDidUpdate=function(o,i){var a=this.state.error,s=this.props.resetKeys;if(a!==null&&i.error!==null&&fF(o.resetKeys,s)){var l,u;(l=(u=this.props).onResetKeysChange)==null||l.call(u,o.resetKeys,s),this.reset()}},n.render=function(){var o=this.state.error,i=this.props,a=i.fallbackRender,s=i.FallbackComponent,l=i.fallback;if(o!==null){var u={error:o,resetErrorBoundary:this.resetErrorBoundary};if(f.exports.isValidElement(l))return l;if(typeof a=="function")return a(u);if(s)return N(s,{...u});throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(f.exports.Component);class Sf{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const Yg=typeof window>"u";function hn(){}function hF(e,t){return typeof e=="function"?e(t):e}function mF(e){return typeof e=="number"&&e>=0&&e!==1/0}function vF(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Gp(e,t,n){return Cf(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Lr(e,t,n){return Cf(e)?[{...t,queryKey:e},n]:[e||{},t]}function Rw(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(Cf(a)){if(r){if(t.queryHash!==Wg(a,t.options))return!1}else if(!Yc(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o<"u"&&o!==t.state.fetchStatus||i&&!i(t))}function Ow(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:i}=e;if(Cf(i)){if(!t.options.mutationKey)return!1;if(n){if(Do(t.options.mutationKey)!==Do(i))return!1}else if(!Yc(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||o&&!o(t))}function Wg(e,t){return((t==null?void 0:t.queryKeyHashFn)||Do)(e)}function Do(e){return JSON.stringify(e,(t,n)=>sv(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Yc(e,t){return E$(e,t)}function E$(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!E$(e[n],t[n])):!1}function b$(e,t){if(e===t)return e;const n=Lw(e)&&Lw(t);if(n||sv(e)&&sv(t)){const r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{};let s=0;for(let l=0;l<i;l++){const u=n?l:o[l];a[u]=b$(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function vee(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Lw(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function sv(e){if(!Mw(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!Mw(n)||!n.hasOwnProperty("isPrototypeOf"))}function Mw(e){return Object.prototype.toString.call(e)==="[object Object]"}function Cf(e){return Array.isArray(e)}function S$(e){return new Promise(t=>{setTimeout(t,e)})}function Nw(e){S$(0).then(e)}function gF(){if(typeof AbortController=="function")return new AbortController}function yF(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?b$(e,t):t}class xF extends Sf{constructor(){super(),this.setup=t=>{if(!Yg&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const lv=new xF;class wF extends Sf{constructor(){super(),this.setup=t=>{if(!Yg&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Wc=new wF;function _F(e){return Math.min(1e3*2**e,3e4)}function qg(e){return(e!=null?e:"online")==="online"?Wc.isOnline():!0}class C${constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Yp(e){return e instanceof C$}function A$(e){let t=!1,n=0,r=!1,o,i,a;const s=new Promise((w,y)=>{i=w,a=y}),l=w=>{r||(h(new C$(w)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},d=()=>!lv.isFocused()||e.networkMode!=="always"&&!Wc.isOnline(),p=w=>{r||(r=!0,e.onSuccess==null||e.onSuccess(w),o==null||o(),i(w))},h=w=>{r||(r=!0,e.onError==null||e.onError(w),o==null||o(),a(w))},v=()=>new Promise(w=>{o=y=>{if(r||!d())return w(y)},e.onPause==null||e.onPause()}).then(()=>{o=void 0,r||e.onContinue==null||e.onContinue()}),m=()=>{if(r)return;let w;try{w=e.fn()}catch(y){w=Promise.reject(y)}Promise.resolve(w).then(p).catch(y=>{var g,x;if(r)return;const _=(g=e.retry)!=null?g:3,E=(x=e.retryDelay)!=null?x:_F,b=typeof E=="function"?E(n,y):E,S=_===!0||typeof _=="number"&&n<_||typeof _=="function"&&_(n,y);if(t||!S){h(y);return}n++,e.onFail==null||e.onFail(n,y),S$(b).then(()=>{if(d())return v()}).then(()=>{t?h(y):m()})})};return qg(e.networkMode)?m():v().then(m),{promise:s,cancel:l,continue:()=>{o==null||o()},cancelRetry:u,continueRetry:c}}const Kg=console;function EF(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const o=c=>{let d;t++;try{d=c()}finally{t--,t||s()}return d},i=c=>{t?e.push(c):Nw(()=>{n(c)})},a=c=>(...d)=>{i(()=>{c(...d)})},s=()=>{const c=e;e=[],c.length&&Nw(()=>{r(()=>{c.forEach(d=>{n(d)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const $t=EF();class $${destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),mF(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:Yg?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class bF extends $${constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Kg,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||SF(this.options),this.state=this.initialState,this.meta=t.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.meta=t==null?void 0:t.meta,this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,n){const r=yF(this.state.data,t,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){this.dispatch({type:"setState",state:t,setStateOptions:n})}cancel(t){var n;const r=this.promise;return(n=this.retryer)==null||n.cancel(t),r?r.then(hn).catch(hn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!vF(this.state.dataUpdatedAt,t)}onFocus(){var t;const n=this.observers.find(r=>r.shouldFetchOnWindowFocus());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const n=this.observers.find(r=>r.shouldFetchOnReconnect());n&&n.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,n){var r,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return(i=this.retryer)==null||i.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(v=>v.options.queryFn);h&&this.setOptions(h.options)}Array.isArray(this.options.queryKey);const a=gF(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u,meta:this.meta};if(l(c),(r=this.options.behavior)==null||r.onFetch(c),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=c.fetchOptions)==null?void 0:o.meta)){var d;this.dispatch({type:"fetch",meta:(d=c.fetchOptions)==null?void 0:d.meta})}const p=h=>{if(Yp(h)&&h.silent||this.dispatch({type:"error",error:h}),!Yp(h)){var v,m;(v=(m=this.cache.config).onError)==null||v.call(m,h,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=A$({fn:c.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:h=>{var v,m;if(typeof h>"u"){p(new Error("Query data cannot be undefined"));return}this.setData(h),(v=(m=this.cache.config).onSuccess)==null||v.call(m,h,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var o,i;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:qg(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(i=t.dataUpdatedAt)!=null?i:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const a=t.error;return Yp(a)&&a.revert&&this.revertState?{...this.revertState}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$t.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function SF(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData<"u"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,o=typeof t<"u";return{data:t,dataUpdateCount:0,dataUpdatedAt:o?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:o?"success":"loading",fetchStatus:"idle"}}class CF extends Sf{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var o;const i=n.queryKey,a=(o=n.queryHash)!=null?o:Wg(i,n);let s=this.get(a);return s||(s=new bF({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i),meta:n.meta}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const n=this.queriesMap[t.queryHash];n&&(t.destroy(),this.queries=this.queries.filter(r=>r!==t),n===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){$t.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=Lr(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(o=>Rw(r,o))}findAll(t,n){const[r]=Lr(t,n);return Object.keys(r).length>0?this.queries.filter(o=>Rw(r,o)):this.queries}notify(t){$t.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$t.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){$t.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class AF extends $${constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Kg,this.observers=[],this.state=t.state||$F(),this.meta=t.meta,this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(n=>n!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var x;return this.retryer=A$({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(x=this.options.retry)!=null?x:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,o,i,a,s,l;if(!n){var u,c,d,p;this.dispatch({type:"loading",variables:this.options.variables}),(u=(c=this.mutationCache.config).onMutate)==null||u.call(c,this.state.variables,this);const _=await((d=(p=this.options).onMutate)==null?void 0:d.call(p,this.state.variables));_!==this.state.context&&this.dispatch({type:"loading",context:_,variables:this.state.variables})}const x=await t();return(r=(o=this.mutationCache.config).onSuccess)==null||r.call(o,x,this.state.variables,this.state.context,this),await((i=(a=this.options).onSuccess)==null?void 0:i.call(a,x,this.state.variables,this.state.context)),await((s=(l=this.options).onSettled)==null?void 0:s.call(l,x,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:x}),x}catch(x){try{var h,v,m,w,y,g;throw(h=(v=this.mutationCache.config).onError)==null||h.call(v,x,this.state.variables,this.state.context,this),await((m=(w=this.options).onError)==null?void 0:m.call(w,x,this.state.variables,this.state.context)),await((y=(g=this.options).onSettled)==null?void 0:y.call(g,void 0,x,this.state.variables,this.state.context)),x}finally{this.dispatch({type:"error",error:x})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!qg(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...r,data:t.data,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,isPaused:!1,status:"error"};case"setState":return{...r,...t.state}}};this.state=n(this.state),$t.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function $F(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class TF extends Sf{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const o=new AF({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(n),state:r,defaultOptions:n.mutationKey?t.getMutationDefaults(n.mutationKey):void 0,meta:n.meta});return this.add(o),o}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(n=>n!==t),this.notify({type:"removed",mutation:t})}clear(){$t.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>Ow(t,n))}findAll(t){return this.mutations.filter(n=>Ow(t,n))}notify(t){$t.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return $t.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(hn)),Promise.resolve()))}}function kF(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,o,i,a;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,l=(r=e.fetchOptions)==null||(o=r.meta)==null?void 0:o.fetchMore,u=l==null?void 0:l.pageParam,c=(l==null?void 0:l.direction)==="forward",d=(l==null?void 0:l.direction)==="backward",p=((i=e.state.data)==null?void 0:i.pages)||[],h=((a=e.state.data)==null?void 0:a.pageParams)||[];let v=h,m=!1;const w=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)m=!0;else{var C;(C=e.signal)==null||C.addEventListener("abort",()=>{m=!0})}return e.signal}})},y=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),g=(b,S,C,$)=>(v=$?[S,...v]:[...v,S],$?[C,...b]:[...b,C]),x=(b,S,C,$)=>{if(m)return Promise.reject("Cancelled");if(typeof C>"u"&&!S&&b.length)return Promise.resolve(b);const k={queryKey:e.queryKey,pageParam:C,meta:e.meta};w(k);const D=y(k);return Promise.resolve(D).then(G=>g(b,C,G,$))};let _;if(!p.length)_=x([]);else if(c){const b=typeof u<"u",S=b?u:Dw(e.options,p);_=x(p,b,S)}else if(d){const b=typeof u<"u",S=b?u:PF(e.options,p);_=x(p,b,S,!0)}else{v=[];const b=typeof e.options.getNextPageParam>"u";_=(s&&p[0]?s(p[0],0,p):!0)?x([],b,h[0]):Promise.resolve(g([],h[0],p[0]));for(let C=1;C<p.length;C++)_=_.then($=>{if(s&&p[C]?s(p[C],C,p):!0){const D=b?h[C]:Dw(e.options,$);return x($,b,D)}return Promise.resolve(g($,h[C],p[C]))})}return _.then(b=>({pages:b,pageParams:v}))}}}}function Dw(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function PF(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class RF{constructor(t={}){this.queryCache=t.queryCache||new CF,this.mutationCache=t.mutationCache||new TF,this.logger=t.logger||Kg,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=lv.subscribe(()=>{lv.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Wc.subscribe(()=>{Wc.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,n;(t=this.unsubscribeFocus)==null||t.call(this),(n=this.unsubscribeOnline)==null||n.call(this)}isFetching(t,n){const[r]=Lr(t,n);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:n,state:r})=>{const o=r.data;return[n,o]})}setQueryData(t,n,r){const o=this.queryCache.find(t),i=o==null?void 0:o.state.data,a=hF(n,i);if(typeof a>"u")return;const s=Gp(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return $t.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:o})=>[o,this.setQueryData(o,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=Lr(t,n),o=this.queryCache;$t.batch(()=>{o.findAll(r).forEach(i=>{o.remove(i)})})}resetQueries(t,n,r){const[o,i]=Lr(t,n,r),a=this.queryCache,s={type:"active",...o};return $t.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,n,r){const[o,i={}]=Lr(t,n,r);typeof i.revert>"u"&&(i.revert=!0);const a=$t.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(hn).catch(hn)}invalidateQueries(t,n,r){const[o,i]=Lr(t,n,r);return $t.batch(()=>{var a,s;if(this.queryCache.findAll(o).forEach(u=>{u.invalidate()}),o.refetchType==="none")return Promise.resolve();const l={...o,type:(a=(s=o.refetchType)!=null?s:o.type)!=null?a:"active"};return this.refetchQueries(l,i)})}refetchQueries(t,n,r){const[o,i]=Lr(t,n,r),a=$t.batch(()=>this.queryCache.findAll(o).filter(l=>!l.isDisabled()).map(l=>{var u;return l.fetch(void 0,{...i,cancelRefetch:(u=i==null?void 0:i.cancelRefetch)!=null?u:!0,meta:{refetchPage:o.refetchPage}})}));let s=Promise.all(a).then(hn);return i!=null&&i.throwOnError||(s=s.catch(hn)),s}fetchQuery(t,n,r){const o=Gp(t,n,r),i=this.defaultQueryOptions(o);typeof i.retry>"u"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(hn).catch(hn)}fetchInfiniteQuery(t,n,r){const o=Gp(t,n,r);return o.behavior=kF(),this.fetchQuery(o)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(hn).catch(hn)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,n){const r=this.queryDefaults.find(o=>Do(t)===Do(o.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>Yc(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(o=>Do(t)===Do(o.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>Yc(t,r.mutationKey));return n==null?void 0:n.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const n={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!n.queryHash&&n.queryKey&&(n.queryHash=Wg(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}const Fw=f.exports.createContext(void 0),T$=f.exports.createContext(!1);function k$(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Fw),window.ReactQueryClientContext):Fw)}const gee=({context:e}={})=>{const t=f.exports.useContext(k$(e,f.exports.useContext(T$)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},OF=({client:e,children:t,context:n,contextSharing:r=!1})=>{f.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const o=k$(n,r);return N(T$.Provider,{value:!n&&r,children:N(o.Provider,{value:e,children:t})})},LF="modulepreload",MF=function(e){return"/sdks-app/v1/"+e},Iw={},ua=function(t,n,r){return!n||n.length===0?t():Promise.all(n.map(o=>{if(o=MF(o),o in Iw)return;Iw[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${a}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":LF,i||(s.as="script",s.crossOrigin=""),s.href=o,document.head.appendChild(s),i)return new Promise((l,u)=>{s.addEventListener("load",l),s.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())};var uv=(e=>(e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e))(uv||{});const NF=new K7,DF=J.lazy(()=>ua(()=>import("./index.99863166.js").then(e=>e.q),["assets/index.99863166.js","assets/index.1b45b39b.js","assets/index.08649806.css"])),FF=J.lazy(()=>ua(()=>import("./index.c1827e8f.js"),["assets/index.c1827e8f.js","assets/index.1b45b39b.js","assets/index.08649806.css"])),IF=({children:e})=>{const t=[{path:`/sdks-app/v1/${uv.LOCAL_CONTENT}`,element:N(DF,{})},{path:`/sdks-app/v1/${uv.DATA_EXPLORER}`,element:N(FF,{})}];return N(X7,{location:NF,routes:t,children:e})};var jF=Object.defineProperty,zF=(e,t,n)=>t in e?jF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sr=(e,t,n)=>(zF(e,typeof t!="symbol"?t+"":t,n),n);const VF="CONNECT",BF="DEFAULT";function HF(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var P$={exports:{}};(function(e){var t=(()=>{var n=Object.defineProperty,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,a=(w,y,g)=>y in w?n(w,y,{enumerable:!0,configurable:!0,writable:!0,value:g}):w[y]=g,s=(w,y)=>{for(var g in y||(y={}))o.call(y,g)&&a(w,g,y[g]);if(r)for(var g of r(y))i.call(y,g)&&a(w,g,y[g]);return w},l=w=>n(w,"__esModule",{value:!0}),u=(w,y)=>{l(w);for(var g in y)n(w,g,{get:y[g],enumerable:!0})},c={};u(c,{DEFAULT_UUID_LENGTH:()=>p,default:()=>m});var d="4.4.4",p=6,h={dictionary:"alphanum",shuffle:!0,debug:!1,length:p},v=class extends Function{constructor(w={}){super(),this.dictIndex=0,this.dictRange=[],this.lowerBound=0,this.upperBound=0,this.dictLength=0,this._digit_first_ascii=48,this._digit_last_ascii=58,this._alpha_lower_first_ascii=97,this._alpha_lower_last_ascii=123,this._hex_last_ascii=103,this._alpha_upper_first_ascii=65,this._alpha_upper_last_ascii=91,this._number_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii]},this._alpha_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alpha_lower_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alpha_upper_dict_ranges={upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_lower_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alphanum_upper_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._hex_dict_ranges={decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]},this.log=(...E)=>{const b=[...E];if(b[0]=`[short-unique-id] ${E[0]}`,this.debug===!0&&typeof console<"u"&&console!==null)return console.log(...b)},this.setDictionary=(E,b)=>{let S;if(E&&Array.isArray(E)&&E.length>1)S=E;else{S=[];let C;this.dictIndex=C=0;const $=`_${E}_dict_ranges`,k=this[$];Object.keys(k).forEach(D=>{const F=D;for(this.dictRange=k[F],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=C=this.lowerBound;this.lowerBound<=this.upperBound?C<this.upperBound:C>this.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?C+=1:C-=1)S.push(String.fromCharCode(this.dictIndex))})}b&&(S=S.sort(()=>Math.random()-.5)),this.dict=S,this.dictLength=this.dict.length,this.counter=0},this.seq=()=>this.sequentialUUID(),this.sequentialUUID=()=>{let E,b,S="";E=this.counter;do b=E%this.dictLength,E=Math.trunc(E/this.dictLength),S+=this.dict[b];while(E!==0);return this.counter+=1,S},this.randomUUID=(E=this.uuidLength||p)=>{let b,S,C;if(E===null||typeof E>"u"||E<1)throw new Error("Invalid UUID Length Provided");for(b="",C=0;C<E;C+=1)S=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,b+=this.dict[S];return b},this.availableUUIDs=(E=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,E).toFixed(0)),this.approxMaxBeforeCollision=(E=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*E).toFixed(20)),this.collisionProbability=(E=this.availableUUIDs(this.uuidLength),b=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(E)/this.availableUUIDs(b)).toFixed(20)),this.uniqueness=(E=this.availableUUIDs(this.uuidLength))=>{const b=parseFloat((1-this.approxMaxBeforeCollision(E)/E).toFixed(20));return b>1?1:b<0?0:b},this.getVersion=()=>this.version,this.stamp=E=>{if(typeof E!="number"||E<10)throw new Error("Param finalLength must be number greater than 10");const b=Math.floor(+new Date/1e3).toString(16),S=E-9,C=Math.round(Math.random()*(S>15?15:S)),$=this.randomUUID(S);return`${$.substr(0,C)}${b}${$.substr(C)}${C.toString(16)}`},this.parseStamp=E=>{if(E.length<10)throw new Error("Stamp length invalid");const b=parseInt(E.substr(E.length-1,1),16);return new Date(parseInt(E.substr(b,8),16)*1e3)};const y=s(s({},h),w);this.counter=0,this.debug=!1,this.dict=[],this.version=d;const{dictionary:g,shuffle:x,length:_}=y;return this.uuidLength=_,this.setDictionary(g,x),this.debug=y.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength}`),new Proxy(this,{apply:(E,b,S)=>this.randomUUID(...S)})}},m=v;return m.default=v,c})();e.exports=t.default,typeof window<"u"&&(t=t.default)})(P$);const UF=HF(P$.exports),jw=new UF({length:10});class Xg{constructor(t,n){Sr(this,"connection"),Sr(this,"channelId"),Sr(this,"boundMessageHandler"),Sr(this,"onMessageHandlers",[]),Sr(this,"resolveConnection"),Sr(this,"channelNodeId"),Sr(this,"crossOrigin"),Sr(this,"message",(r,o,i)=>this.crossOrigin?this.postMessage(r,o,i):this.customEventMessage(r,o,i)),this.channelId=t!=null?t:BF,this.channelNodeId=`channel-node-${jw()}`,this.crossOrigin=n,this.connection=new Promise(r=>{this.resolveConnection=r}),this.boundMessageHandler=this.handleMessage.bind(this)}disconnect(){this.onMessageHandlers=[],window.removeEventListener(this.channelId,this.boundMessageHandler),this.connection=new Promise(t=>{this.resolveConnection=t})}onMessage(t){this.onMessageHandlers.push(t)}removeMessageHandler(t){const n=this.onMessageHandlers.findIndex(r=>r===t);this.onMessageHandlers.splice(n,1)}customEventMessage(t,n,r){const o=new CustomEvent(this.channelId,{detail:{eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n}});window.dispatchEvent(o)}postMessage(t,n,r){var o,i,a;(a=(o=this.crossOrigin)==null?void 0:o.window)==null||a.postMessage({eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n},(i=this.crossOrigin)==null?void 0:i.targetOrigin)}async eventRequest(t,n){const r=jw();return new Promise(o=>{const i=a=>{const{eventId:s}=a;r===s&&(this.removeMessageHandler(i),o(a))};this.onMessage(i),this.message(t,n,r)})}async waitForEvent(t){return new Promise(n=>{const r=o=>{const{name:i}=o;t===i&&(this.removeMessageHandler(r),n(o))};this.onMessage(r)})}handleMessage(t){var n;let r;if(Xg.isCustomEvent(t))r=t.detail;else{if(this.crossOrigin&&!this.crossOrigin.targetOrigin.includes(t.origin)&&((n=this.crossOrigin)==null?void 0:n.targetOrigin)!=="*")return;r=t.data}const{channelId:o,channelNodeId:i}=r;this.channelId===o&&this.channelNodeId!==i&&this.onMessageHandlers.forEach(a=>{a(r)})}static isCustomEvent(t){return t.detail!==void 0}}class GF extends Xg{connect(){return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest(VF).then(t=>{this.resolveConnection(t)}),this.connection}}var YF="Expected a function",zw=1/0,WF=17976931348623157e292,Vw=0/0,qF="[object Symbol]",KF=/^\s+|\s+$/g,XF=/^[-+]0x[0-9a-f]+$/i,ZF=/^0b[01]+$/i,QF=/^0o[0-7]+$/i,JF=parseInt,eI=Object.prototype,tI=eI.toString;function nI(e,t){var n;if(typeof t!="function")throw new TypeError(YF);return e=sI(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function rI(e){return nI(2,e)}function Bw(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function oI(e){return!!e&&typeof e=="object"}function iI(e){return typeof e=="symbol"||oI(e)&&tI.call(e)==qF}function aI(e){if(!e)return e===0?e:0;if(e=lI(e),e===zw||e===-zw){var t=e<0?-1:1;return t*WF}return e===e?e:0}function sI(e){var t=aI(e),n=t%1;return t===t?n?t-n:t:0}function lI(e){if(typeof e=="number")return e;if(iI(e))return Vw;if(Bw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Bw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(KF,"");var n=ZF.test(e);return n||QF.test(e)?JF(e.slice(2),n?2:8):XF.test(e)?Vw:+e}var R$=rI;const Wp=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function cv(e,...t){if(!t.length)return e;const n=t.shift();return Wp(e)&&Wp(n)&&Object.keys(n).forEach(r=>{Wp(n[r])?(e[r]||Object.assign(e,{[r]:{}}),cv(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),cv(e,...t)}const uI=e=>{const t=f.exports.useRef(e),n=f.exports.useRef(),r=f.exports.useRef(!1),o=f.exports.useRef(!1),[,i]=f.exports.useState(0);r.current&&(o.current=!0),f.exports.useEffect(()=>(r.current||(n.current=t.current(),r.current=!0),i(a=>a+1),()=>{!o.current||n.current&&n.current()}),[])},cI=(e,t)=>{const[n,r]=f.exports.useState(e);return f.exports.useEffect(()=>{const o=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(o)}},[e,t]),n};var Qa=(e=>(e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e))(Qa||{});const dI={zoom:16,pitch:0,bearing:0,cooperativeGestures:!0},fI={},Hw={locale:"en"},pI={"local-content":{globalOptions:Hw,options:dI},"data-explorer":{globalOptions:Hw,options:fI}},O$=R$(()=>J.createContext({})),L$=()=>{const e=J.useContext(O$());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e},M$=J.memo(({children:e})=>{const t=O$(),n=tF(),r=J.useRef(n),i=Sa().current.pathname.split("/"),a=i[i.length-1],s=pI[a],l=J.useRef(),[u,c]=f.exports.useState(!1),[d,p]=f.exports.useState(s),h=cI(d,500),v=y$(),m=x=>{r.current=x,p(x)},w=x=>{var _;x.name===Qa.GET_STATE&&((_=l.current)==null||_.message(Qa.GET_STATE_RESPONSE,r.current,x.eventId)),x.name===Qa.SET_STATE&&m(x.data)};uI(()=>{const x=new GF(n.channelId,{targetOrigin:document.referrer,window:window.parent});l.current=x,x==null||x.onMessage(w),x==null||x.connect().then(_=>{const E=cv(d,_.data);m(E),c(!0)})});const y=x=>{var _;(_=l.current)==null||_.message(Qa.ON_CHANGE,x)};f.exports.useEffect(()=>{v({search:()=>h})},[h]),f.exports.useEffect(()=>{d.options&&y({type:"options",data:d.options})},[d.options]);const g=f.exports.useMemo(()=>({sdkState:d,setSdkState:m,onChange:y}),[d,m,y]);return u?N(t.Provider,{value:g,children:e}):null});M$.displayName="StateManagerProvider";const hI={en:()=>ua(()=>import("./index.d464e7cf.js"),[]),fr:()=>ua(()=>import("./index.e63e2d64.js"),[])},mI={en:()=>ua(()=>import("./index.f4fcee01.js"),[]),fr:()=>ua(()=>import("./index.130c24fb.js"),[])},vI={"local-content":e=>mI[e](),"data-explorer":e=>hI[e]()},N$=R$(()=>J.createContext({})),yee=()=>{const e=f.exports.useContext(N$());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e},gI=({children:e})=>{var p;const[t,n]=f.exports.useState(!0),[r,o]=f.exports.useState(),{sdkState:i}=L$(),a=((p=i.globalOptions)==null?void 0:p.locale)||"en",s=N$(),u=Sa().current.pathname.split("/"),c=u[u.length-1],d=vI[c];if(f.exports.useEffect(()=>{n(!0),d(a).then(h=>{o(h.translations)}).finally(()=>{n(!1)})},[a,d]),t)return null;if(!r)throw new Error("No translations were found.");return N(s.Provider,{value:{translations:r},children:e})};var yI=Object.defineProperty,xI=(e,t,n)=>t in e?yI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hs=(e,t,n)=>(xI(e,typeof t!="symbol"?t+"":t,n),n);function wI(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var D$={exports:{}},Zg={exports:{}},F$=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},_I=F$,yo=Object.prototype.toString;function Qg(e){return Array.isArray(e)}function dv(e){return typeof e>"u"}function EI(e){return e!==null&&!dv(e)&&e.constructor!==null&&!dv(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function I$(e){return yo.call(e)==="[object ArrayBuffer]"}function bI(e){return yo.call(e)==="[object FormData]"}function SI(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&I$(e.buffer),t}function CI(e){return typeof e=="string"}function AI(e){return typeof e=="number"}function j$(e){return e!==null&&typeof e=="object"}function Wu(e){if(yo.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function $I(e){return yo.call(e)==="[object Date]"}function TI(e){return yo.call(e)==="[object File]"}function kI(e){return yo.call(e)==="[object Blob]"}function z$(e){return yo.call(e)==="[object Function]"}function PI(e){return j$(e)&&z$(e.pipe)}function RI(e){return yo.call(e)==="[object URLSearchParams]"}function OI(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function LI(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Jg(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),Qg(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function fv(){var e={};function t(o,i){Wu(e[i])&&Wu(o)?e[i]=fv(e[i],o):Wu(o)?e[i]=fv({},o):Qg(o)?e[i]=o.slice():e[i]=o}for(var n=0,r=arguments.length;n<r;n++)Jg(arguments[n],t);return e}function MI(e,t,n){return Jg(t,function(r,o){n&&typeof r=="function"?e[o]=_I(r,n):e[o]=r}),e}function NI(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var Vt={isArray:Qg,isArrayBuffer:I$,isBuffer:EI,isFormData:bI,isArrayBufferView:SI,isString:CI,isNumber:AI,isObject:j$,isPlainObject:Wu,isUndefined:dv,isDate:$I,isFile:TI,isBlob:kI,isFunction:z$,isStream:PI,isURLSearchParams:RI,isStandardBrowserEnv:LI,forEach:Jg,merge:fv,extend:MI,trim:OI,stripBOM:NI},ai=Vt;function Uw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var V$=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(ai.isURLSearchParams(t))r=t.toString();else{var o=[];ai.forEach(t,function(a,s){a===null||typeof a>"u"||(ai.isArray(a)?s=s+"[]":a=[a],ai.forEach(a,function(l){ai.isDate(l)?l=l.toISOString():ai.isObject(l)&&(l=JSON.stringify(l)),o.push(Uw(s)+"="+Uw(l))}))}),r=o.join("&")}if(r){var i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e},DI=Vt;function Af(){this.handlers=[]}Af.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};Af.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};Af.prototype.forEach=function(e){DI.forEach(this.handlers,function(t){t!==null&&e(t)})};var FI=Af,II=Vt,jI=function(e,t){II.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})},B$=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},H$={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qp,Gw;function U$(){if(Gw)return qp;Gw=1;var e=B$;return qp=function(t,n,r,o,i){var a=new Error(t);return e(a,n,r,o,i)},qp}var Kp,Yw;function zI(){if(Yw)return Kp;Yw=1;var e=U$();return Kp=function(t,n,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(e("Request failed with status code "+r.status,r.config,null,r.request,r))},Kp}var Xp,Ww;function VI(){if(Ww)return Xp;Ww=1;var e=Vt;return Xp=e.isStandardBrowserEnv()?function(){return{write:function(t,n,r,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(n)),e.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),e.isString(o)&&s.push("path="+o),e.isString(i)&&s.push("domain="+i),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Xp}var qw,Kw;function BI(){return Kw||(Kw=1,qw=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}),qw}var Xw,Zw;function HI(){return Zw||(Zw=1,Xw=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}),Xw}var Zp,Qw;function UI(){if(Qw)return Zp;Qw=1;var e=BI(),t=HI();return Zp=function(n,r){return n&&!e(r)?t(n,r):r},Zp}var Qp,Jw;function GI(){if(Jw)return Qp;Jw=1;var e=Vt,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Qp=function(n){var r={},o,i,a;return n&&e.forEach(n.split(`
|
|
496
|
-
`),function(s){if(a=s.indexOf(":"),o=e.trim(s.substr(0,a)).toLowerCase(),i=e.trim(s.substr(a+1)),o){if(r[o]&&t.indexOf(o)>=0)return;o==="set-cookie"?r[o]=(r[o]?r[o]:[]).concat([i]):r[o]=r[o]?r[o]+", "+i:i}}),r},Qp}var Jp,e_;function YI(){if(e_)return Jp;e_=1;var e=Vt;return Jp=e.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(i){var a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){var a=e.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Jp}var eh,t_;function $f(){if(t_)return eh;t_=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,eh=e,eh}var th,n_;function WI(){if(n_)return th;n_=1;var e=Vt,t=zI(),n=VI(),r=V$,o=UI(),i=GI(),a=YI(),s=U$(),l=H$,u=$f();return th=function(c){return new Promise(function(d,p){var h=c.data,v=c.headers,m=c.responseType,w;function y(){c.cancelToken&&c.cancelToken.unsubscribe(w),c.signal&&c.signal.removeEventListener("abort",w)}e.isFormData(h)&&delete v["Content-Type"];var g=new XMLHttpRequest;if(c.auth){var x=c.auth.username||"",_=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";v.Authorization="Basic "+btoa(x+":"+_)}var E=o(c.baseURL,c.url);g.open(c.method.toUpperCase(),r(E,c.params,c.paramsSerializer),!0),g.timeout=c.timeout;function b(){if(g){var C="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,$=!m||m==="text"||m==="json"?g.responseText:g.response,k={data:$,status:g.status,statusText:g.statusText,headers:C,config:c,request:g};t(function(D){d(D),y()},function(D){p(D),y()},k),g=null}}if("onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){!g||(p(s("Request aborted",c,"ECONNABORTED",g)),g=null)},g.onerror=function(){p(s("Network Error",c,null,g)),g=null},g.ontimeout=function(){var C=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",$=c.transitional||l;c.timeoutErrorMessage&&(C=c.timeoutErrorMessage),p(s(C,c,$.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},e.isStandardBrowserEnv()){var S=(c.withCredentials||a(E))&&c.xsrfCookieName?n.read(c.xsrfCookieName):void 0;S&&(v[c.xsrfHeaderName]=S)}"setRequestHeader"in g&&e.forEach(v,function(C,$){typeof h>"u"&&$.toLowerCase()==="content-type"?delete v[$]:g.setRequestHeader($,C)}),e.isUndefined(c.withCredentials)||(g.withCredentials=!!c.withCredentials),m&&m!=="json"&&(g.responseType=c.responseType),typeof c.onDownloadProgress=="function"&&g.addEventListener("progress",c.onDownloadProgress),typeof c.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(w=function(C){!g||(p(!C||C&&C.type?new u("canceled"):C),g.abort(),g=null)},c.cancelToken&&c.cancelToken.subscribe(w),c.signal&&(c.signal.aborted?w():c.signal.addEventListener("abort",w))),h||(h=null),g.send(h)})},th}var dt=Vt,r_=jI,qI=B$,KI=H$,XI={"Content-Type":"application/x-www-form-urlencoded"};function o_(e,t){!dt.isUndefined(e)&&dt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function ZI(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=WI()),e}function QI(e,t,n){if(dt.isString(e))try{return(t||JSON.parse)(e),dt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Tf={transitional:KI,adapter:ZI(),transformRequest:[function(e,t){return r_(t,"Accept"),r_(t,"Content-Type"),dt.isFormData(e)||dt.isArrayBuffer(e)||dt.isBuffer(e)||dt.isStream(e)||dt.isFile(e)||dt.isBlob(e)?e:dt.isArrayBufferView(e)?e.buffer:dt.isURLSearchParams(e)?(o_(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):dt.isObject(e)||t&&t["Content-Type"]==="application/json"?(o_(t,"application/json"),QI(e)):e}],transformResponse:[function(e){var t=this.transitional||Tf.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&this.responseType==="json";if(o||r&&dt.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o)throw i.name==="SyntaxError"?qI(i,this,"E_JSON_PARSE"):i}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};dt.forEach(["delete","get","head"],function(e){Tf.headers[e]={}});dt.forEach(["post","put","patch"],function(e){Tf.headers[e]=dt.merge(XI)});var e1=Tf,JI=Vt,ej=e1,tj=function(e,t,n){var r=this||ej;return JI.forEach(n,function(o){e=o.call(r,e,t)}),e},i_,a_;function G$(){return a_||(a_=1,i_=function(e){return!!(e&&e.__CANCEL__)}),i_}var s_=Vt,nh=tj,nj=G$(),rj=e1,oj=$f();function rh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new oj("canceled")}var ij=function(e){rh(e),e.headers=e.headers||{},e.data=nh.call(e,e.data,e.headers,e.transformRequest),e.headers=s_.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),s_.forEach(["delete","get","head","post","put","patch","common"],function(n){delete e.headers[n]});var t=e.adapter||rj.adapter;return t(e).then(function(n){return rh(e),n.data=nh.call(e,n.data,n.headers,e.transformResponse),n},function(n){return nj(n)||(rh(e),n&&n.response&&(n.response.data=nh.call(e,n.response.data,n.response.headers,e.transformResponse))),Promise.reject(n)})},Bt=Vt,Y$=function(e,t){t=t||{};var n={};function r(u,c){return Bt.isPlainObject(u)&&Bt.isPlainObject(c)?Bt.merge(u,c):Bt.isPlainObject(c)?Bt.merge({},c):Bt.isArray(c)?c.slice():c}function o(u){if(Bt.isUndefined(t[u])){if(!Bt.isUndefined(e[u]))return r(void 0,e[u])}else return r(e[u],t[u])}function i(u){if(!Bt.isUndefined(t[u]))return r(void 0,t[u])}function a(u){if(Bt.isUndefined(t[u])){if(!Bt.isUndefined(e[u]))return r(void 0,e[u])}else return r(void 0,t[u])}function s(u){if(u in t)return r(e[u],t[u]);if(u in e)return r(void 0,e[u])}var l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s};return Bt.forEach(Object.keys(e).concat(Object.keys(t)),function(u){var c=l[u]||o,d=c(u);Bt.isUndefined(d)&&c!==s||(n[u]=d)}),n},l_,u_;function W$(){return u_||(u_=1,l_={version:"0.26.1"}),l_}var aj=W$().version,t1={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){t1[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var c_={};t1.transitional=function(e,t,n){function r(o,i){return"[Axios v"+aj+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return function(o,i,a){if(e===!1)throw new Error(r(i," has been removed"+(t?" in "+t:"")));return t&&!c_[i]&&(c_[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,i,a):!0}};function sj(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new TypeError("option "+i+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+i)}}var lj={assertOptions:sj,validators:t1},q$=Vt,uj=V$,d_=FI,f_=ij,kf=Y$,K$=lj,si=K$.validators;function El(e){this.defaults=e,this.interceptors={request:new d_,response:new d_}}El.prototype.request=function(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=kf(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&K$.assertOptions(n,{silentJSONParsing:si.transitional(si.boolean),forcedJSONParsing:si.transitional(si.boolean),clarifyTimeoutError:si.transitional(si.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(t)===!1||(o=o&&d.synchronous,r.unshift(d.fulfilled,d.rejected))});var i=[];this.interceptors.response.forEach(function(d){i.push(d.fulfilled,d.rejected)});var a;if(!o){var s=[f_,void 0];for(Array.prototype.unshift.apply(s,r),s=s.concat(i),a=Promise.resolve(t);s.length;)a=a.then(s.shift(),s.shift());return a}for(var l=t;r.length;){var u=r.shift(),c=r.shift();try{l=u(l)}catch(d){c(d);break}}try{a=f_(l)}catch(d){return Promise.reject(d)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};El.prototype.getUri=function(e){return e=kf(this.defaults,e),uj(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};q$.forEach(["delete","get","head","options"],function(e){El.prototype[e]=function(t,n){return this.request(kf(n||{},{method:e,url:t,data:(n||{}).data}))}});q$.forEach(["post","put","patch"],function(e){El.prototype[e]=function(t,n,r){return this.request(kf(r||{},{method:e,url:t,data:n}))}});var cj=El,oh,p_;function dj(){if(p_)return oh;p_=1;var e=$f();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(i){r=i});var o=this;this.promise.then(function(i){if(o._listeners){var a,s=o._listeners.length;for(a=0;a<s;a++)o._listeners[a](i);o._listeners=null}}),this.promise.then=function(i){var a,s=new Promise(function(l){o.subscribe(l),a=l}).then(i);return s.cancel=function(){o.unsubscribe(a)},s},n(function(i){o.reason||(o.reason=new e(i),r(o.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var r=this._listeners.indexOf(n);r!==-1&&this._listeners.splice(r,1)}},t.source=function(){var n,r=new t(function(o){n=o});return{token:r,cancel:n}},oh=t,oh}var h_,m_;function fj(){return m_||(m_=1,h_=function(e){return function(t){return e.apply(null,t)}}),h_}var ih,v_;function pj(){if(v_)return ih;v_=1;var e=Vt;return ih=function(t){return e.isObject(t)&&t.isAxiosError===!0},ih}var g_=Vt,hj=F$,qu=cj,mj=Y$,vj=e1;function X$(e){var t=new qu(e),n=hj(qu.prototype.request,t);return g_.extend(n,qu.prototype,t),g_.extend(n,t),n.create=function(r){return X$(mj(e,r))},n}var Gn=X$(vj);Gn.Axios=qu;Gn.Cancel=$f();Gn.CancelToken=dj();Gn.isCancel=G$();Gn.VERSION=W$().version;Gn.all=function(e){return Promise.all(e)};Gn.spread=fj();Gn.isAxiosError=pj();Zg.exports=Gn;Zg.exports.default=Gn;(function(e){e.exports=Zg.exports})(D$);const Z$=wI(D$.exports),gj=(e,t)=>Z$.create({baseURL:{VITE_HERE_API_KEY:"KDL0aAzsbOcv7p53P2ovno2izfDOe93hyzZRrayktbE",VITE_API_KEY:"V3 fJThgHrWKzWZXfqwvpGdlx3d8ujnxmT3.d299c257-027b-46f6-b79b-4832b4475fc1",VITE_REACT_APP_MAPTILER_KEY:"9jNGatuzs05Q1oNlctEs",VITE_SEGMENT_KEY:"c0SISxJpICLXxstkrSppa4uxwYzBQbqf",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_API_URL||"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t});var Q$=(e=>(e[e.groceries=0]="groceries",e[e.groceries_specialized=1]="groceries_specialized",e[e.shopping=2]="shopping",e[e.nightlife=3]="nightlife",e[e.restaurants=4]="restaurants",e[e.cafes=5]="cafes",e[e.daycares=6]="daycares",e[e.bus_stops=7]="bus_stops",e[e.rapid_transit_stations=8]="rapid_transit_stations",e[e.train_stations=9]="train_stations",e[e.parks=10]="parks",e[e.healthy_restaurants=11]="healthy_restaurants",e[e.fitness=12]="fitness",e[e.sport_facilities=13]="sport_facilities",e[e.health_care=14]="health_care",e[e.pet_care=15]="pet_care",e[e.car_fueling_stations=16]="car_fueling_stations",e[e.art_culture_science=17]="art_culture_science",e[e.home_improvement=18]="home_improvement",e[e.personal_care=19]="personal_care",e))(Q$||{});const yj="/pois";function Qo(e){this._maxSize=e,this.clear()}Qo.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Qo.prototype.get=function(e){return this._values[e]};Qo.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var xj=/[^.^\]^[]+|(?=\[\]|\.\.)/g,J$=/^\d+$/,wj=/^\d/,_j=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,Ej=/^\s*(['"]?)(.*?)(\1)\s*$/,n1=512,y_=new Qo(n1),x_=new Qo(n1),w_=new Qo(n1),Vo={Cache:Qo,split:pv,normalizePath:ah,setter:function(e){var t=ah(e);return x_.get(e)||x_.set(e,function(n,r){for(var o=0,i=t.length,a=n;o<i-1;){var s=t[o];if(s==="__proto__"||s==="constructor"||s==="prototype")return n;a=a[t[o++]]}a[t[o]]=r})},getter:function(e,t){var n=ah(e);return w_.get(e)||w_.set(e,function(r){for(var o=0,i=n.length;o<i;)if(r!=null||!t)r=r[n[o++]];else return;return r})},join:function(e){return e.reduce(function(t,n){return t+(r1(n)||J$.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){bj(Array.isArray(e)?e:pv(e),t,n)}};function ah(e){return y_.get(e)||y_.set(e,pv(e).map(function(t){return t.replace(Ej,"$2")}))}function pv(e){return e.match(xj)||[""]}function bj(e,t,n){var r=e.length,o,i,a,s;for(i=0;i<r;i++)o=e[i],o&&(Aj(o)&&(o='"'+o+'"'),s=r1(o),a=!s&&/^\d+$/.test(o),t.call(n,o,s,a,i,e))}function r1(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function Sj(e){return e.match(wj)&&!e.match(J$)}function Cj(e){return _j.test(e)}function Aj(e){return!r1(e)&&(Sj(e)||Cj(e))}const $j=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,Pf=e=>e.match($j)||[],Rf=e=>e[0].toUpperCase()+e.slice(1),o1=(e,t)=>Pf(e).join(t).toLowerCase(),eT=e=>Pf(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),Tj=e=>Rf(eT(e)),kj=e=>o1(e,"_"),Pj=e=>o1(e,"-"),Rj=e=>Rf(o1(e," ")),Oj=e=>Pf(e).map(Rf).join(" ");var sh={words:Pf,upperFirst:Rf,camelCase:eT,pascalCase:Tj,snakeCase:kj,kebabCase:Pj,sentenceCase:Rj,titleCase:Oj},i1={exports:{}};i1.exports=function(e){return tT(Lj(e),e)};i1.exports.array=tT;function tT(e,t){var n=e.length,r=new Array(n),o={},i=n,a=Mj(t),s=Nj(e);for(t.forEach(function(u){if(!s.has(u[0])||!s.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)o[i]||l(e[i],i,new Set);return r;function l(u,c,d){if(d.has(u)){var p;try{p=", node was:"+JSON.stringify(u)}catch(m){p=""}throw new Error("Cyclic dependency"+p)}if(!s.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!o[c]){o[c]=!0;var h=a.get(u)||new Set;if(h=Array.from(h),c=h.length){d.add(u);do{var v=h[--c];l(v,s.get(v),d)}while(c);d.delete(u)}r[--n]=u}}}function Lj(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}function Mj(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function Nj(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}const Dj=Object.prototype.toString,Fj=Error.prototype.toString,Ij=RegExp.prototype.toString,jj=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",zj=/^Symbol\((.*)\)(.*)$/;function Vj(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function __(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return Vj(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return jj.call(e).replace(zj,"Symbol($1)");const r=Dj.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+Fj.call(e)+"]":r==="RegExp"?Ij.call(e):null}function Bo(e,t){let n=__(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=__(this[r],t);return i!==null?i:o},2)}function nT(e){return e==null?[]:[].concat(e)}let Bj=/\$\{\s*(\w+)\s*\}/g;class Mt extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(Bj,(o,i)=>Bo(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],nT(t).forEach(i=>{Mt.isError(i)?(this.errors.push(...i.errors),this.inner=this.inner.concat(i.inner.length?i.inner:i)):this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,Mt)}}let Xn={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${Bo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Bo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Bo(n,!0)}\``+o}},fn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Ar={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},hv={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},mv={isValue:"${path} field must be ${value}"},vv={noUnknown:"${path} field has unspecified keys: ${unknown}"},Ku={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"};Object.assign(Object.create(null),{mixed:Xn,string:fn,number:Ar,date:hv,object:vv,array:Ku,boolean:mv});const Of=e=>e&&e.__isYupSchema__;class qc{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:i}=n,a=typeof r=="function"?r:(...s)=>s.every(l=>l===r);return new qc(t,(s,l)=>{var u;let c=a(...s)?o:i;return(u=c==null?void 0:c(l))!=null?u:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Of(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}function Hj(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const pu={context:"$",value:"."};class nr{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===pu.context,this.isValue=this.key[0]===pu.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?pu.context:this.isValue?pu.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Vo.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}nr.prototype.__isYupRef=!0;const nn=e=>e==null,Uj=["value","path","label","options","originalValue","spec","sync"];function li(e){function t(n,r,o){let{value:i,path:a="",label:s,options:l,originalValue:u,spec:c,sync:d}=n,p=Hj(n,Uj);const{name:h,test:v,params:m,message:w,skipAbsent:y}=e;let{parent:g,context:x,abortEarly:_=p.schema.spec.abortEarly}=l;function E(H){return nr.isRef(H)?H.getValue(i,g,x):H}function b(H={}){const te=Object.assign({value:i,originalValue:u,label:s,path:H.path||a,spec:c},m,H.params);for(const ie of Object.keys(te))te[ie]=E(te[ie]);const ue=new Mt(Mt.formatError(H.message||w,te),i,te.path,H.type||h);return ue.params=te,ue}const S=_?r:o;let C=Object.assign({path:a,parent:g,type:h,createError:b,resolve:E,options:l,originalValue:u},p);const $=H=>{Mt.isError(H)?S(H):H?o(null):S(b())},k=H=>{Mt.isError(H)?S(H):r(H)},D=y&&nn(i);if(!d){try{Promise.resolve(D?!0:v.call(C,i,C)).then($,k)}catch(H){k(H)}return}let F;try{var G;if(F=D?!0:v.call(C,i,C),typeof((G=F)==null?void 0:G.then)=="function")throw new Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(H){k(H);return}$(F)}return t.OPTIONS=e,t}let Gj=e=>e.substr(0,e.length-1).substr(1);function Yj(e,t,n,r=n){let o,i,a;return t?(Vo.forEach(t,(s,l,u)=>{let c=l?Gj(s):s;e=e.resolve({context:r,parent:o,value:n});let d=e.type==="tuple",p=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}i=c,a=l?"["+s+"]":"."+s}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}class Kc{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const t=[];for(const n of this.list)t.push(n);for(const[,n]of this.refs)t.push(n.describe());return t}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(t){return this.toArray().reduce((n,r)=>n.concat(nr.isRef(r)?t(r):r),[])}add(t){nr.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}delete(t){nr.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}clone(){const t=new Kc;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}merge(t,n){const r=this.clone();return t.list.forEach(o=>r.add(o)),t.refs.forEach(o=>r.add(o)),n.list.forEach(o=>r.delete(o)),n.refs.forEach(o=>r.delete(o)),r}}function Ri(e,t=new Map){if(Of(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=Ri(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,Ri(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Ri(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=Ri(o,t)}else throw Error(`Unable to clone ${e}`);return n}class qt{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Kc,this._blacklist=new Kc,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Xn.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=Ri(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(a=>{i.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,i)=>i.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(o&&nn(i))return i;let a=Bo(t),s=Bo(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
497
|
-
|
|
498
|
-
attempted value: ${a}
|
|
499
|
-
`+(s!==a?`result of cast: ${s}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault()),r}_validate(t,n={},r,o){let{sync:i,path:a,from:s=[],originalValue:l=t,strict:u=this.spec.strict}=n,c=t;u||(c=this._cast(c,Object.assign({assert:!1},n)));let d={value:c,path:a,options:n,originalValue:l,schema:this,label:this.spec.label,spec:this.spec,sync:i,from:s},p=[];for(let h of Object.values(this.internalTests))h&&p.push(h);this.runTests({args:d,value:c,tests:p},r,h=>{if(h.length)return o(h,c);this.runTests({args:d,value:c,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:i,args:a,value:s}=t,l=p=>{o||(o=!0,n(p,s))},u=p=>{o||(o=!0,r(p,s))},c=i.length,d=[];if(!c)return u([]);for(let p=0;p<i.length;p++){const h=i[p];h(a,l,function(v){v&&(d=d.concat(v)),--c<=0&&u(d)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:i,options:a}){const s=t!=null?t:n;if(s==null)throw TypeError("Must include `key` or `index` for nested validations");const l=typeof s=="number";let u=r[s];const c=Object.assign({},a,{strict:!0,parent:r,value:u,originalValue:i[s],key:void 0,[l?"index":"key"]:s,path:l||s.includes(".")?`${o||""}[${u?s:`"${s}"`}]`:(o?`${o}.`:"")+t});return(d,p,h)=>this.resolve(c)._validate(u,c,p,h)}validate(t,n){let r=this.resolve(Object.assign({},n,{value:t}));return new Promise((o,i)=>r._validate(t,n,(a,s)=>{Mt.isError(a)&&(a.value=s),i(a)},(a,s)=>{a.length?i(new Mt(a,s)):o(s)}))}validateSync(t,n){let r=this.resolve(Object.assign({},n,{value:t})),o;return r._validate(t,Object.assign({},n,{sync:!0}),(i,a)=>{throw Mt.isError(i)&&(i.value=a),i},(i,a)=>{if(i.length)throw new Mt(i,t);o=a}),o}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Mt.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Mt.isError(r))return!1;throw r}}_getDefault(){let t=this.spec.default;return t==null?t:typeof t=="function"?t.call(this):Ri(t)}getDefault(t){return this.resolve(t||{})._getDefault()}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=li({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=li({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Xn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Xn.notNull){return this.nullability(!1,t)}required(t=Xn.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Xn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=li(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(i||a.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=nT(t).map(i=>new nr(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new qc(o,n):qc.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=li({message:t,name:"typeError",test(r){return!nn(r)&&!this.schema._typeCheck(r)?this.createError({params:{type:this.schema.type}}):!0}}),n}oneOf(t,n=Xn.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=li({message:n,name:"oneOf",test(o){if(o===void 0)return!0;let i=this.schema._whitelist,a=i.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:i.toArray().join(", "),resolved:a}})}}),r}notOneOf(t,n=Xn.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=li({message:n,name:"notOneOf",test(o){let i=this.schema._blacklist,a=i.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:i.toArray().join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:i,nullable:a}=n.spec;return{meta:o,label:r,optional:i,nullable:a,type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(s=>({name:s.OPTIONS.name,params:s.OPTIONS.params})).filter((s,l,u)=>u.findIndex(c=>c.name===s.name)===l)}}}qt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])qt.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:a}=Yj(this,t,n,r.context);return a[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])qt.prototype[e]=qt.prototype.oneOf;for(const e of["not","nope"])qt.prototype[e]=qt.prototype.notOneOf;function rT(){return new oT}class oT extends qt{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(r.spec.coerce&&!r.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=mv.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return nn(n)||n===!0}})}isFalse(t=mv.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return nn(n)||n===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}rT.prototype=oT.prototype;let Wj=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,qj=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Kj=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Xj=e=>nn(e)||e===e.trim(),Zj={}.toString();function Ui(){return new iT}class iT extends qt{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===Zj?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Xn.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=fn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=fn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=fn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:i}=n:o=n),this.test({name:i||"matches",message:o||fn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=fn.email){return this.matches(Wj,{name:"email",message:t,excludeEmptyString:!0})}url(t=fn.url){return this.matches(qj,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=fn.uuid){return this.matches(Kj,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=fn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:Xj})}lowercase(t=fn.lowercase){return this.transform(n=>nn(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>nn(n)||n===n.toLowerCase()})}uppercase(t=fn.uppercase){return this.transform(n=>nn(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>nn(n)||n===n.toUpperCase()})}}Ui.prototype=iT.prototype;let Qj=e=>e!=+e;function it(){return new aT}class aT extends qt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!Qj(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return r.isType(o)?o:parseFloat(o)})})}min(t,n=Ar.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=Ar.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=Ar.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=Ar.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Ar.positive){return this.moreThan(0,t)}negative(t=Ar.negative){return this.lessThan(0,t)}integer(t=Ar.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>nn(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(o=>nn(o)?o:Math[t](o))}}it.prototype=aT.prototype;var Jj=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function ez(e){var t=[1,4,5,6,7,10,11],n=0,r,o;if(o=Jj.exec(e)){for(var i=0,a;a=t[i];++i)o[a]=+o[a]||0;o[2]=(+o[2]||1)-1,o[3]=+o[3]||1,o[7]=o[7]?String(o[7]).substr(0,3):0,(o[8]===void 0||o[8]==="")&&(o[9]===void 0||o[9]==="")?r=+new Date(o[1],o[2],o[3],o[4],o[5],o[6],o[7]):(o[8]!=="Z"&&o[9]!==void 0&&(n=o[10]*60+o[11],o[9]==="+"&&(n=0-n)),r=Date.UTC(o[1],o[2],o[3],o[4],o[5]+n,o[6],o[7]))}else r=Date.parse?Date.parse(e):NaN;return r}let tz=new Date(""),nz=e=>Object.prototype.toString.call(e)==="[object Date]";class Lf extends qt{constructor(){super({type:"date",check(t){return nz(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)?t:(t=ez(t),isNaN(t)?Lf.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(nr.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=hv.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=hv.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}Lf.INVALID_DATE=tz;Lf.prototype;function rz(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,s])=>`${a}-${s}`));function i(a,s){let l=Vo.split(a)[0];r.add(l),o.has(`${s}-${l}`)||n.push([s,l])}for(const a of Object.keys(e)){let s=e[a];r.add(a),nr.isRef(s)&&s.isSibling?i(s.path,a):Of(s)&&"deps"in s&&s.deps.forEach(l=>i(l,a))}return i1.exports.array(Array.from(r),n).reverse()}function E_(e,t){let n=1/0;return e.some((r,o)=>{var i;if((i=t.path)!=null&&i.includes(r))return n=o,!0}),n}function sT(e){return(t,n)=>E_(e,t)-E_(e,n)}const lT=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function Xu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Xu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Xu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Xu)}):"optional"in e?e.optional():e}const oz=(e,t)=>{const n=[...Vo.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Vo.getter(Vo.join(n),!0)(e);return!!(o&&r in o)};let b_=e=>Object.prototype.toString.call(e)==="[object Object]";function iz(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const az=sT([]);function Jo(e){return new uT(e)}class uT extends qt{constructor(t){super({type:"object",check(n){return b_(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=az,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault();if(!this._typeCheck(o))return o;let i=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(o).filter(d=>!this._nodes.includes(d))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const d of s){let p=i[d],h=d in o;if(p){let v,m=o[d];u.path=(n.path?`${n.path}.`:"")+d,p=p.resolve({value:m,context:n.context,parent:l});let w=p instanceof qt?p.spec:void 0,y=w==null?void 0:w.strict;if(w!=null&&w.strip){c=c||d in o;continue}v=!n.__validating||!y?p.cast(o[d],u):o[d],v!==void 0&&(l[d]=v)}else h&&!a&&(l[d]=o[d]);(h!==d in l||l[d]!==o[d])&&(c=!0)}return c?l:o}_validate(t,n={},r,o){let{from:i=[],originalValue:a=t,recursive:s=this.spec.recursive}=n;n.from=[{schema:this,value:a},...i],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(l,u)=>{if(!s||!b_(u)){o(l,u);return}a=a||u;let c=[];for(let d of this._nodes){let p=this.fields[d];!p||nr.isRef(p)||c.push(p.asNestedTest({options:n,key:d,parent:u,parentPath:n.path,originalParent:a}))}this.runTests({tests:c,value:u},r,d=>{o(d.sort(this._sortErrors).concat(l),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,i]of Object.entries(this.fields)){const a=r[o];r[o]=a===void 0?i:a}return n.withMutation(o=>o.setFields(r,this._excludedEdges))}_getDefault(){if("default"in this.spec)return super._getDefault();if(!this._nodes.length)return;let t={};return this._nodes.forEach(n=>{const r=this.fields[n];t[n]="getDefault"in r?r.getDefault():void 0}),t}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=rz(t,n),r._sortErrors=sT(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return Xu(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n)}omit(t){const n=Object.assign({},this.fields);for(const r of t)delete n[r];return this.setFields(n)}from(t,n,r){let o=Vo.getter(t,!0);return this.transform(i=>{if(!i)return i;let a=i;return oz(i,t)&&(a=Object.assign({},i),r||delete a[t],a[n]=o(i)),a})}json(){return this.transform(lT)}noUnknown(t=!0,n=vv.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const i=iz(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=vv.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(sh.camelCase)}snakeCase(){return this.transformKeys(sh.snakeCase)}constantCase(){return this.transformKeys(t=>sh.snakeCase(t).toUpperCase())}describe(t){let n=super.describe(t);n.fields={};for(const[o,i]of Object.entries(this.fields)){var r;let a=t;(r=a)!=null&&r.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[o]})),n.fields[o]=i.describe(a)}return n}}Jo.prototype=uT.prototype;function ms(e){return new cT(e)}class cT extends qt{constructor(t){super({type:"array",check(n){return Array.isArray(n)}}),this.innerType=void 0,this.innerType=t}_cast(t,n){const r=super._cast(t,n);if(!this._typeCheck(r)||!this.innerType)return r;let o=!1;const i=r.map((a,s)=>{const l=this.innerType.cast(a,Object.assign({},n,{path:`${n.path||""}[${s}]`}));return l!==a&&(o=!0),l});return o?i:r}_validate(t,n={},r,o){var i;let a=this.innerType,s=(i=n.recursive)!=null?i:this.spec.recursive;n.originalValue!=null&&n.originalValue,super._validate(t,n,r,(l,u)=>{if(!s||!a||!this._typeCheck(u)){o(l,u);return}let c=new Array(u.length);for(let p=0;p<u.length;p++){var d;c[p]=a.asNestedTest({options:n,index:p,parent:u,parentPath:n.path,originalParent:(d=n.originalValue)!=null?d:t})}this.runTests({value:u,tests:c},r,p=>o(p.concat(l),u))})}clone(t){const n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(lT)}concat(t){let n=super.concat(t);return n.innerType=this.innerType,t.innerType&&(n.innerType=n.innerType?n.innerType.concat(t.innerType):t.innerType),n}of(t){let n=this.clone();if(!Of(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Bo(t));return n.innerType=t,n}length(t,n=Ku.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n){return n=n||Ku.min,this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n){return n=n||Ku.max,this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,n)=>this._typeCheck(t)?t:n==null?[]:[].concat(n))}compact(t){let n=t?(r,o,i)=>!t(r,o,i):r=>!!r;return this.transform(r=>r!=null?r.filter(n):r)}describe(t){let n=super.describe();if(this.innerType){var r;let o=t;(r=o)!=null&&r.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),n.innerType=this.innerType.describe(t)}return n}}ms.prototype=cT.prototype;const sz=new RegExp(`(${Object.keys(Q$).filter(e=>Number.isNaN(Number(e))).join("|")})`),lz=Jo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:it().max(30),radius:it().max(25e3),include:ms().of(Ui().matches(sz,"Must be a valid Score category.").required()).required()}),uz=e=>async t=>{const n=await lz.validate(t),{lat:r,lng:o,limit:i,radius:a,include:s}=n;return(await e.get(yj,{params:{lat:r,lng:o,limit:i,radius:a,include:s==null?void 0:s.join(",")}})).data.data};var dT=(e=>(e[e.pedestrian_friendly=0]="pedestrian_friendly",e[e.cycling_friendly=1]="cycling_friendly",e[e.transit_friendly=2]="transit_friendly",e[e.car_friendly=3]="car_friendly",e[e.parks=4]="parks",e[e.groceries=5]="groceries",e[e.shopping=6]="shopping",e[e.nightlife=7]="nightlife",e[e.restaurants=8]="restaurants",e[e.cafes=9]="cafes",e[e.daycares=10]="daycares",e[e.primary_schools=11]="primary_schools",e[e.high_schools=12]="high_schools",e[e.quiet=13]="quiet",e[e.greenery=14]="greenery",e[e.historic=15]="historic",e[e.vibrant=16]="vibrant",e[e.wellness=17]="wellness",e))(dT||{});const cz="/scores",dz=new RegExp(`(${Object.keys(dT).filter(e=>Number.isNaN(Number(e))).join("|")})`),fz=Jo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:ms().of(Ui().required()),geographyLevels:ms().of(Ui().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:rT(),include:ms().of(Ui().matches(dz,"Must be a valid Score category.").required())}),pz=e=>async t=>{const n=await fz.validate(t),{lat:r,lng:o,include:i,geographyIds:a,geographyLevels:s,locationScoresRounding:l=!0}=n;return(await e.get(cz,{params:{lat:r,lng:o,include:i==null?void 0:i.join(","),geography_levels:s==null?void 0:s.join(","),geography_ids:a==null?void 0:a.join(","),location_scores_rounding:l?".5":"none"}})).data.data},hz="/schools",mz=Jo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:it().max(30,"Must use a limit between 1 and 30."),radius:it().max(25e3,"Must use a radius between 1 and 25000.")}),vz=e=>async t=>{const n=await mz.validate(t),{lat:r,lng:o,limit:i,radius:a}=n;return(await e.get(hz,{params:{lat:r,lng:o,limit:i,radius:a}})).data.data},gz="/profiles",yz=Jo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:Ui()}),xz=e=>async t=>{const n=await yz.validate(t),{lat:r,lng:o,geogId:i}=n;return(await e.get(gz,{params:{lat:r,lng:o,geog_id:i}})).data.data},wz="/geographies",_z=Jo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()}),Ez=e=>async t=>{const n=await _z.validate(t),{lat:r,lng:o}=n;return(await e.get(wz,{params:{lat:r,lng:o}})).data.data},bz="/demographics",Sz=Jo({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:it().max(5e3)}),Cz=e=>async t=>{const n=await Sz.validate(t),{lat:r,lng:o,radius:i}=n;return(await e.get(bz,{params:{lat:r,lng:o,radius:i}})).data.data.attributes},a1="LocalLogicClient/";class Az extends Error{constructor({message:t}){super(t),this.name=a1+this.constructor.name}}class $z extends Error{constructor({message:t,response:n}){super(t),hs(this,"statusCode"),hs(this,"statusText"),hs(this,"data"),this.name=a1+this.constructor.name,this.statusCode=n==null?void 0:n.status,this.statusText=n==null?void 0:n.statusText,this.data=n==null?void 0:n.data}}class Tz extends Error{constructor({message:t}){super(t),this.name=a1+this.constructor.name}}const S_=e=>{throw e instanceof Mt?new Az(e):Z$.isAxiosError(e)?new $z(e):new Tz(e)},Ca=(e,t,n)=>{const r=n.value;return n.value=function(...o){try{const i=r.apply(this,o);return i&&i instanceof Promise?i.catch(a=>{S_(a)}):i}catch(i){S_(i)}},n};var kz=Object.defineProperty,Pz=Object.getOwnPropertyDescriptor,Aa=(e,t,n,r)=>{for(var o=r>1?void 0:r?Pz(t,n):t,i=e.length-1,a;i>=0;i--)(a=e[i])&&(o=(r?a(t,n,o):a(o))||o);return r&&o&&kz(t,n,o),o};class ei{constructor(t,n={locale:"en"}){hs(this,"requests"),hs(this,"options"),this.requests=gj(t,n),this.options=n}getPois(t){return uz(this.requests)(t)}getScores(t){return pz(this.requests)(t)}getSchools(t){return vz(this.requests)(t)}getProfiles(t){return xz(this.requests)(t)}getGeographies(t){return Ez(this.requests)(t)}getDemographics(t){return Cz(this.requests)(t)}}Aa([Ca],ei.prototype,"getPois",1);Aa([Ca],ei.prototype,"getScores",1);Aa([Ca],ei.prototype,"getSchools",1);Aa([Ca],ei.prototype,"getProfiles",1);Aa([Ca],ei.prototype,"getGeographies",1);Aa([Ca],ei.prototype,"getDemographics",1);const Rz=(e,t)=>new ei(e,t);var gv=function(e,t){return gv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},gv(e,t)};function fT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");gv(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var U=function(){return U=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},U.apply(this,arguments)};function ln(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function xee(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(c){try{u(r.next(c))}catch(d){a(d)}}function l(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})}function wee(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){n.label=u[1];break}if(u[0]===6&&n.label<i[1]){n.label=i[1],i=u;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(u);break}i[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(c){u=[6,c],o=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function rt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}function In(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;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 Oz="production",pT=typeof process>"u"||process.env===void 0?Oz:"production",Wn=function(e){return{isEnabled:function(t){return e.some(function(n){return!!t[n]})}}},el={measureLayout:Wn(["layout","layoutId","drag"]),animation:Wn(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Wn(["exit"]),drag:Wn(["drag","dragControls"]),focus:Wn(["whileFocus"]),hover:Wn(["whileHover","onHoverStart","onHoverEnd"]),tap:Wn(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Wn(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Wn(["whileInView","onViewportEnter","onViewportLeave"])};function Lz(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?el.projectionNodeConstructor=e[t]:el[t].Component=e[t])}var Mz=function(){},Xc=function(){},hT=f.exports.createContext({strict:!1}),mT=Object.keys(el),Nz=mT.length;function Dz(e,t,n){var r=[],o=f.exports.useContext(hT);if(!t)return null;pT!=="production"&&n&&o.strict;for(var i=0;i<Nz;i++){var a=mT[i],s=el[a],l=s.isEnabled,u=s.Component;l(e)&&u&&r.push(N(u,{...U({key:a},e,{visualElement:t})}))}return r}var s1=f.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Mf=f.exports.createContext({});function Fz(){return f.exports.useContext(Mf).visualElement}var Nf=f.exports.createContext(null),$a=typeof document<"u",C_=$a?f.exports.useLayoutEffect:f.exports.useEffect,yv={current:null},vT=!1;function Iz(){if(vT=!0,!!$a)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return yv.current=e.matches};e.addListener(t),t()}else yv.current=!1}function jz(){!vT&&Iz();var e=rt(f.exports.useState(yv.current),1),t=e[0];return t}function zz(){var e=jz(),t=f.exports.useContext(s1).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function Vz(e,t,n,r){var o=f.exports.useContext(hT),i=Fz(),a=f.exports.useContext(Nf),s=zz(),l=f.exports.useRef(void 0);r||(r=o.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:s}));var u=l.current;return C_(function(){u==null||u.syncRender()}),f.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),C_(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Oi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Bz(e,t,n){return f.exports.useCallback(function(r){var o;r&&((o=e.mount)===null||o===void 0||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Oi(n)&&(n.current=r))},[t])}function gT(e){return Array.isArray(e)}function vn(e){return typeof e=="string"||gT(e)}function Hz(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.get()}),t}function Uz(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.getVelocity()}),t}function yT(e,t,n,r,o){var i;return r===void 0&&(r={}),o===void 0&&(o={}),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,o)),typeof t=="string"&&(t=(i=e.variants)===null||i===void 0?void 0:i[t]),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,o)),t}function Df(e,t,n){var r=e.getProps();return yT(r,t,n!=null?n:r.custom,Hz(e),Uz(e))}function Ff(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||vn(e.initial)||vn(e.animate)||vn(e.whileHover)||vn(e.whileDrag)||vn(e.whileTap)||vn(e.whileFocus)||vn(e.exit)}function xT(e){return Boolean(Ff(e)||e.variants)}function Gz(e,t){if(Ff(e)){var n=e.initial,r=e.animate;return{initial:n===!1||vn(n)?n:void 0,animate:vn(r)?r:void 0}}return e.inherit!==!1?t:{}}function Yz(e){var t=Gz(e,f.exports.useContext(Mf)),n=t.initial,r=t.animate;return f.exports.useMemo(function(){return{initial:n,animate:r}},[A_(n),A_(r)])}function A_(e){return Array.isArray(e)?e.join(" "):e}function If(e){var t=f.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}var vs={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wz=1;function qz(){return If(function(){if(vs.hasEverUpdated)return Wz++})}var wT=f.exports.createContext({}),_T=f.exports.createContext({});function Kz(e,t,n,r){var o,i=t.layoutId,a=t.layout,s=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=f.exports.useContext(_T);!r||!n||(n==null?void 0:n.projection)||(n.projection=new r(e,n.getLatestValues(),(o=n.parent)===null||o===void 0?void 0:o.projection),n.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:Boolean(s)||l&&Oi(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var Xz=function(e){fT(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var n=this.props,r=n.visualElement,o=n.props;r&&r.setProps(o)},t.prototype.render=function(){return this.props.children},t}(J.Component);function Zz(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;t&&Lz(t);function s(l,u){var c=Qz(l);l=U(U({},l),{layoutId:c});var d=f.exports.useContext(s1),p=null,h=Yz(l),v=d.isStatic?void 0:qz(),m=i(l,d.isStatic);return!d.isStatic&&$a&&(h.visualElement=Vz(a,m,U(U({},d),l),n),Kz(v,l,h.visualElement,r||el.projectionNodeConstructor),p=Dz(l,h.visualElement,t)),lt(Xz,{visualElement:h.visualElement,props:U(U({},d),l),children:[p,N(Mf.Provider,{value:h,children:o(a,l,v,Bz(m,h.visualElement,u),m,d.isStatic,h.visualElement)})]})}return f.exports.forwardRef(s)}function Qz(e){var t,n=e.layoutId,r=(t=f.exports.useContext(wT))===null||t===void 0?void 0:t.id;return r&&n!==void 0?r+"-"+n:n}function Jz(e){function t(r,o){return o===void 0&&(o={}),Zz(e(r,o))}if(typeof Proxy>"u")return t;var n=new Map;return new Proxy(t,{get:function(r,o){return n.has(o)||n.set(o,t(o)),n.get(o)}})}var eV=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function l1(e){return typeof e!="string"||e.includes("-")?!1:!!(eV.indexOf(e)>-1||/[A-Z]/.test(e))}var Zc={};function tV(e){Object.assign(Zc,e)}var xv=["","X","Y","Z"],nV=["translate","scale","rotate","skew"],tl=["transformPerspective","x","y","z"];nV.forEach(function(e){return xv.forEach(function(t){return tl.push(e+t)})});function rV(e,t){return tl.indexOf(e)-tl.indexOf(t)}var oV=new Set(tl);function bl(e){return oV.has(e)}var iV=new Set(["originX","originY","originZ"]);function ET(e){return iV.has(e)}function bT(e,t){var n=t.layout,r=t.layoutId;return bl(e)||ET(e)||(n||r!==void 0)&&(!!Zc[e]||e==="opacity")}var ur=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},aV={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function sV(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=a===void 0?!0:a,l=t.allowTransformNone,u=l===void 0?!0:l,c="";i.sort(rV);for(var d=!1,p=i.length,h=0;h<p;h++){var v=i[h];c+="".concat(aV[v]||v,"(").concat(o[v],") "),v==="z"&&(d=!0)}return!d&&s?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}function lV(e){var t=e.originX,n=t===void 0?"50%":t,r=e.originY,o=r===void 0?"50%":r,i=e.originZ,a=i===void 0?0:i;return"".concat(n," ").concat(o," ").concat(a)}function ST(e){return e.startsWith("--")}var uV=function(e,t){return t&&typeof e=="number"?t.transform(e):e};const CT=(e,t)=>n=>Math.max(Math.min(n,t),e),gs=e=>e%1?Number(e.toFixed(5)):e,nl=/(-)?([\d]*\.?[\d])+/g,wv=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,cV=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Sl(e){return typeof e=="string"}const ti={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ys=Object.assign(Object.assign({},ti),{transform:CT(0,1)}),hu=Object.assign(Object.assign({},ti),{default:1}),Cl=e=>({test:t=>Sl(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$r=Cl("deg"),jn=Cl("%"),oe=Cl("px"),dV=Cl("vh"),fV=Cl("vw"),$_=Object.assign(Object.assign({},jn),{parse:e=>jn.parse(e)/100,transform:e=>jn.transform(e*100)}),u1=(e,t)=>n=>Boolean(Sl(n)&&cV.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),AT=(e,t,n)=>r=>{if(!Sl(r))return r;const[o,i,a,s]=r.match(nl);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Fo={test:u1("hsl","hue"),parse:AT("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+jn.transform(gs(t))+", "+jn.transform(gs(n))+", "+gs(ys.transform(r))+")"},pV=CT(0,255),lh=Object.assign(Object.assign({},ti),{transform:e=>Math.round(pV(e))}),Br={test:u1("rgb","red"),parse:AT("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+lh.transform(e)+", "+lh.transform(t)+", "+lh.transform(n)+", "+gs(ys.transform(r))+")"};function hV(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const _v={test:u1("#"),parse:hV,transform:Br.transform},St={test:e=>Br.test(e)||_v.test(e)||Fo.test(e),parse:e=>Br.test(e)?Br.parse(e):Fo.test(e)?Fo.parse(e):_v.parse(e),transform:e=>Sl(e)?e:e.hasOwnProperty("red")?Br.transform(e):Fo.transform(e)},$T="${c}",TT="${n}";function mV(e){var t,n,r,o;return isNaN(e)&&Sl(e)&&((n=(t=e.match(nl))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((o=(r=e.match(wv))===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0)>0}function kT(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(wv);r&&(n=r.length,e=e.replace(wv,$T),t.push(...r.map(St.parse)));const o=e.match(nl);return o&&(e=e.replace(nl,TT),t.push(...o.map(ti.parse))),{values:t,numColors:n,tokenised:e}}function PT(e){return kT(e).values}function RT(e){const{values:t,numColors:n,tokenised:r}=kT(e),o=t.length;return i=>{let a=r;for(let s=0;s<o;s++)a=a.replace(s<n?$T:TT,s<n?St.transform(i[s]):gs(i[s]));return a}}const vV=e=>typeof e=="number"?0:e;function gV(e){const t=PT(e);return RT(e)(t.map(vV))}const cr={test:mV,parse:PT,createTransformer:RT,getAnimatableNone:gV},yV=new Set(["brightness","contrast","saturate","opacity"]);function xV(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(nl)||[];if(!r)return e;const o=n.replace(r,"");let i=yV.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const wV=/([a-z-]*)\(.*?\)/g,Ev=Object.assign(Object.assign({},cr),{getAnimatableNone:e=>{const t=e.match(wV);return t?t.map(xV).join(" "):e}});var T_=U(U({},ti),{transform:Math.round}),OT={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:$r,rotateX:$r,rotateY:$r,rotateZ:$r,scale:hu,scaleX:hu,scaleY:hu,scaleZ:hu,skew:$r,skewX:$r,skewY:$r,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:ys,originX:$_,originY:$_,originZ:oe,zIndex:T_,fillOpacity:ys,strokeOpacity:ys,numOctaves:T_};function c1(e,t,n,r){var o,i=e.style,a=e.vars,s=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,d=!1,p=!0;for(var h in t){var v=t[h];if(ST(h)){a[h]=v;continue}var m=OT[h],w=uV(v,m);if(bl(h)){if(c=!0,s[h]=w,l.push(h),!p)continue;v!==((o=m.default)!==null&&o!==void 0?o:0)&&(p=!1)}else ET(h)?(u[h]=w,d=!0):i[h]=w}c?i.transform=sV(e,n,p,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),d&&(i.transformOrigin=lV(u))}var d1=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function LT(e,t,n){for(var r in t)!ur(t[r])&&!bT(r,n)&&(e[r]=t[r])}function _V(e,t,n){var r=e.transformTemplate;return f.exports.useMemo(function(){var o=d1();c1(o,t,{enableHardwareAcceleration:!n},r);var i=o.vars,a=o.style;return U(U({},i),a)},[t])}function EV(e,t,n){var r=e.style||{},o={};return LT(o,r,e),Object.assign(o,_V(e,t,n)),e.transformValues&&(o=e.transformValues(o)),o}function bV(e,t,n){var r={},o=EV(e,t,n);return Boolean(e.drag)&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),r.style=o,r}var SV=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Qc(e){return SV.has(e)}var MT=function(e){return!Qc(e)};function CV(e){!e||(MT=function(t){return t.startsWith("on")?!Qc(t):e(t)})}try{CV(require("@emotion/is-prop-valid").default)}catch(e){}function AV(e,t,n){var r={};for(var o in e)(MT(o)||n===!0&&Qc(o)||!t&&!Qc(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function k_(e,t,n){return typeof e=="string"?e:oe.transform(t+n*e)}function $V(e,t,n){var r=k_(t,e.x,e.width),o=k_(n,e.y,e.height);return"".concat(r," ").concat(o)}var TV={offset:"stroke-dashoffset",array:"stroke-dasharray"},kV={offset:"strokeDashoffset",array:"strokeDasharray"};function PV(e,t,n,r,o){n===void 0&&(n=1),r===void 0&&(r=0),o===void 0&&(o=!0),e.pathLength=1;var i=o?TV:kV;e[i.offset]=oe.transform(-r);var a=oe.transform(t),s=oe.transform(n);e[i.array]="".concat(a," ").concat(s)}function f1(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,s=t.originY,l=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,d=t.pathOffset,p=d===void 0?0:d,h=ln(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);c1(e,h,n,r),e.attrs=e.style,e.style={};var v=e.attrs,m=e.style,w=e.dimensions;v.transform&&(w&&(m.transform=v.transform),delete v.transform),w&&(a!==void 0||s!==void 0||m.transform)&&(m.transformOrigin=$V(w,a!==void 0?a:.5,s!==void 0?s:.5)),o!==void 0&&(v.x=o),i!==void 0&&(v.y=i),l!==void 0&&PV(v,l,c,p,!1)}var NT=function(){return U(U({},d1()),{attrs:{}})};function RV(e,t){var n=f.exports.useMemo(function(){var o=NT();return f1(o,t,{enableHardwareAcceleration:!1},e.transformTemplate),U(U({},o.attrs),{style:U({},o.style)})},[t]);if(e.style){var r={};LT(r,e.style,e),n.style=U(U({},r),n.style)}return n}function OV(e){e===void 0&&(e=!1);var t=function(n,r,o,i,a,s){var l=a.latestValues,u=l1(n)?RV:bV,c=u(r,l,s),d=AV(r,typeof n=="string",e),p=U(U(U({},d),c),{ref:i});return o&&(p["data-projection-id"]=o),f.exports.createElement(n,p)};return t}var LV=/([a-z])([A-Z])/g,MV="$1-$2",DT=function(e){return e.replace(LV,MV).toLowerCase()};function FT(e,t,n,r){var o=t.style,i=t.vars;Object.assign(e.style,o,r&&r.getProjectionStyles(n));for(var a in i)e.style.setProperty(a,i[a])}var IT=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function jT(e,t,n,r){FT(e,t,void 0,r);for(var o in t.attrs)e.setAttribute(IT.has(o)?o:DT(o),t.attrs[o])}function p1(e){var t=e.style,n={};for(var r in t)(ur(t[r])||bT(r,e))&&(n[r]=t[r]);return n}function zT(e){var t=p1(e);for(var n in e)if(ur(e[n])){var r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function h1(e){return typeof e=="object"&&typeof e.start=="function"}var rl=function(e){return Array.isArray(e)},NV=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},VT=function(e){return rl(e)?e[e.length-1]||0:e};function Zu(e){var t=ur(e)?e.get():e;return NV(t)?t.toValue():t}function P_(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:DV(t,n,r,o),renderState:i()};return a&&(s.mount=function(l){return a(t,l,s)}),s}var BT=function(e){return function(t,n){var r=f.exports.useContext(Mf),o=f.exports.useContext(Nf);return n?P_(e,t,r,o):If(function(){return P_(e,t,r,o)})}};function DV(e,t,n,r){var o={},i=(n==null?void 0:n.initial)===!1,a=r(e);for(var s in a)o[s]=Zu(a[s]);var l=e.initial,u=e.animate,c=Ff(e),d=xT(e);t&&d&&!c&&e.inherit!==!1&&(l!=null||(l=t.initial),u!=null||(u=t.animate));var p=i||l===!1,h=p?u:l;if(h&&typeof h!="boolean"&&!h1(h)){var v=Array.isArray(h)?h:[h];v.forEach(function(m){var w=yT(e,m);if(!!w){var y=w.transitionEnd;w.transition;var g=ln(w,["transitionEnd","transition"]);for(var x in g){var _=g[x];if(Array.isArray(_)){var E=p?_.length-1:0;_=_[E]}_!==null&&(o[x]=_)}for(var x in y)o[x]=y[x]}})}return o}var FV={useVisualState:BT({scrapeMotionValuesFromProps:zT,createRenderState:NT,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}f1(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),jT(t,r)}})},IV={useVisualState:BT({scrapeMotionValuesFromProps:p1,createRenderState:d1})};function jV(e,t,n,r,o){var i=t.forwardMotionProps,a=i===void 0?!1:i,s=l1(e)?FV:IV;return U(U({},s),{preloadedFeatures:n,useRender:OV(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}var Oe;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(Oe||(Oe={}));function jf(e,t,n,r){return r===void 0&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function bv(e,t,n,r){f.exports.useEffect(function(){var o=e.current;if(n&&o)return jf(o,t,n,r)},[e,t,n,r])}function zV(e){var t=e.whileFocus,n=e.visualElement,r=function(){var i;(i=n.animationState)===null||i===void 0||i.setActive(Oe.Focus,!0)},o=function(){var i;(i=n.animationState)===null||i===void 0||i.setActive(Oe.Focus,!1)};bv(n,"focus",t?r:void 0),bv(n,"blur",t?o:void 0)}function HT(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function UT(e){var t=!!e.touches;return t}function VV(e){return function(t){var n=t instanceof MouseEvent,r=!n||n&&t.button===0;r&&e(t)}}var BV={pageX:0,pageY:0};function HV(e,t){t===void 0&&(t="page");var n=e.touches[0]||e.changedTouches[0],r=n||BV;return{x:r[t+"X"],y:r[t+"Y"]}}function UV(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function m1(e,t){return t===void 0&&(t="page"),{point:UT(e)?HV(e,t):UV(e,t)}}var GT=function(e,t){t===void 0&&(t=!1);var n=function(r){return e(r,m1(r))};return t?VV(n):n},GV=function(){return $a&&window.onpointerdown===null},YV=function(){return $a&&window.ontouchstart===null},WV=function(){return $a&&window.onmousedown===null},qV={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},KV={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function YT(e){return GV()?e:YV()?KV[e]:WV()?qV[e]:e}function Gi(e,t,n,r){return jf(e,YT(t),GT(n,t==="pointerdown"),r)}function Jc(e,t,n,r){return bv(e,YT(t),n&>(n,t==="pointerdown"),r)}function WT(e){var t=null;return function(){var n=function(){t=null};return t===null?(t=e,n):!1}}var R_=WT("dragHorizontal"),O_=WT("dragVertical");function qT(e){var t=!1;if(e==="y")t=O_();else if(e==="x")t=R_();else{var n=R_(),r=O_();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function KT(){var e=qT(!0);return e?(e(),!1):!0}function L_(e,t,n){return function(r,o){var i;!HT(r)||KT()||((i=e.animationState)===null||i===void 0||i.setActive(Oe.Hover,t),n==null||n(r,o))}}function XV(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Jc(o,"pointerenter",t||r?L_(o,!0,t):void 0,{passive:!t}),Jc(o,"pointerleave",n||r?L_(o,!1,n):void 0,{passive:!n})}var XT=function(e,t){return t?e===t?!0:XT(e,t.parentElement):!1};function ZT(e){return f.exports.useEffect(function(){return function(){return e()}},[])}const ed=(e,t,n)=>Math.min(Math.max(n,e),t),uh=.001,ZV=.01,M_=10,QV=.05,JV=1;function eB({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;Mz(e<=M_*1e3);let a=1-t;a=ed(QV,JV,a),e=ed(ZV,M_,e/1e3),a<1?(o=u=>{const c=u*a,d=c*e,p=c-n,h=Sv(u,a),v=Math.exp(-d);return uh-p/h*v},i=u=>{const d=u*a*e,p=d*n+n,h=Math.pow(a,2)*Math.pow(u,2)*e,v=Math.exp(-d),m=Sv(Math.pow(u,2),a);return(-o(u)+uh>0?-1:1)*((p-h)*v)/m}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-uh+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=nB(o,i,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const tB=12;function nB(e,t,n){let r=n;for(let o=1;o<tB;o++)r=r-e(r)/t(r);return r}function Sv(e,t){return e*Math.sqrt(1-t*t)}const rB=["duration","bounce"],oB=["stiffness","damping","mass"];function N_(e,t){return t.some(n=>e[n]!==void 0)}function iB(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!N_(e,oB)&&N_(e,rB)){const n=eB(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function v1(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=ln(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:p}=iB(i),h=D_,v=D_;function m(){const w=c?-(c/1e3):0,y=n-t,g=l/(2*Math.sqrt(s*u)),x=Math.sqrt(s/u)/1e3;if(o===void 0&&(o=Math.min(Math.abs(n-t)/100,.4)),g<1){const _=Sv(x,g);h=E=>{const b=Math.exp(-g*x*E);return n-b*((w+g*x*y)/_*Math.sin(_*E)+y*Math.cos(_*E))},v=E=>{const b=Math.exp(-g*x*E);return g*x*b*(Math.sin(_*E)*(w+g*x*y)/_+y*Math.cos(_*E))-b*(Math.cos(_*E)*(w+g*x*y)-_*y*Math.sin(_*E))}}else if(g===1)h=_=>n-Math.exp(-x*_)*(y+(w+x*y)*_);else{const _=x*Math.sqrt(g*g-1);h=E=>{const b=Math.exp(-g*x*E),S=Math.min(_*E,300);return n-b*((w+g*x*y)*Math.sinh(S)+_*y*Math.cosh(S))/_}}}return m(),{next:w=>{const y=h(w);if(p)a.done=w>=d;else{const g=v(w)*1e3,x=Math.abs(g)<=r,_=Math.abs(n-y)<=o;a.done=x&&_}return a.value=a.done?n:y,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}v1.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const D_=e=>0,ol=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},We=(e,t,n)=>-n*e+n*t+e;function ch(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function F_({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,a=0;if(!t)o=i=a=n;else{const s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=ch(l,s,e+1/3),i=ch(l,s,e),a=ch(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}const aB=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},sB=[_v,Br,Fo],I_=e=>sB.find(t=>t.test(e)),QT=(e,t)=>{let n=I_(e),r=I_(t),o=n.parse(e),i=r.parse(t);n===Fo&&(o=F_(o),n=Br),r===Fo&&(i=F_(i),r=Br);const a=Object.assign({},o);return s=>{for(const l in a)l!=="alpha"&&(a[l]=aB(o[l],i[l],s));return a.alpha=We(o.alpha,i.alpha,s),n.transform(a)}},Cv=e=>typeof e=="number",lB=(e,t)=>n=>t(e(n)),zf=(...e)=>e.reduce(lB);function JT(e,t){return Cv(e)?n=>We(e,t,n):St.test(e)?QT(e,t):t5(e,t)}const e5=(e,t)=>{const n=[...e],r=n.length,o=e.map((i,a)=>JT(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=o[a](i);return n}},uB=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=JT(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}};function j_(e){const t=cr.parse(e),n=t.length;let r=0,o=0,i=0;for(let a=0;a<n;a++)r||typeof t[a]=="number"?r++:t[a].hue!==void 0?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}const t5=(e,t)=>{const n=cr.createTransformer(t),r=j_(e),o=j_(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?zf(e5(r.parsed,o.parsed),n):a=>`${a>0?t:e}`},cB=(e,t)=>n=>We(e,t,n);function dB(e){if(typeof e=="number")return cB;if(typeof e=="string")return St.test(e)?QT:t5;if(Array.isArray(e))return e5;if(typeof e=="object")return uB}function fB(e,t,n){const r=[],o=n||dB(e[0]),i=e.length-1;for(let a=0;a<i;a++){let s=o(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]:t;s=zf(l,s)}r.push(s)}return r}function pB([e,t],[n]){return r=>n(ol(e,t,r))}function hB(e,t){const n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let l=1;for(;l<n&&!(e[l]>o||l===r);l++);i=l-1}const s=ol(e[i],e[i+1],o);return t[i](s)}}function n5(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;Xc(i===t.length),Xc(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=fB(t,r,o),s=i===2?pB(e,a):hB(e,a);return n?l=>s(ed(e[0],e[i-1],l)):s}const Vf=e=>t=>1-e(1-t),g1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,mB=e=>t=>Math.pow(t,e),r5=e=>t=>t*t*((e+1)*t-e),vB=e=>{const t=r5(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},o5=1.525,gB=4/11,yB=8/11,xB=9/10,y1=e=>e,x1=mB(2),wB=Vf(x1),i5=g1(x1),a5=e=>1-Math.sin(Math.acos(e)),w1=Vf(a5),_B=g1(w1),_1=r5(o5),EB=Vf(_1),bB=g1(_1),SB=vB(o5),CB=4356/361,AB=35442/1805,$B=16061/1805,td=e=>{if(e===1||e===0)return e;const t=e*e;return e<gB?7.5625*t:e<yB?9.075*t-9.9*e+3.4:e<xB?CB*t-AB*e+$B:10.8*e*e-20.52*e+10.72},TB=Vf(td),kB=e=>e<.5?.5*(1-td(1-e*2)):.5*td(e*2-1)+.5;function PB(e,t){return e.map(()=>t||i5).splice(0,e.length-1)}function RB(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function OB(e,t){return e.map(n=>n*t)}function Qu({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=OB(r&&r.length===a.length?r:RB(a),o);function l(){return n5(s,a,{ease:Array.isArray(n)?n:PB(a,n)})}let u=l();return{next:c=>(i.value=u(c),i.done=c>=o,i),flipTarget:()=>{a.reverse(),u=l()}}}function LB({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=i===void 0?l:i(l);return u!==l&&(s=u-t),{next:c=>{const d=-s*Math.exp(-c/r);return a.done=!(d>o||d<-o),a.value=a.done?u:u+d,a},flipTarget:()=>{}}}const z_={keyframes:Qu,spring:v1,decay:LB};function MB(e){if(Array.isArray(e.to))return Qu;if(z_[e.type])return z_[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Qu:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?v1:Qu}const s5=1/60*1e3,NB=typeof performance<"u"?()=>performance.now():()=>Date.now(),l5=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(NB()),s5);function DB(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&o,p=d?t:n;return u&&a.add(l),p.indexOf(l)===-1&&(p.push(l),d&&o&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u<r;u++){const c=t[u];c(l),a.has(c)&&(s.schedule(c),e())}o=!1,i&&(i=!1,s.process(l))}};return s}const FB=40;let Av=!0,il=!1,$v=!1;const Yi={delta:0,timestamp:0},Al=["read","update","preRender","render","postRender"],Bf=Al.reduce((e,t)=>(e[t]=DB(()=>il=!0),e),{}),zn=Al.reduce((e,t)=>{const n=Bf[t];return e[t]=(r,o=!1,i=!1)=>(il||jB(),n.schedule(r,o,i)),e},{}),ca=Al.reduce((e,t)=>(e[t]=Bf[t].cancel,e),{}),dh=Al.reduce((e,t)=>(e[t]=()=>Bf[t].process(Yi),e),{}),IB=e=>Bf[e].process(Yi),u5=e=>{il=!1,Yi.delta=Av?s5:Math.max(Math.min(e-Yi.timestamp,FB),1),Yi.timestamp=e,$v=!0,Al.forEach(IB),$v=!1,il&&(Av=!1,l5(u5))},jB=()=>{il=!0,Av=!0,$v||l5(u5)},nd=()=>Yi;function c5(e,t,n=0){return e-t-n}function zB(e,t,n=0,r=!0){return r?c5(t+-e,t,n):t-(e-t)+n}function VB(e,t,n,r){return r?e>=t+n:e<=-n}const BB=e=>{const t=({delta:n})=>e(n);return{start:()=>zn.update(t,!0),stop:()=>ca.update(t)}};function d5(e){var t,n,{from:r,autoplay:o=!0,driver:i=BB,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:p,onRepeat:h,onUpdate:v}=e,m=ln(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:w}=m,y,g=0,x=m.duration,_,E=!1,b=!0,S;const C=MB(m);!((n=(t=C).needsInterpolation)===null||n===void 0)&&n.call(t,r,w)&&(S=n5([0,100],[r,w],{clamp:!1}),r=0,w=100);const $=C(Object.assign(Object.assign({},m),{from:r,to:w}));function k(){g++,l==="reverse"?(b=g%2===0,a=zB(a,x,u,b)):(a=c5(a,x,u),l==="mirror"&&$.flipTarget()),E=!1,h&&h()}function D(){y.stop(),p&&p()}function F(H){if(b||(H=-H),a+=H,!E){const te=$.next(Math.max(0,a));_=te.value,S&&(_=S(_)),E=b?te.done:a<=0}v==null||v(_),E&&(g===0&&(x!=null||(x=a)),g<s?VB(a,x,u,b)&&k():D())}function G(){c==null||c(),y=i(F),y.start()}return o&&G(),{stop:()=>{d==null||d(),y.stop()}}}function f5(e,t){return t?e*(1e3/t):0}function HB({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:p,onStop:h}){let v;function m(x){return n!==void 0&&x<n||r!==void 0&&x>r}function w(x){return n===void 0?r:r===void 0||Math.abs(n-x)<Math.abs(r-x)?n:r}function y(x){v==null||v.stop(),v=d5(Object.assign(Object.assign({},x),{driver:c,onUpdate:_=>{var E;d==null||d(_),(E=x.onUpdate)===null||E===void 0||E.call(x,_)},onComplete:p,onStop:h}))}function g(x){y(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},x))}if(m(e))g({from:e,velocity:t,to:w(e)});else{let x=o*t+e;typeof u<"u"&&(x=u(x));const _=w(x),E=_===n?-1:1;let b,S;const C=$=>{b=S,S=$,t=f5($-b,nd().delta),(E===1&&$>_||E===-1&&$<_)&&g({from:$,to:_,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:l,modifyTarget:u,onUpdate:m(x)?C:void 0})}return{stop:()=>v==null?void 0:v.stop()}}const Tv=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),V_=e=>Tv(e)&&e.hasOwnProperty("z"),mu=(e,t)=>Math.abs(e-t);function p5(e,t){if(Cv(e)&&Cv(t))return mu(e,t);if(Tv(e)&&Tv(t)){const n=mu(e.x,t.x),r=mu(e.y,t.y),o=V_(e)&&V_(t)?mu(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}const h5=(e,t)=>1-3*t+3*e,m5=(e,t)=>3*t-6*e,v5=e=>3*e,rd=(e,t,n)=>((h5(t,n)*e+m5(t,n))*e+v5(t))*e,g5=(e,t,n)=>3*h5(t,n)*e*e+2*m5(t,n)*e+v5(t),UB=1e-7,GB=10;function YB(e,t,n,r,o){let i,a,s=0;do a=t+(n-t)/2,i=rd(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>UB&&++s<GB);return a}const WB=8,qB=.001;function KB(e,t,n,r){for(let o=0;o<WB;++o){const i=g5(t,n,r);if(i===0)return t;const a=rd(t,n,r)-e;t-=a/i}return t}const Ju=11,vu=1/(Ju-1);function XB(e,t,n,r){if(e===t&&n===r)return y1;const o=new Float32Array(Ju);for(let a=0;a<Ju;++a)o[a]=rd(a*vu,e,n);function i(a){let s=0,l=1;const u=Ju-1;for(;l!==u&&o[l]<=a;++l)s+=vu;--l;const c=(a-o[l])/(o[l+1]-o[l]),d=s+c*vu,p=g5(d,e,n);return p>=qB?KB(a,d,e,n):p===0?d:YB(a,s,s+vu,e,n)}return a=>a===0||a===1?a:rd(i(a),t,r)}function ZB(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,s=f.exports.useRef(!1),l=f.exports.useRef(null),u={passive:!(n||t||r||v)};function c(){var m;(m=l.current)===null||m===void 0||m.call(l),l.current=null}function d(){var m;return c(),s.current=!1,(m=i.animationState)===null||m===void 0||m.setActive(Oe.Tap,!1),!KT()}function p(m,w){!d()||(XT(i.getInstance(),m.target)?t==null||t(m,w):r==null||r(m,w))}function h(m,w){!d()||r==null||r(m,w)}function v(m,w){var y;c(),!s.current&&(s.current=!0,l.current=zf(Gi(window,"pointerup",p,u),Gi(window,"pointercancel",h,u)),(y=i.animationState)===null||y===void 0||y.setActive(Oe.Tap,!0),n==null||n(m,w))}Jc(i,"pointerdown",a?v:void 0,u),ZT(c)}var B_=new Set;function QB(e,t,n){e||B_.has(t)||(console.warn(t),n&&console.warn(n),B_.add(t))}var kv=new WeakMap,fh=new WeakMap,JB=function(e){var t;(t=kv.get(e.target))===null||t===void 0||t(e)},eH=function(e){e.forEach(JB)};function tH(e){var t=e.root,n=ln(e,["root"]),r=t||document;fh.has(r)||fh.set(r,{});var o=fh.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(eH,U({root:t},n))),o[i]}function nH(e,t,n){var r=tH(t);return kv.set(e,n),r.observe(e),function(){kv.delete(e),r.unobserve(e)}}function rH(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=i===void 0?{}:i,s=f.exports.useRef({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||o);a.once&&s.current.hasEnteredView&&(l=!1);var u=typeof IntersectionObserver>"u"?aH:iH;u(l,s.current,t,a)}var oH={some:0,all:1};function iH(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,s=a===void 0?"some":a,l=r.once;f.exports.useEffect(function(){if(!!e){var u={root:o==null?void 0:o.current,rootMargin:i,threshold:typeof s=="number"?s:oH[s]},c=function(d){var p,h=d.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(l&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(p=n.animationState)===null||p===void 0||p.setActive(Oe.InView,h);var v=n.getProps(),m=h?v.onViewportEnter:v.onViewportLeave;m==null||m(d)}};return nH(n.getInstance(),u,c)}},[e,o,i,s])}function aH(e,t,n,r){var o=r.fallback,i=o===void 0?!0:o;f.exports.useEffect(function(){!e||!i||(pT!=="production"&&QB(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var s=n.getProps().onViewportEnter;s==null||s(null),(a=n.animationState)===null||a===void 0||a.setActive(Oe.InView,!0)}))},[e])}var Hr=function(e){return function(t){return e(t),null}},sH={inView:Hr(rH),tap:Hr(ZB),focus:Hr(zV),hover:Hr(XV)},lH=0,uH=function(){return lH++},cH=function(){return If(uH)};function y5(){var e=f.exports.useContext(Nf);if(e===null)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=cH();f.exports.useEffect(function(){return r(o)},[]);var i=function(){return n==null?void 0:n(o)};return!t&&n?[!1,i]:[!0]}function x5(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var od=function(e){return e*1e3},dH={linear:y1,easeIn:x1,easeInOut:i5,easeOut:wB,circIn:a5,circInOut:_B,circOut:w1,backIn:_1,backInOut:bB,backOut:EB,anticipate:SB,bounceIn:TB,bounceInOut:kB,bounceOut:td},H_=function(e){if(Array.isArray(e)){Xc(e.length===4);var t=rt(e,4),n=t[0],r=t[1],o=t[2],i=t[3];return XB(n,r,o,i)}else if(typeof e=="string")return dH[e];return e},fH=function(e){return Array.isArray(e)&&typeof e[0]!="number"},U_=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&cr.test(t)&&!t.startsWith("url("))},So=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},gu=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},ph=function(){return{type:"keyframes",ease:"linear",duration:.3}},pH=function(e){return{type:"keyframes",duration:.8,values:e}},G_={x:So,y:So,z:So,rotate:So,rotateX:So,rotateY:So,rotateZ:So,scaleX:gu,scaleY:gu,scale:gu,opacity:ph,backgroundColor:ph,color:ph,default:gu},hH=function(e,t){var n;return rl(t)?n=pH:n=G_[e]||G_.default,U({to:t},n(t))},mH=U(U({},OT),{color:St,backgroundColor:St,outlineColor:St,fill:St,stroke:St,borderColor:St,borderTopColor:St,borderRightColor:St,borderBottomColor:St,borderLeftColor:St,filter:Ev,WebkitFilter:Ev}),E1=function(e){return mH[e]};function b1(e,t){var n,r=E1(e);return r!==Ev&&(r=cr),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}var vH={current:!1};function gH(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=ln(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function yH(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=ln(e,["ease","times","yoyo","flip","loop"]),s=U({},a);return n&&(s.offset=n),a.duration&&(s.duration=od(a.duration)),a.repeatDelay&&(s.repeatDelay=od(a.repeatDelay)),t&&(s.ease=fH(t)?t.map(H_):H_(t)),a.type==="tween"&&(s.type="keyframes"),(r||i||o)&&(r?s.repeatType="reverse":i?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=i||r||o||a.repeat),a.type!=="spring"&&(s.type="keyframes"),s}function xH(e,t){var n,r,o=S1(e,t)||{};return(r=(n=o.delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function wH(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=In([],rt(e.to),!1),e.to[0]=e.from),e}function _H(e,t,n){var r;return Array.isArray(t.to)&&((r=e.duration)!==null&&r!==void 0||(e.duration=.8)),wH(t),gH(e)||(e=U(U({},e),hH(n,t.to))),U(U({},t),yH(e))}function EH(e,t,n,r,o){var i,a=S1(r,e),s=(i=a.from)!==null&&i!==void 0?i:t.get(),l=U_(e,n);s==="none"&&l&&typeof n=="string"?s=b1(e,n):Y_(s)&&typeof n=="string"?s=W_(n):!Array.isArray(n)&&Y_(n)&&typeof s=="string"&&(n=W_(s));var u=U_(e,s);function c(){var p={from:s,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?HB(U(U({},p),a)):d5(U(U({},_H(a,p,e)),{onUpdate:function(h){var v;p.onUpdate(h),(v=a.onUpdate)===null||v===void 0||v.call(a,h)},onComplete:function(){var h;p.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function d(){var p,h,v=VT(n);return t.set(v),o(),(p=a==null?void 0:a.onUpdate)===null||p===void 0||p.call(a,v),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!l||a.type===!1?d:c}function Y_(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function W_(e){return typeof e=="number"?0:b1("",e)}function S1(e,t){return e[t]||e.default||e}function C1(e,t,n,r){return r===void 0&&(r={}),vH.current&&(r={type:!1}),t.start(function(o){var i,a,s=EH(e,t,n,r,o),l=xH(r,e),u=function(){return a=s()};return l?i=window.setTimeout(u,od(l)):u(),function(){clearTimeout(i),a==null||a.stop()}})}var bH=function(e){return/^\-?\d*\.?\d+$/.test(e)},SH=function(e){return/^0[^.\s]+$/.test(e)};function A1(e,t){e.indexOf(t)===-1&&e.push(t)}function $1(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var xs=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var n=this;return A1(this.subscriptions,t),function(){return $1(n.subscriptions,t)}},e.prototype.notify=function(t,n,r){var o=this.subscriptions.length;if(!!o)if(o===1)this.subscriptions[0](t,n,r);else for(var i=0;i<o;i++){var a=this.subscriptions[i];a&&a(t,n,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),CH=function(e){return!isNaN(parseFloat(e))},AH=function(){function e(t){var n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new xs,this.velocityUpdateSubscribers=new xs,this.renderSubscribers=new xs,this.canTrackVelocity=!1,this.updateAndNotify=function(r,o){o===void 0&&(o=!0),n.prev=n.current,n.current=r;var i=nd(),a=i.delta,s=i.timestamp;n.lastUpdated!==s&&(n.timeDelta=a,n.lastUpdated=s,zn.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),o&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return zn.postRender(n.velocityCheck)},this.velocityCheck=function(r){var o=r.timestamp;o!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=CH(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,n){n===void 0&&(n=!0),!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?f5(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var n=this;return this.stop(),new Promise(function(r){n.hasAnimated=!0,n.stopAnimation=t(r)}).then(function(){return n.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function da(e){return new AH(e)}var w5=function(e){return function(t){return t.test(e)}},$H={test:function(e){return e==="auto"},parse:function(e){return e}},_5=[ti,oe,jn,$r,fV,dV,$H],Ha=function(e){return _5.find(w5(e))},TH=In(In([],rt(_5),!1),[St,cr],!1),kH=function(e){return TH.find(w5(e))};function PH(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,da(n))}function RH(e,t){var n=Df(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=o===void 0?{}:o;r.transition;var a=ln(r,["transitionEnd","transition"]);a=U(U({},a),i);for(var s in a){var l=VT(a[s]);PH(e,s,l)}}function OH(e,t,n){var r,o,i,a,s=Object.keys(t).filter(function(h){return!e.hasValue(h)}),l=s.length;if(!!l)for(var u=0;u<l;u++){var c=s[u],d=t[c],p=null;Array.isArray(d)&&(p=d[0]),p===null&&(p=(o=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&o!==void 0?o:t[c]),p!=null&&(typeof p=="string"&&(bH(p)||SH(p))?p=parseFloat(p):!kH(p)&&cr.test(d)&&(p=b1(c,d)),e.addValue(c,da(p)),(i=(a=n)[c])!==null&&i!==void 0||(a[c]=p),e.setBaseTarget(c,p))}}function LH(e,t){if(!!t){var n=t[e]||t.default||t;return n.from}}function MH(e,t,n){var r,o,i={};for(var a in e)i[a]=(r=LH(a,t))!==null&&r!==void 0?r:(o=n.getValue(a))===null||o===void 0?void 0:o.get();return i}function NH(e,t,n){n===void 0&&(n={}),e.notifyAnimationStart(t);var r;if(Array.isArray(t)){var o=t.map(function(a){return Pv(e,a,n)});r=Promise.all(o)}else if(typeof t=="string")r=Pv(e,t,n);else{var i=typeof t=="function"?Df(e,t,n.custom):t;r=E5(e,i,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}function Pv(e,t,n){var r;n===void 0&&(n={});var o=Df(e,t,n.custom),i=(o||{}).transition,a=i===void 0?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var s=o?function(){return E5(e,o,n)}:function(){return Promise.resolve()},l=!((r=e.variantChildren)===null||r===void 0)&&r.size?function(h){h===void 0&&(h=0);var v=a.delayChildren,m=v===void 0?0:v,w=a.staggerChildren,y=a.staggerDirection;return DH(e,t,m+h,w,y,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=rt(u==="beforeChildren"?[s,l]:[l,s],2),d=c[0],p=c[1];return d().then(p)}else return Promise.all([s(),l(n.delay)])}function E5(e,t,n){var r,o=n===void 0?{}:n,i=o.delay,a=i===void 0?0:i,s=o.transitionOverride,l=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=c===void 0?e.getDefaultTransition():c,p=u.transitionEnd,h=ln(u,["transition","transitionEnd"]);s&&(d=s);var v=[],m=l&&((r=e.animationState)===null||r===void 0?void 0:r.getState()[l]);for(var w in h){var y=e.getValue(w),g=h[w];if(!(!y||g===void 0||m&&IH(m,w))){var x=U({delay:a},d);e.shouldReduceMotion&&bl(w)&&(x=U(U({},x),{type:!1,delay:0}));var _=C1(w,y,g,x);v.push(_)}}return Promise.all(v).then(function(){p&&RH(e,p)})}function DH(e,t,n,r,o,i){n===void 0&&(n=0),r===void 0&&(r=0),o===void 0&&(o=1);var a=[],s=(e.variantChildren.size-1)*r,l=o===1?function(u){return u===void 0&&(u=0),u*r}:function(u){return u===void 0&&(u=0),s-u*r};return Array.from(e.variantChildren).sort(FH).forEach(function(u,c){a.push(Pv(u,t,U(U({},i),{delay:n+l(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function FH(e,t){return e.sortNodePosition(t)}function IH(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&r[t]!==!0;return r[t]=!1,o}var T1=[Oe.Animate,Oe.InView,Oe.Focus,Oe.Hover,Oe.Tap,Oe.Drag,Oe.Exit],jH=In([],rt(T1),!1).reverse(),zH=T1.length;function VH(e){return function(t){return Promise.all(t.map(function(n){var r=n.animation,o=n.options;return NH(e,r,o)}))}}function BH(e){var t=VH(e),n=UH(),r={},o=!0,i=function(c,d){var p=Df(e,d);if(p){p.transition;var h=p.transitionEnd,v=ln(p,["transition","transitionEnd"]);c=U(U(U({},c),v),h)}return c};function a(c){return r[c]!==void 0}function s(c){t=c(e)}function l(c,d){for(var p,h=e.getProps(),v=e.getVariantContext(!0)||{},m=[],w=new Set,y={},g=1/0,x=function(S){var C=jH[S],$=n[C],k=(p=h[C])!==null&&p!==void 0?p:v[C],D=vn(k),F=C===d?$.isActive:null;F===!1&&(g=S);var G=k===v[C]&&k!==h[C]&&D;if(G&&o&&e.manuallyAnimateOnMount&&(G=!1),$.protectedKeys=U({},y),!$.isActive&&F===null||!k&&!$.prevProp||h1(k)||typeof k=="boolean")return"continue";var H=HH($.prevProp,k),te=H||C===d&&$.isActive&&!G&&D||S>g&&D,ue=Array.isArray(k)?k:[k],ie=ue.reduce(i,{});F===!1&&(ie={});var V=$.prevResolvedValues,X=V===void 0?{}:V,R=U(U({},X),ie),Y=function(M){te=!0,w.delete(M),$.needsAnimating[M]=!0};for(var L in R){var P=ie[L],T=X[L];y.hasOwnProperty(L)||(P!==T?rl(P)&&rl(T)?!x5(P,T)||H?Y(L):$.protectedKeys[L]=!0:P!==void 0?Y(L):w.add(L):P!==void 0&&w.has(L)?Y(L):$.protectedKeys[L]=!0)}$.prevProp=k,$.prevResolvedValues=ie,$.isActive&&(y=U(U({},y),ie)),o&&e.blockInitialAnimation&&(te=!1),te&&!G&&m.push.apply(m,In([],rt(ue.map(function(M){return{animation:M,options:U({type:C},c)}})),!1))},_=0;_<zH;_++)x(_);if(r=U({},y),w.size){var E={};w.forEach(function(S){var C=e.getBaseTarget(S);C!==void 0&&(E[S]=C)}),m.push({animation:E})}var b=Boolean(m.length);return o&&h.initial===!1&&!e.manuallyAnimateOnMount&&(b=!1),o=!1,b?t(m):Promise.resolve()}function u(c,d,p){var h;if(n[c].isActive===d)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(w){var y;return(y=w.animationState)===null||y===void 0?void 0:y.setActive(c,d)}),n[c].isActive=d;var v=l(p,c);for(var m in n)n[m].protectedKeys={};return v}return{isAnimated:a,animateChanges:l,setActive:u,setAnimateFunction:s,getState:function(){return n}}}function HH(e,t){return typeof t=="string"?t!==e:gT(t)?!x5(t,e):!1}function Co(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function UH(){var e;return e={},e[Oe.Animate]=Co(!0),e[Oe.InView]=Co(),e[Oe.Hover]=Co(),e[Oe.Tap]=Co(),e[Oe.Drag]=Co(),e[Oe.Focus]=Co(),e[Oe.Exit]=Co(),e}var GH={animation:Hr(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=BH(t)),h1(n)&&f.exports.useEffect(function(){return n.subscribe(t)},[n])}),exit:Hr(function(e){var t=e.custom,n=e.visualElement,r=rt(y5(),2),o=r[0],i=r[1],a=f.exports.useContext(Nf);f.exports.useEffect(function(){var s,l;n.isPresent=o;var u=(s=n.animationState)===null||s===void 0?void 0:s.setActive(Oe.Exit,!o,{custom:(l=a==null?void 0:a.custom)!==null&&l!==void 0?l:t});!o&&(u==null||u.then(i))},[o])})},b5=function(){function e(t,n,r){var o=this,i=r===void 0?{}:r,a=i.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(o.lastMoveEvent&&o.lastMoveEventInfo)){var p=mh(o.lastMoveEventInfo,o.history),h=o.startEvent!==null,v=p5(p.offset,{x:0,y:0})>=3;if(!(!h&&!v)){var m=p.point,w=nd().timestamp;o.history.push(U(U({},m),{timestamp:w}));var y=o.handlers,g=y.onStart,x=y.onMove;h||(g&&g(o.lastMoveEvent,p),o.startEvent=o.lastMoveEvent),x&&x(o.lastMoveEvent,p)}}},this.handlePointerMove=function(p,h){if(o.lastMoveEvent=p,o.lastMoveEventInfo=hh(h,o.transformPagePoint),HT(p)&&p.buttons===0){o.handlePointerUp(p,h);return}zn.update(o.updatePoint,!0)},this.handlePointerUp=function(p,h){o.end();var v=o.handlers,m=v.onEnd,w=v.onSessionEnd,y=mh(hh(h,o.transformPagePoint),o.history);o.startEvent&&m&&m(p,y),w&&w(p,y)},!(UT(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=a;var s=m1(t),l=hh(s,this.transformPagePoint),u=l.point,c=nd().timestamp;this.history=[U(U({},u),{timestamp:c})];var d=n.onSessionStart;d&&d(t,mh(l,this.history)),this.removeListeners=zf(Gi(window,"pointermove",this.handlePointerMove),Gi(window,"pointerup",this.handlePointerUp),Gi(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ca.update(this.updatePoint)},e}();function hh(e,t){return t?{point:t(e.point)}:e}function q_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function mh(e,t){var n=e.point;return{point:n,delta:q_(n,S5(t)),offset:q_(n,YH(t)),velocity:WH(t,.1)}}function YH(e){return e[0]}function S5(e){return e[e.length-1]}function WH(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=S5(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>od(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(i===0)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function dr(e){return e.max-e.min}function K_(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=.01),p5(e,t)<n}function X_(e,t,n,r){r===void 0&&(r=.5),e.origin=r,e.originPoint=We(t.min,t.max,e.origin),e.scale=dr(n)/dr(t),(K_(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=We(n.min,n.max,e.origin)-e.originPoint,(K_(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ws(e,t,n,r){X_(e.x,t.x,n.x,r==null?void 0:r.originX),X_(e.y,t.y,n.y,r==null?void 0:r.originY)}function Z_(e,t,n){e.min=n.min+t.min,e.max=e.min+dr(t)}function qH(e,t,n){Z_(e.x,t.x,n.x),Z_(e.y,t.y,n.y)}function Q_(e,t,n){e.min=t.min-n.min,e.max=e.min+dr(t)}function _s(e,t,n){Q_(e.x,t.x,n.x),Q_(e.y,t.y,n.y)}function KH(e,t,n){var r=t.min,o=t.max;return r!==void 0&&e<r?e=n?We(r,e,n.min):Math.max(e,r):o!==void 0&&e>o&&(e=n?We(o,e,n.max):Math.min(e,o)),e}function J_(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 XH(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:J_(e.x,r,i),y:J_(e.y,n,o)}}function eE(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=rt([o,r],2),r=n[0],o=n[1]),{min:r,max:o}}function ZH(e,t){return{x:eE(e.x,t.x),y:eE(e.y,t.y)}}function QH(e,t){var n=.5,r=dr(e),o=dr(t);return o>r?n=ol(t.min,t.max-r,e.min):r>o&&(n=ol(e.min,e.max-o,t.min)),ed(0,1,n)}function JH(e,t){var n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Rv=.35;function eU(e){return e===void 0&&(e=Rv),e===!1?e=0:e===!0&&(e=Rv),{x:tE(e,"left","right"),y:tE(e,"top","bottom")}}function tE(e,t,n){return{min:nE(e,t),max:nE(e,n)}}function nE(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}var rE=function(){return{translate:0,scale:1,origin:0,originPoint:0}},Es=function(){return{x:rE(),y:rE()}},oE=function(){return{min:0,max:0}},gt=function(){return{x:oE(),y:oE()}};function kn(e){return[e("x"),e("y")]}function C5(e){var t=e.top,n=e.left,r=e.right,o=e.bottom;return{x:{min:n,max:r},y:{min:t,max:o}}}function tU(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function nU(e,t){if(!t)return e;var 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 vh(e){return e===void 0||e===1}function A5(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!vh(t)||!vh(n)||!vh(r)}function Tr(e){return A5(e)||iE(e.x)||iE(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function iE(e){return e&&e!=="0%"}function id(e,t,n){var r=e-n,o=t*r;return n+o}function aE(e,t,n,r,o){return o!==void 0&&(e=id(e,o,r)),id(e,n,r)+t}function Ov(e,t,n,r,o){t===void 0&&(t=0),n===void 0&&(n=1),e.min=aE(e.min,t,n,r,o),e.max=aE(e.max,t,n,r,o)}function $5(e,t){var n=t.x,r=t.y;Ov(e.x,n.translate,n.scale,n.originPoint),Ov(e.y,r.translate,r.scale,r.originPoint)}function rU(e,t,n,r){var o,i;r===void 0&&(r=!1);var a=n.length;if(!!a){t.x=t.y=1;for(var s,l,u=0;u<a;u++)s=n[u],l=s.projectionDelta,((i=(o=s.instance)===null||o===void 0?void 0:o.style)===null||i===void 0?void 0:i.display)!=="contents"&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Li(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,$5(e,l)),r&&Tr(s.latestValues)&&Li(e,s.latestValues))}}function Mr(e,t){e.min=e.min+t,e.max=e.max+t}function sE(e,t,n){var r=rt(n,3),o=r[0],i=r[1],a=r[2],s=t[a]!==void 0?t[a]:.5,l=We(e.min,e.max,s);Ov(e,t[o],t[i],l,t.scale)}var oU=["x","scaleX","originX"],iU=["y","scaleY","originY"];function Li(e,t){sE(e.x,t,oU),sE(e.y,t,iU)}function T5(e,t){return C5(nU(e.getBoundingClientRect(),t))}function aU(e,t,n){var r=T5(e,n),o=t.scroll;return o&&(Mr(r.x,o.x),Mr(r.y,o.y)),r}var sU=new WeakMap,lU=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=gt(),this.visualElement=t}return e.prototype.start=function(t,n){var r=this,o=n===void 0?{}:n,i=o.snapToCursor,a=i===void 0?!1:i;if(this.visualElement.isPresent!==!1){var s=function(d){r.stopAnimation(),a&&r.snapToCursor(m1(d,"page").point)},l=function(d,p){var h,v=r.getProps(),m=v.drag,w=v.dragPropagation,y=v.onDragStart;m&&!w&&(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=qT(m),!r.openGlobalLock)||(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),kn(function(g){var x,_,E=r.getAxisMotionValue(g).get()||0;if(jn.test(E)){var b=(_=(x=r.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||_===void 0?void 0:_.actual[g];if(b){var S=dr(b);E=S*(parseFloat(E)/100)}}r.originPoint[g]=E}),y==null||y(d,p),(h=r.visualElement.animationState)===null||h===void 0||h.setActive(Oe.Drag,!0))},u=function(d,p){var h=r.getProps(),v=h.dragPropagation,m=h.dragDirectionLock,w=h.onDirectionLock,y=h.onDrag;if(!(!v&&!r.openGlobalLock)){var g=p.offset;if(m&&r.currentDirection===null){r.currentDirection=uU(g),r.currentDirection!==null&&(w==null||w(r.currentDirection));return}r.updateAxis("x",p.point,g),r.updateAxis("y",p.point,g),r.visualElement.syncRender(),y==null||y(d,p)}},c=function(d,p){return r.stop(d,p)};this.panSession=new b5(t,{onSessionStart:s,onStart:l,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,n){var r=this.isDragging;if(this.cancel(),!!r){var o=n.velocity;this.startAnimation(o);var i=this.getProps().onDragEnd;i==null||i(t,n)}},e.prototype.cancel=function(){var t,n;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var r=this.getProps().dragPropagation;!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(n=this.visualElement.animationState)===null||n===void 0||n.setActive(Oe.Drag,!1)},e.prototype.updateAxis=function(t,n,r){var o=this.getProps().drag;if(!(!r||!yu(t,o,this.currentDirection))){var i=this.getAxisMotionValue(t),a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=KH(a,this.constraints[t],this.elastic[t])),i.set(a)}},e.prototype.resolveConstraints=function(){var t=this,n=this.getProps(),r=n.dragConstraints,o=n.dragElastic,i=(this.visualElement.projection||{}).layout,a=this.constraints;r&&Oi(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&i?this.constraints=XH(i.actual,r):this.constraints=!1,this.elastic=eU(o),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&kn(function(s){t.getAxisMotionValue(s)&&(t.constraints[s]=JH(i.actual[s],t.constraints[s]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),n=t.dragConstraints,r=t.onMeasureDragConstraints;if(!n||!Oi(n))return!1;var o=n.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=aU(o,i.root,this.visualElement.getTransformPagePoint()),s=ZH(i.layout.actual,a);if(r){var l=r(tU(s));this.hasMutatedConstraints=!!l,l&&(s=C5(l))}return s},e.prototype.startAnimation=function(t){var n=this,r=this.getProps(),o=r.drag,i=r.dragMomentum,a=r.dragElastic,s=r.dragTransition,l=r.dragSnapToOrigin,u=r.onDragTransitionEnd,c=this.constraints||{},d=kn(function(p){var h;if(!!yu(p,o,n.currentDirection)){var v=(h=c==null?void 0:c[p])!==null&&h!==void 0?h:{};l&&(v={min:0,max:0});var m=a?200:1e6,w=a?40:1e7,y=U(U({type:"inertia",velocity:i?t[p]:0,bounceStiffness:m,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10},s),v);return n.startAxisValueAnimation(p,y)}});return Promise.all(d).then(u)},e.prototype.startAxisValueAnimation=function(t,n){var r=this.getAxisMotionValue(t);return C1(t,r,0,n)},e.prototype.stopAnimation=function(){var t=this;kn(function(n){return t.getAxisMotionValue(n).stop()})},e.prototype.getAxisMotionValue=function(t){var n,r,o="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[o];return i||this.visualElement.getValue(t,(r=(n=this.visualElement.getProps().initial)===null||n===void 0?void 0:n[t])!==null&&r!==void 0?r:0)},e.prototype.snapToCursor=function(t){var n=this;kn(function(r){var o=n.getProps().drag;if(!!yu(r,o,n.currentDirection)){var i=n.visualElement.projection,a=n.getAxisMotionValue(r);if(i&&i.layout){var s=i.layout.actual[r],l=s.min,u=s.max;a.set(t[r]-We(l,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,n,r=this.getProps(),o=r.drag,i=r.dragConstraints,a=this.visualElement.projection;if(!(!Oi(i)||!a||!this.constraints)){this.stopAnimation();var s={x:0,y:0};kn(function(u){var c=t.getAxisMotionValue(u);if(c){var d=c.get();s[u]=QH({min:d,max:d},t.constraints[u])}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",(n=a.root)===null||n===void 0||n.updateScroll(),a.updateLayout(),this.resolveConstraints(),kn(function(u){if(!!yu(u,o,null)){var c=t.getAxisMotionValue(u),d=t.constraints[u],p=d.min,h=d.max;c.set(We(p,h,s[u]))}})}},e.prototype.addListeners=function(){var t=this,n;sU.set(this.visualElement,this);var r=this.visualElement.getInstance(),o=Gi(r,"pointerdown",function(u){var c=t.getProps(),d=c.drag,p=c.dragListener,h=p===void 0?!0:p;d&&h&&t.start(u)}),i=function(){var u=t.getProps().dragConstraints;Oi(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,s=a.addEventListener("measure",i);a&&!a.layout&&((n=a.root)===null||n===void 0||n.updateScroll(),a.updateLayout()),i();var l=jf(window,"resize",function(){return t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,d=u.hasLayoutChanged;t.isDragging&&d&&(kn(function(p){var h=t.getAxisMotionValue(p);!h||(t.originPoint[p]+=c[p].translate,h.set(h.get()+c[p].translate))}),t.visualElement.syncRender())}),function(){l(),o(),s()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),n=t.drag,r=n===void 0?!1:n,o=t.dragDirectionLock,i=o===void 0?!1:o,a=t.dragPropagation,s=a===void 0?!1:a,l=t.dragConstraints,u=l===void 0?!1:l,c=t.dragElastic,d=c===void 0?Rv:c,p=t.dragMomentum,h=p===void 0?!0:p;return U(U({},t),{drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:u,dragElastic:d,dragMomentum:h})},e}();function yu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function uU(e,t){t===void 0&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}function cU(e){var t=e.dragControls,n=e.visualElement,r=If(function(){return new lU(n)});f.exports.useEffect(function(){return t&&t.subscribe(r)},[r,t]),f.exports.useEffect(function(){return r.addListeners()},[r])}function dU(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,s=f.exports.useRef(null),l=f.exports.useContext(s1).transformPagePoint,u={onSessionStart:o,onStart:n,onMove:t,onEnd:function(d,p){s.current=null,r&&r(d,p)}};f.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(u)});function c(d){s.current=new b5(d,u,{transformPagePoint:l})}Jc(i,"pointerdown",a&&c),ZT(function(){return s.current&&s.current.end()})}var fU={pan:Hr(dU),drag:Hr(cU)},xu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function pU(){var e=xu.map(function(){return new xs}),t={},n={clearAllListeners:function(){return e.forEach(function(r){return r.clear()})},updatePropListeners:function(r){xu.forEach(function(o){var i,a="on"+o,s=r[a];(i=t[o])===null||i===void 0||i.call(t),s&&(t[o]=n[a](s))})}};return e.forEach(function(r,o){n["on"+xu[o]]=function(i){return r.add(i)},n["notify"+xu[o]]=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return r.notify.apply(r,In([],rt(i),!1))}}),n}function hU(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(ur(i))e.addValue(o,i);else if(ur(a))e.addValue(o,da(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,da((r=e.getStaticValue(o))!==null&&r!==void 0?r:i))}for(var o in n)t[o]===void 0&&e.removeValue(o);return t}var k5=function(e){var t=e.treeType,n=t===void 0?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(p,h){var v=p.parent,m=p.props,w=p.presenceId,y=p.blockInitialAnimation,g=p.visualState,x=p.shouldReduceMotion;h===void 0&&(h={});var _=!1,E=g.latestValues,b=g.renderState,S,C=pU(),$=new Map,k=new Map,D={},F=U({},E),G;function H(){!S||!_||(te(),s(S,b,m.style,P.projection))}function te(){r(P,b,E,h,m)}function ue(){C.notifyUpdate(E)}function ie(T,M){var A=M.onChange(function(z){E[T]=z,m.onUpdate&&zn.update(ue,!1,!0)}),K=M.onRenderRequest(P.scheduleRender);k.set(T,function(){A(),K()})}var V=d(m);for(var X in V){var R=V[X];E[X]!==void 0&&ur(R)&&R.set(E[X],!1)}var Y=Ff(m),L=xT(m),P=U(U({treeType:n,current:null,depth:v?v.depth+1:0,parent:v,children:new Set,presenceId:w,shouldReduceMotion:x,variantChildren:L?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(v==null?void 0:v.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(S)},mount:function(T){_=!0,S=P.current=T,P.projection&&P.projection.mount(T),L&&v&&!Y&&(G=v==null?void 0:v.addVariantChild(P)),$.forEach(function(M,A){return ie(A,M)}),v==null||v.children.add(P),P.setProps(m)},unmount:function(){var T;(T=P.projection)===null||T===void 0||T.unmount(),ca.update(ue),ca.render(H),k.forEach(function(M){return M()}),G==null||G(),v==null||v.children.delete(P),C.clearAllListeners(),S=void 0,_=!1},addVariantChild:function(T){var M,A=P.getClosestVariantNode();if(A)return(M=A.variantChildren)===null||M===void 0||M.add(T),function(){return A.variantChildren.delete(T)}},sortNodePosition:function(T){return!c||n!==T.treeType?0:c(P.getInstance(),T.getInstance())},getClosestVariantNode:function(){return L?P:v==null?void 0:v.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return S},getStaticValue:function(T){return E[T]},setStaticValue:function(T,M){return E[T]=M},getLatestValues:function(){return E},setVisibility:function(T){P.isVisible!==T&&(P.isVisible=T,P.scheduleRender())},makeTargetAnimatable:function(T,M){return M===void 0&&(M=!0),i(P,T,m,M)},measureViewportBox:function(){return a(S,m)},addValue:function(T,M){P.hasValue(T)&&P.removeValue(T),$.set(T,M),E[T]=M.get(),ie(T,M)},removeValue:function(T){var M;$.delete(T),(M=k.get(T))===null||M===void 0||M(),k.delete(T),delete E[T],u(T,b)},hasValue:function(T){return $.has(T)},getValue:function(T,M){var A=$.get(T);return A===void 0&&M!==void 0&&(A=da(M),P.addValue(T,A)),A},forEachValue:function(T){return $.forEach(T)},readValue:function(T){var M;return(M=E[T])!==null&&M!==void 0?M:l(S,T,h)},setBaseTarget:function(T,M){F[T]=M},getBaseTarget:function(T){if(o){var M=o(m,T);if(M!==void 0&&!ur(M))return M}return F[T]}},C),{build:function(){return te(),b},scheduleRender:function(){zn.render(H,!1,!0)},syncRender:H,setProps:function(T){(T.transformTemplate||m.transformTemplate)&&P.scheduleRender(),m=T,C.updatePropListeners(T),D=hU(P,d(m),D)},getProps:function(){return m},getVariant:function(T){var M;return(M=m.variants)===null||M===void 0?void 0:M[T]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function(T){if(T===void 0&&(T=!1),T)return v==null?void 0:v.getVariantContext();if(!Y){var M=(v==null?void 0:v.getVariantContext())||{};return m.initial!==void 0&&(M.initial=m.initial),M}for(var A={},K=0;K<mU;K++){var z=P5[K],ce=m[z];(vn(ce)||ce===!1)&&(A[z]=ce)}return A}});return P}},P5=In(["initial"],rt(T1),!1),mU=P5.length;function Lv(e){return typeof e=="string"&&e.startsWith("var(--")}var R5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function vU(e){var t=R5.exec(e);if(!t)return[,];var n=rt(t,3),r=n[1],o=n[2];return[r,o]}function Mv(e,t,n){var r=rt(vU(e),2),o=r[0],i=r[1];if(!!o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Lv(i)?Mv(i,t):i}}function gU(e,t,n){var r,o=ln(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};n&&(n=U({},n)),e.forEachValue(function(u){var c=u.get();if(!!Lv(c)){var d=Mv(c,i);d&&u.set(d)}});for(var a in o){var s=o[a];if(!!Lv(s)){var l=Mv(s,i);!l||(o[a]=l,n&&((r=n[a])!==null&&r!==void 0||(n[a]=s)))}}return{target:o,transitionEnd:n}}var yU=new Set(["width","height","top","left","right","bottom","x","y"]),O5=function(e){return yU.has(e)},xU=function(e){return Object.keys(e).some(O5)},L5=function(e,t){e.set(t,!1),e.set(t)},lE=function(e){return e===ti||e===oe},uE;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(uE||(uE={}));var cE=function(e,t){return parseFloat(e.split(", ")[t])},dE=function(e,t){return function(n,r){var o=r.transform;if(o==="none"||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return cE(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?cE(a[1],e):0}},wU=new Set(["x","y","z"]),_U=tl.filter(function(e){return!wU.has(e)});function EU(e){var t=[];return _U.forEach(function(n){var r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var fE={width:function(e,t){var n=e.x,r=t.paddingLeft,o=r===void 0?"0":r,i=t.paddingRight,a=i===void 0?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=r===void 0?"0":r,i=t.paddingBottom,a=i===void 0?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:dE(4,13),y:dE(5,14)},bU=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(function(u){s[u]=fE[u](r,i)}),t.syncRender();var l=t.measureViewportBox();return n.forEach(function(u){var c=t.getValue(u);L5(c,s[u]),e[u]=fE[u](l,i)}),e},SU=function(e,t,n,r){n===void 0&&(n={}),r===void 0&&(r={}),t=U({},t),r=U({},r);var o=Object.keys(t).filter(O5),i=[],a=!1,s=[];if(o.forEach(function(c){var d=e.getValue(c);if(!!e.hasValue(c)){var p=n[c],h=Ha(p),v=t[c],m;if(rl(v)){var w=v.length,y=v[0]===null?1:0;p=v[y],h=Ha(p);for(var g=y;g<w;g++)m?Xc(Ha(v[g])===m):m=Ha(v[g])}else m=Ha(v);if(h!==m)if(lE(h)&&lE(m)){var x=d.get();typeof x=="string"&&d.set(parseFloat(x)),typeof v=="string"?t[c]=parseFloat(v):Array.isArray(v)&&m===oe&&(t[c]=v.map(parseFloat))}else(h==null?void 0:h.transform)&&(m==null?void 0:m.transform)&&(p===0||v===0)?p===0?d.set(m.transform(p)):t[c]=h.transform(v):(a||(i=EU(e),a=!0),s.push(c),r[c]=r[c]!==void 0?r[c]:t[c],L5(d,v))}}),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,u=bU(t,e,s);return i.length&&i.forEach(function(c){var d=rt(c,2),p=d[0],h=d[1];e.getValue(p).set(h)}),e.syncRender(),l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function CU(e,t,n,r){return xU(t)?SU(e,t,n,r):{target:t,transitionEnd:r}}var AU=function(e,t,n,r){var o=gU(e,t,r);return t=o.target,r=o.transitionEnd,CU(e,t,n,r)};function $U(e){return window.getComputedStyle(e)}var M5={treeType:"dom",readValueFromInstance:function(e,t){if(bl(t)){var n=E1(t);return n&&n.default||0}else{var r=$U(e);return(ST(t)?r.getPropertyValue(t):r[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var n;return(n=e.style)===null||n===void 0?void 0:n[t]},measureViewportBox:function(e,t){var n=t.transformPagePoint;return T5(e,n)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;r===void 0&&(r=!0);var i=t.transition,a=t.transitionEnd,s=ln(t,["transition","transitionEnd"]),l=MH(s,i||{},e);if(o&&(a&&(a=o(a)),s&&(s=o(s)),l&&(l=o(l))),r){OH(e,s,l);var u=AU(e,s,l,a);a=u.transitionEnd,s=u.target}return U({transition:i,transitionEnd:a},s)},scrapeMotionValuesFromProps:p1,build:function(e,t,n,r,o){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),c1(t,n,r,o.transformTemplate)},render:FT},TU=k5(M5),kU=k5(U(U({},M5),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return bl(t)?((n=E1(t))===null||n===void 0?void 0:n.default)||0:(t=IT.has(t)?t:DT(t),e.getAttribute(t))},scrapeMotionValuesFromProps:zT,build:function(e,t,n,r,o){f1(t,n,r,o.transformTemplate)},render:jT})),PU=function(e,t){return l1(e)?kU(t,{enableHardwareAcceleration:!1}):TU(t,{enableHardwareAcceleration:!0})};function pE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Ua={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;var n=pE(e,t.target.x),r=pE(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},hE="_$css",RU={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(R5,function(m){return a.push(m),hE}));var s=cr.parse(e);if(s.length>5)return o;var l=cr.createTransformer(e),u=typeof s[0]!="number"?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=d;var p=We(c,d,.5);typeof s[2+u]=="number"&&(s[2+u]/=p),typeof s[3+u]=="number"&&(s[3+u]/=p);var h=l(s);if(i){var v=0;h=h.replace(hE,function(){var m=a[v];return v++,m})}return h}},OU=function(e){fT(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var n=this,r=this.props,o=r.visualElement,i=r.layoutGroup,a=r.switchLayoutGroup,s=r.layoutId,l=o.projection;tV(MU),l&&(i!=null&&i.group&&i.group.add(l),(a==null?void 0:a.register)&&s&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){n.safeToRemove()}),l.setOptions(U(U({},l.options),{onExitComplete:function(){return n.safeToRemove()}}))),vs.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(n){var r=this,o=this.props,i=o.layoutDependency,a=o.visualElement,s=o.drag,l=o.isPresent,u=a.projection;return u&&(u.isPresent=l,s||n.layoutDependency!==i||i===void 0?u.willUpdate():this.safeToRemove(),n.isPresent!==l&&(l?u.promote():u.relegate()||zn.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||r.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var n=this.props.visualElement.projection;n&&(n.root.didUpdate(),!n.currentAnimation&&n.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=r.projection;a&&(a.scheduleCheckAfterUnmount(),o!=null&&o.group&&o.group.remove(a),i!=null&&i.deregister&&i.deregister(a))},t.prototype.safeToRemove=function(){var n=this.props.safeToRemove;n==null||n()},t.prototype.render=function(){return null},t}(J.Component);function LU(e){var t=rt(y5(),2),n=t[0],r=t[1],o=f.exports.useContext(wT);return N(OU,{...U({},e,{layoutGroup:o,switchLayoutGroup:f.exports.useContext(_T),isPresent:n,safeToRemove:r})})}var MU={borderRadius:U(U({},Ua),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Ua,borderTopRightRadius:Ua,borderBottomLeftRadius:Ua,borderBottomRightRadius:Ua,boxShadow:RU},NU={measureLayout:LU};function DU(e,t,n){n===void 0&&(n={});var r=ur(e)?e:da(e);return C1("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}var N5=["TopLeft","TopRight","BottomLeft","BottomRight"],FU=N5.length,mE=function(e){return typeof e=="string"?parseFloat(e):e},vE=function(e){return typeof e=="number"||oe.test(e)};function IU(e,t,n,r,o,i){var a,s,l,u;o?(e.opacity=We(0,(a=n.opacity)!==null&&a!==void 0?a:1,jU(r)),e.opacityExit=We((s=t.opacity)!==null&&s!==void 0?s:1,0,zU(r))):i&&(e.opacity=We((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(var c=0;c<FU;c++){var d="border".concat(N5[c],"Radius"),p=gE(t,d),h=gE(n,d);if(!(p===void 0&&h===void 0)){p||(p=0),h||(h=0);var v=p===0||h===0||vE(p)===vE(h);v?(e[d]=Math.max(We(mE(p),mE(h),r),0),(jn.test(h)||jn.test(p))&&(e[d]+="%")):e[d]=h}}(t.rotate||n.rotate)&&(e.rotate=We(t.rotate||0,n.rotate||0,r))}function gE(e,t){var n;return(n=e[t])!==null&&n!==void 0?n:e.borderRadius}var jU=D5(0,.5,w1),zU=D5(.5,.95,y1);function D5(e,t,n){return function(r){return r<e?0:r>t?1:n(ol(e,t,r))}}function yE(e,t){e.min=t.min,e.max=t.max}function dn(e,t){yE(e.x,t.x),yE(e.y,t.y)}function xE(e,t,n,r,o){return e-=t,e=id(e,1/n,r),o!==void 0&&(e=id(e,1/o,r)),e}function VU(e,t,n,r,o,i,a){if(t===void 0&&(t=0),n===void 0&&(n=1),r===void 0&&(r=.5),i===void 0&&(i=e),a===void 0&&(a=e),jn.test(t)){t=parseFloat(t);var s=We(a.min,a.max,t/100);t=s-a.min}if(typeof t=="number"){var l=We(i.min,i.max,r);e===i&&(l-=t),e.min=xE(e.min,t,n,l,o),e.max=xE(e.max,t,n,l,o)}}function wE(e,t,n,r,o){var i=rt(n,3),a=i[0],s=i[1],l=i[2];VU(e,t[a],t[s],t[l],t.scale,r,o)}var BU=["x","scaleX","originX"],HU=["y","scaleY","originY"];function _E(e,t,n,r){wE(e.x,t,BU,n==null?void 0:n.x,r==null?void 0:r.x),wE(e.y,t,HU,n==null?void 0:n.y,r==null?void 0:r.y)}function EE(e){return e.translate===0&&e.scale===1}function F5(e){return EE(e.x)&&EE(e.y)}function I5(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var UU=function(){function e(){this.members=[]}return e.prototype.add=function(t){A1(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if($1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var n=this.members[this.members.length-1];n&&this.promote(n)}},e.prototype.relegate=function(t){var n=this.members.findIndex(function(a){return t===a});if(n===0)return!1;for(var r,o=n;o>=0;o--){var i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1},e.prototype.promote=function(t,n){var r,o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues,t.snapshot.isShared=!0),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);var i=t.options.crossfade;i===!1&&o.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var n,r,o,i,a;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(a=(o=t.resumingFrom)===null||o===void 0?void 0:(i=o.options).onExitComplete)===null||a===void 0||a.call(i)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),GU="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function bE(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,s=n.rotateX,l=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,c=e.y.scale*t.y;return i+="scale(".concat(u,", ").concat(c,")"),i===GU?"none":i}var YU=function(e,t){return e.depth-t.depth},WU=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){A1(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){$1(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(YU),this.isDirty=!1,this.children.forEach(t)},e}(),SE=1e3;function j5(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function a(s,l,u){var c=this;l===void 0&&(l={}),u===void 0&&(u=n==null?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){c.isUpdating&&(c.isUpdating=!1,c.clearAllSnapshots())},this.updateProjection=function(){c.nodes.forEach(JU),c.nodes.forEach(eG)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=s,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?In(In([],rt(u.path),!1),[u],!1):[],this.parent=u,this.depth=u?u.depth+1:0,s&&this.root.registerPotentialNode(s,this);for(var d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new WU)}return a.prototype.addEventListener=function(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new xs),this.eventHandlers.get(s).add(l)},a.prototype.notifyListeners=function(s){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];var c=this.eventHandlers.get(s);c==null||c.notify.apply(c,In([],rt(l),!1))},a.prototype.hasListeners=function(s){return this.eventHandlers.has(s)},a.prototype.registerPotentialNode=function(s,l){this.potentialNodes.set(s,l)},a.prototype.mount=function(s,l){var u=this,c;if(l===void 0&&(l=!1),!this.instance){this.isSVG=s instanceof SVGElement&&s.tagName!=="svg",this.instance=s;var d=this.options,p=d.layoutId,h=d.layout,v=d.visualElement;if(v&&!v.getInstance()&&v.mount(s),this.root.nodes.add(this),(c=this.parent)===null||c===void 0||c.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(h||p)&&(this.isLayoutDirty=!0),t){var m,w=function(){return u.root.updateBlockedByResize=!1};t(s,function(){u.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(w,250),vs.hasAnimatedSinceResize&&(vs.hasAnimatedSinceResize=!1,u.nodes.forEach(QU))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&v&&(p||h)&&this.addEventListener("didUpdate",function(y){var g,x,_,E,b,S=y.delta,C=y.hasLayoutChanged,$=y.hasRelativeTargetChanged,k=y.layout;if(u.isTreeAnimationBlocked()){u.target=void 0,u.relativeTarget=void 0;return}var D=(x=(g=u.options.transition)!==null&&g!==void 0?g:v.getDefaultTransition())!==null&&x!==void 0?x:iG,F=v.getProps(),G=F.onLayoutAnimationStart,H=F.onLayoutAnimationComplete,te=!u.targetLayout||!I5(u.targetLayout,k)||$,ue=!C&&$;if(((_=u.resumeFrom)===null||_===void 0?void 0:_.instance)||ue||C&&(te||!u.currentAnimation)){u.resumeFrom&&(u.resumingFrom=u.resumeFrom,u.resumingFrom.resumingFrom=void 0),u.setAnimationOrigin(S,ue);var ie=U(U({},S1(D,"layout")),{onPlay:G,onComplete:H});v.shouldReduceMotion&&(ie.delay=0,ie.type=!1),u.startAnimation(ie)}else!C&&u.animationProgress===0&&u.finishAnimation(),u.isLead()&&((b=(E=u.options).onExitComplete)===null||b===void 0||b.call(E));u.targetLayout=k})}},a.prototype.unmount=function(){var s,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(s=this.getStack())===null||s===void 0||s.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,ca.preRender(this.updateProjection)},a.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},a.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},a.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},a.prototype.isTreeAnimationBlocked=function(){var s;return this.isAnimationBlocked||((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimationBlocked())||!1},a.prototype.startUpdate=function(){var s;this.isUpdateBlocked()||(this.isUpdating=!0,(s=this.nodes)===null||s===void 0||s.forEach(tG))},a.prototype.willUpdate=function(s){var l,u,c;if(s===void 0&&(s=!0),this.root.isUpdateBlocked()){(u=(l=this.options).onExitComplete)===null||u===void 0||u.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var d=0;d<this.path.length;d++){var p=this.path[d];p.shouldResetTransform=!0,p.updateScroll()}var h=this.options,v=h.layoutId,m=h.layout;if(!(v===void 0&&!m)){var w=(c=this.options.visualElement)===null||c===void 0?void 0:c.getProps().transformTemplate;this.prevTransformTemplateValue=w==null?void 0:w(this.latestValues,""),this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}}},a.prototype.didUpdate=function(){var s=this.isUpdateBlocked();if(s){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(CE);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(aG),this.potentialNodes.clear()),this.nodes.forEach(ZU),this.nodes.forEach(qU),this.nodes.forEach(KU),this.clearAllSnapshots(),dh.update(),dh.preRender(),dh.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(XU),this.sharedNodes.forEach(nG)},a.prototype.scheduleUpdateProjection=function(){zn.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var s=this;zn.postRender(function(){s.isLayoutDirty?s.root.didUpdate():s.root.checkUpdateFailed()})},a.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var s=this.measure(),l=this.removeTransform(this.removeElementScroll(s));kE(l),this.snapshot={measured:s,layout:l,latestValues:{}}}},a.prototype.updateLayout=function(){var s;if(!!this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var u=this.path[l];u.updateScroll()}var c=this.measure();kE(c);var d=this.layout;this.layout={measured:c,actual:this.removeElementScroll(c)},this.layoutCorrected=gt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(s=this.options.visualElement)===null||s===void 0||s.notifyLayoutMeasure(this.layout.actual,d==null?void 0:d.actual)}},a.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},a.prototype.resetTransform=function(){var s;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!F5(this.projectionDelta),c=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate,d=c==null?void 0:c(this.latestValues,""),p=d!==this.prevTransformTemplateValue;l&&(u||Tr(this.latestValues)||p)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var s=this.options.visualElement;if(!s)return gt();var l=s.measureViewportBox(),u=this.root.scroll;return u&&(Mr(l.x,u.x),Mr(l.y,u.y)),l},a.prototype.removeElementScroll=function(s){var l=gt();dn(l,s);for(var u=0;u<this.path.length;u++){var c=this.path[u],d=c.scroll,p=c.options,h=c.isScrollRoot;if(c!==this.root&&d&&p.layoutScroll){if(h){dn(l,s);var v=this.root.scroll;v&&(Mr(l.x,-v.x),Mr(l.y,-v.y))}Mr(l.x,d.x),Mr(l.y,d.y)}}return l},a.prototype.applyTransform=function(s,l){l===void 0&&(l=!1);var u=gt();dn(u,s);for(var c=0;c<this.path.length;c++){var d=this.path[c];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&Li(u,{x:-d.scroll.x,y:-d.scroll.y}),Tr(d.latestValues)&&Li(u,d.latestValues)}return Tr(this.latestValues)&&Li(u,this.latestValues),u},a.prototype.removeTransform=function(s){var l,u=gt();dn(u,s);for(var c=0;c<this.path.length;c++){var d=this.path[c];if(!!d.instance&&!!Tr(d.latestValues)){A5(d.latestValues)&&d.updateSnapshot();var p=gt(),h=d.measure();dn(p,h),_E(u,d.latestValues,(l=d.snapshot)===null||l===void 0?void 0:l.layout,p)}}return Tr(this.latestValues)&&_E(u,this.latestValues),u},a.prototype.setTargetDelta=function(s){this.targetDelta=s,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(s){var l;this.options=U(U(U({},this.options),s),{crossfade:(l=s.crossfade)!==null&&l!==void 0?l:!0})},a.prototype.clearMeasurements=function(){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},a.prototype.resolveTargetDelta=function(){var s,l=this.options,u=l.layout,c=l.layoutId;!this.layout||!(u||c)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=gt(),this.relativeTargetOrigin=gt(),_s(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),dn(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=gt(),this.targetWithTransforms=gt()),this.relativeTarget&&this.relativeTargetOrigin&&((s=this.relativeParent)===null||s===void 0?void 0:s.target)?qH(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):dn(this.target,this.layout.actual),$5(this.target,this.targetDelta)):dn(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=gt(),this.relativeTargetOrigin=gt(),_s(this.relativeTargetOrigin,this.target,this.relativeParent.target),dn(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Tr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},a.prototype.calcProjection=function(){var s,l=this.options,u=l.layout,c=l.layoutId;if(this.isTreeAnimating=Boolean(((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(u||c))){var d=this.getLead();dn(this.layoutCorrected,this.layout.actual),rU(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==d);var p=d.target;if(!!p){this.projectionDelta||(this.projectionDelta=Es(),this.projectionDeltaWithTransform=Es());var h=this.treeScale.x,v=this.treeScale.y,m=this.projectionTransform;ws(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=bE(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==h||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},a.prototype.hide=function(){this.isVisible=!1},a.prototype.show=function(){this.isVisible=!0},a.prototype.scheduleRender=function(s){var l,u,c;s===void 0&&(s=!0),(u=(l=this.options).scheduleRender)===null||u===void 0||u.call(l),s&&((c=this.getStack())===null||c===void 0||c.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},a.prototype.setAnimationOrigin=function(s,l){var u=this,c;l===void 0&&(l=!1);var d=this.snapshot,p=(d==null?void 0:d.latestValues)||{},h=U({},this.latestValues),v=Es();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=gt(),w=d==null?void 0:d.isShared,y=(((c=this.getStack())===null||c===void 0?void 0:c.members.length)||0)<=1,g=Boolean(w&&!y&&this.options.crossfade===!0&&!this.path.some(oG));this.animationProgress=0,this.mixTargetDelta=function(x){var _,E=x/1e3;AE(v.x,s.x,E),AE(v.y,s.y,E),u.setTargetDelta(v),u.relativeTarget&&u.relativeTargetOrigin&&u.layout&&((_=u.relativeParent)===null||_===void 0?void 0:_.layout)&&(_s(m,u.layout.actual,u.relativeParent.layout.actual),rG(u.relativeTarget,u.relativeTargetOrigin,m,E)),w&&(u.animationValues=h,IU(h,p,u.latestValues,E,g,y)),u.root.scheduleUpdateProjection(),u.scheduleRender(),u.animationProgress=E},this.mixTargetDelta(0)},a.prototype.startAnimation=function(s){var l=this,u,c;this.notifyListeners("animationStart"),(u=this.currentAnimation)===null||u===void 0||u.stop(),this.resumingFrom&&((c=this.resumingFrom.currentAnimation)===null||c===void 0||c.stop()),this.pendingAnimation&&(ca.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=zn.update(function(){vs.hasAnimatedSinceResize=!0,l.currentAnimation=DU(0,SE,U(U({},s),{onUpdate:function(d){var p;l.mixTargetDelta(d),(p=s.onUpdate)===null||p===void 0||p.call(s,d)},onComplete:function(){var d;(d=s.onComplete)===null||d===void 0||d.call(s),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},a.prototype.completeAnimation=function(){var s;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(s=this.getStack())===null||s===void 0||s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},a.prototype.finishAnimation=function(){var s;this.currentAnimation&&((s=this.mixTargetDelta)===null||s===void 0||s.call(this,SE),this.currentAnimation.stop()),this.completeAnimation()},a.prototype.applyTransformsToTarget=function(){var s=this.getLead(),l=s.targetWithTransforms,u=s.target,c=s.layout,d=s.latestValues;!l||!u||!c||(dn(l,u),Li(l,d),ws(this.projectionDeltaWithTransform,this.layoutCorrected,l,d))},a.prototype.registerSharedNode=function(s,l){var u,c,d;this.sharedNodes.has(s)||this.sharedNodes.set(s,new UU);var p=this.sharedNodes.get(s);p.add(l),l.promote({transition:(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(d=(c=l.options.initialPromotionConfig)===null||c===void 0?void 0:c.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(c,l)})},a.prototype.isLead=function(){var s=this.getStack();return s?s.lead===this:!0},a.prototype.getLead=function(){var s,l=this.options.layoutId;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this},a.prototype.getPrevLead=function(){var s,l=this.options.layoutId;return l?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0},a.prototype.getStack=function(){var s=this.options.layoutId;if(s)return this.root.sharedNodes.get(s)},a.prototype.promote=function(s){var l=s===void 0?{}:s,u=l.needsReset,c=l.transition,d=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,d),u&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})},a.prototype.relegate=function(){var s=this.getStack();return s?s.relegate(this):!1},a.prototype.resetRotation=function(){var s=this.options.visualElement;if(!!s){for(var l=!1,u={},c=0;c<xv.length;c++){var d=xv[c],p="rotate"+d;!s.getStaticValue(p)||(l=!0,u[p]=s.getStaticValue(p),s.setStaticValue(p,0))}if(!!l){s==null||s.syncRender();for(var p in u)s.setStaticValue(p,u[p]);s.scheduleRender()}}},a.prototype.getProjectionStyles=function(s){var l,u,c,d,p,h;s===void 0&&(s={});var v={};if(!this.instance||this.isSVG)return v;if(this.isVisible)v.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,v.opacity="",v.pointerEvents=Zu(s.pointerEvents)||"",v.transform=m?m(this.latestValues,""):"none",v;var w=this.getLead();if(!this.projectionDelta||!this.layout||!w.target){var y={};return this.options.layoutId&&(y.opacity=(u=this.latestValues.opacity)!==null&&u!==void 0?u:1,y.pointerEvents=Zu(s.pointerEvents)||""),this.hasProjected&&!Tr(this.latestValues)&&(y.transform=m?m({},""):"none",this.hasProjected=!1),y}var g=w.animationValues||w.latestValues;this.applyTransformsToTarget(),v.transform=bE(this.projectionDeltaWithTransform,this.treeScale,g),m&&(v.transform=m(g,v.transform));var x=this.projectionDelta,_=x.x,E=x.y;v.transformOrigin="".concat(_.origin*100,"% ").concat(E.origin*100,"% 0"),w.animationValues?v.opacity=w===this?(d=(c=g.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:v.opacity=w===this?(p=g.opacity)!==null&&p!==void 0?p:"":(h=g.opacityExit)!==null&&h!==void 0?h:0;for(var b in Zc)if(g[b]!==void 0){var S=Zc[b],C=S.correct,$=S.applyTo,k=C(g[b],w);if($)for(var D=$.length,F=0;F<D;F++)v[$[F]]=k;else v[b]=k}return this.options.layoutId&&(v.pointerEvents=w===this?Zu(s.pointerEvents)||"":"none"),v},a.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},a.prototype.resetTree=function(){this.root.nodes.forEach(function(s){var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(CE),this.root.sharedNodes.clear()},a}()}function qU(e){e.updateLayout()}function KU(e){var t,n,r,o,i=(n=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&n!==void 0?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,l=a.measured;e.options.animationType==="size"?kn(function(g){var x=i.isShared?i.measured[g]:i.layout[g],_=dr(x);x.min=s[g].min,x.max=x.min+_}):e.options.animationType==="position"&&kn(function(g){var x=i.isShared?i.measured[g]:i.layout[g],_=dr(s[g]);x.max=x.min+_});var u=Es();ws(u,s,i.layout);var c=Es();i.isShared?ws(c,e.applyTransform(l,!0),i.measured):ws(c,s,i.layout);var d=!F5(u),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,v=h.snapshot,m=h.layout;if(v&&m){var w=gt();_s(w,i.layout,v.layout);var y=gt();_s(y,s,m.actual),I5(w,y)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:p})}else e.isLead()&&((o=(r=e.options).onExitComplete)===null||o===void 0||o.call(r));e.options.transition=void 0}function XU(e){e.clearSnapshot()}function CE(e){e.clearMeasurements()}function ZU(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function QU(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function JU(e){e.resolveTargetDelta()}function eG(e){e.calcProjection()}function tG(e){e.resetRotation()}function nG(e){e.removeLeadSnapshot()}function AE(e,t,n){e.translate=We(t.translate,0,n),e.scale=We(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function $E(e,t,n,r){e.min=We(t.min,n.min,r),e.max=We(t.max,n.max,r)}function rG(e,t,n,r){$E(e.x,t.x,n.x,r),$E(e.y,t.y,n.y,r)}function oG(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var iG={duration:.45,ease:[.4,0,.1,1]};function aG(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=n&&n!==e.root?n.instance:document,i=o.querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function TE(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function kE(e){TE(e.x),TE(e.y)}var sG=j5({attachResizeListener:function(e,t){return jf(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),gh={current:void 0},lG=j5({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!gh.current){var e=new sG(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),gh.current=e}return gh.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"},checkIsScrollRoot:function(e){return Boolean(window.getComputedStyle(e).position==="fixed")}}),uG=U(U(U(U({},GH),sH),fU),NU),z5=Jz(function(e,t){return jV(e,t,uG,PU,lG)}),Hf={exports:{}},Ga={};/**
|
|
500
|
-
* @license React
|
|
501
|
-
* react-jsx-runtime.production.min.js
|
|
502
|
-
*
|
|
503
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
504
|
-
*
|
|
505
|
-
* This source code is licensed under the MIT license found in the
|
|
506
|
-
* LICENSE file in the root directory of this source tree.
|
|
507
|
-
*/var PE;function cG(){if(PE)return Ga;PE=1;var e=J,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,d={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:d,_owner:o.current}}return Ga.Fragment=n,Ga.jsx=a,Ga.jsxs=a,Ga}(function(e){e.exports=cG()})(Hf);const Sn=Hf.exports.Fragment,q=Hf.exports.jsx,Ye=Hf.exports.jsxs,al={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},xe={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},k1={colorBlue70:"#0056D3"},dG=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:al,neutralColors:xe,blueColors:k1},Symbol.toStringTag,{value:"Module"})),jt=4,fG={"--ll-color-primary":al.colorPrimary50,"--ll-color-primary-variant1":al.colorPrimary40,"--ll-color-background":xe.colorNeutral100,"--ll-color-surface":xe.colorNeutral95,"--ll-color-surface-variant1":xe.colorNeutral90,"--ll-color-surface-variant2":xe.colorNeutral80,"--ll-color-on-primary":xe.colorNeutral100,"--ll-color-on-primary-variant1":xe.colorNeutral90,"--ll-color-on-background":xe.colorNeutral10,"--ll-color-on-background-variant1":xe.colorNeutral30,"--ll-color-on-surface":xe.colorNeutral10,"--ll-color-on-surface-variant1":xe.colorNeutral30,"--ll-color-placeholder":xe.colorNeutral60,"--ll-color-disabled":xe.colorNeutral60,"--ll-color-border":xe.colorNeutral90,"--ll-color-link":k1.colorBlue70},pG={"--ll-border-radius-small":`${jt}px`,"--ll-border-radius-medium":`${2*jt}px`},hG={"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},mG={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${jt}px`,"--ll-spacing-xx-small":"var(--ll-spacing-base-unit)","--ll-spacing-x-small":"calc(var(--ll-spacing-base-unit) * 2)","--ll-spacing-small":"calc(var(--ll-spacing-base-unit) * 3)","--ll-spacing-medium":"calc(var(--ll-spacing-base-unit) * 4)","--ll-spacing-large":"calc(var(--ll-spacing-base-unit) * 6)","--ll-spacing-x-large":"calc(var(--ll-spacing-base-unit) * 8)","--ll-spacing-xx-large":"calc(var(--ll-spacing-base-unit) * 12)","--ll-spacing-xxx-large":"calc(var(--ll-spacing-base-unit) * 16)"},vG={"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"},gG={"--ll-font-size-base":"12px","--ll-font-size-h1":"calc(var(--ll-font-size-base) * 4)","--ll-font-size-h2":"calc(var(--ll-font-size-base) * 3)","--ll-font-size-h3":"calc(var(--ll-font-size-base) * 2)","--ll-font-size-h4":"calc(var(--ll-font-size-base) * 1.667)","--ll-font-size-h5":"calc(var(--ll-font-size-base) * 1.5)","--ll-font-size-h6":"calc(var(--ll-font-size-base) * 1.333)","--ll-font-size-p":"calc(var(--ll-font-size-base) * 1.167)","--ll-font-size-caption-1":"var(--ll-font-size-base)","--ll-font-size-caption-2":"calc(var(--ll-font-size-base) * 0.833)"},yG={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},P1={...fG,...pG,...hG,...mG,...vG,...gG,...yG},xG={...P1,"--ll-color-primary":al.colorPrimary60,"--ll-color-primary-variant1":al.colorPrimary50,"--ll-color-background":xe.colorNeutral10,"--ll-color-surface":xe.colorNeutral20,"--ll-color-surface-variant1":xe.colorNeutral30,"--ll-color-surface-variant2":xe.colorNeutral40,"--ll-color-on-primary":xe.colorNeutral100,"--ll-color-on-primary-variant1":xe.colorNeutral90,"--ll-color-on-background":xe.colorNeutral99,"--ll-color-on-background-variant1":xe.colorNeutral80,"--ll-color-on-surface":xe.colorNeutral80,"--ll-color-on-surface-variant1":xe.colorNeutral90,"--ll-color-placeholder":xe.colorNeutral70,"--ll-color-disabled":xe.colorNeutral70,"--ll-color-border":xe.colorNeutral30,"--ll-color-link":k1.colorBlue70},wG=Object.keys(P1),O=wG.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),_G={day:P1,night:xG},EG=LC`
|
|
508
|
-
:root {
|
|
509
|
-
${({themeName:e,overrides:t})=>({..._G[e||"day"],...t})};
|
|
510
|
-
}
|
|
511
|
-
`,bG=e=>e,SG=bG({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),CG=Object.freeze(Object.defineProperty({__proto__:null,transitions:SG},Symbol.toStringTag,{value:"Module"})),AG={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},$G=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:AG},Symbol.toStringTag,{value:"Module"})),Nv={colors:dG,...CG,...$G},TG=({size:e})=>e==="small"?ye`
|
|
512
|
-
padding: calc(${O["--ll-spacing-xx-small"]} / 2) ${O["--ll-spacing-xx-small"]};
|
|
513
|
-
`:e==="large"?ye`
|
|
514
|
-
padding: calc(${O["--ll-spacing-small"]} / 2) ${O["--ll-spacing-medium"]};
|
|
515
|
-
font-size: ${O["--ll-font-size-p"]};
|
|
516
|
-
line-height: ${O["--ll-font-size-h6"]};
|
|
517
|
-
`:ye`
|
|
518
|
-
padding: ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-x-small"]};
|
|
519
|
-
`,kG=j.span`
|
|
520
|
-
display: inline-flex;
|
|
521
|
-
color: ${({textColor:e})=>e};
|
|
522
|
-
background-color: ${({backgroundColor:e})=>e};
|
|
523
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
524
|
-
line-height: 1;
|
|
525
|
-
font-family: ${O["--ll-font-family"]};
|
|
526
|
-
font-size: ${O["--ll-font-size-caption-1"]};
|
|
527
|
-
justify-content: center;
|
|
528
|
-
|
|
529
|
-
${TG};
|
|
530
|
-
`;var Uf={exports:{}},Ya={};/**
|
|
531
|
-
* @license React
|
|
532
|
-
* react-jsx-runtime.production.min.js
|
|
533
|
-
*
|
|
534
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
535
|
-
*
|
|
536
|
-
* This source code is licensed under the MIT license found in the
|
|
537
|
-
* LICENSE file in the root directory of this source tree.
|
|
538
|
-
*/var RE;function PG(){if(RE)return Ya;RE=1;var e=J,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,d={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:d,_owner:o.current}}return Ya.Fragment=n,Ya.jsx=a,Ya.jsxs=a,Ya}(function(e){e.exports=PG()})(Uf);const R1=Uf.exports.Fragment,st=Uf.exports.jsx,O1=Uf.exports.jsxs,L1=({text:e,size:t="small",className:n,textColor:r=xe.colorNeutral100,backgroundColor:o=xe.colorNeutral60,onClick:i})=>st(kG,{size:t,onClick:i,className:n,textColor:r,backgroundColor:o,children:e}),RG=j.div`
|
|
539
|
-
height: ${({height:e})=>e}px;
|
|
540
|
-
width: ${({width:e})=>e}px;
|
|
541
|
-
fill: ${({fill:e})=>e};
|
|
542
|
-
display: flex;
|
|
543
|
-
|
|
544
|
-
& > svg {
|
|
545
|
-
fill: inherit;
|
|
546
|
-
height: 100%;
|
|
547
|
-
width: 100%;
|
|
548
|
-
}
|
|
549
|
-
`,xo=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>st(RG,{fill:t,height:n,width:r,children:st(e,{})}),OE=({variant:e})=>e==="h1"?O["--ll-font-size-h1"]:e==="h2"?O["--ll-font-size-h2"]:e==="h3"?O["--ll-font-size-h3"]:e==="h4"?O["--ll-font-size-h4"]:e==="h5"?O["--ll-font-size-h5"]:e==="h6"?O["--ll-font-size-h6"]:e==="p"?O["--ll-font-size-p"]:e==="caption1"?O["--ll-font-size-caption-1"]:e==="caption2"?O["--ll-font-size-caption-2"]:O["--ll-font-size-h2"],LE=({color:e})=>e in O?O[e]:e,V5=j.span`
|
|
550
|
-
overflow: hidden;
|
|
551
|
-
display: inline-block;
|
|
552
|
-
width: 100%;
|
|
553
|
-
line-height: ${({lineHeight:e})=>e||1.45};
|
|
554
|
-
margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
|
|
555
|
-
font-size: inherit;
|
|
556
|
-
font-weight: inherit;
|
|
557
|
-
`,OG=j.div`
|
|
558
|
-
${e=>ye`
|
|
559
|
-
text-align: ${e.align};
|
|
560
|
-
font-size: ${OE(e)};
|
|
561
|
-
font-family: ${e.family==="sans-serif"?O["--ll-font-family"]:O["--ll-font-family-mono"]};
|
|
562
|
-
color: ${LE(e)};
|
|
563
|
-
font-weight: ${O[e.weight]};
|
|
564
|
-
overflow: hidden;
|
|
565
|
-
display: flex;
|
|
566
|
-
|
|
567
|
-
svg {
|
|
568
|
-
height: ${OE(e)};
|
|
569
|
-
fill: ${LE(e)};
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
${V5} {
|
|
573
|
-
${e.noWrap&&ye`
|
|
574
|
-
text-overflow: ellipsis;
|
|
575
|
-
white-space: nowrap;
|
|
576
|
-
`}
|
|
577
|
-
}
|
|
578
|
-
`}
|
|
579
|
-
`,_t=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,lineHeight:a,weight:s="--ll-font-weight-normal",family:l="sans-serif",className:u})=>{const c=["caption1","caption2","p"].includes(t)?"p":t;return st(OG,{variant:t,align:n,color:r,noWrap:o,weight:s,family:l,children:st(V5,{as:c,noMargin:i,className:u,lineHeight:a,children:e})})},LG=j.a`
|
|
580
|
-
font-family: ${O["--ll-font-family"]};
|
|
581
|
-
font-size: ${O["--ll-font-size-p"]};
|
|
582
|
-
color: ${O["--ll-color-link"]};
|
|
583
|
-
cursor: pointer;
|
|
584
|
-
|
|
585
|
-
${({lineClamp:e})=>e&&ye`
|
|
586
|
-
overflow: hidden;
|
|
587
|
-
text-overflow: ellipsis;
|
|
588
|
-
display: -webkit-box;
|
|
589
|
-
-webkit-box-orient: vertical;
|
|
590
|
-
-webkit-line-clamp: ${e};
|
|
591
|
-
`}
|
|
592
|
-
`,ME=({children:e,href:t,className:n,lineClamp:r})=>st(LG,{target:"_blank",rel:"noreferrer",lineClamp:r,href:t,className:n,children:e});function le(){return le=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},le.apply(this,arguments)}function MG(e,t){const n=f.exports.createContext(t);function r(i){const{children:a,...s}=i,l=f.exports.useMemo(()=>s,Object.values(s));return f.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=f.exports.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function Ta(e,t=[]){let n=[];function r(i,a){const s=f.exports.createContext(a),l=n.length;n=[...n,a];function u(d){const{scope:p,children:h,...v}=d,m=(p==null?void 0:p[e][l])||s,w=f.exports.useMemo(()=>v,Object.values(v));return f.exports.createElement(m.Provider,{value:w},h)}function c(d,p){const h=(p==null?void 0:p[e][l])||s,v=f.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>f.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return f.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,NG(o,...t)]}function NG(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return f.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function DG(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function B5(...e){return t=>e.forEach(n=>DG(n,t))}function qe(...e){return f.exports.useCallback(B5(...e),e)}const fa=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.exports.Children.toArray(n),i=o.find(IG);if(i){const a=i.props.children,s=o.map(l=>l===i?f.exports.Children.count(a)>1?f.exports.Children.only(null):f.exports.isValidElement(a)?a.props.children:null:l);return f.exports.createElement(Dv,le({},r,{ref:t}),f.exports.isValidElement(a)?f.exports.cloneElement(a,void 0,s):null)}return f.exports.createElement(Dv,le({},r,{ref:t}),n)});fa.displayName="Slot";const Dv=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return f.exports.isValidElement(n)?f.exports.cloneElement(n,{...jG(r,n.props),ref:B5(t,n.ref)}):f.exports.Children.count(n)>1?f.exports.Children.only(null):null});Dv.displayName="SlotClone";const FG=({children:e})=>f.exports.createElement(f.exports.Fragment,null,e);function IG(e){return f.exports.isValidElement(e)&&e.type===FG}function jG(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{i==null||i(...a),o==null||o(...a)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const zG=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Ze=zG.reduce((e,t)=>{const n=f.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?fa:t;return f.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.exports.createElement(s,le({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function VG(e,t){e&&Pt.exports.flushSync(()=>e.dispatchEvent(t))}const fr=Boolean(globalThis==null?void 0:globalThis.document)?f.exports.useLayoutEffect:()=>{},BG=a0["useId".toString()]||(()=>{});let HG=0;function H5(e){const[t,n]=f.exports.useState(BG());return fr(()=>{e||n(r=>r!=null?r:String(HG++))},[e]),e||(t?`radix-${t}`:"")}const UG="Label",[GG,YG]=MG(UG,{id:void 0,controlRef:{current:null}}),WG=f.exports.forwardRef((e,t)=>{const{htmlFor:n,id:r,...o}=e,i=f.exports.useRef(null),a=f.exports.useRef(null),s=qe(t,a),l=H5(r);return f.exports.useEffect(()=>{if(n){const u=document.getElementById(n);if(a.current&&u){const c=()=>u.getAttribute("aria-labelledby"),d=[l,c()].filter(Boolean).join(" ");return u.setAttribute("aria-labelledby",d),i.current=u,()=>{var p;const h=(p=c())===null||p===void 0?void 0:p.replace(l,"");h===""?u.removeAttribute("aria-labelledby"):h&&u.setAttribute("aria-labelledby",h)}}}},[l,n]),f.exports.createElement(GG,{id:l,controlRef:i},f.exports.createElement(Ze.span,le({role:"label",id:l},o,{ref:s,onMouseDown:u=>{var c;(c=e.onMouseDown)===null||c===void 0||c.call(e,u),!u.defaultPrevented&&u.detail>1&&u.preventDefault()},onClick:u=>{var c;if((c=e.onClick)===null||c===void 0||c.call(e,u),!i.current||u.defaultPrevented)return;const d=i.current.contains(u.target),p=u.isTrusted===!0;!d&&p&&(i.current.click(),i.current.focus())}})))}),U5=e=>{const t=YG("LabelConsumer"),{controlRef:n}=t;return f.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id},qG=WG;j(qG)`
|
|
593
|
-
font-size: ${O["--ll-font-size-p"]};
|
|
594
|
-
font-family: ${O["--ll-font-family"]};
|
|
595
|
-
color: ${O["--ll-color-placeholder"]};
|
|
596
|
-
`;const KG=df`
|
|
597
|
-
0% {
|
|
598
|
-
transform: rotate(0deg);
|
|
599
|
-
}
|
|
600
|
-
100% {
|
|
601
|
-
transform: rotate(360deg);
|
|
602
|
-
}
|
|
603
|
-
`,yh={small:jt*4,medium:jt*6,large:jt*8},XG=j.div`
|
|
604
|
-
height: ${({size:e})=>yh[e]}px;
|
|
605
|
-
width: ${({size:e})=>yh[e]}px;
|
|
606
|
-
border: ${({size:e})=>yh[e]/6}px solid ${O["--ll-color-on-surface-variant1"]};
|
|
607
|
-
border-bottom-color: transparent;
|
|
608
|
-
border-radius: 50%;
|
|
609
|
-
display: inline-block;
|
|
610
|
-
box-sizing: border-box;
|
|
611
|
-
animation: ${KG} 1s linear infinite;
|
|
612
|
-
`,ZG=({size:e="medium"})=>st(XG,{size:e}),bs={primary:{background:O["--ll-color-primary"],onBackground:O["--ll-color-on-primary"],hover:O["--ll-color-primary-variant1"]}},QG=({size:e})=>e==="small"?`font-size: ${O["--ll-font-size-caption-1"]}`:`font-size: ${O["--ll-font-size-p"]}`,M1=({size:e})=>e==="small"?`${jt*8}px`:e==="large"?`${jt*12}px`:`${jt*10}px`,JG=({size:e})=>e==="small"?`padding: 0 ${O["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${O["--ll-spacing-medium"]}`:`padding: 0 ${O["--ll-spacing-small"]}`,eY=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",tY=ye`
|
|
613
|
-
${({color:e="primary"})=>ye`
|
|
614
|
-
color: ${O["--ll-color-on-background"]};
|
|
615
|
-
|
|
616
|
-
&:disabled {
|
|
617
|
-
cursor: default;
|
|
618
|
-
}
|
|
619
|
-
`};
|
|
620
|
-
|
|
621
|
-
height: ${M1};
|
|
622
|
-
`,nY=ye`
|
|
623
|
-
${({color:e="primary"})=>ye`
|
|
624
|
-
background-color: ${bs[e].background};
|
|
625
|
-
color: ${bs[e].onBackground};
|
|
626
|
-
border: 1px solid transparent;
|
|
627
|
-
|
|
628
|
-
&:hover {
|
|
629
|
-
background-color: ${bs[e].hover};
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
&:disabled {
|
|
633
|
-
background-color: ${O["--ll-color-disabled"]};
|
|
634
|
-
cursor: default;
|
|
635
|
-
}
|
|
636
|
-
`};
|
|
637
|
-
height: ${M1};
|
|
638
|
-
`,rY=ye`
|
|
639
|
-
${({color:e="primary"})=>ye`
|
|
640
|
-
border-color: ${bs[e].background};
|
|
641
|
-
border-width: 1px;
|
|
642
|
-
border-style: solid;
|
|
643
|
-
color: ${bs[e].background};
|
|
644
|
-
`};
|
|
645
|
-
|
|
646
|
-
&:hover {
|
|
647
|
-
background-color: rgba(0, 0, 0, 0.03);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
height: ${M1};
|
|
651
|
-
`,oY=e=>({contained:nY,outlined:rY,text:tY})[e.variant],iY=j.div`
|
|
652
|
-
display: flex;
|
|
653
|
-
align-items: center;
|
|
654
|
-
margin-right: ${O["--ll-spacing-x-small"]};
|
|
655
|
-
margin-left: calc(-1 * ${O["--ll-spacing-xx-small"]});
|
|
656
|
-
`,aY=j.button`
|
|
657
|
-
font-weight: ${O["--ll-font-weight-normal"]};
|
|
658
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
659
|
-
align-items: center;
|
|
660
|
-
justify-content: center;
|
|
661
|
-
cursor: pointer;
|
|
662
|
-
display: inline-flex;
|
|
663
|
-
background: none;
|
|
664
|
-
border: none;
|
|
665
|
-
box-sizing: border-box;
|
|
666
|
-
|
|
667
|
-
svg {
|
|
668
|
-
fill: currentColor;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
${oY};
|
|
672
|
-
${eY};
|
|
673
|
-
${QG};
|
|
674
|
-
${JG};
|
|
675
|
-
`,N1=J.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:o,size:i="medium",type:a="button",color:s,isLoading:l,className:u},c)=>st(aY,{variant:r,size:i,onClick:d=>{t||!n||l||n(d)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?st(ZG,{}):O1(R1,{children:[o&&st(iY,{children:o}),e]})}));N1.displayName="Button";j.div`
|
|
676
|
-
display: flex;
|
|
677
|
-
flex-direction: column;
|
|
678
|
-
`;j.div`
|
|
679
|
-
position: relative;
|
|
680
|
-
`;j(N1)`
|
|
681
|
-
position: absolute;
|
|
682
|
-
right: 0px;
|
|
683
|
-
top: 0px;
|
|
684
|
-
`;j.input`
|
|
685
|
-
all: unset;
|
|
686
|
-
display: inline-flex;
|
|
687
|
-
align-items: center;
|
|
688
|
-
justify-content: center;
|
|
689
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
690
|
-
padding: 0 ${O["--ll-spacing-x-small"]};
|
|
691
|
-
height: 30px;
|
|
692
|
-
line-height: 1;
|
|
693
|
-
font-size: ${O["--ll-font-size-p"]};
|
|
694
|
-
font-family: ${O["--ll-font-family"]};
|
|
695
|
-
color: ${O["--ll-color-on-background"]};
|
|
696
|
-
background-color: ${O["--ll-color-background"]};
|
|
697
|
-
border: 1px solid ${O["--ll-color-border"]};
|
|
698
|
-
width: calc(100% - ${O["--ll-spacing-medium"]});
|
|
699
|
-
|
|
700
|
-
&:focus {
|
|
701
|
-
box-shadow: ${O["--ll-shadow-small"]};
|
|
702
|
-
}
|
|
703
|
-
`;function je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function uo(e){const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function G5({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=sY({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=uo(n),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function sY({defaultProp:e,onChange:t}){const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=uo(t);return f.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function D1(e){const t=f.exports.useRef({value:e,previous:e});return f.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function F1(e){const[t,n]=f.exports.useState(void 0);return fr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Y5="Switch",[lY,_ee]=Ta(Y5),[uY,cY]=lY(Y5),dY=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,"aria-labelledby":r,name:o,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,...d}=e,[p,h]=f.exports.useState(null),v=qe(t,E=>h(E)),m=U5(p),w=r||m,y=f.exports.useRef(!1),g=p?Boolean(p.closest("form")):!0,[x=!1,_]=G5({prop:i,defaultProp:a,onChange:c});return f.exports.createElement(uY,{scope:n,checked:x,disabled:l},f.exports.createElement(Ze.button,le({type:"button",role:"switch","aria-checked":x,"aria-labelledby":w,"aria-required":s,"data-state":W5(x),"data-disabled":l?"":void 0,disabled:l,value:u},d,{ref:v,onClick:je(e.onClick,E=>{_(b=>!b),g&&(y.current=E.isPropagationStopped(),y.current||E.stopPropagation())})})),g&&f.exports.createElement(hY,{control:p,bubbles:!y.current,name:o,value:u,checked:x,required:s,disabled:l,style:{transform:"translateX(-100%)"}}))}),fY="SwitchThumb",pY=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=cY(fY,n);return f.exports.createElement(Ze.span,le({"data-state":W5(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),hY=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=f.exports.useRef(null),a=D1(n),s=F1(t);return f.exports.useEffect(()=>{const l=i.current,u=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&c){const d=new Event("click",{bubbles:r});c.call(l,n),l.dispatchEvent(d)}},[a,n,r]),f.exports.createElement("input",le({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function W5(e){return e?"checked":"unchecked"}const mY=dY,vY=pY;j(mY)`
|
|
704
|
-
all: unset;
|
|
705
|
-
width: 42px;
|
|
706
|
-
height: 24px;
|
|
707
|
-
background-color: ${O["--ll-color-disabled"]};
|
|
708
|
-
border-radius: 13px;
|
|
709
|
-
position: relative;
|
|
710
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
711
|
-
|
|
712
|
-
&[data-state="checked"] {
|
|
713
|
-
background-color: ${O["--ll-color-on-background"]};
|
|
714
|
-
}
|
|
715
|
-
`;j(vY)`
|
|
716
|
-
display: block;
|
|
717
|
-
width: 18px;
|
|
718
|
-
height: 18px;
|
|
719
|
-
background-color: ${O["--ll-color-background"]};
|
|
720
|
-
border-radius: 9px;
|
|
721
|
-
transition: transform 100ms;
|
|
722
|
-
transform: translateX(3px);
|
|
723
|
-
will-change: transform;
|
|
724
|
-
|
|
725
|
-
&[data-state="checked"] {
|
|
726
|
-
transform: translateX(21px);
|
|
727
|
-
}
|
|
728
|
-
`;function Fv(e,[t,n]){return Math.min(n,Math.max(t,e))}const gY=f.exports.createContext(void 0);function yY(e){const t=f.exports.useContext(gY);return e||t||"ltr"}function q5(e){const t=e+"CollectionProvider",[n,r]=Ta(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,w=J.useRef(null),y=J.useRef(new Map).current;return J.createElement(o,{scope:v,itemMap:y,collectionRef:w},m)},s=e+"CollectionSlot",l=J.forwardRef((h,v)=>{const{scope:m,children:w}=h,y=i(s,m),g=qe(v,y.collectionRef);return J.createElement(fa,{ref:g},w)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=J.forwardRef((h,v)=>{const{scope:m,children:w,...y}=h,g=J.useRef(null),x=qe(v,g),_=i(u,m);return J.useEffect(()=>(_.itemMap.set(g,{ref:g,...y}),()=>void _.itemMap.delete(g))),J.createElement(fa,{[c]:"",ref:x},w)});function p(h){const v=i(e+"CollectionConsumer",h);return J.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const w=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((y,g)=>w.indexOf(y.ref.current)-w.indexOf(g.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},p,r]}const K5=["PageUp","PageDown"],X5=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Z5={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},$l="Slider",[Iv,xY,wY]=q5($l),[Q5,Eee]=Ta($l,[wY]),[_Y,Gf]=Q5($l),EY=f.exports.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:c,onValueChange:d=()=>{},...p}=e,[h,v]=f.exports.useState(null),m=qe(t,k=>v(k)),w=f.exports.useRef(new Set),y=f.exports.useRef(0),g=a==="horizontal",x=h?Boolean(h.closest("form")):!0,_=g?bY:SY,[E=[],b]=G5({prop:c,defaultProp:u,onChange:k=>{var D;(D=[...w.current][y.current])===null||D===void 0||D.focus(),d(k)}});function S(k){const D=LY(E,k);$(k,D)}function C(k){$(k,y.current)}function $(k,D){const F=FY(i),G=IY(Math.round((k-r)/i)*i+r,F),H=Fv(G,[r,o]);b((te=[])=>{const ue=RY(te,H,D);return DY(ue,l*i)?(y.current=ue.indexOf(H),String(ue)===String(te)?te:ue):te})}return f.exports.createElement(_Y,{scope:e.__scopeSlider,disabled:s,min:r,max:o,valueIndexToChangeRef:y,thumbs:w.current,values:E,orientation:a},f.exports.createElement(Iv.Provider,{scope:e.__scopeSlider},f.exports.createElement(Iv.Slot,{scope:e.__scopeSlider},f.exports.createElement(_,le({"aria-disabled":s,"data-disabled":s?"":void 0},p,{ref:m,min:r,max:o,onSlideStart:s?void 0:S,onSlideMove:s?void 0:C,onHomeKeyDown:()=>!s&&$(r,0),onEndKeyDown:()=>!s&&$(o,E.length-1),onStepKeyDown:({event:k,direction:D})=>{if(!s){const F=K5.includes(k.key)||k.shiftKey&&X5.includes(k.key)?10:1,G=y.current,H=E[G],te=i*F*D;$(H+te,G)}}})))),x&&E.map((k,D)=>f.exports.createElement(PY,{key:D,name:n?n+(E.length>1?"[]":""):void 0,value:k})))}),[J5,ek]=Q5($l,{startEdge:"left",endEdge:"right",size:"width",direction:1}),bY=f.exports.forwardRef((e,t)=>{const{min:n,max:r,dir:o,onSlideStart:i,onSlideMove:a,onStepKeyDown:s,...l}=e,[u,c]=f.exports.useState(null),d=qe(t,w=>c(w)),p=f.exports.useRef(),h=yY(o),v=h==="ltr";function m(w){const y=p.current||u.getBoundingClientRect(),g=[0,y.width],x=I1(g,v?[n,r]:[r,n]);return p.current=y,x(w-y.left)}return f.exports.createElement(J5,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},f.exports.createElement(tk,le({dir:h,"data-orientation":"horizontal"},l,{ref:d,style:{...l.style,["--radix-slider-thumb-transform"]:"translateX(-50%)"},onSlideStart:w=>{const y=m(w.clientX);i==null||i(y)},onSlideMove:w=>{const y=m(w.clientX);a==null||a(y)},onSlideEnd:()=>p.current=void 0,onStepKeyDown:w=>{const y=Z5[h].includes(w.key);s==null||s({event:w,direction:y?-1:1})}})))}),SY=f.exports.forwardRef((e,t)=>{const{min:n,max:r,onSlideStart:o,onSlideMove:i,onStepKeyDown:a,...s}=e,l=f.exports.useRef(null),u=qe(t,l),c=f.exports.useRef();function d(p){const h=c.current||l.current.getBoundingClientRect(),v=[0,h.height],m=I1(v,[r,n]);return c.current=h,m(p-h.top)}return f.exports.createElement(J5,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},f.exports.createElement(tk,le({"data-orientation":"vertical"},s,{ref:u,style:{...s.style,["--radix-slider-thumb-transform"]:"translateY(50%)"},onSlideStart:p=>{const h=d(p.clientY);o==null||o(h)},onSlideMove:p=>{const h=d(p.clientY);i==null||i(h)},onSlideEnd:()=>c.current=void 0,onStepKeyDown:p=>{const h=Z5.ltr.includes(p.key);a==null||a({event:p,direction:h?-1:1})}})))}),tk=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,c=Gf($l,n);return f.exports.createElement(Ze.span,le({},u,{ref:t,onKeyDown:je(e.onKeyDown,d=>{d.key==="Home"?(a(d),d.preventDefault()):d.key==="End"?(s(d),d.preventDefault()):K5.concat(X5).includes(d.key)&&(l(d),d.preventDefault())}),onPointerDown:je(e.onPointerDown,d=>{const p=d.target;p.setPointerCapture(d.pointerId),d.preventDefault(),c.thumbs.has(p)?p.focus():r(d)}),onPointerMove:je(e.onPointerMove,d=>{d.target.hasPointerCapture(d.pointerId)&&o(d)}),onPointerUp:je(e.onPointerUp,d=>{const p=d.target;p.hasPointerCapture(d.pointerId)&&(p.releasePointerCapture(d.pointerId),i(d))})}))}),CY="SliderTrack",AY=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Gf(CY,n);return f.exports.createElement(Ze.span,le({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),NE="SliderRange",$Y=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Gf(NE,n),i=ek(NE,n),a=f.exports.useRef(null),s=qe(t,a),l=o.values.length,u=o.values.map(p=>nk(p,o.min,o.max)),c=l>1?Math.min(...u):0,d=100-Math.max(...u);return f.exports.createElement(Ze.span,le({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:s,style:{...e.style,[i.startEdge]:c+"%",[i.endEdge]:d+"%"}}))}),DE="SliderThumb",TY=f.exports.forwardRef((e,t)=>{const n=xY(e.__scopeSlider),[r,o]=f.exports.useState(null),i=qe(t,s=>o(s)),a=f.exports.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return f.exports.createElement(kY,le({},e,{ref:i,index:a}))}),kY=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,i=Gf(DE,n),a=ek(DE,n),[s,l]=f.exports.useState(null),u=qe(t,w=>l(w)),c=F1(s),d=i.values[r],p=d===void 0?0:nk(d,i.min,i.max),h=OY(r,i.values.length),v=c==null?void 0:c[a.size],m=v?MY(v,p,a.direction):0;return f.exports.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]),f.exports.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${p}% + ${m}px)`}},f.exports.createElement(Iv.ItemSlot,{scope:e.__scopeSlider},f.exports.createElement(Ze.span,le({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:u,style:d===void 0?{display:"none"}:e.style,onFocus:je(e.onFocus,()=>{i.valueIndexToChangeRef.current=r})}))))}),PY=e=>{const{value:t,...n}=e,r=f.exports.useRef(null),o=D1(t);return f.exports.useEffect(()=>{const i=r.current,a=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(a,"value").set;if(o!==t&&s){const l=new Event("input",{bubbles:!0});s.call(i,t),i.dispatchEvent(l)}},[o,t]),f.exports.createElement("input",le({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function RY(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function nk(e,t,n){return 100/(n-t)*(e-t)}function OY(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function LY(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function MY(e,t,n){const r=e/2,o=I1([0,50],[0,r]);return(r-o(t)*n)*n}function NY(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function DY(e,t){if(t>0){const n=NY(e);return Math.min(...n)>=t}return!0}function I1(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function FY(e){return(String(e).split(".")[1]||"").length}function IY(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const jY=EY,zY=AY,VY=$Y,BY=TY;j.div``;j.div`
|
|
729
|
-
display: flex;
|
|
730
|
-
align-items: center;
|
|
731
|
-
`;j(jY)`
|
|
732
|
-
position: relative;
|
|
733
|
-
display: flex;
|
|
734
|
-
align-items: center;
|
|
735
|
-
user-select: none;
|
|
736
|
-
touch-action: none;
|
|
737
|
-
height: 20;
|
|
738
|
-
flex: 1;
|
|
739
|
-
`;j(BY)`
|
|
740
|
-
all: unset;
|
|
741
|
-
height: 20px;
|
|
742
|
-
width: 20px;
|
|
743
|
-
border-radius: 50%;
|
|
744
|
-
display: block;
|
|
745
|
-
background-color: ${O["--ll-color-primary"]};
|
|
746
|
-
box-shadow: ${O["--ll-shadow-medium"]};
|
|
747
|
-
`;j(zY)`
|
|
748
|
-
height: 4px;
|
|
749
|
-
border-radius: 2px;
|
|
750
|
-
background-color: ${O["--ll-color-surface-variant1"]};
|
|
751
|
-
position: relative;
|
|
752
|
-
flex: 1;
|
|
753
|
-
`;j(VY)`
|
|
754
|
-
height: 100%;
|
|
755
|
-
position: absolute;
|
|
756
|
-
background-color: ${O["--ll-color-primary"]};
|
|
757
|
-
border-radius: 2px;
|
|
758
|
-
`;const HY=({vertical:e,spacing:t})=>{const n=O[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},UY=j.div`
|
|
759
|
-
margin: ${e=>HY(e)};
|
|
760
|
-
flex-shrink: 0;
|
|
761
|
-
`,xh=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>st(UY,{vertical:e,spacing:t});function GY(e){const t=uo(e);f.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const jv="dismissableLayer.update",YY="dismissableLayer.pointerDownOutside",WY="dismissableLayer.focusOutside";let FE;const qY=f.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),rk=f.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=f.exports.useContext(qY),[c,d]=f.exports.useState(null),[,p]=f.exports.useState({}),h=qe(t,b=>d(b)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=v.indexOf(m),y=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,x=y>=w,_=KY(b=>{const S=b.target,C=[...u.branches].some($=>$.contains(S));!x||C||(o==null||o(b),a==null||a(b),b.defaultPrevented||s==null||s())}),E=XY(b=>{const S=b.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(b),a==null||a(b),b.defaultPrevented||s==null||s())});return GY(b=>{y===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))}),f.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(FE=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),IE(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=FE)}},[c,n,u]),f.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),IE())},[c,u]),f.exports.useEffect(()=>{const b=()=>p({});return document.addEventListener(jv,b),()=>document.removeEventListener(jv,b)},[]),f.exports.createElement(Ze.div,le({},l,{ref:h,style:{pointerEvents:g?x?"auto":"none":void 0,...e.style},onFocusCapture:je(e.onFocusCapture,E.onFocusCapture),onBlurCapture:je(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:je(e.onPointerDownCapture,_.onPointerDownCapture)}))});function KY(e){const t=uo(e),n=f.exports.useRef(!1),r=f.exports.useRef(()=>{});return f.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){ok(YY,t,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=s,document.addEventListener("click",r.current,{once:!0})):s()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function XY(e){const t=uo(e),n=f.exports.useRef(!1);return f.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&ok(WY,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function IE(){const e=new CustomEvent(jv);document.dispatchEvent(e)}function ok(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?VG(o,i):o.dispatchEvent(i)}let wh=0;function ik(){f.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:jE()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:jE()),wh++,()=>{wh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),wh--}},[])}function jE(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const _h="focusScope.autoFocusOnMount",Eh="focusScope.autoFocusOnUnmount",zE={bubbles:!1,cancelable:!0},ak=f.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=f.exports.useState(null),u=uo(o),c=uo(i),d=f.exports.useRef(null),p=qe(t,m=>l(m)),h=f.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.exports.useEffect(()=>{if(r){let m=function(y){if(h.paused||!s)return;const g=y.target;s.contains(g)?d.current=g:Po(d.current,{select:!0})},w=function(y){h.paused||!s||s.contains(y.relatedTarget)||Po(d.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",w),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w)}}},[r,s,h.paused]),f.exports.useEffect(()=>{if(s){BE.add(h);const m=document.activeElement;if(!s.contains(m)){const w=new CustomEvent(_h,zE);s.addEventListener(_h,u),s.dispatchEvent(w),w.defaultPrevented||(ZY(nW(sk(s)),{select:!0}),document.activeElement===m&&Po(s))}return()=>{s.removeEventListener(_h,u),setTimeout(()=>{const w=new CustomEvent(Eh,zE);s.addEventListener(Eh,c),s.dispatchEvent(w),w.defaultPrevented||Po(m!=null?m:document.body,{select:!0}),s.removeEventListener(Eh,c),BE.remove(h)},0)}}},[s,u,c,h]);const v=f.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(w&&y){const g=m.currentTarget,[x,_]=QY(g);x&&_?!m.shiftKey&&y===_?(m.preventDefault(),n&&Po(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),n&&Po(_,{select:!0})):y===g&&m.preventDefault()}},[n,r,h.paused]);return f.exports.createElement(Ze.div,le({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function ZY(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Po(r,{select:t}),document.activeElement!==n)return}function QY(e){const t=sk(e),n=VE(t,e),r=VE(t.reverse(),e);return[n,r]}function sk(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function VE(e,t){for(const n of e)if(!JY(n,{upTo:t}))return n}function JY(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 eW(e){return e instanceof HTMLInputElement&&"select"in e}function Po(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&eW(e)&&t&&e.select()}}const BE=tW();function tW(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=HE(e,t),e.unshift(t)},remove(t){var n;e=HE(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function HE(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function nW(e){return e.filter(t=>t.tagName!=="A")}function ka(e){return e.split("-")[0]}function Yf(e){return e.split("-")[1]}function Pa(e){return["top","bottom"].includes(ka(e))?"x":"y"}function j1(e){return e==="y"?"height":"width"}function UE(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=Pa(t),l=j1(s),u=r[l]/2-o[l]/2,c=ka(t),d=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(Yf(t)){case"start":p[s]-=u*(n&&d?-1:1);break;case"end":p[s]+=u*(n&&d?-1:1);break}return p}const rW=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=UE(l,r,s),d=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:w}=i[v],{x:y,y:g,data:x,reset:_}=await w({x:u,y:c,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=y!=null?y:u,c=g!=null?g:c,p={...p,[m]:{...p[m],...x}},_&&h<=50){h++,typeof _=="object"&&(_.placement&&(d=_.placement),_.rects&&(l=_.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):_.rects),{x:u,y:c}=UE(l,d,s)),v=-1;continue}}return{x:u,y:c,placement:d,strategy:o,middlewareData:p}};function oW(e){return{top:0,right:0,bottom:0,left:0,...e}}function lk(e){return typeof e!="number"?oW(e):{top:e,right:e,bottom:e,left:e}}function ad(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function sd(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,v=lk(h),m=s[p?d==="floating"?"reference":"floating":d],w=ad(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=ad(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[d]);return{top:w.top-y.top+v.top,bottom:y.bottom-w.bottom+v.bottom,left:w.left-y.left+v.left,right:y.right-w.right+v.right}}const iW=Math.min,aW=Math.max;function zv(e,t,n){return aW(e,iW(t,n))}const GE=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=lk(r),c={x:o,y:i},d=Pa(a),p=Yf(a),h=j1(d),v=await l.getDimensions(n),m=d==="y"?"top":"left",w=d==="y"?"bottom":"right",y=s.reference[h]+s.reference[d]-c[d]-s.floating[h],g=c[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let _=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;_===0&&(_=s.floating[h]);const E=y/2-g/2,b=u[m],S=_-v[h]-u[w],C=_/2-v[h]/2+E,$=zv(b,C,S),k=(p==="start"?u[m]:u[w])>0&&C!==$&&s.reference[h]<=s.floating[h]?C<b?b-C:S-C:0;return{[d]:c[d]-k,data:{[d]:$,centerOffset:C-$}}}}),sW={left:"right",right:"left",bottom:"top",top:"bottom"};function ld(e){return e.replace(/left|right|bottom|top/g,t=>sW[t])}function lW(e,t,n){n===void 0&&(n=!1);const r=Yf(e),o=Pa(e),i=j1(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ld(a)),{main:a,cross:ld(a)}}const uW={start:"end",end:"start"};function YE(e){return e.replace(/start|end/g,t=>uW[t])}const cW=["top","right","bottom","left"];function dW(e){const t=ld(e);return[YE(e),t,YE(t)]}const fW=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=ka(r),w=d||(m===a||!h?[ld(a)]:dW(a)),y=[a,...w],g=await sd(t,v),x=[];let _=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(g[m]),c){const{main:C,cross:$}=lW(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(g[C],g[$])}if(_=[..._,{placement:r,overflows:x}],!x.every(C=>C<=0)){var E,b;const C=((E=(b=o.flip)==null?void 0:b.index)!=null?E:0)+1,$=y[C];if($)return{data:{index:C,overflows:_},reset:{placement:$}};let k="bottom";switch(p){case"bestFit":{var S;const D=(S=_.map(F=>[F,F.overflows.filter(G=>G>0).reduce((G,H)=>G+H,0)]).sort((F,G)=>F[1]-G[1])[0])==null?void 0:S[0].placement;D&&(k=D);break}case"initialPlacement":k=a;break}if(r!==k)return{reset:{placement:k}}}return{}}}};function WE(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function qE(e){return cW.some(t=>e[t]>=0)}const pW=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=await sd(r,{...n,elementContext:"reference"}),a=WE(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:qE(a)}}}case"escaped":{const i=await sd(r,{...n,altBoundary:!0}),a=WE(i,o.floating);return{data:{escapedOffsets:a,escaped:qE(a)}}}default:return{}}}}};async function hW(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ka(n),s=Yf(n),l=Pa(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const mW=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await hW(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function uk(e){return e==="x"?"y":"x"}const vW=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:y,y:g}=w;return{x:y,y:g}}},...l}=e,u={x:n,y:r},c=await sd(t,l),d=Pa(ka(o)),p=uk(d);let h=u[d],v=u[p];if(i){const w=d==="y"?"top":"left",y=d==="y"?"bottom":"right",g=h+c[w],x=h-c[y];h=zv(g,h,x)}if(a){const w=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=v+c[w],x=v-c[y];v=zv(g,v,x)}const m=s.fn({...t,[d]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},gW=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},d=Pa(o),p=uk(d);let h=c[d],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const E=d==="y"?"height":"width",b=i.reference[d]-i.floating[E]+w.mainAxis,S=i.reference[d]+i.reference[E]-w.mainAxis;h<b?h=b:h>S&&(h=S)}if(u){var y,g,x,_;const E=d==="y"?"width":"height",b=["top","left"].includes(ka(o)),S=i.reference[p]-i.floating[E]+(b&&(y=(g=a.offset)==null?void 0:g[p])!=null?y:0)+(b?0:w.crossAxis),C=i.reference[p]+i.reference[E]+(b?0:(x=(_=a.offset)==null?void 0:_[p])!=null?x:0)-(b?w.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[d]:h,[p]:v}}}};function ck(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function wr(e){if(e==null)return window;if(!ck(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Tl(e){return wr(e).getComputedStyle(e)}function pr(e){return ck(e)?"":e?(e.nodeName||"").toLowerCase():""}function dk(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Bn(e){return e instanceof wr(e).HTMLElement}function co(e){return e instanceof wr(e).Element}function yW(e){return e instanceof wr(e).Node}function z1(e){if(typeof ShadowRoot>"u")return!1;const t=wr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Wf(e){const{overflow:t,overflowX:n,overflowY:r}=Tl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function xW(e){return["table","td","th"].includes(pr(e))}function fk(e){const t=/firefox/i.test(dk()),n=Tl(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function pk(){return!/^((?!chrome|android).)*safari/i.test(dk())}const KE=Math.min,Ss=Math.max,ud=Math.round;function hr(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Bn(e)&&(l=e.offsetWidth>0&&ud(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&ud(s.height)/e.offsetHeight||1);const c=co(e)?wr(e):window,d=!pk()&&n,p=(s.left+(d&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(d&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function wo(e){return((yW(e)?e.ownerDocument:e.document)||window.document).documentElement}function qf(e){return co(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function hk(e){return hr(wo(e)).left+qf(e).scrollLeft}function wW(e){const t=hr(e);return ud(t.width)!==e.offsetWidth||ud(t.height)!==e.offsetHeight}function _W(e,t,n){const r=Bn(t),o=wo(t),i=hr(e,r&&wW(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((pr(t)!=="body"||Wf(o))&&(a=qf(t)),Bn(t)){const l=hr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=hk(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function mk(e){return pr(e)==="html"?e:e.assignedSlot||e.parentNode||(z1(e)?e.host:null)||wo(e)}function XE(e){return!Bn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function EW(e){let t=mk(e);for(z1(t)&&(t=t.host);Bn(t)&&!["html","body"].includes(pr(t));){if(fk(t))return t;t=t.parentNode}return null}function Vv(e){const t=wr(e);let n=XE(e);for(;n&&xW(n)&&getComputedStyle(n).position==="static";)n=XE(n);return n&&(pr(n)==="html"||pr(n)==="body"&&getComputedStyle(n).position==="static"&&!fk(n))?t:n||EW(e)||t}function ZE(e){if(Bn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=hr(e);return{width:t.width,height:t.height}}function bW(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Bn(n),i=wo(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((pr(n)!=="body"||Wf(i))&&(a=qf(n)),Bn(n))){const l=hr(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function SW(e,t){const n=wr(e),r=wo(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=pk();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function CW(e){var t;const n=wo(e),r=qf(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Ss(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ss(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+hk(e);const l=-r.scrollTop;return Tl(o||n).direction==="rtl"&&(s+=Ss(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function vk(e){const t=mk(e);return["html","body","#document"].includes(pr(t))?e.ownerDocument.body:Bn(t)&&Wf(t)?t:vk(t)}function cd(e,t){var n;t===void 0&&(t=[]);const r=vk(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=wr(r),a=o?[i].concat(i.visualViewport||[],Wf(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(cd(a))}function AW(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&z1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function $W(e,t){const n=hr(e,!1,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function QE(e,t,n){return t==="viewport"?ad(SW(e,n)):co(t)?$W(t,n):ad(CW(wo(e)))}function TW(e){const t=cd(e),n=["absolute","fixed"].includes(Tl(e).position)&&Bn(e)?Vv(e):e;return co(n)?t.filter(r=>co(r)&&AW(r,n)&&pr(r)!=="body"):[]}function kW(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?TW(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=QE(t,u,o);return l.top=Ss(c.top,l.top),l.right=KE(c.right,l.right),l.bottom=KE(c.bottom,l.bottom),l.left=Ss(c.left,l.left),l},QE(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const PW={getClippingRect:kW,convertOffsetParentRelativeRectToViewportRelativeRect:bW,isElement:co,getDimensions:ZE,getOffsetParent:Vv,getDocumentElement:wo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:_W(t,Vv(n),r),floating:{...ZE(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Tl(e).direction==="rtl"};function RW(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,u=i&&!s,c=l||u?[...co(e)?cd(e):[],...cd(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let d=null;if(a){let m=!0;d=new ResizeObserver(()=>{m||n(),m=!1}),co(e)&&!s&&d.observe(e),d.observe(t)}let p,h=s?hr(e):null;s&&v();function v(){const m=hr(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&n(),h=m,p=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(w=>{l&&w.removeEventListener("scroll",n),u&&w.removeEventListener("resize",n)}),(m=d)==null||m.disconnect(),d=null,s&&cancelAnimationFrame(p)}}const OW=(e,t,n)=>rW(e,t,{platform:PW,...n});var Bv=typeof document<"u"?f.exports.useLayoutEffect:f.exports.useEffect;function Hv(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,o;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(!Hv(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Hv(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function LW(e){const t=f.exports.useRef(e);return Bv(()=>{t.current=e}),t}function MW(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=f.exports.useRef(null),a=f.exports.useRef(null),s=LW(o),l=f.exports.useRef(null),[u,c]=f.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[d,p]=f.exports.useState(t);Hv(d==null?void 0:d.map(x=>{let{options:_}=x;return _}),t==null?void 0:t.map(x=>{let{options:_}=x;return _}))||p(t);const h=f.exports.useCallback(()=>{!i.current||!a.current||OW(i.current,a.current,{middleware:d,placement:n,strategy:r}).then(x=>{v.current&&Pt.exports.flushSync(()=>{c(x)})})},[d,n,r]);Bv(()=>{v.current&&h()},[h]);const v=f.exports.useRef(!1);Bv(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=f.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),w=f.exports.useCallback(x=>{i.current=x,m()},[m]),y=f.exports.useCallback(x=>{a.current=x,m()},[m]),g=f.exports.useMemo(()=>({reference:i,floating:a}),[]);return f.exports.useMemo(()=>({...u,update:h,refs:g,reference:w,floating:y}),[u,h,g,w,y])}const NW=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?GE({element:t.current,padding:n}).fn(o):{}:t?GE({element:t,padding:n}).fn(o):{}}}},DW=f.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return f.exports.createElement(Ze.svg,le({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),FW=DW,gk="Popper",[V1,yk]=Ta(gk),[bee,xk]=V1(gk),IW="PopperAnchor",jW=f.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=xk(IW,n),a=f.exports.useRef(null),s=qe(t,a);return f.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:f.exports.createElement(Ze.div,le({},o,{ref:s}))}),dd="PopperContent",[zW,VW]=V1(dd),[BW,HW]=V1(dd,{hasParent:!1,positionUpdateFns:new Set}),UW=f.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:w=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:x=!1,avoidCollisions:_=!0,...E}=e,b=xk(dd,c),[S,C]=f.exports.useState(null),$=qe(t,me=>C(me)),[k,D]=f.exports.useState(null),F=F1(k),G=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,H=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,te=d+(h!=="center"?"-"+h:""),ue=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ie=Array.isArray(w)?w:[w],V=ie.length>0,X={padding:ue,boundary:ie.filter(KW),altBoundary:V},{reference:R,floating:Y,strategy:L,x:P,y:T,placement:M,middlewareData:A,update:K}=MW({strategy:"fixed",placement:te,whileElementsMounted:RW,middleware:[mW({mainAxis:p+H,alignmentAxis:v}),_?vW({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?gW():void 0,...X}):void 0,k?NW({element:k,padding:m}):void 0,_?fW({...X}):void 0,XW({arrowWidth:G,arrowHeight:H}),x?pW({strategy:"referenceHidden"}):void 0].filter(qW)});fr(()=>{R(b.anchor)},[R,b.anchor]);const z=P!==null&&T!==null,[ce,ae]=wk(M),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,ne=(i=A.arrow)===null||i===void 0?void 0:i.y,Se=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Pe,se]=f.exports.useState();fr(()=>{S&&se(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Re,positionUpdateFns:ee}=HW(dd,c),pe=!Re;f.exports.useLayoutEffect(()=>{if(!pe)return ee.add(K),()=>{ee.delete(K)}},[pe,ee,K]),f.exports.useLayoutEffect(()=>{pe&&z&&Array.from(ee).reverse().forEach(me=>requestAnimationFrame(me))},[pe,z,ee]);const Ue={"data-side":ce,"data-align":ae,...E,ref:$,style:{...E.style,animation:z?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return f.exports.createElement("div",{ref:Y,"data-radix-popper-content-wrapper":"",style:{position:L,left:0,top:0,transform:z?`translate3d(${Math.round(P)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Pe,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},f.exports.createElement(zW,{scope:c,placedSide:ce,onArrowChange:D,arrowX:fe,arrowY:ne,shouldHideArrow:Se},pe?f.exports.createElement(BW,{scope:c,hasParent:!0,positionUpdateFns:ee},f.exports.createElement(Ze.div,Ue)):f.exports.createElement(Ze.div,Ue)))}),GW="PopperArrow",YW={top:"bottom",right:"left",bottom:"top",left:"right"},WW=f.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=VW(GW,n),i=YW[o.placedSide];return f.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},f.exports.createElement(FW,le({},r,{ref:t,style:{...r.style,display:"block"}})))});function qW(e){return e!==void 0}function KW(e){return e!==null}const XW=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=wk(s),m={start:"0%",center:"50%",end:"100%"}[v],w=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+d/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let g="",x="";return h==="bottom"?(g=c?m:`${w}px`,x=`${-p}px`):h==="top"?(g=c?m:`${w}px`,x=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,x=c?m:`${y}px`):h==="left"&&(g=`${l.floating.width+p}px`,x=c?m:`${y}px`),{data:{x:g,y:x}}}});function wk(e){const[t,n="center"]=e.split("-");return[t,n]}const ZW=jW,QW=UW,JW=WW,eq=f.exports.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?DS.createPortal(f.exports.createElement(Ze.div,le({},o,{ref:t})),r):null});function tq(e,t){return f.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const _k=e=>{const{present:t,children:n}=e,r=nq(t),o=typeof n=="function"?n({present:r.isPresent}):f.exports.Children.only(n),i=qe(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.exports.cloneElement(o,{ref:i}):null};_k.displayName="Presence";function nq(e){const[t,n]=f.exports.useState(),r=f.exports.useRef({}),o=f.exports.useRef(e),i=f.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=tq(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.exports.useEffect(()=>{const u=wu(r.current);i.current=s==="mounted"?u:"none"},[s]),fr(()=>{const u=r.current,c=o.current;if(c!==e){const d=i.current,p=wu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),fr(()=>{if(t){const u=d=>{const p=wu(r.current).includes(d.animationName);d.target===t&&p&&Pt.exports.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(i.current=wu(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function wu(e){return(e==null?void 0:e.animationName)||"none"}var rq=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ui=new WeakMap,_u=new WeakMap,Eu={},bh=0,oq=function(e,t,n,r){var o=Array.isArray(e)?e:[e];Eu[n]||(Eu[n]=new WeakMap);var i=Eu[n],a=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(ui.get(p)||0)+1,w=(i.get(p)||0)+1;ui.set(p,m),i.set(p,w),a.push(p),m===1&&v&&_u.set(p,!0),w===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),bh++,function(){a.forEach(function(d){var p=ui.get(d)-1,h=i.get(d)-1;ui.set(d,p),i.set(d,h),p||(_u.has(d)||d.removeAttribute(r),_u.delete(d)),h||d.removeAttribute(n)}),bh--,bh||(ui=new WeakMap,ui=new WeakMap,_u=new WeakMap,Eu={})}},Ek=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||rq(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),oq(r,o,n,"aria-hidden")):function(){return null}},On=function(){return On=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},On.apply(this,arguments)};function bk(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function iq(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;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 ec="right-scroll-bar-position",tc="width-before-scroll-bar",aq="with-scroll-bars-hidden",sq="--removed-body-scroll-bar-size";function lq(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function uq(e,t){var n=f.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function cq(e,t){return uq(t||null,function(n){return e.forEach(function(r){return lq(r,n)})})}function dq(e){return e}function fq(e,t){t===void 0&&(t=dq);var n=[],r=!1,o={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 a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function pq(e){e===void 0&&(e={});var t=fq(null);return t.options=On({async:!0,ssr:!1},e),t}var Sk=function(e){var t=e.sideCar,n=bk(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 st(r,{...On({},n)})};Sk.isSideCarExport=!0;function hq(e,t){return e.useMedium(t),Sk}var Ck=pq(),Sh=function(){},Kf=f.exports.forwardRef(function(e,t){var n=f.exports.useRef(null),r=f.exports.useState({onScrollCapture:Sh,onWheelCapture:Sh,onTouchMoveCapture:Sh}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,w=e.as,y=w===void 0?"div":w,g=bk(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,_=cq([n,t]),E=On(On({},g),o);return O1(R1,{children:[c&&st(x,{sideCar:Ck,removeScrollBar:u,shards:d,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?f.exports.cloneElement(f.exports.Children.only(s),On(On({},E),{ref:_})):st(y,{...On({},E,{className:l,ref:_}),children:s})]})});Kf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Kf.classNames={fullWidth:tc,zeroRight:ec};var mq=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function vq(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mq();return t&&e.setAttribute("nonce",t),e}function gq(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function yq(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var xq=function(){var e=0,t=null;return{add:function(n){e==0&&(t=vq())&&(gq(t,n),yq(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},wq=function(){var e=xq();return function(t,n){f.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ak=function(){var e=wq(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},_q={left:0,top:0,right:0,gap:0},Ch=function(e){return parseInt(e||"",10)||0},Eq=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ch(n),Ch(r),Ch(o)]},bq=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _q;var t=Eq(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])}},Sq=Ak(),Cq=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
762
|
-
.`.concat(aq,` {
|
|
763
|
-
overflow: hidden `).concat(r,`;
|
|
764
|
-
padding-right: `).concat(s,"px ").concat(r,`;
|
|
765
|
-
}
|
|
766
|
-
body {
|
|
767
|
-
overflow: hidden `).concat(r,`;
|
|
768
|
-
overscroll-behavior: contain;
|
|
769
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
770
|
-
padding-left: `.concat(o,`px;
|
|
771
|
-
padding-top: `).concat(i,`px;
|
|
772
|
-
padding-right: `).concat(a,`px;
|
|
773
|
-
margin-left:0;
|
|
774
|
-
margin-top:0;
|
|
775
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
776
|
-
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
.`).concat(ec,` {
|
|
780
|
-
right: `).concat(s,"px ").concat(r,`;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
.`).concat(tc,` {
|
|
784
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.`).concat(ec," .").concat(ec,` {
|
|
788
|
-
right: 0 `).concat(r,`;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
.`).concat(tc," .").concat(tc,` {
|
|
792
|
-
margin-right: 0 `).concat(r,`;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
body {
|
|
796
|
-
`).concat(sq,": ").concat(s,`px;
|
|
797
|
-
}
|
|
798
|
-
`)},Aq=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=f.exports.useMemo(function(){return bq(o)},[o]);return st(Sq,{styles:Cq(i,!t,o,n?"":"!important")})},Uv=!1;if(typeof window<"u")try{var bu=Object.defineProperty({},"passive",{get:function(){return Uv=!0,!0}});window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch(e){Uv=!1}var ci=Uv?{passive:!1}:!1,$q=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},Tq=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},JE=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=$k(e,n);if(r){var o=Tk(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},kq=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Pq=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},$k=function(e,t){return e==="v"?$q(t):Tq(t)},Tk=function(e,t){return e==="v"?kq(t):Pq(t)},Rq=function(e,t){return e==="h"&&t==="rtl"?-1:1},Oq=function(e,t,n,r,o){var i=Rq(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,p=0;do{var h=Tk(e,s),v=h[0],m=h[1],w=h[2],y=m-w-i*v;(v||y)&&$k(e,s)&&(d+=y,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&a>d)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Su=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},eb=function(e){return[e.deltaX,e.deltaY]},tb=function(e){return e&&"current"in e?e.current:e},Lq=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Mq=function(e){return`
|
|
799
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
800
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
801
|
-
`)},Nq=0,di=[];function Dq(e){var t=f.exports.useRef([]),n=f.exports.useRef([0,0]),r=f.exports.useRef(),o=f.exports.useState(Nq++)[0],i=f.exports.useState(function(){return Ak()})[0],a=f.exports.useRef(e);f.exports.useEffect(function(){a.current=e},[e]),f.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=iq([e.lockRef.current],(e.shards||[]).map(tb),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.exports.useCallback(function(m,w){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var y=Su(m),g=n.current,x="deltaX"in m?m.deltaX:g[0]-y[0],_="deltaY"in m?m.deltaY:g[1]-y[1],E,b=m.target,S=Math.abs(x)>Math.abs(_)?"h":"v";if("touches"in m&&S==="h"&&b.type==="range")return!1;var C=JE(S,b);if(!C)return!0;if(C?E=S:(E=S==="v"?"h":"v",C=JE(S,b)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||_)&&(r.current=E),!E)return!0;var $=r.current||E;return Oq($,w,m,$==="h"?x:_,!0)},[]),l=f.exports.useCallback(function(m){var w=m;if(!(!di.length||di[di.length-1]!==i)){var y="deltaY"in w?eb(w):Su(w),g=t.current.filter(function(E){return E.name===w.type&&E.target===w.target&&Lq(E.delta,y)})[0];if(g&&g.should){w.preventDefault();return}if(!g){var x=(a.current.shards||[]).map(tb).filter(Boolean).filter(function(E){return E.contains(w.target)}),_=x.length>0?s(w,x[0]):!a.current.noIsolation;_&&w.preventDefault()}}},[]),u=f.exports.useCallback(function(m,w,y,g){var x={name:m,delta:w,target:y,should:g};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(_){return _!==x})},1)},[]),c=f.exports.useCallback(function(m){n.current=Su(m),r.current=void 0},[]),d=f.exports.useCallback(function(m){u(m.type,eb(m),m.target,s(m,e.lockRef.current))},[]),p=f.exports.useCallback(function(m){u(m.type,Su(m),m.target,s(m,e.lockRef.current))},[]);f.exports.useEffect(function(){return di.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ci),document.addEventListener("touchmove",l,ci),document.addEventListener("touchstart",c,ci),function(){di=di.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,ci),document.removeEventListener("touchmove",l,ci),document.removeEventListener("touchstart",c,ci)}},[]);var h=e.removeScrollBar,v=e.inert;return O1(R1,{children:[v?st(i,{styles:Mq(o)}):null,h?st(Aq,{gapMode:"margin"}):null]})}const Fq=hq(Ck,Dq);var kk=f.exports.forwardRef(function(e,t){return st(Kf,{...On({},e,{ref:t,sideCar:Fq})})});kk.classNames=Kf.classNames;const Pk=kk,Rk="Popover",[Ok,See]=Ta(Rk,[yk]),B1=yk(),[Cee,kl]=Ok(Rk),Iq="PopoverTrigger",jq=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=kl(Iq,n),i=B1(n),a=qe(t,o.triggerRef),s=f.exports.createElement(Ze.button,le({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Mk(o.open)},r,{ref:a,onClick:je(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.exports.createElement(ZW,le({asChild:!0},i),s)}),zq="PopoverPortal",[Aee,Vq]=Ok(zq,{forceMount:void 0}),sl="PopoverContent",Bq=f.exports.forwardRef((e,t)=>{const n=Vq(sl,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=kl(sl,e.__scopePopover);return f.exports.createElement(_k,{present:r||i.open},i.modal?f.exports.createElement(Hq,le({},o,{ref:t})):f.exports.createElement(Uq,le({},o,{ref:t})))}),Hq=f.exports.forwardRef((e,t)=>{const n=kl(sl,e.__scopePopover),r=f.exports.useRef(null),o=qe(t,r),i=f.exports.useRef(!1);return f.exports.useEffect(()=>{const a=r.current;if(a)return Ek(a)},[]),f.exports.createElement(Pk,{as:fa,allowPinchZoom:!0},f.exports.createElement(Lk,le({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:je(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:je(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:je(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Uq=f.exports.forwardRef((e,t)=>{const n=kl(sl,e.__scopePopover),r=f.exports.useRef(!1);return f.exports.createElement(Lk,le({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;!((a=n.triggerRef.current)===null||a===void 0)&&a.contains(s)&&o.preventDefault()}}))}),Lk=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=kl(sl,n),h=B1(n);return ik(),f.exports.createElement(ak,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},f.exports.createElement(rk,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.exports.createElement(QW,le({"data-state":Mk(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),Gq=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=B1(n);return f.exports.createElement(JW,le({},o,r,{ref:t}))});function Mk(e){return e?"open":"closed"}const Yq=jq,Wq=Bq,qq=Gq;j(Yq)`
|
|
802
|
-
background: none;
|
|
803
|
-
border: none;
|
|
804
|
-
padding: 0;
|
|
805
|
-
`;j(Wq)`
|
|
806
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
807
|
-
box-shadow: ${O["--ll-shadow-small"]};
|
|
808
|
-
padding: ${O["--ll-spacing-medium"]};
|
|
809
|
-
`;j(qq)`
|
|
810
|
-
fill: ${O["--ll-color-background"]};
|
|
811
|
-
`;const Ah={primary:{background:O["--ll-color-primary"],onBackground:O["--ll-color-on-primary"],hover:O["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:O["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:O["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},nb={small:24,medium:32,large:48};j.button`
|
|
812
|
-
${({color:e="primary",size:t="medium"})=>ye`
|
|
813
|
-
border: none;
|
|
814
|
-
background-color: ${Ah[e].background};
|
|
815
|
-
color: ${Ah[e].onBackground};
|
|
816
|
-
border-radius: 50%;
|
|
817
|
-
height: ${nb[t]}px;
|
|
818
|
-
width: ${nb[t]}px;
|
|
819
|
-
display: flex;
|
|
820
|
-
justify-content: center;
|
|
821
|
-
align-items: center;
|
|
822
|
-
padding: 6px;
|
|
823
|
-
|
|
824
|
-
&:hover {
|
|
825
|
-
background-color: ${Ah[e].hover};
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
&:disabled {
|
|
829
|
-
cursor: default;
|
|
830
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
831
|
-
color: ${O["--ll-color-on-background-variant1"]};
|
|
832
|
-
}
|
|
833
|
-
`};
|
|
834
|
-
`;function Kq({height:e,width:t}){return ye`
|
|
835
|
-
height: ${e};
|
|
836
|
-
width: ${t};
|
|
837
|
-
`}const Xq=df`
|
|
838
|
-
from {
|
|
839
|
-
background-position: -800px 0;
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
to {
|
|
843
|
-
background-position: 800px 0;
|
|
844
|
-
}
|
|
845
|
-
`;j.div`
|
|
846
|
-
border-radius: ${O["--ll-border-radius-medium"]};
|
|
847
|
-
animation: ${Xq} 2s linear infinite;
|
|
848
|
-
background: linear-gradient(
|
|
849
|
-
to right,
|
|
850
|
-
/* NOTE: 99.9% of the time we should use colours from theme, since these are
|
|
851
|
-
CSS vars that can be overriden. */
|
|
852
|
-
${O["--ll-color-surface-variant1"]} 4%,
|
|
853
|
-
${O["--ll-color-surface-variant2"]} 25%,
|
|
854
|
-
${O["--ll-color-surface-variant1"]} 36%
|
|
855
|
-
);
|
|
856
|
-
background-size: 800px 100%;
|
|
857
|
-
${Kq}
|
|
858
|
-
`;j.div`
|
|
859
|
-
flex: 1;
|
|
860
|
-
height: 100%;
|
|
861
|
-
width: 100%;
|
|
862
|
-
display: flex;
|
|
863
|
-
align-items: center;
|
|
864
|
-
justify-content: center;
|
|
865
|
-
`;j.div`
|
|
866
|
-
display: flex;
|
|
867
|
-
flex-direction: column;
|
|
868
|
-
align-items: center;
|
|
869
|
-
`;const Zq=f.exports.forwardRef((e,t)=>f.exports.createElement(Ze.span,le({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),Qq=[" ","Enter","ArrowUp","ArrowDown"],Jq=[" ","Enter"],Xf="Select",[H1,Nk,eK]=q5(Xf),[Pl,$ee]=Ta(Xf,[eK]),[Tee,Zf]=Pl(Xf);Pl(Xf);const tK="SelectTrigger",nK=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=Zf(tK,n),s=qe(t,a.onTriggerChange),l=Nk(n),u=U5(a.trigger),c=o||u,[d,p,h]=Ik(m=>{const w=l().filter(x=>!x.disabled),y=w.find(x=>x.value===a.value),g=jk(w,m,y);g!==void 0&&a.onValueChange(g.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return f.exports.createElement(Ze.button,le({type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-autocomplete":"none","aria-labelledby":c,dir:a.dir,"data-state":a.open?"open":"closed",disabled:r,"data-disabled":r?"":void 0,"data-placeholder":a.value===void 0?"":void 0},i,{ref:s,onPointerDown:je(i.onPointerDown,m=>{m.target.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&(v(),a.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)},m.preventDefault())}),onKeyDown:je(i.onKeyDown,m=>{const w=d.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(w&&m.key===" ")&&Qq.includes(m.key)&&(v(),m.preventDefault())})}))}),rK=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return f.exports.createElement(Ze.span,le({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),oK=e=>f.exports.createElement(eq,le({asChild:!0},e)),U1="SelectContent",iK=f.exports.forwardRef((e,t)=>{const n=Zf(U1,e.__scopeSelect),[r,o]=f.exports.useState();return fr(()=>{o(new DocumentFragment)},[]),f.exports.createElement(f.exports.Fragment,null,n.open?f.exports.createElement(aK,le({},e,{ref:t})):r?Pt.exports.createPortal(f.exports.createElement(Dk,{scope:e.__scopeSelect},f.exports.createElement(H1.Slot,{scope:e.__scopeSelect},f.exports.createElement("div",null,e.children))),r):null)}),kr=10,[Dk,Fk]=Pl(U1),aK=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=Zf(U1,n),[a,s]=f.exports.useState(null),[l,u]=f.exports.useState(null),[c,d]=f.exports.useState(null),p=qe(t,R=>u(R)),[h,v]=f.exports.useState(null),[m,w]=f.exports.useState(null),y=Nk(n),[g,x]=f.exports.useState(!1),_=f.exports.useRef(!0),E=f.exports.useRef(!1),b=f.exports.useRef(!1);f.exports.useEffect(()=>{if(l)return Ek(l)},[l]),ik();const[S,C]=f.exports.useState();fr(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const $=f.exports.useCallback(R=>{const[Y,...L]=y().map(M=>M.ref.current),[P]=L.slice(-1),T=document.activeElement;for(const M of R)if(M===T||(M==null||M.scrollIntoView({block:"nearest"}),M===Y&&c&&(c.scrollTop=0),M===P&&c&&(c.scrollTop=c.scrollHeight),M==null||M.focus(),document.activeElement!==T))return},[y,c]),k=f.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const R=i.trigger.getBoundingClientRect(),Y=l.getBoundingClientRect(),L=i.valueNode.getBoundingClientRect(),P=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ce=P.left-Y.left,Q=L.left-Ce,ve=R.left-Q,Je=R.width+ve,un=Math.max(Je,Y.width),ht=window.innerWidth-kr,Eo=Fv(Q,[kr,ht-un]);a.style.minWidth=Je+"px",a.style.left=Eo+"px"}else{const Ce=Y.right-P.right,Q=window.innerWidth-L.right-Ce,ve=window.innerWidth-R.right-Q,Je=R.width+ve,un=Math.max(Je,Y.width),ht=window.innerWidth-kr,Eo=Fv(Q,[kr,ht-un]);a.style.minWidth=Je+"px",a.style.right=Eo+"px"}const T=y(),M=window.innerHeight-kr*2,A=c.scrollHeight,K=window.getComputedStyle(l),z=parseInt(K.borderTopWidth,10),ce=parseInt(K.paddingTop,10),ae=parseInt(K.borderBottomWidth,10),fe=parseInt(K.paddingBottom,10),ne=z+ce+A+fe+ae,Se=Math.min(h.offsetHeight*5,ne),Pe=window.getComputedStyle(c),se=parseInt(Pe.paddingTop,10),Re=parseInt(Pe.paddingBottom,10),ee=R.top+R.height/2-kr,pe=M-ee,Ue=h.offsetHeight/2,me=h.offsetTop+Ue,Ot=z+ce+me,Yn=ne-Ot;if(Ot<=ee){const Ce=h===T[T.length-1].ref.current;a.style.bottom="0px";const Q=l.clientHeight-c.offsetTop-c.offsetHeight,ve=Math.max(pe,Ue+(Ce?Re:0)+Q+ae),Je=Ot+ve;a.style.height=Je+"px"}else{const Ce=h===T[0].ref.current;a.style.top="0px";const Q=Math.max(ee,z+c.offsetTop+(Ce?se:0)+Ue)+Yn;a.style.height=Q+"px",c.scrollTop=Ot-ee+c.offsetTop}a.style.margin=`${kr}px 0`,a.style.minHeight=Se+"px",a.style.maxHeight=M+"px",x(!0),requestAnimationFrame(()=>E.current=!0)}},[y,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);fr(()=>k(),[k]);const D=f.exports.useCallback(()=>$([h,l]),[$,h,l]);f.exports.useEffect(()=>{g&&D()},[g,D]);const F=f.exports.useCallback(R=>{R&&_.current===!0&&(k(),D(),_.current=!1)},[k,D]),{onOpenChange:G,triggerPointerDownPosRef:H}=i;f.exports.useEffect(()=>{if(l){let R={x:0,y:0};const Y=P=>{var T,M,A,K;R={x:Math.abs(Math.round(P.pageX)-((T=(M=H.current)===null||M===void 0?void 0:M.x)!==null&&T!==void 0?T:0)),y:Math.abs(Math.round(P.pageY)-((A=(K=H.current)===null||K===void 0?void 0:K.y)!==null&&A!==void 0?A:0))}},L=P=>{R.x<=10&&R.y<=10?P.preventDefault():l.contains(P.target)||G(!1),document.removeEventListener("pointermove",Y),H.current=null};return H.current!==null&&(document.addEventListener("pointermove",Y),document.addEventListener("pointerup",L,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Y),document.removeEventListener("pointerup",L,{capture:!0})}}},[l,G,H]),f.exports.useEffect(()=>{const R=()=>G(!1);return window.addEventListener("blur",R),window.addEventListener("resize",R),()=>{window.removeEventListener("blur",R),window.removeEventListener("resize",R)}},[G]);const[te,ue]=Ik(R=>{const Y=y().filter(T=>!T.disabled),L=Y.find(T=>T.ref.current===document.activeElement),P=jk(Y,R,L);P&&setTimeout(()=>P.ref.current.focus())}),ie=f.exports.useCallback((R,Y,L)=>{const P=!b.current&&!L;(i.value!==void 0&&i.value===Y||P)&&(v(R),P&&(b.current=!0))},[i.value]),V=f.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),X=f.exports.useCallback((R,Y,L)=>{const P=!b.current&&!L;(i.value!==void 0&&i.value===Y||P)&&w(R)},[i.value]);return f.exports.createElement(Dk,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:d,itemRefCallback:ie,selectedItem:h,onItemLeave:V,itemTextRefCallback:X,selectedItemText:m,onScrollButtonChange:F,isPositioned:g,shouldExpandOnScrollRef:E,searchRef:te},f.exports.createElement(Pk,{as:fa,allowPinchZoom:!0},f.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},f.exports.createElement(ak,{asChild:!0,trapped:i.open,onMountAutoFocus:R=>{R.preventDefault()},onUnmountAutoFocus:je(r,R=>{var Y;(Y=i.trigger)===null||Y===void 0||Y.focus({preventScroll:!0}),R.preventDefault()})},f.exports.createElement(rk,le({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:R=>R.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:R=>R.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:je(o.onKeyDown,R=>{const Y=R.ctrlKey||R.altKey||R.metaKey;if(R.key==="Tab"&&R.preventDefault(),!Y&&R.key.length===1&&ue(R.key),["ArrowUp","ArrowDown","Home","End"].includes(R.key)){let L=y().filter(P=>!P.disabled).map(P=>P.ref.current);if(["ArrowUp","End"].includes(R.key)&&(L=L.slice().reverse()),["ArrowUp","ArrowDown"].includes(R.key)){const P=R.target,T=L.indexOf(P);L=L.slice(T+1)}setTimeout(()=>$(L)),R.preventDefault()}})}))))))}),sK="SelectViewport",lK=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Fk(sK,n),i=qe(t,o.onViewportChange),a=f.exports.useRef(0);return f.exports.createElement(f.exports.Fragment,null,f.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),f.exports.createElement(H1.Slot,{scope:n},f.exports.createElement(Ze.div,le({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:je(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const d=Math.abs(a.current-l.scrollTop);if(d>0){const p=window.innerHeight-kr*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<p){const w=m+d,y=Math.min(p,w),g=w-y;u.style.height=y+"px",u.style.bottom==="0px"&&(l.scrollTop=g>0?g:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),uK="SelectGroup";Pl(uK);const Gv="SelectItem",[cK,dK]=Pl(Gv),fK=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=Zf(Gv,n),l=Fk(Gv,n),u=s.value===r,[c,d]=f.exports.useState(i!=null?i:""),[p,h]=f.exports.useState(!1),v=qe(t,y=>{var g;return(g=l.itemRefCallback)===null||g===void 0?void 0:g.call(l,y,r,o)}),m=H5(),w=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return f.exports.createElement(cK,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:f.exports.useCallback(y=>{d(g=>{var x;return g||((x=y==null?void 0:y.textContent)!==null&&x!==void 0?x:"").trim()})},[])},f.exports.createElement(H1.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},f.exports.createElement(Ze.div,le({role:"option","aria-labelledby":m,"data-highlighted":p?"":void 0,"aria-selected":u&&p,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1},a,{ref:v,onFocus:je(a.onFocus,()=>h(!0)),onBlur:je(a.onBlur,()=>h(!1)),onPointerUp:je(a.onPointerUp,w),onPointerMove:je(a.onPointerMove,y=>{if(o){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}else y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:je(a.onPointerLeave,y=>{if(y.currentTarget===document.activeElement){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}}),onKeyDown:je(a.onKeyDown,y=>{var g;((g=l.searchRef)===null||g===void 0?void 0:g.current)!==""&&y.key===" "||(Jq.includes(y.key)&&w(),y.key===" "&&y.preventDefault())})}))))}),pK="SelectItemIndicator",hK=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return dK(pK,n).isSelected?f.exports.createElement(Ze.span,le({"aria-hidden":!0},r,{ref:t})):null}),mK=f.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=f.exports.useRef(null),i=qe(t,o),a=D1(n);return f.exports.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const c=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(c)}},[a,n]),f.exports.createElement(Zq,{asChild:!0},f.exports.createElement("select",le({},r,{ref:i,defaultValue:n})))});mK.displayName="BubbleSelect";function Ik(e){const t=uo(e),n=f.exports.useRef(""),r=f.exports.useRef(0),o=f.exports.useCallback(a=>{const s=n.current+a;t(s),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=f.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function jk(e,t,n){const r=t.length>1&&Array.from(t).every(s=>s===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=vK(e,Math.max(o,0));r.length===1&&(i=i.filter(s=>s!==n));const a=i.find(s=>s.textValue.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function vK(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const gK=nK,yK=oK,xK=iK,wK=lK,_K=fK,EK=hK;j(gK)`
|
|
870
|
-
display: inline-flex;
|
|
871
|
-
align-items: center;
|
|
872
|
-
justify-content: space-between;
|
|
873
|
-
background-color: ${O["--ll-color-background"]};
|
|
874
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
875
|
-
border: 1px solid ${O["--ll-color-border"]};
|
|
876
|
-
color: ${O["--ll-color-on-background-variant1"]};
|
|
877
|
-
padding: ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-x-small"]}
|
|
878
|
-
${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-small"]};
|
|
879
|
-
flex: 1;
|
|
880
|
-
height: ${({size:e})=>e==="medium"?"32px":"40px"};
|
|
881
|
-
font-size: ${({size:e})=>e==="medium"?O["--ll-font-size-p"]:O["--ll-font-size-h6"]};
|
|
882
|
-
`;j(rK)`
|
|
883
|
-
margin-left: ${O["--ll-spacing-x-small"]};
|
|
884
|
-
`;j(xK)`
|
|
885
|
-
overflow: hidden;
|
|
886
|
-
background-color: ${O["--ll-color-background"]};
|
|
887
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
888
|
-
box-shadow: ${O["--ll-shadow-medium"]};
|
|
889
|
-
min-width: 120px;
|
|
890
|
-
z-index: 2;
|
|
891
|
-
font-size: ${({size:e})=>e==="medium"?O["--ll-font-size-p"]:O["--ll-font-size-h6"]};
|
|
892
|
-
`;j(_K)`
|
|
893
|
-
font-family: ${O["--ll-font-family"]};
|
|
894
|
-
font-size: inherit;
|
|
895
|
-
padding: ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-x-large"]}
|
|
896
|
-
${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-large"]};
|
|
897
|
-
outline: none;
|
|
898
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
899
|
-
position: relative;
|
|
900
|
-
color: ${O["--ll-color-on-surface-variant1"]};
|
|
901
|
-
cursor: default;
|
|
902
|
-
|
|
903
|
-
&[data-highlighted] {
|
|
904
|
-
background-color: ${O["--ll-color-primary"]};
|
|
905
|
-
color: ${O["--ll-color-on-primary"]};
|
|
906
|
-
}
|
|
907
|
-
`;j(EK)`
|
|
908
|
-
position: absolute;
|
|
909
|
-
left: 0;
|
|
910
|
-
height: 100%;
|
|
911
|
-
left: 0;
|
|
912
|
-
bottom: 0;
|
|
913
|
-
width: ${O["--ll-spacing-large"]};
|
|
914
|
-
display: inline-flex;
|
|
915
|
-
align-items: center;
|
|
916
|
-
justify-content: center;
|
|
917
|
-
`;j(wK)`
|
|
918
|
-
font-size: inherit;
|
|
919
|
-
padding: ${O["--ll-spacing-base-unit"]};
|
|
920
|
-
`;j(yK)`
|
|
921
|
-
z-index: 1;
|
|
922
|
-
`;const zk=J.createContext({}),bK=()=>f.exports.useContext(zk),SK=({client:e,options:t,children:n})=>{var r,o;return q(zk.Provider,{value:{client:e,options:t},children:q(UM,{target:document.head,children:Ye(Sn,{children:[q(EG,{themeName:(r=t==null?void 0:t.appearance)==null?void 0:r.theme,overrides:(o=t==null?void 0:t.appearance)==null?void 0:o.variables}),n]})})})},Vk=J.createContext({}),Rl=()=>f.exports.useContext(Vk),$h=(e,t=!1)=>{if(!e)return null;const n=parseFloat(e)*2;return t?Math.round(n):Math.round(n*10)/10},G1=({scoresData:e,score:t,round:n=!1})=>{const r=f.exports.useMemo(()=>{var d,p;const h=(p=(d=e==null?void 0:e.location)==null?void 0:d[t])==null?void 0:p.value;return $h(h,n)},[e,t,n]),o=f.exports.useMemo(()=>{var d,p;return(p=(d=e==null?void 0:e.location)==null?void 0:d[t])==null?void 0:p.text},[e,t]),i=f.exports.useMemo(()=>{var d;return(d=e==null?void 0:e.geographies)==null?void 0:d.find(p=>p.geog_level_type==="municipality")},[e]),a=f.exports.useMemo(()=>{var d;return(d=e==null?void 0:e.geographies)==null?void 0:d.find(p=>p.geog_level_type==="macro neighbourhood")},[e]),s=f.exports.useMemo(()=>{var d;const p=(d=i==null?void 0:i.scores[t])==null?void 0:d.value;return $h(p,n)},[i,t,n]),l=f.exports.useMemo(()=>{var d;const p=(d=a==null?void 0:a.scores[t])==null?void 0:d.value;return $h(p,n)},[a,t,n]),u=f.exports.useMemo(()=>i==null?void 0:i.name,[i]),c=f.exports.useMemo(()=>a==null?void 0:a.name,[a]);return{textVal:o,scoreVal:r,cityName:u,cityScoreVal:s,neighbourhoodName:c,neighbourhoodScoreVal:l}},CK=e=>e==="small"?ye`
|
|
923
|
-
height: 16px;
|
|
924
|
-
padding: 0 ${O["--ll-spacing-xx-small"]};
|
|
925
|
-
font-size: ${O["--ll-font-size-caption-2"]};
|
|
926
|
-
`:ye`
|
|
927
|
-
height: 32px;
|
|
928
|
-
width: 32px;
|
|
929
|
-
font-size: ${O["--ll-font-size-p"]};
|
|
930
|
-
`,AK=j.div`
|
|
931
|
-
position: relative;
|
|
932
|
-
background: ${({isPrimary:e})=>e?O["--ll-color-primary"]:O["--ll-color-disabled"]};
|
|
933
|
-
color: ${O["--ll-color-on-primary"]};
|
|
934
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
935
|
-
display: flex;
|
|
936
|
-
justify-content: center;
|
|
937
|
-
align-items: center;
|
|
938
|
-
line-height: 1;
|
|
939
|
-
font-family: ${O["--ll-font-family"]};
|
|
940
|
-
overflow: hidden;
|
|
941
|
-
transition: background 160ms ease;
|
|
942
|
-
${({variant:e})=>CK(e)};
|
|
943
|
-
|
|
944
|
-
&:after {
|
|
945
|
-
content: "";
|
|
946
|
-
position: absolute;
|
|
947
|
-
top: 0;
|
|
948
|
-
bottom: 0;
|
|
949
|
-
right: 0;
|
|
950
|
-
left: 0;
|
|
951
|
-
background: linear-gradient(
|
|
952
|
-
180deg,
|
|
953
|
-
rgba(255, 255, 255, 0.2) 0%,
|
|
954
|
-
rgba(0, 0, 0, 0.1) 100%
|
|
955
|
-
);
|
|
956
|
-
}
|
|
957
|
-
`,$K=j.div`
|
|
958
|
-
z-index: 1;
|
|
959
|
-
`,TK=({options:{variant:e="large",isPrimary:t=!0}={}})=>{const{options:{scoresData:n,score:r}}=Rl(),{scoreVal:o}=G1({scoresData:n,score:r});return o==null?null:q(AK,{"data-testid":"score-badge",variant:e,isPrimary:t,children:q($K,{children:o})})},Th=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function Yv(e,...t){if(!t.length)return e;const n=t.shift();return Th(e)&&Th(n)&&Object.keys(n).forEach(r=>{Th(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Yv(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),Yv(e,...t)}const _r=e=>{const{client:t}=bK(),{locale:n="en"}=t.options,r=f.exports.useMemo(()=>Yv({},...e)[n],[n,e]);return{locale:n,translations:r}},Bk={en:{cafes:"Cafes",car_friendly:"Driving",cycling_friendly:"Cycling",daycares:"Day care",greenery:"Greenery",groceries:"Grocery",high_schools:"High schools",historic:"Historic",nightlife:"Night life",parks:"Parks",pedestrian_friendly:"Walking",primary_schools:"Primary schools",quiet:"Quiet",restaurants:"Restaurants",shopping:"Shopping",transit_friendly:"Transit",vibrant:"Vibrancy",wellness:"Wellness"},fr:{cafes:"Caf\xE9s",car_friendly:"Voiture",cycling_friendly:"V\xE9lo",daycares:"Garderies",greenery:"Verdure",groceries:"\xC9piceries",high_schools:"\xC9coles secondaires",historic:"Historique",nightlife:"Vie nocturne",parks:"Parcs",pedestrian_friendly:"Marche",primary_schools:"\xC9coles primaires",quiet:"Silencieux",restaurants:"Restaurants",shopping:"Magasins",transit_friendly:"Transport public",vibrant:"Dynamisme",wellness:"Bien-\xEAtre"}},Hk={en:{"cafes-description":"A measure of the quantity of nearby coffee shops.","car_friendly-description":"Represents how well traffic flows, and how easy it is to park.","cycling_friendly-description":"Represents how suitable the area is for cycling in terms of nearby bicycle infrastructure and calm streets, as well as the number of destinations that can be reached by bicycle.","daycares-description":"Represents the distance to the nearest daycare.","greenery-description":"Quantity of nearby green spaces and tree canopy coverage.","groceries-description":"A measure of the quantity of nearby grocery stores.","high_schools-description":"Represents the distance to nearest high school.","historic-description":"A measure of the quantity and size of heritage buildings, and the average building age in the area.","nightlife-description":"Represents the quantity of bars nearby.","parks-description":"A measure of the quantity and size of nearby parks.","pedestrian_friendly-description":"A measure of how many basic services can be reached on foot and how pleasant it is to walk to them.","primary_schools-description":"A measure of the distance to the nearest elementary school.","quiet-description":"A measure of the average levels of noise nearby.","restaurants-description":"Represents the quantity of restaurants nearby.","shopping-description":"A measure of the quantity of fashion and department stores nearby.","transit_friendly-description":"A measure of the frequency and level of public transit service.","vibrant-description":"Represents the level of street activity nearby.","wellness-description":"Represents how conducive a location is to individuals' well-being."},fr:{"cafes-description":"Une mesure de la quantit\xE9 et de la diversit\xE9 des caf\xE9s \xE0 proximit\xE9.","car_friendly-description":"Repr\xE9sente la fluidit\xE9 de la circulation et la facilit\xE9 de stationnement.","cycling_friendly-description":"Repr\xE9sente \xE0 quel point la zone est adapt\xE9e au cyclisme en termes d'infrastructure cyclable \xE0 proximit\xE9 et de rues calmes, ainsi que le nombre de destinations pouvant \xEAtre atteintes \xE0 v\xE9lo.","daycares-description":"Repr\xE9sente la distance \xE0 la garderie la plus proche.","greenery-description":"Quantit\xE9 d'espaces verts \xE0 proximit\xE9 et couverture de la canop\xE9e des arbres.","groceries-description":"Une mesure de la quantit\xE9 d'\xE9piceries \xE0 proximit\xE9.","high_schools-description":"Repr\xE9sente la distance \xE0 l'\xE9cole secondaire la plus proche.","historic-description":"Une mesure de la quantit\xE9 et de la taille des b\xE2timents patrimoniaux, et de l'\xE2ge moyen des b\xE2timents dans la r\xE9gion.","nightlife-description":"Repr\xE9sente la quantit\xE9 et la diversit\xE9 des bars \xE0 proximit\xE9.","parks-description":"Une mesure de la quantit\xE9 et de la taille des parcs \xE0 proximit\xE9.","pedestrian_friendly-description":"Une mesure de la proximit\xE9 des services de base et de l'agr\xE9ment d'y aller \xE0 pied.","primary_schools-description":"Une mesure de la distance \xE0 l'\xE9cole primaire la plus proche.","quiet-description":"Une mesure des niveaux moyens de bruit \xE0 proximit\xE9.","restaurants-description":"Repr\xE9sente la quantit\xE9 et la diversit\xE9 des restaurants \xE0 proximit\xE9.","shopping-description":"Une mesure de la quantit\xE9 et de la diversit\xE9 de magasins de mode et de grands magasins \xE0 proximit\xE9.","transit_friendly-description":"Une mesure de la fr\xE9quence et du niveau de service de transport en commun.","vibrant-description":"Repr\xE9sente le niveau d'activit\xE9 de la rue \xE0 proximit\xE9.","wellness-description":"Repr\xE9sente \xE0 quel point un emplacement est propice au bien-\xEAtre des individus."}},Uk=e=>{var t;const{options:{score:n}}=Rl(),{translations:r}=_r([Hk,Bk]);return(t=e.options)!=null&&t.isRawText?q(Sn,{children:r[n]}):q(_t,{...e.options,children:r[n]})};Uk.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};const Gk=e=>lt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M12 2C7.58 2 4 2.5 4 6V16C4 16.88 4.39 17.67 5 18.22V20C5 20.55 5.45 21 6 21H7C7.55 21 8 20.55 8 20V19H16V20C16 20.55 16.45 21 17 21H18C18.55 21 19 20.55 19 20V18.22C19.61 17.67 20 16.88 20 16V6C20 2.5 16.42 2 12 2ZM17.66 4.99H6.34C6.89 4.46 8.31 4 12 4C15.69 4 17.11 4.46 17.66 4.99ZM18 6.99V10H6V6.99H18ZM17.66 16.73L17.37 17H6.63L6.34 16.73C6.21 16.62 6 16.37 6 16V12H18V16C18 16.37 17.79 16.62 17.66 16.73Z"}),N("path",{d:"M8.5 16C9.32843 16 10 15.3284 10 14.5C10 13.6716 9.32843 13 8.5 13C7.67157 13 7 13.6716 7 14.5C7 15.3284 7.67157 16 8.5 16Z"}),N("path",{d:"M15.5 16C16.3284 16 17 15.3284 17 14.5C17 13.6716 16.3284 13 15.5 13C14.6716 13 14 13.6716 14 14.5C14 15.3284 14.6716 16 15.5 16Z"})]}),kK=e=>lt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M18.92 6.01C18.72 5.42 18.16 5 17.5 5H6.5C5.84 5 5.29 5.42 5.08 6.01L3 12V20C3 20.55 3.45 21 4 21H5C5.55 21 6 20.55 6 20V19H18V20C18 20.55 18.45 21 19 21H20C20.55 21 21 20.55 21 20V12L18.92 6.01ZM6.85 7H17.14L18.22 10.11H5.77L6.85 7ZM19 17H5V12H19V17Z"}),N("path",{d:"M7.5 16C8.32843 16 9 15.3284 9 14.5C9 13.6716 8.32843 13 7.5 13C6.67157 13 6 13.6716 6 14.5C6 15.3284 6.67157 16 7.5 16Z"}),N("path",{d:"M16.5 16C17.3284 16 18 15.3284 18 14.5C18 13.6716 17.3284 13 16.5 13C15.6716 13 15 13.6716 15 14.5C15 15.3284 15.6716 16 16.5 16Z"})]}),PK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M13.5 5.5C14.6 5.5 15.5 4.6 15.5 3.5C15.5 2.4 14.6 1.5 13.5 1.5C12.4 1.5 11.5 2.4 11.5 3.5C11.5 4.6 12.4 5.5 13.5 5.5ZM9.8 8.9L7 23H9.1L10.9 15L13 17V23H15V15.5L12.9 13.5L13.5 10.5C14.8 12 16.8 13 19 13V11C17.1 11 15.5 10 14.7 8.6L13.7 7C13.14 6.11 12.02 5.75 11.05 6.16L6 8.3V13H8V9.6L9.8 8.9Z"})}),RK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M15.5 5.5C16.6 5.5 17.5 4.6 17.5 3.5C17.5 2.4 16.6 1.5 15.5 1.5C14.4 1.5 13.5 2.4 13.5 3.5C13.5 4.6 14.4 5.5 15.5 5.5ZM5 12C2.2 12 0 14.2 0 17C0 19.8 2.2 22 5 22C7.8 22 10 19.8 10 17C10 14.2 7.8 12 5 12ZM5 20.5C3.1 20.5 1.5 18.9 1.5 17C1.5 15.1 3.1 13.5 5 13.5C6.9 13.5 8.5 15.1 8.5 17C8.5 18.9 6.9 20.5 5 20.5ZM10.8 10.5L13.2 8.1L14 8.9C15.3 10.2 17 11 19.1 11V9C17.6 9 16.4 8.4 15.5 7.5L13.6 5.6C13.1 5.2 12.6 5 12 5C11.4 5 10.9 5.2 10.6 5.6L7.8 8.4C7.4 8.8 7.2 9.3 7.2 9.8C7.2 10.4 7.4 10.9 7.8 11.2L11 14V19H13V12.8L10.8 10.5ZM19 12C16.2 12 14 14.2 14 17C14 19.8 16.2 22 19 22C21.8 22 24 19.8 24 17C24 14.2 21.8 12 19 12ZM19 20.5C17.1 20.5 15.5 18.9 15.5 17C15.5 15.1 17.1 13.5 19 13.5C20.9 13.5 22.5 15.1 22.5 17C22.5 18.9 20.9 20.5 19 20.5Z"})}),OK=e=>lt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M1.23 22.27L15.23 17.27L6.23 8.26998L1.23 22.27ZM11.58 16.45L4.53 18.97L7.05 11.92L11.58 16.45Z"}),N("path",{d:"M13.76 12.8L19.35 7.20998C19.84 6.71998 20.63 6.71998 21.12 7.20998L21.71 7.79998L22.77 6.73998L22.18 6.14998C21.11 5.07998 19.36 5.07998 18.29 6.14998L12.7 11.74L13.76 12.8Z"}),N("path",{d:"M9.29 7.14998L8.7 7.73998L9.76 8.79998L10.35 8.20998C11.42 7.13998 11.42 5.38998 10.35 4.31998L9.76 3.72998L8.7 4.79998L9.29 5.38998C9.77 5.86998 9.77 6.66998 9.29 7.14998Z"}),N("path",{d:"M16.29 12.15L14.7 13.74L15.76 14.8L17.35 13.21C17.84 12.72 18.63 12.72 19.12 13.21L20.73 14.82L21.79 13.76L20.18 12.15C19.1 11.08 17.36 11.08 16.29 12.15Z"}),N("path",{d:"M14.29 6.14998L10.7 9.73998L11.76 10.8L15.35 7.20998C16.42 6.13998 16.42 4.38998 15.35 3.31998L13.76 1.72998L12.7 2.78998L14.29 4.37998C14.77 4.86998 14.77 5.66998 14.29 6.14998Z"})]}),LK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M17 20.3899C16.71 20.3899 16.44 20.3299 16.24 20.2399C15.53 19.8699 15.03 19.3599 14.53 17.8599C14.02 16.2999 13.06 15.5699 12.14 14.8599C11.35 14.2499 10.53 13.6199 9.82 12.3299C9.29 11.3699 9 10.3199 9 9.38986C9 6.58986 11.2 4.38986 14 4.38986C16.8 4.38986 19 6.58986 19 9.38986H21C21 5.45986 17.93 2.38986 14 2.38986C10.07 2.38986 7 5.45986 7 9.38986C7 10.6499 7.38 12.0399 8.07 13.2899C8.98 14.9399 10.05 15.7699 10.92 16.4399C11.73 17.0599 12.31 17.5099 12.63 18.4899C13.23 20.3099 14 21.3299 15.36 22.0399C15.87 22.2699 16.43 22.3899 17 22.3899C19.21 22.3899 21 20.5999 21 18.3899H19C19 19.4899 18.1 20.3899 17 20.3899ZM7.64 3.02986L6.22 1.60986C4.23 3.59986 3 6.34986 3 9.38986C3 12.4299 4.23 15.1799 6.22 17.1699L7.63 15.7599C6.01 14.1299 5 11.8799 5 9.38986C5 6.89986 6.01 4.64986 7.64 3.02986ZM11.5 9.38986C11.5 10.7699 12.62 11.8899 14 11.8899C15.38 11.8899 16.5 10.7699 16.5 9.38986C16.5 8.00986 15.38 6.88986 14 6.88986C12.62 6.88986 11.5 8.00986 11.5 9.38986Z"})}),Yk=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M16 5V13C16 14.1 15.1 15 14 15H8C6.9 15 6 14.1 6 13V5H16ZM20 3H4V13C4 15.21 5.79 17 8 17H14C16.21 17 18 15.21 18 13V10H20C21.11 10 22 9.11 22 8V5C22 3.89 21.11 3 20 3ZM18 8V5H20V8H18ZM20 19H2V21H20V19Z"})}),Wk=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M19 6.5H17C17 3.74 14.76 1.5 12 1.5C9.24 1.5 7 3.74 7 6.5H5C3.9 6.5 3 7.4 3 8.5V20.5C3 21.6 3.9 22.5 5 22.5H19C20.1 22.5 21 21.6 21 20.5V8.5C21 7.4 20.1 6.5 19 6.5ZM12 3.5C13.66 3.5 15 4.84 15 6.5H9C9 4.84 10.34 3.5 12 3.5ZM19 20.5H5V8.5H19V20.5ZM12 12.5C10.34 12.5 9 11.16 9 9.5H7C7 12.26 9.24 14.5 12 14.5C14.76 14.5 17 12.26 17 9.5H15C15 11.16 13.66 12.5 12 12.5Z"})}),qk=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M1.5 4.5H15.5L9.5 13.5V17.5H11.5V19.5H5.5V17.5H7.5V13.5L1.5 4.5ZM10.6 8.5L12 6.5H4.99L6.39 8.5H10.6ZM17.5 4.5H22.5V7.5H19.5V16.5C19.5 18.16 18.16 19.5 16.5 19.5C14.84 19.5 13.5 18.16 13.5 16.5C13.5 14.84 14.84 13.5 16.5 13.5C16.85 13.5 17.19 13.56 17.5 13.67V4.5Z"})}),Kk=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M16 6V14H19V22H21V2C18.24 2 16 4.24 16 6ZM11 9H9V2H7V9H5V2H3V9C3 11.21 4.79 13 7 13V22H9V13C11.21 13 13 11.21 13 9V2H11V9Z"})}),Xk=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M22 9.49001H17.21L12.83 2.93001C12.64 2.65001 12.32 2.51001 12 2.51001C11.68 2.51001 11.36 2.65001 11.17 2.94001L6.79 9.49001H2C1.45 9.49001 1 9.94001 1 10.49C1 10.58 1.01 10.67 1.04 10.76L3.58 20.03C3.81 20.87 4.58 21.49 5.5 21.49H18.5C19.42 21.49 20.19 20.87 20.43 20.03L22.97 10.76L23 10.49C23 9.94001 22.55 9.49001 22 9.49001ZM12 5.29001L14.8 9.49001H9.2L12 5.29001ZM18.5 19.49L5.51 19.5L3.31 11.49H20.7L18.5 19.49ZM12 13.49C10.9 13.49 10 14.39 10 15.49C10 16.59 10.9 17.49 12 17.49C13.1 17.49 14 16.59 14 15.49C14 14.39 13.1 13.49 12 13.49Z"})}),MK=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12.915 16.035H12.885C16.375 15.635 19.085 12.675 19.085 9.08502C19.085 5.21502 15.955 2.08502 12.085 2.08502C8.21504 2.08502 5.08504 5.21502 5.08504 9.08502C5.08504 12.555 7.60504 15.425 10.915 15.975V19.915H4.91504V21.915H18.915V19.915H12.915V16.035ZM7.08504 9.08502C7.08504 6.32502 9.32504 4.08502 12.085 4.08502C14.845 4.08502 17.085 6.32502 17.085 9.08502C17.085 11.845 14.845 14.085 12.085 14.085C9.32504 14.085 7.08504 11.845 7.08504 9.08502Z"})}),Zk=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M24 18L20.14 12H22L15 2L12 6.29L9 2L2 12H3.86L0 18H7V22H11V18H13V22H17V18H24ZM15 5.49L18.16 10H16.48L20.34 16H16.72L14.15 12H16L13.22 8.03L15 5.49ZM3.66 16L7.52 10H5.84L9 5.49L12.16 10H10.48L14.34 16H3.66Z"})}),Qk=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M18 20C18 21.1 17.1 22 16 22C14.9 22 14 21.1 14 20C14 18.9 14.9 18 16 18C17.1 18 18 18.9 18 20ZM6 18C4.9 18 4 18.9 4 20C4 21.1 4.9 22 6 22C7.1 22 8 21.1 8 20C8 18.9 7.1 18 6 18ZM15 8.66L9.6 15H15V8.66ZM18.65 3C20.52 3 22 4.56 22 6.48V7H20V6.48C20 5.66 19.42 5 18.65 5C17.97 5 17.58 5.59 17 6.27V15C17 16.1 16.1 17 15 17H7.43C6.58 17 6.12 16 6.67 15.35L15.47 5.03C16.11 4.27 16.99 3 18.65 3ZM10 5C9.35 5 8.71 5.09 8.09 5.27L9.49 6.67L10.86 5.06C10.58 5.02 10.29 5 10 5ZM10 3C11.56 3 13.03 3.4 14.3 4.1L9.6 9.61L4.72 4.72C6.21 3.64 8.03 3 10 3Z"})}),Wv=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M15.49 9.63C15.31 6.84 14.18 4.12 12.06 2C9.92 4.14 8.74 6.86 8.51 9.63C9.79 10.31 10.97 11.19 12 12.26C13.03 11.2 14.21 10.32 15.49 9.63ZM12.05 5.19C12.68 6.22 13.12 7.37 13.35 8.57C12.88 8.87 12.44 9.2 12.01 9.55C11.59 9.21 11.14 8.88 10.68 8.58C10.93 7.38 11.39 6.23 12.05 5.19ZM12 15.45C11.18 14.2 10.14 13.11 8.94 12.25C8.81 12.16 8.67 12.09 8.54 11.99C8.67 12.08 8.81 12.16 8.93 12.24C6.98 10.83 4.59 10 2 10C2 15.32 5.36 19.82 10.03 21.49C10.66 21.72 11.32 21.89 12 22C12.68 21.88 13.33 21.71 13.97 21.49C18.64 19.82 22 15.32 22 10C17.82 10 14.15 12.17 12 15.45ZM13.32 19.6C12.88 19.75 12.44 19.87 11.99 19.97C11.55 19.88 11.12 19.76 10.71 19.61C7.42 18.43 5.01 15.62 4.26 12.26C5.36 12.52 6.41 12.97 7.38 13.59L7.36 13.6C7.49 13.69 7.62 13.78 7.75 13.85L7.82 13.89C8.81 14.61 9.66 15.5 10.33 16.54L12 19.1L13.67 16.55C14.36 15.5 15.22 14.6 16.2 13.89L16.27 13.84C16.36 13.79 16.45 13.73 16.54 13.67L16.53 13.65C17.51 13 18.6 12.52 19.74 12.25C18.99 15.62 16.59 18.43 13.32 19.6ZM8.99 12.28C8.97 12.27 8.95 12.25 8.94 12.24C8.94 12.24 8.95 12.24 8.95 12.25C8.96 12.26 8.97 12.27 8.99 12.28Z"})}),Y1=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 3L1 9L5 11.18V17.18L12 21L19 17.18V11.18L21 10.09V17H23V9L12 3ZM18.82 9L12 12.72L5.18 9L12 5.28L18.82 9ZM17 15.99L12 18.72L7 15.99V12.27L12 15L17 12.27V15.99Z"})}),Jk=e=>lt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M14.5 11.75C15.1904 11.75 15.75 11.1904 15.75 10.5C15.75 9.80964 15.1904 9.25 14.5 9.25C13.8096 9.25 13.25 9.80964 13.25 10.5C13.25 11.1904 13.8096 11.75 14.5 11.75Z"}),N("path",{d:"M9.5 11.75C10.1904 11.75 10.75 11.1904 10.75 10.5C10.75 9.80964 10.1904 9.25 9.5 9.25C8.80964 9.25 8.25 9.80964 8.25 10.5C8.25 11.1904 8.80964 11.75 9.5 11.75Z"}),N("path",{d:"M22.94 11.34C22.69 9.83 21.58 8.6 20.13 8.17C19.6 7.05 18.85 6.07 17.94 5.26C16.36 3.85 14.28 3 12 3C9.72 3 7.64 3.85 6.06 5.26C5.14 6.07 4.39 7.06 3.87 8.17C2.42 8.6 1.31 9.82 1.06 11.34C1.02 11.55 1 11.77 1 12C1 12.23 1.02 12.45 1.06 12.66C1.31 14.17 2.42 15.4 3.87 15.83C4.39 16.94 5.14 17.92 6.04 18.72C7.62 20.14 9.71 21 12 21C14.29 21 16.38 20.14 17.97 18.72C18.87 17.92 19.62 16.93 20.14 15.83C21.58 15.4 22.69 14.18 22.94 12.66C22.98 12.45 23 12.23 23 12C23 11.77 22.98 11.55 22.94 11.34ZM19 14C18.9 14 18.81 13.98 18.71 13.97C18.51 14.64 18.22 15.26 17.85 15.83C16.6 17.74 14.45 19 12 19C9.55 19 7.4 17.74 6.15 15.83C5.78 15.26 5.49 14.64 5.29 13.97C5.19 13.98 5.1 14 5 14C3.9 14 3 13.1 3 12C3 10.9 3.9 10 5 10C5.1 10 5.19 10.02 5.29 10.03C5.49 9.36 5.78 8.74 6.15 8.17C7.4 6.26 9.55 5 12 5C14.45 5 16.6 6.26 17.85 8.17C18.22 8.74 18.51 9.36 18.71 10.03C18.81 10.02 18.9 10 19 10C20.1 10 21 10.9 21 12C21 13.1 20.1 14 19 14ZM12 17C14.01 17 15.74 15.77 16.5 14H7.5C8.26 15.77 9.99 17 12 17Z"})]}),NK=e=>lt("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M17.5 7.5V9.16667H15.8334V2.5H14.1667V4.16667H12.5V2.5H10.8334V4.16667H9.16671V2.5H7.50004V4.16667H5.83337V2.5H4.16671V9.16667H2.50004V7.5H0.833374V17.5H8.33337V15C8.33337 14.0833 9.08337 13.3333 10 13.3333C10.9167 13.3333 11.6667 14.0833 11.6667 15V17.5H19.1667V7.5H17.5ZM17.5 15.8333H13.3334V15C13.3334 13.1583 11.8417 11.6667 10 11.6667C8.15837 11.6667 6.66671 13.1583 6.66671 15V15.8333H2.50004V10.8333H5.83337V5.83333H14.1667V10.8333H17.5V15.8333Z"}),N("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),N("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}),DK={pedestrian_friendly:PK,transit_friendly:Gk,cycling_friendly:RK,car_friendly:kK,groceries:Xk,restaurants:Kk,cafes:Yk,shopping:Wk,wellness:Wv,parks:MK,greenery:Zk,vibrant:OK,nightlife:qk,quiet:LK,historic:NK,high_schools:Y1,primary_schools:Jk,daycares:Qk},kee={pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants","healthy_restaurants"],cafes:["cafes"],shopping:["shopping"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:["nightlife"],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]},eP=({options:e})=>{const{options:{score:t}}=Rl();return q(xo,{SVGElement:DK[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};eP.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const FK={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},IK=()=>{const[e,t]=f.exports.useState(null),[n,r]=f.exports.useState(FK),o=f.exports.useMemo(()=>new window.ResizeObserver(i=>{if(i[0]){const{x:a,y:s,width:l,height:u,top:c,left:d,bottom:p,right:h}=i[0].contentRect;r({x:a,y:s,width:l,height:u,top:c,left:d,bottom:p,right:h})}}),[]);return f.exports.useLayoutEffect(()=>{if(e)return o.observe(e),()=>{o.disconnect()}},[e]),[t,n,e]},jK={en:{LOCATION:"This Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood",AVG:"Avg."},fr:{LOCATION:"Ce Lieu",CITY:"Ville",NEIGHBOURHOOD:"Quartier",AVG:"Moy."}},zK=j.div`
|
|
960
|
-
position: relative;
|
|
961
|
-
display: grid;
|
|
962
|
-
grid-template-columns: ${({isUsingIcons:e})=>e?"auto auto 1fr auto":"auto 1fr auto"};
|
|
963
|
-
align-items: center;
|
|
964
|
-
grid-column-gap: ${O["--ll-spacing-x-small"]};
|
|
965
|
-
width: 100%;
|
|
966
|
-
`,rb=j.div`
|
|
967
|
-
height: ${jt*2}px;
|
|
968
|
-
width: 100%;
|
|
969
|
-
border-radius: ${jt}px;
|
|
970
|
-
background-color: ${O["--ll-color-surface-variant1"]};
|
|
971
|
-
position: relative;
|
|
972
|
-
overflow: hidden;
|
|
973
|
-
`,ob=j(z5.div)`
|
|
974
|
-
position: absolute;
|
|
975
|
-
height: 100%;
|
|
976
|
-
border-radius: ${jt}px;
|
|
977
|
-
background: linear-gradient(
|
|
978
|
-
to right,
|
|
979
|
-
${O["--ll-color-primary-variant1"]},
|
|
980
|
-
${O["--ll-color-primary"]}
|
|
981
|
-
);
|
|
982
|
-
`;j.div`
|
|
983
|
-
position: absolute;
|
|
984
|
-
height: 100%;
|
|
985
|
-
top: 0;
|
|
986
|
-
left: ${({val:e})=>e*10}%;
|
|
987
|
-
transform: translateX(-1px);
|
|
988
|
-
border-right: ${({markerType:e})=>`4px ${e==="city"?"solid":"dotted"} ${O["--ll-color-on-background"]}`};
|
|
989
|
-
`;j.div`
|
|
990
|
-
position: absolute;
|
|
991
|
-
top: ${({position:e})=>e==="top"&&"-18px"};
|
|
992
|
-
bottom: ${({position:e})=>e==="bottom"&&"-18px"};
|
|
993
|
-
transform: translateX(calc(-50% + 2px));
|
|
994
|
-
left: 0;
|
|
995
|
-
`;const VK=j.div`
|
|
996
|
-
display: flex;
|
|
997
|
-
max-width: ${({maxWidth:e})=>e}px;
|
|
998
|
-
`,BK=j(_t)`
|
|
999
|
-
margin-right: 4px;
|
|
1000
|
-
`,HK=j.span`
|
|
1001
|
-
flex-shrink: 0;
|
|
1002
|
-
`,UK=({options:{locationIcon:e,cityIcon:t,neighbourhoodIcon:n}={}})=>{const{options:{scoresData:r,score:o}}=Rl(),{scoreVal:i,cityName:a,cityScoreVal:s,neighbourhoodName:l,neighbourhoodScoreVal:u}=G1({score:o,scoresData:r}),{translations:c}=_r([jK]),d=!!e||!!t||!!n,[p,h]=IK(),v=q("div",{}),m=w=>w?q(xo,{width:20,height:20,SVGElement:w,fill:O["--ll-color-on-background-variant1"]}):d?v:void 0;return i?q(Sn,{children:Ye(zK,{isUsingIcons:d,ref:p,children:[Ye(Sn,{children:[m(e),q(_t,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:c.LOCATION}),q(rb,{children:q(ob,{animate:{width:`${i/10*100}%`},transition:{delay:.3,...Nv.transitions.spring}})}),q(_t,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:i})]}),s&&Ye(Sn,{children:[m(t),Ye(VK,{maxWidth:h.width/2,children:[q(BK,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:a||c.CITY}),q(HK,{children:q(_t,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:c.AVG})})]}),q(rb,{children:q(ob,{animate:{width:`${s/10*100}%`},transition:{delay:.4,...Nv.transitions.spring}})}),q(_t,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:s})]})]})}):null};function ke(){return ke=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},ke.apply(this,arguments)}function Et(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function GK(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function tP(...e){return t=>e.forEach(n=>GK(n,t))}function Hn(...e){return f.exports.useCallback(tP(...e),e)}function Ol(e,t=[]){let n=[];function r(i,a){const s=f.exports.createContext(a),l=n.length;n=[...n,a];function u(d){const{scope:p,children:h,...v}=d,m=(p==null?void 0:p[e][l])||s,w=f.exports.useMemo(()=>v,Object.values(v));return f.exports.createElement(m.Provider,{value:w},h)}function c(d,p){const h=(p==null?void 0:p[e][l])||s,v=f.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>f.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return f.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,YK(o,...t)]}function YK(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return f.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const ll=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.exports.Children.toArray(n),i=o.find(qK);if(i){const a=i.props.children,s=o.map(l=>l===i?f.exports.Children.count(a)>1?f.exports.Children.only(null):f.exports.isValidElement(a)?a.props.children:null:l);return f.exports.createElement(qv,ke({},r,{ref:t}),f.exports.isValidElement(a)?f.exports.cloneElement(a,void 0,s):null)}return f.exports.createElement(qv,ke({},r,{ref:t}),n)});ll.displayName="Slot";const qv=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return f.exports.isValidElement(n)?f.exports.cloneElement(n,{...KK(r,n.props),ref:tP(t,n.ref)}):f.exports.Children.count(n)>1?f.exports.Children.only(null):null});qv.displayName="SlotClone";const WK=({children:e})=>f.exports.createElement(f.exports.Fragment,null,e);function qK(e){return f.exports.isValidElement(e)&&e.type===WK}function KK(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{i==null||i(...a),o==null||o(...a)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const XK=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Kt=XK.reduce((e,t)=>{const n=f.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?ll:t;return f.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.exports.createElement(s,ke({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ZK(e,t){e&&Pt.exports.flushSync(()=>e.dispatchEvent(t))}function fo(e){const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function QK(e){const t=fo(e);f.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const Kv="dismissableLayer.update",JK="dismissableLayer.pointerDownOutside",eX="dismissableLayer.focusOutside";let ib;const tX=f.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nX=f.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=f.exports.useContext(tX),[c,d]=f.exports.useState(null),[,p]=f.exports.useState({}),h=Hn(t,b=>d(b)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),w=v.indexOf(m),y=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,x=y>=w,_=rX(b=>{const S=b.target,C=[...u.branches].some($=>$.contains(S));!x||C||(o==null||o(b),a==null||a(b),b.defaultPrevented||s==null||s())}),E=oX(b=>{const S=b.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(b),a==null||a(b),b.defaultPrevented||s==null||s())});return QK(b=>{y===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))}),f.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(ib=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ab(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=ib)}},[c,n,u]),f.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ab())},[c,u]),f.exports.useEffect(()=>{const b=()=>p({});return document.addEventListener(Kv,b),()=>document.removeEventListener(Kv,b)},[]),f.exports.createElement(Kt.div,ke({},l,{ref:h,style:{pointerEvents:g?x?"auto":"none":void 0,...e.style},onFocusCapture:Et(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Et(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Et(e.onPointerDownCapture,_.onPointerDownCapture)}))});function rX(e){const t=fo(e),n=f.exports.useRef(!1),r=f.exports.useRef(()=>{});return f.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){nP(JK,t,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=s,document.addEventListener("click",r.current,{once:!0})):s()}n.current=!1},i=window.setTimeout(()=>{document.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),document.removeEventListener("pointerdown",o),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function oX(e){const t=fo(e),n=f.exports.useRef(!1);return f.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&nP(eX,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ab(){const e=new CustomEvent(Kv);document.dispatchEvent(e)}function nP(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ZK(o,i):o.dispatchEvent(i)}let kh=0;function iX(){f.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:sb()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:sb()),kh++,()=>{kh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),kh--}},[])}function sb(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Ph="focusScope.autoFocusOnMount",Rh="focusScope.autoFocusOnUnmount",lb={bubbles:!1,cancelable:!0},aX=f.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=f.exports.useState(null),u=fo(o),c=fo(i),d=f.exports.useRef(null),p=Hn(t,m=>l(m)),h=f.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.exports.useEffect(()=>{if(r){let m=function(y){if(h.paused||!s)return;const g=y.target;s.contains(g)?d.current=g:Ro(d.current,{select:!0})},w=function(y){h.paused||!s||s.contains(y.relatedTarget)||Ro(d.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",w),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w)}}},[r,s,h.paused]),f.exports.useEffect(()=>{if(s){cb.add(h);const m=document.activeElement;if(!s.contains(m)){const w=new CustomEvent(Ph,lb);s.addEventListener(Ph,u),s.dispatchEvent(w),w.defaultPrevented||(sX(fX(rP(s)),{select:!0}),document.activeElement===m&&Ro(s))}return()=>{s.removeEventListener(Ph,u),setTimeout(()=>{const w=new CustomEvent(Rh,lb);s.addEventListener(Rh,c),s.dispatchEvent(w),w.defaultPrevented||Ro(m!=null?m:document.body,{select:!0}),s.removeEventListener(Rh,c),cb.remove(h)},0)}}},[s,u,c,h]);const v=f.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(w&&y){const g=m.currentTarget,[x,_]=lX(g);x&&_?!m.shiftKey&&y===_?(m.preventDefault(),n&&Ro(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),n&&Ro(_,{select:!0})):y===g&&m.preventDefault()}},[n,r,h.paused]);return f.exports.createElement(Kt.div,ke({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function sX(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ro(r,{select:t}),document.activeElement!==n)return}function lX(e){const t=rP(e),n=ub(t,e),r=ub(t.reverse(),e);return[n,r]}function rP(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ub(e,t){for(const n of e)if(!uX(n,{upTo:t}))return n}function uX(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 cX(e){return e instanceof HTMLInputElement&&"select"in e}function Ro(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&cX(e)&&t&&e.select()}}const cb=dX();function dX(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=db(e,t),e.unshift(t)},remove(t){var n;e=db(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function db(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function fX(e){return e.filter(t=>t.tagName!=="A")}const pa=Boolean(globalThis==null?void 0:globalThis.document)?f.exports.useLayoutEffect:()=>{},pX=a0["useId".toString()]||(()=>{});let hX=0;function W1(e){const[t,n]=f.exports.useState(pX());return pa(()=>{e||n(r=>r!=null?r:String(hX++))},[e]),e||(t?`radix-${t}`:"")}function Ra(e){return e.split("-")[0]}function Qf(e){return e.split("-")[1]}function Oa(e){return["top","bottom"].includes(Ra(e))?"x":"y"}function q1(e){return e==="y"?"height":"width"}function fb(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,a=r.y+r.height/2-o.height/2,s=Oa(t),l=q1(s),u=r[l]/2-o[l]/2,c=Ra(t),d=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(Qf(t)){case"start":p[s]-=u*(n&&d?-1:1);break;case"end":p[s]+=u*(n&&d?-1:1);break}return p}const mX=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=fb(l,r,s),d=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:w}=i[v],{x:y,y:g,data:x,reset:_}=await w({x:u,y:c,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=y!=null?y:u,c=g!=null?g:c,p={...p,[m]:{...p[m],...x}},_&&h<=50){h++,typeof _=="object"&&(_.placement&&(d=_.placement),_.rects&&(l=_.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):_.rects),{x:u,y:c}=fb(l,d,s)),v=-1;continue}}return{x:u,y:c,placement:d,strategy:o,middlewareData:p}};function vX(e){return{top:0,right:0,bottom:0,left:0,...e}}function oP(e){return typeof e!="number"?vX(e):{top:e,right:e,bottom:e,left:e}}function fd(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function pd(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,v=oP(h),m=s[p?d==="floating"?"reference":"floating":d],w=fd(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=fd(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[d]);return{top:w.top-y.top+v.top,bottom:y.bottom-w.bottom+v.bottom,left:w.left-y.left+v.left,right:y.right-w.right+v.right}}const gX=Math.min,yX=Math.max;function Xv(e,t,n){return yX(e,gX(t,n))}const pb=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:o,y:i,placement:a,rects:s,platform:l}=t;if(n==null)return{};const u=oP(r),c={x:o,y:i},d=Oa(a),p=Qf(a),h=q1(d),v=await l.getDimensions(n),m=d==="y"?"top":"left",w=d==="y"?"bottom":"right",y=s.reference[h]+s.reference[d]-c[d]-s.floating[h],g=c[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let _=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;_===0&&(_=s.floating[h]);const E=y/2-g/2,b=u[m],S=_-v[h]-u[w],C=_/2-v[h]/2+E,$=Xv(b,C,S),k=(p==="start"?u[m]:u[w])>0&&C!==$&&s.reference[h]<=s.floating[h]?C<b?b-C:S-C:0;return{[d]:c[d]-k,data:{[d]:$,centerOffset:C-$}}}}),xX={left:"right",right:"left",bottom:"top",top:"bottom"};function hd(e){return e.replace(/left|right|bottom|top/g,t=>xX[t])}function wX(e,t,n){n===void 0&&(n=!1);const r=Qf(e),o=Oa(e),i=q1(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=hd(a)),{main:a,cross:hd(a)}}const _X={start:"end",end:"start"};function hb(e){return e.replace(/start|end/g,t=>_X[t])}const EX=["top","right","bottom","left"];function bX(e){const t=hd(e);return[hb(e),t,hb(t)]}const SX=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=Ra(r),w=d||(m===a||!h?[hd(a)]:bX(a)),y=[a,...w],g=await pd(t,v),x=[];let _=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(g[m]),c){const{main:C,cross:$}=wX(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(g[C],g[$])}if(_=[..._,{placement:r,overflows:x}],!x.every(C=>C<=0)){var E,b;const C=((E=(b=o.flip)==null?void 0:b.index)!=null?E:0)+1,$=y[C];if($)return{data:{index:C,overflows:_},reset:{placement:$}};let k="bottom";switch(p){case"bestFit":{var S;const D=(S=_.map(F=>[F,F.overflows.filter(G=>G>0).reduce((G,H)=>G+H,0)]).sort((F,G)=>F[1]-G[1])[0])==null?void 0:S[0].placement;D&&(k=D);break}case"initialPlacement":k=a;break}if(r!==k)return{reset:{placement:k}}}return{}}}};function mb(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function vb(e){return EX.some(t=>e[t]>=0)}const CX=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=await pd(r,{...n,elementContext:"reference"}),a=mb(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:vb(a)}}}case"escaped":{const i=await pd(r,{...n,altBoundary:!0}),a=mb(i,o.floating);return{data:{escapedOffsets:a,escaped:vb(a)}}}default:return{}}}}};async function AX(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Ra(n),s=Qf(n),l=Oa(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const $X=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await AX(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function iP(e){return e==="x"?"y":"x"}const TX=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:y,y:g}=w;return{x:y,y:g}}},...l}=e,u={x:n,y:r},c=await pd(t,l),d=Oa(Ra(o)),p=iP(d);let h=u[d],v=u[p];if(i){const w=d==="y"?"top":"left",y=d==="y"?"bottom":"right",g=h+c[w],x=h-c[y];h=Xv(g,h,x)}if(a){const w=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=v+c[w],x=v-c[y];v=Xv(g,v,x)}const m=s.fn({...t,[d]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},kX=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},d=Oa(o),p=iP(d);let h=c[d],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const E=d==="y"?"height":"width",b=i.reference[d]-i.floating[E]+w.mainAxis,S=i.reference[d]+i.reference[E]-w.mainAxis;h<b?h=b:h>S&&(h=S)}if(u){var y,g,x,_;const E=d==="y"?"width":"height",b=["top","left"].includes(Ra(o)),S=i.reference[p]-i.floating[E]+(b&&(y=(g=a.offset)==null?void 0:g[p])!=null?y:0)+(b?0:w.crossAxis),C=i.reference[p]+i.reference[E]+(b?0:(x=(_=a.offset)==null?void 0:_[p])!=null?x:0)-(b?w.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[d]:h,[p]:v}}}};function aP(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Er(e){if(e==null)return window;if(!aP(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ll(e){return Er(e).getComputedStyle(e)}function mr(e){return aP(e)?"":e?(e.nodeName||"").toLowerCase():""}function sP(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Un(e){return e instanceof Er(e).HTMLElement}function po(e){return e instanceof Er(e).Element}function PX(e){return e instanceof Er(e).Node}function K1(e){if(typeof ShadowRoot>"u")return!1;const t=Er(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jf(e){const{overflow:t,overflowX:n,overflowY:r}=Ll(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function RX(e){return["table","td","th"].includes(mr(e))}function lP(e){const t=/firefox/i.test(sP()),n=Ll(e);return n.transform!=="none"||n.perspective!=="none"||n.contain==="paint"||["transform","perspective"].includes(n.willChange)||t&&n.willChange==="filter"||t&&(n.filter?n.filter!=="none":!1)}function uP(){return!/^((?!chrome|android).)*safari/i.test(sP())}const gb=Math.min,Cs=Math.max,md=Math.round;function vr(e,t,n){var r,o,i,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect();let l=1,u=1;t&&Un(e)&&(l=e.offsetWidth>0&&md(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&md(s.height)/e.offsetHeight||1);const c=po(e)?Er(e):window,d=!uP()&&n,p=(s.left+(d&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(d&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function _o(e){return((PX(e)?e.ownerDocument:e.document)||window.document).documentElement}function ep(e){return po(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function cP(e){return vr(_o(e)).left+ep(e).scrollLeft}function OX(e){const t=vr(e);return md(t.width)!==e.offsetWidth||md(t.height)!==e.offsetHeight}function LX(e,t,n){const r=Un(t),o=_o(t),i=vr(e,r&&OX(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((mr(t)!=="body"||Jf(o))&&(a=ep(t)),Un(t)){const l=vr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=cP(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function dP(e){return mr(e)==="html"?e:e.assignedSlot||e.parentNode||(K1(e)?e.host:null)||_o(e)}function yb(e){return!Un(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function MX(e){let t=dP(e);for(K1(t)&&(t=t.host);Un(t)&&!["html","body"].includes(mr(t));){if(lP(t))return t;t=t.parentNode}return null}function Zv(e){const t=Er(e);let n=yb(e);for(;n&&RX(n)&&getComputedStyle(n).position==="static";)n=yb(n);return n&&(mr(n)==="html"||mr(n)==="body"&&getComputedStyle(n).position==="static"&&!lP(n))?t:n||MX(e)||t}function xb(e){if(Un(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=vr(e);return{width:t.width,height:t.height}}function NX(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Un(n),i=_o(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((mr(n)!=="body"||Jf(i))&&(a=ep(n)),Un(n))){const l=vr(n,!0);s.x=l.x+n.clientLeft,s.y=l.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}}function DX(e,t){const n=Er(e),r=_o(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=uP();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function FX(e){var t;const n=_o(e),r=ep(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Cs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Cs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+cP(e);const l=-r.scrollTop;return Ll(o||n).direction==="rtl"&&(s+=Cs(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function fP(e){const t=dP(e);return["html","body","#document"].includes(mr(t))?e.ownerDocument.body:Un(t)&&Jf(t)?t:fP(t)}function vd(e,t){var n;t===void 0&&(t=[]);const r=fP(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Er(r),a=o?[i].concat(i.visualViewport||[],Jf(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(vd(a))}function IX(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&K1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function jX(e,t){const n=vr(e,!1,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function wb(e,t,n){return t==="viewport"?fd(DX(e,n)):po(t)?jX(t,n):fd(FX(_o(e)))}function zX(e){const t=vd(e),n=["absolute","fixed"].includes(Ll(e).position)&&Un(e)?Zv(e):e;return po(n)?t.filter(r=>po(r)&&IX(r,n)&&mr(r)!=="body"):[]}function VX(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?zX(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=wb(t,u,o);return l.top=Cs(c.top,l.top),l.right=gb(c.right,l.right),l.bottom=gb(c.bottom,l.bottom),l.left=Cs(c.left,l.left),l},wb(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const BX={getClippingRect:VX,convertOffsetParentRelativeRectToViewportRelativeRect:NX,isElement:po,getDimensions:xb,getOffsetParent:Zv,getDocumentElement:_o,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:LX(t,Zv(n),r),floating:{...xb(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Ll(e).direction==="rtl"};function HX(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,u=i&&!s,c=l||u?[...po(e)?vd(e):[],...vd(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let d=null;if(a){let m=!0;d=new ResizeObserver(()=>{m||n(),m=!1}),po(e)&&!s&&d.observe(e),d.observe(t)}let p,h=s?vr(e):null;s&&v();function v(){const m=vr(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&n(),h=m,p=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(w=>{l&&w.removeEventListener("scroll",n),u&&w.removeEventListener("resize",n)}),(m=d)==null||m.disconnect(),d=null,s&&cancelAnimationFrame(p)}}const UX=(e,t,n)=>mX(e,t,{platform:BX,...n});var Qv=typeof document<"u"?f.exports.useLayoutEffect:f.exports.useEffect;function Jv(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,o;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(!Jv(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Jv(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function GX(e){const t=f.exports.useRef(e);return Qv(()=>{t.current=e}),t}function YX(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=f.exports.useRef(null),a=f.exports.useRef(null),s=GX(o),l=f.exports.useRef(null),[u,c]=f.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[d,p]=f.exports.useState(t);Jv(d==null?void 0:d.map(x=>{let{options:_}=x;return _}),t==null?void 0:t.map(x=>{let{options:_}=x;return _}))||p(t);const h=f.exports.useCallback(()=>{!i.current||!a.current||UX(i.current,a.current,{middleware:d,placement:n,strategy:r}).then(x=>{v.current&&Pt.exports.flushSync(()=>{c(x)})})},[d,n,r]);Qv(()=>{v.current&&h()},[h]);const v=f.exports.useRef(!1);Qv(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=f.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),w=f.exports.useCallback(x=>{i.current=x,m()},[m]),y=f.exports.useCallback(x=>{a.current=x,m()},[m]),g=f.exports.useMemo(()=>({reference:i,floating:a}),[]);return f.exports.useMemo(()=>({...u,update:h,refs:g,reference:w,floating:y}),[u,h,g,w,y])}const WX=e=>{const{element:t,padding:n}=e;function r(o){return Object.prototype.hasOwnProperty.call(o,"current")}return{name:"arrow",options:e,fn(o){return r(t)?t.current!=null?pb({element:t.current,padding:n}).fn(o):{}:t?pb({element:t,padding:n}).fn(o):{}}}},qX=f.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return f.exports.createElement(Kt.svg,ke({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),KX=qX;function XX(e){const[t,n]=f.exports.useState(void 0);return pa(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const pP="Popper",[X1,hP]=Ol(pP),[ZX,mP]=X1(pP),QX=e=>{const{__scopePopper:t,children:n}=e,[r,o]=f.exports.useState(null);return f.exports.createElement(ZX,{scope:t,anchor:r,onAnchorChange:o},n)},JX="PopperAnchor",eZ=f.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=mP(JX,n),a=f.exports.useRef(null),s=Hn(t,a);return f.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:f.exports.createElement(Kt.div,ke({},o,{ref:s}))}),gd="PopperContent",[tZ,nZ]=X1(gd),[rZ,oZ]=X1(gd,{hasParent:!1,positionUpdateFns:new Set}),iZ=f.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:w=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:x=!1,avoidCollisions:_=!0,...E}=e,b=mP(gd,c),[S,C]=f.exports.useState(null),$=Hn(t,me=>C(me)),[k,D]=f.exports.useState(null),F=XX(k),G=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,H=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,te=d+(h!=="center"?"-"+h:""),ue=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ie=Array.isArray(w)?w:[w],V=ie.length>0,X={padding:ue,boundary:ie.filter(cZ),altBoundary:V},{reference:R,floating:Y,strategy:L,x:P,y:T,placement:M,middlewareData:A,update:K}=YX({strategy:"fixed",placement:te,whileElementsMounted:HX,middleware:[$X({mainAxis:p+H,alignmentAxis:v}),_?TX({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?kX():void 0,...X}):void 0,k?WX({element:k,padding:m}):void 0,_?SX({...X}):void 0,dZ({arrowWidth:G,arrowHeight:H}),x?CX({strategy:"referenceHidden"}):void 0].filter(uZ)});pa(()=>{R(b.anchor)},[R,b.anchor]);const z=P!==null&&T!==null,[ce,ae]=vP(M),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,ne=(i=A.arrow)===null||i===void 0?void 0:i.y,Se=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Pe,se]=f.exports.useState();pa(()=>{S&&se(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Re,positionUpdateFns:ee}=oZ(gd,c),pe=!Re;f.exports.useLayoutEffect(()=>{if(!pe)return ee.add(K),()=>{ee.delete(K)}},[pe,ee,K]),f.exports.useLayoutEffect(()=>{pe&&z&&Array.from(ee).reverse().forEach(me=>requestAnimationFrame(me))},[pe,z,ee]);const Ue={"data-side":ce,"data-align":ae,...E,ref:$,style:{...E.style,animation:z?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return f.exports.createElement("div",{ref:Y,"data-radix-popper-content-wrapper":"",style:{position:L,left:0,top:0,transform:z?`translate3d(${Math.round(P)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Pe,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},f.exports.createElement(tZ,{scope:c,placedSide:ce,onArrowChange:D,arrowX:fe,arrowY:ne,shouldHideArrow:Se},pe?f.exports.createElement(rZ,{scope:c,hasParent:!0,positionUpdateFns:ee},f.exports.createElement(Kt.div,Ue)):f.exports.createElement(Kt.div,Ue)))}),aZ="PopperArrow",sZ={top:"bottom",right:"left",bottom:"top",left:"right"},lZ=f.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=nZ(aZ,n),i=sZ[o.placedSide];return f.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},f.exports.createElement(KX,ke({},r,{ref:t,style:{...r.style,display:"block"}})))});function uZ(e){return e!==void 0}function cZ(e){return e!==null}const dZ=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=vP(s),m={start:"0%",center:"50%",end:"100%"}[v],w=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+d/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let g="",x="";return h==="bottom"?(g=c?m:`${w}px`,x=`${-p}px`):h==="top"?(g=c?m:`${w}px`,x=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,x=c?m:`${y}px`):h==="left"&&(g=`${l.floating.width+p}px`,x=c?m:`${y}px`),{data:{x:g,y:x}}}});function vP(e){const[t,n="center"]=e.split("-");return[t,n]}const fZ=QX,pZ=eZ,hZ=iZ,mZ=lZ;function vZ(e,t){return f.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const Z1=e=>{const{present:t,children:n}=e,r=gZ(t),o=typeof n=="function"?n({present:r.isPresent}):f.exports.Children.only(n),i=Hn(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.exports.cloneElement(o,{ref:i}):null};Z1.displayName="Presence";function gZ(e){const[t,n]=f.exports.useState(),r=f.exports.useRef({}),o=f.exports.useRef(e),i=f.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=vZ(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.exports.useEffect(()=>{const u=Cu(r.current);i.current=s==="mounted"?u:"none"},[s]),pa(()=>{const u=r.current,c=o.current;if(c!==e){const d=i.current,p=Cu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),pa(()=>{if(t){const u=d=>{const p=Cu(r.current).includes(d.animationName);d.target===t&&p&&Pt.exports.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(i.current=Cu(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Cu(e){return(e==null?void 0:e.animationName)||"none"}function Q1({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=yZ({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=fo(n),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function yZ({defaultProp:e,onChange:t}){const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=fo(t);return f.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var xZ=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fi=new WeakMap,Au=new WeakMap,$u={},Oh=0,wZ=function(e,t,n,r){var o=Array.isArray(e)?e:[e];$u[n]||($u[n]=new WeakMap);var i=$u[n],a=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(fi.get(p)||0)+1,w=(i.get(p)||0)+1;fi.set(p,m),i.set(p,w),a.push(p),m===1&&v&&Au.set(p,!0),w===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),Oh++,function(){a.forEach(function(d){var p=fi.get(d)-1,h=i.get(d)-1;fi.set(d,p),i.set(d,h),p||(Au.has(d)||d.removeAttribute(r),Au.delete(d)),h||d.removeAttribute(n)}),Oh--,Oh||(fi=new WeakMap,fi=new WeakMap,Au=new WeakMap,$u={})}},_Z=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||xZ(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),wZ(r,o,n,"aria-hidden")):function(){return null}},Ln=function(){return Ln=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ln.apply(this,arguments)};function gP(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function EZ(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;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 nc="right-scroll-bar-position",rc="width-before-scroll-bar",bZ="with-scroll-bars-hidden",SZ="--removed-body-scroll-bar-size";function CZ(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function AZ(e,t){var n=f.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function $Z(e,t){return AZ(t||null,function(n){return e.forEach(function(r){return CZ(r,n)})})}function TZ(e){return e}function kZ(e,t){t===void 0&&(t=TZ);var n=[],r=!1,o={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 a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var c=a;a=[],c.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),n}}}};return o}function PZ(e){e===void 0&&(e={});var t=kZ(null);return t.options=Ln({async:!0,ssr:!1},e),t}var yP=function(e){var t=e.sideCar,n=gP(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 q(r,{...Ln({},n)})};yP.isSideCarExport=!0;function RZ(e,t){return e.useMedium(t),yP}var xP=PZ(),Lh=function(){},tp=f.exports.forwardRef(function(e,t){var n=f.exports.useRef(null),r=f.exports.useState({onScrollCapture:Lh,onWheelCapture:Lh,onTouchMoveCapture:Lh}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,w=e.as,y=w===void 0?"div":w,g=gP(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,_=$Z([n,t]),E=Ln(Ln({},g),o);return Ye(Sn,{children:[c&&q(x,{sideCar:xP,removeScrollBar:u,shards:d,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?f.exports.cloneElement(f.exports.Children.only(s),Ln(Ln({},E),{ref:_})):q(y,{...Ln({},E,{className:l,ref:_}),children:s})]})});tp.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};tp.classNames={fullWidth:rc,zeroRight:nc};var OZ=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function LZ(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=OZ();return t&&e.setAttribute("nonce",t),e}function MZ(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function NZ(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var DZ=function(){var e=0,t=null;return{add:function(n){e==0&&(t=LZ())&&(MZ(t,n),NZ(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},FZ=function(){var e=DZ();return function(t,n){f.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},wP=function(){var e=FZ(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},IZ={left:0,top:0,right:0,gap:0},Mh=function(e){return parseInt(e||"",10)||0},jZ=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Mh(n),Mh(r),Mh(o)]},zZ=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return IZ;var t=jZ(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])}},VZ=wP(),BZ=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
1003
|
-
.`.concat(bZ,` {
|
|
1004
|
-
overflow: hidden `).concat(r,`;
|
|
1005
|
-
padding-right: `).concat(s,"px ").concat(r,`;
|
|
1006
|
-
}
|
|
1007
|
-
body {
|
|
1008
|
-
overflow: hidden `).concat(r,`;
|
|
1009
|
-
overscroll-behavior: contain;
|
|
1010
|
-
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
1011
|
-
padding-left: `.concat(o,`px;
|
|
1012
|
-
padding-top: `).concat(i,`px;
|
|
1013
|
-
padding-right: `).concat(a,`px;
|
|
1014
|
-
margin-left:0;
|
|
1015
|
-
margin-top:0;
|
|
1016
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
1017
|
-
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
.`).concat(nc,` {
|
|
1021
|
-
right: `).concat(s,"px ").concat(r,`;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
.`).concat(rc,` {
|
|
1025
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
.`).concat(nc," .").concat(nc,` {
|
|
1029
|
-
right: 0 `).concat(r,`;
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
.`).concat(rc," .").concat(rc,` {
|
|
1033
|
-
margin-right: 0 `).concat(r,`;
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
body {
|
|
1037
|
-
`).concat(SZ,": ").concat(s,`px;
|
|
1038
|
-
}
|
|
1039
|
-
`)},HZ=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=f.exports.useMemo(function(){return zZ(o)},[o]);return q(VZ,{styles:BZ(i,!t,o,n?"":"!important")})},e0=!1;if(typeof window<"u")try{var Tu=Object.defineProperty({},"passive",{get:function(){return e0=!0,!0}});window.addEventListener("test",Tu,Tu),window.removeEventListener("test",Tu,Tu)}catch(e){e0=!1}var pi=e0?{passive:!1}:!1,UZ=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},GZ=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},_b=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=_P(e,n);if(r){var o=EP(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},YZ=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},WZ=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},_P=function(e,t){return e==="v"?UZ(t):GZ(t)},EP=function(e,t){return e==="v"?YZ(t):WZ(t)},qZ=function(e,t){return e==="h"&&t==="rtl"?-1:1},KZ=function(e,t,n,r,o){var i=qZ(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,p=0;do{var h=EP(e,s),v=h[0],m=h[1],w=h[2],y=m-w-i*v;(v||y)&&_P(e,s)&&(d+=y,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&a>d)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},ku=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Eb=function(e){return[e.deltaX,e.deltaY]},bb=function(e){return e&&"current"in e?e.current:e},XZ=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ZZ=function(e){return`
|
|
1040
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
1041
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
1042
|
-
`)},QZ=0,hi=[];function JZ(e){var t=f.exports.useRef([]),n=f.exports.useRef([0,0]),r=f.exports.useRef(),o=f.exports.useState(QZ++)[0],i=f.exports.useState(function(){return wP()})[0],a=f.exports.useRef(e);f.exports.useEffect(function(){a.current=e},[e]),f.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=EZ([e.lockRef.current],(e.shards||[]).map(bb),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.exports.useCallback(function(m,w){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var y=ku(m),g=n.current,x="deltaX"in m?m.deltaX:g[0]-y[0],_="deltaY"in m?m.deltaY:g[1]-y[1],E,b=m.target,S=Math.abs(x)>Math.abs(_)?"h":"v";if("touches"in m&&S==="h"&&b.type==="range")return!1;var C=_b(S,b);if(!C)return!0;if(C?E=S:(E=S==="v"?"h":"v",C=_b(S,b)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||_)&&(r.current=E),!E)return!0;var $=r.current||E;return KZ($,w,m,$==="h"?x:_,!0)},[]),l=f.exports.useCallback(function(m){var w=m;if(!(!hi.length||hi[hi.length-1]!==i)){var y="deltaY"in w?Eb(w):ku(w),g=t.current.filter(function(E){return E.name===w.type&&E.target===w.target&&XZ(E.delta,y)})[0];if(g&&g.should){w.preventDefault();return}if(!g){var x=(a.current.shards||[]).map(bb).filter(Boolean).filter(function(E){return E.contains(w.target)}),_=x.length>0?s(w,x[0]):!a.current.noIsolation;_&&w.preventDefault()}}},[]),u=f.exports.useCallback(function(m,w,y,g){var x={name:m,delta:w,target:y,should:g};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(_){return _!==x})},1)},[]),c=f.exports.useCallback(function(m){n.current=ku(m),r.current=void 0},[]),d=f.exports.useCallback(function(m){u(m.type,Eb(m),m.target,s(m,e.lockRef.current))},[]),p=f.exports.useCallback(function(m){u(m.type,ku(m),m.target,s(m,e.lockRef.current))},[]);f.exports.useEffect(function(){return hi.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,pi),document.addEventListener("touchmove",l,pi),document.addEventListener("touchstart",c,pi),function(){hi=hi.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,pi),document.removeEventListener("touchmove",l,pi),document.removeEventListener("touchstart",c,pi)}},[]);var h=e.removeScrollBar,v=e.inert;return Ye(Sn,{children:[v?q(i,{styles:ZZ(o)}):null,h?q(HZ,{gapMode:"margin"}):null]})}const eQ=RZ(xP,JZ);var bP=f.exports.forwardRef(function(e,t){return q(tp,{...Ln({},e,{ref:t,sideCar:eQ})})});bP.classNames=tp.classNames;const tQ=bP,SP="Popover",[CP,Pee]=Ol(SP,[hP]),np=hP(),[nQ,Ml]=CP(SP),rQ=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=np(t),l=f.exports.useRef(null),[u,c]=f.exports.useState(!1),[d=!1,p]=Q1({prop:r,defaultProp:o,onChange:i});return f.exports.createElement(fZ,s,f.exports.createElement(nQ,{scope:t,contentId:W1(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.exports.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:u,onCustomAnchorAdd:f.exports.useCallback(()=>c(!0),[]),onCustomAnchorRemove:f.exports.useCallback(()=>c(!1),[]),modal:a},n))},oQ="PopoverTrigger",iQ=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ml(oQ,n),i=np(n),a=Hn(t,o.triggerRef),s=f.exports.createElement(Kt.button,ke({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":$P(o.open)},r,{ref:a,onClick:Et(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.exports.createElement(pZ,ke({asChild:!0},i),s)}),aQ="PopoverPortal",[Ree,sQ]=CP(aQ,{forceMount:void 0}),ul="PopoverContent",lQ=f.exports.forwardRef((e,t)=>{const n=sQ(ul,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Ml(ul,e.__scopePopover);return f.exports.createElement(Z1,{present:r||i.open},i.modal?f.exports.createElement(uQ,ke({},o,{ref:t})):f.exports.createElement(cQ,ke({},o,{ref:t})))}),uQ=f.exports.forwardRef((e,t)=>{const n=Ml(ul,e.__scopePopover),r=f.exports.useRef(null),o=Hn(t,r),i=f.exports.useRef(!1);return f.exports.useEffect(()=>{const a=r.current;if(a)return _Z(a)},[]),f.exports.createElement(tQ,{as:ll,allowPinchZoom:!0},f.exports.createElement(AP,ke({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Et(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Et(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Et(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),cQ=f.exports.forwardRef((e,t)=>{const n=Ml(ul,e.__scopePopover),r=f.exports.useRef(!1);return f.exports.createElement(AP,ke({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),o.preventDefault()}r.current=!1},onInteractOutside:o=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(r.current=!0);const s=o.target;!((a=n.triggerRef.current)===null||a===void 0)&&a.contains(s)&&o.preventDefault()}}))}),AP=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=Ml(ul,n),h=np(n);return iX(),f.exports.createElement(aX,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},f.exports.createElement(nX,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.exports.createElement(hZ,ke({"data-state":$P(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),dQ=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=np(n);return f.exports.createElement(mZ,ke({},o,r,{ref:t}))});function $P(e){return e?"open":"closed"}const TP=rQ,kP=iQ,PP=lQ,RP=dQ,fQ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM13 19H11V17H13V19ZM15.07 11.25L14.17 12.17C13.45 12.9 13 13.5 13 15H11V14.5C11 13.4 11.45 12.4 12.17 11.67L13.41 10.41C13.78 10.05 14 9.55 14 9C14 7.9 13.1 7 12 7C10.9 7 10 7.9 10 9H8C8 6.79 9.79 5 12 5C14.21 5 16 6.79 16 9C16 9.88 15.64 10.68 15.07 11.25Z"})}),pQ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z"})}),hQ=j(kP)`
|
|
1043
|
-
background: none;
|
|
1044
|
-
border: none;
|
|
1045
|
-
padding: 2px;
|
|
1046
|
-
margin: 0 0 0 ${O["--ll-spacing-x-small"]};
|
|
1047
|
-
flex-shrink: 0;
|
|
1048
|
-
box-sizing: content-box;
|
|
1049
|
-
`,mQ=j(PP)`
|
|
1050
|
-
background-color: ${O["--ll-color-background"]};
|
|
1051
|
-
padding: ${O["--ll-spacing-small"]};
|
|
1052
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
1053
|
-
box-shadow: ${O["--ll-shadow-small"]};
|
|
1054
|
-
z-index: 1;
|
|
1055
|
-
width: 240px;
|
|
1056
|
-
max-width: 100vw;
|
|
1057
|
-
`,vQ=j.div`
|
|
1058
|
-
display: flex;
|
|
1059
|
-
align-items: flex-start;
|
|
1060
|
-
justify-content: space-between;
|
|
1061
|
-
`,gQ=j(RP)`
|
|
1062
|
-
fill: ${O["--ll-color-background"]};
|
|
1063
|
-
`,yQ=()=>{const{options:{scoresData:e,score:t},onChange:n}=Rl(),{textVal:r}=G1({scoresData:e,score:t}),[o,i]=f.exports.useState(!1),{translations:a}=_r([Hk,Bk]);return r?Ye(vQ,{children:[Ye(_t,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[r,"."]}),Ye(TP,{open:o,onOpenChange:l=>{i(l),n&&n({type:"tooltip-toggle",data:l})},children:[q(hQ,{children:q(xo,{SVGElement:o?fQ:pQ,fill:O["--ll-color-primary"],height:20,width:20})}),Ye(mQ,{collisionPadding:jt*2,children:[q(gQ,{}),q(_t,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:a[`${t}-description`]})]})]})]}):null},xQ=e=>q(Vk.Provider,{value:{...e},children:e.children}),Oee=Object.freeze(Object.defineProperty({__proto__:null,Badge:TK,Title:Uk,Icon:eP,BarChart:UK,Description:yQ,Root:xQ},Symbol.toStringTag,{value:"Module"})),wQ={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propuls\xE9 par"}},_Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNwAAADqCAYAAAB5oFizAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAJstJREFUeNrs3c9uHEmeGOCsGQG6zGL4BlNj+DA+NfUEKp0ae1iI5Auo9AKWdFrYMEDy0oBPEucFVDrMwoddisJe9qYS4INvYt/sw6JrfPLB8HLgg01DaDqDjGomKZJikRH59/sa1UXxT1ZmRmTGL34ZGVkUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAx4xyLvwPP/xxvTgp1pYf9PPJyVcfelJ+L/w3OrnwzeLk8sLi355UfjCq/OPnk+UGnVR+Xn7/7K+K4uTiBv9c+dt//uFv56oCAAAAACk8yLz81+Vr0vqd8PDhvHzb/HJ8fKRKAAAAAHAfv7ILTk3K108PHj7csCsAAAAAuA8Jt3Ph1tf3Dx4+fFu+1uwOAAAAAO5Cwu1r0/L1+cHDh+t2BQAAAACrknC72rg4S7rt2BUAAAAArOKBXXCj7d+M/9Xjf/Mffvg0Gp0/W7XyZcxYxm+MKk9gLX+p+jTWX8V/nCz/ZjSqfL38/ujC7y+fozqqfOgovk5Gy6+vXq8LXxcX/lEue1T9Z7ms0S/bcjKqbtfZOvz6dF3O1vfX8Xeu3I7KMs8/YnRpvW6xvpd+MLq07Oq+KC6sy+nXiz99//1M1QUAAACaIuH2rR30m7+aFB140iq/mJevmd0AAAAANMUtpQAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQg/sAgAAAABS29zamtzm997v788rfzMu38bV733jM9bKt/XydVj+zVFbtl3CDQAAAIActi/9exzfF5e+P698PQ1/t7m19eSWSbfX8W+eXFpOoyTcAAAAAEju/f7+k+q/N7e2duL3d77xp4vy9aL4RgItjm7bKL5O4DXOHG4AAAAAtMlB+ZrE20tvMo2/u2jbBki4AQAAANAmfynOEmkvvvF74efv2rgBEm4AAAAAtM1ucTaC7UqbW1vhVtKj2z5coW4SbgAAAAC0yvv9/UX5dri5tTW95lfC6La9tq6/hBsAAAAAbRQSal/dVhrndlt/v78/a+uKS7idObILAAAAANrj/f5+mMdtbXNra3LpR9tFi0e3BRJuZ8Jjahd2AwAAAECrhMTas+U/Nre21sq3MH/brM0rLeFW+nJ8fFi+PSrOnoABAAAAQDvMytdGvI00mJavgzjHW2tJuEVfjo+PytdmcfYUDAAAAAAa9n5/P0wDFgZITeO3wpxu79q+3hJul3w5Pt4pzm4xNa8bAAAAQPPC4KgXm1tb4VbSo/f7+/O2r7CE2xW+HB+Hggu3mB7aGwAAAADNibePhhzN26LlD0tYeqDYrvbl+DgU5qMHv/mr1+X7uj1yamIXAAAAAA0It5GO3+/vz7qwshJu3/A//8t/flW+7IjS3/zDP57YCwAAAMAdze76OyHRtrm1dd2diK/K16JNGyrhBgAAAEB2t3my6E2/U/7scJXvN8kcbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJPbALANprY2trvXxbi/+sfl21iK/g6GB//9Ce62Q5zpdflGU4t9cAetkejMu3cfxn9euqo/J1qE1QjnCHePIw1r3Tr8t6d2TPNUfCDaA9DWh4fRffr2tEb7Os8LaIr9Do/li+5mWDu7CnW12O25fKcBmoK0OA7rUH40o78Li4Pilz23Y9mMe2fdkmuMDW/XI8lIijhnrn3NGQUc6F/+GHP34sTorJ8oN+Pjn56kNPyu+F/0YnF75ZnFxeWPzbk8oPRpV//Hyy3KCTys/L75/9VVGcXNzgnyt/+88//O1IVfi2v/mHfzz5ddibo7PdeXo/8mh0/nWlUo1G5/8aVfbuqPKPi9+/+nfCD0aXK2z8+Sj+73xdTr+e/+n7758orRtPumvx5J3KQhLgzuWwUb6elq9wnlyr4WMXscH9VL4OXPFKWo6P4/taTWX4IQZMRwPe95OEi+v9FeBLV8XvTQex18eDkdJ3L4dquz6u6WMPKu26eCxdOS7b9brKsdq2H3Z8/02SVvCBtDc1nz+OKnVOnyAjI9xgeEKn62PC5e2Wrx279VYNaTXJttHAKoTGexpfb8v1CUH6h7KRnSmdOwVFzxoox2oZFrEM35VleDDA/f/eeWwlr2MQn4qLle2Ssl0PnTAXL1fvJNdx0eXKVYiv1+W6hETNu/I104FeuRxDfPyiwXKcLM/R5bosirNE6l5Hk6gfEy9v1ON6N6nEk3XWu7XKueOXPkEh+ZachBtA/sZ0HIO4aUNB3I1Berl+oSO+FwP0hRK7thxD2b2MZbnWsjJcxE7Wm4EESi8SLy8EuztqObBCezCN56Jxi1ZteQtaSL7NirOEjdGKN5flshzXW7Ra4xhvvCzXb16cXVibKa1enT9C/LbdovNHNXEfkm+7+gRpSLgB5GtQx7ExnbZ8Vdfiem7HAF0j+3Vg9Lpo7qr3bYPzUIYvyvUNydPeJt7icTVJvf/CKJWhjRQE7tQetO3Cy3VC7DGNCZtdt4F/VZbTol0Jj+uE9m5Sru92LMeZ0nP+yNwnWJ479AkS+JVdAJC+QS1fb8svfyran2y7KkD/qVz/nRgYDL0cdyrl2IX9sUyehjJ82dOiedGx5QL9aBNexvZguyPtwdKkfH0s1/9jvGAx9HIMo8JDOYY4rUv7I6xruPXvp5gspFv1btrB84c+QQISbgB5AvKuB0PLpM3GQMsxdFA+d7BjtXQ6Kq/cjs9xXpq+lMtaxmNrojMKXNUehHNpcTbSucudzsmy8zzQcgwjmcPcYmH+zy6f68O6v5VA7Uy9W4/17m2Hzx8hFv6c+mEYQyHhBpAoERAb1K4H5FVhO96X2/V+KFe2YjmGMvzY8YB86fQhKT26Gp77tl6j3IBqm7BsD9Z7tFnbfbsYc4tyDBdDQ9K0TwmDsC2fezyavQ/1bqdH9W4c48nXSnY1Em4A929QQ0P6U88CuQubWJxdFV/veTkun+Dbt+A1JKjextucO99RzLz8qdsmgDga6nMP24Ol0N71PlkTL6KFEW19uhh6uX1/PaQLox2qdx9riFma8DKOrlTfbknCDeB+jWoIVj/2NJC7HNR97uu8IfHW2b6NYrhs2uWkW0xsj2uo54O8jRr45VxzmozqeXuw9LonF2OuK8ePAzmnn8YwkiCtqXd9vghfFOfzQqpvtyDhBnD3RjUEqUMbWv22b8PJYxIxXAEfQuDQ5aTbs5o+x22lMNx2PbQHnwfSHlTbhc996jxXkm3rAyrHsK3bjuJG693y4u3aQOqbpNstSLgB3K1RDUmL6UA3/2VfrojHztXbgZXftGsjFePE0HWt87qJgWGQ7foQ24PedZ4rybahJQIOy9euI7nR88f7gdW7cKyZ0+0bJNwAVm9Uh5xsW5p2Pek24M7V7GB/f9a1+lbz5z0rgKF1lt8OfDd0Puk24GTbonw9Kdv2I0ez80eNQpL3lRpwMwk3gNUaVcm2c9P4BCbBUXeEZNvzDq73swbqttskQGd5aJYJqy6W41CTbSHJtinZ1mi9G2qyTZL3FiTcAFYLyqf2xAXbHbw9cVJItnXtuBs38NEvHd4wiM6yW6IuWu/aCPZ4gWSIybYgJD0OVdvGzh8fB7jpkm0rkHADuF2jOilcAb/O6xh0dKEcx8XZHBtD09WRbcGzgX0uUE97sFYMb86l25rGp7B3xVCTbc8l2xo9f7wthjlXoGTbCiTcAG4flHO10/3TkVvwhti56myyLSZyJw19/Dg+cQzop9BZHtsN1+rExbT45PT1AZbPqw7Ox9qr42OA9U6y7Q4e2AUAtwrKm0zSHMbXn+O/5/F9rdLYfxe/bqrzED43PI6+tZOnxvnmmg6OQjmGQOXTFT/7bVy/9YT1rcsj24IXLfj8A6dA6Jc4eqvJhPoivj5dahuKShvwu0qb0GT886jF5Tgpmrv9/yjGY5+W5XfVaLPKU68nMVabJGjjQ9v+xpHcWL0L545pw6uxPIeEOveXK37+OMbmqfoFkm13JOEG8O1GtYmgPHTyP4T3bzRuB5fWdxyDuacNrPfL8vM/lOs7b2E5hg7LdkMB+bIs57cNVGI5bsSA6a7l2OlkWxwx2fQIs0koi3I/LpwNoTft+lpD7UHosL6L7fpN55T5FetbbdfrvAAY5nPbKdd3p6XlWPdUH8s2fe+2t3JWYqL5pdjyruV50PELaX04fzQ1xcxt+wap+wWSbfcg4QZwszonUw4N2V5xlii5Uwc//t0svGIjGzoV05r316OBl2MQymH3rrd7xHIMV6/fxHIMZfhihcB81oOAfFq04/bfsN899h761a7XeW4J7cDeXefaip3c0NE+KNuDcC56uWJ7cF/h4UizFl54CPthXHN89iZF0qFcxl3LM9QhybZhnT/uVfcu9QvWKvHkbY8dybZ7knADuEa8BbGuYC40hq9SNmixkX1ebsduDBDqGC0UroZP2zSvSHzK5aTGwGg35a0esRx3yu0Iy9wuvn37zKwnV79ftGQ9Qv2RcIN+tOvrRX0XoeaxPZgnbA+OKu3By6K+kXrhc563qBzHNbYRBzE+WyRf8MXy/Fb7LvExrPNHEOL3N6nKPC5neTF3p/h2oledS8BDEwCublTXagrmjmJj9jxXgxaCxPK1WX65WZzPEZM7MG+TutYnBOW/zzWvSqgf5Sskfp7cUI69SLbFOW/GLVmdtZi0BbqvrtHOIUHzJNcUC7E9CB3mR7FTnNu0MhdZW9r13KOMQjsbYrPN3KP7LrXvixvWReJjGOePcEw/Csd4xr7BTqxvhzesg2RbAhJuAFd7WUMwFxqz39c151m8haGO4HzclgRFXI9xTZ2rzToCk1hfrirHWY/mdXlhfYDE7cGkyD/a+Sh2lGuZ0D7epho6zbOhnAcr0yzkLscndY/Wv6Z9X67LoaO49+ePZSz3qI7yrpw/Dq/on0i2JSLhBtBMYDlrojGLV2lvuqKVSltGudWxHs/rflpYpRyPKgFaL5JtlQdGtMl6vJUE6K5nmZffSGIkjo56XuRPum3E83Pf2/XlxdBGElwxLqzGaa8k2wZx/gh2647lrqhvkm2JSbgBfN3hnxZ5R7fNc95CeofGNYdxfApXk+UYPj935+B5U/PVVcrxTc+eWJYq2b2cq6Rt6wXU3x6EtmCa8SMaH4VUU9Jtu+FyzP306qM2JBsq7ftmm+bEdf7IareppwFX6ttBIdmWnIQbwNdyXsUKwfhm0xsYG9Pcc7o963E5Bq+aDoRD5y7O+9InqYLaEDjupVyv2NkDhnteuUprbvmLSbd5xo9oevRx+Py1zOXYimRDHLl44NDt/fkjmDWVbLtU3zYl29KTcAOoRnJnV7EmGYO55y0K5hZF3uTfRlMJihqugh/UfRvpQI6/acLO1LtYx1N2gqdKCTop5wWY3Zbd8pfzYlrTD5HJOdLYrZs0cf447NldClwi4QZwqc8/oKB8OUHvm47uz6Y+9zRx6lBpdWdqUXkYyV4L1w+oqzE4m39xnGnx87ZdfIkX9XK2UU8bKsdQhusZy3HmaKHm80chnuw/CTeAi3JdxVq0eETUbpHvavjThrYp5+e+MuQ+W1CbqjN1cM3X99X43ITA6qeXoXWW462I80yLnyhH9AvSxN9GVfafhBvAeYd/rch39XS3rdsdk0d7uXZrzwJzV8HzSTl6bO9S/U6ZdHumqKBTHmda7izett5Wueb3DLeVThrYnlwX0t60vBxpVq66nvrBTrSUhBtA/kZ10YEkzZsi0yi3ugPzzJ+35zDJUmYh2T1NtLjDKzpP71Kubry1CRh2277b5o2OI2fmHdunTXymdp3rYpPQ1ue6EL/nbolhkHADOJetUW37hsdGf9aTwDzX5y08MSyblzmPt1huKQNbc7lBNzrMudqDg46MisoVfzzuSTnOjG6jgX5BYHTbQEi4AeQPIGcd2f53mZb7XU/K0VXwfFLepnmw4vfvYqrIoBMmmZb7oQsbHy82LDIser3mTcn1ee8cIjRQ72ZGtw2HhBtA3oZ13pVGNd5+kiMwH/ckQDK6LYP4EIJUdeSmIDZlxyrMYTRVetB6v9MeZFnXtZpvrc9x4e6o8jRruEquC7gf7NrheGAXAJwHkBrV08D8ZeJlrvegHA/ddpLNizqOt9CxKjuIoQzHCdd7pvig1cYZljnv2OiUTxna9eW+XXS4HJMmIjM/eGvVeMXoqfbWu8L0JMMi4QZQZJ0fpGuP+84SmIcr4XUkrDKW49xRkqW8QjCbqsyObhHEpkwor5frvx5HhgLtlCMB8qlLOyCcF8tzVa59W1fbOOlAOYb98bEFRf5EzJLMWDzJfbmlFCBvoNu1hjXX+o47XpQ/qs1ZpBzdNrvF7+y1eP2B9HKMeO5ih/mwI/u26/uEnsh4y/Qne3dYJNwAzuS4Ct65YC7ehtDlWxEmAvPOBLOhszZNuMh3t6jfi8RluRG3A2jnOSaHRQd3x6LD5ZjlNk2jk/mGsWORFCTcAM7kCMy7mrjKEYSud7lyCMzz9KMSHneHK5RR0ocnFJ5YCm2VK1HTxQ5zjlHaj2ta9yzzsjo8aMjCLhgWCTcAjWpXA2a6bTvhslZJos0Sb4fbSgG6xUMF0DegFhJuAPn8WSAqOOJr8eEW44SLnN32F+Nt0ymfEDbO+LAOoF3mHV1vI7pgNVnadU+8Hx4JNwAu84CAiwRH6T1LGb/GJNoqPiTeHqPcgDZzIQ2gARJuAEBt4pO/pgkXuXLy7GB/f5a4A7qR8YlmAAB0kIQbAJc9tgsuGNsFSU0TLusoJs/u4qDF2wW0U1fnI11XdAD1k3ADyEfiqh/GdkFSSW8nvcffvku8XW4rhf7rauLKg4tgNfMcC93Y2nIsDoyEGwB1MGEzIdCcFmkTmHt3/cOD/f0QTC9Sdmjj9gEMwcIugJUZbTowEm4AZ3IkhMYd3ReTDMvs9ITNG1tbAqQ0Uo5uWxzs79/3uD1o8fYB9zm4z5Lq2oMzOUbc1/Uk9hzxw8QRQkOMcBsYCTeAfAHduGtDx3sw8fs803LHDpEkndSUnZy9lizjQidOchZ6b2yd65Pgwsp1bZLEBzdZZFquGGFgJNwANKxVk0wB87zj9UOAdH+p5zg7SFAvw3F/2PLtBO4uR7KmU/OzxsTSuCP7VrtOK8T4IAfzOw+MhBtA3ob1acd2RY5A4KjGcpwLkFrb4dtIuMh5wmM29cMTNoycgNZwO2K+9a1zqoi5cqQBOfoGEr0DI+EGcC7H1VqBef1XwXMESBNJlHuZFmnnLUmZJEs9j1vq5CJwd59ydJg7Nv1Clgt/NY9cz9Gup76QFhKQ83u8jhyurZOj3oUHLE3s2uF4YBcA/CIkhlJfeToNzDOOoEsmzj01zrRf6w6QcmxHSKLMHCZ3kvo2y7dlfX3b4u3dVlegtx3mZXvwpiP7IMcFgLrb9R8zLPP0QloZnyVJdMW55p7cIwb7WBh11zafMpVJSILP7d5hMMINIG9AF3RlTqcXHduvNwVIOXgC5d06EaGzNx7YZo9dwYZWyNWp7UR7UJ6HpkWepyLWnXDL9XlGI9NEvZvatcMh4QaQPzCftv12xAxzbNWxX+v+PE+g7HHH1HZD/8TR5Tlu1VvvSFI913noU83lOO/Y/kG/4CZrMRnOAEi4AZwHdIeZAvOQzHrZ8s1/WeS5Cr6o+3bazPPKeALlCuI8R0MdQTDt2DxP0NvmPdNyt1t+/p0U+W5RnDewSTk+04U0boonQ58g1yi3bXt4GCTcAOoJzF+0dZRbTAq86Nj+bOpzp24VXK3eD3z7p6oANC7XaKxJy9uDXB36RUPz0n7o2H6iH+aZljs2ym0YJNwA6gno1loc1L0u8oxuy9nRaaocBeerGXow6XYlaF7OCz+v27jBZUc+jFqfdHB/NvG5Gy6kcYN3GZf9uu1TznB/Em4A1Whufz8EdLkezf6ybUFdnNA+1y1/i7g/+9bBmsTODDfXrWmRL5HbFa5gQ/Pt+lHGNiHM5bbTsnPvuMh7YehdQ+W4KPLd3vfakcI19S7UuUWmxYcY6a293G8SbgBXtK8Zl/2+LVez4rwlbzu6H5vsYJ0G522Z9yUkTVt6hdR8d2eMcoPmZR313JaLabEteF/ku9hxGBMQTdnLtNyQOJV04zo5k8wbbbkwF+NJcxomJuEGUF9AV8Qg+GPTCZL4+W+LvCOQ9npcjkUsx/WGy3EaO1cf25R0i51PQduZiYcnQLMO9vdnRb5RKsH7lnRUX2c+9zbdrue+C2HqaOEKs8zLf9t00r5yEf6jpFtaEm4AXwfm4ertPONHrBcNJkji537MHJQfNDSpcrUc55k7WGtNBibxc19X6tTnFgVJRnVdZN4/aF7OUSqNtgexTQid5WnGj8g9cvw27XrudXgr6cYV9S7EkrPMH/O+4XjyYzyPNX4u6xsJN4Cr7WZefiNJt9iAfi7yjz7aG0g5NhKYxLn3lsHR0rhox6i7tcLDEr7aLSZGhsa9KfKNjmqyPVgrX+9rOO/uxYRX39t1STeaiGvD+eNz3XXvUrLt8rnMcZCAhBvAFeLoqHnmjwmN3E91DSOPDWdoVMeZP2oe918bynFW5B3lVg2SXtZUjjvF9XP0tOHKpAdKXF0uG3YDNNoeHNXYaa6rPVh2lnOfX8K+e9OScgxt+izzx7w1pxuX6l3uu18u1L06LtJV+gXXxZOSzwlIuAFcb7eGz1gmSLI1rmH+qHj1O/ecbXXutzauTyjDj7kSqKFjVb7C6MTtW9apppJubie9mttKoXm5R7ldbg+ynIfjqLadop4R60FbRrdV2/Xc6xPmdPvs1joqntf0OSFh/zljPLlKv0DS7Z4k3ACuUdMot2rjGka77aRKvMUGNTSmPxX1ja6ZtWV0W6UcZzWWYwiOQicr2QS4lXJcpWPVyO0A8VbXsbPHlcZteZIhDLhdD0maui7CTGKn+W2qB6dUEm2hXa8rib8oWjK6rVKOYZ3qmLpiPXUZ0unzR6h3s7pihhjHfYyxVcrzx+cV+wWSbvfwwC4A7ulZeRJ+3NBnh8fTv8r8Gc9jw1THyLC1GEBvl/s0NOgfyu1baXLgmKwLjejTov5b2EJH5lVL6+mrWI51CYHJtCyPcAtCmKh7Hm9HuG05jmNn7Vl8v2t9CkHSMulYhxdOiTefL4v6kr9ZhU5Ak8fzKscTqycZmizfsmyfZF7+m3L7wrFY18ilZXswr7QHixWPt2q7vtbA8XbUwnr6Jp5TxzWWYYjJ3q0am32jbNdj22kkXTe8qvk4DDFgeNp5OGccxL7BfIX6lapfEOLJ72rod/WOhBtwX+OixyNaQlBcNjDhKmrdt4Mtg7sidtBD5/Iv8f3oiv3/uxisNRmw7bY0KD+de6Pcl7sNlOMvZVJ+/lEsv2VZXuVxhmOqlqRbJUmY0qLIPwdfnee2cEy3tfN6l05AUzyAIv/+nfR8G5cX0+o+ZibxfLlsC/58xXluLbYbv43vTZbFQcrkUuJ2/ajcj6Ec60wOh4TFRmzPQ2z2qTi7+DtfIfmxjAu+K5pJoJKm3r1vICYJd8O8rPQNFvEccpXv4t+k7BeEz14r98FzNeH2JNwAvt247sRRfE0FvZMOdH5CUP6mA+X4tGguKbnWYFnWkXTLkcx81VRnr/JE39RCwLzjzAqNtgdNXYRZavoC2W2EpNLzlpfjvCzHN0X9D+tZjhraiO3Fcn8d3vD7RrD15/xxEEc7NvkwpKb6BdMYT0q63ZI53ABu53lRz0TLXbRoe1CuHE9le+pa5ZaFpPWqyZEV8ZbFHLcteqgEtKPTvFP05BbvTDa7MBo33uLWhlvMqxfVLr8k2/rZL1gMdNuncW5hbkHCDeB2AV1oVDftia8cdSUoj+UYgvIhzz/xMlOQlOO2mDbcxpRjUu5xqgmQgXvbHHCn+Sav2vYApG94UrgoSr3x5FE8fwy13k3jAx3cEv0NEm4At29cQ/BpCPXXQflhx8pxVtT3lLq2Bkmpk245bsvaa0N1yRRMe7gE6DS31aztU0RcU46SbtRd74Z+EXdSnD1JVdLtBhJuAKs1rrNi2Mmaquc1Pv0ydTnuFPU92r2NpnGOsnsrlxMCrnHi9Ttc9Sl+GTtxOUbaTeJDJoB2dJola87Mujo3k3KkwX7BkC/GN/1gl9aTcANYvXHdKYadrAk6m2yrlOPzAZfj84QjE3PMSbbXon2Va12McoP2tAeHhblaZ12fCF3SjYbq3awYbtJt1tYnGbeFhBvA3RrX0LAOdRh555Ntl8pxpvzuJo7SmuYompZ14BYZFj11Gwa0qj0I552hJmtmfXnqoKQbDdW7EFcNLek287TSb5NwA7h74/pmYI1rCF57k2yrlOOQkqepy2+aKYBrW0cpxyi3HE92Be7XHgwxWfOmb53mSjku1GpqrHezYjgjZXcl225Hwg3g/o3rowE0riFofdK3ZFulHEPytM8TZ4ftepSh/HLcFvmhhfsvV713Wym0rz0IyZrfl6/Dnm/q8iLaqx6XY4jP5mo1NfcL+p7sfR6n1+EWJNwA0gXnfQ3qwm02j7r2NNI7lOPydqK+bedhjvLb2NqaFmejtFJatHEukDjibpZh0evxoRNAy4758hWSNX19SNLpCLC+XkS7VI6hXX+lVlNzv+BR0aLpMVLFaEWei7e9JuEGkD6o68soqbAdm+V2bbbwFr9sQVLPOllhyP+jTE/8zPGwhDYHp+8yLfdZAbS1Tdgp+jdaZdkuHA6oHMMo9qGMdjN3XXv6BZs96hcM4uJ7DhJunHrw8KGJmyFdUBdGu806vilh/X8/1CcPxU5Wl4Pz5ai2nRwL39jayvUY+L0W14l54eEJMMT2YF6+Qru+2/GO8zxnu9CBcjyMF0b7OMdW2J43MW6TENEvSCnEPYO6+J7aA7ugKP71v/uPJ+E9/O/k5PTLYhR/Nir/+XNxcv7LJ8vvn5TfL3753fBno/jDn+PfVX//5PyLi07OfjK68LOT4uTkihWNn7lc9qiy3Au/X/nHyUlxeUXO3y5t67/MP8yPF//t+Zfj44VaAfdqXE/nRSk70WFEzHamxES21S9frzKNiOpccF6+PSnLMUxs/7p8jTsSdO/GAC+nHHOPHXag3u3FupDay/K1UwBtbhN2yvZgFtv1acc6zK+GegHtinKcleV4EM+7oS3r8gWPRWyXZpIh+gUZ4slQt96oW/cj4cYvTv7v/wkH/08PHj7c/XJ8LPCH+zew8/JtHudoCkFdm59IGDoRuxJtV5ZjCMwP4pxloRzXhxwYxdFYOeryXgeqQzhOciTcwm2l2l1of3uwiB3n3dhxDufCtiZsQgyyJ9F2ZTmGdjIkUMPFqWXbPu7I6od1P4hlazRbd/sFbU28LeuXPkEiEm5cZfvBw4dPQ0Dx5fjYiRzSNbDj4jzx1obALjSkIclxoFG9VTnOyrdZDJSetaSjFcptN5ZhXVcgp5m2+6ADdeAojnCZJl70OIyk1DGGzrQH4dwbEm+vYlvQlosxkjErntOLs1sx38TR7E+Ldo5eXMRy/aSd6GW/IFdctWodCyPwjGhLTMKN64Sg4bPRbr207KD3ZVu6FqCH4PxVDOweF/Un30IAHhr6d4LxewdKy45WCNAnNQZLy8C7qTI8ynAOWXQowAtJ6j93sOqGQPqTc39v7doFjbQHyycYz2LnObQJz4p6k2/LJNsHyZh7leVyNPuybV/GaE0kQo5irBbO2V28KOp8dLd+wdOa65xzRw1GORf+hx/++LE4ORsqGT7o50tzhgUnp3OYnZzPeXb2za+mOlvON1adq2xU+cfPv8xrdlL5eRHnWTs5n3vtl9+/+HvxtwY9h9v/+qf/VPy///Hfrwtsn//13/39x1+HPxud/f3pEzdGo/OvK/tjNDr/16hS4KPKPy5+/+rfCT8YXa6w8eej+L/zdTn9ev6n779/4tCmS2KQPonB3XriQD0EbCEp82P42ki2rOU4ieX4XSzDccLkwmEMvOcSpQCtbw/WLrXrk4SLP7zUrmsT8pbl+qW2PXUy9TC28z8uy1asps5dOn+kjidDXTtw7qiHhFsh4XaLhNupv/67vy8k3KDWxnbtUpD++JpfP4qN5/Lr0+BNwNaKDteyHJcB+u9uCJxCuf2l8vVRHE0HQPfbhHE8/y/bhSImca4bzVIdkTqPbYIOcrvKstq+3zbhsYzNDt26xwp1bnKpvv32hroX6tifq/Gk+tYcCbdCwk3CDQAAACCdX9kFAAAAAJCOhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQ0IPMy39Vvtbs5m748r//5Wn59tKeAAAAALi7rAm3//rv/+2hXdwp8wcPH34q398WEqUAAAAAd+KWUi74cnx8UL79vnwd2BsAAAAAq5Nw4ytfjo+PytdmcXZL8JE9AgAAAHB7Em5c68vx8Zvy7Un5cmswAAAAwC09sAu4yZfj45Bse/Tg4cOd8v1xB1ZZchAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgKv9fgAEAulggap4jxLwAAAAASUVORK5CYII=",EQ=j.a`
|
|
1064
|
-
display: flex;
|
|
1065
|
-
align-items: center;
|
|
1066
|
-
justify-content: center;
|
|
1067
|
-
text-decoration: none;
|
|
1068
|
-
margin-top: 1px;
|
|
1069
|
-
width: 100%;
|
|
1070
|
-
`,bQ=j.img`
|
|
1071
|
-
height: 20px;
|
|
1072
|
-
margin-left: ${O["--ll-spacing-base-unit"]};
|
|
1073
|
-
`,SQ=j(_t)`
|
|
1074
|
-
line-height: initial;
|
|
1075
|
-
`,CQ=()=>{const{translations:e}=_r([wQ]);return Ye(EQ,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[q(SQ,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),q(bQ,{src:_Q})]})},AQ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Lee=Object.freeze(Object.defineProperty({__proto__:null,Root:CQ,Types:AQ},Symbol.toStringTag,{value:"Module"})),yd={small:20,medium:32,large:40},$Q=j(z5.div)`
|
|
1076
|
-
background: linear-gradient(
|
|
1077
|
-
to top,
|
|
1078
|
-
${({backgroundColorHighlight:e})=>e},
|
|
1079
|
-
${({backgroundColor:e})=>e}
|
|
1080
|
-
);
|
|
1081
|
-
border-radius: 50%;
|
|
1082
|
-
border: 2px solid #fff;
|
|
1083
|
-
height: ${({size:e})=>yd[e]}px;
|
|
1084
|
-
width: ${({size:e})=>yd[e]}px;
|
|
1085
|
-
display: flex;
|
|
1086
|
-
justify-content: center;
|
|
1087
|
-
align-items: center;
|
|
1088
|
-
box-shadow: ${O["--ll-shadow-small"]};
|
|
1089
|
-
`,OP=({fill:e="#fff",backgroundColor:t=O["--ll-color-primary"],backgroundColorHighlight:n=t,SVGElement:r,size:o="small",expandMarker:i})=>q($Q,{"data-testid":"svgInfo",backgroundColor:t,backgroundColorHighlight:n,size:o,variants:{default:{scale:1},hovered:{scale:1.2}},animate:i?"hovered":"default",whileHover:{scale:1.2},transition:Nv.transitions.default,children:q(xo,{SVGElement:r,fill:e,height:yd[o]/1.5,width:yd[o]/1.5})}),TQ=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}),kQ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM12 11.5C10.62 11.5 9.5 10.38 9.5 9C9.5 7.62 10.62 6.5 12 6.5C13.38 6.5 14.5 7.62 14.5 9C14.5 10.38 13.38 11.5 12 11.5Z"})}),PQ=({options:e})=>q(OP,{SVGElement:e.style==="house"?TQ:kQ,size:"large",backgroundColor:O["--ll-color-primary"],backgroundColorHighlight:O["--ll-color-primary-variant1"]}),RQ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Mee=Object.freeze(Object.defineProperty({__proto__:null,Root:PQ,Types:RQ},Symbol.toStringTag,{value:"Module"})),LP=J.createContext({}),MP=()=>f.exports.useContext(LP),OQ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 2C7.58 2 4 2.5 4 6V15.5C4 17.43 5.57 19 7.5 19L6 20.5V21H18V20.5L16.5 19C18.43 19 20 17.43 20 15.5V6C20 2.5 16.42 2 12 2ZM7.5 17C6.67 17 6 16.33 6 15.5C6 14.67 6.67 14 7.5 14C8.33 14 9 14.67 9 15.5C9 16.33 8.33 17 7.5 17ZM11 11H6V6H11V11ZM16.5 17C15.67 17 15 16.33 15 15.5C15 14.67 15.67 14 16.5 14C17.33 14 18 14.67 18 15.5C18 16.33 17.33 17 16.5 17ZM18 11H13V6H18V11Z"})}),LQ=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M4 15.5C4 17.43 5.57 19 7.5 19L6 20.5V21H18V20.5L16.5 19C18.43 19 20 17.43 20 15.5V5C20 1.5 16.42 1 12 1C7.58 1 4 1.5 4 5V15.5ZM12 17C10.9 17 10 16.1 10 15C10 13.9 10.9 13 12 13C13.1 13 14 13.9 14 15C14 16.1 13.1 17 12 17ZM18 10H6V5H18V10Z"})}),MQ=e=>N("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:N("path",{d:"M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z"})}),NQ=e=>lt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M19.5198 2.49002C17.1798 0.150019 12.8998 0.620018 9.96984 3.55002C8.36984 5.15002 7.44984 7.42002 7.42984 9.01002C7.40984 10.59 7.68984 12.9 6.07984 14.51L1.83984 18.75L3.25984 20.17L7.49984 15.93C9.10984 14.32 11.4198 14.6 12.9998 14.58C14.5798 14.56 16.8598 13.64 18.4598 12.04C21.3798 9.11002 21.8598 4.83002 19.5198 2.49002ZM10.3198 11.68C8.78984 10.15 9.26984 7.07002 11.3798 4.96002C13.4898 2.85002 16.5598 2.37002 18.0998 3.90002C19.6298 5.43002 19.1498 8.51002 17.0398 10.62C14.9298 12.73 11.8598 13.21 10.3198 11.68Z"}),N("path",{d:"M18 17C18.53 17 19.04 17.21 19.41 17.59C20.19 18.37 20.19 19.64 19.41 20.42C19.04 20.79 18.53 21 18 21C17.47 21 16.96 20.79 16.59 20.41C15.81 19.63 15.81 18.36 16.59 17.58C16.96 17.21 17.47 17 18 17ZM18 15C16.98 15 15.95 15.39 15.17 16.17C13.61 17.73 13.61 20.26 15.17 21.83C15.95 22.61 16.98 23 18 23C19.02 23 20.05 22.61 20.83 21.83C22.39 20.27 22.39 17.74 20.83 16.17C20.05 15.39 19.02 15 18 15Z"})]}),DQ=e=>lt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[N("path",{d:"M0 0h24v24H0z",fill:"none"}),N("circle",{cx:4.5,cy:9.5,r:2.5}),N("circle",{cx:9,cy:5.5,r:2.5}),N("circle",{cx:15,cy:5.5,r:2.5}),N("circle",{cx:19.5,cy:9.5,r:2.5}),N("path",{d:"M17.34 14.86c-.87-1.02-1.6-1.89-2.48-2.91-.46-.54-1.05-1.08-1.75-1.32-.11-.04-.22-.07-.33-.09-.25-.04-.52-.04-.78-.04s-.53 0-.79.05c-.11.02-.22.05-.33.09-.7.24-1.28.78-1.75 1.32-.87 1.02-1.6 1.89-2.48 2.91-1.31 1.31-2.92 2.76-2.62 4.79.29 1.02 1.02 2.03 2.33 2.32.73.15 3.06-.44 5.54-.44h.18c2.48 0 4.81.58 5.54.44 1.31-.29 2.04-1.31 2.33-2.32.31-2.04-1.3-3.49-2.61-4.8z"})]}),FQ=e=>lt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[N("path",{d:"M0 0h24v24H0z",fill:"none"}),N("path",{d:"M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45-1-1V14c0-1.1-.9-2-2-2h-1V5c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v16h10v-7.5h1.5v5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V9c0-.69-.28-1.32-.73-1.77zM12 10H6V5h6v5zm6 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"})]}),IQ=e=>lt("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[N("path",{d:"M0 0h24v24H0z",fill:"none"}),N("path",{d:"M20.57 14.86L22 13.43 20.57 12 17 15.57 8.43 7 12 3.43 10.57 2 9.14 3.43 7.71 2 5.57 4.14 4.14 2.71 2.71 4.14l1.43 1.43L2 7.71l1.43 1.43L2 10.57 3.43 12 7 8.43 15.57 17 12 20.57 13.43 22l1.43-1.43L16.29 22l2.14-2.14 1.43 1.43 1.43-1.43-1.43-1.43L22 16.29z"})]}),jQ=e=>lt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[N("g",{children:N("rect",{fill:"none",height:24,width:24})}),N("g",{children:lt("g",{children:[N("g",{children:N("path",{d:"M21.67,18.17l-5.3-5.3h-0.99l-2.54,2.54v0.99l5.3,5.3c0.39,0.39,1.02,0.39,1.41,0l2.12-2.12 C22.06,19.2,22.06,18.56,21.67,18.17z"})}),N("g",{children:N("path",{d:"M17.34,10.19l1.41-1.41l2.12,2.12c1.17-1.17,1.17-3.07,0-4.24l-3.54-3.54l-1.41,1.41V1.71L15.22,1l-3.54,3.54l0.71,0.71 h2.83l-1.41,1.41l1.06,1.06l-2.89,2.89L7.85,6.48V5.06L4.83,2.04L2,4.87l3.03,3.03h1.41l4.13,4.13l-0.85,0.85H7.6l-5.3,5.3 c-0.39,0.39-0.39,1.02,0,1.41l2.12,2.12c0.39,0.39,1.02,0.39,1.41,0l5.3-5.3v-2.12l5.15-5.15L17.34,10.19z"})})]})})]}),zQ=e=>lt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[N("g",{children:N("rect",{fill:"none",height:24,width:24})}),N("g",{children:N("path",{d:"M12,2C6.49,2,2,6.49,2,12s4.49,10,10,10c1.38,0,2.5-1.12,2.5-2.5c0-0.61-0.23-1.2-0.64-1.67c-0.08-0.1-0.13-0.21-0.13-0.33 c0-0.28,0.22-0.5,0.5-0.5H16c3.31,0,6-2.69,6-6C22,6.04,17.51,2,12,2z M17.5,13c-0.83,0-1.5-0.67-1.5-1.5c0-0.83,0.67-1.5,1.5-1.5 s1.5,0.67,1.5,1.5C19,12.33,18.33,13,17.5,13z M14.5,9C13.67,9,13,8.33,13,7.5C13,6.67,13.67,6,14.5,6S16,6.67,16,7.5 C16,8.33,15.33,9,14.5,9z M5,11.5C5,10.67,5.67,10,6.5,10S8,10.67,8,11.5C8,12.33,7.33,13,6.5,13S5,12.33,5,11.5z M11,7.5 C11,8.33,10.33,9,9.5,9S8,8.33,8,7.5C8,6.67,8.67,6,9.5,6S11,6.67,11,7.5z"})})]}),VQ=e=>lt("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#000000",...e,children:[N("rect",{fill:"none",height:24,width:24}),N("path",{d:"M10.5,13H8v-3h2.5V7.5h3V10H16v3h-2.5v2.5h-3V13z M12,2L4,5v6.09c0,5.05,3.41,9.76,8,10.91c4.59-1.15,8-5.86,8-10.91V5L12,2 z"})]}),J1={groceries:MQ,groceries_specialized:Xk,shopping:Wk,nightlife:qk,restaurants:Kk,healthy_restaurants:Wv,cafes:Yk,daycares:Qk,bus_stops:Gk,rapid_transit_stations:OQ,train_stations:LQ,parks:Zk,fitness:IQ,personal_care:Wv,pet_care:DQ,car_fueling_stations:FQ,health_care:VQ,sport_facilities:NQ,art_culture_science:zQ,home_improvement:jQ,primary_schools:Jk,high_schools:Y1},BQ=j(kP)`
|
|
1090
|
-
background: none;
|
|
1091
|
-
border: none;
|
|
1092
|
-
padding: 0;
|
|
1093
|
-
`,HQ=()=>{const{options:{type:e,isOpen:t,isHovered:n,size:r}}=MP();return q(BQ,{children:q(OP,{size:r,SVGElement:J1[e],expandMarker:t||n,backgroundColor:O["--ll-color-primary"],backgroundColorHighlight:O["--ll-color-primary-variant1"]})})},NP=(e,t)=>t==="school",Sb=e=>e.charAt(0).toUpperCase()+e.slice(1),ey={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Rapid transit",train_stations:"Train",parks:"Parks",healthy_restaurants:"Healthy restaurants",fitness:"Fitness",sport_facilities:"Sport facilities",health_care:"Health care",pet_care:"Pet care",car_fueling_stations:"Gas stations",art_culture_science:"Art, Culture, Science",home_improvement:"Home improvement",personal_care:"Personal care"},fr:{groceries:"G\xE9n\xE9rales",groceries_specialized:"Sp\xE9cialis\xE9es",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Caf\xE9s",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"M\xE9tro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de sant\xE9",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Am\xE9lioration de l'habitat",personal_care:"Soins personnels"}},UQ={en:{SCHOOL_BOARD:"Board",SCHOOL_LANGUAGES:"Languages",SCHOOL_LEVELS:"Levels",SCHOOL_TYPE:"Type",ENGLISH:"English",FRENCH:"French",SPANISH:"Spanish",high_schools:"High schools",primary_schools:"Primary schools"},fr:{SCHOOL_BOARD:"Commission",SCHOOL_LANGUAGES:"Langues",SCHOOL_LEVELS:"Niveaux",SCHOOL_TYPE:"Type",ENGLISH:"Anglais",FRENCH:"Fran\xE7ais",SPANISH:"Espagnol",high_schools:"\xC9coles secondaires",primary_schools:"\xC9coles primaires"}},GQ=j(PP)`
|
|
1094
|
-
padding: ${O["--ll-spacing-small"]};
|
|
1095
|
-
background-color: ${O["--ll-color-background"]};
|
|
1096
|
-
box-shadow: ${O["--ll-shadow-small"]};
|
|
1097
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
1098
|
-
width: 240px;
|
|
1099
|
-
`,YQ=j(RP)`
|
|
1100
|
-
fill: ${O["--ll-color-background"]};
|
|
1101
|
-
`,WQ=j.div`
|
|
1102
|
-
display: flex;
|
|
1103
|
-
margin-bottom: ${O["--ll-spacing-xx-small"]};
|
|
1104
|
-
`,qQ=j(L1)`
|
|
1105
|
-
margin-right: 2px;
|
|
1106
|
-
margin-bottom: 2px;
|
|
1107
|
-
`,KQ=j.div`
|
|
1108
|
-
display: grid;
|
|
1109
|
-
grid-template-columns: auto 1fr;
|
|
1110
|
-
grid-column-gap: 10px;
|
|
1111
|
-
margin-bottom: ${O["--ll-spacing-xx-small"]};
|
|
1112
|
-
`,Nh=j(_t)``,XQ=()=>{var e,t,n,r,o,i;const{options:{poi:a,side:s,collisionPadding:l,type:u}}=MP(),{translations:c}=_r([ey,UQ]),d=u==="high_schools"||u==="primary_schools"?"school":"poi",p=v=>v.map(m=>{switch(m){case"en":return c.ENGLISH;case"fr":return c.FRENCH;case"es":return c.SPANISH;default:return m}}),h=(v,m)=>Ye(Sn,{children:[Ye(Nh,{children:[v,": "]}),q(Nh,{color:O["--ll-color-on-background-variant1"],children:Sb(m)})]});return Ye(GQ,{side:s,collisionPadding:l,sideOffset:jt*2,children:[q(YQ,{}),q(_t,{variant:"h4",noMargin:!0,weight:"--ll-font-weight-bold",children:a.name}),q(xh,{vertical:!0,spacing:"--ll-spacing-xx-small"}),a.address&&q(_t,{variant:"p",noMargin:!0,children:a.address}),q(xh,{vertical:!0,spacing:"--ll-spacing-xx-small"}),a.url&&Ye(Sn,{children:[q(ME,{lineClamp:2,href:a.url,children:a.url}),q(xh,{vertical:!0,spacing:"--ll-spacing-xx-small"})]}),NP(a,d)?Ye(KQ,{children:[((e=a.school_attributes)==null?void 0:e.grades)&&h(c.SCHOOL_LEVELS,a.school_attributes.grades),((t=a.school_attributes)==null?void 0:t.languages)&&h(c.SCHOOL_LANGUAGES,p(a.school_attributes.languages).join(", ")),((n=a.school_attributes)==null?void 0:n.types)&&h(c.SCHOOL_TYPE,a.school_attributes.types.join(", ")),((r=a.school_board_attributes)==null?void 0:r.name)&&((o=a.school_board_attributes)==null?void 0:o.url)&&Ye(Sn,{children:[Ye(Nh,{children:[c.SCHOOL_BOARD,": "]}),q(ME,{href:a.school_board_attributes.url,children:Sb(a.school_board_attributes.name)})]})]}):a.routes&&Ye(WQ,{children:[q(xo,{SVGElement:J1[u],height:20,width:20,fill:O["--ll-color-on-background"]}),(i=a.routes)==null?void 0:i.map((v,m)=>q(qQ,{text:v.short_name,backgroundColor:v.route_color,textColor:v.text_color},v.short_name+m))]}),q(L1,{text:c[u],size:"medium",backgroundColor:O["--ll-color-primary"]})]})},ZQ=e=>q(TP,{open:e.options.isOpen,onOpenChange:t=>e.onChange&&e.onChange({type:"open-change",data:t}),children:q(LP.Provider,{value:{...e},children:e.children})}),QQ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Nee=Object.freeze(Object.defineProperty({__proto__:null,Types:QQ,Marker:HQ,Content:XQ,Root:ZQ},Symbol.toStringTag,{value:"Module"})),JQ=j.ul`
|
|
1113
|
-
list-style: none;
|
|
1114
|
-
padding: 0;
|
|
1115
|
-
margin-bottom: 0;
|
|
1116
|
-
`,eJ=j.li`
|
|
1117
|
-
padding: ${O["--ll-spacing-x-small"]};
|
|
1118
|
-
margin-bottom: ${O["--ll-spacing-xx-small"]};
|
|
1119
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
1120
|
-
background-color: ${({isActive:e,isHovered:t})=>e||t?O["--ll-color-surface-variant1"]:O["--ll-color-background"]};
|
|
1121
|
-
`,Cb=j.div`
|
|
1122
|
-
display: flex;
|
|
1123
|
-
flex-wrap: wrap;
|
|
1124
|
-
`,Ab=j(L1)`
|
|
1125
|
-
margin-right: 2px;
|
|
1126
|
-
margin-bottom: 2px;
|
|
1127
|
-
`,tJ=({options:{data:e,type:t,activePOI:n,hoveredPOI:r},onChange:o})=>q(JQ,{children:e.map((i,a)=>{var s,l,u;return Ye(eJ,{isActive:n===i,isHovered:r===i,onClick:()=>o&&o({type:"poi-click",data:i}),onMouseOver:()=>o&&o({type:"poi-hover",data:i}),onMouseLeave:()=>o&&o({type:"poi-hover",data:void 0}),children:[q(_t,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:i.name}),NP(i,t)?q(Cb,{children:(l=(s=i.school_attributes)==null?void 0:s.types)==null?void 0:l.map((c,d)=>q(Ab,{text:c},c))}):q(Cb,{children:(u=i.routes)==null?void 0:u.map((c,d)=>q(Ab,{text:c.short_name,backgroundColor:c.route_color,textColor:c.text_color},c.short_name+d))})]},`${i.name}-${i.lat}-${i.lng}-${a}`)})}),nJ=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Dee=Object.freeze(Object.defineProperty({__proto__:null,Root:tJ,Types:nJ},Symbol.toStringTag,{value:"Module"})),DP=J.createContext({}),FP=()=>f.exports.useContext(DP),IP={en:{commute:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",about:"About"},fr:{commute:"Transport",amenities:"Services",character:"Caract\xE8re",nature:"Nature",education:"Familles",about:"Info"}},jP=e=>{const{scoreCategory:t}=FP(),{translations:n}=_r([IP]);return q(_t,{...e.options,children:n[t]})};jP.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const rJ=e=>N("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M12 4H5C3.34 4 2 5.34 2 7V15C2 16.66 3.34 18 5 18L4 19V20H5L7 18H9V13H4V6H13V8H15V7C15 5.34 13.66 4 12 4ZM5 14C5.55 14 6 14.45 6 15C6 15.55 5.55 16 5 16C4.45 16 4 15.55 4 15C4 14.45 4.45 14 5 14ZM20.57 9.66C20.43 9.26 20.05 9 19.6 9H12.41C11.95 9 11.58 9.26 11.43 9.66L10.01 13.77V19.28C10.01 19.66 10.32 20 10.7 20H11.32C11.7 20 12 19.62 12 19.24V18H20V19.24C20 19.62 20.31 20 20.69 20H21.3C21.68 20 21.99 19.66 21.99 19.28L22 17.91V13.77L20.57 9.66ZM12.41 10H19.6L20.63 13H11.38L12.41 10ZM12 16C11.45 16 11 15.55 11 15C11 14.45 11.45 14 12 14C12.55 14 13 14.45 13 15C13 15.55 12.55 16 12 16ZM20 16C19.45 16 19 15.55 19 15C19 14.45 19.45 14 20 14C20.55 14 21 14.45 21 15C21 15.55 20.55 16 20 16Z"})}),oJ=e=>lt("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M12 22C6.49 22 2 17.51 2 12C2 6.49 6.49 2 12 2C17.51 2 22 6.04 22 11C22 14.31 19.31 17 16 17H14.23C13.95 17 13.73 17.22 13.73 17.5C13.73 17.62 13.78 17.73 13.86 17.83C14.27 18.3 14.5 18.89 14.5 19.5C14.5 20.88 13.38 22 12 22ZM12 4C7.59 4 4 7.59 4 12C4 16.41 7.59 20 12 20C12.28 20 12.5 19.78 12.5 19.5C12.5 19.34 12.42 19.22 12.36 19.15C11.95 18.69 11.73 18.1 11.73 17.5C11.73 16.12 12.85 15 14.23 15H16C18.21 15 20 13.21 20 11C20 7.14 16.41 4 12 4Z"}),N("path",{d:"M6.5 13C7.32843 13 8 12.3284 8 11.5C8 10.6716 7.32843 10 6.5 10C5.67157 10 5 10.6716 5 11.5C5 12.3284 5.67157 13 6.5 13Z"}),N("path",{d:"M9.5 9C10.3284 9 11 8.32843 11 7.5C11 6.67157 10.3284 6 9.5 6C8.67157 6 8 6.67157 8 7.5C8 8.32843 8.67157 9 9.5 9Z"}),N("path",{d:"M14.5 9C15.3284 9 16 8.32843 16 7.5C16 6.67157 15.3284 6 14.5 6C13.6716 6 13 6.67157 13 7.5C13 8.32843 13.6716 9 14.5 9Z"}),N("path",{d:"M17.5 13C18.3284 13 19 12.3284 19 11.5C19 10.6716 18.3284 10 17.5 10C16.6716 10 16 10.6716 16 11.5C16 12.3284 16.6716 13 17.5 13Z"})]}),iJ=e=>lt("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[N("path",{d:"M4.41504 10.915C5.24347 10.915 5.91504 10.2434 5.91504 9.41496C5.91504 8.58653 5.24347 7.91496 4.41504 7.91496C3.58661 7.91496 2.91504 8.58653 2.91504 9.41496C2.91504 10.2434 3.58661 10.915 4.41504 10.915Z"}),N("path",{d:"M22.085 9.08496C22.085 5.21496 18.955 2.08496 15.085 2.08496C11.215 2.08496 8.08504 5.21496 8.08504 9.08496C8.08504 12.555 10.605 15.425 13.915 15.975V19.915H5.91504V16.915H6.91504V12.915C6.91504 12.365 6.46504 11.915 5.91504 11.915H2.91504C2.36504 11.915 1.91504 12.365 1.91504 12.915V16.915H2.91504V21.915H18.915V19.915H15.915V16.035C19.385 15.625 22.085 12.675 22.085 9.08496ZM15.085 14.085C12.325 14.085 10.085 11.845 10.085 9.08496C10.085 6.32496 12.325 4.08496 15.085 4.08496C17.845 4.08496 20.085 6.32496 20.085 9.08496C20.085 11.845 17.845 14.085 15.085 14.085Z"})]}),aJ=e=>N("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:N("path",{d:"M18 6H16C16 3.79 14.21 2 12 2C9.79 2 8 3.79 8 6H6C4.9 6 4 6.9 4 8V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8C20 6.9 19.1 6 18 6ZM12 4C13.1 4 14 4.9 14 6H10C10 4.9 10.9 4 12 4ZM18 20H6V8H8V10C8 10.55 8.45 11 9 11C9.55 11 10 10.55 10 10V8H14V10C14 10.55 14.45 11 15 11C15.55 11 16 10.55 16 10V8H18V20Z"})}),zP=[{value:"commute",icon:rJ,scores:["transit_friendly","car_friendly","pedestrian_friendly","cycling_friendly"]},{value:"education",icon:Y1,scores:["primary_schools","high_schools","daycares"]},{value:"amenities",icon:aJ,scores:["groceries","restaurants","shopping","cafes"]},{value:"character",icon:oJ,scores:["quiet","nightlife","vibrant","historic"]},{value:"nature",icon:iJ,scores:["parks","greenery"]}],VP=({options:e})=>{const{scoreCategory:t}=FP(),n=zP.find(r=>r.value===t);return q(xo,{SVGElement:n.icon,fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};VP.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const BP=({options:e,children:t})=>q(DP.Provider,{value:{...e},children:t}),HP=Object.freeze(Object.defineProperty({__proto__:null,Root:BP,Title:jP,Icon:VP},Symbol.toStringTag,{value:"Module"}));function sJ(e){const t=e+"CollectionProvider",[n,r]=Ol(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,w=J.useRef(null),y=J.useRef(new Map).current;return J.createElement(o,{scope:v,itemMap:y,collectionRef:w},m)},s=e+"CollectionSlot",l=J.forwardRef((h,v)=>{const{scope:m,children:w}=h,y=i(s,m),g=Hn(v,y.collectionRef);return J.createElement(ll,{ref:g},w)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=J.forwardRef((h,v)=>{const{scope:m,children:w,...y}=h,g=J.useRef(null),x=Hn(v,g),_=i(u,m);return J.useEffect(()=>(_.itemMap.set(g,{ref:g,...y}),()=>void _.itemMap.delete(g))),J.createElement(ll,{[c]:"",ref:x},w)});function p(h){const v=i(e+"CollectionConsumer",h);return J.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const w=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((y,g)=>w.indexOf(y.ref.current)-w.indexOf(g.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},p,r]}const lJ=f.exports.createContext(void 0);function UP(e){const t=f.exports.useContext(lJ);return e||t||"ltr"}const Dh="rovingFocusGroup.onEntryFocus",uJ={bubbles:!1,cancelable:!0},ty="RovingFocusGroup",[t0,GP,cJ]=sJ(ty),[dJ,YP]=Ol(ty,[cJ]),[fJ,pJ]=dJ(ty),hJ=f.exports.forwardRef((e,t)=>f.exports.createElement(t0.Provider,{scope:e.__scopeRovingFocusGroup},f.exports.createElement(t0.Slot,{scope:e.__scopeRovingFocusGroup},f.exports.createElement(mJ,ke({},e,{ref:t}))))),mJ=f.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,d=f.exports.useRef(null),p=Hn(t,d),h=UP(i),[v=null,m]=Q1({prop:a,defaultProp:s,onChange:l}),[w,y]=f.exports.useState(!1),g=fo(u),x=GP(n),_=f.exports.useRef(!1);return f.exports.useEffect(()=>{const E=d.current;if(E)return E.addEventListener(Dh,g),()=>E.removeEventListener(Dh,g)},[g]),f.exports.createElement(fJ,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:v,onItemFocus:f.exports.useCallback(E=>m(E),[m]),onItemShiftTab:f.exports.useCallback(()=>y(!0),[])},f.exports.createElement(Kt.div,ke({tabIndex:w?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:Et(e.onMouseDown,()=>{_.current=!0}),onFocus:Et(e.onFocus,E=>{const b=!_.current;if(E.target===E.currentTarget&&b&&!w){const S=new CustomEvent(Dh,uJ);if(E.currentTarget.dispatchEvent(S),!S.defaultPrevented){const C=x().filter(F=>F.focusable),$=C.find(F=>F.active),k=C.find(F=>F.id===v),D=[$,k,...C].filter(Boolean).map(F=>F.ref.current);WP(D)}}_.current=!1}),onBlur:Et(e.onBlur,()=>y(!1))})))}),vJ="RovingFocusGroupItem",gJ=f.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,...i}=e,a=W1(),s=pJ(vJ,n),l=s.currentTabStopId===a,u=GP(n);return f.exports.createElement(t0.ItemSlot,{scope:n,id:a,focusable:r,active:o},f.exports.createElement(Kt.span,ke({tabIndex:l?0:-1,"data-orientation":s.orientation},i,{ref:t,onMouseDown:Et(e.onMouseDown,c=>{r?s.onItemFocus(a):c.preventDefault()}),onFocus:Et(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:Et(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){s.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const d=wJ(c,s.orientation,s.dir);if(d!==void 0){c.preventDefault();let p=u().filter(h=>h.focusable).map(h=>h.ref.current);if(d==="last")p.reverse();else if(d==="prev"||d==="next"){d==="prev"&&p.reverse();const h=p.indexOf(c.currentTarget);p=s.loop?_J(p,h+1):p.slice(h+1)}setTimeout(()=>WP(p))}})})))}),yJ={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function xJ(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function wJ(e,t,n){const r=xJ(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return yJ[r]}function WP(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function _J(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const EJ=hJ,bJ=gJ,qP="Tabs",[SJ,Fee]=Ol(qP,[YP]),KP=YP(),[CJ,ny]=SJ(qP),AJ=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=UP(s),[d,p]=Q1({prop:r,onChange:o,defaultProp:i});return f.exports.createElement(CJ,{scope:n,baseId:W1(),value:d,onValueChange:p,orientation:a,dir:c,activationMode:l},f.exports.createElement(Kt.div,ke({dir:c,"data-orientation":a},u,{ref:t})))}),$J="TabsList",TJ=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=ny($J,n),a=KP(n);return f.exports.createElement(EJ,ke({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),f.exports.createElement(Kt.div,ke({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),kJ="TabsTrigger",PJ=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=ny(kJ,n),s=KP(n),l=XP(a.baseId,r),u=ZP(a.baseId,r),c=r===a.value;return f.exports.createElement(bJ,ke({asChild:!0},s,{focusable:!o,active:c}),f.exports.createElement(Kt.button,ke({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l},i,{ref:t,onMouseDown:Et(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?a.onValueChange(r):d.preventDefault()}),onKeyDown:Et(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&a.onValueChange(r)}),onFocus:Et(e.onFocus,()=>{const d=a.activationMode!=="manual";!c&&!o&&d&&a.onValueChange(r)})})))}),RJ="TabsContent",OJ=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,s=ny(RJ,n),l=XP(s.baseId,r),u=ZP(s.baseId,r),c=r===s.value,d=f.exports.useRef(c);return f.exports.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.exports.createElement(Z1,{present:o||c},({present:p})=>f.exports.createElement(Kt.div,ke({"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&i))});function XP(e,t){return`${e}-trigger-${t}`}function ZP(e,t){return`${e}-content-${t}`}const QP=AJ,JP=TJ,eR=PJ,tR=OJ,nR=e=>{const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])},LJ=({defaultValue:e,onChange:t})=>{const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=nR(t==null?void 0:t.func);return f.exports.useEffect(()=>{o.current!==r&&t&&(i({type:t.key,data:r}),o.current=r)},[r,o,i]),n},MJ=({controlledValue:e,onChange:t,defaultValue:n})=>{const[r,o]=LJ({defaultValue:n,onChange:t}),i=e!==void 0,a=i?e:r,s=nR(t==null?void 0:t.func),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&t&&s({type:t.key,data:c})}else o(u)},[i,a,o,s]);return[a,l]},rR=J.createContext({}),NJ=()=>f.exports.useContext(rR),DJ=({children:e,options:{value:t}})=>q(tR,{value:t,children:q(BP,{options:{scoreCategory:t},children:e})},t),{Title:FJ}=HP,{Icon:IJ}=HP,jJ=j(JP)`
|
|
1128
|
-
display: grid;
|
|
1129
|
-
grid-auto-columns: minmax(0, 1fr);
|
|
1130
|
-
grid-auto-flow: column;
|
|
1131
|
-
background-color: ${O["--ll-color-background"]};
|
|
1132
|
-
`,zJ=j(eR)`
|
|
1133
|
-
background: none;
|
|
1134
|
-
border: none;
|
|
1135
|
-
padding: ${O["--ll-spacing-xx-small"]};
|
|
1136
|
-
display: flex;
|
|
1137
|
-
flex-direction: column;
|
|
1138
|
-
align-items: center;
|
|
1139
|
-
|
|
1140
|
-
&:hover {
|
|
1141
|
-
background-color: ${O["--ll-color-surface"]};
|
|
1142
|
-
border-radius: ${O["--ll-border-radius-small"]};
|
|
1143
|
-
box-shadow: ${O["--ll-shadow-small"]};
|
|
1144
|
-
}
|
|
1145
|
-
`,VJ=()=>{const{currentTab:e}=NJ(),{translations:t}=_r([IP]);return q(jJ,{"aria-label":"Score tabs",children:zP.map(n=>{const r=n.value===e?"--ll-color-primary":"--ll-color-disabled";return q(J.Fragment,{children:Ye(zJ,{value:n.value,children:[q(xo,{SVGElement:n.icon,fill:O[r]}),q(_t,{noMargin:!0,variant:"caption1",color:r,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)})})},BJ=({options:e,onChange:t,children:n})=>{const[r,o]=MJ({controlledValue:e.currentTab,onChange:{func:t,key:"tabs"},defaultValue:e.defaultTab||"commute"});return q(rR.Provider,{value:{...e,currentTab:r},children:q(QP,{value:r,orientation:"vertical",defaultValue:r,onValueChange:i=>o(i),children:n})})},Iee=Object.freeze(Object.defineProperty({__proto__:null,Root:BJ,Tabs:VJ,Content:DJ,Title:FJ,Icon:IJ},Symbol.toStringTag,{value:"Module"})),oR=J.createContext({}),HJ=()=>f.exports.useContext(oR),UJ=j(eR)`
|
|
1146
|
-
margin-right: ${O["--ll-spacing-xx-small"]};
|
|
1147
|
-
margin-bottom: ${O["--ll-spacing-xx-small"]};
|
|
1148
|
-
`,GJ=()=>{const{include:e,activeTab:t,setActiveTab:n}=HJ(),{translations:r}=_r([ey]);return e.length<=1?null:q(JP,{"aria-label":"tabs example",children:e.map(o=>q(UJ,{value:o,asChild:!0,children:q(N1,{size:"small",variant:o===t?"contained":"outlined",onClick:()=>n(o),children:r[o]})},o))})},YJ=({children:e,options:{value:t}})=>q(tR,{value:t,children:e},t),WJ=({options:e,children:t})=>{const[n,r]=f.exports.useState(e.include[0]);return q(oR.Provider,{value:{...e,activeTab:n,setActiveTab:r},children:q(QP,{value:n,children:t})})},jee=Object.freeze(Object.defineProperty({__proto__:null,Root:WJ,Tabs:GJ,Content:YJ},Symbol.toStringTag,{value:"Module"})),iR=J.createContext({}),aR=()=>f.exports.useContext(iR),sR=e=>{var t;const{options:{poi:n}}=aR(),{translations:r}=_r([ey]);return(t=e.options)!=null&&t.isRawText?q(Sn,{children:r[n]}):q(_t,{...e.options,children:r[n]})};sR.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};const lR=({options:e})=>{const{options:{poi:t}}=aR();return q(xo,{SVGElement:J1[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};lR.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const qJ=e=>q(iR.Provider,{value:{...e},children:e.children}),zee=Object.freeze(Object.defineProperty({__proto__:null,Title:sR,Icon:lR,Root:qJ},Symbol.toStringTag,{value:"Module"})),KJ=({children:e})=>{var r,o;const{sdkState:t}=L$();if(!(t!=null&&t.apiKey))throw Error("A valid apiKey must be provided.");const n=Rz(t.apiKey,{locale:(r=t==null?void 0:t.globalOptions)==null?void 0:r.locale});return N(SK,{client:n,options:{appearance:(o=t==null?void 0:t.globalOptions)==null?void 0:o.appearance},children:e})},XJ=j.div`
|
|
1149
|
-
height: 100%;
|
|
1150
|
-
width: 100%;
|
|
1151
|
-
display: flex;
|
|
1152
|
-
align-items: center;
|
|
1153
|
-
justify-content: center;
|
|
1154
|
-
flex-direction: column;
|
|
1155
|
-
`,ZJ=({error:e})=>lt(XJ,{children:[N(Um,{variant:"h4",children:"An error occurred"}),N(Um,{variant:"p",color:"--ll-color-on-background-variant1",children:e.message})]}),QJ=new RF({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),JJ=()=>lt(RL,{children:[N(dN,{}),N(pF,{FallbackComponent:ZJ,children:N(IF,{children:N(OF,{client:QJ,children:N(M$,{children:N(KJ,{children:N(gI,{children:N(Gg,{})})})})})})})]});dL({dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new wg],tracesSampleRate:.05,environment:"production",enabled:!0});Fh.createRoot(document.getElementById("root")).render(N(J.StrictMode,{children:N(JJ,{})}));export{Pt as $,Dee as A,HP as B,Iee as C,Sf as D,vee as E,RL as F,hn as G,Yg as H,zP as I,mF as J,vF as K,bK as L,hee as M,pee as N,Lg as O,lv as P,qg as Q,J as R,ree as S,jC as T,df as U,yF as V,Yp as W,$t as X,gee as Y,Gp as Z,fT as _,eee as __vite_legacy_guard,U as a,Mee as a0,sa as a1,a0 as a2,z5 as a3,ye as a4,oee as a5,aee as a6,dT as a7,Q$ as a8,zee as a9,lee as aa,nee as ab,$b as ac,xee as b,wee as c,tee as d,ln as e,In as f,ua as g,cI as h,lt as i,N as j,Nee as k,tr as l,Oee as m,mee as n,G6 as o,kee as p,yee as q,f as r,j as s,IC as t,L$ as u,Um as v,Lee as w,jee as x,I as y,U4 as z};
|