@local-logic/sdks-app 1.0.0-beta.46 → 1.0.0-beta.48

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.
Files changed (60) hide show
  1. package/dist/assets/index.3baa3a87.js +769 -0
  2. package/dist/assets/index.946206d5.js +889 -0
  3. package/dist/assets/list.e8b8e16a.svg +5 -0
  4. package/dist/index.html +1 -1
  5. package/dist/types/constants/routes.d.ts +1 -2
  6. package/dist/types/constants/routes.d.ts.map +1 -1
  7. package/dist/types/constants/routes.js +0 -1
  8. package/dist/types/constants/routes.js.map +1 -1
  9. package/dist/types/context/stateManager/defaultState.d.ts +4 -1
  10. package/dist/types/context/stateManager/defaultState.d.ts.map +1 -1
  11. package/dist/types/context/stateManager/defaultState.js +7 -2
  12. package/dist/types/context/stateManager/defaultState.js.map +1 -1
  13. package/dist/types/context/stateManager/index.d.ts.map +1 -1
  14. package/dist/types/context/stateManager/index.js +1 -3
  15. package/dist/types/context/stateManager/index.js.map +1 -1
  16. package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts.map +1 -1
  17. package/dist/types/sdks/LocalContent/Map/Markers/index.js +9 -1
  18. package/dist/types/sdks/LocalContent/Map/Markers/index.js.map +1 -1
  19. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.d.ts +8 -0
  20. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.d.ts.map +1 -0
  21. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.js +37 -0
  22. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.js.map +1 -0
  23. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.d.ts +6 -0
  24. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.d.ts.map +1 -0
  25. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.js +45 -0
  26. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.js.map +1 -0
  27. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.d.ts.map +1 -1
  28. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js +4 -0
  29. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js.map +1 -1
  30. package/dist/types/sdks/LocalContent/Map/MobileScores/index.d.ts.map +1 -1
  31. package/dist/types/sdks/LocalContent/Map/MobileScores/index.js +18 -5
  32. package/dist/types/sdks/LocalContent/Map/MobileScores/index.js.map +1 -1
  33. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts +1 -1
  34. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts.map +1 -1
  35. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js +4 -6
  36. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js.map +1 -1
  37. package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
  38. package/dist/types/sdks/LocalContent/Map/index.js +5 -4
  39. package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
  40. package/dist/types/sdks/LocalContent/Map/styles.d.ts +3 -1
  41. package/dist/types/sdks/LocalContent/Map/styles.d.ts.map +1 -1
  42. package/dist/types/sdks/LocalContent/Map/styles.js +7 -4
  43. package/dist/types/sdks/LocalContent/Map/styles.js.map +1 -1
  44. package/dist/types/sdks/LocalContent/context.d.ts.map +1 -1
  45. package/dist/types/sdks/LocalContent/context.js +23 -10
  46. package/dist/types/sdks/LocalContent/context.js.map +1 -1
  47. package/dist/types/sdks/LocalContent/defaultState.d.ts +4 -1
  48. package/dist/types/sdks/LocalContent/defaultState.d.ts.map +1 -1
  49. package/dist/types/sdks/LocalContent/defaultState.js.map +1 -1
  50. package/package.json +4 -4
  51. package/dist/assets/index.5fab9b7a.js +0 -743
  52. package/dist/assets/index.a0f74ea9.js +0 -715
  53. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts +0 -8
  54. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts.map +0 -1
  55. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js +0 -46
  56. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js.map +0 -1
  57. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts +0 -5
  58. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts.map +0 -1
  59. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js +0 -30
  60. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js.map +0 -1
@@ -0,0 +1,889 @@
1
+ function O3(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var o=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const k3=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)}};k3();var d={exports:{}},fe={};/**
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 nl=Symbol.for("react.element"),N3=Symbol.for("react.portal"),L3=Symbol.for("react.fragment"),M3=Symbol.for("react.strict_mode"),D3=Symbol.for("react.profiler"),F3=Symbol.for("react.provider"),I3=Symbol.for("react.context"),j3=Symbol.for("react.forward_ref"),B3=Symbol.for("react.suspense"),V3=Symbol.for("react.memo"),z3=Symbol.for("react.lazy"),k1=Symbol.iterator;function U3(e){return e===null||typeof e!="object"?null:(e=k1&&e[k1]||e["@@iterator"],typeof e=="function"?e:null)}var O2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k2=Object.assign,N2={};function ca(e,t,n){this.props=e,this.context=t,this.refs=N2,this.updater=n||O2}ca.prototype.isReactComponent={};ca.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")};ca.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function L2(){}L2.prototype=ca.prototype;function Fv(e,t,n){this.props=e,this.context=t,this.refs=N2,this.updater=n||O2}var Iv=Fv.prototype=new L2;Iv.constructor=Fv;k2(Iv,ca.prototype);Iv.isPureReactComponent=!0;var N1=Array.isArray,M2=Object.prototype.hasOwnProperty,jv={current:null},D2={key:!0,ref:!0,__self:!0,__source:!0};function F2(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)M2.call(t,r)&&!D2.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:nl,type:e,key:i,ref:a,props:o,_owner:jv.current}}function H3(e,t){return{$$typeof:nl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Bv(e){return typeof e=="object"&&e!==null&&e.$$typeof===nl}function G3(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var L1=/\/+/g;function Zd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?G3(""+e.key):t.toString(36)}function Au(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 nl:case N3:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Zd(a,0):r,N1(o)?(n="",e!=null&&(n=e.replace(L1,"$&/")+"/"),Au(o,t,n,"",function(u){return u})):o!=null&&(Bv(o)&&(o=H3(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(L1,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",N1(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+Zd(i,s);a+=Au(i,t,n,l,o)}else if(l=U3(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+Zd(i,s++),a+=Au(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 Rl(e,t,n){if(e==null)return e;var r=[],o=0;return Au(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Y3(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 At={current:null},$u={transition:null},W3={ReactCurrentDispatcher:At,ReactCurrentBatchConfig:$u,ReactCurrentOwner:jv};fe.Children={map:Rl,forEach:function(e,t,n){Rl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Rl(e,function(){t++}),t},toArray:function(e){return Rl(e,function(t){return t})||[]},only:function(e){if(!Bv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};fe.Component=ca;fe.Fragment=L3;fe.Profiler=D3;fe.PureComponent=Fv;fe.StrictMode=M3;fe.Suspense=B3;fe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W3;fe.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=k2({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=jv.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)M2.call(t,l)&&!D2.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:nl,type:e.type,key:o,ref:i,props:r,_owner:a}};fe.createContext=function(e){return e={$$typeof:I3,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:F3,_context:e},e.Consumer=e};fe.createElement=F2;fe.createFactory=function(e){var t=F2.bind(null,e);return t.type=e,t};fe.createRef=function(){return{current:null}};fe.forwardRef=function(e){return{$$typeof:j3,render:e}};fe.isValidElement=Bv;fe.lazy=function(e){return{$$typeof:z3,_payload:{_status:-1,_result:e},_init:Y3}};fe.memo=function(e,t){return{$$typeof:V3,type:e,compare:t===void 0?null:t}};fe.startTransition=function(e){var t=$u.transition;$u.transition={};try{e()}finally{$u.transition=t}};fe.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};fe.useCallback=function(e,t){return At.current.useCallback(e,t)};fe.useContext=function(e){return At.current.useContext(e)};fe.useDebugValue=function(){};fe.useDeferredValue=function(e){return At.current.useDeferredValue(e)};fe.useEffect=function(e,t){return At.current.useEffect(e,t)};fe.useId=function(){return At.current.useId()};fe.useImperativeHandle=function(e,t,n){return At.current.useImperativeHandle(e,t,n)};fe.useInsertionEffect=function(e,t){return At.current.useInsertionEffect(e,t)};fe.useLayoutEffect=function(e,t){return At.current.useLayoutEffect(e,t)};fe.useMemo=function(e,t){return At.current.useMemo(e,t)};fe.useReducer=function(e,t,n){return At.current.useReducer(e,t,n)};fe.useRef=function(e){return At.current.useRef(e)};fe.useState=function(e){return At.current.useState(e)};fe.useSyncExternalStore=function(e,t,n){return At.current.useSyncExternalStore(e,t,n)};fe.useTransition=function(){return At.current.useTransition()};fe.version="18.2.0";d.exports=fe;var ee=d.exports,Vv=O3({__proto__:null,default:ee},[d.exports]),Eh={},$t={exports:{}},Xt={},I2={exports:{}},j2={};/**
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(I,K){var P=I.length;I.push(K);e:for(;0<P;){var V=P-1>>>1,O=I[V];if(0<o(O,K))I[V]=K,I[P]=O,P=V;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var K=I[0],P=I.pop();if(P!==K){I[0]=P;e:for(var V=0,O=I.length,R=O>>>1;V<R;){var $=2*(V+1)-1,N=I[$],A=$+1,W=I[A];if(0>o(N,P))A<O&&0>o(W,N)?(I[V]=W,I[A]=P,V=A):(I[V]=N,I[$]=P,V=$);else if(A<O&&0>o(W,P))I[V]=W,I[A]=P,V=A;else break e}}return K}function o(I,K){var P=I.sortIndex-K.sortIndex;return P!==0?P:I.id-K.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,f=null,p=3,h=!1,v=!1,m=!1,_=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(I){for(var K=n(u);K!==null;){if(K.callback===null)r(u);else if(K.startTime<=I)r(u),K.sortIndex=K.expirationTime,t(l,K);else break;K=n(u)}}function w(I){if(m=!1,x(I),!v)if(n(l)!==null)v=!0,me(b);else{var K=n(u);K!==null&&oe(w,K.startTime-I)}}function b(I,K){v=!1,m&&(m=!1,g(C),C=-1),h=!0;var P=p;try{for(x(K),f=n(l);f!==null&&(!(f.expirationTime>K)||I&&!G());){var V=f.callback;if(typeof V=="function"){f.callback=null,p=f.priorityLevel;var O=V(f.expirationTime<=K);K=e.unstable_now(),typeof O=="function"?f.callback=O:f===n(l)&&r(l),x(K)}else r(l);f=n(l)}if(f!==null)var R=!0;else{var $=n(u);$!==null&&oe(w,$.startTime-K),R=!1}return R}finally{f=null,p=P,h=!1}}var E=!1,S=null,C=-1,T=5,k=-1;function G(){return!(e.unstable_now()-k<T)}function F(){if(S!==null){var I=e.unstable_now();k=I;var K=!0;try{K=S(!0,I)}finally{K?H():(E=!1,S=null)}}else E=!1}var H;if(typeof y=="function")H=function(){y(F)};else if(typeof MessageChannel!="undefined"){var z=new MessageChannel,re=z.port2;z.port1.onmessage=F,H=function(){re.postMessage(null)}}else H=function(){_(F,0)};function me(I){S=I,E||(E=!0,H())}function oe(I,K){C=_(function(){I(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,me(b))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(I){switch(p){case 1:case 2:case 3:var K=3;break;default:K=p}var P=p;p=K;try{return I()}finally{p=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,K){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var P=p;p=I;try{return K()}finally{p=P}},e.unstable_scheduleCallback=function(I,K,P){var V=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?V+P:V):P=V,I){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=P+O,I={id:c++,callback:K,priorityLevel:I,startTime:P,expirationTime:O,sortIndex:-1},P>V?(I.sortIndex=P,t(u,I),n(l)===null&&I===n(u)&&(m?(g(C),C=-1):m=!0,oe(w,P-V))):(I.sortIndex=O,t(l,I),v||h||(v=!0,me(b))),I},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(I){var K=p;return function(){var P=p;p=K;try{return I.apply(this,arguments)}finally{p=P}}}})(j2);I2.exports=j2;/**
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 B2=d.exports,Wt=I2.exports;function j(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 V2=new Set,ys={};function Ho(e,t){zi(e,t),zi(e+"Capture",t)}function zi(e,t){for(ys[e]=t,e=0;e<t.length;e++)V2.add(t[e])}var tr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Sh=Object.prototype.hasOwnProperty,q3=/^[: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]*$/,M1={},D1={};function K3(e){return Sh.call(D1,e)?!0:Sh.call(M1,e)?!1:q3.test(e)?D1[e]=!0:(M1[e]=!0,!1)}function X3(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 Z3(e,t,n,r){if(t===null||typeof t=="undefined"||X3(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 Tt(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 ut={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ut[e]=new Tt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ut[t]=new Tt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ut[e]=new Tt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ut[e]=new Tt(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){ut[e]=new Tt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ut[e]=new Tt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ut[e]=new Tt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ut[e]=new Tt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ut[e]=new Tt(e,5,!1,e.toLowerCase(),null,!1,!1)});var zv=/[\-:]([a-z])/g;function Uv(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(zv,Uv);ut[t]=new Tt(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(zv,Uv);ut[t]=new Tt(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(zv,Uv);ut[t]=new Tt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ut[e]=new Tt(e,1,!1,e.toLowerCase(),null,!1,!1)});ut.xlinkHref=new Tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ut[e]=new Tt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hv(e,t,n,r){var o=ut.hasOwnProperty(t)?ut[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Z3(t,n,o,r)&&(n=null),r||o===null?K3(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 mr=B2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Pl=Symbol.for("react.element"),ci=Symbol.for("react.portal"),fi=Symbol.for("react.fragment"),Gv=Symbol.for("react.strict_mode"),Ch=Symbol.for("react.profiler"),z2=Symbol.for("react.provider"),U2=Symbol.for("react.context"),Yv=Symbol.for("react.forward_ref"),Ah=Symbol.for("react.suspense"),$h=Symbol.for("react.suspense_list"),Wv=Symbol.for("react.memo"),Ar=Symbol.for("react.lazy"),H2=Symbol.for("react.offscreen"),F1=Symbol.iterator;function Aa(e){return e===null||typeof e!="object"?null:(e=F1&&e[F1]||e["@@iterator"],typeof e=="function"?e:null)}var je=Object.assign,Qd;function ja(e){if(Qd===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Qd=t&&t[1]||""}return`
26
+ `+Qd+e}var Jd=!1;function ep(e,t){if(!e||Jd)return"";Jd=!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{Jd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ja(e):""}function Q3(e){switch(e.tag){case 5:return ja(e.type);case 16:return ja("Lazy");case 13:return ja("Suspense");case 19:return ja("SuspenseList");case 0:case 2:case 15:return e=ep(e.type,!1),e;case 11:return e=ep(e.type.render,!1),e;case 1:return e=ep(e.type,!0),e;default:return""}}function Th(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 fi:return"Fragment";case ci:return"Portal";case Ch:return"Profiler";case Gv:return"StrictMode";case Ah:return"Suspense";case $h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case U2:return(e.displayName||"Context")+".Consumer";case z2:return(e._context.displayName||"Context")+".Provider";case Yv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wv:return t=e.displayName||null,t!==null?t:Th(e.type)||"Memo";case Ar:t=e._payload,e=e._init;try{return Th(e(t))}catch{}}return null}function J3(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 Th(t);case 8:return t===Gv?"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 Jr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function G2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function eR(e){var t=G2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&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 Ol(e){e._valueTracker||(e._valueTracker=eR(e))}function Y2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G2(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tc(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Rh(e,t){var n=t.checked;return je({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function I1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jr(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 W2(e,t){t=t.checked,t!=null&&Hv(e,"checked",t,!1)}function Ph(e,t){W2(e,t);var n=Jr(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")?Oh(e,t.type,n):t.hasOwnProperty("defaultValue")&&Oh(e,t.type,Jr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function j1(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 Oh(e,t,n){(t!=="number"||tc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ba=Array.isArray;function Ri(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=""+Jr(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 kh(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return je({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function B1(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(Ba(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Jr(n)}}function q2(e,t){var n=Jr(t.value),r=Jr(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 V1(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function K2(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 Nh(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?K2(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var kl,X2=function(e){return typeof MSApp!="undefined"&&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(kl=kl||document.createElement("div"),kl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ya={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},tR=["Webkit","ms","Moz","O"];Object.keys(Ya).forEach(function(e){tR.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ya[t]=Ya[e]})});function Z2(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ya.hasOwnProperty(e)&&Ya[e]?(""+t).trim():t+"px"}function Q2(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Z2(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var nR=je({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 Lh(e,t){if(t){if(nR[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Mh(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 Dh=null;function qv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fh=null,Pi=null,Oi=null;function z1(e){if(e=il(e)){if(typeof Fh!="function")throw Error(j(280));var t=e.stateNode;t&&(t=_f(t),Fh(e.stateNode,e.type,t))}}function J2(e){Pi?Oi?Oi.push(e):Oi=[e]:Pi=e}function eb(){if(Pi){var e=Pi,t=Oi;if(Oi=Pi=null,z1(e),t)for(e=0;e<t.length;e++)z1(t[e])}}function tb(e,t){return e(t)}function nb(){}var tp=!1;function rb(e,t,n){if(tp)return e(t,n);tp=!0;try{return tb(e,t,n)}finally{tp=!1,(Pi!==null||Oi!==null)&&(nb(),eb())}}function _s(e,t){var n=e.stateNode;if(n===null)return null;var r=_f(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(j(231,t,typeof n));return n}var Ih=!1;if(tr)try{var $a={};Object.defineProperty($a,"passive",{get:function(){Ih=!0}}),window.addEventListener("test",$a,$a),window.removeEventListener("test",$a,$a)}catch{Ih=!1}function rR(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 Wa=!1,nc=null,rc=!1,jh=null,oR={onError:function(e){Wa=!0,nc=e}};function iR(e,t,n,r,o,i,a,s,l){Wa=!1,nc=null,rR.apply(oR,arguments)}function aR(e,t,n,r,o,i,a,s,l){if(iR.apply(this,arguments),Wa){if(Wa){var u=nc;Wa=!1,nc=null}else throw Error(j(198));rc||(rc=!0,jh=u)}}function Go(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 ob(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 U1(e){if(Go(e)!==e)throw Error(j(188))}function sR(e){var t=e.alternate;if(!t){if(t=Go(e),t===null)throw Error(j(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 U1(o),e;if(i===r)return U1(o),t;i=i.sibling}throw Error(j(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(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function ib(e){return e=sR(e),e!==null?ab(e):null}function ab(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ab(e);if(t!==null)return t;e=e.sibling}return null}var sb=Wt.unstable_scheduleCallback,H1=Wt.unstable_cancelCallback,lR=Wt.unstable_shouldYield,uR=Wt.unstable_requestPaint,Ue=Wt.unstable_now,cR=Wt.unstable_getCurrentPriorityLevel,Kv=Wt.unstable_ImmediatePriority,lb=Wt.unstable_UserBlockingPriority,oc=Wt.unstable_NormalPriority,fR=Wt.unstable_LowPriority,ub=Wt.unstable_IdlePriority,vf=null,Ln=null;function dR(e){if(Ln&&typeof Ln.onCommitFiberRoot=="function")try{Ln.onCommitFiberRoot(vf,e,void 0,(e.current.flags&128)===128)}catch{}}var xn=Math.clz32?Math.clz32:mR,pR=Math.log,hR=Math.LN2;function mR(e){return e>>>=0,e===0?32:31-(pR(e)/hR|0)|0}var Nl=64,Ll=4194304;function Va(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 ic(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=Va(s):(i&=a,i!==0&&(r=Va(i)))}else a=n&~o,a!==0?r=Va(a):i!==0&&(r=Va(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-xn(t),o=1<<n,r|=e[n],t&=~o;return r}function vR(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 gR(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-xn(i),s=1<<a,l=o[a];l===-1?((s&n)===0||(s&r)!==0)&&(o[a]=vR(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function Bh(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function cb(){var e=Nl;return Nl<<=1,(Nl&4194240)===0&&(Nl=64),e}function np(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xn(t),e[t]=n}function yR(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-xn(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Xv(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-xn(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ge=0;function fb(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var db,Zv,pb,hb,mb,Vh=!1,Ml=[],Br=null,Vr=null,zr=null,ws=new Map,bs=new Map,Or=[],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 G1(e,t){switch(e){case"focusin":case"focusout":Br=null;break;case"dragenter":case"dragleave":Vr=null;break;case"mouseover":case"mouseout":zr=null;break;case"pointerover":case"pointerout":ws.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bs.delete(t.pointerId)}}function Ta(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=il(t),t!==null&&Zv(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function _R(e,t,n,r,o){switch(t){case"focusin":return Br=Ta(Br,e,t,n,r,o),!0;case"dragenter":return Vr=Ta(Vr,e,t,n,r,o),!0;case"mouseover":return zr=Ta(zr,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ws.set(i,Ta(ws.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,bs.set(i,Ta(bs.get(i)||null,e,t,n,r,o)),!0}return!1}function vb(e){var t=Ao(e.target);if(t!==null){var n=Go(t);if(n!==null){if(t=n.tag,t===13){if(t=ob(n),t!==null){e.blockedOn=t,mb(e.priority,function(){pb(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 Tu(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zh(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Dh=r,n.target.dispatchEvent(r),Dh=null}else return t=il(n),t!==null&&Zv(t),e.blockedOn=n,!1;t.shift()}return!0}function Y1(e,t,n){Tu(e)&&n.delete(t)}function wR(){Vh=!1,Br!==null&&Tu(Br)&&(Br=null),Vr!==null&&Tu(Vr)&&(Vr=null),zr!==null&&Tu(zr)&&(zr=null),ws.forEach(Y1),bs.forEach(Y1)}function Ra(e,t){e.blockedOn===t&&(e.blockedOn=null,Vh||(Vh=!0,Wt.unstable_scheduleCallback(Wt.unstable_NormalPriority,wR)))}function Es(e){function t(o){return Ra(o,e)}if(0<Ml.length){Ra(Ml[0],e);for(var n=1;n<Ml.length;n++){var r=Ml[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Br!==null&&Ra(Br,e),Vr!==null&&Ra(Vr,e),zr!==null&&Ra(zr,e),ws.forEach(t),bs.forEach(t),n=0;n<Or.length;n++)r=Or[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Or.length&&(n=Or[0],n.blockedOn===null);)vb(n),n.blockedOn===null&&Or.shift()}var ki=mr.ReactCurrentBatchConfig,ac=!0;function bR(e,t,n,r){var o=ge,i=ki.transition;ki.transition=null;try{ge=1,Qv(e,t,n,r)}finally{ge=o,ki.transition=i}}function ER(e,t,n,r){var o=ge,i=ki.transition;ki.transition=null;try{ge=4,Qv(e,t,n,r)}finally{ge=o,ki.transition=i}}function Qv(e,t,n,r){if(ac){var o=zh(e,t,n,r);if(o===null)dp(e,t,r,sc,n),G1(e,r);else if(_R(o,e,t,n,r))r.stopPropagation();else if(G1(e,r),t&4&&-1<xR.indexOf(e)){for(;o!==null;){var i=il(o);if(i!==null&&db(i),i=zh(e,t,n,r),i===null&&dp(e,t,r,sc,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else dp(e,t,r,null,n)}}var sc=null;function zh(e,t,n,r){if(sc=null,e=qv(r),e=Ao(e),e!==null)if(t=Go(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ob(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 sc=e,null}function gb(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(cR()){case Kv:return 1;case lb:return 4;case oc:case fR:return 16;case ub:return 536870912;default:return 16}default:return 16}}var Mr=null,Jv=null,Ru=null;function yb(){if(Ru)return Ru;var e,t=Jv,n=t.length,r,o="value"in Mr?Mr.value:Mr.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 Ru=o.slice(e,1<r?1-r:void 0)}function Pu(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 Dl(){return!0}function W1(){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)?Dl:W1,this.isPropagationStopped=W1,this}return je(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=Dl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Dl)},persist:function(){},isPersistent:Dl}),t}var fa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},e0=Zt(fa),ol=je({},fa,{view:0,detail:0}),SR=Zt(ol),rp,op,Pa,gf=je({},ol,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t0,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!==Pa&&(Pa&&e.type==="mousemove"?(rp=e.screenX-Pa.screenX,op=e.screenY-Pa.screenY):op=rp=0,Pa=e),rp)},movementY:function(e){return"movementY"in e?e.movementY:op}}),q1=Zt(gf),CR=je({},gf,{dataTransfer:0}),AR=Zt(CR),$R=je({},ol,{relatedTarget:0}),ip=Zt($R),TR=je({},fa,{animationName:0,elapsedTime:0,pseudoElement:0}),RR=Zt(TR),PR=je({},fa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),OR=Zt(PR),kR=je({},fa,{data:0}),K1=Zt(kR),NR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},LR={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"},MR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function DR(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=MR[e])?!!t[e]:!1}function t0(){return DR}var FR=je({},ol,{key:function(e){if(e.key){var t=NR[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Pu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?LR[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t0,charCode:function(e){return e.type==="keypress"?Pu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),IR=Zt(FR),jR=je({},gf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),X1=Zt(jR),BR=je({},ol,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t0}),VR=Zt(BR),zR=je({},fa,{propertyName:0,elapsedTime:0,pseudoElement:0}),UR=Zt(zR),HR=je({},gf,{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}),GR=Zt(HR),YR=[9,13,27,32],n0=tr&&"CompositionEvent"in window,qa=null;tr&&"documentMode"in document&&(qa=document.documentMode);var WR=tr&&"TextEvent"in window&&!qa,xb=tr&&(!n0||qa&&8<qa&&11>=qa),Z1=String.fromCharCode(32),Q1=!1;function _b(e,t){switch(e){case"keyup":return YR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var di=!1;function qR(e,t){switch(e){case"compositionend":return wb(t);case"keypress":return t.which!==32?null:(Q1=!0,Z1);case"textInput":return e=t.data,e===Z1&&Q1?null:e;default:return null}}function KR(e,t){if(di)return e==="compositionend"||!n0&&_b(e,t)?(e=yb(),Ru=Jv=Mr=null,di=!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 xb&&t.locale!=="ko"?null:t.data;default:return null}}var XR={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 J1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!XR[e.type]:t==="textarea"}function bb(e,t,n,r){J2(r),t=lc(t,"onChange"),0<t.length&&(n=new e0("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ka=null,Ss=null;function ZR(e){Nb(e,0)}function yf(e){var t=mi(e);if(Y2(t))return e}function QR(e,t){if(e==="change")return t}var Eb=!1;if(tr){var ap;if(tr){var sp="oninput"in document;if(!sp){var ey=document.createElement("div");ey.setAttribute("oninput","return;"),sp=typeof ey.oninput=="function"}ap=sp}else ap=!1;Eb=ap&&(!document.documentMode||9<document.documentMode)}function ty(){Ka&&(Ka.detachEvent("onpropertychange",Sb),Ss=Ka=null)}function Sb(e){if(e.propertyName==="value"&&yf(Ss)){var t=[];bb(t,Ss,e,qv(e)),rb(ZR,t)}}function JR(e,t,n){e==="focusin"?(ty(),Ka=t,Ss=n,Ka.attachEvent("onpropertychange",Sb)):e==="focusout"&&ty()}function eP(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return yf(Ss)}function tP(e,t){if(e==="click")return yf(t)}function nP(e,t){if(e==="input"||e==="change")return yf(t)}function rP(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var En=typeof Object.is=="function"?Object.is:rP;function Cs(e,t){if(En(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(!Sh.call(t,o)||!En(e[o],t[o]))return!1}return!0}function ny(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ry(e,t){var n=ny(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=ny(n)}}function Cb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ab(){for(var e=window,t=tc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=tc(e.document)}return t}function r0(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 oP(e){var t=Ab(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Cb(n.ownerDocument.documentElement,n)){if(r!==null&&r0(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=ry(n,i);var a=ry(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 iP=tr&&"documentMode"in document&&11>=document.documentMode,pi=null,Uh=null,Xa=null,Hh=!1;function oy(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hh||pi==null||pi!==tc(r)||(r=pi,"selectionStart"in r&&r0(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}),Xa&&Cs(Xa,r)||(Xa=r,r=lc(Uh,"onSelect"),0<r.length&&(t=new e0("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pi)))}function Fl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var hi={animationend:Fl("Animation","AnimationEnd"),animationiteration:Fl("Animation","AnimationIteration"),animationstart:Fl("Animation","AnimationStart"),transitionend:Fl("Transition","TransitionEnd")},lp={},$b={};tr&&($b=document.createElement("div").style,"AnimationEvent"in window||(delete hi.animationend.animation,delete hi.animationiteration.animation,delete hi.animationstart.animation),"TransitionEvent"in window||delete hi.transitionend.transition);function xf(e){if(lp[e])return lp[e];if(!hi[e])return e;var t=hi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in $b)return lp[e]=t[n];return e}var Tb=xf("animationend"),Rb=xf("animationiteration"),Pb=xf("animationstart"),Ob=xf("transitionend"),kb=new Map,iy="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 lo(e,t){kb.set(e,t),Ho(t,[e])}for(var up=0;up<iy.length;up++){var cp=iy[up],aP=cp.toLowerCase(),sP=cp[0].toUpperCase()+cp.slice(1);lo(aP,"on"+sP)}lo(Tb,"onAnimationEnd");lo(Rb,"onAnimationIteration");lo(Pb,"onAnimationStart");lo("dblclick","onDoubleClick");lo("focusin","onFocus");lo("focusout","onBlur");lo(Ob,"onTransitionEnd");zi("onMouseEnter",["mouseout","mouseover"]);zi("onMouseLeave",["mouseout","mouseover"]);zi("onPointerEnter",["pointerout","pointerover"]);zi("onPointerLeave",["pointerout","pointerover"]);Ho("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ho("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ho("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ho("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ho("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ho("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var za="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(" "),lP=new Set("cancel close invalid load scroll toggle".split(" ").concat(za));function ay(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,aR(r,t,void 0,e),e.currentTarget=null}function Nb(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;ay(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;ay(o,s,u),i=l}}}if(rc)throw e=jh,rc=!1,jh=null,e}function Ne(e,t){var n=t[Kh];n===void 0&&(n=t[Kh]=new Set);var r=e+"__bubble";n.has(r)||(Lb(t,e,2,!1),n.add(r))}function fp(e,t,n){var r=0;t&&(r|=4),Lb(n,e,r,t)}var Il="_reactListening"+Math.random().toString(36).slice(2);function As(e){if(!e[Il]){e[Il]=!0,V2.forEach(function(n){n!=="selectionchange"&&(lP.has(n)||fp(n,!1,e),fp(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Il]||(t[Il]=!0,fp("selectionchange",!1,t))}}function Lb(e,t,n,r){switch(gb(t)){case 1:var o=bR;break;case 4:o=ER;break;default:o=Qv}n=o.bind(null,t,n,e),o=void 0,!Ih||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 dp(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=Ao(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}rb(function(){var u=i,c=qv(n),f=[];e:{var p=kb.get(e);if(p!==void 0){var h=e0,v=e;switch(e){case"keypress":if(Pu(n)===0)break e;case"keydown":case"keyup":h=IR;break;case"focusin":v="focus",h=ip;break;case"focusout":v="blur",h=ip;break;case"beforeblur":case"afterblur":h=ip;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=q1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=AR;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=VR;break;case Tb:case Rb:case Pb:h=RR;break;case Ob:h=UR;break;case"scroll":h=SR;break;case"wheel":h=GR;break;case"copy":case"cut":case"paste":h=OR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=X1}var m=(t&4)!==0,_=!m&&e==="scroll",g=m?p!==null?p+"Capture":null:p;m=[];for(var y=u,x;y!==null;){x=y;var w=x.stateNode;if(x.tag===5&&w!==null&&(x=w,g!==null&&(w=_s(y,g),w!=null&&m.push($s(y,w,x)))),_)break;y=y.return}0<m.length&&(p=new h(p,v,null,n,c),f.push({event:p,listeners:m}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==Dh&&(v=n.relatedTarget||n.fromElement)&&(Ao(v)||v[nr]))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?Ao(v):null,v!==null&&(_=Go(v),v!==_||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(m=q1,w="onMouseLeave",g="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(m=X1,w="onPointerLeave",g="onPointerEnter",y="pointer"),_=h==null?p:mi(h),x=v==null?p:mi(v),p=new m(w,y+"leave",h,n,c),p.target=_,p.relatedTarget=x,w=null,Ao(c)===u&&(m=new m(g,y+"enter",v,n,c),m.target=x,m.relatedTarget=_,w=m),_=w,h&&v)t:{for(m=h,g=v,y=0,x=m;x;x=Zo(x))y++;for(x=0,w=g;w;w=Zo(w))x++;for(;0<y-x;)m=Zo(m),y--;for(;0<x-y;)g=Zo(g),x--;for(;y--;){if(m===g||g!==null&&m===g.alternate)break t;m=Zo(m),g=Zo(g)}m=null}else m=null;h!==null&&sy(f,p,h,m,!1),v!==null&&_!==null&&sy(f,_,v,m,!0)}}e:{if(p=u?mi(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var b=QR;else if(J1(p))if(Eb)b=nP;else{b=eP;var E=JR}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(b=tP);if(b&&(b=b(e,u))){bb(f,b,n,c);break e}E&&E(e,p,u),e==="focusout"&&(E=p._wrapperState)&&E.controlled&&p.type==="number"&&Oh(p,"number",p.value)}switch(E=u?mi(u):window,e){case"focusin":(J1(E)||E.contentEditable==="true")&&(pi=E,Uh=u,Xa=null);break;case"focusout":Xa=Uh=pi=null;break;case"mousedown":Hh=!0;break;case"contextmenu":case"mouseup":case"dragend":Hh=!1,oy(f,n,c);break;case"selectionchange":if(iP)break;case"keydown":case"keyup":oy(f,n,c)}var S;if(n0)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 di?_b(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(xb&&n.locale!=="ko"&&(di||C!=="onCompositionStart"?C==="onCompositionEnd"&&di&&(S=yb()):(Mr=c,Jv="value"in Mr?Mr.value:Mr.textContent,di=!0)),E=lc(u,C),0<E.length&&(C=new K1(C,e,null,n,c),f.push({event:C,listeners:E}),S?C.data=S:(S=wb(n),S!==null&&(C.data=S)))),(S=WR?qR(e,n):KR(e,n))&&(u=lc(u,"onBeforeInput"),0<u.length&&(c=new K1("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=S))}Nb(f,t)})}function $s(e,t,n){return{instance:e,listener:t,currentTarget:n}}function lc(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=_s(e,n),i!=null&&r.unshift($s(e,i,o)),i=_s(e,t),i!=null&&r.push($s(e,i,o))),e=e.return}return r}function Zo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function sy(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=_s(n,i),l!=null&&a.unshift($s(n,l,s))):o||(l=_s(n,i),l!=null&&a.push($s(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var uP=/\r\n?/g,cP=/\u0000|\uFFFD/g;function ly(e){return(typeof e=="string"?e:""+e).replace(uP,`
30
+ `).replace(cP,"")}function jl(e,t,n){if(t=ly(t),ly(e)!==t&&n)throw Error(j(425))}function uc(){}var Gh=null,Yh=null;function Wh(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 qh=typeof setTimeout=="function"?setTimeout:void 0,fP=typeof clearTimeout=="function"?clearTimeout:void 0,uy=typeof Promise=="function"?Promise:void 0,dP=typeof queueMicrotask=="function"?queueMicrotask:typeof uy!="undefined"?function(e){return uy.resolve(null).then(e).catch(pP)}:qh;function pP(e){setTimeout(function(){throw e})}function pp(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),Es(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Es(t)}function Ur(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 cy(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 da=Math.random().toString(36).slice(2),Tn="__reactFiber$"+da,Ts="__reactProps$"+da,nr="__reactContainer$"+da,Kh="__reactEvents$"+da,hP="__reactListeners$"+da,mP="__reactHandles$"+da;function Ao(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[nr]||n[Tn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=cy(e);e!==null;){if(n=e[Tn])return n;e=cy(e)}return t}e=n,n=e.parentNode}return null}function il(e){return e=e[Tn]||e[nr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function _f(e){return e[Ts]||null}var Xh=[],vi=-1;function uo(e){return{current:e}}function Le(e){0>vi||(e.current=Xh[vi],Xh[vi]=null,vi--)}function Oe(e,t){vi++,Xh[vi]=e.current,e.current=t}var eo={},xt=uo(eo),Nt=uo(!1),Fo=eo;function Ui(e,t){var n=e.type.contextTypes;if(!n)return eo;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 Lt(e){return e=e.childContextTypes,e!=null}function cc(){Le(Nt),Le(xt)}function fy(e,t,n){if(xt.current!==eo)throw Error(j(168));Oe(xt,t),Oe(Nt,n)}function Mb(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(j(108,J3(e)||"Unknown",o));return je({},n,r)}function fc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||eo,Fo=xt.current,Oe(xt,e),Oe(Nt,Nt.current),!0}function dy(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Mb(e,t,Fo),r.__reactInternalMemoizedMergedChildContext=e,Le(Nt),Le(xt),Oe(xt,e)):Le(Nt),Oe(Nt,n)}var Kn=null,wf=!1,hp=!1;function Db(e){Kn===null?Kn=[e]:Kn.push(e)}function vP(e){wf=!0,Db(e)}function co(){if(!hp&&Kn!==null){hp=!0;var e=0,t=ge;try{var n=Kn;for(ge=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Kn=null,wf=!1}catch(o){throw Kn!==null&&(Kn=Kn.slice(e+1)),sb(Kv,co),o}finally{ge=t,hp=!1}}return null}var gi=[],yi=0,dc=null,pc=0,Jt=[],en=0,Io=null,Xn=1,Zn="";function _o(e,t){gi[yi++]=pc,gi[yi++]=dc,dc=e,pc=t}function Fb(e,t,n){Jt[en++]=Xn,Jt[en++]=Zn,Jt[en++]=Io,Io=e;var r=Xn;e=Zn;var o=32-xn(r)-1;r&=~(1<<o),n+=1;var i=32-xn(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xn=1<<32-xn(t)+o|n<<o|r,Zn=i+e}else Xn=1<<i|n<<o|r,Zn=e}function o0(e){e.return!==null&&(_o(e,1),Fb(e,1,0))}function i0(e){for(;e===dc;)dc=gi[--yi],gi[yi]=null,pc=gi[--yi],gi[yi]=null;for(;e===Io;)Io=Jt[--en],Jt[en]=null,Zn=Jt[--en],Jt[en]=null,Xn=Jt[--en],Jt[en]=null}var Yt=null,Ht=null,Me=!1,gn=null;function Ib(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 py(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,Ht=Ur(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Yt=e,Ht=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Io!==null?{id:Xn,overflow:Zn}: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,Ht=null,!0):!1;default:return!1}}function Zh(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Qh(e){if(Me){var t=Ht;if(t){var n=t;if(!py(e,t)){if(Zh(e))throw Error(j(418));t=Ur(n.nextSibling);var r=Yt;t&&py(e,t)?Ib(r,n):(e.flags=e.flags&-4097|2,Me=!1,Yt=e)}}else{if(Zh(e))throw Error(j(418));e.flags=e.flags&-4097|2,Me=!1,Yt=e}}}function hy(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Yt=e}function Bl(e){if(e!==Yt)return!1;if(!Me)return hy(e),Me=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Wh(e.type,e.memoizedProps)),t&&(t=Ht)){if(Zh(e))throw jb(),Error(j(418));for(;t;)Ib(e,t),t=Ur(t.nextSibling)}if(hy(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ht=Ur(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ht=null}}else Ht=Yt?Ur(e.stateNode.nextSibling):null;return!0}function jb(){for(var e=Ht;e;)e=Ur(e.nextSibling)}function Hi(){Ht=Yt=null,Me=!1}function a0(e){gn===null?gn=[e]:gn.push(e)}var gP=mr.ReactCurrentBatchConfig;function pn(e,t){if(e&&e.defaultProps){t=je({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var hc=uo(null),mc=null,xi=null,s0=null;function l0(){s0=xi=mc=null}function u0(e){var t=hc.current;Le(hc),e._currentValue=t}function Jh(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 Ni(e,t){mc=e,s0=xi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(kt=!0),e.firstContext=null)}function on(e){var t=e._currentValue;if(s0!==e)if(e={context:e,memoizedValue:t,next:null},xi===null){if(mc===null)throw Error(j(308));xi=e,mc.dependencies={lanes:0,firstContext:e}}else xi=xi.next=e;return t}var $o=null;function c0(e){$o===null?$o=[e]:$o.push(e)}function Bb(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,c0(t)):(n.next=o.next,o.next=n),t.interleaved=n,rr(e,r)}function rr(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 $r=!1;function f0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vb(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 Qn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Hr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(he&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,rr(e,n)}return o=r.interleaved,o===null?(t.next=t,c0(r)):(t.next=o.next,o.next=t),r.interleaved=t,rr(e,n)}function Ou(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,Xv(e,n)}}function my(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 vc(e,t,n,r){var o=e.updateQueue;$r=!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 f=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"){f=v.call(h,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,p=typeof v=="function"?v.call(h,f,p):v,p==null)break e;f=je({},f,p);break e;case 2:$r=!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=f):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=f),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);Bo|=a,e.lanes=a,e.memoizedState=f}}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(j(191,o));o.call(r)}}}var zb=new B2.Component().refs;function em(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:je({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var bf={isMounted:function(e){return(e=e._reactInternals)?Go(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ct(),o=Yr(e),i=Qn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Hr(e,i,o),t!==null&&(_n(t,e,o,r),Ou(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ct(),o=Yr(e),i=Qn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Hr(e,i,o),t!==null&&(_n(t,e,o,r),Ou(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ct(),r=Yr(e),o=Qn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Hr(e,o,r),t!==null&&(_n(t,e,r,n),Ou(t,e,r))}};function gy(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?!Cs(n,r)||!Cs(o,i):!0}function Ub(e,t,n){var r=!1,o=eo,i=t.contextType;return typeof i=="object"&&i!==null?i=on(i):(o=Lt(t)?Fo:xt.current,r=t.contextTypes,i=(r=r!=null)?Ui(e,o):eo),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bf,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function yy(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&&bf.enqueueReplaceState(t,t.state,null)}function tm(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=zb,f0(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=on(i):(i=Lt(t)?Fo:xt.current,o.context=Ui(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(em(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&&bf.enqueueReplaceState(o,o.state,null),vc(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Oa(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(j(309));var r=n.stateNode}if(!r)throw Error(j(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===zb&&(s=o.refs={}),a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function Vl(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function xy(e){var t=e._init;return t(e._payload)}function Hb(e){function t(g,y){if(e){var x=g.deletions;x===null?(g.deletions=[y],g.flags|=16):x.push(y)}}function n(g,y){if(!e)return null;for(;y!==null;)t(g,y),y=y.sibling;return null}function r(g,y){for(g=new Map;y!==null;)y.key!==null?g.set(y.key,y):g.set(y.index,y),y=y.sibling;return g}function o(g,y){return g=Wr(g,y),g.index=0,g.sibling=null,g}function i(g,y,x){return g.index=x,e?(x=g.alternate,x!==null?(x=x.index,x<y?(g.flags|=2,y):x):(g.flags|=2,y)):(g.flags|=1048576,y)}function a(g){return e&&g.alternate===null&&(g.flags|=2),g}function s(g,y,x,w){return y===null||y.tag!==6?(y=wp(x,g.mode,w),y.return=g,y):(y=o(y,x),y.return=g,y)}function l(g,y,x,w){var b=x.type;return b===fi?c(g,y,x.props.children,w,x.key):y!==null&&(y.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Ar&&xy(b)===y.type)?(w=o(y,x.props),w.ref=Oa(g,y,x),w.return=g,w):(w=Fu(x.type,x.key,x.props,null,g.mode,w),w.ref=Oa(g,y,x),w.return=g,w)}function u(g,y,x,w){return y===null||y.tag!==4||y.stateNode.containerInfo!==x.containerInfo||y.stateNode.implementation!==x.implementation?(y=bp(x,g.mode,w),y.return=g,y):(y=o(y,x.children||[]),y.return=g,y)}function c(g,y,x,w,b){return y===null||y.tag!==7?(y=No(x,g.mode,w,b),y.return=g,y):(y=o(y,x),y.return=g,y)}function f(g,y,x){if(typeof y=="string"&&y!==""||typeof y=="number")return y=wp(""+y,g.mode,x),y.return=g,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Pl:return x=Fu(y.type,y.key,y.props,null,g.mode,x),x.ref=Oa(g,null,y),x.return=g,x;case ci:return y=bp(y,g.mode,x),y.return=g,y;case Ar:var w=y._init;return f(g,w(y._payload),x)}if(Ba(y)||Aa(y))return y=No(y,g.mode,x,null),y.return=g,y;Vl(g,y)}return null}function p(g,y,x,w){var b=y!==null?y.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return b!==null?null:s(g,y,""+x,w);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Pl:return x.key===b?l(g,y,x,w):null;case ci:return x.key===b?u(g,y,x,w):null;case Ar:return b=x._init,p(g,y,b(x._payload),w)}if(Ba(x)||Aa(x))return b!==null?null:c(g,y,x,w,null);Vl(g,x)}return null}function h(g,y,x,w,b){if(typeof w=="string"&&w!==""||typeof w=="number")return g=g.get(x)||null,s(y,g,""+w,b);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Pl:return g=g.get(w.key===null?x:w.key)||null,l(y,g,w,b);case ci:return g=g.get(w.key===null?x:w.key)||null,u(y,g,w,b);case Ar:var E=w._init;return h(g,y,x,E(w._payload),b)}if(Ba(w)||Aa(w))return g=g.get(x)||null,c(y,g,w,b,null);Vl(y,w)}return null}function v(g,y,x,w){for(var b=null,E=null,S=y,C=y=0,T=null;S!==null&&C<x.length;C++){S.index>C?(T=S,S=null):T=S.sibling;var k=p(g,S,x[C],w);if(k===null){S===null&&(S=T);break}e&&S&&k.alternate===null&&t(g,S),y=i(k,y,C),E===null?b=k:E.sibling=k,E=k,S=T}if(C===x.length)return n(g,S),Me&&_o(g,C),b;if(S===null){for(;C<x.length;C++)S=f(g,x[C],w),S!==null&&(y=i(S,y,C),E===null?b=S:E.sibling=S,E=S);return Me&&_o(g,C),b}for(S=r(g,S);C<x.length;C++)T=h(S,g,C,x[C],w),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?C:T.key),y=i(T,y,C),E===null?b=T:E.sibling=T,E=T);return e&&S.forEach(function(G){return t(g,G)}),Me&&_o(g,C),b}function m(g,y,x,w){var b=Aa(x);if(typeof b!="function")throw Error(j(150));if(x=b.call(x),x==null)throw Error(j(151));for(var E=b=null,S=y,C=y=0,T=null,k=x.next();S!==null&&!k.done;C++,k=x.next()){S.index>C?(T=S,S=null):T=S.sibling;var G=p(g,S,k.value,w);if(G===null){S===null&&(S=T);break}e&&S&&G.alternate===null&&t(g,S),y=i(G,y,C),E===null?b=G:E.sibling=G,E=G,S=T}if(k.done)return n(g,S),Me&&_o(g,C),b;if(S===null){for(;!k.done;C++,k=x.next())k=f(g,k.value,w),k!==null&&(y=i(k,y,C),E===null?b=k:E.sibling=k,E=k);return Me&&_o(g,C),b}for(S=r(g,S);!k.done;C++,k=x.next())k=h(S,g,C,k.value,w),k!==null&&(e&&k.alternate!==null&&S.delete(k.key===null?C:k.key),y=i(k,y,C),E===null?b=k:E.sibling=k,E=k);return e&&S.forEach(function(F){return t(g,F)}),Me&&_o(g,C),b}function _(g,y,x,w){if(typeof x=="object"&&x!==null&&x.type===fi&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Pl:e:{for(var b=x.key,E=y;E!==null;){if(E.key===b){if(b=x.type,b===fi){if(E.tag===7){n(g,E.sibling),y=o(E,x.props.children),y.return=g,g=y;break e}}else if(E.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Ar&&xy(b)===E.type){n(g,E.sibling),y=o(E,x.props),y.ref=Oa(g,E,x),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}x.type===fi?(y=No(x.props.children,g.mode,w,x.key),y.return=g,g=y):(w=Fu(x.type,x.key,x.props,null,g.mode,w),w.ref=Oa(g,y,x),w.return=g,g=w)}return a(g);case ci:e:{for(E=x.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){n(g,y.sibling),y=o(y,x.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=bp(x,g.mode,w),y.return=g,g=y}return a(g);case Ar:return E=x._init,_(g,y,E(x._payload),w)}if(Ba(x))return v(g,y,x,w);if(Aa(x))return m(g,y,x,w);Vl(g,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(n(g,y.sibling),y=o(y,x),y.return=g,g=y):(n(g,y),y=wp(x,g.mode,w),y.return=g,g=y),a(g)):n(g,y)}return _}var Gi=Hb(!0),Gb=Hb(!1),al={},Mn=uo(al),Rs=uo(al),Ps=uo(al);function To(e){if(e===al)throw Error(j(174));return e}function d0(e,t){switch(Oe(Ps,t),Oe(Rs,e),Oe(Mn,al),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Nh(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Nh(t,e)}Le(Mn),Oe(Mn,t)}function Yi(){Le(Mn),Le(Rs),Le(Ps)}function Yb(e){To(Ps.current);var t=To(Mn.current),n=Nh(t,e.type);t!==n&&(Oe(Rs,e),Oe(Mn,n))}function p0(e){Rs.current===e&&(Le(Mn),Le(Rs))}var Fe=uo(0);function gc(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 mp=[];function h0(){for(var e=0;e<mp.length;e++)mp[e]._workInProgressVersionPrimary=null;mp.length=0}var ku=mr.ReactCurrentDispatcher,vp=mr.ReactCurrentBatchConfig,jo=0,Ie=null,Ke=null,et=null,yc=!1,Za=!1,Os=0,yP=0;function ft(){throw Error(j(321))}function m0(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!En(e[n],t[n]))return!1;return!0}function v0(e,t,n,r,o,i){if(jo=i,Ie=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ku.current=e===null||e.memoizedState===null?bP:EP,e=n(r,o),Za){i=0;do{if(Za=!1,Os=0,25<=i)throw Error(j(301));i+=1,et=Ke=null,t.updateQueue=null,ku.current=SP,e=n(r,o)}while(Za)}if(ku.current=xc,t=Ke!==null&&Ke.next!==null,jo=0,et=Ke=Ie=null,yc=!1,t)throw Error(j(300));return e}function g0(){var e=Os!==0;return Os=0,e}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?Ie.memoizedState=et=e:et=et.next=e,et}function an(){if(Ke===null){var e=Ie.alternate;e=e!==null?e.memoizedState:null}else e=Ke.next;var t=et===null?Ie.memoizedState:et.next;if(t!==null)et=t,Ke=e;else{if(e===null)throw Error(j(310));Ke=e,e={memoizedState:Ke.memoizedState,baseState:Ke.baseState,baseQueue:Ke.baseQueue,queue:Ke.queue,next:null},et===null?Ie.memoizedState=et=e:et=et.next=e}return et}function ks(e,t){return typeof t=="function"?t(e):t}function gp(e){var t=an(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=Ke,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((jo&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 f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=f,a=r):l=l.next=f,Ie.lanes|=c,Bo|=c}u=u.next}while(u!==null&&u!==i);l===null?a=r:l.next=s,En(r,t.memoizedState)||(kt=!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,Ie.lanes|=i,Bo|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function yp(e){var t=an(),n=t.queue;if(n===null)throw Error(j(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);En(i,t.memoizedState)||(kt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Wb(){}function qb(e,t){var n=Ie,r=an(),o=t(),i=!En(r.memoizedState,o);if(i&&(r.memoizedState=o,kt=!0),r=r.queue,y0(Zb.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||et!==null&&et.memoizedState.tag&1){if(n.flags|=2048,Ns(9,Xb.bind(null,n,r,o,t),void 0,null),nt===null)throw Error(j(349));(jo&30)!==0||Kb(n,t,o)}return o}function Kb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ie.updateQueue,t===null?(t={lastEffect:null,stores:null},Ie.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Xb(e,t,n,r){t.value=n,t.getSnapshot=r,Qb(t)&&Jb(e)}function Zb(e,t,n){return n(function(){Qb(t)&&Jb(e)})}function Qb(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!En(e,n)}catch{return!0}}function Jb(e){var t=rr(e,1);t!==null&&_n(t,e,1,-1)}function _y(e){var t=Cn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ks,lastRenderedState:e},t.queue=e,e=e.dispatch=wP.bind(null,Ie,e),[t.memoizedState,e]}function Ns(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ie.updateQueue,t===null?(t={lastEffect:null,stores:null},Ie.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 eE(){return an().memoizedState}function Nu(e,t,n,r){var o=Cn();Ie.flags|=e,o.memoizedState=Ns(1|t,n,void 0,r===void 0?null:r)}function Ef(e,t,n,r){var o=an();r=r===void 0?null:r;var i=void 0;if(Ke!==null){var a=Ke.memoizedState;if(i=a.destroy,r!==null&&m0(r,a.deps)){o.memoizedState=Ns(t,n,i,r);return}}Ie.flags|=e,o.memoizedState=Ns(1|t,n,i,r)}function wy(e,t){return Nu(8390656,8,e,t)}function y0(e,t){return Ef(2048,8,e,t)}function tE(e,t){return Ef(4,2,e,t)}function nE(e,t){return Ef(4,4,e,t)}function rE(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 oE(e,t,n){return n=n!=null?n.concat([e]):null,Ef(4,4,rE.bind(null,t,e),n)}function x0(){}function iE(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 aE(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 sE(e,t,n){return(jo&21)===0?(e.baseState&&(e.baseState=!1,kt=!0),e.memoizedState=n):(En(n,t)||(n=cb(),Ie.lanes|=n,Bo|=n,e.baseState=!0),t)}function xP(e,t){var n=ge;ge=n!==0&&4>n?n:4,e(!0);var r=vp.transition;vp.transition={};try{e(!1),t()}finally{ge=n,vp.transition=r}}function lE(){return an().memoizedState}function _P(e,t,n){var r=Yr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uE(e))cE(t,n);else if(n=Bb(e,t,n,r),n!==null){var o=Ct();_n(n,e,r,o),fE(n,t,r)}}function wP(e,t,n){var r=Yr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uE(e))cE(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,En(s,a)){var l=t.interleaved;l===null?(o.next=o,c0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Bb(e,t,o,r),n!==null&&(o=Ct(),_n(n,e,r,o),fE(n,t,r))}}function uE(e){var t=e.alternate;return e===Ie||t!==null&&t===Ie}function cE(e,t){Za=yc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fE(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xv(e,n)}}var xc={readContext:on,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useInsertionEffect:ft,useLayoutEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useMutableSource:ft,useSyncExternalStore:ft,useId:ft,unstable_isNewReconciler:!1},bP={readContext:on,useCallback:function(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e},useContext:on,useEffect:wy,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Nu(4194308,4,rE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Nu(4194308,4,e,t)},useInsertionEffect:function(e,t){return Nu(4,2,e,t)},useMemo:function(e,t){var n=Cn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Cn();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=_P.bind(null,Ie,e),[r.memoizedState,e]},useRef:function(e){var t=Cn();return e={current:e},t.memoizedState=e},useState:_y,useDebugValue:x0,useDeferredValue:function(e){return Cn().memoizedState=e},useTransition:function(){var e=_y(!1),t=e[0];return e=xP.bind(null,e[1]),Cn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ie,o=Cn();if(Me){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),nt===null)throw Error(j(349));(jo&30)!==0||Kb(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,wy(Zb.bind(null,r,i,e),[e]),r.flags|=2048,Ns(9,Xb.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Cn(),t=nt.identifierPrefix;if(Me){var n=Zn,r=Xn;n=(r&~(1<<32-xn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Os++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=yP++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},EP={readContext:on,useCallback:iE,useContext:on,useEffect:y0,useImperativeHandle:oE,useInsertionEffect:tE,useLayoutEffect:nE,useMemo:aE,useReducer:gp,useRef:eE,useState:function(){return gp(ks)},useDebugValue:x0,useDeferredValue:function(e){var t=an();return sE(t,Ke.memoizedState,e)},useTransition:function(){var e=gp(ks)[0],t=an().memoizedState;return[e,t]},useMutableSource:Wb,useSyncExternalStore:qb,useId:lE,unstable_isNewReconciler:!1},SP={readContext:on,useCallback:iE,useContext:on,useEffect:y0,useImperativeHandle:oE,useInsertionEffect:tE,useLayoutEffect:nE,useMemo:aE,useReducer:yp,useRef:eE,useState:function(){return yp(ks)},useDebugValue:x0,useDeferredValue:function(e){var t=an();return Ke===null?t.memoizedState=e:sE(t,Ke.memoizedState,e)},useTransition:function(){var e=yp(ks)[0],t=an().memoizedState;return[e,t]},useMutableSource:Wb,useSyncExternalStore:qb,useId:lE,unstable_isNewReconciler:!1};function Wi(e,t){try{var n="",r=t;do n+=Q3(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 xp(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function nm(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var CP=typeof WeakMap=="function"?WeakMap:Map;function dE(e,t,n){n=Qn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wc||(wc=!0,dm=r),nm(e,t)},n}function pE(e,t,n){n=Qn(-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(){nm(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){nm(e,t),typeof r!="function"&&(Gr===null?Gr=new Set([this]):Gr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function by(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new CP;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=jP.bind(null,e,t,n),t.then(e,e))}function Ey(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 Sy(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=Qn(-1,1),t.tag=2,Hr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var AP=mr.ReactCurrentOwner,kt=!1;function wt(e,t,n,r){t.child=e===null?Gb(t,null,n,r):Gi(t,e.child,n,r)}function Cy(e,t,n,r,o){n=n.render;var i=t.ref;return Ni(t,o),r=v0(e,t,n,r,i,o),n=g0(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,or(e,t,o)):(Me&&n&&o0(t),t.flags|=1,wt(e,t,r,o),t.child)}function Ay(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!$0(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,hE(e,t,i,r,o)):(e=Fu(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:Cs,n(a,r)&&e.ref===t.ref)return or(e,t,o)}return t.flags|=1,e=Wr(i,r),e.ref=t.ref,e.return=t,t.child=e}function hE(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Cs(i,r)&&e.ref===t.ref)if(kt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(kt=!0);else return t.lanes=e.lanes,or(e,t,o)}return rm(e,t,n,r,o)}function mE(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},Oe(wi,zt),zt|=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,Oe(wi,zt),zt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,Oe(wi,zt),zt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,Oe(wi,zt),zt|=r;return wt(e,t,o,n),t.child}function vE(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function rm(e,t,n,r,o){var i=Lt(n)?Fo:xt.current;return i=Ui(t,i),Ni(t,o),n=v0(e,t,n,r,i,o),r=g0(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,or(e,t,o)):(Me&&r&&o0(t),t.flags|=1,wt(e,t,n,o),t.child)}function $y(e,t,n,r,o){if(Lt(n)){var i=!0;fc(t)}else i=!1;if(Ni(t,o),t.stateNode===null)Lu(e,t),Ub(t,n,r),tm(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=Lt(n)?Fo:xt.current,u=Ui(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&yy(t,a,r,u),$r=!1;var p=t.memoizedState;a.state=p,vc(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Nt.current||$r?(typeof c=="function"&&(em(t,n,c,r),l=t.memoizedState),(s=$r||gy(t,n,s,r,p,l,u))?(f||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,Vb(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:pn(t.type,s),a.props=u,f=t.pendingProps,p=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=on(l):(l=Lt(n)?Fo:xt.current,l=Ui(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==f||p!==l)&&yy(t,a,r,l),$r=!1,p=t.memoizedState,a.state=p,vc(t,r,a,o);var v=t.memoizedState;s!==f||p!==v||Nt.current||$r?(typeof h=="function"&&(em(t,n,h,r),v=t.memoizedState),(u=$r||gy(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 om(e,t,n,r,i,o)}function om(e,t,n,r,o,i){vE(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&dy(t,n,!1),or(e,t,i);r=t.stateNode,AP.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Gi(t,e.child,null,i),t.child=Gi(t,null,s,i)):wt(e,t,s,i),t.memoizedState=r.state,o&&dy(t,n,!0),t.child}function gE(e){var t=e.stateNode;t.pendingContext?fy(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fy(e,t.context,!1),d0(e,t.containerInfo)}function Ty(e,t,n,r,o){return Hi(),a0(o),t.flags|=256,wt(e,t,n,r),t.child}var im={dehydrated:null,treeContext:null,retryLane:0};function am(e){return{baseLanes:e,cachePool:null,transitions:null}}function yE(e,t,n){var r=t.pendingProps,o=Fe.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),Oe(Fe,o&1),e===null)return Qh(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=Af(a,r,0,null),e=No(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=am(n),t.memoizedState=im,e):_0(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return $P(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=Wr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Wr(s,i):(i=No(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?am(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=im,r}return i=e.child,e=i.sibling,r=Wr(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 _0(e,t){return t=Af({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function zl(e,t,n,r){return r!==null&&a0(r),Gi(t,e.child,null,n),e=_0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function $P(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=xp(Error(j(422))),zl(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Af({mode:"visible",children:r.children},o,0,null),i=No(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Gi(t,e.child,null,a),t.child.memoizedState=am(a),t.memoizedState=im,i);if((t.mode&1)===0)return zl(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(j(419)),r=xp(i,r,void 0),zl(e,t,a,r)}if(s=(a&e.childLanes)!==0,kt||s){if(r=nt,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,rr(e,o),_n(r,e,o,-1))}return A0(),r=xp(Error(j(421))),zl(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=BP.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ht=Ur(o.nextSibling),Yt=t,Me=!0,gn=null,e!==null&&(Jt[en++]=Xn,Jt[en++]=Zn,Jt[en++]=Io,Xn=e.id,Zn=e.overflow,Io=t),t=_0(t,r.children),t.flags|=4096,t)}function Ry(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Jh(e.return,t,n)}function _p(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 xE(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wt(e,t,r.children,n),r=Fe.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&&Ry(e,n,t);else if(e.tag===19)Ry(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(Oe(Fe,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&&gc(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),_p(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&&gc(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}_p(t,!0,n,null,i);break;case"together":_p(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Lu(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function or(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Bo|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=Wr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Wr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function TP(e,t,n){switch(t.tag){case 3:gE(t),Hi();break;case 5:Yb(t);break;case 1:Lt(t.type)&&fc(t);break;case 4:d0(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Oe(hc,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Oe(Fe,Fe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?yE(e,t,n):(Oe(Fe,Fe.current&1),e=or(e,t,n),e!==null?e.sibling:null);Oe(Fe,Fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return xE(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Oe(Fe,Fe.current),r)break;return null;case 22:case 23:return t.lanes=0,mE(e,t,n)}return or(e,t,n)}var _E,sm,wE,bE;_E=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}};sm=function(){};wE=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,To(Mn.current);var i=null;switch(n){case"input":o=Rh(e,o),r=Rh(e,r),i=[];break;case"select":o=je({},o,{value:void 0}),r=je({},r,{value:void 0}),i=[];break;case"textarea":o=kh(e,o),r=kh(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=uc)}Lh(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"&&(ys.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"&&(ys.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Ne("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)}};bE=function(e,t,n,r){n!==r&&(t.flags|=4)};function ka(e,t){if(!Me)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 dt(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 RP(e,t,n){var r=t.pendingProps;switch(i0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(t),null;case 1:return Lt(t.type)&&cc(),dt(t),null;case 3:return r=t.stateNode,Yi(),Le(Nt),Le(xt),h0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Bl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,gn!==null&&(mm(gn),gn=null))),sm(e,t),dt(t),null;case 5:p0(t);var o=To(Ps.current);if(n=t.type,e!==null&&t.stateNode!=null)wE(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return dt(t),null}if(e=To(Mn.current),Bl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Tn]=t,r[Ts]=i,e=(t.mode&1)!==0,n){case"dialog":Ne("cancel",r),Ne("close",r);break;case"iframe":case"object":case"embed":Ne("load",r);break;case"video":case"audio":for(o=0;o<za.length;o++)Ne(za[o],r);break;case"source":Ne("error",r);break;case"img":case"image":case"link":Ne("error",r),Ne("load",r);break;case"details":Ne("toggle",r);break;case"input":I1(r,i),Ne("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ne("invalid",r);break;case"textarea":B1(r,i),Ne("invalid",r)}Lh(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&&jl(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&jl(r.textContent,s,e),o=["children",""+s]):ys.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Ne("scroll",r)}switch(n){case"input":Ol(r),j1(r,i,!0);break;case"textarea":Ol(r),V1(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=uc)}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=K2(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[Tn]=t,e[Ts]=r,_E(e,t,!1,!1),t.stateNode=e;e:{switch(a=Mh(n,r),n){case"dialog":Ne("cancel",e),Ne("close",e),o=r;break;case"iframe":case"object":case"embed":Ne("load",e),o=r;break;case"video":case"audio":for(o=0;o<za.length;o++)Ne(za[o],e);o=r;break;case"source":Ne("error",e),o=r;break;case"img":case"image":case"link":Ne("error",e),Ne("load",e),o=r;break;case"details":Ne("toggle",e),o=r;break;case"input":I1(e,r),o=Rh(e,r),Ne("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=je({},r,{value:void 0}),Ne("invalid",e);break;case"textarea":B1(e,r),o=kh(e,r),Ne("invalid",e);break;default:o=r}Lh(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?Q2(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&X2(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&xs(e,l):typeof l=="number"&&xs(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ys.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Ne("scroll",e):l!=null&&Hv(e,i,l,a))}switch(n){case"input":Ol(e),j1(e,r,!1);break;case"textarea":Ol(e),V1(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Jr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Ri(e,!!r.multiple,i,!1):r.defaultValue!=null&&Ri(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=uc)}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 dt(t),null;case 6:if(e&&t.stateNode!=null)bE(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=To(Ps.current),To(Mn.current),Bl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Tn]=t,(i=r.nodeValue!==n)&&(e=Yt,e!==null))switch(e.tag){case 3:jl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&jl(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Tn]=t,t.stateNode=r}return dt(t),null;case 13:if(Le(Fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Me&&Ht!==null&&(t.mode&1)!==0&&(t.flags&128)===0)jb(),Hi(),t.flags|=98560,i=!1;else if(i=Bl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(j(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(j(317));i[Tn]=t}else Hi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;dt(t),i=!1}else gn!==null&&(mm(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||(Fe.current&1)!==0?Ze===0&&(Ze=3):A0())),t.updateQueue!==null&&(t.flags|=4),dt(t),null);case 4:return Yi(),sm(e,t),e===null&&As(t.stateNode.containerInfo),dt(t),null;case 10:return u0(t.type._context),dt(t),null;case 17:return Lt(t.type)&&cc(),dt(t),null;case 19:if(Le(Fe),i=t.memoizedState,i===null)return dt(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)ka(i,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=gc(e),a!==null){for(t.flags|=128,ka(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 Oe(Fe,Fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ue()>qi&&(t.flags|=128,r=!0,ka(i,!1),t.lanes=4194304)}else{if(!r)if(e=gc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ka(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Me)return dt(t),null}else 2*Ue()-i.renderingStartTime>qi&&n!==1073741824&&(t.flags|=128,r=!0,ka(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=Ue(),t.sibling=null,n=Fe.current,Oe(Fe,r?n&1|2:n&1),t):(dt(t),null);case 22:case 23:return C0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(zt&1073741824)!==0&&(dt(t),t.subtreeFlags&6&&(t.flags|=8192)):dt(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function PP(e,t){switch(i0(t),t.tag){case 1:return Lt(t.type)&&cc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yi(),Le(Nt),Le(xt),h0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return p0(t),null;case 13:if(Le(Fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));Hi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Le(Fe),null;case 4:return Yi(),null;case 10:return u0(t.type._context),null;case 22:case 23:return C0(),null;case 24:return null;default:return null}}var Ul=!1,ht=!1,OP=typeof WeakSet=="function"?WeakSet:Set,X=null;function _i(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function lm(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var Py=!1;function kP(e,t){if(Gh=ac,e=Ab(),r0(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,f=e,p=null;t:for(;;){for(var h;f!==n||o!==0&&f.nodeType!==3||(s=a+o),f!==i||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(h=f.firstChild)!==null;)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===o&&(s=a),p===i&&++c===r&&(l=a),(h=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Yh={focusedElem:e,selectionRange:n},ac=!1,X=t;X!==null;)if(t=X,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,X=e;else for(;X!==null;){t=X;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,_=v.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:pn(t.type,m),_);g.__reactInternalSnapshotBeforeUpdate=y}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(j(163))}}catch(w){Ve(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,X=e;break}X=t.return}return v=Py,Py=!1,v}function Qa(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&&lm(t,n,i)}o=o.next}while(o!==r)}}function Sf(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 um(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 EE(e){var t=e.alternate;t!==null&&(e.alternate=null,EE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tn],delete t[Ts],delete t[Kh],delete t[hP],delete t[mP])),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 SE(e){return e.tag===5||e.tag===3||e.tag===4}function Oy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||SE(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 cm(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=uc));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}function fm(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(fm(e,t,n),e=e.sibling;e!==null;)fm(e,t,n),e=e.sibling}var it=null,mn=!1;function _r(e,t,n){for(n=n.child;n!==null;)CE(e,t,n),n=n.sibling}function CE(e,t,n){if(Ln&&typeof Ln.onCommitFiberUnmount=="function")try{Ln.onCommitFiberUnmount(vf,n)}catch{}switch(n.tag){case 5:ht||_i(n,t);case 6:var r=it,o=mn;it=null,_r(e,t,n),it=r,mn=o,it!==null&&(mn?(e=it,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):it.removeChild(n.stateNode));break;case 18:it!==null&&(mn?(e=it,n=n.stateNode,e.nodeType===8?pp(e.parentNode,n):e.nodeType===1&&pp(e,n),Es(e)):pp(it,n.stateNode));break;case 4:r=it,o=mn,it=n.stateNode.containerInfo,mn=!0,_r(e,t,n),it=r,mn=o;break;case 0:case 11:case 14:case 15:if(!ht&&(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)&&lm(n,t,a),o=o.next}while(o!==r)}_r(e,t,n);break;case 1:if(!ht&&(_i(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ve(n,t,s)}_r(e,t,n);break;case 21:_r(e,t,n);break;case 22:n.mode&1?(ht=(r=ht)||n.memoizedState!==null,_r(e,t,n),ht=r):_r(e,t,n);break;default:_r(e,t,n)}}function ky(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new OP),t.forEach(function(r){var o=VP.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:it=s.stateNode,mn=!1;break e;case 3:it=s.stateNode.containerInfo,mn=!0;break e;case 4:it=s.stateNode.containerInfo,mn=!0;break e}s=s.return}if(it===null)throw Error(j(160));CE(i,a,o),it=null,mn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){Ve(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)AE(t,e),t=t.sibling}function AE(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(cn(t,e),Sn(e),r&4){try{Qa(3,e,e.return),Sf(3,e)}catch(m){Ve(e,e.return,m)}try{Qa(5,e,e.return)}catch(m){Ve(e,e.return,m)}}break;case 1:cn(t,e),Sn(e),r&512&&n!==null&&_i(n,n.return);break;case 5:if(cn(t,e),Sn(e),r&512&&n!==null&&_i(n,n.return),e.flags&32){var o=e.stateNode;try{xs(o,"")}catch(m){Ve(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&&W2(o,i),Mh(s,a);var u=Mh(s,i);for(a=0;a<l.length;a+=2){var c=l[a],f=l[a+1];c==="style"?Q2(o,f):c==="dangerouslySetInnerHTML"?X2(o,f):c==="children"?xs(o,f):Hv(o,c,f,u)}switch(s){case"input":Ph(o,i);break;case"textarea":q2(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?Ri(o,!!i.multiple,h,!1):p!==!!i.multiple&&(i.defaultValue!=null?Ri(o,!!i.multiple,i.defaultValue,!0):Ri(o,!!i.multiple,i.multiple?[]:"",!1))}o[Ts]=i}catch(m){Ve(e,e.return,m)}}break;case 6:if(cn(t,e),Sn(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){Ve(e,e.return,m)}}break;case 3:if(cn(t,e),Sn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Es(t.containerInfo)}catch(m){Ve(e,e.return,m)}break;case 4:cn(t,e),Sn(e);break;case 13:cn(t,e),Sn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(E0=Ue())),r&4&&ky(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ht=(u=ht)||c,cn(t,e),ht=u):cn(t,e),Sn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(X=e,c=e.child;c!==null;){for(f=X=c;X!==null;){switch(p=X,h=p.child,p.tag){case 0:case 11:case 14:case 15:Qa(4,p,p.return);break;case 1:_i(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){Ve(r,n,m)}}break;case 5:_i(p,p.return);break;case 22:if(p.memoizedState!==null){Ly(f);continue}}h!==null?(h.return=p,X=h):Ly(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=f.stateNode,l=f.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=Z2("display",a))}catch(m){Ve(e,e.return,m)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Ve(e,e.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:cn(t,e),Sn(e),r&4&&ky(e);break;case 21:break;default:cn(t,e),Sn(e)}}function Sn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(SE(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(xs(o,""),r.flags&=-33);var i=Oy(e);fm(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=Oy(e);cm(e,s,a);break;default:throw Error(j(161))}}catch(l){Ve(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function NP(e,t,n){X=e,$E(e)}function $E(e,t,n){for(var r=(e.mode&1)!==0;X!==null;){var o=X,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Ul;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||ht;s=Ul;var u=ht;if(Ul=a,(ht=l)&&!u)for(X=o;X!==null;)a=X,l=a.child,a.tag===22&&a.memoizedState!==null?My(o):l!==null?(l.return=a,X=l):My(o);for(;i!==null;)X=i,$E(i),i=i.sibling;X=o,Ul=s,ht=u}Ny(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,X=i):Ny(e)}}function Ny(e){for(;X!==null;){var t=X;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:ht||Sf(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ht)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 f=c.dehydrated;f!==null&&Es(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}ht||t.flags&512&&um(t)}catch(p){Ve(t,t.return,p)}}if(t===e){X=null;break}if(n=t.sibling,n!==null){n.return=t.return,X=n;break}X=t.return}}function Ly(e){for(;X!==null;){var t=X;if(t===e){X=null;break}var n=t.sibling;if(n!==null){n.return=t.return,X=n;break}X=t.return}}function My(e){for(;X!==null;){var t=X;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Sf(4,t)}catch(l){Ve(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Ve(t,o,l)}}var i=t.return;try{um(t)}catch(l){Ve(t,i,l)}break;case 5:var a=t.return;try{um(t)}catch(l){Ve(t,a,l)}}}catch(l){Ve(t,t.return,l)}if(t===e){X=null;break}var s=t.sibling;if(s!==null){s.return=t.return,X=s;break}X=t.return}}var LP=Math.ceil,_c=mr.ReactCurrentDispatcher,w0=mr.ReactCurrentOwner,rn=mr.ReactCurrentBatchConfig,he=0,nt=null,Ye=null,lt=0,zt=0,wi=uo(0),Ze=0,Ls=null,Bo=0,Cf=0,b0=0,Ja=null,Pt=null,E0=0,qi=1/0,Yn=null,wc=!1,dm=null,Gr=null,Hl=!1,Dr=null,bc=0,es=0,pm=null,Mu=-1,Du=0;function Ct(){return(he&6)!==0?Ue():Mu!==-1?Mu:Mu=Ue()}function Yr(e){return(e.mode&1)===0?1:(he&2)!==0&&lt!==0?lt&-lt:gP.transition!==null?(Du===0&&(Du=cb()),Du):(e=ge,e!==0||(e=window.event,e=e===void 0?16:gb(e.type)),e)}function _n(e,t,n,r){if(50<es)throw es=0,pm=null,Error(j(185));rl(e,n,r),((he&2)===0||e!==nt)&&(e===nt&&((he&2)===0&&(Cf|=n),Ze===4&&kr(e,lt)),Mt(e,r),n===1&&he===0&&(t.mode&1)===0&&(qi=Ue()+500,wf&&co()))}function Mt(e,t){var n=e.callbackNode;gR(e,t);var r=ic(e,e===nt?lt:0);if(r===0)n!==null&&H1(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&H1(n),t===1)e.tag===0?vP(Dy.bind(null,e)):Db(Dy.bind(null,e)),dP(function(){(he&6)===0&&co()}),n=null;else{switch(fb(r)){case 1:n=Kv;break;case 4:n=lb;break;case 16:n=oc;break;case 536870912:n=ub;break;default:n=oc}n=ME(n,TE.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function TE(e,t){if(Mu=-1,Du=0,(he&6)!==0)throw Error(j(327));var n=e.callbackNode;if(Li()&&e.callbackNode!==n)return null;var r=ic(e,e===nt?lt:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=Ec(e,r);else{t=r;var o=he;he|=2;var i=PE();(nt!==e||lt!==t)&&(Yn=null,qi=Ue()+500,ko(e,t));do try{FP();break}catch(s){RE(e,s)}while(1);l0(),_c.current=i,he=o,Ye!==null?t=0:(nt=null,lt=0,t=Ze)}if(t!==0){if(t===2&&(o=Bh(e),o!==0&&(r=o,t=hm(e,o))),t===1)throw n=Ls,ko(e,0),kr(e,r),Mt(e,Ue()),n;if(t===6)kr(e,r);else{if(o=e.current.alternate,(r&30)===0&&!MP(o)&&(t=Ec(e,r),t===2&&(i=Bh(e),i!==0&&(r=i,t=hm(e,i))),t===1))throw n=Ls,ko(e,0),kr(e,r),Mt(e,Ue()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:wo(e,Pt,Yn);break;case 3:if(kr(e,r),(r&130023424)===r&&(t=E0+500-Ue(),10<t)){if(ic(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Ct(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=qh(wo.bind(null,e,Pt,Yn),t);break}wo(e,Pt,Yn);break;case 4:if(kr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-xn(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=Ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*LP(r/1960))-r,10<r){e.timeoutHandle=qh(wo.bind(null,e,Pt,Yn),r);break}wo(e,Pt,Yn);break;case 5:wo(e,Pt,Yn);break;default:throw Error(j(329))}}}return Mt(e,Ue()),e.callbackNode===n?TE.bind(null,e):null}function hm(e,t){var n=Ja;return e.current.memoizedState.isDehydrated&&(ko(e,t).flags|=256),e=Ec(e,t),e!==2&&(t=Pt,Pt=n,t!==null&&mm(t)),e}function mm(e){Pt===null?Pt=e:Pt.push.apply(Pt,e)}function MP(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(!En(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function kr(e,t){for(t&=~b0,t&=~Cf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-xn(t),r=1<<n;e[n]=-1,t&=~r}}function Dy(e){if((he&6)!==0)throw Error(j(327));Li();var t=ic(e,0);if((t&1)===0)return Mt(e,Ue()),null;var n=Ec(e,t);if(e.tag!==0&&n===2){var r=Bh(e);r!==0&&(t=r,n=hm(e,r))}if(n===1)throw n=Ls,ko(e,0),kr(e,t),Mt(e,Ue()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wo(e,Pt,Yn),Mt(e,Ue()),null}function S0(e,t){var n=he;he|=1;try{return e(t)}finally{he=n,he===0&&(qi=Ue()+500,wf&&co())}}function Vo(e){Dr!==null&&Dr.tag===0&&(he&6)===0&&Li();var t=he;he|=1;var n=rn.transition,r=ge;try{if(rn.transition=null,ge=1,e)return e()}finally{ge=r,rn.transition=n,he=t,(he&6)===0&&co()}}function C0(){zt=wi.current,Le(wi)}function ko(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,fP(n)),Ye!==null)for(n=Ye.return;n!==null;){var r=n;switch(i0(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&cc();break;case 3:Yi(),Le(Nt),Le(xt),h0();break;case 5:p0(r);break;case 4:Yi();break;case 13:Le(Fe);break;case 19:Le(Fe);break;case 10:u0(r.type._context);break;case 22:case 23:C0()}n=n.return}if(nt=e,Ye=e=Wr(e.current,null),lt=zt=t,Ze=0,Ls=null,b0=Cf=Bo=0,Pt=Ja=null,$o!==null){for(t=0;t<$o.length;t++)if(n=$o[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}$o=null}return e}function RE(e,t){do{var n=Ye;try{if(l0(),ku.current=xc,yc){for(var r=Ie.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}yc=!1}if(jo=0,et=Ke=Ie=null,Za=!1,Os=0,w0.current=null,n===null||n.return===null){Ze=1,Ls=t,Ye=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=lt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,f=c.tag;if((c.mode&1)===0&&(f===0||f===11||f===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=Ey(a);if(h!==null){h.flags&=-257,Sy(h,a,s,i,t),h.mode&1&&by(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){by(i,u,t),A0();break e}l=Error(j(426))}}else if(Me&&s.mode&1){var _=Ey(a);if(_!==null){(_.flags&65536)===0&&(_.flags|=256),Sy(_,a,s,i,t),a0(Wi(l,s));break e}}i=l=Wi(l,s),Ze!==4&&(Ze=2),Ja===null?Ja=[i]:Ja.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=dE(i,l,t);my(i,g);break e;case 1:s=l;var y=i.type,x=i.stateNode;if((i.flags&128)===0&&(typeof y.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Gr===null||!Gr.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=pE(i,s,t);my(i,w);break e}}i=i.return}while(i!==null)}kE(n)}catch(b){t=b,Ye===n&&n!==null&&(Ye=n=n.return);continue}break}while(1)}function PE(){var e=_c.current;return _c.current=xc,e===null?xc:e}function A0(){(Ze===0||Ze===3||Ze===2)&&(Ze=4),nt===null||(Bo&268435455)===0&&(Cf&268435455)===0||kr(nt,lt)}function Ec(e,t){var n=he;he|=2;var r=PE();(nt!==e||lt!==t)&&(Yn=null,ko(e,t));do try{DP();break}catch(o){RE(e,o)}while(1);if(l0(),he=n,_c.current=r,Ye!==null)throw Error(j(261));return nt=null,lt=0,Ze}function DP(){for(;Ye!==null;)OE(Ye)}function FP(){for(;Ye!==null&&!lR();)OE(Ye)}function OE(e){var t=LE(e.alternate,e,zt);e.memoizedProps=e.pendingProps,t===null?kE(e):Ye=t,w0.current=null}function kE(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=RP(n,t,zt),n!==null){Ye=n;return}}else{if(n=PP(n,t),n!==null){n.flags&=32767,Ye=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ze=6,Ye=null;return}}if(t=t.sibling,t!==null){Ye=t;return}Ye=t=e}while(t!==null);Ze===0&&(Ze=5)}function wo(e,t,n){var r=ge,o=rn.transition;try{rn.transition=null,ge=1,IP(e,t,n,r)}finally{rn.transition=o,ge=r}return null}function IP(e,t,n,r){do Li();while(Dr!==null);if((he&6)!==0)throw Error(j(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(j(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(yR(e,i),e===nt&&(Ye=nt=null,lt=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Hl||(Hl=!0,ME(oc,function(){return Li(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=rn.transition,rn.transition=null;var a=ge;ge=1;var s=he;he|=4,w0.current=null,kP(e,n),AE(n,e),oP(Yh),ac=!!Gh,Yh=Gh=null,e.current=n,NP(n),uR(),he=s,ge=a,rn.transition=i}else e.current=n;if(Hl&&(Hl=!1,Dr=e,bc=o),i=e.pendingLanes,i===0&&(Gr=null),dR(n.stateNode),Mt(e,Ue()),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(wc)throw wc=!1,e=dm,dm=null,e;return(bc&1)!==0&&e.tag!==0&&Li(),i=e.pendingLanes,(i&1)!==0?e===pm?es++:(es=0,pm=e):es=0,co(),null}function Li(){if(Dr!==null){var e=fb(bc),t=rn.transition,n=ge;try{if(rn.transition=null,ge=16>e?16:e,Dr===null)var r=!1;else{if(e=Dr,Dr=null,bc=0,(he&6)!==0)throw Error(j(331));var o=he;for(he|=4,X=e.current;X!==null;){var i=X,a=i.child;if((X.flags&16)!==0){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(X=u;X!==null;){var c=X;switch(c.tag){case 0:case 11:case 15:Qa(8,c,i)}var f=c.child;if(f!==null)f.return=c,X=f;else for(;X!==null;){c=X;var p=c.sibling,h=c.return;if(EE(c),c===u){X=null;break}if(p!==null){p.return=h,X=p;break}X=h}}}var v=i.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var _=m.sibling;m.sibling=null,m=_}while(m!==null)}}X=i}}if((i.subtreeFlags&2064)!==0&&a!==null)a.return=i,X=a;else e:for(;X!==null;){if(i=X,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Qa(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,X=g;break e}X=i.return}}var y=e.current;for(X=y;X!==null;){a=X;var x=a.child;if((a.subtreeFlags&2064)!==0&&x!==null)x.return=a,X=x;else e:for(a=y;X!==null;){if(s=X,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:Sf(9,s)}}catch(b){Ve(s,s.return,b)}if(s===a){X=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,X=w;break e}X=s.return}}if(he=o,co(),Ln&&typeof Ln.onPostCommitFiberRoot=="function")try{Ln.onPostCommitFiberRoot(vf,e)}catch{}r=!0}return r}finally{ge=n,rn.transition=t}}return!1}function Fy(e,t,n){t=Wi(n,t),t=dE(e,t,1),e=Hr(e,t,1),t=Ct(),e!==null&&(rl(e,1,t),Mt(e,t))}function Ve(e,t,n){if(e.tag===3)Fy(e,e,n);else for(;t!==null;){if(t.tag===3){Fy(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gr===null||!Gr.has(r))){e=Wi(n,e),e=pE(t,e,1),t=Hr(t,e,1),e=Ct(),t!==null&&(rl(t,1,e),Mt(t,e));break}}t=t.return}}function jP(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ct(),e.pingedLanes|=e.suspendedLanes&n,nt===e&&(lt&n)===n&&(Ze===4||Ze===3&&(lt&130023424)===lt&&500>Ue()-E0?ko(e,0):b0|=n),Mt(e,t)}function NE(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ll,Ll<<=1,(Ll&130023424)===0&&(Ll=4194304)));var n=Ct();e=rr(e,t),e!==null&&(rl(e,t,n),Mt(e,n))}function BP(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),NE(e,n)}function VP(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(j(314))}r!==null&&r.delete(t),NE(e,n)}var LE;LE=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nt.current)kt=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return kt=!1,TP(e,t,n);kt=(e.flags&131072)!==0}else kt=!1,Me&&(t.flags&1048576)!==0&&Fb(t,pc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lu(e,t),e=t.pendingProps;var o=Ui(t,xt.current);Ni(t,n),o=v0(null,t,r,e,o,n);var i=g0();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,Lt(r)?(i=!0,fc(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,f0(t),o.updater=bf,t.stateNode=o,o._reactInternals=t,tm(t,r,e,n),t=om(null,t,r,!0,i,n)):(t.tag=0,Me&&i&&o0(t),wt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lu(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=UP(r),e=pn(r,e),o){case 0:t=rm(null,t,r,e,n);break e;case 1:t=$y(null,t,r,e,n);break e;case 11:t=Cy(null,t,r,e,n);break e;case 14:t=Ay(null,t,r,pn(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),rm(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),$y(e,t,r,o,n);case 3:e:{if(gE(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Vb(e,t),vc(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=Wi(Error(j(423)),t),t=Ty(e,t,r,n,o);break e}else if(r!==o){o=Wi(Error(j(424)),t),t=Ty(e,t,r,n,o);break e}else for(Ht=Ur(t.stateNode.containerInfo.firstChild),Yt=t,Me=!0,gn=null,n=Gb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hi(),r===o){t=or(e,t,n);break e}wt(e,t,r,n)}t=t.child}return t;case 5:return Yb(t),e===null&&Qh(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Wh(r,o)?a=null:i!==null&&Wh(r,i)&&(t.flags|=32),vE(e,t),wt(e,t,a,n),t.child;case 6:return e===null&&Qh(t),null;case 13:return yE(e,t,n);case 4:return d0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Gi(t,null,r,n):wt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),Cy(e,t,r,o,n);case 7:return wt(e,t,t.pendingProps,n),t.child;case 8:return wt(e,t,t.pendingProps.children,n),t.child;case 12:return wt(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,Oe(hc,r._currentValue),r._currentValue=a,i!==null)if(En(i.value,a)){if(i.children===o.children&&!Nt.current){t=or(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=Qn(-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),Jh(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(j(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Jh(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}wt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ni(t,n),o=on(o),r=r(o),t.flags|=1,wt(e,t,r,n),t.child;case 14:return r=t.type,o=pn(r,t.pendingProps),o=pn(r.type,o),Ay(e,t,r,o,n);case 15:return hE(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:pn(r,o),Lu(e,t),t.tag=1,Lt(r)?(e=!0,fc(t)):e=!1,Ni(t,n),Ub(t,r,o),tm(t,r,o,n),om(null,t,r,!0,e,n);case 19:return xE(e,t,n);case 22:return mE(e,t,n)}throw Error(j(156,t.tag))};function ME(e,t){return sb(e,t)}function zP(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 zP(e,t,n,r)}function $0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function UP(e){if(typeof e=="function")return $0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yv)return 11;if(e===Wv)return 14}return 2}function Wr(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 Fu(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")$0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case fi:return No(n.children,o,i,t);case Gv:a=8,o|=8;break;case Ch:return e=tn(12,n,t,o|2),e.elementType=Ch,e.lanes=i,e;case Ah:return e=tn(13,n,t,o),e.elementType=Ah,e.lanes=i,e;case $h:return e=tn(19,n,t,o),e.elementType=$h,e.lanes=i,e;case H2:return Af(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case z2:a=10;break e;case U2:a=9;break e;case Yv:a=11;break e;case Wv:a=14;break e;case Ar:a=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=tn(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function No(e,t,n,r){return e=tn(7,e,r,t),e.lanes=n,e}function Af(e,t,n,r){return e=tn(22,e,r,t),e.elementType=H2,e.lanes=n,e.stateNode={isHidden:!1},e}function wp(e,t,n){return e=tn(6,e,null,t),e.lanes=n,e}function bp(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 HP(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=np(0),this.expirationTimes=np(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=np(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function T0(e,t,n,r,o,i,a,s,l){return e=new HP(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},f0(i),e}function GP(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ci,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function DE(e){if(!e)return eo;e=e._reactInternals;e:{if(Go(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(Lt(n))return Mb(e,n,t)}return t}function FE(e,t,n,r,o,i,a,s,l){return e=T0(n,r,!0,e,o,i,a,s,l),e.context=DE(null),n=e.current,r=Ct(),o=Yr(n),i=Qn(r,o),i.callback=t!=null?t:null,Hr(n,i,o),e.current.lanes=o,rl(e,o,r),Mt(e,r),e}function $f(e,t,n,r){var o=t.current,i=Ct(),a=Yr(o);return n=DE(n),t.context===null?t.context=n:t.pendingContext=n,t=Qn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Hr(o,t,a),e!==null&&(_n(e,o,a,i),Ou(e,o,a)),a}function Sc(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 Iy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function R0(e,t){Iy(e,t),(e=e.alternate)&&Iy(e,t)}function YP(){return null}var IE=typeof reportError=="function"?reportError:function(e){console.error(e)};function P0(e){this._internalRoot=e}Tf.prototype.render=P0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));$f(e,t,null,null)};Tf.prototype.unmount=P0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Vo(function(){$f(null,e,null,null)}),t[nr]=null}};function Tf(e){this._internalRoot=e}Tf.prototype.unstable_scheduleHydration=function(e){if(e){var t=hb();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Or.length&&t!==0&&t<Or[n].priority;n++);Or.splice(n,0,e),n===0&&vb(e)}};function O0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Rf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function jy(){}function WP(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Sc(a);i.call(u)}}var a=FE(t,r,e,0,null,!1,!1,"",jy);return e._reactRootContainer=a,e[nr]=a.current,As(e.nodeType===8?e.parentNode:e),Vo(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=Sc(l);s.call(u)}}var l=T0(e,0,!1,null,null,!1,!1,"",jy);return e._reactRootContainer=l,e[nr]=l.current,As(e.nodeType===8?e.parentNode:e),Vo(function(){$f(t,l,n,r)}),l}function Pf(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=Sc(a);s.call(l)}}$f(t,a,e,o)}else a=WP(n,t,e,o,r);return Sc(a)}db=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Va(t.pendingLanes);n!==0&&(Xv(t,n|1),Mt(t,Ue()),(he&6)===0&&(qi=Ue()+500,co()))}break;case 13:Vo(function(){var r=rr(e,1);if(r!==null){var o=Ct();_n(r,e,1,o)}}),R0(e,1)}};Zv=function(e){if(e.tag===13){var t=rr(e,134217728);if(t!==null){var n=Ct();_n(t,e,134217728,n)}R0(e,134217728)}};pb=function(e){if(e.tag===13){var t=Yr(e),n=rr(e,t);if(n!==null){var r=Ct();_n(n,e,t,r)}R0(e,t)}};hb=function(){return ge};mb=function(e,t){var n=ge;try{return ge=e,t()}finally{ge=n}};Fh=function(e,t,n){switch(t){case"input":if(Ph(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=_f(r);if(!o)throw Error(j(90));Y2(r),Ph(r,o)}}}break;case"textarea":q2(e,n);break;case"select":t=n.value,t!=null&&Ri(e,!!n.multiple,t,!1)}};tb=S0;nb=Vo;var qP={usingClientEntryPoint:!1,Events:[il,mi,_f,J2,eb,S0]},Na={findFiberByHostInstance:Ao,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},KP={bundleType:Na.bundleType,version:Na.version,rendererPackageName:Na.rendererPackageName,rendererConfig:Na.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:mr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ib(e),e===null?null:e.stateNode},findFiberByHostInstance:Na.findFiberByHostInstance||YP,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Gl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gl.isDisabled&&Gl.supportsFiber)try{vf=Gl.inject(KP),Ln=Gl}catch{}}Xt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qP;Xt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!O0(t))throw Error(j(200));return GP(e,t,null,n)};Xt.createRoot=function(e,t){if(!O0(e))throw Error(j(299));var n=!1,r="",o=IE;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=T0(e,1,!1,null,null,n,!1,r,o),e[nr]=t.current,As(e.nodeType===8?e.parentNode:e),new P0(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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=ib(t),e=e===null?null:e.stateNode,e};Xt.flushSync=function(e){return Vo(e)};Xt.hydrate=function(e,t,n){if(!Rf(t))throw Error(j(200));return Pf(null,e,t,!0,n)};Xt.hydrateRoot=function(e,t,n){if(!O0(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=IE;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=FE(t,null,e,1,n!=null?n:null,o,!1,i,a),e[nr]=t.current,As(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 Tf(t)};Xt.render=function(e,t,n){if(!Rf(t))throw Error(j(200));return Pf(null,e,t,!1,n)};Xt.unmountComponentAtNode=function(e){if(!Rf(e))throw Error(j(40));return e._reactRootContainer?(Vo(function(){Pf(null,null,e,!1,function(){e._reactRootContainer=null,e[nr]=null})}),!0):!1};Xt.unstable_batchedUpdates=S0;Xt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Rf(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Pf(e,t,n,!1,r)};Xt.version="18.2.0-next-9e3b772b8-20220608";function jE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jE)}catch(e){console.error(e)}}jE(),$t.exports=Xt;var BE=$t.exports,By=$t.exports;Eh.createRoot=By.createRoot,Eh.hydrateRoot=By.hydrateRoot;function XP(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function Of(){return!XP()&&Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]"}function Fr(e,t){return e.require(t)}function ZP(e){let t;try{t=Fr(module,e)}catch{}try{const{cwd:n}=Fr(module,"process");t=Fr(module,`${n()}/node_modules/${e}`)}catch{}return t}var QP={};function we(){return Of()?global:typeof window!="undefined"?window:typeof self!="undefined"?self:QP}function k0(e,t,n){var r=n||we(),o=r.__SENTRY__=r.__SENTRY__||{},i=o[e]||(o[e]=t());return i}var VE=Object.prototype.toString;function zE(e){switch(VE.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return vr(e,Error)}}function pa(e,t){return VE.call(e)===`[object ${t}]`}function UE(e){return pa(e,"ErrorEvent")}function Vy(e){return pa(e,"DOMError")}function JP(e){return pa(e,"DOMException")}function to(e){return pa(e,"String")}function HE(e){return e===null||typeof e!="object"&&typeof e!="function"}function Ki(e){return pa(e,"Object")}function N0(e){return typeof Event!="undefined"&&vr(e,Event)}function e4(e){return typeof Element!="undefined"&&vr(e,Element)}function t4(e){return pa(e,"RegExp")}function L0(e){return Boolean(e&&e.then&&typeof e.then=="function")}function n4(e){return Ki(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function GE(e){return typeof e=="number"&&e!==e}function vr(e,t){try{return e instanceof t}catch{return!1}}function Ms(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=r4(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{return"<unknown>"}}function r4(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(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),o=n.className,o&&to(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 o4(){var e=we();try{return e.document.location.href}catch{return""}}class mt 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 i4=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a4(e){return e==="http"||e==="https"}function M0(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 s4(e){var t=i4.exec(e);if(!t)throw new mt(`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 f=u.match(/^\d+/);f&&(u=f[0])}return YE({host:i,pass:o,path:l,projectId:u,port:a,protocol:n,publicKey:r})}function YE(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l4(e){if(!(typeof __SENTRY_DEBUG__=="undefined"||__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 mt(`Invalid Sentry Dsn: ${i} missing`)}),!n.match(/^\d+$/))throw new mt(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!a4(r))throw new mt(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new mt(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function u4(e){var t=typeof e=="string"?s4(e):YE(e);return l4(t),t}var c4=we(),f4="Sentry Logger ",Cc=["debug","info","warn","error","log","assert","trace"];function WE(e){var t=we();if(!("console"in t))return e();var n=t.console,r={};Cc.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 zy(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?Cc.forEach(n=>{t[n]=(...r)=>{e&&WE(()=>{c4.console[n](`${f4}[${n}]:`,...r)})}}):Cc.forEach(n=>{t[n]=()=>{}}),t}let U;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?U=k0("logger",zy):U=zy();function ts(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function Uy(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{n.push("[value cannot be serialized]")}}return n.join(t)}function Ds(e,t){return to(e)?t4(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function vt(e,t,n){if(t in e){var r=e[t],o=n(r);if(typeof o=="function")try{qE(o,r)}catch{}e[t]=o}}function D0(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function qE(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,D0(e,"__sentry_original__",t)}function F0(e){return e.__sentry_original__}function d4(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function KE(e){if(zE(e))return{message:e.message,name:e.name,stack:e.stack,...Gy(e)};if(N0(e)){var t={type:e.type,target:Hy(e.target),currentTarget:Hy(e.currentTarget),...Gy(e)};return typeof CustomEvent!="undefined"&&vr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Hy(e){try{return e4(e)?Ms(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function Gy(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 p4(e,t=40){var n=Object.keys(KE(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return ts(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:ts(r,t)}return""}function qr(e){var t=new Map;return vm(e,t)}function vm(e,t){if(Ki(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]!="undefined"&&(r[o]=vm(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(vm(s,t))}),r}return e}function Nr(e,t){return e!=null?e:t()}function h4(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 m4=50;function XE(...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 g4(o)}}function v4(e){return Array.isArray(e)?XE(...e):e}function g4(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,m4).map(o=>({...o,filename:o.filename||t[0].filename,function:o.function||"?"})).reverse()}var Ep="<anonymous>";function no(e){try{return!e||typeof e!="function"?Ep:e.name||Ep}catch{return Ep}}function I0(){if(!("fetch"in we()))return!1;try{return new Headers,new Request(""),new Response,!0}catch{return!1}}function gm(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function y4(){if(!I0())return!1;var e=we();if(gm(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=gm(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return t}function x4(){var e=we(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}var De=we(),ns={},Yy={};function _4(e){if(!Yy[e])switch(Yy[e]=!0,e){case"console":w4();break;case"dom":P4();break;case"xhr":C4();break;case"fetch":b4();break;case"history":A4();break;case"error":O4();break;case"unhandledrejection":k4();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("unknown instrumentation type:",e);return}}function Ut(e,t){ns[e]=ns[e]||[],ns[e].push(t),_4(e)}function wn(e,t){if(!(!e||!ns[e]))for(var n of ns[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.error(`Error while triggering instrumentation handler.
34
+ Type: ${e}
35
+ Name: ${no(n)}
36
+ Error:`,r)}}function w4(){"console"in De&&Cc.forEach(function(e){e in De.console&&vt(De.console,e,function(t){return function(...n){wn("console",{args:n,level:e}),t&&t.apply(De.console,n)}})})}function b4(){!y4()||vt(De,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:E4(t),url:S4(t)},startTimestamp:Date.now()};return wn("fetch",{...n}),e.apply(De,t).then(r=>(wn("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw wn("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function E4(e=[]){return"Request"in De&&vr(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function S4(e=[]){return typeof e[0]=="string"?e[0]:"Request"in De&&vr(e[0],Request)?e[0].url:String(e[0])}function C4(){if("XMLHttpRequest"in De){var e=XMLHttpRequest.prototype;vt(e,"open",function(t){return function(...n){var r=this,o=n[1],i=r.__sentry_xhr__={method:to(n[0])?n[0].toUpperCase():n[0],url:n[1]};to(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{}wn("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?vt(r,"onreadystatechange",function(s){return function(...l){return a(),s.apply(r,l)}}):r.addEventListener("readystatechange",a),t.apply(r,n)}}),vt(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),wn("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let Yl;function A4(){if(!x4())return;var e=De.onpopstate;De.onpopstate=function(...n){var r=De.location.href,o=Yl;if(Yl=r,wn("history",{from:o,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){var o=r.length>2?r[2]:void 0;if(o){var i=Yl,a=String(o);Yl=a,wn("history",{from:i,to:a})}return n.apply(this,r)}}vt(De.history,"pushState",t),vt(De.history,"replaceState",t)}var $4=1e3;let Wl,ql;function T4(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function R4(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{}return!0}function Wy(e,t=!1){return n=>{if(!(!n||ql===n)&&!R4(n)){var r=n.type==="keypress"?"input":n.type;Wl===void 0?(e({event:n,name:r,global:t}),ql=n):T4(ql,n)&&(e({event:n,name:r,global:t}),ql=n),clearTimeout(Wl),Wl=De.setTimeout(()=>{Wl=void 0},$4)}}}function P4(){if("document"in De){var e=wn.bind(null,"dom"),t=Wy(e,!0);De.document.addEventListener("click",t,!1),De.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=De[n]&&De[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(vt(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 f=Wy(e);c.handler=f,o.call(this,i,f,s)}c.refCount+=1}catch{}return o.call(this,i,a,s)}}),vt(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{}return o.call(this,i,a,s)}}))})}}let Sp=null;function O4(){Sp=De.onerror,De.onerror=function(e,t,n,r,o){return wn("error",{column:r,error:o,line:n,msg:e,url:t}),Sp?Sp.apply(this,arguments):!1}}let Cp=null;function k4(){Cp=De.onunhandledrejection,De.onunhandledrejection=function(e){return wn("unhandledrejection",e),Cp?Cp.apply(this,arguments):!0}}function N4(){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 Kr(){var e=we(),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 ZE(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ro(e){const{message:t,event_id:n}=e;if(t)return t;var r=ZE(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function ym(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 Fs(e,t){var n=ZE(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 qy(e){if(e&&e.__sentry_captured__)return!0;try{D0(e,"__sentry_captured__",!0)}catch{}return!1}function bo(e,t=1/0,n=1/0){try{return xm("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function QE(e,t=3,n=100*1024){var r=bo(e,t);return D4(r)>n?QE(e,t-1,n):r}function xm(e,t,n=1/0,r=1/0,o=N4()){const[i,a]=o;if(t===null||["number","boolean","string"].includes(typeof t)&&!GE(t))return t;var s=L4(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 xm("",u,n-1,r,o)}catch{}var c=Array.isArray(t)?[]:{};let f=0;var p=KE(t);for(var h in p)if(!!Object.prototype.hasOwnProperty.call(p,h)){if(f>=r){c[h]="[MaxProperties ~]";break}var v=p[h];c[h]=xm(h,v,n-1,r,o),f+=1}return a(t),c}function L4(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global!="undefined"&&t===global?"[Global]":typeof window!="undefined"&&t===window?"[Window]":typeof document!="undefined"&&t===document?"[Document]":n4(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${no(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 M4(e){return~-encodeURI(e).split(/%..|./).length}function D4(e){return M4(JSON.stringify(e))}var Wn;(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"})(Wn||(Wn={}));function zo(e){return new bt(t=>{t(e)})}function _m(e){return new bt((t,n)=>{n(e)})}class bt{__init(){this._state=Wn.PENDING}__init2(){this._handlers=[]}constructor(t){bt.prototype.__init.call(this),bt.prototype.__init2.call(this),bt.prototype.__init3.call(this),bt.prototype.__init4.call(this),bt.prototype.__init5.call(this),bt.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new bt((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 bt((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(Wn.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Wn.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Wn.PENDING){if(L0(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==Wn.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Wn.RESOLVED&&n[1](this._value),this._state===Wn.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function F4(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 _m(new mt("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 bt((s,l)=>{let u=t.length;if(!u)return s(!0);var c=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(f=>{zo(f).then(()=>{--u||(clearTimeout(c),s(!0))},l)})})}return{$:t,add:o,drain:i}}function Ap(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 I4=["fatal","error","warning","log","info","debug"];function j4(e){return e==="warn"?"warning":I4.includes(e)?e:"log"}var wm={nowSeconds:()=>Date.now()/1e3};function B4(){const{performance:e}=we();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function V4(){try{var e=Fr(module,"perf_hooks");return e.performance}catch{return}}var $p=Of()?V4():B4(),Ky=$p===void 0?wm:{nowSeconds:()=>($p.timeOrigin+$p.now())/1e3},kf=wm.nowSeconds.bind(wm),j0=Ky.nowSeconds.bind(Ky),Is=j0,Xi=(()=>{const{performance:e}=we();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}})(),z4=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function U4(e){var t=e.match(z4);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function Nf(e,t=[]){return[e,t]}function H4(e,t){const[n,r]=e;return[n,[...r,t]]}function Xy(e,t){var n=e[1];n.forEach(r=>{var o=r[0].type;t(r,o)})}function bm(e,t){var n=t||new TextEncoder;return n.encode(e)}function JE(e,t){const[n,r]=e;let o=JSON.stringify(n);function i(s){typeof o=="string"?o=typeof s=="string"?o+s:[bm(o,t),s]:o.push(typeof s=="string"?bm(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:G4(o)}function G4(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 Y4(e,t){var n=typeof e.data=="string"?bm(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 W4={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function Zy(e){return W4[e]}function q4(e,t,n){var r=[{type:"client_report"},{timestamp:n||kf(),discarded_events:e}];return Nf(t?{dsn:t}:{},[r])}var K4=60*1e3;function X4(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?K4:r-t}function Z4(e,t){return e[t]||e.all||0}function Q4(e,t,n=Date.now()){return Z4(e,t)>n}function J4(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[f,p]=s.split(":",2);var l=parseInt(f,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+X4(a,r):t===429&&(o.all=r+60*1e3);return o}var bi="baggage",e9="sentry-",Qy=/^sentry-/,t9=8192;function Ac(e,t="",n=!0){return[{...e},t,n]}function n9(e){return Object.keys(e[0]).length===0}function eS(e){return e[0]}function r9(e){return e[1]}function o9(e){return e[2]}function i9(e){e[2]=!1}function a9(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],o=`${e9}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=t===""?o:`${t},${o}`;return i.length>t9?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):i},e[1])}function tS(e,t=!1){if(!Array.isArray(e)&&!to(e)||typeof e=="number")return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("[parseBaggageHeader] Received input value of incompatible type: ",typeof e,e),Ac({},"");var n=(to(e)?e:e.join(",")).split(",").map(r=>r.trim()).filter(r=>r!==""&&(t||Qy.test(r)));return n.reduce(([r,o],i)=>{const[a,s]=i.split("=");if(Qy.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 Ua(e,t){if(!e&&!t)return"";var n=t&&tS(t,!0)||void 0,r=n&&r9(n),o=Ac(e&&e[0]||{},r||"");return a9(o)}function s9(e,t){var n=tS(e||"");return(t||!n9(n))&&i9(n),n}function l9(e){var t=j0(),n={sid:Kr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>c9(n)};return e&&Zi(n,e),n}function Zi(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||j0(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Kr()),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 u9(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),Zi(e,n)}function c9(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 Jy=100;class Xr{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 Xr;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&&Zi(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 Xr?n:this}return t instanceof Xr?(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)):Ki(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,Jy):Jy;if(r<=0)return this;var o={timestamp:kf(),...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([...nS(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,o=0){return new bt((i,a)=>{var s=t[o];if(n===null||typeof s!="function")i(n);else{var l=s({...n},r);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&s.id&&l===null&&U.log(`Event processor "${s.id}" dropped event`),L0(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 nS(){return k0("globalEventProcessors",()=>[])}function B0(e){nS().push(e)}var V0=4,f9=100;class sl{__init(){this._stack=[{}]}constructor(t,n=new Xr,r=V0){this._version=r,sl.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=Xr.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:Kr(),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:Kr(),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:Kr();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=f9}=o.getOptions&&o.getOptions()||{};if(!(a<=0)){var s=kf(),l={timestamp:s,...t},u=i?WE(()=>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=ex(this);try{t(this)}finally{ex(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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&&u9(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:o,environment:i}=r&&r.getOptions()||{};var a=we();const{userAgent:s}=a.navigator||{};var l=l9({release:o,environment:i,...n&&{user:n.getUser()},...s&&{userAgent:s},...t});if(n){var u=n.getSession&&n.getSession();u&&u.status==="ok"&&Zi(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=ha(),o=r.__SENTRY__;if(o&&o.extensions&&typeof o.extensions[t]=="function")return o.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function ha(){var e=we();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function ex(e){var t=ha(),n=Lr(t);return z0(t,e),n}function He(){var e=ha();return(!rS(e)||Lr(e).isOlderThan(V0))&&z0(e,new sl),Of()?d9(e):Lr(e)}function d9(e){try{var t=ha().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return Lr(e);if(!rS(n)||Lr(n).isOlderThan(V0)){var r=Lr(e).getStackTop();z0(n,new sl(r.client,Xr.clone(r.scope)))}return Lr(n)}catch{return Lr(e)}}function rS(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Lr(e){return k0("hub",()=>new sl,e)}function z0(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function p9(e,t){return He().captureException(e,{captureContext:t})}function h9(e){He().withScope(e)}var m9="7";function v9(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function g9(e){return`${v9(e)}${e.projectId}/envelope/`}function y9(e,t){return d4({sentry_key:e.publicKey,sentry_version:m9,...t&&{sentry_client:`${t.name}/${t.version}`}})}function oS(e,t={}){var n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${g9(e)}?${y9(e,r)}`}function iS(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function x9(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 _9(e,t,n,r){var o=iS(n),i={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!r&&{dsn:M0(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return Nf(i,[a])}function w9(e,t,n,r){var o=iS(n),i=e.type||"event";const{transactionSampling:a}=e.sdkProcessingMetadata||{},{method:s,rate:l}=a||{};x9(e,n&&n.sdk);var u=b9(e,o,r,t);delete e.sdkProcessingMetadata;var c=[{type:i,sample_rates:[{id:s,rate:l}]},e];return Nf(u,[c])}function b9(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&eS(o);return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:M0(r)},...e.type==="transaction"&&i&&{trace:qr({...i})}}}var tx=[];function nx(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=[...nx(t)];Array.isArray(n)?r=[...r.filter(a=>n.every(s=>s.name!==a.name)),...nx(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 S9(e){var t={};return e.forEach(n=>{t[n.name]=n,tx.indexOf(n.name)===-1&&(n.setupOnce(B0,He),tx.push(n.name),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`Integration installed: ${n.name}`))}),t}var rx="Not capturing exception because it's already been captured.";class Ei{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Ei.prototype.__init.call(this),Ei.prototype.__init2.call(this),Ei.prototype.__init3.call(this),Ei.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=u4(t.dsn);var n=oS(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(qy(t)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(rx);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=HE(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&&qy(n.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(rx);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__=="undefined"||__SENTRY_DEBUG__)&&U.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Zi(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)):zo(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=S9(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let o=w9(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])o=H4(o,Y4(r,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(o)}}sendSession(t){if(this._dsn){var n=_9(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__=="undefined"||__SENTRY_DEBUG__)&&U.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&&(Zi(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new bt(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||Kr(),timestamp:t.timestamp||kf()};this._applyClientOptions(a),this._applyIntegrationsMetadata(a);let s=r;n.captureContext&&(s=Xr.clone(s).update(n.captureContext));let l=zo(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:bo(i.data,n,r)}}))},...t.user&&{user:bo(t.user,n,r)},...t.contexts&&{contexts:bo(t.contexts,n,r)},...t.extra&&{extra:bo(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=bo(t.contexts.trace.data,n,r))),t.spans&&(o.spans=t.spans.map(i=>(i.data&&(i.data=bo(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=ts(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=ts(s.value,a));var l=t.request;l&&l.url&&(l.url=ts(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__=="undefined"||__SENTRY_DEBUG__){var i=o;i.logLevel==="log"?U.log(i.message):U.warn(i)}})}_processEvent(t,n,r){const{beforeSend:o,sampleRate:i}=this.getOptions();if(!this._isEnabled())return _m(new mt("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"),_m(new mt(`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 mt("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 C9(u)}).then(s=>{if(s===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new mt("`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 mt?s:(this.captureException(s,{data:{__sentry__:!0},originalException:s}),new mt(`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__=="undefined"||__SENTRY_DEBUG__)&&U.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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 C9(e){var t="`beforeSend` method has to return `null` or a valid event.";if(L0(e))return e.then(n=>{if(!(Ki(n)||n===null))throw new mt(t);return n},n=>{throw new mt(`beforeSend rejected with ${n}`)});if(!(Ki(e)||e===null))throw new mt(t);return e}function A9(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?U.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=He(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}var $9=30;function aS(e,t,n=F4(e.bufferSize||$9)){let r={};var o=a=>n.drain(a);function i(a){var s=[];if(Xy(a,(f,p)=>{var h=Zy(p);Q4(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):s.push(f)}),s.length===0)return zo();var l=Nf(a[0],s),u=f=>{Xy(l,(p,h)=>{e.recordDroppedEvent(f,Zy(h))})},c=()=>t({body:JE(l,e.textEncoder)}).then(f=>{f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=J4(r,f)},f=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.error("Failed while sending event:",f),u("network_error")});return n.add(c).then(f=>f,f=>{if(f instanceof mt)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.error("Skipped sending event due to full buffer"),u("queue_overflow"),zo();throw f})}return{send:i,flush:o}}var $c="7.11.1";let ox;class js{constructor(){js.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=js.id}setupOnce(){ox=Function.prototype.toString,Function.prototype.toString=function(...t){var n=F0(this)||this;return ox.apply(n,t)}}}js.__initStatic();var T9=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Mi{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Mi.id}constructor(t={}){this._options=t,Mi.prototype.__init.call(this)}setupOnce(t,n){var r=o=>{var i=n();if(i){var a=i.getIntegration(Mi);if(a){var s=i.getClient(),l=s?s.getOptions():{},u=R9(a._options,l);return P9(o,u)?null:o}}return o};r.id=this.name,t(r)}}Mi.__initStatic();function R9(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...T9],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function P9(e,t){return t.ignoreInternal&&M9(e)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Event dropped due to being internal Sentry Error.
40
+ Event: ${Ro(e)}`),!0):O9(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
41
+ Event: ${Ro(e)}`),!0):k9(e,t.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Event dropped due to being matched by \`denyUrls\` option.
42
+ Event: ${Ro(e)}.
43
+ Url: ${Tc(e)}`),!0):N9(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`Event dropped due to not being matched by \`allowUrls\` option.
44
+ Event: ${Ro(e)}.
45
+ Url: ${Tc(e)}`),!0)}function O9(e,t){return!t||!t.length?!1:L9(e).some(n=>t.some(r=>Ds(n,r)))}function k9(e,t){if(!t||!t.length)return!1;var n=Tc(e);return n?t.some(r=>Ds(n,r)):!1}function N9(e,t){if(!t||!t.length)return!0;var n=Tc(e);return n?t.some(r=>Ds(n,r)):!0}function L9(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{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.error(`Cannot extract message for event ${Ro(e)}`),[]}return[]}function M9(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function D9(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 Tc(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?D9(t):null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.error(`Cannot extract url for event ${Ro(e)}`),null}}function sS(e,t){var n=U0(e,t),r={type:t&&t.name,value:B9(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function F9(e,t,n,r){var o={exception:{values:[{type:N0(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${p4(t)}`}]},extra:{__serialized__:QE(t)}};if(n){var i=U0(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}function Tp(e,t){return{exception:{values:[sS(e,t)]}}}function U0(e,t){var n=t.stacktrace||t.stack||"",r=j9(t);try{return e(n,r)}catch{}return[]}var I9=/Minified React error #\d+;/i;function j9(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(I9.test(e.message))return 1}return 0}function B9(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function V9(e,t,n,r){var o=n&&n.syntheticException||void 0,i=H0(e,t,o,r);return Fs(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),zo(i)}function z9(e,t,n="info",r,o){var i=r&&r.syntheticException||void 0,a=Em(e,t,i,o);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),zo(a)}function H0(e,t,n,r,o){let i;if(UE(t)&&t.error){var a=t;return Tp(e,a.error)}if(Vy(t)||JP(t)){var s=t;if("stack"in t)i=Tp(e,t);else{var l=s.name||(Vy(s)?"DOMError":"DOMException"),u=s.message?`${l}: ${s.message}`:l;i=Em(e,u,n,r),ym(i,u)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}if(zE(t))return Tp(e,t);if(Ki(t)||N0(t)){var c=t;return i=F9(e,c,n,o),Fs(i,{synthetic:!0}),i}return i=Em(e,t,n,r),ym(i,`${t}`,void 0),Fs(i,{synthetic:!0}),i}function Em(e,t,n,r){var o={message:t};if(r&&n){var i=U0(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}var lS="Breadcrumbs";class Bs{static __initStatic(){this.id=lS}__init(){this.name=Bs.id}constructor(t){Bs.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",H9),this.options.dom&&Ut("dom",U9(this.options.dom)),this.options.xhr&&Ut("xhr",G9),this.options.fetch&&Ut("fetch",Y9),this.options.history&&Ut("history",W9)}}Bs.__initStatic();function U9(e){function t(n){let r,o=typeof e=="object"?e.serializeAttribute:void 0;typeof o=="string"&&(o=[o]);try{r=n.event.target?Ms(n.event.target,o):Ms(n.event,o)}catch{r="<unknown>"}r.length!==0&&He().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function H9(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:j4(e.level),message:Uy(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${Uy(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;He().addBreadcrumb(t,{input:e.args,level:e.level})}function G9(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__||{};He().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:o});return}}function Y9(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?He().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):He().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response}))}function W9(e){var t=we();let n=e.from,r=e.to;var o=Ap(t.location.href);let i=Ap(n);var a=Ap(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),He().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var yn=we();let Kl;function uS(){if(Kl)return Kl;if(gm(yn.fetch))return Kl=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__=="undefined"||__SENTRY_DEBUG__)&&U.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return Kl=t.bind(yn)}function q9(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(I0()){var i=uS();i(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,a=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.error(a)})}}var Rp=we();class K9 extends Ei{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:$c}],version:$c},super(t),t.sendClientReports&&Rp.document&&Rp.document.addEventListener("visibilitychange",()=>{Rp.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return V9(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return z9(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(lS);r&&r.options&&r.options.sentry&&He().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Ro(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__=="undefined"||__SENTRY_DEBUG__)&&U.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("Sending outcomes:",t);var n=oS(this._dsn,this._options),r=q4(t,this._options.tunnel&&M0(this._dsn));try{q9(n,JE(r))}catch(o){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.error(o)}}}function X9(e,t=uS()){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 aS(e,n)}var Z9=4;function Q9(e){function t(n){return new bt((r,o)=>{var i=new XMLHttpRequest;i.onerror=o,i.onreadystatechange=()=>{i.readyState===Z9&&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 aS(e,t)}var Lf="?",J9=30,eO=40,tO=50;function G0(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 nO=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,rO=/\((\S*)(?::(\d+))(?::(\d+))\)/,oO=e=>{var t=nO.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=rO.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[o,i]=cS(t[1]||Lf,t[2]);return G0(i,o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},iO=[J9,oO],aO=/^\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,sO=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,lO=e=>{var t=aO.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=sO.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]||Lf;return[i,o]=cS(i,o),G0(o,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},uO=[tO,lO],cO=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fO=e=>{var t=cO.exec(e);return t?G0(t[2],t[1]||Lf,+t[3],t[4]?+t[4]:void 0):void 0},dO=[eO,fO],pO=[iO,uO,dO],hO=XE(...pO),cS=(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]:Lf,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let Sm=0;function fS(){return Sm>0}function mO(){Sm+=1,setTimeout(()=>{Sm-=1})}function Qi(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(F0(e))return e}catch{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=>Qi(u,t));return e.apply(this,l)}catch(u){throw mO(),h9(c=>{c.addEventProcessor(f=>(t.mechanism&&(ym(f,void 0,void 0),Fs(f,t.mechanism)),f.extra={...f.extra,arguments:s},f)),p9(u)}),u}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch{}qE(o,e),D0(e,"__sentry_wrapped__",o);try{var a=Object.getOwnPropertyDescriptor(o,"name");a.configurable&&Object.defineProperty(o,"name",{get(){return e.name}})}catch{}return o}class Zr{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Zr.id}__init2(){this._installFunc={onerror:vO,onunhandledrejection:gO}}constructor(t){Zr.prototype.__init.call(this),Zr.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]&&(_O(n),r(),this._installFunc[n]=void 0)}}}Zr.__initStatic();function vO(){Ut("error",e=>{const[t,n,r]=hS();if(!t.getIntegration(Zr))return;const{msg:o,url:i,line:a,column:s,error:l}=e;if(!(fS()||l&&l.__sentry_own_request__)){var u=l===void 0&&to(o)?xO(o,i,a,s):dS(H0(n,l||o,void 0,r,!1),i,a,s);u.level="error",pS(t,l,u,"onerror")}})}function gO(){Ut("unhandledrejection",e=>{const[t,n,r]=hS();if(!t.getIntegration(Zr))return;let o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch{}if(fS()||o&&o.__sentry_own_request__)return!0;var i=HE(o)?yO(o):H0(n,o,void 0,r,!0);i.level="error",pS(t,o,i,"onunhandledrejection")})}function yO(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function xO(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=UE(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 dS(l,t,n,r)}function dS(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,f=to(t)&&t.length>0?t:o4();return l.length===0&&l.push({colno:u,filename:f,function:"?",in_app:!0,lineno:c}),e}function _O(e){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`Global Handler attached: ${e}`)}function pS(e,t,n,r){Fs(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function hS(){var e=He(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var wO=["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 Vs{static __initStatic(){this.id="TryCatch"}__init(){this.name=Vs.id}constructor(t){Vs.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=we();this._options.setTimeout&&vt(t,"setTimeout",ix),this._options.setInterval&&vt(t,"setInterval",ix),this._options.requestAnimationFrame&&vt(t,"requestAnimationFrame",bO),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&vt(XMLHttpRequest.prototype,"send",EO);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:wO;r.forEach(SO)}}}Vs.__initStatic();function ix(e){return function(...t){var n=t[0];return t[0]=Qi(n,{mechanism:{data:{function:no(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function bO(e){return function(t){return e.apply(this,[Qi(t,{mechanism:{data:{function:"requestAnimationFrame",handler:no(e)},handled:!0,type:"instrument"}})])}}function EO(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(o=>{o in n&&typeof n[o]=="function"&&vt(n,o,function(i){var a={mechanism:{data:{function:o,handler:no(i)},handled:!0,type:"instrument"}},s=F0(i);return s&&(a.mechanism.data.handler=no(s)),Qi(i,a)})}),e.apply(this,t)}}function SO(e){var t=we(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(vt(n,"addEventListener",function(r){return function(o,i,a){try{typeof i.handleEvent=="function"&&(i.handleEvent=Qi(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:no(i),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[o,Qi(i,{mechanism:{data:{function:"addEventListener",handler:no(i),target:e},handled:!0,type:"instrument"}}),a])}}),vt(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{}return r.call(this,o,s,a)}}))}var CO="cause",AO=5;class Di{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Di.id}constructor(t={}){Di.prototype.__init.call(this),this._key=t.key||CO,this._limit=t.limit||AO}setupOnce(){var t=He().getClient();!t||B0((n,r)=>{var o=He().getIntegration(Di);return o?$O(t.getOptions().stackParser,o._key,o._limit,n,r):n})}}Di.__initStatic();function $O(e,t,n,r,o){if(!r.exception||!r.exception.values||!o||!vr(o.originalException,Error))return r;var i=mS(e,n,o.originalException,t);return r.exception.values=[...i,...r.exception.values],r}function mS(e,t,n,r,o=[]){if(!vr(n[r],Error)||o.length+1>=t)return o;var i=sS(e,n[r]);return mS(e,t,n[r],r,[i,...o])}var go=we();class Fi{constructor(){Fi.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Fi.id}setupOnce(){B0(t=>{if(He().getIntegration(Fi)){if(!go.navigator&&!go.location&&!go.document)return t;var n=t.request&&t.request.url||go.location&&go.location.href;const{referrer:i}=go.document||{},{userAgent:a}=go.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})}}Fi.__initStatic();class Ii{constructor(){Ii.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Ii.id}setupOnce(t,n){var r=o=>{var i=n().getIntegration(Ii);if(i){try{if(TO(o,i._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return i._previousEvent=o}return i._previousEvent=o}return o};r.id=this.name,t(r)}}Ii.__initStatic();function TO(e,t){return t?!!(RO(e,t)||PO(e,t)):!1}function RO(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!gS(e,t)||!vS(e,t))}function PO(e,t){var n=ax(t),r=ax(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!gS(e,t)||!vS(e,t))}function vS(e,t){let n=sx(e),r=sx(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 gS(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{return!1}}function ax(e){return e.exception&&e.exception.values&&e.exception.values[0]}function sx(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var OO=[new Mi,new js,new Vs,new Bs,new Zr,new Di,new Ii,new Fi];function kO(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=OO),e.release===void 0){var t=we();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:v4(e.stackParser||hO),integrations:E9(e),transport:e.transport||(I0()?X9:Q9)};A9(K9,n),e.autoSessionTracking&&NO()}function lx(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function NO(){var e=we(),t=e.document;if(typeof t=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=He();!n.captureSession||(lx(n),Ut("history",({from:r,to:o})=>{r===void 0||r===o||lx(He())}))}function LO(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:$c}],version:$c},kO(e)}var yS={exports:{}},xe={};/** @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 ot=typeof Symbol=="function"&&Symbol.for,Y0=ot?Symbol.for("react.element"):60103,W0=ot?Symbol.for("react.portal"):60106,Mf=ot?Symbol.for("react.fragment"):60107,Df=ot?Symbol.for("react.strict_mode"):60108,Ff=ot?Symbol.for("react.profiler"):60114,If=ot?Symbol.for("react.provider"):60109,jf=ot?Symbol.for("react.context"):60110,q0=ot?Symbol.for("react.async_mode"):60111,Bf=ot?Symbol.for("react.concurrent_mode"):60111,Vf=ot?Symbol.for("react.forward_ref"):60112,zf=ot?Symbol.for("react.suspense"):60113,MO=ot?Symbol.for("react.suspense_list"):60120,Uf=ot?Symbol.for("react.memo"):60115,Hf=ot?Symbol.for("react.lazy"):60116,DO=ot?Symbol.for("react.block"):60121,FO=ot?Symbol.for("react.fundamental"):60117,IO=ot?Symbol.for("react.responder"):60118,jO=ot?Symbol.for("react.scope"):60119;function Qt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Y0:switch(e=e.type,e){case q0:case Bf:case Mf:case Ff:case Df:case zf:return e;default:switch(e=e&&e.$$typeof,e){case jf:case Vf:case Hf:case Uf:case If:return e;default:return t}}case W0:return t}}}function xS(e){return Qt(e)===Bf}xe.AsyncMode=q0;xe.ConcurrentMode=Bf;xe.ContextConsumer=jf;xe.ContextProvider=If;xe.Element=Y0;xe.ForwardRef=Vf;xe.Fragment=Mf;xe.Lazy=Hf;xe.Memo=Uf;xe.Portal=W0;xe.Profiler=Ff;xe.StrictMode=Df;xe.Suspense=zf;xe.isAsyncMode=function(e){return xS(e)||Qt(e)===q0};xe.isConcurrentMode=xS;xe.isContextConsumer=function(e){return Qt(e)===jf};xe.isContextProvider=function(e){return Qt(e)===If};xe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Y0};xe.isForwardRef=function(e){return Qt(e)===Vf};xe.isFragment=function(e){return Qt(e)===Mf};xe.isLazy=function(e){return Qt(e)===Hf};xe.isMemo=function(e){return Qt(e)===Uf};xe.isPortal=function(e){return Qt(e)===W0};xe.isProfiler=function(e){return Qt(e)===Ff};xe.isStrictMode=function(e){return Qt(e)===Df};xe.isSuspense=function(e){return Qt(e)===zf};xe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Mf||e===Bf||e===Ff||e===Df||e===zf||e===MO||typeof e=="object"&&e!==null&&(e.$$typeof===Hf||e.$$typeof===Uf||e.$$typeof===If||e.$$typeof===jf||e.$$typeof===Vf||e.$$typeof===FO||e.$$typeof===IO||e.$$typeof===jO||e.$$typeof===DO)};xe.typeOf=Qt;yS.exports=xe;var K0=yS.exports,BO={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},VO={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},zO={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_S={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},X0={};X0[K0.ForwardRef]=zO;X0[K0.Memo]=_S;function ux(e){return K0.isMemo(e)?_S:X0[e.$$typeof]||BO}var UO=Object.defineProperty,HO=Object.getOwnPropertyNames,cx=Object.getOwnPropertySymbols,GO=Object.getOwnPropertyDescriptor,YO=Object.getPrototypeOf,fx=Object.prototype;function wS(e,t,n){if(typeof t!="string"){if(fx){var r=YO(t);r&&r!==fx&&wS(e,r,n)}var o=HO(t);cx&&(o=o.concat(cx(t)));for(var i=ux(e),a=ux(t),s=0;s<o.length;++s){var l=o[s];if(!VO[l]&&!(n&&n[l])&&!(a&&a[l])&&!(i&&i[l])){var u=GO(t,l);try{UO(e,l,u)}catch{}}}}return e}var WO=wS;function Z0(e){var t=He().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function ll(e){var t=e||He(),n=t.getScope();return n&&n.getTransaction()}function Xe(e){return e/1e3}function qO(){Ut("error",dx),Ut("unhandledrejection",dx)}function dx(){var e=ll();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class Gf{__init(){this.spans=[]}constructor(t=1e3){Gf.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class Tr{__init2(){this.traceId=Kr()}__init3(){this.spanId=Kr().substring(16)}__init4(){this.startTimestamp=Is()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(Tr.prototype.__init2.call(this),Tr.prototype.__init3.call(this),Tr.prototype.__init4.call(this),Tr.prototype.__init5.call(this),Tr.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 Tr({...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__=="undefined"||__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},U.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=KO(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&U.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:Is()}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=Nr(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=Nr(t.spanId,()=>this.spanId),this.startTimestamp=Nr(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=Nr(t.tags,()=>({})),this.traceId=Nr(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 KO(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 Yf extends Tr{__init(){this._measurements={}}constructor(t,n){super(t),Yf.prototype.__init.call(this),this._hub=n||He(),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 Gf(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__=="undefined"||__SENTRY_DEBUG__)&&U.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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=Nr(t.name,()=>""),this._trimEnd=t.trimEnd,this}getBaggage(){var t=this.metadata.baggage,n=!t||o9(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=n,n}_populateBaggageWithSentryValues(t=Ac({})){var n=this._hub||He(),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,f=c&&c!=="url"?this.name:void 0;return Ac(qr({environment:o,release:i,transaction:f,user_segment:u,public_key:a,trace_id:this.traceId,sample_rate:s,...eS(t)}),"",!1)}}var bS=1e3,ES=3e4,XO=5e3;class ZO extends Gf{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:Is(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class Si extends Yf{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=bS,o=ES,i=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=o,this._onScope=i,Si.prototype.__init.call(this),Si.prototype.__init2.call(this),Si.prototype.__init3.call(this),Si.prototype.__init4.call(this),i&&(px(n),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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=Is()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var o=r.startTimestamp<t;return o||(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),o}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] No active IdleTransaction");return this._onScope&&px(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 ZO(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=Is()+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__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},XO)}}function px(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function QO(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function SS(e,t,n){if(!Z0(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)}})),JO(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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__=="undefined"||__SENTRY_DEBUG__)&&U.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function JO(e){return GE(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function ek(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let o=new Yf(e,this);return o=SS(o,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function tk(e,t,n,r,o,i){var a=e.getClient(),s=a&&a.getOptions()||{};let l=new Si(t,e,n,r,o);return l=SS(l,s,{parentSampled:t.parentSampled,transactionContext:t,...i}),l.sampled&&l.initSpanRecorder(s._experiments&&s._experiments.maxSpans),l}function nk(){var e=ha();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=ek),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=QO))}function rk(){var e=ha();if(!!e.__SENTRY__){var t={mongodb(){var r=Fr(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=Fr(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=Fr(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=Fr(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!ZP(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function ok(){nk(),Of()&&rk(),qO()}var Xl=we();function ik(){Xl&&Xl.document?Xl.document.addEventListener("visibilitychange",()=>{var e=ll();if(Xl.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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__=="undefined"||__SENTRY_DEBUG__)&&U.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var Q0=(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)))}},ak=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,J0=(e,t)=>({name:e,value:Nr(t,()=>-1),delta:0,entries:[],id:ak()}),Wf=(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{}},qf=(e,t)=>{var n=r=>{(r.type==="pagehide"||we().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},sk=(e,t)=>{var n=J0("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=Wf("layout-shift",a);s&&(r=Q0(e,n,t),qf(()=>{s.takeRecords().map(a),r(!0)}))};let Iu=-1;var lk=()=>we().document.visibilityState==="hidden"?0:1/0,uk=()=>{qf(({timeStamp:e})=>{Iu=e},!0)},eg=()=>(Iu<0&&(Iu=lk(),uk()),{get firstHiddenTime(){return Iu}}),ck=(e,t)=>{var n=eg(),r=J0("FID");let o;var i=s=>{o&&s.startTime<n.firstHiddenTime&&(r.value=s.processingStart-s.startTime,r.entries.push(s),o(!0))},a=Wf("first-input",i);a&&(o=Q0(e,r,t),qf(()=>{a.takeRecords().map(i),a.disconnect()},!0))},hx={},fk=(e,t)=>{var n=eg(),r=J0("LCP");let o;var i=l=>{var u=l.startTime;u<n.firstHiddenTime&&(r.value=u,r.entries.push(l)),o&&o()},a=Wf("largest-contentful-paint",i);if(a){o=Q0(e,r,t);var s=()=>{hx[r.id]||(a.takeRecords().map(i),a.disconnect(),hx[r.id]=!0,o(!0))};["keydown","click"].forEach(l=>{addEventListener(l,s,{once:!0,capture:!0})}),qf(s,!0)}};function Zl(e){return typeof e=="number"&&isFinite(e)}function Ji(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var Lo=we();function CS(){return Lo&&Lo.addEventListener&&Lo.performance}let mx=0,Se={},An,rs;function dk(e=!1){var t=CS();t&&Xi&&(t.mark&&Lo.performance.mark("sentry-tracing-init"),hk(),mk(e),vk())}function pk(){var e=t=>{var n=ll();if(!!n){var r=Xe(Xi+t.startTime),o=Xe(t.duration);n.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:r,endTimestamp:r+o})}};Wf("longtask",e)}function hk(){sk(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding CLS"),Se.cls={value:e.value,unit:""},rs=t)})}function mk(e){fk(t=>{var n=t.entries.pop();if(!!n){var r=Xe(Xi),o=Xe(n.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding LCP"),Se.lcp={value:t.value,unit:"millisecond"},Se["mark.lcp"]={value:r+o,unit:"second"},An=n}},e)}function vk(){ck(e=>{var t=e.entries.pop();if(!!t){var n=Xe(Xi),r=Xe(t.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding FID"),Se.fid={value:e.value,unit:"millisecond"},Se["mark.fid"]={value:n+r,unit:"second"}}})}function gk(e){var t=CS();if(!t||!Lo.performance.getEntries||!Xi)return;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Tracing] Adding & adjusting spans using Performance API");var n=Xe(Xi),r=t.getEntries();let o,i;r.slice(mx).forEach(a=>{var s=Xe(a.startTime),l=Xe(a.duration);if(!(e.op==="navigation"&&n+s<e.startTimestamp))switch(a.entryType){case"navigation":{xk(e,a,n),o=n+Xe(a.responseStart),i=n+Xe(a.requestStart);break}case"mark":case"paint":case"measure":{var u=yk(e,a,s,l,n),c=eg(),f=a.startTime<c.firstHiddenTime;a.name==="first-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding FP"),Se.fp={value:a.startTime,unit:"millisecond"},Se["mark.fp"]={value:u,unit:"second"}),a.name==="first-contentful-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding FCP"),Se.fcp={value:a.startTime,unit:"millisecond"},Se["mark.fcp"]={value:u,unit:"second"});break}case"resource":{var p=a.name.replace(Lo.location.origin,"");wk(e,a,p,s,l,n);break}}}),mx=Math.max(r.length-1,0),bk(e),e.op==="pageload"&&(typeof o=="number"&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding TTFB"),Se.ttfb={value:(o-e.startTimestamp)*1e3,unit:"millisecond"},typeof i=="number"&&i<=o&&(Se["ttfb.requestTime"]={value:(o-i)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(a=>{if(!(!Se[a]||n>=e.startTimestamp)){var s=Se[a].value,l=n+Xe(s),u=Math.abs((l-e.startTimestamp)*1e3),c=u-s;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Measurements] Normalized ${a} from ${s} to ${u} (${c})`),Se[a].value=u}}),Se["mark.fid"]&&Se.fid&&Ji(e,{description:"first input delay",endTimestamp:Se["mark.fid"].value+Xe(Se.fid.value),op:"web.vitals",startTimestamp:Se["mark.fid"].value}),"fcp"in Se||delete Se.cls,Object.keys(Se).forEach(a=>{e.setMeasurement(a,Se[a].value,Se[a].unit)}),Ek(e)),An=void 0,rs=void 0,Se={}}function yk(e,t,n,r,o){var i=o+n,a=i+r;return Ji(e,{description:t.name,endTimestamp:a,op:t.entryType,startTimestamp:i}),i}function xk(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Ql(e,t,r,n)}),Ql(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Ql(e,t,"fetch",n,"cache","domainLookupStart"),Ql(e,t,"domainLookup",n,"DNS"),_k(e,t,n)}function Ql(e,t,n,r,o,i){var a=i?t[i]:t[`${n}End`],s=t[`${n}Start`];!s||!a||Ji(e,{op:"browser",description:Nr(o,()=>n),startTimestamp:r+Xe(s),endTimestamp:r+Xe(a)})}function _k(e,t,n){Ji(e,{op:"browser",description:"request",startTimestamp:n+Xe(t.requestStart),endTimestamp:n+Xe(t.responseEnd)}),Ji(e,{op:"browser",description:"response",startTimestamp:n+Xe(t.responseStart),endTimestamp:n+Xe(t.responseEnd)})}function wk(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;Ji(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:s,data:a})}}function bk(e){var t=Lo.navigator;if(!!t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),Zl(n.rtt)&&(Se["connection.rtt"]={value:n.rtt,unit:"millisecond"}),Zl(n.downlink)&&(Se["connection.downlink"]={value:n.downlink,unit:""})),Zl(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),Zl(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}}function Ek(e){An&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding LCP Data"),An.element&&e.setTag("lcp.element",Ms(An.element)),An.id&&e.setTag("lcp.id",An.id),An.url&&e.setTag("lcp.url",An.url.trim().slice(0,200)),e.setTag("lcp.size",An.size)),rs&&rs.sources&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log("[Measurements] Adding CLS Data"),rs.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Ms(t.node))))}var Sk=["localhost",/^\//],Rc={traceFetch:!0,traceXHR:!0,tracingOrigins:Sk};function Ck(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:o}={...Rc,...e};var i={},a=u=>{if(i[u])return i[u];var c=r;return i[u]=c.some(f=>Ds(u,f))&&!Ds(u,"sentry_key"),i[u]};let s=a;typeof o=="function"&&(s=u=>a(u)&&o(u));var l={};t&&Ut("fetch",u=>{Ak(u,s,l)}),n&&Ut("xhr",u=>{Tk(u,s,l)})}function Ak(e,t,n){if(!(!Z0()||!(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=ll();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=$k(a,i.getBaggage(),o,s)}}}function $k(e,t,n,r){let o=r.headers;if(vr(e,Request)&&(o=e.headers),o)if(typeof o.append=="function")o.append("sentry-trace",n.toTraceparent()),o.append(bi,Ua(t,o.get(bi)));else if(Array.isArray(o)){const[,i]=o.find(([a,s])=>a===bi);o=[...o,["sentry-trace",n.toTraceparent()],[bi,Ua(t,i)]]}else o={...o,"sentry-trace":n.toTraceparent(),baggage:Ua(t,o.baggage)};else o={"sentry-trace":n.toTraceparent(),baggage:Ua(t)};return o}function Tk(e,t,n){if(!(!Z0()||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=ll();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(bi);e.xhr.setRequestHeader(bi,Ua(a.getBaggage(),s))}catch{}}}}var La=we();function Rk(e,t=!0,n=!0){if(!La||!La.location){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("Could not initialize routing instrumentation due to invalid location");return}let r=La.location.href,o;t&&(o=e({name:La.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__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] Finishing current transaction with op: ${o.op}`),o.finish()),o=e({name:La.location.pathname,op:"navigation",metadata:{source:"url"}}))})}var Pk="BrowserTracing",Ok={idleTimeout:bS,finalTimeout:ES,markBackgroundTransactions:!0,routingInstrumentation:Rk,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...Rc};class tg{__init(){this.name=Pk}constructor(t){tg.prototype.__init.call(this);let n=Rc.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options={...Ok,...t,tracingOrigins:n};const{_metricOptions:r}=this.options;dk(r&&r._reportAllChanges),h4([this,"access",o=>o.options,"access",o=>o._experiments,"optionalAccess",o=>o.enableLongTask])&&pk()}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.warn(`[Tracing] We added a reasonable default for you: ${Rc.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:o,startTransactionOnPageLoad:i,markBackgroundTransactions:a,traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c}=this.options;r(f=>this._createRouteTransaction(f),i,o),a&&ik(),Ck({traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.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"?kk():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__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&U.log(`[Tracing] Starting ${l.op} transaction on scope`);var u=this._getCurrentHub();const{location:c}=we();var f=tk(u,l,r,o,!0,{location:c});return f.registerBeforeFinishCallback(p=>{gk(p),p.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),f}}function kk(){var e=vx("sentry-trace"),t=vx("baggage"),n=e?U4(e):void 0,r=s9(t,e);if(n||r)return{...n&&n,...r&&{metadata:{baggage:r}}}}function vx(e){var t=we();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__=="undefined"||__SENTRY_TRACING__)&&ok();var ng={exports:{}},_e={};/**
53
+ * @license React
54
+ * react-is.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 rg=Symbol.for("react.element"),og=Symbol.for("react.portal"),Kf=Symbol.for("react.fragment"),Xf=Symbol.for("react.strict_mode"),Zf=Symbol.for("react.profiler"),Qf=Symbol.for("react.provider"),Jf=Symbol.for("react.context"),Nk=Symbol.for("react.server_context"),ed=Symbol.for("react.forward_ref"),td=Symbol.for("react.suspense"),nd=Symbol.for("react.suspense_list"),rd=Symbol.for("react.memo"),od=Symbol.for("react.lazy"),Lk=Symbol.for("react.offscreen"),AS;AS=Symbol.for("react.module.reference");function sn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case rg:switch(e=e.type,e){case Kf:case Zf:case Xf:case td:case nd:return e;default:switch(e=e&&e.$$typeof,e){case Nk:case Jf:case ed:case od:case rd:case Qf:return e;default:return t}}case og:return t}}}_e.ContextConsumer=Jf;_e.ContextProvider=Qf;_e.Element=rg;_e.ForwardRef=ed;_e.Fragment=Kf;_e.Lazy=od;_e.Memo=rd;_e.Portal=og;_e.Profiler=Zf;_e.StrictMode=Xf;_e.Suspense=td;_e.SuspenseList=nd;_e.isAsyncMode=function(){return!1};_e.isConcurrentMode=function(){return!1};_e.isContextConsumer=function(e){return sn(e)===Jf};_e.isContextProvider=function(e){return sn(e)===Qf};_e.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===rg};_e.isForwardRef=function(e){return sn(e)===ed};_e.isFragment=function(e){return sn(e)===Kf};_e.isLazy=function(e){return sn(e)===od};_e.isMemo=function(e){return sn(e)===rd};_e.isPortal=function(e){return sn(e)===og};_e.isProfiler=function(e){return sn(e)===Zf};_e.isStrictMode=function(e){return sn(e)===Xf};_e.isSuspense=function(e){return sn(e)===td};_e.isSuspenseList=function(e){return sn(e)===nd};_e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Kf||e===Zf||e===Xf||e===td||e===nd||e===Lk||typeof e=="object"&&e!==null&&(e.$$typeof===od||e.$$typeof===rd||e.$$typeof===Qf||e.$$typeof===Jf||e.$$typeof===ed||e.$$typeof===AS||e.getModuleId!==void 0)};_e.typeOf=sn;ng.exports=_e;var Mk=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 f=t[c],p=n[c];if(i=r?r.call(o,f,p,c):void 0,i===!1||i===void 0&&f!==p)return!1}return!0};function Dk(e){function t(O,R,$,N,A){for(var W=0,D=0,se=0,ie=0,le,te,be=0,Te=0,ae,Re=ae=le=0,Q=0,ue=0,Be=0,de=0,Rt=$.length,Hn=Rt-1,Ee,Z="",pe="",qe="",un="",ct;Q<Rt;){if(te=$.charCodeAt(Q),Q===Hn&&D+ie+se+W!==0&&(D!==0&&(te=D===47?10:47),ie=se=W=0,Rt++,Hn++),D+ie+se+W===0){if(Q===Hn&&(0<ue&&(Z=Z.replace(p,"")),0<Z.trim().length)){switch(te){case 32:case 9:case 59:case 13:case 10:break;default:Z+=$.charAt(Q)}te=59}switch(te){case 123:for(Z=Z.trim(),le=Z.charCodeAt(0),ae=1,de=++Q;Q<Rt;){switch(te=$.charCodeAt(Q)){case 123:ae++;break;case 125:ae--;break;case 47:switch(te=$.charCodeAt(Q+1)){case 42:case 47:e:{for(Re=Q+1;Re<Hn;++Re)switch($.charCodeAt(Re)){case 47:if(te===42&&$.charCodeAt(Re-1)===42&&Q+2!==Re){Q=Re+1;break e}break;case 10:if(te===47){Q=Re+1;break e}}Q=Re}}break;case 91:te++;case 40:te++;case 34:case 39:for(;Q++<Hn&&$.charCodeAt(Q)!==te;);}if(ae===0)break;Q++}switch(ae=$.substring(de,Q),le===0&&(le=(Z=Z.replace(f,"").trim()).charCodeAt(0)),le){case 64:switch(0<ue&&(Z=Z.replace(p,"")),te=Z.charCodeAt(1),te){case 100:case 109:case 115:case 45:ue=R;break;default:ue=me}if(ae=t(R,ue,ae,te,A+1),de=ae.length,0<I&&(ue=n(me,Z,Be),ct=s(3,ae,ue,R,H,F,de,te,A,N),Z=ue.join(""),ct!==void 0&&(de=(ae=ct.trim()).length)===0&&(te=0,ae="")),0<de)switch(te){case 115:Z=Z.replace(E,a);case 100:case 109:case 45:ae=Z+"{"+ae+"}";break;case 107:Z=Z.replace(y,"$1 $2"),ae=Z+"{"+ae+"}",ae=re===1||re===2&&i("@"+ae,3)?"@-webkit-"+ae+"@"+ae:"@"+ae;break;default:ae=Z+ae,N===112&&(ae=(pe+=ae,""))}else ae="";break;default:ae=t(R,n(R,Z,Be),ae,N,A+1)}qe+=ae,ae=Be=ue=Re=le=0,Z="",te=$.charCodeAt(++Q);break;case 125:case 59:if(Z=(0<ue?Z.replace(p,""):Z).trim(),1<(de=Z.length))switch(Re===0&&(le=Z.charCodeAt(0),le===45||96<le&&123>le)&&(de=(Z=Z.replace(" ",":")).length),0<I&&(ct=s(1,Z,R,O,H,F,pe.length,N,A,N))!==void 0&&(de=(Z=ct.trim()).length)===0&&(Z="\0\0"),le=Z.charCodeAt(0),te=Z.charCodeAt(1),le){case 0:break;case 64:if(te===105||te===99){un+=Z+$.charAt(Q);break}default:Z.charCodeAt(de-1)!==58&&(pe+=o(Z,le,te,Z.charCodeAt(2)))}Be=ue=Re=le=0,Z="",te=$.charCodeAt(++Q)}}switch(te){case 13:case 10:D===47?D=0:1+le===0&&N!==107&&0<Z.length&&(ue=1,Z+="\0"),0<I*P&&s(0,Z,R,O,H,F,pe.length,N,A,N),F=1,H++;break;case 59:case 125:if(D+ie+se+W===0){F++;break}default:switch(F++,Ee=$.charAt(Q),te){case 9:case 32:if(ie+W+D===0)switch(be){case 44:case 58:case 9:case 32:Ee="";break;default:te!==32&&(Ee=" ")}break;case 0:Ee="\\0";break;case 12:Ee="\\f";break;case 11:Ee="\\v";break;case 38:ie+D+W===0&&(ue=Be=1,Ee="\f"+Ee);break;case 108:if(ie+D+W+z===0&&0<Re)switch(Q-Re){case 2:be===112&&$.charCodeAt(Q-3)===58&&(z=be);case 8:Te===111&&(z=Te)}break;case 58:ie+D+W===0&&(Re=Q);break;case 44:D+se+ie+W===0&&(ue=1,Ee+="\r");break;case 34:case 39:D===0&&(ie=ie===te?0:ie===0?te:ie);break;case 91:ie+D+se===0&&W++;break;case 93:ie+D+se===0&&W--;break;case 41:ie+D+W===0&&se--;break;case 40:if(ie+D+W===0){if(le===0)switch(2*be+3*Te){case 533:break;default:le=1}se++}break;case 64:D+se+ie+W+Re+ae===0&&(ae=1);break;case 42:case 47:if(!(0<ie+W+se))switch(D){case 0:switch(2*te+3*$.charCodeAt(Q+1)){case 235:D=47;break;case 220:de=Q,D=42}break;case 42:te===47&&be===42&&de+2!==Q&&($.charCodeAt(de+2)===33&&(pe+=$.substring(de,Q+1)),Ee="",D=0)}}D===0&&(Z+=Ee)}Te=be,be=te,Q++}if(de=pe.length,0<de){if(ue=R,0<I&&(ct=s(2,pe,ue,O,H,F,de,N,A,N),ct!==void 0&&(pe=ct).length===0))return un+pe+qe;if(pe=ue.join(",")+"{"+pe+"}",re*z!==0){switch(re!==2||i(pe,2)||(z=0),z){case 111:pe=pe.replace(w,":-moz-$1")+pe;break;case 112:pe=pe.replace(x,"::-webkit-input-$1")+pe.replace(x,"::-moz-$1")+pe.replace(x,":-ms-input-$1")+pe}z=0}}return un+pe+qe}function n(O,R,$){var N=R.trim().split(_);R=N;var A=N.length,W=O.length;switch(W){case 0:case 1:var D=0;for(O=W===0?"":O[0]+" ";D<A;++D)R[D]=r(O,R[D],$).trim();break;default:var se=D=0;for(R=[];D<A;++D)for(var ie=0;ie<W;++ie)R[se++]=r(O[ie]+" ",N[D],$).trim()}return R}function r(O,R,$){var N=R.charCodeAt(0);switch(33>N&&(N=(R=R.trim()).charCodeAt(0)),N){case 38:return R.replace(g,"$1"+O.trim());case 58:return O.trim()+R.replace(g,"$1"+O.trim());default:if(0<1*$&&0<R.indexOf("\f"))return R.replace(g,(O.charCodeAt(0)===58?"":"$1")+O.trim())}return O+R}function o(O,R,$,N){var A=O+";",W=2*R+3*$+4*N;if(W===944){O=A.indexOf(":",9)+1;var D=A.substring(O,A.length-1).trim();return D=A.substring(0,O).trim()+D+";",re===1||re===2&&i(D,1)?"-webkit-"+D+D:D}if(re===0||re===2&&!i(A,1))return A;switch(W){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(G,"$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 D=A.substring(A.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+D+"-webkit-"+A+"-ms-flex-pack"+D+A;case 1005:return v.test(A)?A.replace(h,":-webkit-")+A.replace(h,":-moz-")+A:A;case 1e3:switch(D=A.substring(13).trim(),R=D.indexOf("-")+1,D.charCodeAt(0)+D.charCodeAt(R)){case 226:D=A.replace(b,"tb");break;case 232:D=A.replace(b,"tb-rl");break;case 220:D=A.replace(b,"lr");break;default:return A}return"-webkit-"+A+"-ms-"+D+A;case 1017:if(A.indexOf("sticky",9)===-1)break;case 975:switch(R=(A=O).length-10,D=(A.charCodeAt(R)===33?A.substring(0,R):A).substring(O.indexOf(":",7)+1).trim(),W=D.charCodeAt(0)+(D.charCodeAt(7)|0)){case 203:if(111>D.charCodeAt(8))break;case 115:A=A.replace(D,"-webkit-"+D)+";"+A;break;case 207:case 102:A=A.replace(D,"-webkit-"+(102<W?"inline-":"")+"box")+";"+A.replace(D,"-webkit-"+D)+";"+A.replace(D,"-ms-"+D+"box")+";"+A}return A+";";case 938:if(A.charCodeAt(5)===45)switch(A.charCodeAt(6)){case 105:return D=A.replace("-items",""),"-webkit-"+A+"-webkit-box-"+D+"-ms-flex-"+D+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(O)===!0)return(D=O.substring(O.indexOf(":")+1)).charCodeAt(0)===115?o(O.replace("stretch","fill-available"),R,$,N).replace(":fill-available",":stretch"):A.replace(D,"-webkit-"+D)+A.replace(D,"-moz-"+D.replace("fill-",""))+A;break;case 962:if(A="-webkit-"+A+(A.charCodeAt(5)===102?"-ms-"+A:"")+A,$+N===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(O,R){var $=O.indexOf(R===1?":":"{"),N=O.substring(0,R!==3?$:10);return $=O.substring($+1,O.length-1),K(R!==2?N:N.replace(T,"$1"),$,R)}function a(O,R){var $=o(R,R.charCodeAt(0),R.charCodeAt(1),R.charCodeAt(2));return $!==R+";"?$.replace(S," or ($1)").substring(4):"("+R+")"}function s(O,R,$,N,A,W,D,se,ie,le){for(var te=0,be=R,Te;te<I;++te)switch(Te=oe[te].call(c,O,be,$,N,A,W,D,se,ie,le)){case void 0:case!1:case!0:case null:break;default:be=Te}if(be!==R)return be}function l(O){switch(O){case void 0:case null:I=oe.length=0;break;default:if(typeof O=="function")oe[I++]=O;else if(typeof O=="object")for(var R=0,$=O.length;R<$;++R)l(O[R]);else P=!!O|0}return l}function u(O){return O=O.prefix,O!==void 0&&(K=null,O?typeof O!="function"?re=1:(re=2,K=O):re=0),u}function c(O,R){var $=O;if(33>$.charCodeAt(0)&&($=$.trim()),V=$,$=[V],0<I){var N=s(-1,R,$,$,H,F,0,0,0,0);N!==void 0&&typeof N=="string"&&(R=N)}var A=t(me,$,R,0,0);return 0<I&&(N=s(-2,A,$,$,H,F,A.length,0,0,0),N!==void 0&&(A=N)),V="",z=0,F=H=1,A}var f=/^\0+/g,p=/[\0\r\f]/g,h=/: */g,v=/zoo|gra/,m=/([,: ])(transform)/g,_=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,x=/::(place)/g,w=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,C=/-self|flex-/g,T=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,G=/([^-])(image-set\()/,F=1,H=1,z=0,re=1,me=[],oe=[],I=0,K=null,P=0,V="";return c.use=l,c.set=u,e!==void 0&&u(e),c}var Fk={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 Ik(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var jk=/^((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)-.*))$/,gx=Ik(function(e){return jk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function kn(){return(kn=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 yx=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},Cm=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!ng.exports.typeOf(e)},Pc=Object.freeze([]),Qr=Object.freeze({});function zs(e){return typeof e=="function"}function xx(e){return e.displayName||e.name||"Component"}function ig(e){return e&&typeof e.styledComponentId=="string"}var ea=typeof process!="undefined"&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",ag=typeof window!="undefined"&&"HTMLElement"in window,Bk=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""?{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY:!1),Vk={};function ul(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 zk=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&&ul(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*/
61
+ `;return r},e}(),ju=new Map,Oc=new Map,os=1,Jl=function(e){if(ju.has(e))return ju.get(e);for(;Oc.has(os);)os++;var t=os++;return ju.set(e,t),Oc.set(t,e),t},Uk=function(e){return Oc.get(e)},Hk=function(e,t){t>=os&&(os=t+1),ju.set(e,t),Oc.set(t,e)},Gk="style["+ea+'][data-styled-version="5.3.5"]',Yk=new RegExp("^"+ea+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Wk=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)},qk=function(e,t){for(var n=(t.textContent||"").split(`/*!sc*/
62
+ `),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(Yk);if(s){var l=0|parseInt(s[1],10),u=s[2];l!==0&&(Hk(u,l),Wk(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},Kk=function(){return typeof window!="undefined"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},$S=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(ea))return c}}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(ea,"active"),r.setAttribute("data-styled-version","5.3.5");var a=Kk();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Xk=function(){function e(n){var r=this.element=$S(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}ul(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{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}(),Zk=function(){function e(n){var r=this.element=$S(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}(),Qk=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}(),_x=ag,Jk={isServer:!ag,useCSSOMInjection:!Bk},kc=function(){function e(n,r,o){n===void 0&&(n=Qr),r===void 0&&(r={}),this.options=kn({},Jk,{},n),this.gs=r,this.names=new Map(o),this.server=!!n.isServer,!this.server&&ag&&_x&&(_x=!1,function(i){for(var a=document.querySelectorAll(Gk),s=0,l=a.length;s<l;s++){var u=a[s];u&&u.getAttribute(ea)!=="active"&&(qk(i,u),u.parentNode&&u.parentNode.removeChild(u))}}(this))}e.registerId=function(n){return Jl(n)};var t=e.prototype;return t.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(kn({},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 Qk(a):i?new Xk(a):new Zk(a),new zk(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(Jl(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(Jl(n),o)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(Jl(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=Uk(a);if(s!==void 0){var l=n.names.get(s),u=r.getGroup(a);if(l&&u&&l.size){var c=ea+".g"+a+'[id="'+s+'"]',f="";l!==void 0&&l.forEach(function(p){p.length>0&&(f+=p+",")}),i+=""+u+c+'{content:"'+f+`"}/*!sc*/
63
+ `}}}return i}(this)},e}(),e6=/(a)(d)/gi,wx=function(e){return String.fromCharCode(e+(e>25?39:97))};function Am(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=wx(t%52)+n;return(wx(t%52)+n).replace(e6,"$1-$2")}var Ci=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},TS=function(e){return Ci(5381,e)};function RS(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(zs(n)&&!ig(n))return!1}return!0}var t6=TS("5.3.5"),n6=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&RS(t),this.componentId=n,this.baseHash=Ci(t6,n),this.baseStyle=r,kc.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=Uo(this.rules,t,n,r).join(""),s=Am(Ci(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=Ci(this.baseHash,r.hash),f="",p=0;p<u;p++){var h=this.rules[p];if(typeof h=="string")f+=h;else if(h){var v=Uo(h,t,n,r),m=Array.isArray(v)?v.join(""):v;c=Ci(c,m+p),f+=m}}if(f){var _=Am(c>>>0);if(!n.hasNameForId(o,_)){var g=r(f,"."+_,void 0,o);n.insertRules(o,_,g)}i.push(_)}}return i.join(" ")},e}(),r6=/^\s*\/\/.*$/gm,o6=[":","[",".","#"];function PS(e){var t,n,r,o,i=e===void 0?Qr:e,a=i.options,s=a===void 0?Qr:a,l=i.plugins,u=l===void 0?Pc:l,c=new Dk(s),f=[],p=function(m){function _(g){if(g)try{m(g+"}")}catch{}}return function(g,y,x,w,b,E,S,C,T,k){switch(g){case 1:if(T===0&&y.charCodeAt(0)===64)return m(y+";"),"";break;case 2:if(C===0)return y+"/*|*/";break;case 3:switch(C){case 102:case 112:return m(x[0]+y),"";default:return y+(k===0?"/*|*/":"")}case-2:y.split("/*|*/}").forEach(_)}}}(function(m){f.push(m)}),h=function(m,_,g){return _===0&&o6.indexOf(g[n.length])!==-1||g.match(o)?m:"."+t};function v(m,_,g,y){y===void 0&&(y="&");var x=m.replace(r6,""),w=_&&g?g+" "+_+" { "+x+" }":x;return t=y,n=_,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),c(g||!_?"":_,w)}return c.use([].concat(u,[function(m,_,g){m===2&&g.length&&g[0].lastIndexOf(n)>0&&(g[0]=g[0].replace(r,h))},p,function(m){if(m===-2){var _=f;return f=[],_}}])),v.hash=u.length?u.reduce(function(m,_){return _.name||ul(15),Ci(m,_.name)},5381).toString():"",v}var sg=ee.createContext();sg.Consumer;var lg=ee.createContext(),i6=(lg.Consumer,new kc),$m=PS();function ug(){return d.exports.useContext(sg)||i6}function OS(){return d.exports.useContext(lg)||$m}function a6(e){var t=d.exports.useState(e.stylisPlugins),n=t[0],r=t[1],o=ug(),i=d.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=d.exports.useMemo(function(){return PS({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return d.exports.useEffect(function(){Mk(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),ee.createElement(sg.Provider,{value:i},ee.createElement(lg.Provider,{value:a},e.children))}var kS=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=$m);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 ul(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=$m),this.name+t.hash},e}(),s6=/([A-Z])/,l6=/([A-Z])/g,u6=/^ms-/,c6=function(e){return"-"+e.toLowerCase()};function bx(e){return s6.test(e)?e.replace(l6,c6).replace(u6,"-ms-"):e}var Ex=function(e){return e==null||e===!1||e===""};function Uo(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)(o=Uo(e[a],t,n,r))!==""&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}if(Ex(e))return"";if(ig(e))return"."+e.styledComponentId;if(zs(e)){if(typeof(u=e)!="function"||u.prototype&&u.prototype.isReactComponent||!t)return e;var l=e(t);return Uo(l,t,n,r)}var u;return e instanceof kS?n?(e.inject(n,r),e.getName(r)):e:Cm(e)?function c(f,p){var h,v,m=[];for(var _ in f)f.hasOwnProperty(_)&&!Ex(f[_])&&(Array.isArray(f[_])&&f[_].isCss||zs(f[_])?m.push(bx(_)+":",f[_],";"):Cm(f[_])?m.push.apply(m,c(f[_],_)):m.push(bx(_)+": "+(h=_,(v=f[_])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||h in Fk?String(v).trim():v+"px")+";"));return p?[p+" {"].concat(m,["}"]):m}(e):e.toString()}var Sx=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ke(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 zs(e)||Cm(e)?Sx(Uo(yx(Pc,[e].concat(n)))):n.length===0&&e.length===1&&typeof e[0]=="string"?e:Sx(Uo(yx(e,n)))}var NS=function(e,t,n){return n===void 0&&(n=Qr),e.theme!==n.theme&&e.theme||t||n.theme},f6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,d6=/(^-|-$)/g;function Pp(e){return e.replace(f6,"-").replace(d6,"")}var cg=function(e){return Am(TS(e)>>>0)};function eu(e){return typeof e=="string"&&!0}var Tm=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},p6=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function h6(e,t,n){var r=e[n];Tm(t)&&Tm(r)?LS(r,t):e[n]=t}function LS(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(Tm(a))for(var s in a)p6(s)&&h6(e,a[s],s)}return e}var fg=ee.createContext();fg.Consumer;var Op={};function MS(e,t,n){var r=ig(e),o=!eu(e),i=t.attrs,a=i===void 0?Pc:i,s=t.componentId,l=s===void 0?function(y,x){var w=typeof y!="string"?"sc":Pp(y);Op[w]=(Op[w]||0)+1;var b=w+"-"+cg("5.3.5"+w+Op[w]);return x?x+"-"+b:b}(t.displayName,t.parentComponentId):s,u=t.displayName,c=u===void 0?function(y){return eu(y)?"styled."+y:"Styled("+xx(y)+")"}(e):u,f=t.displayName&&t.componentId?Pp(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(y,x,w){return e.shouldForwardProp(y,x,w)&&t.shouldForwardProp(y,x,w)}:e.shouldForwardProp);var v,m=new n6(n,f,r?e.componentStyle:void 0),_=m.isStatic&&a.length===0,g=function(y,x){return function(w,b,E,S){var C=w.attrs,T=w.componentStyle,k=w.defaultProps,G=w.foldedComponentIds,F=w.shouldForwardProp,H=w.styledComponentId,z=w.target,re=function(N,A,W){N===void 0&&(N=Qr);var D=kn({},A,{theme:N}),se={};return W.forEach(function(ie){var le,te,be,Te=ie;for(le in zs(Te)&&(Te=Te(D)),Te)D[le]=se[le]=le==="className"?(te=se[le],be=Te[le],te&&be?te+" "+be:te||be):Te[le]}),[D,se]}(NS(b,d.exports.useContext(fg),k)||Qr,b,C),me=re[0],oe=re[1],I=function(N,A,W,D){var se=ug(),ie=OS(),le=A?N.generateAndInjectStyles(Qr,se,ie):N.generateAndInjectStyles(W,se,ie);return le}(T,S,me),K=E,P=oe.$as||b.$as||oe.as||b.as||z,V=eu(P),O=oe!==b?kn({},b,{},oe):b,R={};for(var $ in O)$[0]!=="$"&&$!=="as"&&($==="forwardedAs"?R.as=O[$]:(F?F($,gx,P):!V||gx($))&&(R[$]=O[$]));return b.style&&oe.style!==b.style&&(R.style=kn({},b.style,{},oe.style)),R.className=Array.prototype.concat(G,H,I!==H?I:null,b.className,oe.className).filter(Boolean).join(" "),R.ref=K,d.exports.createElement(P,R)}(v,y,x,_)};return g.displayName=c,(v=ee.forwardRef(g)).attrs=p,v.componentStyle=m,v.displayName=c,v.shouldForwardProp=h,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Pc,v.styledComponentId=f,v.target=r?e.target:e,v.withComponent=function(y){var x=t.componentId,w=function(E,S){if(E==null)return{};var C,T,k={},G=Object.keys(E);for(T=0;T<G.length;T++)C=G[T],S.indexOf(C)>=0||(k[C]=E[C]);return k}(t,["componentId"]),b=x&&x+"-"+(eu(y)?y:Pp(xx(y)));return MS(y,kn({},w,{attrs:p,componentId:b}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(y){this._foldedDefaultProps=r?LS({},e.defaultProps,y):y}}),v.toString=function(){return"."+v.styledComponentId},o&&WO(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Rm=function(e){return function t(n,r,o){if(o===void 0&&(o=Qr),!ng.exports.isValidElementType(r))return ul(1,String(r));var i=function(){return n(r,o,ke.apply(void 0,arguments))};return i.withConfig=function(a){return t(n,r,kn({},o,{},a))},i.attrs=function(a){return t(n,r,kn({},o,{attrs:Array.prototype.concat(o.attrs,a).filter(Boolean)}))},i}(MS,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){Rm[e]=Rm(e)});var m6=function(){function e(n,r){this.rules=n,this.componentId=r,this.isStatic=RS(n),kc.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(n,r,o,i){var a=i(Uo(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&&kc.registerId(this.componentId+n),this.removeStyles(n,o),this.createStyles(n,r,o,i)},e}();function DS(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=ke.apply(void 0,[e].concat(n)),i="sc-global-"+cg(JSON.stringify(o)),a=new m6(o,i);function s(u){var c=ug(),f=OS(),p=d.exports.useContext(fg),h=d.exports.useRef(c.allocateGSInstance(i)).current;return c.server&&l(h,u,c,p,f),d.exports.useLayoutEffect(function(){if(!c.server)return l(h,u,c,p,f),function(){return a.removeStyles(h,c)}},[h,u,c,p,f]),null}function l(u,c,f,p,h){if(a.isStatic)a.renderStyles(u,Vk,f,h);else{var v=kn({},c,{theme:NS(c,p,s.defaultProps)});a.renderStyles(u,v,f,h)}}return ee.memo(s)}function id(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=ke.apply(void 0,[e].concat(n)).join(""),i=cg(o);return new kS(i,o)}var q=Rm;const Us={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"},Ce={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"},v6=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:Us,neutralColors:Ce},Symbol.toStringTag,{value:"Module"})),Jn=4,g6={"--ll-color-primary":Us.colorPrimary50,"--ll-color-primary-variant1":Us.colorPrimary40,"--ll-color-background":Ce.colorNeutral100,"--ll-color-surface":Ce.colorNeutral95,"--ll-color-surface-variant1":Ce.colorNeutral90,"--ll-color-surface-variant2":Ce.colorNeutral80,"--ll-color-on-primary":Ce.colorNeutral100,"--ll-color-on-primary-variant1":Ce.colorNeutral90,"--ll-color-on-background":Ce.colorNeutral10,"--ll-color-on-background-variant1":Ce.colorNeutral30,"--ll-color-on-surface":Ce.colorNeutral10,"--ll-color-on-surface-variant1":Ce.colorNeutral30,"--ll-color-placeholder":Ce.colorNeutral60,"--ll-color-disabled":Ce.colorNeutral60,"--ll-color-border":Ce.colorNeutral90},y6={"--ll-border-radius-small":`${Jn}px`,"--ll-border-radius-medium":`${2*Jn}px`},x6={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},_6={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${Jn}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)"},w6={"--ll-font-family":"Inter, sans-serif"},b6={"--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)"},E6={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},dg={...g6,...y6,...x6,..._6,...w6,...b6,...E6},S6={...dg,"--ll-color-primary":Us.colorPrimary60,"--ll-color-primary-variant1":Us.colorPrimary50,"--ll-color-background":Ce.colorNeutral10,"--ll-color-surface":Ce.colorNeutral20,"--ll-color-surface-variant1":Ce.colorNeutral30,"--ll-color-surface-variant2":Ce.colorNeutral40,"--ll-color-on-primary":Ce.colorNeutral100,"--ll-color-on-primary-variant1":Ce.colorNeutral90,"--ll-color-on-background":Ce.colorNeutral99,"--ll-color-on-background-variant1":Ce.colorNeutral60,"--ll-color-on-surface":Ce.colorNeutral60,"--ll-color-on-surface-variant1":Ce.colorNeutral70,"--ll-color-placeholder":Ce.colorNeutral70,"--ll-color-disabled":Ce.colorNeutral70,"--ll-color-border":Ce.colorNeutral30},C6=Object.keys(dg),Y=C6.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),A6={day:dg,night:S6},$6=DS`
64
+ :root {
65
+ ${({themeName:e,overrides:t})=>({...A6[e||"day"],...t})};
66
+ }
67
+ `,T6=e=>e,R6=T6({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),P6=Object.freeze(Object.defineProperty({__proto__:null,transitions:R6},Symbol.toStringTag,{value:"Module"})),O6={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},k6=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:O6},Symbol.toStringTag,{value:"Module"})),tZ={colors:v6,...P6,...k6};q.span`
68
+ display: inline-flex;
69
+ color: ${({textColor:e})=>e};
70
+ background-color: ${({backgroundColor:e})=>e};
71
+ border-radius: ${Y["--ll-border-radius-small"]};
72
+ padding: ${({size:e})=>e==="small"?`calc(${Y["--ll-spacing-xx-small"]} / 2)
73
+ ${Y["--ll-spacing-xx-small"]};`:`${Y["--ll-spacing-xx-small"]} ${Y["--ll-spacing-x-small"]}`};
74
+ line-height: 1;
75
+ font-family: ${Y["--ll-font-family"]};
76
+ font-size: ${Y["--ll-font-size-caption-1"]};
77
+ `;var ad={exports:{}},Ma={};/**
78
+ * @license React
79
+ * react-jsx-runtime.production.min.js
80
+ *
81
+ * Copyright (c) Facebook, Inc. and its affiliates.
82
+ *
83
+ * This source code is licensed under the MIT license found in the
84
+ * LICENSE file in the root directory of this source tree.
85
+ */var Cx;function N6(){if(Cx)return Ma;Cx=1;var e=ee,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,f={},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)&&(f[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:f,_owner:o.current}}return Ma.Fragment=n,Ma.jsx=a,Ma.jsxs=a,Ma}(function(e){e.exports=N6()})(ad);const pg=ad.exports.Fragment,Ae=ad.exports.jsx,cl=ad.exports.jsxs,L6=q.div`
86
+ height: ${({height:e})=>e}px;
87
+ width: ${({width:e})=>e}px;
88
+ fill: ${({fill:e})=>e};
89
+ display: flex;
90
+
91
+ & > svg {
92
+ fill: inherit;
93
+ height: 100%;
94
+ width: 100%;
95
+ }
96
+ `,hg=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>Ae(L6,{fill:t,height:n,width:r,children:Ae(e,{})}),Ax=({variant:e})=>e==="h1"?Y["--ll-font-size-h1"]:e==="h2"?Y["--ll-font-size-h2"]:e==="h3"?Y["--ll-font-size-h3"]:e==="h4"?Y["--ll-font-size-h4"]:e==="h5"?Y["--ll-font-size-h5"]:e==="h6"?Y["--ll-font-size-h6"]:e==="p"?Y["--ll-font-size-p"]:e==="caption1"?Y["--ll-font-size-caption-1"]:e==="caption2"?Y["--ll-font-size-caption-2"]:Y["--ll-font-size-h2"],$x=({color:e})=>e in Y?Y[e]:e,FS=q.span`
97
+ overflow: hidden;
98
+ display: inline-block;
99
+ width: 100%;
100
+ line-height: 1.45;
101
+ margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
102
+ font-size: inherit;
103
+ font-weight: inherit;
104
+ `,M6=q.div`
105
+ ${e=>ke`
106
+ text-align: ${e.align};
107
+ font-size: ${Ax(e)};
108
+ font-family: ${Y["--ll-font-family"]};
109
+ color: ${$x(e)};
110
+ font-weight: ${Y[e.weight]};
111
+ overflow: hidden;
112
+ display: flex;
113
+
114
+ svg {
115
+ height: ${Ax(e)};
116
+ fill: ${$x(e)};
117
+ }
118
+
119
+ ${FS} {
120
+ ${e.noWrap&&ke`
121
+ text-overflow: ellipsis;
122
+ white-space: nowrap;
123
+ `}
124
+ }
125
+ `}
126
+ `,Tx=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,weight:a="--ll-font-weight-normal",className:s})=>{const l=["caption1","caption2","p"].includes(t)?"p":t;return Ae(M6,{variant:t,align:n,color:r,noWrap:o,weight:a,children:Ae(FS,{as:l,noMargin:i,className:s,children:e})})},D6=id`
127
+ 0% {
128
+ transform: rotate(0deg);
129
+ }
130
+ 100% {
131
+ transform: rotate(360deg);
132
+ }
133
+ `,kp={small:Jn*4,medium:Jn*6,large:Jn*8},F6=q.div`
134
+ height: ${({size:e})=>kp[e]}px;
135
+ width: ${({size:e})=>kp[e]}px;
136
+ border: ${({size:e})=>kp[e]/6}px solid ${Y["--ll-color-on-surface-variant1"]};
137
+ border-bottom-color: transparent;
138
+ border-radius: 50%;
139
+ display: inline-block;
140
+ box-sizing: border-box;
141
+ animation: ${D6} 1s linear infinite;
142
+ `,IS=({size:e="medium"})=>Ae(F6,{size:e}),is={primary:{background:Y["--ll-color-primary"],onBackground:Y["--ll-color-on-primary"],hover:Y["--ll-color-primary-variant1"]}},I6=({size:e})=>e==="small"?`font-size: ${Y["--ll-font-size-caption-1"]}`:`font-size: ${Y["--ll-font-size-p"]}`,mg=({size:e})=>e==="small"?`${Jn*8}px`:e==="large"?`${Jn*12}px`:`${Jn*10}px`,vg=({size:e})=>e==="small"?`padding: 0 ${Y["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${Y["--ll-spacing-medium"]}`:`padding: 0 ${Y["--ll-spacing-small"]}`,j6=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",B6=ke`
143
+ ${({color:e="primary"})=>ke`
144
+ color: ${Y["--ll-color-on-background"]};
145
+
146
+ &:disabled {
147
+ cursor: default;
148
+ }
149
+ `};
150
+
151
+ height: ${mg};
152
+ ${vg};
153
+ `,V6=ke`
154
+ ${({color:e="primary"})=>ke`
155
+ background-color: ${is[e].background};
156
+ color: ${is[e].onBackground};
157
+
158
+ &:hover {
159
+ background-color: ${is[e].hover};
160
+ }
161
+
162
+ &:disabled {
163
+ cursor: default;
164
+ }
165
+ `};
166
+ height: ${mg};
167
+ ${vg};
168
+ `,z6=ke`
169
+ ${({color:e="primary"})=>ke`
170
+ border-color: ${is[e].background};
171
+ border-width: 1px;
172
+ border-style: solid;
173
+ color: ${is[e].background};
174
+ `};
175
+
176
+ &:hover {
177
+ background-color: rgba(0, 0, 0, 0.03);
178
+ }
179
+
180
+ height: ${mg};
181
+ ${vg};
182
+ `,U6=e=>({contained:V6,outlined:z6,text:B6})[e.variant],H6=q.div`
183
+ display: flex;
184
+ align-items: center;
185
+ margin-right: ${Y["--ll-spacing-x-small"]};
186
+ margin-left: calc(-1 * ${Y["--ll-spacing-xx-small"]});
187
+ `,G6=q.button`
188
+ font-weight: ${Y["--ll-font-weight-normal"]};
189
+ border-radius: ${Y["--ll-border-radius-small"]};
190
+ align-items: center;
191
+ cursor: pointer;
192
+ display: inline-flex;
193
+ background: none;
194
+ border: none;
195
+
196
+ svg {
197
+ fill: currentColor;
198
+ }
199
+
200
+ ${U6};
201
+ ${j6};
202
+ ${I6};
203
+ `,Y6=ee.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)=>Ae(G6,{variant:r,size:i,onClick:f=>{t||!n||l||n(f)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?Ae(IS,{}):cl(pg,{children:[o&&Ae(H6,{children:o}),e]})}));Y6.displayName="Button";const W6=({vertical:e,spacing:t})=>{const n=Y[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},q6=q.div`
204
+ margin: ${e=>W6(e)};
205
+ flex-shrink: 0;
206
+ `,nZ=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>Ae(q6,{vertical:e,spacing:t});function ce(){return ce=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},ce.apply(this,arguments)}function Ge(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 K6(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function jS(...e){return t=>e.forEach(n=>K6(n,t))}function rt(...e){return d.exports.useCallback(jS(...e),e)}function X6(e,t){const n=d.exports.createContext(t);function r(i){const{children:a,...s}=i,l=d.exports.useMemo(()=>s,Object.values(s));return d.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=d.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 sd(e,t=[]){let n=[];function r(i,a){const s=d.exports.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:h,...v}=f,m=(p==null?void 0:p[e][l])||s,_=d.exports.useMemo(()=>v,Object.values(v));return d.exports.createElement(m.Provider,{value:_},h)}function c(f,p){const h=(p==null?void 0:p[e][l])||s,v=d.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>d.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return d.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,Z6(o,...t)]}function Z6(...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 d.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const ta=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=d.exports.Children.toArray(n),i=o.find(J6);if(i){const a=i.props.children,s=o.map(l=>l===i?d.exports.Children.count(a)>1?d.exports.Children.only(null):d.exports.isValidElement(a)?a.props.children:null:l);return d.exports.createElement(Pm,ce({},r,{ref:t}),d.exports.isValidElement(a)?d.exports.cloneElement(a,void 0,s):null)}return d.exports.createElement(Pm,ce({},r,{ref:t}),n)});ta.displayName="Slot";const Pm=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return d.exports.isValidElement(n)?d.exports.cloneElement(n,{...e8(r,n.props),ref:jS(t,n.ref)}):d.exports.Children.count(n)>1?d.exports.Children.only(null):null});Pm.displayName="SlotClone";const Q6=({children:e})=>d.exports.createElement(d.exports.Fragment,null,e);function J6(e){return d.exports.isValidElement(e)&&e.type===Q6}function e8(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 t8=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],We=t8.reduce((e,t)=>{const n=d.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?ta:t;return d.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.exports.createElement(s,ce({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function n8(e,t){e&&$t.exports.flushSync(()=>e.dispatchEvent(t))}function ro(e){const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function r8(e){const t=ro(e);d.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const Om="dismissableLayer.update",o8="dismissableLayer.pointerDownOutside",i8="dismissableLayer.focusOutside";let Rx;const a8=d.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),BS=d.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=d.exports.useContext(a8),[c,f]=d.exports.useState(null),[,p]=d.exports.useState({}),h=rt(t,E=>f(E)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),g=c?v.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,x=g>=_,w=s8(E=>{const S=E.target,C=[...u.branches].some(T=>T.contains(S));!x||C||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),b=l8(E=>{const S=E.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return r8(E=>{g===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),d.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Rx=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Px(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=Rx)}},[c,n,u]),d.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Px())},[c,u]),d.exports.useEffect(()=>{const E=()=>p({});return document.addEventListener(Om,E),()=>document.removeEventListener(Om,E)},[]),d.exports.createElement(We.div,ce({},l,{ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:Ge(e.onFocusCapture,b.onFocusCapture),onBlurCapture:Ge(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:Ge(e.onPointerDownCapture,w.onPointerDownCapture)}))});function s8(e){const t=ro(e),n=d.exports.useRef(!1),r=d.exports.useRef(()=>{});return d.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){VS(o8,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 l8(e){const t=ro(e),n=d.exports.useRef(!1);return d.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&VS(i8,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Px(){const e=new CustomEvent(Om);document.dispatchEvent(e)}function VS(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?n8(o,i):o.dispatchEvent(i)}let Np=0;function zS(){d.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:Ox()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Ox()),Np++,()=>{Np===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Np--}},[])}function Ox(){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 Lp="focusScope.autoFocusOnMount",Mp="focusScope.autoFocusOnUnmount",kx={bubbles:!1,cancelable:!0},US=d.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=d.exports.useState(null),u=ro(o),c=ro(i),f=d.exports.useRef(null),p=rt(t,m=>l(m)),h=d.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.exports.useEffect(()=>{if(r){let m=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?f.current=y:Eo(f.current,{select:!0})},_=function(g){h.paused||!s||s.contains(g.relatedTarget)||Eo(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),d.exports.useEffect(()=>{if(s){Lx.add(h);const m=document.activeElement;if(!s.contains(m)){const _=new CustomEvent(Lp,kx);s.addEventListener(Lp,u),s.dispatchEvent(_),_.defaultPrevented||(u8(h8(HS(s)),{select:!0}),document.activeElement===m&&Eo(s))}return()=>{s.removeEventListener(Lp,u),setTimeout(()=>{const _=new CustomEvent(Mp,kx);s.addEventListener(Mp,c),s.dispatchEvent(_),_.defaultPrevented||Eo(m!=null?m:document.body,{select:!0}),s.removeEventListener(Mp,c),Lx.remove(h)},0)}}},[s,u,c,h]);const v=d.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(_&&g){const y=m.currentTarget,[x,w]=c8(y);x&&w?!m.shiftKey&&g===w?(m.preventDefault(),n&&Eo(x,{select:!0})):m.shiftKey&&g===x&&(m.preventDefault(),n&&Eo(w,{select:!0})):g===y&&m.preventDefault()}},[n,r,h.paused]);return d.exports.createElement(We.div,ce({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function u8(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Eo(r,{select:t}),document.activeElement!==n)return}function c8(e){const t=HS(e),n=Nx(t,e),r=Nx(t.reverse(),e);return[n,r]}function HS(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 Nx(e,t){for(const n of e)if(!f8(n,{upTo:t}))return n}function f8(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 d8(e){return e instanceof HTMLInputElement&&"select"in e}function Eo(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&d8(e)&&t&&e.select()}}const Lx=p8();function p8(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Mx(e,t),e.unshift(t)},remove(t){var n;e=Mx(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Mx(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function h8(e){return e.filter(t=>t.tagName!=="A")}const Ft=Boolean(globalThis==null?void 0:globalThis.document)?d.exports.useLayoutEffect:()=>{},m8=Vv["useId".toString()]||(()=>{});let v8=0;function gg(e){const[t,n]=d.exports.useState(m8());return Ft(()=>{e||n(r=>r!=null?r:String(v8++))},[e]),e||(t?`radix-${t}`:"")}function ma(e){return e.split("-")[0]}function ld(e){return e.split("-")[1]}function va(e){return["top","bottom"].includes(ma(e))?"x":"y"}function yg(e){return e==="y"?"height":"width"}function Dx(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=va(t),l=yg(s),u=r[l]/2-o[l]/2,c=ma(t),f=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(ld(t)){case"start":p[s]-=u*(n&&f?-1:1);break;case"end":p[s]+=u*(n&&f?-1:1);break}return p}const g8=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}=Dx(l,r,s),f=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:g,y,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=g!=null?g:u,c=y!=null?y:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=Dx(l,f,s)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:o,middlewareData:p}};function y8(e){return{top:0,right:0,bottom:0,left:0,...e}}function GS(e){return typeof e!="number"?y8(e):{top:e,right:e,bottom:e,left:e}}function Nc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Lc(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:f="floating",altBoundary:p=!1,padding:h=0}=t,v=GS(h),m=s[p?f==="floating"?"reference":"floating":f],_=Nc(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})),g=Nc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:_.top-g.top+v.top,bottom:g.bottom-_.bottom+v.bottom,left:_.left-g.left+v.left,right:g.right-_.right+v.right}}const x8=Math.min,_8=Math.max;function km(e,t,n){return _8(e,x8(t,n))}const Fx=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=GS(r),c={x:o,y:i},f=va(a),p=ld(a),h=yg(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=s.reference[h]+s.reference[f]-c[f]-s.floating[h],y=c[f]-s.reference[f],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const b=g/2-y/2,E=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+b,T=km(E,C,S),k=(p==="start"?u[m]:u[_])>0&&C!==T&&s.reference[h]<=s.floating[h]?C<E?E-C:S-C:0;return{[f]:c[f]-k,data:{[f]:T,centerOffset:C-T}}}}),w8={left:"right",right:"left",bottom:"top",top:"bottom"};function Mc(e){return e.replace(/left|right|bottom|top/g,t=>w8[t])}function b8(e,t,n){n===void 0&&(n=!1);const r=ld(e),o=va(e),i=yg(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Mc(a)),{main:a,cross:Mc(a)}}const E8={start:"end",end:"start"};function Ix(e){return e.replace(/start|end/g,t=>E8[t])}const S8=["top","right","bottom","left"];function C8(e){const t=Mc(e);return[Ix(e),t,Ix(t)]}const A8=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:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=ma(r),_=f||(m===a||!h?[Mc(a)]:C8(a)),g=[a,..._],y=await Lc(t,v),x=[];let w=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(y[m]),c){const{main:C,cross:T}=b8(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(y[C],y[T])}if(w=[...w,{placement:r,overflows:x}],!x.every(C=>C<=0)){var b,E;const C=((b=(E=o.flip)==null?void 0:E.index)!=null?b:0)+1,T=g[C];if(T)return{data:{index:C,overflows:w},reset:{placement:T}};let k="bottom";switch(p){case"bestFit":{var S;const G=(S=w.map(F=>[F,F.overflows.filter(H=>H>0).reduce((H,z)=>H+z,0)]).sort((F,H)=>F[1]-H[1])[0])==null?void 0:S[0].placement;G&&(k=G);break}case"initialPlacement":k=a;break}if(r!==k)return{reset:{placement:k}}}return{}}}};function jx(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Bx(e){return S8.some(t=>e[t]>=0)}const $8=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 Lc(r,{...n,elementContext:"reference"}),a=jx(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Bx(a)}}}case"escaped":{const i=await Lc(r,{...n,altBoundary:!0}),a=jx(i,o.floating);return{data:{escapedOffsets:a,escaped:Bx(a)}}}default:return{}}}}};async function T8(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ma(n),s=ld(n),l=va(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};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 R8=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await T8(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function YS(e){return e==="x"?"y":"x"}const P8=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:_=>{let{x:g,y}=_;return{x:g,y}}},...l}=e,u={x:n,y:r},c=await Lc(t,l),f=va(ma(o)),p=YS(f);let h=u[f],v=u[p];if(i){const _=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=h+c[_],x=h-c[g];h=km(y,h,x)}if(a){const _=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=v+c[_],x=v-c[g];v=km(y,v,x)}const m=s.fn({...t,[f]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},O8=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},f=va(o),p=YS(f);let h=c[f],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=f==="y"?"height":"width",E=i.reference[f]-i.floating[b]+_.mainAxis,S=i.reference[f]+i.reference[b]-_.mainAxis;h<E?h=E:h>S&&(h=S)}if(u){var g,y,x,w;const b=f==="y"?"width":"height",E=["top","left"].includes(ma(o)),S=i.reference[p]-i.floating[b]+(E&&(g=(y=a.offset)==null?void 0:y[p])!=null?g:0)+(E?0:_.crossAxis),C=i.reference[p]+i.reference[b]+(E?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(E?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[f]:h,[p]:v}}}};function WS(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function gr(e){if(e==null)return window;if(!WS(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function fl(e){return gr(e).getComputedStyle(e)}function ir(e){return WS(e)?"":e?(e.nodeName||"").toLowerCase():""}function qS(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function jn(e){return e instanceof gr(e).HTMLElement}function oo(e){return e instanceof gr(e).Element}function k8(e){return e instanceof gr(e).Node}function xg(e){if(typeof ShadowRoot>"u")return!1;const t=gr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ud(e){const{overflow:t,overflowX:n,overflowY:r}=fl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function N8(e){return["table","td","th"].includes(ir(e))}function KS(e){const t=/firefox/i.test(qS()),n=fl(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 XS(){return!/^((?!chrome|android).)*safari/i.test(qS())}const Vx=Math.min,as=Math.max,Dc=Math.round;function ar(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&&jn(e)&&(l=e.offsetWidth>0&&Dc(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Dc(s.height)/e.offsetHeight||1);const c=oo(e)?gr(e):window,f=!XS()&&n,p=(s.left+(f&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(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 fo(e){return((k8(e)?e.ownerDocument:e.document)||window.document).documentElement}function cd(e){return oo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ZS(e){return ar(fo(e)).left+cd(e).scrollLeft}function L8(e){const t=ar(e);return Dc(t.width)!==e.offsetWidth||Dc(t.height)!==e.offsetHeight}function M8(e,t,n){const r=jn(t),o=fo(t),i=ar(e,r&&L8(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((ir(t)!=="body"||ud(o))&&(a=cd(t)),jn(t)){const l=ar(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=ZS(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function QS(e){return ir(e)==="html"?e:e.assignedSlot||e.parentNode||(xg(e)?e.host:null)||fo(e)}function zx(e){return!jn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function D8(e){let t=QS(e);for(xg(t)&&(t=t.host);jn(t)&&!["html","body"].includes(ir(t));){if(KS(t))return t;t=t.parentNode}return null}function Nm(e){const t=gr(e);let n=zx(e);for(;n&&N8(n)&&getComputedStyle(n).position==="static";)n=zx(n);return n&&(ir(n)==="html"||ir(n)==="body"&&getComputedStyle(n).position==="static"&&!KS(n))?t:n||D8(e)||t}function Ux(e){if(jn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=ar(e);return{width:t.width,height:t.height}}function F8(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=jn(n),i=fo(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((ir(n)!=="body"||ud(i))&&(a=cd(n)),jn(n))){const l=ar(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 I8(e,t){const n=gr(e),r=fo(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=XS();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function j8(e){var t;const n=fo(e),r=cd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=as(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=as(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+ZS(e);const l=-r.scrollTop;return fl(o||n).direction==="rtl"&&(s+=as(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function JS(e){const t=QS(e);return["html","body","#document"].includes(ir(t))?e.ownerDocument.body:jn(t)&&ud(t)?t:JS(t)}function Fc(e,t){var n;t===void 0&&(t=[]);const r=JS(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=gr(r),a=o?[i].concat(i.visualViewport||[],ud(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Fc(a))}function B8(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&xg(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function V8(e,t){const n=ar(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 Hx(e,t,n){return t==="viewport"?Nc(I8(e,n)):oo(t)?V8(t,n):Nc(j8(fo(e)))}function z8(e){const t=Fc(e),n=["absolute","fixed"].includes(fl(e).position)&&jn(e)?Nm(e):e;return oo(n)?t.filter(r=>oo(r)&&B8(r,n)&&ir(r)!=="body"):[]}function U8(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?z8(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=Hx(t,u,o);return l.top=as(c.top,l.top),l.right=Vx(c.right,l.right),l.bottom=Vx(c.bottom,l.bottom),l.left=as(c.left,l.left),l},Hx(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const H8={getClippingRect:U8,convertOffsetParentRelativeRectToViewportRelativeRect:F8,isElement:oo,getDimensions:Ux,getOffsetParent:Nm,getDocumentElement:fo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:M8(t,Nm(n),r),floating:{...Ux(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>fl(e).direction==="rtl"};function G8(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?[...oo(e)?Fc(e):[],...Fc(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),oo(e)&&!s&&f.observe(e),f.observe(t)}let p,h=s?ar(e):null;s&&v();function v(){const m=ar(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(_=>{l&&_.removeEventListener("scroll",n),u&&_.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const Y8=(e,t,n)=>g8(e,t,{platform:H8,...n});var Lm=typeof document<"u"?d.exports.useLayoutEffect:d.exports.useEffect;function Mm(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(!Mm(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)&&!Mm(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function W8(e){const t=d.exports.useRef(e);return Lm(()=>{t.current=e}),t}function q8(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=d.exports.useRef(null),a=d.exports.useRef(null),s=W8(o),l=d.exports.useRef(null),[u,c]=d.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,p]=d.exports.useState(t);Mm(f==null?void 0:f.map(x=>{let{options:w}=x;return w}),t==null?void 0:t.map(x=>{let{options:w}=x;return w}))||p(t);const h=d.exports.useCallback(()=>{!i.current||!a.current||Y8(i.current,a.current,{middleware:f,placement:n,strategy:r}).then(x=>{v.current&&$t.exports.flushSync(()=>{c(x)})})},[f,n,r]);Lm(()=>{v.current&&h()},[h]);const v=d.exports.useRef(!1);Lm(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=d.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]),_=d.exports.useCallback(x=>{i.current=x,m()},[m]),g=d.exports.useCallback(x=>{a.current=x,m()},[m]),y=d.exports.useMemo(()=>({reference:i,floating:a}),[]);return d.exports.useMemo(()=>({...u,update:h,refs:y,reference:_,floating:g}),[u,h,y,_,g])}const K8=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?Fx({element:t.current,padding:n}).fn(o):{}:t?Fx({element:t,padding:n}).fn(o):{}}}},X8=d.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.exports.createElement(We.svg,ce({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:d.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),Z8=X8;function Q8(e){const[t,n]=d.exports.useState(void 0);return Ft(()=>{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 eC="Popper",[_g,tC]=sd(eC),[rZ,nC]=_g(eC),J8="PopperAnchor",eN=d.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=nC(J8,n),a=d.exports.useRef(null),s=rt(t,a);return d.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.exports.createElement(We.div,ce({},o,{ref:s}))}),Ic="PopperContent",[tN,nN]=_g(Ic),[rN,oN]=_g(Ic,{hasParent:!1,positionUpdateFns:new Set}),iN=d.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...b}=e,E=nC(Ic,c),[S,C]=d.exports.useState(null),T=rt(t,de=>C(de)),[k,G]=d.exports.useState(null),F=Q8(k),H=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,z=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,re=f+(h!=="center"?"-"+h:""),me=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},oe=Array.isArray(_)?_:[_],I=oe.length>0,K={padding:me,boundary:oe.filter(cN),altBoundary:I},{reference:P,floating:V,strategy:O,x:R,y:$,placement:N,middlewareData:A,update:W}=q8({strategy:"fixed",placement:re,whileElementsMounted:G8,middleware:[R8({mainAxis:p+z,alignmentAxis:v}),w?P8({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?O8():void 0,...K}):void 0,k?K8({element:k,padding:m}):void 0,w?A8({...K}):void 0,fN({arrowWidth:H,arrowHeight:z}),x?$8({strategy:"referenceHidden"}):void 0].filter(uN)});Ft(()=>{P(E.anchor)},[P,E.anchor]);const D=R!==null&&$!==null,[se,ie]=rC(N),le=(o=A.arrow)===null||o===void 0?void 0:o.x,te=(i=A.arrow)===null||i===void 0?void 0:i.y,be=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Te,ae]=d.exports.useState();Ft(()=>{S&&ae(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Re,positionUpdateFns:Q}=oN(Ic,c),ue=!Re;d.exports.useLayoutEffect(()=>{if(!ue)return Q.add(W),()=>{Q.delete(W)}},[ue,Q,W]),d.exports.useLayoutEffect(()=>{ue&&D&&Array.from(Q).reverse().forEach(de=>requestAnimationFrame(de))},[ue,D,Q]);const Be={"data-side":se,"data-align":ie,...b,ref:T,style:{...b.style,animation:D?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return d.exports.createElement("div",{ref:V,"data-radix-popper-content-wrapper":"",style:{position:O,left:0,top:0,transform:D?`translate3d(${Math.round(R)}px, ${Math.round($)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Te,["--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(" ")}},d.exports.createElement(tN,{scope:c,placedSide:se,onArrowChange:G,arrowX:le,arrowY:te,shouldHideArrow:be},ue?d.exports.createElement(rN,{scope:c,hasParent:!0,positionUpdateFns:Q},d.exports.createElement(We.div,Be)):d.exports.createElement(We.div,Be)))}),aN="PopperArrow",sN={top:"bottom",right:"left",bottom:"top",left:"right"},lN=d.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=nN(aN,n),i=sN[o.placedSide];return d.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}},d.exports.createElement(Z8,ce({},r,{ref:t,style:{...r.style,display:"block"}})))});function uN(e){return e!==void 0}function cN(e){return e!==null}const fN=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,f=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=rC(s),m={start:"0%",center:"50%",end:"100%"}[v],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,g=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let y="",x="";return h==="bottom"?(y=c?m:`${_}px`,x=`${-p}px`):h==="top"?(y=c?m:`${_}px`,x=`${l.floating.height+p}px`):h==="right"?(y=`${-p}px`,x=c?m:`${g}px`):h==="left"&&(y=`${l.floating.width+p}px`,x=c?m:`${g}px`),{data:{x:y,y:x}}}});function rC(e){const[t,n="center"]=e.split("-");return[t,n]}const dN=eN,pN=iN,hN=lN,mN=d.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?BE.createPortal(d.exports.createElement(We.div,ce({},o,{ref:t})),r):null});function vN(e,t){return d.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const oC=e=>{const{present:t,children:n}=e,r=gN(t),o=typeof n=="function"?n({present:r.isPresent}):d.exports.Children.only(n),i=rt(r.ref,o.ref);return typeof n=="function"||r.isPresent?d.exports.cloneElement(o,{ref:i}):null};oC.displayName="Presence";function gN(e){const[t,n]=d.exports.useState(),r=d.exports.useRef({}),o=d.exports.useRef(e),i=d.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=vN(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.exports.useEffect(()=>{const u=tu(r.current);i.current=s==="mounted"?u:"none"},[s]),Ft(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,p=tu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ft(()=>{if(t){const u=f=>{const p=tu(r.current).includes(f.animationName);f.target===t&&p&&$t.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=tu(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:d.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function tu(e){return(e==null?void 0:e.animationName)||"none"}function Gx({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=yN({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=ro(n),l=d.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 yN({defaultProp:e,onChange:t}){const n=d.exports.useState(e),[r]=n,o=d.exports.useRef(r),i=ro(t);return d.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var xN=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Qo=new WeakMap,nu=new WeakMap,ru={},Dp=0,_N=function(e,t,n,r){var o=Array.isArray(e)?e:[e];ru[n]||(ru[n]=new WeakMap);var i=ru[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(Qo.get(p)||0)+1,_=(i.get(p)||0)+1;Qo.set(p,m),i.set(p,_),a.push(p),m===1&&v&&nu.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),Dp++,function(){a.forEach(function(f){var p=Qo.get(f)-1,h=i.get(f)-1;Qo.set(f,p),i.set(f,h),p||(nu.has(f)||f.removeAttribute(r),nu.delete(f)),h||f.removeAttribute(n)}),Dp--,Dp||(Qo=new WeakMap,Qo=new WeakMap,nu=new WeakMap,ru={})}},iC=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||xN(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),_N(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 aC(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 wN(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 Bu="right-scroll-bar-position",Vu="width-before-scroll-bar",bN="with-scroll-bars-hidden",EN="--removed-body-scroll-bar-size";function SN(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function CN(e,t){var n=d.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 AN(e,t){return CN(t||null,function(n){return e.forEach(function(r){return SN(r,n)})})}function $N(e){return e}function TN(e,t){t===void 0&&(t=$N);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 RN(e){e===void 0&&(e={});var t=TN(null);return t.options=Rn({async:!0,ssr:!1},e),t}var sC=function(e){var t=e.sideCar,n=aC(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 Ae(r,{...Rn({},n)})};sC.isSideCarExport=!0;function PN(e,t){return e.useMedium(t),sC}var lC=RN(),Fp=function(){},fd=d.exports.forwardRef(function(e,t){var n=d.exports.useRef(null),r=d.exports.useState({onScrollCapture:Fp,onWheelCapture:Fp,onTouchMoveCapture:Fp}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,g=_===void 0?"div":_,y=aC(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=AN([n,t]),b=Rn(Rn({},y),o);return cl(pg,{children:[c&&Ae(x,{sideCar:lC,removeScrollBar:u,shards:f,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?d.exports.cloneElement(d.exports.Children.only(s),Rn(Rn({},b),{ref:w})):Ae(g,{...Rn({},b,{className:l,ref:w}),children:s})]})});fd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fd.classNames={fullWidth:Vu,zeroRight:Bu};var ON=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function kN(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ON();return t&&e.setAttribute("nonce",t),e}function NN(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function LN(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var MN=function(){var e=0,t=null;return{add:function(n){e==0&&(t=kN())&&(NN(t,n),LN(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},DN=function(){var e=MN();return function(t,n){d.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},uC=function(){var e=DN(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},FN={left:0,top:0,right:0,gap:0},Ip=function(e){return parseInt(e||"",10)||0},IN=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[Ip(n),Ip(r),Ip(o)]},jN=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return FN;var t=IN(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])}},BN=uC(),VN=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
207
+ .`.concat(bN,` {
208
+ overflow: hidden `).concat(r,`;
209
+ padding-right: `).concat(s,"px ").concat(r,`;
210
+ }
211
+ body {
212
+ overflow: hidden `).concat(r,`;
213
+ overscroll-behavior: contain;
214
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
215
+ padding-left: `.concat(o,`px;
216
+ padding-top: `).concat(i,`px;
217
+ padding-right: `).concat(a,`px;
218
+ margin-left:0;
219
+ margin-top:0;
220
+ margin-right: `).concat(s,"px ").concat(r,`;
221
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
222
+ }
223
+
224
+ .`).concat(Bu,` {
225
+ right: `).concat(s,"px ").concat(r,`;
226
+ }
227
+
228
+ .`).concat(Vu,` {
229
+ margin-right: `).concat(s,"px ").concat(r,`;
230
+ }
231
+
232
+ .`).concat(Bu," .").concat(Bu,` {
233
+ right: 0 `).concat(r,`;
234
+ }
235
+
236
+ .`).concat(Vu," .").concat(Vu,` {
237
+ margin-right: 0 `).concat(r,`;
238
+ }
239
+
240
+ body {
241
+ `).concat(EN,": ").concat(s,`px;
242
+ }
243
+ `)},zN=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=d.exports.useMemo(function(){return jN(o)},[o]);return Ae(BN,{styles:VN(i,!t,o,n?"":"!important")})},Dm=!1;if(typeof window<"u")try{var ou=Object.defineProperty({},"passive",{get:function(){return Dm=!0,!0}});window.addEventListener("test",ou,ou),window.removeEventListener("test",ou,ou)}catch{Dm=!1}var Jo=Dm?{passive:!1}:!1,UN=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},HN=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Yx=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=cC(e,n);if(r){var o=fC(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},GN=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},YN=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},cC=function(e,t){return e==="v"?UN(t):HN(t)},fC=function(e,t){return e==="v"?GN(t):YN(t)},WN=function(e,t){return e==="h"&&t==="rtl"?-1:1},qN=function(e,t,n,r,o){var i=WN(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{var h=fC(e,s),v=h[0],m=h[1],_=h[2],g=m-_-i*v;(v||g)&&cC(e,s)&&(f+=g,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&f===0||!o&&a>f)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},iu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Wx=function(e){return[e.deltaX,e.deltaY]},qx=function(e){return e&&"current"in e?e.current:e},KN=function(e,t){return e[0]===t[0]&&e[1]===t[1]},XN=function(e){return`
244
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
245
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
246
+ `)},ZN=0,ei=[];function QN(e){var t=d.exports.useRef([]),n=d.exports.useRef([0,0]),r=d.exports.useRef(),o=d.exports.useState(ZN++)[0],i=d.exports.useState(function(){return uC()})[0],a=d.exports.useRef(e);d.exports.useEffect(function(){a.current=e},[e]),d.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=wN([e.lockRef.current],(e.shards||[]).map(qx),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var g=iu(m),y=n.current,x="deltaX"in m?m.deltaX:y[0]-g[0],w="deltaY"in m?m.deltaY:y[1]-g[1],b,E=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&E.type==="range")return!1;var C=Yx(S,E);if(!C)return!0;if(C?b=S:(b=S==="v"?"h":"v",C=Yx(S,E)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=b),!b)return!0;var T=r.current||b;return qN(T,_,m,T==="h"?x:w,!0)},[]),l=d.exports.useCallback(function(m){var _=m;if(!(!ei.length||ei[ei.length-1]!==i)){var g="deltaY"in _?Wx(_):iu(_),y=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&KN(b.delta,g)})[0];if(y&&y.should){_.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(qx).filter(Boolean).filter(function(b){return b.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=d.exports.useCallback(function(m,_,g,y){var x={name:m,delta:_,target:g,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=d.exports.useCallback(function(m){n.current=iu(m),r.current=void 0},[]),f=d.exports.useCallback(function(m){u(m.type,Wx(m),m.target,s(m,e.lockRef.current))},[]),p=d.exports.useCallback(function(m){u(m.type,iu(m),m.target,s(m,e.lockRef.current))},[]);d.exports.useEffect(function(){return ei.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Jo),document.addEventListener("touchmove",l,Jo),document.addEventListener("touchstart",c,Jo),function(){ei=ei.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,Jo),document.removeEventListener("touchmove",l,Jo),document.removeEventListener("touchstart",c,Jo)}},[]);var h=e.removeScrollBar,v=e.inert;return cl(pg,{children:[v?Ae(i,{styles:XN(o)}):null,h?Ae(zN,{gapMode:"margin"}):null]})}const JN=PN(lC,QN);var dC=d.exports.forwardRef(function(e,t){return Ae(fd,{...Rn({},e,{ref:t,sideCar:JN})})});dC.classNames=fd.classNames;const pC=dC,hC="Popover",[mC,oZ]=sd(hC,[tC]),wg=tC(),[iZ,dl]=mC(hC),e7="PopoverTrigger",t7=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=dl(e7,n),i=wg(n),a=rt(t,o.triggerRef),s=d.exports.createElement(We.button,ce({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":gC(o.open)},r,{ref:a,onClick:Ge(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:d.exports.createElement(dN,ce({asChild:!0},i),s)}),n7="PopoverPortal",[aZ,r7]=mC(n7,{forceMount:void 0}),Hs="PopoverContent",o7=d.exports.forwardRef((e,t)=>{const n=r7(Hs,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=dl(Hs,e.__scopePopover);return d.exports.createElement(oC,{present:r||i.open},i.modal?d.exports.createElement(i7,ce({},o,{ref:t})):d.exports.createElement(a7,ce({},o,{ref:t})))}),i7=d.exports.forwardRef((e,t)=>{const n=dl(Hs,e.__scopePopover),r=d.exports.useRef(null),o=rt(t,r),i=d.exports.useRef(!1);return d.exports.useEffect(()=>{const a=r.current;if(a)return iC(a)},[]),d.exports.createElement(pC,{as:ta,allowPinchZoom:!0},d.exports.createElement(vC,ce({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ge(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ge(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:Ge(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),a7=d.exports.forwardRef((e,t)=>{const n=dl(Hs,e.__scopePopover),r=d.exports.useRef(!1);return d.exports.createElement(vC,ce({},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()}}))}),vC=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,p=dl(Hs,n),h=wg(n);return zS(),d.exports.createElement(US,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},d.exports.createElement(BS,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},d.exports.createElement(pN,ce({"data-state":gC(p.open),role:"dialog",id:p.contentId},h,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),s7=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=wg(n);return d.exports.createElement(hN,ce({},o,r,{ref:t}))});function gC(e){return e?"open":"closed"}const l7=t7,u7=o7,c7=s7;q(l7)`
247
+ background: none;
248
+ border: none;
249
+ padding: 0;
250
+ `;q(u7)`
251
+ border-radius: ${Y["--ll-border-radius-small"]};
252
+ box-shadow: ${Y["--ll-shadow-small"]};
253
+ padding: ${Y["--ll-spacing-medium"]};
254
+ `;q(c7)`
255
+ fill: ${Y["--ll-color-background"]};
256
+ `;const zu={primary:{background:"transparent",onBackground:Y["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:Y["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},jc={small:24,medium:32,large:48},f7=q.button`
257
+ ${({color:e="primary",size:t="medium"})=>ke`
258
+ border: none;
259
+ background-color: ${zu[e].background};
260
+ color: ${zu[e].onBackground};
261
+ border-radius: 50%;
262
+ height: ${jc[t]}px;
263
+ width: ${jc[t]}px;
264
+ display: flex;
265
+ justify-content: center;
266
+ align-items: center;
267
+
268
+ &:hover {
269
+ background-color: ${zu[e].hover};
270
+ }
271
+
272
+ &:disabled {
273
+ cursor: default;
274
+ background-color: rgba(0, 0, 0, 0.1);
275
+ color: ${Y["--ll-color-on-background-variant1"]};
276
+ }
277
+ `};
278
+ `,sZ=({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=d.exports.useMemo(()=>t?Y["--ll-color-placeholder"]:zu[i].onBackground,[i,t]);return Ae(f7,{size:r,onClick:l,disabled:t||a,className:s,color:i,type:o,children:a?Ae(IS,{}):Ae(hg,{SVGElement:e,width:jc[r]/1.33333,height:jc[r]/1.33333,fill:u})})};function d7({height:e,width:t}){return ke`
279
+ height: ${e};
280
+ width: ${t};
281
+ `}const p7=id`
282
+ from {
283
+ background-position: -800px 0;
284
+ }
285
+
286
+ to {
287
+ background-position: 800px 0;
288
+ }
289
+ `,h7=q.div`
290
+ border-radius: ${Y["--ll-border-radius-medium"]};
291
+ animation: ${p7} 2s linear infinite;
292
+ background: linear-gradient(
293
+ to right,
294
+ /* NOTE: 99.9% of the time we should use colours from theme, since these are
295
+ CSS vars that can be overriden. */
296
+ ${Y["--ll-color-surface-variant1"]} 4%,
297
+ ${Y["--ll-color-surface-variant2"]} 25%,
298
+ ${Y["--ll-color-surface-variant1"]} 36%
299
+ );
300
+ background-size: 800px 100%;
301
+ ${d7}
302
+ `,lZ=({height:e,width:t,className:n})=>Ae(h7,{height:e,width:t,className:n});q.div`
303
+ flex: 1;
304
+ height: 100%;
305
+ width: 100%;
306
+ display: flex;
307
+ align-items: center;
308
+ justify-content: center;
309
+ `;q.div`
310
+ display: flex;
311
+ flex-direction: column;
312
+ align-items: center;
313
+ `;function Kx(e,[t,n]){return Math.min(n,Math.max(t,e))}function m7(e){const t=e+"CollectionProvider",[n,r]=sd(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=ee.useRef(null),g=ee.useRef(new Map).current;return ee.createElement(o,{scope:v,itemMap:g,collectionRef:_},m)},s=e+"CollectionSlot",l=ee.forwardRef((h,v)=>{const{scope:m,children:_}=h,g=i(s,m),y=rt(v,g.collectionRef);return ee.createElement(ta,{ref:y},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=ee.forwardRef((h,v)=>{const{scope:m,children:_,...g}=h,y=ee.useRef(null),x=rt(v,y),w=i(u,m);return ee.useEffect(()=>(w.itemMap.set(y,{ref:y,...g}),()=>void w.itemMap.delete(y))),ee.createElement(ta,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return ee.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const _=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((g,y)=>_.indexOf(g.ref.current)-_.indexOf(y.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}const v7=d.exports.createContext(void 0);function g7(e){const t=d.exports.useContext(v7);return e||t||"ltr"}const y7="Label",[uZ,x7]=X6(y7,{id:void 0,controlRef:{current:null}}),_7=e=>{const t=x7("LabelConsumer"),{controlRef:n}=t;return d.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id};function w7(e){const t=d.exports.useRef({value:e,previous:e});return d.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const b7=d.exports.forwardRef((e,t)=>d.exports.createElement(We.span,ce({},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}}))),E7=[" ","Enter","ArrowUp","ArrowDown"],S7=[" ","Enter"],dd="Select",[pd,bg,C7]=m7(dd),[pl,A7]=sd(dd,[C7]),[$7,ga]=pl(dd),[T7,R7]=pl(dd),yC=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:l,dir:u,name:c,autoComplete:f}=e,[p,h]=d.exports.useState(null),[v,m]=d.exports.useState(null),[_,g]=d.exports.useState(!1),y=g7(u),[x=!1,w]=Gx({prop:r,defaultProp:o,onChange:i}),[b,E]=Gx({prop:a,defaultProp:s,onChange:l}),S=d.exports.useRef(null),C=p?Boolean(p.closest("form")):!0,[T,k]=d.exports.useState(new Set),G=Array.from(T).map(F=>F.props.value).join(";");return d.exports.createElement($7,{scope:t,trigger:p,onTriggerChange:h,valueNode:v,onValueNodeChange:m,valueNodeHasChildren:_,onValueNodeHasChildrenChange:g,contentId:gg(),value:b,onValueChange:E,open:x,onOpenChange:w,dir:y,triggerPointerDownPosRef:S},d.exports.createElement(pd.Provider,{scope:t},d.exports.createElement(T7,{scope:e.__scopeSelect,onNativeOptionAdd:d.exports.useCallback(F=>{k(H=>new Set(H).add(F))},[]),onNativeOptionRemove:d.exports.useCallback(F=>{k(H=>{const z=new Set(H);return z.delete(F),z})},[])},n)),C?d.exports.createElement(MC,{key:G,"aria-hidden":!0,tabIndex:-1,name:c,autoComplete:f,value:b,onChange:F=>E(F.target.value)},Array.from(T)):null)},P7="SelectTrigger",xC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=ga(P7,n),s=rt(t,a.onTriggerChange),l=bg(n),u=_7(a.trigger),c=o||u,[f,p,h]=DC(m=>{const _=l().filter(x=>!x.disabled),g=_.find(x=>x.value===a.value),y=FC(_,m,g);y!==void 0&&a.onValueChange(y.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return d.exports.createElement(We.button,ce({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:Ge(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:Ge(i.onKeyDown,m=>{const _=f.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(_&&m.key===" ")&&E7.includes(m.key)&&(v(),m.preventDefault())})}))}),O7="SelectValue",_C=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a,...s}=e,l=ga(O7,n),{onValueNodeHasChildrenChange:u}=l,c=i!==void 0,f=rt(t,l.onValueNodeChange);return Ft(()=>{u(c)},[u,c]),d.exports.createElement(We.span,ce({},s,{ref:f,style:{pointerEvents:"none"}}),l.value===void 0&&a!==void 0?a:i)}),Eg=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return d.exports.createElement(We.span,ce({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),wC=e=>d.exports.createElement(mN,ce({asChild:!0},e)),Sg="SelectContent",bC=d.exports.forwardRef((e,t)=>{const n=ga(Sg,e.__scopeSelect),[r,o]=d.exports.useState();return Ft(()=>{o(new DocumentFragment)},[]),d.exports.createElement(d.exports.Fragment,null,n.open?d.exports.createElement(k7,ce({},e,{ref:t})):r?$t.exports.createPortal(d.exports.createElement(EC,{scope:e.__scopeSelect},d.exports.createElement(pd.Slot,{scope:e.__scopeSelect},d.exports.createElement("div",null,e.children))),r):null)}),wr=10,[EC,ya]=pl(Sg),k7=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=ga(Sg,n),[a,s]=d.exports.useState(null),[l,u]=d.exports.useState(null),[c,f]=d.exports.useState(null),p=rt(t,P=>u(P)),[h,v]=d.exports.useState(null),[m,_]=d.exports.useState(null),g=bg(n),[y,x]=d.exports.useState(!1),w=d.exports.useRef(!0),b=d.exports.useRef(!1),E=d.exports.useRef(!1);d.exports.useEffect(()=>{if(l)return iC(l)},[l]),zS();const[S,C]=d.exports.useState();Ft(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const T=d.exports.useCallback(P=>{const[V,...O]=g().map(N=>N.ref.current),[R]=O.slice(-1),$=document.activeElement;for(const N of P)if(N===$||(N==null||N.scrollIntoView({block:"nearest"}),N===V&&c&&(c.scrollTop=0),N===R&&c&&(c.scrollTop=c.scrollHeight),N==null||N.focus(),document.activeElement!==$))return},[g,c]),k=d.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const P=i.trigger.getBoundingClientRect(),V=l.getBoundingClientRect(),O=i.valueNode.getBoundingClientRect(),R=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ee=R.left-V.left,Z=O.left-Ee,pe=P.left-Z,qe=P.width+pe,un=Math.max(qe,V.width),ct=window.innerWidth-wr,vo=Kx(Z,[wr,ct-un]);a.style.minWidth=qe+"px",a.style.left=vo+"px"}else{const Ee=V.right-R.right,Z=window.innerWidth-O.right-Ee,pe=window.innerWidth-P.right-Z,qe=P.width+pe,un=Math.max(qe,V.width),ct=window.innerWidth-wr,vo=Kx(Z,[wr,ct-un]);a.style.minWidth=qe+"px",a.style.right=vo+"px"}const $=g(),N=window.innerHeight-wr*2,A=c.scrollHeight,W=window.getComputedStyle(l),D=parseInt(W.borderTopWidth,10),se=parseInt(W.paddingTop,10),ie=parseInt(W.borderBottomWidth,10),le=parseInt(W.paddingBottom,10),te=D+se+A+le+ie,be=Math.min(h.offsetHeight*5,te),Te=window.getComputedStyle(c),ae=parseInt(Te.paddingTop,10),Re=parseInt(Te.paddingBottom,10),Q=P.top+P.height/2-wr,ue=N-Q,Be=h.offsetHeight/2,de=h.offsetTop+Be,Rt=D+se+de,Hn=te-Rt;if(Rt<=Q){const Ee=h===$[$.length-1].ref.current;a.style.bottom="0px";const Z=l.clientHeight-c.offsetTop-c.offsetHeight,pe=Math.max(ue,Be+(Ee?Re:0)+Z+ie),qe=Rt+pe;a.style.height=qe+"px"}else{const Ee=h===$[0].ref.current;a.style.top="0px";const Z=Math.max(Q,D+c.offsetTop+(Ee?ae:0)+Be)+Hn;a.style.height=Z+"px",c.scrollTop=Rt-Q+c.offsetTop}a.style.margin=`${wr}px 0`,a.style.minHeight=be+"px",a.style.maxHeight=N+"px",x(!0),requestAnimationFrame(()=>b.current=!0)}},[g,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);Ft(()=>k(),[k]);const G=d.exports.useCallback(()=>T([h,l]),[T,h,l]);d.exports.useEffect(()=>{y&&G()},[y,G]);const F=d.exports.useCallback(P=>{P&&w.current===!0&&(k(),G(),w.current=!1)},[k,G]),{onOpenChange:H,triggerPointerDownPosRef:z}=i;d.exports.useEffect(()=>{if(l){let P={x:0,y:0};const V=R=>{var $,N,A,W;P={x:Math.abs(Math.round(R.pageX)-(($=(N=z.current)===null||N===void 0?void 0:N.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(R.pageY)-((A=(W=z.current)===null||W===void 0?void 0:W.y)!==null&&A!==void 0?A:0))}},O=R=>{P.x<=10&&P.y<=10?R.preventDefault():l.contains(R.target)||H(!1),document.removeEventListener("pointermove",V),z.current=null};return z.current!==null&&(document.addEventListener("pointermove",V),document.addEventListener("pointerup",O,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",V),document.removeEventListener("pointerup",O,{capture:!0})}}},[l,H,z]),d.exports.useEffect(()=>{const P=()=>H(!1);return window.addEventListener("blur",P),window.addEventListener("resize",P),()=>{window.removeEventListener("blur",P),window.removeEventListener("resize",P)}},[H]);const[re,me]=DC(P=>{const V=g().filter($=>!$.disabled),O=V.find($=>$.ref.current===document.activeElement),R=FC(V,P,O);R&&setTimeout(()=>R.ref.current.focus())}),oe=d.exports.useCallback((P,V,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===V||R)&&(v(P),R&&(E.current=!0))},[i.value]),I=d.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),K=d.exports.useCallback((P,V,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===V||R)&&_(P)},[i.value]);return d.exports.createElement(EC,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:f,itemRefCallback:oe,selectedItem:h,onItemLeave:I,itemTextRefCallback:K,selectedItemText:m,onScrollButtonChange:F,isPositioned:y,shouldExpandOnScrollRef:b,searchRef:re},d.exports.createElement(pC,{as:ta,allowPinchZoom:!0},d.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},d.exports.createElement(US,{asChild:!0,trapped:i.open,onMountAutoFocus:P=>{P.preventDefault()},onUnmountAutoFocus:Ge(r,P=>{var V;(V=i.trigger)===null||V===void 0||V.focus({preventScroll:!0}),P.preventDefault()})},d.exports.createElement(BS,ce({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:P=>P.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:P=>P.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:Ge(o.onKeyDown,P=>{const V=P.ctrlKey||P.altKey||P.metaKey;if(P.key==="Tab"&&P.preventDefault(),!V&&P.key.length===1&&me(P.key),["ArrowUp","ArrowDown","Home","End"].includes(P.key)){let O=g().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(P.key)&&(O=O.slice().reverse()),["ArrowUp","ArrowDown"].includes(P.key)){const R=P.target,$=O.indexOf(R);O=O.slice($+1)}setTimeout(()=>T(O)),P.preventDefault()}})}))))))}),N7="SelectViewport",SC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=ya(N7,n),i=rt(t,o.onViewportChange),a=d.exports.useRef(0);return d.exports.createElement(d.exports.Fragment,null,d.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}"}}),d.exports.createElement(pd.Slot,{scope:n},d.exports.createElement(We.div,ce({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:Ge(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const f=Math.abs(a.current-l.scrollTop);if(f>0){const p=window.innerHeight-wr*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<p){const _=m+f,g=Math.min(p,_),y=_-g;u.style.height=g+"px",u.style.bottom==="0px"&&(l.scrollTop=y>0?y:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),L7="SelectGroup",[M7,D7]=pl(L7),CC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=gg();return d.exports.createElement(M7,{scope:n,id:o},d.exports.createElement(We.div,ce({role:"group","aria-labelledby":o},r,{ref:t})))}),F7="SelectLabel",AC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=D7(F7,n);return d.exports.createElement(We.div,ce({id:o.id},r,{ref:t}))}),Fm="SelectItem",[I7,$C]=pl(Fm),TC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=ga(Fm,n),l=ya(Fm,n),u=s.value===r,[c,f]=d.exports.useState(i!=null?i:""),[p,h]=d.exports.useState(!1),v=rt(t,g=>{var y;return(y=l.itemRefCallback)===null||y===void 0?void 0:y.call(l,g,r,o)}),m=gg(),_=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return d.exports.createElement(I7,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:d.exports.useCallback(g=>{f(y=>{var x;return y||((x=g==null?void 0:g.textContent)!==null&&x!==void 0?x:"").trim()})},[])},d.exports.createElement(pd.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},d.exports.createElement(We.div,ce({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:Ge(a.onFocus,()=>h(!0)),onBlur:Ge(a.onBlur,()=>h(!1)),onPointerUp:Ge(a.onPointerUp,_),onPointerMove:Ge(a.onPointerMove,g=>{if(o){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}else g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Ge(a.onPointerLeave,g=>{if(g.currentTarget===document.activeElement){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}}),onKeyDown:Ge(a.onKeyDown,g=>{var y;((y=l.searchRef)===null||y===void 0?void 0:y.current)!==""&&g.key===" "||(S7.includes(g.key)&&_(),g.key===" "&&g.preventDefault())})}))))}),au="SelectItemText",RC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=ga(au,n),s=ya(au,n),l=$C(au,n),u=R7(au,n),[c,f]=d.exports.useState(null),p=rt(t,g=>f(g),l.onItemTextChange,g=>{var y;return(y=s.itemTextRefCallback)===null||y===void 0?void 0:y.call(s,g,l.value,l.disabled)}),h=c==null?void 0:c.textContent,v=d.exports.useMemo(()=>d.exports.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},h),[l.disabled,l.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:_}=u;return Ft(()=>(m(v),()=>_(v)),[m,_,v]),d.exports.createElement(d.exports.Fragment,null,d.exports.createElement(We.span,ce({id:l.textId},i,{ref:p})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?$t.exports.createPortal(i.children,a.valueNode):null)}),j7="SelectItemIndicator",PC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return $C(j7,n).isSelected?d.exports.createElement(We.span,ce({"aria-hidden":!0},r,{ref:t})):null}),B7="SelectScrollUpButton",OC=d.exports.forwardRef((e,t)=>{const n=ya(B7,e.__scopeSelect),[r,o]=d.exports.useState(!1),i=rt(t,n.onScrollButtonChange);return Ft(()=>{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?d.exports.createElement(NC,ce({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),V7="SelectScrollDownButton",kC=d.exports.forwardRef((e,t)=>{const n=ya(V7,e.__scopeSelect),[r,o]=d.exports.useState(!1),i=rt(t,n.onScrollButtonChange);return Ft(()=>{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?d.exports.createElement(NC,ce({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),NC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=ya("SelectScrollButton",n),a=d.exports.useRef(null),s=bg(n),l=d.exports.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return d.exports.useEffect(()=>()=>l(),[l]),Ft(()=>{var u;const c=s().find(f=>f.ref.current===document.activeElement);c==null||(u=c.ref.current)===null||u===void 0||u.scrollIntoView({block:"nearest"})},[s]),d.exports.createElement(We.div,ce({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:Ge(o.onPointerMove,()=>{var u;(u=i.onItemLeave)===null||u===void 0||u.call(i),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:Ge(o.onPointerLeave,()=>{l()})}))}),LC=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return d.exports.createElement(We.div,ce({"aria-hidden":!0},r,{ref:t}))}),MC=d.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=d.exports.useRef(null),i=rt(t,o),a=w7(n);return d.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]),d.exports.createElement(b7,{asChild:!0},d.exports.createElement("select",ce({},r,{ref:i,defaultValue:n})))});MC.displayName="BubbleSelect";function DC(e){const t=ro(e),n=d.exports.useRef(""),r=d.exports.useRef(0),o=d.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=d.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return d.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function FC(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=z7(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 z7(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const U7=yC,IC=xC,H7=_C,G7=Eg,jC=wC,BC=bC,VC=SC,Y7=CC,W7=AC,zC=TC,UC=RC,HC=PC,q7=OC,K7=kC,X7=LC,Z7=Object.freeze(Object.defineProperty({__proto__:null,createSelectScope:A7,Select:yC,SelectTrigger:xC,SelectValue:_C,SelectIcon:Eg,SelectPortal:wC,SelectContent:bC,SelectViewport:SC,SelectGroup:CC,SelectLabel:AC,SelectItem:TC,SelectItemText:RC,SelectItemIndicator:PC,SelectScrollUpButton:OC,SelectScrollDownButton:kC,SelectSeparator:LC,Root:U7,Trigger:IC,Value:H7,Icon:G7,Portal:jC,Content:BC,Viewport:VC,Group:Y7,Label:W7,Item:zC,ItemText:UC,ItemIndicator:HC,ScrollUpButton:q7,ScrollDownButton:K7,Separator:X7},Symbol.toStringTag,{value:"Module"})),Q7=e=>d.exports.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.exports.createElement("g",{clipPath:"url(#clip0_17_2062)"},d.exports.createElement("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"}))),J7=e=>d.exports.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},d.exports.createElement("g",{clipPath:"url(#clip0_17_4631)"},d.exports.createElement("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"}))),GC=q(IC)`
314
+ display: inline-flex;
315
+ align-items: center;
316
+ justify-content: space-between;
317
+ background-color: ${Y["--ll-color-background"]};
318
+ border-radius: ${Y["--ll-border-radius-small"]};
319
+ border: 1px solid ${Y["--ll-color-border"]};
320
+ color: ${Y["--ll-color-on-background-variant1"]};
321
+ padding: ${Y["--ll-spacing-xx-small"]} ${Y["--ll-spacing-x-small"]}
322
+ ${Y["--ll-spacing-xx-small"]} ${Y["--ll-spacing-small"]};
323
+ flex: 1;
324
+ height: ${({size:e})=>e==="medium"?"32px":"40px"};
325
+ `,YC=q(Eg)`
326
+ margin-left: ${Y["--ll-spacing-x-small"]};
327
+ `,WC=q(BC)`
328
+ overflow: hidden;
329
+ background-color: ${Y["--ll-color-background"]};
330
+ border-radius: ${Y["--ll-border-radius-small"]};
331
+ box-shadow: ${Y["--ll-shadow-medium"]};
332
+ min-width: 100px;
333
+ z-index: 1;
334
+ `,qC=q(zC)`
335
+ font-family: ${Y["--ll-font-family"]};
336
+ font-size: ${Y["--ll-font-size-p"]};
337
+ padding: ${Y["--ll-spacing-xx-small"]} ${Y["--ll-spacing-x-large"]}
338
+ ${Y["--ll-spacing-xx-small"]} ${Y["--ll-spacing-large"]};
339
+ outline: none;
340
+ border-radius: ${Y["--ll-border-radius-small"]};
341
+ position: relative;
342
+ color: ${Y["--ll-color-on-surface-variant1"]};
343
+ cursor: default;
344
+
345
+ &[data-highlighted] {
346
+ background-color: ${Y["--ll-color-primary"]};
347
+ color: ${Y["--ll-color-on-primary"]};
348
+ }
349
+ `,KC=q(HC)`
350
+ position: absolute;
351
+ left: 0;
352
+ height: 100%;
353
+ left: 0;
354
+ bottom: 0;
355
+ width: ${Y["--ll-spacing-large"]};
356
+ display: inline-flex;
357
+ align-items: center;
358
+ justify-content: center;
359
+ `,XC=q(VC)`
360
+ padding: ${Y["--ll-spacing-base-unit"]};
361
+ `,eL=q(jC)`
362
+ z-index: 1;
363
+ `,tL=Object.freeze(Object.defineProperty({__proto__:null,Trigger:GC,SelectIcon:YC,Content:WC,Item:qC,ItemIndicator:KC,Viewport:XC,Portal:eL},Symbol.toStringTag,{value:"Module"})),nL=({size:e="medium",children:t,...n})=>cl(GC,{size:e,...n,children:[t,Ae(YC,{children:Ae(hg,{SVGElement:Q7,fill:Y["--ll-color-on-background-variant1"],height:20})})]}),rL=({children:e,...t})=>Ae(WC,{...t,children:Ae(XC,{children:e})}),oL=({children:e,...t})=>cl(qC,{...t,children:[Ae(UC,{children:e}),Ae(KC,{children:Ae(hg,{SVGElement:J7,fill:"currentColor",height:12})})]}),{Root:iL}=Z7,{Portal:aL}=tL,cZ=Object.freeze(Object.defineProperty({__proto__:null,Root:iL,Trigger:nL,Content:rL,Item:oL,Portal:aL},Symbol.toStringTag,{value:"Module"}));function na(){return na=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},na.apply(this,arguments)}var Nn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Nn||(Nn={}));var Bc=function(e){return e},Xx="beforeunload",sL="popstate";function lL(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,T=S.search,k=S.hash,G=o.state||{};return[G.idx,Bc({pathname:C,search:T,hash:k,state:G.usr||null,key:G.key||"default"})]}var a=null;function s(){if(a)h.call(a),a=null;else{var S=Nn.Pop,C=i(),T=C[0],k=C[1];if(h.length){if(T!=null){var G=c-T;G&&(a={action:S,location:k,retry:function(){b(G*-1)}},b(G))}}else y(S)}}r.addEventListener(sL,s);var l=Nn.Pop,u=i(),c=u[0],f=u[1],p=Vc(),h=Vc();c==null&&(c=0,o.replaceState(na({},o.state,{idx:c}),""));function v(S){return typeof S=="string"?S:ZC(S)}function m(S,C){return C===void 0&&(C=null),Bc(na({pathname:f.pathname,hash:"",search:""},typeof S=="string"?jm(S):S,{state:C,key:Im()}))}function _(S,C){return[{usr:S.state,key:S.key,idx:C},v(S)]}function g(S,C,T){return!h.length||(h.call({action:S,location:C,retry:T}),!1)}function y(S){l=S;var C=i();c=C[0],f=C[1],p.call({action:l,location:f})}function x(S,C){var T=Nn.Push,k=m(S,C);function G(){x(S,C)}if(g(T,k,G)){var F=_(k,c+1),H=F[0],z=F[1];try{o.pushState(H,"",z)}catch{r.location.assign(z)}y(T)}}function w(S,C){var T=Nn.Replace,k=m(S,C);function G(){w(S,C)}if(g(T,k,G)){var F=_(k,c),H=F[0],z=F[1];o.replaceState(H,"",z),y(T)}}function b(S){o.go(S)}var E={get action(){return l},get location(){return f},createHref:v,push:x,replace:w,go:b,back:function(){b(-1)},forward:function(){b(1)},listen:function(C){return p.push(C)},block:function(C){var T=h.push(C);return h.length===1&&r.addEventListener(Xx,Qx),function(){T(),h.length||r.removeEventListener(Xx,Qx)}}};return E}function uL(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 w=Bc(na({pathname:"/",search:"",hash:"",state:null,key:Im()},typeof x=="string"?jm(x):x));return w}),a=Zx(o==null?i.length-1:o,0,i.length-1),s=Nn.Pop,l=i[a],u=Vc(),c=Vc();function f(x){return typeof x=="string"?x:ZC(x)}function p(x,w){return w===void 0&&(w=null),Bc(na({pathname:l.pathname,search:"",hash:""},typeof x=="string"?jm(x):x,{state:w,key:Im()}))}function h(x,w,b){return!c.length||(c.call({action:x,location:w,retry:b}),!1)}function v(x,w){s=x,l=w,u.call({action:s,location:l})}function m(x,w){var b=Nn.Push,E=p(x,w);function S(){m(x,w)}h(b,E,S)&&(a+=1,i.splice(a,i.length,E),v(b,E))}function _(x,w){var b=Nn.Replace,E=p(x,w);function S(){_(x,w)}h(b,E,S)&&(i[a]=E,v(b,E))}function g(x){var w=Zx(a+x,0,i.length-1),b=Nn.Pop,E=i[w];function S(){g(x)}h(b,E,S)&&(a=w,v(b,E))}var y={get index(){return a},get action(){return s},get location(){return l},createHref:f,push:m,replace:_,go:g,back:function(){g(-1)},forward:function(){g(1)},listen:function(w){return u.push(w)},block:function(w){return c.push(w)}};return y}function Zx(e,t,n){return Math.min(Math.max(e,t),n)}function Qx(e){e.preventDefault(),e.returnValue=""}function Vc(){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 Im(){return Math.random().toString(36).substr(2,8)}function ZC(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 jm(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}/**
364
+ * react-location
365
+ *
366
+ * Copyright (c) TanStack
367
+ *
368
+ * This source code is licensed under the MIT license found in the
369
+ * LICENSE.md file in the root directory of this source tree.
370
+ *
371
+ * @license MIT
372
+ */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 Bm(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 cL(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 Jx(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function fL(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],Jx(t.shift())):r[n]=Jx(t.shift());return r}const dL=["children","location","__experimental__snapshot"],pL=["location","__experimental__snapshot"],hL=["basepath","routes"],QC=d.exports.createContext(null),JC=d.exports.createContext(null),eA=d.exports.createContext(null),tA=Boolean(typeof window!="undefined"&&window.document&&window.document.createElement),Vm=tA?d.exports.useLayoutEffect:d.exports.useEffect,mL=()=>tA?lL():uL();class Cg{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 vL extends Cg{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||mL(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:RL,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:TL,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=$L(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=n_(n.search,u))!=null?i:{}:(a=n.__searchFilters)!=null&&a.length?u:{},f=zm(s.search,c),p=this.stringifySearch(f);let h=n.hash===!0?s.hash:n_(n.hash,s.hash);return h=h?"#"+h:"",{pathname:l,search:f,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:zm(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 nA(e){return d.exports.createElement(JC.Provider,e)}function gL(e){let{children:t,location:n,__experimental__snapshot:r}=e,o=Bm(e,dL);const i=d.exports.useRef(null);i.current||(i.current=new xL({location:n,__experimental__snapshot:r,routes:o.routes}));const a=i.current,[s,l]=d.exports.useReducer(()=>({}),{});return a.update(o),Vm(()=>a.subscribe(()=>{l()}),[]),Vm(()=>a.updateLocation(n.current).unsubscribe,[n.current.key]),d.exports.createElement(QC.Provider,{value:{location:n}},d.exports.createElement(eA.Provider,{value:{router:a}},d.exports.createElement(yL,null),d.exports.createElement(nA,{value:[a.rootMatch,...a.state.matches]},t!=null?t:d.exports.createElement(Ag,null))))}function yL(){const e=hl(),t=lA(),n=sA();return Vm(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class xL extends Cg{constructor(t){var n;let{location:r,__experimental__snapshot:o}=t,i=Bm(t,pL);super(),this.routesById={},this.update=s=>{let{basepath:l,routes:u}=s,c=Bm(s,hL);Object.assign(this,c),this.basepath=hd("/"+(l!=null?l:"")),this.routesById={};const f=(p,h)=>p.map(v=>{var m,_,g,y;const x=(m=v.path)!=null?m:"*",w=ra([(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:(_=v.pendingMs)!=null?_:c==null?void 0:c.defaultPendingMs,pendingMinMs:(g=v.pendingMinMs)!=null?g:c==null?void 0:c.defaultPendingMinMs,id:w}),this.routesById[w])throw new Error;return this.routesById[w]=v,v.children=(y=v.children)!=null&&y.length?f(v.children,v):void 0,v});this.routes=f(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(f=>f.id);Object.values(this.matchCache).forEach(f=>{var p;if(!f.updatedAt||c.includes(f.id))return;const h=Date.now()-((p=f.updatedAt)!=null?p:0);(!f.maxAge||h>f.maxAge)&&(f.route.unloader&&f.route.unloader(f),delete this.matchCache[f.id])})},this.updateLocation=s=>{let l;return{promise:new Promise(c=>{const f=new e_(this,s);this.setState(p=>bn({},p,{pending:{location:f.location,matches:f.matches}})),l=f.subscribe(()=>{const p=this.state.matches;p.filter(h=>!f.matches.find(v=>v.id===h.id)).forEach(h=>{h.onExit==null||h.onExit(h)}),p.filter(h=>f.matches.find(v=>v.id===h.id)).forEach(h=>{h.route.onTransition==null||h.route.onTransition(h)}),f.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:f.location,matches:f.matches},pending:void 0})),c()}),f.loadData(),f.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 e_(this,r.current);s.matches.forEach((l,u)=>{var c,f,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=(f=(p=o.matches[u])==null?void 0:p.ownData)!=null?f:{}}),rA(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 hl(){const e=d.exports.useContext(QC);return uA(!!e,"useLocation must be used within a <ReactLocation />"),e.location}class _L{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!="undefined"&&(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 f=this.route[c];this[c]||(typeof f=="function"?(this.isLoading=!0,a.push(f(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 f=v=>{this.updatedAt=Date.now(),c(this.ownData),this.status=v},p=v=>{this.ownData=v,this.error=void 0,f("resolved")},h=v=>{console.error(v),this.error=v,f("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 e_ extends Cg{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",rA(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,f;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}),(f=r.firstRenderPromises)==null||f.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=iA(this.router,this.location);this.matches=o==null?void 0:o.map(i=>(this.router.matchCache[i.id]||(this.router.matchCache[i.id]=new _L(i)),this.router.matchCache[i.id]))}}function rA(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 oA(){const e=d.exports.useContext(eA);if(!e)throw uA(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function iA(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,_;const g=ra([s,v.path]),y=!!(v.path!=="/"||(m=v.children)!=null&&m.length),x=EL(t,{to:g,search:v.search,fuzzy:y,caseSensitive:(_=v.caseSensitive)!=null?_:e.caseSensitive});return x&&(l=bn({},l,x)),!!x});if(!c)return;const f=t_(c.path,l);s=ra([s,f]);const h={id:t_(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 t_(e,t,n){const r=Gs(e);return ra(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 aA(){return d.exports.useContext(JC)}function wL(){var e;return(e=aA())==null?void 0:e[0]}function sA(){const e=hl(),t=wL(),n=lA();function r(o){var i;let{search:a,hash:s,replace:l,from:u,to:c,fromCurrent:f}=o;f=(i=f)!=null?i:typeof c=="undefined";const p=n({to:c,search:a,hash:s,from:f?e.current:u!=null?u:{pathname:t.pathname}});e.navigate(p,l)}return cA(r)}function lA(){const e=hl(),t=oA();return cA(r=>{const o=e.buildNext(t.basepath,r),a=iA(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 Ag(){var e;const t=oA(),[n,...r]=aA(),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:d.exports.createElement(Ag,null)})();return d.exports.createElement(nA,{value:r},a)}function bL(){return hl().current.search}function EL(e,t){const n=CL(e,t),r=AL(e,t);if(!(t.to&&!n)&&!(t.search&&!r))return n!=null?n:{}}function uA(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch{}}}function SL(e){return typeof e=="function"}function n_(e,t){return SL(e)?e(t):e}function ra(e){return hd(e.filter(Boolean).join("/"))}function hd(e){return(""+e).replace(/\/{2,}/g,"/")}function CL(e,t){var n;const r=Gs(e.pathname),o=Gs(""+((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,f=s===r.length-1;if(u){if(u.type==="wildcard")return l!=null&&l.value?(i["*"]=ra(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&&!f)return!!t.fuzzy}return!0})()?i:void 0}function AL(e,t){return!!(t.search&&t.search(e.search))}function Gs(e){if(!e)return[];e=hd(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 $L(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");let r=Gs(t);const o=Gs(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=ra([e,...r.map(a=>a.value)]);return hd(i)}function cA(e){const t=d.exports.useRef(),n=d.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current(...arguments)}),t.current}function zm(e,t){if(e===t)return e;const n=Array.isArray(e)&&Array.isArray(t);if(n||r_(e)&&r_(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]=zm(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function r_(e){if(!o_(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!o_(n)||!n.hasOwnProperty("isPrototypeOf"))}function o_(e){return Object.prototype.toString.call(e)==="[object Object]"}const TL=PL(JSON.parse),RL=OL(JSON.stringify);function PL(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));let n=fL(t);for(let r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function OL(e){return t=>{t=bn({},t),t&&Object.keys(t).forEach(r=>{const o=t[r];if(typeof o=="undefined"||o===void 0)delete t[r];else if(o&&typeof o=="object"&&o!==null)try{t[r]=e(o)}catch{}});const n=cL(t).toString();return n?"?"+n:""}}function Um(e,t){return Um=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Um(e,t)}function kL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Um(e,t)}var NL=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])})},i_={error:null},LL=function(e){kL(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=i_,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(i_)},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&&NL(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(d.exports.isValidElement(l))return l;if(typeof a=="function")return a(u);if(s)return d.exports.createElement(s,u);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(d.exports.Component);class md{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 $g=typeof window=="undefined";function hn(){}function ML(e,t){return typeof e=="function"?e(t):e}function DL(e){return typeof e=="number"&&e>=0&&e!==1/0}function FL(e,t){return Math.max(e+(t||0)-Date.now(),0)}function jp(e,t,n){return vd(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Rr(e,t,n){return vd(e)?[{...t,queryKey:e},n]:[e||{},t]}function a_(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(vd(a)){if(r){if(t.queryHash!==Tg(a,t.options))return!1}else if(!zc(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!="undefined"&&o!==t.state.fetchStatus||i&&!i(t))}function s_(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:i}=e;if(vd(i)){if(!t.options.mutationKey)return!1;if(n){if(Po(t.options.mutationKey)!==Po(i))return!1}else if(!zc(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||o&&!o(t))}function Tg(e,t){return((t==null?void 0:t.queryKeyHashFn)||Po)(e)}function Po(e){return JSON.stringify(e,(t,n)=>Hm(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function zc(e,t){return fA(e,t)}function fA(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!fA(e[n],t[n])):!1}function dA(e,t){if(e===t)return e;const n=l_(e)&&l_(t);if(n||Hm(e)&&Hm(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]=dA(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function fZ(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function l_(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Hm(e){if(!u_(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!u_(n)||!n.hasOwnProperty("isPrototypeOf"))}function u_(e){return Object.prototype.toString.call(e)==="[object Object]"}function vd(e){return Array.isArray(e)}function pA(e){return new Promise(t=>{setTimeout(t,e)})}function c_(e){pA(0).then(e)}function IL(){if(typeof AbortController=="function")return new AbortController}function jL(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?dA(e,t):t}class BL extends md{constructor(){super(),this.setup=t=>{if(!$g&&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=="undefined"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Gm=new BL;class VL extends md{constructor(){super(),this.setup=t=>{if(!$g&&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=="undefined"||typeof navigator.onLine=="undefined"?!0:navigator.onLine}}const Uc=new VL;function zL(e){return Math.min(1e3*2**e,3e4)}function Rg(e){return(e!=null?e:"online")==="online"?Uc.isOnline():!0}class hA{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Bp(e){return e instanceof hA}function mA(e){let t=!1,n=0,r=!1,o,i,a;const s=new Promise((_,g)=>{i=_,a=g}),l=_=>{r||(h(new hA(_)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},f=()=>!Gm.isFocused()||e.networkMode!=="always"&&!Uc.isOnline(),p=_=>{r||(r=!0,e.onSuccess==null||e.onSuccess(_),o==null||o(),i(_))},h=_=>{r||(r=!0,e.onError==null||e.onError(_),o==null||o(),a(_))},v=()=>new Promise(_=>{o=g=>{if(r||!f())return _(g)},e.onPause==null||e.onPause()}).then(()=>{o=void 0,r||e.onContinue==null||e.onContinue()}),m=()=>{if(r)return;let _;try{_=e.fn()}catch(g){_=Promise.reject(g)}Promise.resolve(_).then(p).catch(g=>{var y,x;if(r)return;const w=(y=e.retry)!=null?y:3,b=(x=e.retryDelay)!=null?x:zL,E=typeof b=="function"?b(n,g):b,S=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,g);if(t||!S){h(g);return}n++,e.onFail==null||e.onFail(n,g),pA(E).then(()=>{if(f())return v()}).then(()=>{t?h(g):m()})})};return Rg(e.networkMode)?m():v().then(m),{promise:s,cancel:l,continue:()=>{o==null||o()},cancelRetry:u,continueRetry:c}}const Pg=console;function UL(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const o=c=>{let f;t++;try{f=c()}finally{t--,t||s()}return f},i=c=>{t?e.push(c):c_(()=>{n(c)})},a=c=>(...f)=>{i(()=>{c(...f)})},s=()=>{const c=e;e=[],c.length&&c_(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const Et=UL();class vA{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),DL(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:$g?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class HL extends vA{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||Pg,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||GL(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=jL(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||!FL(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=IL(),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 f;this.dispatch({type:"fetch",meta:(f=c.fetchOptions)==null?void 0:f.meta})}const p=h=>{if(Bp(h)&&h.silent||this.dispatch({type:"error",error:h}),!Bp(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=mA({fn:c.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:h=>{var v,m;if(typeof h=="undefined"){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:Rg(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 Bp(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),Et.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function GL(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData!="undefined"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,o=typeof t!="undefined";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 YL extends md{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:Tg(i,n);let s=this.get(a);return s||(s=new HL({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(){Et.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=Rr(t,n);return typeof r.exact=="undefined"&&(r.exact=!0),this.queries.find(o=>a_(r,o))}findAll(t,n){const[r]=Rr(t,n);return Object.keys(r).length>0?this.queries.filter(o=>a_(r,o)):this.queries}notify(t){Et.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Et.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Et.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class WL extends vA{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||Pg,this.observers=[],this.state=t.state||qL(),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=mA({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,f,p;this.dispatch({type:"loading",variables:this.options.variables}),(u=(c=this.mutationCache.config).onMutate)==null||u.call(c,this.state.variables,this);const w=await((f=(p=this.options).onMutate)==null?void 0:f.call(p,this.state.variables));w!==this.state.context&&this.dispatch({type:"loading",context:w,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,_,g,y;throw(h=(v=this.mutationCache.config).onError)==null||h.call(v,x,this.state.variables,this.state.context,this),await((m=(_=this.options).onError)==null?void 0:m.call(_,x,this.state.variables,this.state.context)),await((g=(y=this.options).onSettled)==null?void 0:g.call(y,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:!Rg(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),Et.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function qL(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class KL extends md{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const o=new WL({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(){Et.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(n=>s_(t,n))}findAll(t){return this.mutations.filter(n=>s_(t,n))}notify(t){Et.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return Et.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(hn)),Promise.resolve()))}}function XL(){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",f=(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 _=E=>{Object.defineProperty(E,"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}})},g=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),y=(E,S,C,T)=>(v=T?[S,...v]:[...v,S],T?[C,...E]:[...E,C]),x=(E,S,C,T)=>{if(m)return Promise.reject("Cancelled");if(typeof C=="undefined"&&!S&&E.length)return Promise.resolve(E);const k={queryKey:e.queryKey,pageParam:C,meta:e.meta};_(k);const G=g(k);return Promise.resolve(G).then(H=>y(E,C,H,T))};let w;if(!p.length)w=x([]);else if(c){const E=typeof u!="undefined",S=E?u:f_(e.options,p);w=x(p,E,S)}else if(f){const E=typeof u!="undefined",S=E?u:ZL(e.options,p);w=x(p,E,S,!0)}else{v=[];const E=typeof e.options.getNextPageParam=="undefined";w=(s&&p[0]?s(p[0],0,p):!0)?x([],E,h[0]):Promise.resolve(y([],h[0],p[0]));for(let C=1;C<p.length;C++)w=w.then(T=>{if(s&&p[C]?s(p[C],C,p):!0){const G=E?h[C]:f_(e.options,T);return x(T,E,G)}return Promise.resolve(y(T,h[C],p[C]))})}return w.then(E=>({pages:E,pageParams:v}))}}}}function f_(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function ZL(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class QL{constructor(t={}){this.queryCache=t.queryCache||new YL,this.mutationCache=t.mutationCache||new KL,this.logger=t.logger||Pg,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=Gm.subscribe(()=>{Gm.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Uc.subscribe(()=>{Uc.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]=Rr(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=ML(n,i);if(typeof a=="undefined")return;const s=jp(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return Et.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]=Rr(t,n),o=this.queryCache;Et.batch(()=>{o.findAll(r).forEach(i=>{o.remove(i)})})}resetQueries(t,n,r){const[o,i]=Rr(t,n,r),a=this.queryCache,s={type:"active",...o};return Et.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,n,r){const[o,i={}]=Rr(t,n,r);typeof i.revert=="undefined"&&(i.revert=!0);const a=Et.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]=Rr(t,n,r);return Et.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]=Rr(t,n,r),a=Et.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=jp(t,n,r),i=this.defaultQueryOptions(o);typeof i.retry=="undefined"&&(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=jp(t,n,r);return o.behavior=XL(),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=>Po(t)===Po(o.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>zc(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(o=>Po(t)===Po(o.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>zc(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=Tg(n.queryKey,n)),typeof n.refetchOnReconnect=="undefined"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary=="undefined"&&(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 d_=d.exports.createContext(void 0),gA=d.exports.createContext(!1);function yA(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=d_),window.ReactQueryClientContext):d_)}const dZ=({context:e}={})=>{const t=d.exports.useContext(yA(e,d.exports.useContext(gA)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},JL=({client:e,children:t,context:n,contextSharing:r=!1})=>{d.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const o=yA(n,r);return d.exports.createElement(gA.Provider,{value:!n&&r},d.exports.createElement(o.Provider,{value:e},t))},eM="modulepreload",p_={},tM="/sdks-app/v1/",nM=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${tM}${r}`,r in p_)return;p_[r]=!0;const o=r.endsWith(".css"),i=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${i}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":eM,o||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),o)return new Promise((s,l)=>{a.addEventListener("load",s),a.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var xA=(e=>(e.LOCAL_CONTENT="local-content",e))(xA||{}),gd={exports:{}},yd={};/**
373
+ * @license React
374
+ * react-jsx-runtime.production.min.js
375
+ *
376
+ * Copyright (c) Facebook, Inc. and its affiliates.
377
+ *
378
+ * This source code is licensed under the MIT license found in the
379
+ * LICENSE file in the root directory of this source tree.
380
+ */var rM=d.exports,oM=Symbol.for("react.element"),iM=Symbol.for("react.fragment"),aM=Object.prototype.hasOwnProperty,sM=rM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,lM={key:!0,ref:!0,__self:!0,__source:!0};function _A(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)aM.call(t,r)&&!lM.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:oM,type:e,key:i,ref:a,props:o,_owner:sM.current}}yd.Fragment=iM;yd.jsx=_A;yd.jsxs=_A;gd.exports=yd;const L=gd.exports.jsx,Qe=gd.exports.jsxs,Og=gd.exports.Fragment,uM=new vL,cM=ee.lazy(()=>nM(()=>import("./index.3baa3a87.js"),["assets/index.3baa3a87.js","assets/index.d3f78cf1.css"])),fM=({children:e})=>{const t=[{path:`*/${xA.LOCAL_CONTENT}`,element:L(cM,{})}];return L(gL,{location:uM,routes:t,children:e})},dM="CONNECT",pM="DEFAULT";function hM(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wA={exports:{}};(function(e){var t=(()=>{var n=Object.defineProperty,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,a=(_,g,y)=>g in _?n(_,g,{enumerable:!0,configurable:!0,writable:!0,value:y}):_[g]=y,s=(_,g)=>{for(var y in g||(g={}))o.call(g,y)&&a(_,y,g[y]);if(r)for(var y of r(g))i.call(g,y)&&a(_,y,g[y]);return _},l=_=>n(_,"__esModule",{value:!0}),u=(_,g)=>{l(_);for(var y in g)n(_,y,{get:g[y],enumerable:!0})},c={};u(c,{DEFAULT_UUID_LENGTH:()=>p,default:()=>m});var f="4.4.4",p=6,h={dictionary:"alphanum",shuffle:!0,debug:!1,length:p},v=class extends Function{constructor(_={}){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=(...b)=>{const E=[...b];if(E[0]=`[short-unique-id] ${b[0]}`,this.debug===!0&&typeof console!="undefined"&&console!==null)return console.log(...E)},this.setDictionary=(b,E)=>{let S;if(b&&Array.isArray(b)&&b.length>1)S=b;else{S=[];let C;this.dictIndex=C=0;const T=`_${b}_dict_ranges`,k=this[T];Object.keys(k).forEach(G=>{const F=G;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))})}E&&(S=S.sort(()=>Math.random()-.5)),this.dict=S,this.dictLength=this.dict.length,this.counter=0},this.seq=()=>this.sequentialUUID(),this.sequentialUUID=()=>{let b,E,S="";b=this.counter;do E=b%this.dictLength,b=Math.trunc(b/this.dictLength),S+=this.dict[E];while(b!==0);return this.counter+=1,S},this.randomUUID=(b=this.uuidLength||p)=>{let E,S,C;if(b===null||typeof b=="undefined"||b<1)throw new Error("Invalid UUID Length Provided");for(E="",C=0;C<b;C+=1)S=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,E+=this.dict[S];return E},this.availableUUIDs=(b=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,b).toFixed(0)),this.approxMaxBeforeCollision=(b=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*b).toFixed(20)),this.collisionProbability=(b=this.availableUUIDs(this.uuidLength),E=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(b)/this.availableUUIDs(E)).toFixed(20)),this.uniqueness=(b=this.availableUUIDs(this.uuidLength))=>{const E=parseFloat((1-this.approxMaxBeforeCollision(b)/b).toFixed(20));return E>1?1:E<0?0:E},this.getVersion=()=>this.version,this.stamp=b=>{if(typeof b!="number"||b<10)throw new Error("Param finalLength must be number greater than 10");const E=Math.floor(+new Date/1e3).toString(16),S=b-9,C=Math.round(Math.random()*(S>15?15:S)),T=this.randomUUID(S);return`${T.substr(0,C)}${E}${T.substr(C)}${C.toString(16)}`},this.parseStamp=b=>{if(b.length<10)throw new Error("Stamp length invalid");const E=parseInt(b.substr(b.length-1,1),16);return new Date(parseInt(b.substr(E,8),16)*1e3)};const g=s(s({},h),_);this.counter=0,this.debug=!1,this.dict=[],this.version=f;const{dictionary:y,shuffle:x,length:w}=g;return this.uuidLength=w,this.setDictionary(y,x),this.debug=g.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength}`),new Proxy(this,{apply:(b,E,S)=>this.randomUUID(...S)})}},m=v;return m.default=v,c})();e.exports=t.default,typeof window!="undefined"&&(t=t.default)})(wA);var mM=hM(wA.exports);const h_=new mM({length:10});class kg{constructor(t,n){this.onMessageHandlers=[],this.message=(r,o,i)=>this.crossOrigin?this.postMessage(r,o,i):this.customEventMessage(r,o,i),this.channelId=t!=null?t:pM,this.channelNodeId=`channel-node-${h_()}`,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=h_();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(kg.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 vM extends kg{connect(){return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest(dM).then(t=>{this.resolveConnection(t)}),this.connection}}var gM="Expected a function",m_=1/0,yM=17976931348623157e292,v_=0/0,xM="[object Symbol]",_M=/^\s+|\s+$/g,wM=/^[-+]0x[0-9a-f]+$/i,bM=/^0b[01]+$/i,EM=/^0o[0-7]+$/i,SM=parseInt,CM=Object.prototype,AM=CM.toString;function $M(e,t){var n;if(typeof t!="function")throw new TypeError(gM);return e=kM(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function TM(e){return $M(2,e)}function g_(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function RM(e){return!!e&&typeof e=="object"}function PM(e){return typeof e=="symbol"||RM(e)&&AM.call(e)==xM}function OM(e){if(!e)return e===0?e:0;if(e=NM(e),e===m_||e===-m_){var t=e<0?-1:1;return t*yM}return e===e?e:0}function kM(e){var t=OM(e),n=t%1;return t===t?n?t-n:t:0}function NM(e){if(typeof e=="number")return e;if(PM(e))return v_;if(g_(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=g_(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(_M,"");var n=bM.test(e);return n||EM.test(e)?SM(e.slice(2),n?2:8):wM.test(e)?v_:+e}var LM=TM;const Vp=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function Ym(e,...t){if(!t.length)return e;const n=t.shift();return Vp(e)&&Vp(n)&&Object.keys(n).forEach(r=>{Vp(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Ym(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),Ym(e,...t)}const MM=e=>{const t=d.exports.useRef(e),n=d.exports.useRef(),r=d.exports.useRef(!1),o=d.exports.useRef(!1),[,i]=d.exports.useState(0);r.current&&(o.current=!0),d.exports.useEffect(()=>(r.current||(n.current=t.current(),r.current=!0),i(a=>a+1),()=>{!o.current||n.current&&n.current()}),[])},DM=(e,t)=>{const[n,r]=d.exports.useState(e);return d.exports.useEffect(()=>{const o=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(o)}},[e,t]),n};var Ha=(e=>(e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e))(Ha||{});const FM={zoom:16,pitch:0,bearing:0,cooperativeGestures:!0},IM={locale:"en"},jM={"local-content":{globalOptions:IM,options:FM}},bA=LM(()=>ee.createContext({})),BM=()=>{const e=ee.useContext(bA());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e},EA=ee.memo(({children:e})=>{const t=bA(),n=bL(),r=ee.useRef(n),i=hl().current.pathname.split("/"),a=i[i.length-1],s=jM[a],l=ee.useRef(),[u,c]=d.exports.useState(!1),[f,p]=d.exports.useState(s),h=DM(f,500),v=sA(),m=x=>{r.current=x,p(x)},_=x=>{var w;x.name===Ha.GET_STATE&&((w=l.current)==null||w.message(Ha.GET_STATE_RESPONSE,r.current,x.eventId)),x.name===Ha.SET_STATE&&m(x.data)};MM(()=>{const x=new vM(n.channelId,{targetOrigin:document.referrer,window:window.parent});l.current=x,x==null||x.onMessage(_),x==null||x.connect().then(w=>{const b=Ym(f,w.data);m(b),c(!0)})});const g=x=>{var w;(w=l.current)==null||w.message(Ha.ON_CHANGE,x)};d.exports.useEffect(()=>{v({search:()=>h})},[h]),d.exports.useEffect(()=>{f.options&&g({type:"options",data:f.options})},[f.options]);const y=d.exports.useMemo(()=>({sdkState:f,setSdkState:m,onChange:g}),[f,m,g]);return u?L(t.Provider,{value:y,children:e}):null});EA.displayName="StateManagerProvider";var Ng={exports:{}},SA=function(t,n){return function(){for(var o=new Array(arguments.length),i=0;i<o.length;i++)o[i]=arguments[i];return t.apply(n,o)}},VM=SA,po=Object.prototype.toString;function Lg(e){return Array.isArray(e)}function Wm(e){return typeof e=="undefined"}function zM(e){return e!==null&&!Wm(e)&&e.constructor!==null&&!Wm(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function CA(e){return po.call(e)==="[object ArrayBuffer]"}function UM(e){return po.call(e)==="[object FormData]"}function HM(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&CA(e.buffer),t}function GM(e){return typeof e=="string"}function YM(e){return typeof e=="number"}function AA(e){return e!==null&&typeof e=="object"}function Uu(e){if(po.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function WM(e){return po.call(e)==="[object Date]"}function qM(e){return po.call(e)==="[object File]"}function KM(e){return po.call(e)==="[object Blob]"}function $A(e){return po.call(e)==="[object Function]"}function XM(e){return AA(e)&&$A(e.pipe)}function ZM(e){return po.call(e)==="[object URLSearchParams]"}function QM(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function JM(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function Mg(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),Lg(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 qm(){var e={};function t(o,i){Uu(e[i])&&Uu(o)?e[i]=qm(e[i],o):Uu(o)?e[i]=qm({},o):Lg(o)?e[i]=o.slice():e[i]=o}for(var n=0,r=arguments.length;n<r;n++)Mg(arguments[n],t);return e}function eD(e,t,n){return Mg(t,function(o,i){n&&typeof o=="function"?e[i]=VM(o,n):e[i]=o}),e}function tD(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var Bt={isArray:Lg,isArrayBuffer:CA,isBuffer:zM,isFormData:UM,isArrayBufferView:HM,isString:GM,isNumber:YM,isObject:AA,isPlainObject:Uu,isUndefined:Wm,isDate:WM,isFile:qM,isBlob:KM,isFunction:$A,isStream:XM,isURLSearchParams:ZM,isStandardBrowserEnv:JM,forEach:Mg,merge:qm,extend:eD,trim:QM,stripBOM:tD},ti=Bt;function y_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var TA=function(t,n,r){if(!n)return t;var o;if(r)o=r(n);else if(ti.isURLSearchParams(n))o=n.toString();else{var i=[];ti.forEach(n,function(l,u){l===null||typeof l=="undefined"||(ti.isArray(l)?u=u+"[]":l=[l],ti.forEach(l,function(f){ti.isDate(f)?f=f.toISOString():ti.isObject(f)&&(f=JSON.stringify(f)),i.push(y_(u)+"="+y_(f))}))}),o=i.join("&")}if(o){var a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t},nD=Bt;function xd(){this.handlers=[]}xd.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};xd.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};xd.prototype.forEach=function(t){nD.forEach(this.handlers,function(r){r!==null&&t(r)})};var rD=xd,oD=Bt,iD=function(t,n){oD.forEach(t,function(o,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=o,delete t[i])})},RA=function(t,n,r,o,i){return t.config=n,r&&(t.code=r),t.request=o,t.response=i,t.isAxiosError=!0,t.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}},t},PA={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},aD=RA,OA=function(t,n,r,o,i){var a=new Error(t);return aD(a,n,r,o,i)},sD=OA,lD=function(t,n,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(sD("Request failed with status code "+r.status,r.config,null,r.request,r))},su=Bt,uD=su.isStandardBrowserEnv()?function(){return{write:function(n,r,o,i,a,s){var l=[];l.push(n+"="+encodeURIComponent(r)),su.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),su.isString(i)&&l.push("path="+i),su.isString(a)&&l.push("domain="+a),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),cD=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},fD=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},dD=cD,pD=fD,hD=function(t,n){return t&&!dD(n)?pD(t,n):n},zp=Bt,mD=["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"],vD=function(t){var n={},r,o,i;return t&&zp.forEach(t.split(`
381
+ `),function(s){if(i=s.indexOf(":"),r=zp.trim(s.substr(0,i)).toLowerCase(),o=zp.trim(s.substr(i+1)),r){if(n[r]&&mD.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([o]):n[r]=n[r]?n[r]+", "+o:o}}),n},x_=Bt,gD=x_.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(a){var s=x_.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function Dg(e){this.message=e}Dg.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Dg.prototype.__CANCEL__=!0;var _d=Dg,lu=Bt,yD=lD,xD=uD,_D=TA,wD=hD,bD=vD,ED=gD,Up=OA,SD=PA,CD=_d,__=function(t){return new Promise(function(r,o){var i=t.data,a=t.headers,s=t.responseType,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}lu.isFormData(i)&&delete a["Content-Type"];var c=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";a.Authorization="Basic "+btoa(f+":"+p)}var h=wD(t.baseURL,t.url);c.open(t.method.toUpperCase(),_D(h,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function v(){if(!!c){var _="getAllResponseHeaders"in c?bD(c.getAllResponseHeaders()):null,g=!s||s==="text"||s==="json"?c.responseText:c.response,y={data:g,status:c.status,statusText:c.statusText,headers:_,config:t,request:c};yD(function(w){r(w),u()},function(w){o(w),u()},y),c=null}}if("onloadend"in c?c.onloadend=v:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(v)},c.onabort=function(){!c||(o(Up("Request aborted",t,"ECONNABORTED",c)),c=null)},c.onerror=function(){o(Up("Network Error",t,null,c)),c=null},c.ontimeout=function(){var g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",y=t.transitional||SD;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),o(Up(g,t,y.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},lu.isStandardBrowserEnv()){var m=(t.withCredentials||ED(h))&&t.xsrfCookieName?xD.read(t.xsrfCookieName):void 0;m&&(a[t.xsrfHeaderName]=m)}"setRequestHeader"in c&&lu.forEach(a,function(g,y){typeof i=="undefined"&&y.toLowerCase()==="content-type"?delete a[y]:c.setRequestHeader(y,g)}),lu.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),s&&s!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(_){!c||(o(!_||_&&_.type?new CD("canceled"):_),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),i||(i=null),c.send(i)})},at=Bt,w_=iD,AD=RA,$D=PA,TD={"Content-Type":"application/x-www-form-urlencoded"};function b_(e,t){!at.isUndefined(e)&&at.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function RD(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=__),e}function PD(e,t,n){if(at.isString(e))try{return(t||JSON.parse)(e),at.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var wd={transitional:$D,adapter:RD(),transformRequest:[function(t,n){return w_(n,"Accept"),w_(n,"Content-Type"),at.isFormData(t)||at.isArrayBuffer(t)||at.isBuffer(t)||at.isStream(t)||at.isFile(t)||at.isBlob(t)?t:at.isArrayBufferView(t)?t.buffer:at.isURLSearchParams(t)?(b_(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):at.isObject(t)||n&&n["Content-Type"]==="application/json"?(b_(n,"application/json"),PD(t)):t}],transformResponse:[function(t){var n=this.transitional||wd.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||o&&at.isString(t)&&t.length)try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?AD(a,this,"E_JSON_PARSE"):a}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};at.forEach(["delete","get","head"],function(t){wd.headers[t]={}});at.forEach(["post","put","patch"],function(t){wd.headers[t]=at.merge(TD)});var Fg=wd,OD=Bt,kD=Fg,ND=function(t,n,r){var o=this||kD;return OD.forEach(r,function(a){t=a.call(o,t,n)}),t},kA=function(t){return!!(t&&t.__CANCEL__)},E_=Bt,Hp=ND,LD=kA,MD=Fg,DD=_d;function Gp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new DD("canceled")}var FD=function(t){Gp(t),t.headers=t.headers||{},t.data=Hp.call(t,t.data,t.headers,t.transformRequest),t.headers=E_.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),E_.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||MD.adapter;return n(t).then(function(o){return Gp(t),o.data=Hp.call(t,o.data,o.headers,t.transformResponse),o},function(o){return LD(o)||(Gp(t),o&&o.response&&(o.response.data=Hp.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},Vt=Bt,NA=function(t,n){n=n||{};var r={};function o(c,f){return Vt.isPlainObject(c)&&Vt.isPlainObject(f)?Vt.merge(c,f):Vt.isPlainObject(f)?Vt.merge({},f):Vt.isArray(f)?f.slice():f}function i(c){if(Vt.isUndefined(n[c])){if(!Vt.isUndefined(t[c]))return o(void 0,t[c])}else return o(t[c],n[c])}function a(c){if(!Vt.isUndefined(n[c]))return o(void 0,n[c])}function s(c){if(Vt.isUndefined(n[c])){if(!Vt.isUndefined(t[c]))return o(void 0,t[c])}else return o(void 0,n[c])}function l(c){if(c in n)return o(t[c],n[c]);if(c in t)return o(void 0,t[c])}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return Vt.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var p=u[f]||i,h=p(f);Vt.isUndefined(h)&&p!==l||(r[f]=h)}),r},LA={version:"0.26.1"},ID=LA.version,Ig={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Ig[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var S_={};Ig.transitional=function(t,n,r){function o(i,a){return"[Axios v"+ID+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return function(i,a,s){if(t===!1)throw new Error(o(a," has been removed"+(n?" in "+n:"")));return n&&!S_[a]&&(S_[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function jD(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 BD={assertOptions:jD,validators:Ig},MA=Bt,VD=TA,C_=rD,A_=FD,bd=NA,DA=BD,ni=DA.validators;function ml(e){this.defaults=e,this.interceptors={request:new C_,response:new C_}}ml.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=bd(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&DA.assertOptions(r,{silentJSONParsing:ni.transitional(ni.boolean),forcedJSONParsing:ni.transitional(ni.boolean),clarifyTimeoutError:ni.transitional(ni.boolean)},!1);var o=[],i=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(i=i&&h.synchronous,o.unshift(h.fulfilled,h.rejected))});var a=[];this.interceptors.response.forEach(function(h){a.push(h.fulfilled,h.rejected)});var s;if(!i){var l=[A_,void 0];for(Array.prototype.unshift.apply(l,o),l=l.concat(a),s=Promise.resolve(n);l.length;)s=s.then(l.shift(),l.shift());return s}for(var u=n;o.length;){var c=o.shift(),f=o.shift();try{u=c(u)}catch(p){f(p);break}}try{s=A_(u)}catch(p){return Promise.reject(p)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};ml.prototype.getUri=function(t){return t=bd(this.defaults,t),VD(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};MA.forEach(["delete","get","head","options"],function(t){ml.prototype[t]=function(n,r){return this.request(bd(r||{},{method:t,url:n,data:(r||{}).data}))}});MA.forEach(["post","put","patch"],function(t){ml.prototype[t]=function(n,r,o){return this.request(bd(o||{},{method:t,url:n,data:r}))}});var zD=ml,UD=_d;function oa(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(o){t=o});var n=this;this.promise.then(function(r){if(!!n._listeners){var o,i=n._listeners.length;for(o=0;o<i;o++)n._listeners[o](r);n._listeners=null}}),this.promise.then=function(r){var o,i=new Promise(function(a){n.subscribe(a),o=a}).then(r);return i.cancel=function(){n.unsubscribe(o)},i},e(function(o){n.reason||(n.reason=new UD(o),t(n.reason))})}oa.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};oa.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};oa.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};oa.source=function(){var t,n=new oa(function(o){t=o});return{token:n,cancel:t}};var HD=oa,GD=function(t){return function(r){return t.apply(null,r)}},YD=Bt,WD=function(t){return YD.isObject(t)&&t.isAxiosError===!0},$_=Bt,qD=SA,Hu=zD,KD=NA,XD=Fg;function FA(e){var t=new Hu(e),n=qD(Hu.prototype.request,t);return $_.extend(n,Hu.prototype,t),$_.extend(n,t),n.create=function(o){return FA(KD(e,o))},n}var Un=FA(XD);Un.Axios=Hu;Un.Cancel=_d;Un.CancelToken=HD;Un.isCancel=kA;Un.VERSION=LA.version;Un.all=function(t){return Promise.all(t)};Un.spread=GD;Un.isAxiosError=WD;Ng.exports=Un;Ng.exports.default=Un;var IA=Ng.exports;const ZD=(e,t)=>IA.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t});var Km;(function(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"})(Km||(Km={}));const QD="/pois";function Yo(e){this._maxSize=e,this.clear()}Yo.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Yo.prototype.get=function(e){return this._values[e]};Yo.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var JD=/[^.^\]^[]+|(?=\[\]|\.\.)/g,jA=/^\d+$/,eF=/^\d/,tF=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,nF=/^\s*(['"]?)(.*?)(\1)\s*$/,jg=512,T_=new Yo(jg),R_=new Yo(jg),P_=new Yo(jg),Mo={Cache:Yo,split:Xm,normalizePath:Yp,setter:function(e){var t=Yp(e);return R_.get(e)||R_.set(e,function(r,o){for(var i=0,a=t.length,s=r;i<a-1;){var l=t[i];if(l==="__proto__"||l==="constructor"||l==="prototype")return r;s=s[t[i++]]}s[t[i]]=o})},getter:function(e,t){var n=Yp(e);return P_.get(e)||P_.set(e,function(o){for(var i=0,a=n.length;i<a;)if(o!=null||!t)o=o[n[i++]];else return;return o})},join:function(e){return e.reduce(function(t,n){return t+(Bg(n)||jA.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){rF(Array.isArray(e)?e:Xm(e),t,n)}};function Yp(e){return T_.get(e)||T_.set(e,Xm(e).map(function(t){return t.replace(nF,"$2")}))}function Xm(e){return e.match(JD)||[""]}function rF(e,t,n){var r=e.length,o,i,a,s;for(i=0;i<r;i++)o=e[i],o&&(aF(o)&&(o='"'+o+'"'),s=Bg(o),a=!s&&/^\d+$/.test(o),t.call(n,o,s,a,i,e))}function Bg(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function oF(e){return e.match(eF)&&!e.match(jA)}function iF(e){return tF.test(e)}function aF(e){return!Bg(e)&&(oF(e)||iF(e))}const sF=/[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,Ed=e=>e.match(sF)||[],Sd=e=>e[0].toUpperCase()+e.slice(1),Vg=(e,t)=>Ed(e).join(t).toLowerCase(),BA=e=>Ed(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),lF=e=>Sd(BA(e)),uF=e=>Vg(e,"_"),cF=e=>Vg(e,"-"),fF=e=>Sd(Vg(e," ")),dF=e=>Ed(e).map(Sd).join(" ");var Wp={words:Ed,upperFirst:Sd,camelCase:BA,pascalCase:lF,snakeCase:uF,kebabCase:cF,sentenceCase:fF,titleCase:dF},zg={exports:{}};zg.exports=function(e){return VA(pF(e),e)};zg.exports.array=VA;function VA(e,t){var n=e.length,r=new Array(n),o={},i=n,a=hF(t),s=mF(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,f){if(f.has(u)){var p;try{p=", node was:"+JSON.stringify(u)}catch{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){f.add(u);do{var v=h[--c];l(v,s.get(v),f)}while(c);f.delete(u)}r[--n]=u}}}function pF(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 hF(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 mF(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var vF=zg.exports;const gF=Object.prototype.toString,yF=Error.prototype.toString,xF=RegExp.prototype.toString,_F=typeof Symbol!="undefined"?Symbol.prototype.toString:()=>"",wF=/^Symbol\((.*)\)(.*)$/;function bF(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function O_(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return bF(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return _F.call(e).replace(wF,"Symbol($1)");const r=gF.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+yF.call(e)+"]":r==="RegExp"?xF.call(e):null}function Do(e,t){let n=O_(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=O_(this[r],t);return i!==null?i:o},2)}function zA(e){return e==null?[]:[].concat(e)}let EF=/\$\{\s*(\w+)\s*\}/g;class Ot 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(EF,(o,i)=>Do(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=[],zA(t).forEach(i=>{Ot.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,Ot)}}let qn={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 \`${Do(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Do(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Do(n,!0)}\``+o}},dn={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"},br={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"},Zm={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Qm={isValue:"${path} field must be ${value}"},Jm={noUnknown:"${path} field has unspecified keys: ${unknown}"},Gu={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:qn,string:dn,number:br,date:Zm,object:Jm,array:Gu,boolean:Qm});const Cd=e=>e&&e.__isYupSchema__;class Hc{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 Hc(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(!Cd(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}function SF(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 uu={context:"$",value:"."};class er{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]===uu.context,this.isValue=this.key[0]===uu.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?uu.context:this.isValue?uu.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Mo.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}}er.prototype.__isYupRef=!0;const nn=e=>e==null,CF=["value","path","label","options","originalValue","spec","sync"];function ri(e){function t(n,r,o){let{value:i,path:a="",label:s,options:l,originalValue:u,spec:c,sync:f}=n,p=SF(n,CF);const{name:h,test:v,params:m,message:_,skipAbsent:g}=e;let{parent:y,context:x,abortEarly:w=p.schema.spec.abortEarly}=l;function b(z){return er.isRef(z)?z.getValue(i,y,x):z}function E(z={}){const re=Object.assign({value:i,originalValue:u,label:s,path:z.path||a,spec:c},m,z.params);for(const oe of Object.keys(re))re[oe]=b(re[oe]);const me=new Ot(Ot.formatError(z.message||_,re),i,re.path,z.type||h);return me.params=re,me}const S=w?r:o;let C=Object.assign({path:a,parent:y,type:h,createError:E,resolve:b,options:l,originalValue:u},p);const T=z=>{Ot.isError(z)?S(z):z?o(null):S(E())},k=z=>{Ot.isError(z)?S(z):r(z)},G=g&&nn(i);if(!f){try{Promise.resolve(G?!0:v.call(C,i,C)).then(T,k)}catch(z){k(z)}return}let F;try{var H;if(F=G?!0:v.call(C,i,C),typeof((H=F)==null?void 0:H.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(z){k(z);return}T(F)}return t.OPTIONS=e,t}let AF=e=>e.substr(0,e.length-1).substr(1);function $F(e,t,n,r=n){let o,i,a;return t?(Mo.forEach(t,(s,l,u)=>{let c=l?AF(s):s;e=e.resolve({context:r,parent:o,value:n});let f=e.type==="tuple",p=u?parseInt(c,10):0;if(e.innerType||f){if(f&&!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=f?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 Gc{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(er.isRef(r)?t(r):r),[])}add(t){er.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}delete(t){er.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}clone(){const t=new Gc;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 Ai(e,t=new Map){if(Cd(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]=Ai(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,Ai(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Ai(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=Ai(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 Gc,this._blacklist=new Gc,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(qn.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=Ai(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=Do(t),s=Do(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
382
+
383
+ attempted value: ${a}
384
+ `+(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 f={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:f,value:c,tests:p},r,h=>{if(h.length)return o(h,c);this.runTests({args:f,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,f=[];if(!c)return u([]);for(let p=0;p<i.length;p++){const h=i[p];h(a,l,function(m){m&&(f=f.concat(m)),--c<=0&&u(f)})}}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(f,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)=>{Ot.isError(a)&&(a.value=s),i(a)},(a,s)=>{a.length?i(new Ot(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 Ot.isError(i)&&(i.value=a),i},(i,a)=>{if(i.length)throw new Ot(i,t);o=a}),o}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Ot.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Ot.isError(r))return!1;throw r}}_getDefault(){let t=this.spec.default;return t==null?t:typeof t=="function"?t.call(this):Ai(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=ri({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=ri({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=qn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=qn.notNull){return this.nullability(!1,t)}required(t=qn.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=qn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=ri(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=zA(t).map(i=>new er(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new Hc(o,n):Hc.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=ri({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=qn.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=ri({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=qn.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=ri({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(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,u,c)=>c.findIndex(f=>f.name===l.name)===u)}}}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}=$F(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 UA(){return new HA}class HA 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=Qm.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return nn(n)||n===!0}})}isFalse(t=Qm.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)}}UA.prototype=HA.prototype;let TF=/^((([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,RF=/^((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,PF=/^(?:[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,OF=e=>nn(e)||e===e.trim(),kF={}.toString();function ji(){return new GA}class GA 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===kF?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||qn.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=dn.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=dn.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=dn.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||dn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=dn.email){return this.matches(TF,{name:"email",message:t,excludeEmptyString:!0})}url(t=dn.url){return this.matches(RF,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=dn.uuid){return this.matches(PF,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=dn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:OF})}lowercase(t=dn.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=dn.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()})}}ji.prototype=GA.prototype;let NF=e=>e!=+e;function st(){return new YA}class YA extends qt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!NF(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=br.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=br.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=br.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=br.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=br.positive){return this.moreThan(0,t)}negative(t=br.negative){return this.lessThan(0,t)}integer(t=br.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))}}st.prototype=YA.prototype;var LF=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function MF(e){var t=[1,4,5,6,7,10,11],n=0,r,o;if(o=LF.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 DF=new Date(""),FF=e=>Object.prototype.toString.call(e)==="[object Date]";class Ad extends qt{constructor(){super({type:"date",check(t){return FF(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)?t:(t=MF(t),isNaN(t)?Ad.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(er.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=Zm.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=Zm.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)}})}}Ad.INVALID_DATE=DF;Ad.prototype;function IF(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,s])=>`${a}-${s}`));function i(a,s){let l=Mo.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),er.isRef(s)&&s.isSibling?i(s.path,a):Cd(s)&&"deps"in s&&s.deps.forEach(l=>i(l,a))}return vF.array(Array.from(r),n).reverse()}function k_(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 WA(e){return(t,n)=>k_(e,t)-k_(e,n)}const qA=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function Yu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Yu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Yu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Yu)}):"optional"in e?e.optional():e}const jF=(e,t)=>{const n=[...Mo.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Mo.getter(Mo.join(n),!0)(e);return!!(o&&r in o)};let N_=e=>Object.prototype.toString.call(e)==="[object Object]";function BF(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const VF=WA([]);function Wo(e){return new KA(e)}class KA extends qt{constructor(t){super({type:"object",check(n){return N_(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=VF,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(f=>!this._nodes.includes(f))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const f of s){let p=i[f],h=f in o;if(p){let v,m=o[f];u.path=(n.path?`${n.path}.`:"")+f,p=p.resolve({value:m,context:n.context,parent:l});let _=p instanceof qt?p.spec:void 0,g=_==null?void 0:_.strict;if(_!=null&&_.strip){c=c||f in o;continue}v=!n.__validating||!g?p.cast(o[f],u):o[f],v!==void 0&&(l[f]=v)}else h&&!a&&(l[f]=o[f]);(h!==f in l||l[f]!==o[f])&&(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||!N_(u)){o(l,u);return}a=a||u;let c=[];for(let f of this._nodes){let p=this.fields[f];!p||er.isRef(p)||c.push(p.asNestedTest({options:n,key:f,parent:u,parentPath:n.path,originalParent:a}))}this.runTests({tests:c,value:u},r,f=>{o(f.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=IF(t,n),r._sortErrors=WA(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 Yu(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=Mo.getter(t,!0);return this.transform(i=>{if(!i)return i;let a=i;return jF(i,t)&&(a=Object.assign({},i),r||delete a[t],a[n]=o(i)),a})}json(){return this.transform(qA)}noUnknown(t=!0,n=Jm.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=BF(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Jm.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(Wp.camelCase)}snakeCase(){return this.transformKeys(Wp.snakeCase)}constantCase(){return this.transformKeys(t=>Wp.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}}Wo.prototype=KA.prototype;function ss(e){return new XA(e)}class XA 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 f;c[p]=a.asNestedTest({options:n,index:p,parent:u,parentPath:n.path,originalParent:(f=n.originalValue)!=null?f: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(qA)}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(!Cd(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Do(t));return n.innerType=t,n}length(t,n=Gu.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||Gu.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||Gu.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}}ss.prototype=XA.prototype;const zF=new RegExp(`(${Object.keys(Km).filter(e=>Number.isNaN(Number(e))).join("|")})`),UF=Wo({lat:st().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:st().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:st().max(30),radius:st().max(25e3),include:ss().of(ji().matches(zF,"Must be a valid Score category.").required()).required()});var HF=globalThis&&globalThis.__awaiter||function(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(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},GF=e=>t=>HF(void 0,void 0,void 0,function*(){const n=yield UF.validate(t),{lat:r,lng:o,limit:i,radius:a,include:s}=n;return(yield e.get(QD,{params:{lat:r,lng:o,limit:i,radius:a,include:s==null?void 0:s.join(",")}})).data.data}),ev;(function(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"})(ev||(ev={}));const YF="/scores",WF=new RegExp(`(${Object.keys(ev).filter(e=>Number.isNaN(Number(e))).join("|")})`),qF=Wo({lat:st().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:st().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:ss().of(ji().required()),geographyLevels:ss().of(ji().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:UA(),include:ss().of(ji().matches(WF,"Must be a valid Score category.").required())});var KF=globalThis&&globalThis.__awaiter||function(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(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},XF=e=>t=>KF(void 0,void 0,void 0,function*(){const n=yield qF.validate(t),{lat:r,lng:o,include:i,geographyIds:a,geographyLevels:s,locationScoresRounding:l=!0}=n;return(yield e.get(YF,{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});const ZF="/schools",QF=Wo({lat:st().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:st().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:st().max(30,"Must use a limit between 1 and 30."),radius:st().max(25e3,"Must use a radius between 1 and 25000.")});var JF=globalThis&&globalThis.__awaiter||function(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(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},eI=e=>t=>JF(void 0,void 0,void 0,function*(){const n=yield QF.validate(t),{lat:r,lng:o,limit:i,radius:a}=n;return(yield e.get(ZF,{params:{lat:r,lng:o,limit:i,radius:a}})).data.data});const tI="/profiles",nI=Wo({lat:st().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:st().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:ji()});var rI=globalThis&&globalThis.__awaiter||function(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(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},oI=e=>t=>rI(void 0,void 0,void 0,function*(){const n=yield nI.validate(t),{lat:r,lng:o,geogId:i}=n;return(yield e.get(tI,{params:{lat:r,lng:o,geog_id:i}})).data.data});const iI="/geographies",aI=Wo({lat:st().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:st().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()});var sI=globalThis&&globalThis.__awaiter||function(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(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},lI=e=>t=>sI(void 0,void 0,void 0,function*(){const n=yield aI.validate(t),{lat:r,lng:o}=n;return(yield e.get(iI,{params:{lat:r,lng:o}})).data.data});const uI="/demographics",cI=Wo({lat:st().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:st().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()});var fI=globalThis&&globalThis.__awaiter||function(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(f){a(f)}}function l(c){try{u(r.throw(c))}catch(f){a(f)}}function u(c){c.done?i(c.value):o(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})},dI=e=>t=>fI(void 0,void 0,void 0,function*(){const n=yield cI.validate(t),{lat:r,lng:o}=n;return(yield e.get(uI,{params:{lat:r,lng:o}})).data.data.attributes});const Ug="LocalLogicClient/";class pI extends Error{constructor({message:t}){super(t),this.name=Ug+this.constructor.name}}class hI extends Error{constructor({message:t,response:n}){super(t),this.name=Ug+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 mI extends Error{constructor({message:t}){super(t),this.name=Ug+this.constructor.name}}const L_=e=>{throw e instanceof Ot?new pI(e):IA.isAxiosError(e)?new hI(e):new mI(e)},xa=(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=>{L_(a)}):i}catch(i){L_(i)}},n};var _a=globalThis&&globalThis.__decorate||function(e,t,n,r){var o=arguments.length,i=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i};class qo{constructor(t,n={locale:"en"}){this.requests=ZD(t,n),this.options=n}getPois(t){return GF(this.requests)(t)}getScores(t){return XF(this.requests)(t)}getSchools(t){return eI(this.requests)(t)}getProfiles(t){return oI(this.requests)(t)}getGeographies(t){return lI(this.requests)(t)}getDemographics(t){return dI(this.requests)(t)}}_a([xa],qo.prototype,"getPois",null);_a([xa],qo.prototype,"getScores",null);_a([xa],qo.prototype,"getSchools",null);_a([xa],qo.prototype,"getProfiles",null);_a([xa],qo.prototype,"getGeographies",null);_a([xa],qo.prototype,"getDemographics",null);const vI=(e,t)=>new qo(e,t);var tv=function(e,t){return tv=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])},tv(e,t)};function ZA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");tv(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var B=function(){return B=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},B.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 Je(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 Dn(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 gI="production",QA=typeof process=="undefined"||process.env===void 0?gI:"production",Gn=function(e){return{isEnabled:function(t){return e.some(function(n){return!!t[n]})}}},Ys={measureLayout:Gn(["layout","layoutId","drag"]),animation:Gn(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Gn(["exit"]),drag:Gn(["drag","dragControls"]),focus:Gn(["whileFocus"]),hover:Gn(["whileHover","onHoverStart","onHoverEnd"]),tap:Gn(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Gn(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Gn(["whileInView","onViewportEnter","onViewportLeave"])};function yI(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Ys.projectionNodeConstructor=e[t]:Ys[t].Component=e[t])}var xI=function(){},Yc=function(){},JA=d.exports.createContext({strict:!1}),e$=Object.keys(Ys),_I=e$.length;function wI(e,t,n){var r=[],o=d.exports.useContext(JA);if(!t)return null;QA!=="production"&&n&&o.strict;for(var i=0;i<_I;i++){var a=e$[i],s=Ys[a],l=s.isEnabled,u=s.Component;l(e)&&u&&r.push(d.exports.createElement(u,B({key:a},e,{visualElement:t})))}return r}var Hg=d.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),$d=d.exports.createContext({});function bI(){return d.exports.useContext($d).visualElement}var Td=d.exports.createContext(null),wa=typeof document!="undefined",M_=wa?d.exports.useLayoutEffect:d.exports.useEffect,nv={current:null},t$=!1;function EI(){if(t$=!0,!!wa)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return nv.current=e.matches};e.addListener(t),t()}else nv.current=!1}function SI(){!t$&&EI();var e=Je(d.exports.useState(nv.current),1),t=e[0];return t}function CI(){var e=SI(),t=d.exports.useContext(Hg).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function AI(e,t,n,r){var o=d.exports.useContext(JA),i=bI(),a=d.exports.useContext(Td),s=CI(),l=d.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 M_(function(){u==null||u.syncRender()}),d.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),M_(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function $i(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function $I(e,t,n){return d.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):$i(n)&&(n.current=r))},[t])}function n$(e){return Array.isArray(e)}function vn(e){return typeof e=="string"||n$(e)}function TI(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.get()}),t}function RI(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.getVelocity()}),t}function r$(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 Rd(e,t,n){var r=e.getProps();return r$(r,t,n!=null?n:r.custom,TI(e),RI(e))}function Pd(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 o$(e){return Boolean(Pd(e)||e.variants)}function PI(e,t){if(Pd(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 OI(e){var t=PI(e,d.exports.useContext($d)),n=t.initial,r=t.animate;return d.exports.useMemo(function(){return{initial:n,animate:r}},[D_(n),D_(r)])}function D_(e){return Array.isArray(e)?e.join(" "):e}function Od(e){var t=d.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}var ls={hasAnimatedSinceResize:!0,hasEverUpdated:!1},kI=1;function NI(){return Od(function(){if(ls.hasEverUpdated)return kI++})}var i$=d.exports.createContext({}),a$=d.exports.createContext({});function LI(e,t,n,r){var o,i=t.layoutId,a=t.layout,s=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=d.exports.useContext(a$);!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&&$i(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var MI=function(e){ZA(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}(ee.Component);function DI(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;t&&yI(t);function s(l,u){var c=FI(l);l=B(B({},l),{layoutId:c});var f=d.exports.useContext(Hg),p=null,h=OI(l),v=f.isStatic?void 0:NI(),m=i(l,f.isStatic);return!f.isStatic&&wa&&(h.visualElement=AI(a,m,B(B({},f),l),n),LI(v,l,h.visualElement,r||Ys.projectionNodeConstructor),p=wI(l,h.visualElement,t)),d.exports.createElement(MI,{visualElement:h.visualElement,props:B(B({},f),l)},p,d.exports.createElement($d.Provider,{value:h},o(a,l,v,$I(m,h.visualElement,u),m,f.isStatic,h.visualElement)))}return d.exports.forwardRef(s)}function FI(e){var t,n=e.layoutId,r=(t=d.exports.useContext(i$))===null||t===void 0?void 0:t.id;return r&&n!==void 0?r+"-"+n:n}function II(e){function t(r,o){return o===void 0&&(o={}),DI(e(r,o))}if(typeof Proxy=="undefined")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 jI=["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 Gg(e){return typeof e!="string"||e.includes("-")?!1:!!(jI.indexOf(e)>-1||/[A-Z]/.test(e))}var Wc={};function BI(e){Object.assign(Wc,e)}var rv=["","X","Y","Z"],VI=["translate","scale","rotate","skew"],Ws=["transformPerspective","x","y","z"];VI.forEach(function(e){return rv.forEach(function(t){return Ws.push(e+t)})});function zI(e,t){return Ws.indexOf(e)-Ws.indexOf(t)}var UI=new Set(Ws);function vl(e){return UI.has(e)}var HI=new Set(["originX","originY","originZ"]);function s$(e){return HI.has(e)}function l$(e,t){var n=t.layout,r=t.layoutId;return vl(e)||s$(e)||(n||r!==void 0)&&(!!Wc[e]||e==="opacity")}var sr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},GI={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function YI(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(zI);for(var f=!1,p=i.length,h=0;h<p;h++){var v=i[h];c+="".concat(GI[v]||v,"(").concat(o[v],") "),v==="z"&&(f=!0)}return!f&&s?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}function WI(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 u$(e){return e.startsWith("--")}var qI=function(e,t){return t&&typeof e=="number"?t.transform(e):e};const c$=(e,t)=>n=>Math.max(Math.min(n,t),e),us=e=>e%1?Number(e.toFixed(5)):e,qs=/(-)?([\d]*\.?[\d])+/g,ov=/(#[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,KI=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function gl(e){return typeof e=="string"}const Ko={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},cs=Object.assign(Object.assign({},Ko),{transform:c$(0,1)}),cu=Object.assign(Object.assign({},Ko),{default:1}),yl=e=>({test:t=>gl(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Er=yl("deg"),Fn=yl("%"),ne=yl("px"),XI=yl("vh"),ZI=yl("vw"),F_=Object.assign(Object.assign({},Fn),{parse:e=>Fn.parse(e)/100,transform:e=>Fn.transform(e*100)}),Yg=(e,t)=>n=>Boolean(gl(n)&&KI.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),f$=(e,t,n)=>r=>{if(!gl(r))return r;const[o,i,a,s]=r.match(qs);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Oo={test:Yg("hsl","hue"),parse:f$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Fn.transform(us(t))+", "+Fn.transform(us(n))+", "+us(cs.transform(r))+")"},QI=c$(0,255),qp=Object.assign(Object.assign({},Ko),{transform:e=>Math.round(QI(e))}),Ir={test:Yg("rgb","red"),parse:f$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+qp.transform(e)+", "+qp.transform(t)+", "+qp.transform(n)+", "+us(cs.transform(r))+")"};function JI(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 iv={test:Yg("#"),parse:JI,transform:Ir.transform},_t={test:e=>Ir.test(e)||iv.test(e)||Oo.test(e),parse:e=>Ir.test(e)?Ir.parse(e):Oo.test(e)?Oo.parse(e):iv.parse(e),transform:e=>gl(e)?e:e.hasOwnProperty("red")?Ir.transform(e):Oo.transform(e)},d$="${c}",p$="${n}";function ej(e){var t,n,r,o;return isNaN(e)&&gl(e)&&((n=(t=e.match(qs))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((o=(r=e.match(ov))===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0)>0}function h$(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(ov);r&&(n=r.length,e=e.replace(ov,d$),t.push(...r.map(_t.parse)));const o=e.match(qs);return o&&(e=e.replace(qs,p$),t.push(...o.map(Ko.parse))),{values:t,numColors:n,tokenised:e}}function m$(e){return h$(e).values}function v$(e){const{values:t,numColors:n,tokenised:r}=h$(e),o=t.length;return i=>{let a=r;for(let s=0;s<o;s++)a=a.replace(s<n?d$:p$,s<n?_t.transform(i[s]):us(i[s]));return a}}const tj=e=>typeof e=="number"?0:e;function nj(e){const t=m$(e);return v$(e)(t.map(tj))}const lr={test:ej,parse:m$,createTransformer:v$,getAnimatableNone:nj},rj=new Set(["brightness","contrast","saturate","opacity"]);function oj(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(qs)||[];if(!r)return e;const o=n.replace(r,"");let i=rj.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const ij=/([a-z-]*)\(.*?\)/g,av=Object.assign(Object.assign({},lr),{getAnimatableNone:e=>{const t=e.match(ij);return t?t.map(oj).join(" "):e}});var I_=B(B({},Ko),{transform:Math.round}),g$={borderWidth:ne,borderTopWidth:ne,borderRightWidth:ne,borderBottomWidth:ne,borderLeftWidth:ne,borderRadius:ne,radius:ne,borderTopLeftRadius:ne,borderTopRightRadius:ne,borderBottomRightRadius:ne,borderBottomLeftRadius:ne,width:ne,maxWidth:ne,height:ne,maxHeight:ne,size:ne,top:ne,right:ne,bottom:ne,left:ne,padding:ne,paddingTop:ne,paddingRight:ne,paddingBottom:ne,paddingLeft:ne,margin:ne,marginTop:ne,marginRight:ne,marginBottom:ne,marginLeft:ne,rotate:Er,rotateX:Er,rotateY:Er,rotateZ:Er,scale:cu,scaleX:cu,scaleY:cu,scaleZ:cu,skew:Er,skewX:Er,skewY:Er,distance:ne,translateX:ne,translateY:ne,translateZ:ne,x:ne,y:ne,z:ne,perspective:ne,transformPerspective:ne,opacity:cs,originX:F_,originY:F_,originZ:ne,zIndex:I_,fillOpacity:cs,strokeOpacity:cs,numOctaves:I_};function Wg(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,f=!1,p=!0;for(var h in t){var v=t[h];if(u$(h)){a[h]=v;continue}var m=g$[h],_=qI(v,m);if(vl(h)){if(c=!0,s[h]=_,l.push(h),!p)continue;v!==((o=m.default)!==null&&o!==void 0?o:0)&&(p=!1)}else s$(h)?(u[h]=_,f=!0):i[h]=_}c?i.transform=YI(e,n,p,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),f&&(i.transformOrigin=WI(u))}var qg=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function y$(e,t,n){for(var r in t)!sr(t[r])&&!l$(r,n)&&(e[r]=t[r])}function aj(e,t,n){var r=e.transformTemplate;return d.exports.useMemo(function(){var o=qg();Wg(o,t,{enableHardwareAcceleration:!n},r);var i=o.vars,a=o.style;return B(B({},i),a)},[t])}function sj(e,t,n){var r=e.style||{},o={};return y$(o,r,e),Object.assign(o,aj(e,t,n)),e.transformValues&&(o=e.transformValues(o)),o}function lj(e,t,n){var r={},o=sj(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 uj=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 uj.has(e)}var x$=function(e){return!qc(e)};function cj(e){!e||(x$=function(t){return t.startsWith("on")?!qc(t):e(t)})}try{cj(require("@emotion/is-prop-valid").default)}catch{}function fj(e,t,n){var r={};for(var o in e)(x$(o)||n===!0&&qc(o)||!t&&!qc(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function j_(e,t,n){return typeof e=="string"?e:ne.transform(t+n*e)}function dj(e,t,n){var r=j_(t,e.x,e.width),o=j_(n,e.y,e.height);return"".concat(r," ").concat(o)}var pj={offset:"stroke-dashoffset",array:"stroke-dasharray"},hj={offset:"strokeDashoffset",array:"strokeDasharray"};function mj(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?pj:hj;e[i.offset]=ne.transform(-r);var a=ne.transform(t),s=ne.transform(n);e[i.array]="".concat(a," ").concat(s)}function Kg(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,f=t.pathOffset,p=f===void 0?0:f,h=ln(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Wg(e,h,n,r),e.attrs=e.style,e.style={};var v=e.attrs,m=e.style,_=e.dimensions;v.transform&&(_&&(m.transform=v.transform),delete v.transform),_&&(a!==void 0||s!==void 0||m.transform)&&(m.transformOrigin=dj(_,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&&mj(v,l,c,p,!1)}var _$=function(){return B(B({},qg()),{attrs:{}})};function vj(e,t){var n=d.exports.useMemo(function(){var o=_$();return Kg(o,t,{enableHardwareAcceleration:!1},e.transformTemplate),B(B({},o.attrs),{style:B({},o.style)})},[t]);if(e.style){var r={};y$(r,e.style,e),n.style=B(B({},r),n.style)}return n}function gj(e){e===void 0&&(e=!1);var t=function(n,r,o,i,a,s){var l=a.latestValues,u=Gg(n)?vj:lj,c=u(r,l,s),f=fj(r,typeof n=="string",e),p=B(B(B({},f),c),{ref:i});return o&&(p["data-projection-id"]=o),d.exports.createElement(n,p)};return t}var yj=/([a-z])([A-Z])/g,xj="$1-$2",w$=function(e){return e.replace(yj,xj).toLowerCase()};function b$(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 E$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function S$(e,t,n,r){b$(e,t,void 0,r);for(var o in t.attrs)e.setAttribute(E$.has(o)?o:w$(o),t.attrs[o])}function Xg(e){var t=e.style,n={};for(var r in t)(sr(t[r])||l$(r,e))&&(n[r]=t[r]);return n}function C$(e){var t=Xg(e);for(var n in e)if(sr(e[n])){var r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function Zg(e){return typeof e=="object"&&typeof e.start=="function"}var Ks=function(e){return Array.isArray(e)},_j=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},A$=function(e){return Ks(e)?e[e.length-1]||0:e};function Wu(e){var t=sr(e)?e.get():e;return _j(t)?t.toValue():t}function B_(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:wj(t,n,r,o),renderState:i()};return a&&(s.mount=function(l){return a(t,l,s)}),s}var $$=function(e){return function(t,n){var r=d.exports.useContext($d),o=d.exports.useContext(Td);return n?B_(e,t,r,o):Od(function(){return B_(e,t,r,o)})}};function wj(e,t,n,r){var o={},i=(n==null?void 0:n.initial)===!1,a=r(e);for(var s in a)o[s]=Wu(a[s]);var l=e.initial,u=e.animate,c=Pd(e),f=o$(e);t&&f&&!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"&&!Zg(h)){var v=Array.isArray(h)?h:[h];v.forEach(function(m){var _=r$(e,m);if(!!_){var g=_.transitionEnd;_.transition;var y=ln(_,["transitionEnd","transition"]);for(var x in y){var w=y[x];if(Array.isArray(w)){var b=p?w.length-1:0;w=w[b]}w!==null&&(o[x]=w)}for(var x in g)o[x]=g[x]}})}return o}var bj={useVisualState:$$({scrapeMotionValuesFromProps:C$,createRenderState:_$,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}Kg(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),S$(t,r)}})},Ej={useVisualState:$$({scrapeMotionValuesFromProps:Xg,createRenderState:qg})};function Sj(e,t,n,r,o){var i=t.forwardMotionProps,a=i===void 0?!1:i,s=Gg(e)?bj:Ej;return B(B({},s),{preloadedFeatures:n,useRender:gj(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}var Pe;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(Pe||(Pe={}));function kd(e,t,n,r){return r===void 0&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function sv(e,t,n,r){d.exports.useEffect(function(){var o=e.current;if(n&&o)return kd(o,t,n,r)},[e,t,n,r])}function Cj(e){var t=e.whileFocus,n=e.visualElement,r=function(){var i;(i=n.animationState)===null||i===void 0||i.setActive(Pe.Focus,!0)},o=function(){var i;(i=n.animationState)===null||i===void 0||i.setActive(Pe.Focus,!1)};sv(n,"focus",t?r:void 0),sv(n,"blur",t?o:void 0)}function T$(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function R$(e){var t=!!e.touches;return t}function Aj(e){return function(t){var n=t instanceof MouseEvent,r=!n||n&&t.button===0;r&&e(t)}}var $j={pageX:0,pageY:0};function Tj(e,t){t===void 0&&(t="page");var n=e.touches[0]||e.changedTouches[0],r=n||$j;return{x:r[t+"X"],y:r[t+"Y"]}}function Rj(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Qg(e,t){return t===void 0&&(t="page"),{point:R$(e)?Tj(e,t):Rj(e,t)}}var P$=function(e,t){t===void 0&&(t=!1);var n=function(r){return e(r,Qg(r))};return t?Aj(n):n},Pj=function(){return wa&&window.onpointerdown===null},Oj=function(){return wa&&window.ontouchstart===null},kj=function(){return wa&&window.onmousedown===null},Nj={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Lj={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function O$(e){return Pj()?e:Oj()?Lj[e]:kj()?Nj[e]:e}function Bi(e,t,n,r){return kd(e,O$(t),P$(n,t==="pointerdown"),r)}function Kc(e,t,n,r){return sv(e,O$(t),n&&P$(n,t==="pointerdown"),r)}function k$(e){var t=null;return function(){var n=function(){t=null};return t===null?(t=e,n):!1}}var V_=k$("dragHorizontal"),z_=k$("dragVertical");function N$(e){var t=!1;if(e==="y")t=z_();else if(e==="x")t=V_();else{var n=V_(),r=z_();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function L$(){var e=N$(!0);return e?(e(),!1):!0}function U_(e,t,n){return function(r,o){var i;!T$(r)||L$()||((i=e.animationState)===null||i===void 0||i.setActive(Pe.Hover,t),n==null||n(r,o))}}function Mj(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Kc(o,"pointerenter",t||r?U_(o,!0,t):void 0,{passive:!t}),Kc(o,"pointerleave",n||r?U_(o,!1,n):void 0,{passive:!n})}var M$=function(e,t){return t?e===t?!0:M$(e,t.parentElement):!1};function D$(e){return d.exports.useEffect(function(){return function(){return e()}},[])}const Xc=(e,t,n)=>Math.min(Math.max(n,e),t),Kp=.001,Dj=.01,H_=10,Fj=.05,Ij=1;function jj({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;xI(e<=H_*1e3);let a=1-t;a=Xc(Fj,Ij,a),e=Xc(Dj,H_,e/1e3),a<1?(o=u=>{const c=u*a,f=c*e,p=c-n,h=lv(u,a),v=Math.exp(-f);return Kp-p/h*v},i=u=>{const f=u*a*e,p=f*n+n,h=Math.pow(a,2)*Math.pow(u,2)*e,v=Math.exp(-f),m=lv(Math.pow(u,2),a);return(-o(u)+Kp>0?-1:1)*((p-h)*v)/m}):(o=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Kp+c*f},i=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const s=5/e,l=Vj(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 Bj=12;function Vj(e,t,n){let r=n;for(let o=1;o<Bj;o++)r=r-e(r)/t(r);return r}function lv(e,t){return e*Math.sqrt(1-t*t)}const zj=["duration","bounce"],Uj=["stiffness","damping","mass"];function G_(e,t){return t.some(n=>e[n]!==void 0)}function Hj(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!G_(e,Uj)&&G_(e,zj)){const n=jj(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Jg(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:f,isResolvedFromDuration:p}=Hj(i),h=Y_,v=Y_;function m(){const _=c?-(c/1e3):0,g=n-t,y=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)),y<1){const w=lv(x,y);h=b=>{const E=Math.exp(-y*x*b);return n-E*((_+y*x*g)/w*Math.sin(w*b)+g*Math.cos(w*b))},v=b=>{const E=Math.exp(-y*x*b);return y*x*E*(Math.sin(w*b)*(_+y*x*g)/w+g*Math.cos(w*b))-E*(Math.cos(w*b)*(_+y*x*g)-w*g*Math.sin(w*b))}}else if(y===1)h=w=>n-Math.exp(-x*w)*(g+(_+x*g)*w);else{const w=x*Math.sqrt(y*y-1);h=b=>{const E=Math.exp(-y*x*b),S=Math.min(w*b,300);return n-E*((_+y*x*g)*Math.sinh(S)+w*g*Math.cosh(S))/w}}}return m(),{next:_=>{const g=h(_);if(p)a.done=_>=f;else{const y=v(_)*1e3,x=Math.abs(y)<=r,w=Math.abs(n-g)<=o;a.done=x&&w}return a.value=a.done?n:g,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}Jg.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Y_=e=>0,Xs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},ze=(e,t,n)=>-n*e+n*t+e;function Xp(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 W_({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=Xp(l,s,e+1/3),i=Xp(l,s,e),a=Xp(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}const Gj=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Yj=[iv,Ir,Oo],q_=e=>Yj.find(t=>t.test(e)),F$=(e,t)=>{let n=q_(e),r=q_(t),o=n.parse(e),i=r.parse(t);n===Oo&&(o=W_(o),n=Ir),r===Oo&&(i=W_(i),r=Ir);const a=Object.assign({},o);return s=>{for(const l in a)l!=="alpha"&&(a[l]=Gj(o[l],i[l],s));return a.alpha=ze(o.alpha,i.alpha,s),n.transform(a)}},uv=e=>typeof e=="number",Wj=(e,t)=>n=>t(e(n)),Nd=(...e)=>e.reduce(Wj);function I$(e,t){return uv(e)?n=>ze(e,t,n):_t.test(e)?F$(e,t):B$(e,t)}const j$=(e,t)=>{const n=[...e],r=n.length,o=e.map((i,a)=>I$(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=o[a](i);return n}},qj=(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]=I$(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}};function K_(e){const t=lr.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 B$=(e,t)=>{const n=lr.createTransformer(t),r=K_(e),o=K_(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?Nd(j$(r.parsed,o.parsed),n):a=>`${a>0?t:e}`},Kj=(e,t)=>n=>ze(e,t,n);function Xj(e){if(typeof e=="number")return Kj;if(typeof e=="string")return _t.test(e)?F$:B$;if(Array.isArray(e))return j$;if(typeof e=="object")return qj}function Zj(e,t,n){const r=[],o=n||Xj(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=Nd(l,s)}r.push(s)}return r}function Qj([e,t],[n]){return r=>n(Xs(e,t,r))}function Jj(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=Xs(e[i],e[i+1],o);return t[i](s)}}function V$(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;Yc(i===t.length),Yc(!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=Zj(t,r,o),s=i===2?Qj(e,a):Jj(e,a);return n?l=>s(Xc(e[0],e[i-1],l)):s}const Ld=e=>t=>1-e(1-t),e1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eB=e=>t=>Math.pow(t,e),z$=e=>t=>t*t*((e+1)*t-e),tB=e=>{const t=z$(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},U$=1.525,nB=4/11,rB=8/11,oB=9/10,t1=e=>e,n1=eB(2),iB=Ld(n1),H$=e1(n1),G$=e=>1-Math.sin(Math.acos(e)),r1=Ld(G$),aB=e1(r1),o1=z$(U$),sB=Ld(o1),lB=e1(o1),uB=tB(U$),cB=4356/361,fB=35442/1805,dB=16061/1805,Zc=e=>{if(e===1||e===0)return e;const t=e*e;return e<nB?7.5625*t:e<rB?9.075*t-9.9*e+3.4:e<oB?cB*t-fB*e+dB:10.8*e*e-20.52*e+10.72},pB=Ld(Zc),hB=e=>e<.5?.5*(1-Zc(1-e*2)):.5*Zc(e*2-1)+.5;function mB(e,t){return e.map(()=>t||H$).splice(0,e.length-1)}function vB(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function gB(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=gB(r&&r.length===a.length?r:vB(a),o);function l(){return V$(s,a,{ease:Array.isArray(n)?n:mB(a,n)})}let u=l();return{next:c=>(i.value=u(c),i.done=c>=o,i),flipTarget:()=>{a.reverse(),u=l()}}}function yB({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 f=-s*Math.exp(-c/r);return a.done=!(f>o||f<-o),a.value=a.done?u:u+f,a},flipTarget:()=>{}}}const X_={keyframes:qu,spring:Jg,decay:yB};function xB(e){if(Array.isArray(e.to))return qu;if(X_[e.type])return X_[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")?Jg:qu}const Y$=1/60*1e3,_B=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),W$=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(_B()),Y$);function wB(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const f=c&&o,p=f?t:n;return u&&a.add(l),p.indexOf(l)===-1&&(p.push(l),f&&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 bB=40;let cv=!0,Zs=!1,fv=!1;const Vi={delta:0,timestamp:0},xl=["read","update","preRender","render","postRender"],Md=xl.reduce((e,t)=>(e[t]=wB(()=>Zs=!0),e),{}),In=xl.reduce((e,t)=>{const n=Md[t];return e[t]=(r,o=!1,i=!1)=>(Zs||SB(),n.schedule(r,o,i)),e},{}),ia=xl.reduce((e,t)=>(e[t]=Md[t].cancel,e),{}),Zp=xl.reduce((e,t)=>(e[t]=()=>Md[t].process(Vi),e),{}),EB=e=>Md[e].process(Vi),q$=e=>{Zs=!1,Vi.delta=cv?Y$:Math.max(Math.min(e-Vi.timestamp,bB),1),Vi.timestamp=e,fv=!0,xl.forEach(EB),fv=!1,Zs&&(cv=!1,W$(q$))},SB=()=>{Zs=!0,cv=!0,fv||W$(q$)},Qc=()=>Vi;function K$(e,t,n=0){return e-t-n}function CB(e,t,n=0,r=!0){return r?K$(t+-e,t,n):t-(e-t)+n}function AB(e,t,n,r){return r?e>=t+n:e<=-n}const $B=e=>{const t=({delta:n})=>e(n);return{start:()=>In.update(t,!0),stop:()=>ia.update(t)}};function X$(e){var t,n,{from:r,autoplay:o=!0,driver:i=$B,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:p,onRepeat:h,onUpdate:v}=e,m=ln(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:_}=m,g,y=0,x=m.duration,w,b=!1,E=!0,S;const C=xB(m);!((n=(t=C).needsInterpolation)===null||n===void 0)&&n.call(t,r,_)&&(S=V$([0,100],[r,_],{clamp:!1}),r=0,_=100);const T=C(Object.assign(Object.assign({},m),{from:r,to:_}));function k(){y++,l==="reverse"?(E=y%2===0,a=CB(a,x,u,E)):(a=K$(a,x,u),l==="mirror"&&T.flipTarget()),b=!1,h&&h()}function G(){g.stop(),p&&p()}function F(z){if(E||(z=-z),a+=z,!b){const re=T.next(Math.max(0,a));w=re.value,S&&(w=S(w)),b=E?re.done:a<=0}v==null||v(w),b&&(y===0&&(x!=null||(x=a)),y<s?AB(a,x,u,E)&&k():G())}function H(){c==null||c(),g=i(F),g.start()}return o&&H(),{stop:()=>{f==null||f(),g.stop()}}}function Z$(e,t){return t?e*(1e3/t):0}function TB({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:f,onComplete:p,onStop:h}){let v;function m(x){return n!==void 0&&x<n||r!==void 0&&x>r}function _(x){return n===void 0?r:r===void 0||Math.abs(n-x)<Math.abs(r-x)?n:r}function g(x){v==null||v.stop(),v=X$(Object.assign(Object.assign({},x),{driver:c,onUpdate:w=>{var b;f==null||f(w),(b=x.onUpdate)===null||b===void 0||b.call(x,w)},onComplete:p,onStop:h}))}function y(x){g(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},x))}if(m(e))y({from:e,velocity:t,to:_(e)});else{let x=o*t+e;typeof u!="undefined"&&(x=u(x));const w=_(x),b=w===n?-1:1;let E,S;const C=T=>{E=S,S=T,t=Z$(T-E,Qc().delta),(b===1&&T>w||b===-1&&T<w)&&y({from:T,to:w,velocity:t})};g({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 dv=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Z_=e=>dv(e)&&e.hasOwnProperty("z"),fu=(e,t)=>Math.abs(e-t);function Q$(e,t){if(uv(e)&&uv(t))return fu(e,t);if(dv(e)&&dv(t)){const n=fu(e.x,t.x),r=fu(e.y,t.y),o=Z_(e)&&Z_(t)?fu(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}const J$=(e,t)=>1-3*t+3*e,e5=(e,t)=>3*t-6*e,t5=e=>3*e,Jc=(e,t,n)=>((J$(t,n)*e+e5(t,n))*e+t5(t))*e,n5=(e,t,n)=>3*J$(t,n)*e*e+2*e5(t,n)*e+t5(t),RB=1e-7,PB=10;function OB(e,t,n,r,o){let i,a,s=0;do a=t+(n-t)/2,i=Jc(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>RB&&++s<PB);return a}const kB=8,NB=.001;function LB(e,t,n,r){for(let o=0;o<kB;++o){const i=n5(t,n,r);if(i===0)return t;t-=(Jc(t,n,r)-e)/i}return t}const Ku=11,du=1/(Ku-1);function MB(e,t,n,r){if(e===t&&n===r)return t1;const o=new Float32Array(Ku);for(let a=0;a<Ku;++a)o[a]=Jc(a*du,e,n);function i(a){let s=0,l=1;const u=Ku-1;for(;l!==u&&o[l]<=a;++l)s+=du;--l;const c=(a-o[l])/(o[l+1]-o[l]),f=s+c*du,p=n5(f,e,n);return p>=NB?LB(a,f,e,n):p===0?f:OB(a,s,s+du,e,n)}return a=>a===0||a===1?a:Jc(i(a),t,r)}function DB(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,s=d.exports.useRef(!1),l=d.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 f(){var m;return c(),s.current=!1,(m=i.animationState)===null||m===void 0||m.setActive(Pe.Tap,!1),!L$()}function p(m,_){!f()||(M$(i.getInstance(),m.target)?t==null||t(m,_):r==null||r(m,_))}function h(m,_){!f()||r==null||r(m,_)}function v(m,_){var g;c(),!s.current&&(s.current=!0,l.current=Nd(Bi(window,"pointerup",p,u),Bi(window,"pointercancel",h,u)),(g=i.animationState)===null||g===void 0||g.setActive(Pe.Tap,!0),n==null||n(m,_))}Kc(i,"pointerdown",a?v:void 0,u),D$(c)}var Q_=new Set;function FB(e,t,n){e||Q_.has(t)||(console.warn(t),n&&console.warn(n),Q_.add(t))}var pv=new WeakMap,Qp=new WeakMap,IB=function(e){var t;(t=pv.get(e.target))===null||t===void 0||t(e)},jB=function(e){e.forEach(IB)};function BB(e){var t=e.root,n=ln(e,["root"]),r=t||document;Qp.has(r)||Qp.set(r,{});var o=Qp.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(jB,B({root:t},n))),o[i]}function VB(e,t,n){var r=BB(t);return pv.set(e,n),r.observe(e),function(){pv.delete(e),r.unobserve(e)}}function zB(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=i===void 0?{}:i,s=d.exports.useRef({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||o);a.once&&s.current.hasEnteredView&&(l=!1);var u=typeof IntersectionObserver=="undefined"?GB:HB;u(l,s.current,t,a)}var UB={some:0,all:1};function HB(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,s=a===void 0?"some":a,l=r.once;d.exports.useEffect(function(){if(!!e){var u={root:o==null?void 0:o.current,rootMargin:i,threshold:typeof s=="number"?s:UB[s]},c=function(f){var p,h=f.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(Pe.InView,h);var v=n.getProps(),m=h?v.onViewportEnter:v.onViewportLeave;m==null||m(f)}};return VB(n.getInstance(),u,c)}},[e,o,i,s])}function GB(e,t,n,r){var o=r.fallback,i=o===void 0?!0:o;d.exports.useEffect(function(){!e||!i||(QA!=="production"&&FB(!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(Pe.InView,!0)}))},[e])}var jr=function(e){return function(t){return e(t),null}},YB={inView:jr(zB),tap:jr(DB),focus:jr(Cj),hover:jr(Mj)},WB=0,qB=function(){return WB++},KB=function(){return Od(qB)};function r5(){var e=d.exports.useContext(Td);if(e===null)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=KB();d.exports.useEffect(function(){return r(o)},[]);var i=function(){return n==null?void 0:n(o)};return!t&&n?[!1,i]:[!0]}function o5(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 ef=function(e){return e*1e3},XB={linear:t1,easeIn:n1,easeInOut:H$,easeOut:iB,circIn:G$,circInOut:aB,circOut:r1,backIn:o1,backInOut:lB,backOut:sB,anticipate:uB,bounceIn:pB,bounceInOut:hB,bounceOut:Zc},J_=function(e){if(Array.isArray(e)){Yc(e.length===4);var t=Je(e,4),n=t[0],r=t[1],o=t[2],i=t[3];return MB(n,r,o,i)}else if(typeof e=="string")return XB[e];return e},ZB=function(e){return Array.isArray(e)&&typeof e[0]!="number"},ew=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&lr.test(t)&&!t.startsWith("url("))},yo=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},pu=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},Jp=function(){return{type:"keyframes",ease:"linear",duration:.3}},QB=function(e){return{type:"keyframes",duration:.8,values:e}},tw={x:yo,y:yo,z:yo,rotate:yo,rotateX:yo,rotateY:yo,rotateZ:yo,scaleX:pu,scaleY:pu,scale:pu,opacity:Jp,backgroundColor:Jp,color:Jp,default:pu},JB=function(e,t){var n;return Ks(t)?n=QB:n=tw[e]||tw.default,B({to:t},n(t))},eV=B(B({},g$),{color:_t,backgroundColor:_t,outlineColor:_t,fill:_t,stroke:_t,borderColor:_t,borderTopColor:_t,borderRightColor:_t,borderBottomColor:_t,borderLeftColor:_t,filter:av,WebkitFilter:av}),i1=function(e){return eV[e]};function a1(e,t){var n,r=i1(e);return r!==av&&(r=lr),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}var tV={current:!1};function nV(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 rV(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=B({},a);return n&&(s.offset=n),a.duration&&(s.duration=ef(a.duration)),a.repeatDelay&&(s.repeatDelay=ef(a.repeatDelay)),t&&(s.ease=ZB(t)?t.map(J_):J_(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 oV(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 iV(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=Dn([],Je(e.to),!1),e.to[0]=e.from),e}function aV(e,t,n){var r;return Array.isArray(t.to)&&((r=e.duration)!==null&&r!==void 0||(e.duration=.8)),iV(t),nV(e)||(e=B(B({},e),JB(n,t.to))),B(B({},t),rV(e))}function sV(e,t,n,r,o){var i,a=s1(r,e),s=(i=a.from)!==null&&i!==void 0?i:t.get(),l=ew(e,n);s==="none"&&l&&typeof n=="string"?s=a1(e,n):nw(s)&&typeof n=="string"?s=rw(n):!Array.isArray(n)&&nw(n)&&typeof s=="string"&&(n=rw(s));var u=ew(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"?TB(B(B({},p),a)):X$(B(B({},aV(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 f(){var p,h,v=A$(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?f:c}function nw(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function rw(e){return typeof e=="number"?0:a1("",e)}function s1(e,t){return e[t]||e.default||e}function l1(e,t,n,r){return r===void 0&&(r={}),tV.current&&(r={type:!1}),t.start(function(o){var i,a,s=sV(e,t,n,r,o),l=oV(r,e),u=function(){return a=s()};return l?i=window.setTimeout(u,ef(l)):u(),function(){clearTimeout(i),a==null||a.stop()}})}var lV=function(e){return/^\-?\d*\.?\d+$/.test(e)},uV=function(e){return/^0[^.\s]+$/.test(e)};function u1(e,t){e.indexOf(t)===-1&&e.push(t)}function c1(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var fs=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var n=this;return u1(this.subscriptions,t),function(){return c1(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}(),cV=function(e){return!isNaN(parseFloat(e))},fV=function(){function e(t){var n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new fs,this.velocityUpdateSubscribers=new fs,this.renderSubscribers=new fs,this.canTrackVelocity=!1,this.updateAndNotify=function(r,o){o===void 0&&(o=!0),n.prev=n.current,n.current=r;var i=Qc(),a=i.delta,s=i.timestamp;n.lastUpdated!==s&&(n.timeDelta=a,n.lastUpdated=s,In.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 In.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=cV(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?Z$(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 aa(e){return new fV(e)}var i5=function(e){return function(t){return t.test(e)}},dV={test:function(e){return e==="auto"},parse:function(e){return e}},a5=[Ko,ne,Fn,Er,ZI,XI,dV],Da=function(e){return a5.find(i5(e))},pV=Dn(Dn([],Je(a5),!1),[_t,lr],!1),hV=function(e){return pV.find(i5(e))};function mV(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,aa(n))}function vV(e,t){var n=Rd(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=B(B({},a),i);for(var s in a){var l=A$(a[s]);mV(e,s,l)}}function gV(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],f=t[c],p=null;Array.isArray(f)&&(p=f[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"&&(lV(p)||uV(p))?p=parseFloat(p):!hV(p)&&lr.test(f)&&(p=a1(c,f)),e.addValue(c,aa(p)),(i=(a=n)[c])!==null&&i!==void 0||(a[c]=p),e.setBaseTarget(c,p))}}function yV(e,t){if(!!t){var n=t[e]||t.default||t;return n.from}}function xV(e,t,n){var r,o,i={};for(var a in e)i[a]=(r=yV(a,t))!==null&&r!==void 0?r:(o=n.getValue(a))===null||o===void 0?void 0:o.get();return i}function _V(e,t,n){n===void 0&&(n={}),e.notifyAnimationStart(t);var r;if(Array.isArray(t)){var o=t.map(function(a){return hv(e,a,n)});r=Promise.all(o)}else if(typeof t=="string")r=hv(e,t,n);else{var i=typeof t=="function"?Rd(e,t,n.custom):t;r=s5(e,i,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}function hv(e,t,n){var r;n===void 0&&(n={});var o=Rd(e,t,n.custom),i=(o||{}).transition,a=i===void 0?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var s=o?function(){return s5(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,_=a.staggerChildren,g=a.staggerDirection;return wV(e,t,m+h,_,g,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Je(u==="beforeChildren"?[s,l]:[l,s],2),f=c[0],p=c[1];return f().then(p)}else return Promise.all([s(),l(n.delay)])}function s5(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,f=c===void 0?e.getDefaultTransition():c,p=u.transitionEnd,h=ln(u,["transition","transitionEnd"]);s&&(f=s);var v=[],m=l&&((r=e.animationState)===null||r===void 0?void 0:r.getState()[l]);for(var _ in h){var g=e.getValue(_),y=h[_];if(!(!g||y===void 0||m&&EV(m,_))){var x=B({delay:a},f);e.shouldReduceMotion&&vl(_)&&(x=B(B({},x),{type:!1,delay:0}));var w=l1(_,g,y,x);v.push(w)}}return Promise.all(v).then(function(){p&&vV(e,p)})}function wV(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(bV).forEach(function(u,c){a.push(hv(u,t,B(B({},i),{delay:n+l(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function bV(e,t){return e.sortNodePosition(t)}function EV(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&r[t]!==!0;return r[t]=!1,o}var f1=[Pe.Animate,Pe.InView,Pe.Focus,Pe.Hover,Pe.Tap,Pe.Drag,Pe.Exit],SV=Dn([],Je(f1),!1).reverse(),CV=f1.length;function AV(e){return function(t){return Promise.all(t.map(function(n){var r=n.animation,o=n.options;return _V(e,r,o)}))}}function $V(e){var t=AV(e),n=RV(),r={},o=!0,i=function(c,f){var p=Rd(e,f);if(p){p.transition;var h=p.transitionEnd,v=ln(p,["transition","transitionEnd"]);c=B(B(B({},c),v),h)}return c};function a(c){return r[c]!==void 0}function s(c){t=c(e)}function l(c,f){for(var p,h=e.getProps(),v=e.getVariantContext(!0)||{},m=[],_=new Set,g={},y=1/0,x=function(S){var C=SV[S],T=n[C],k=(p=h[C])!==null&&p!==void 0?p:v[C],G=vn(k),F=C===f?T.isActive:null;F===!1&&(y=S);var H=k===v[C]&&k!==h[C]&&G;if(H&&o&&e.manuallyAnimateOnMount&&(H=!1),T.protectedKeys=B({},g),!T.isActive&&F===null||!k&&!T.prevProp||Zg(k)||typeof k=="boolean")return"continue";var z=TV(T.prevProp,k),re=z||C===f&&T.isActive&&!H&&G||S>y&&G,me=Array.isArray(k)?k:[k],oe=me.reduce(i,{});F===!1&&(oe={});var I=T.prevResolvedValues,K=I===void 0?{}:I,P=B(B({},K),oe),V=function(N){re=!0,_.delete(N),T.needsAnimating[N]=!0};for(var O in P){var R=oe[O],$=K[O];g.hasOwnProperty(O)||(R!==$?Ks(R)&&Ks($)?!o5(R,$)||z?V(O):T.protectedKeys[O]=!0:R!==void 0?V(O):_.add(O):R!==void 0&&_.has(O)?V(O):T.protectedKeys[O]=!0)}T.prevProp=k,T.prevResolvedValues=oe,T.isActive&&(g=B(B({},g),oe)),o&&e.blockInitialAnimation&&(re=!1),re&&!H&&m.push.apply(m,Dn([],Je(me.map(function(N){return{animation:N,options:B({type:C},c)}})),!1))},w=0;w<CV;w++)x(w);if(r=B({},g),_.size){var b={};_.forEach(function(S){var C=e.getBaseTarget(S);C!==void 0&&(b[S]=C)}),m.push({animation:b})}var E=Boolean(m.length);return o&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),o=!1,E?t(m):Promise.resolve()}function u(c,f,p){var h;if(n[c].isActive===f)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(_){var g;return(g=_.animationState)===null||g===void 0?void 0:g.setActive(c,f)}),n[c].isActive=f;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 TV(e,t){return typeof t=="string"?t!==e:n$(t)?!o5(t,e):!1}function xo(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function RV(){var e;return e={},e[Pe.Animate]=xo(!0),e[Pe.InView]=xo(),e[Pe.Hover]=xo(),e[Pe.Tap]=xo(),e[Pe.Drag]=xo(),e[Pe.Focus]=xo(),e[Pe.Exit]=xo(),e}var PV={animation:jr(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=$V(t)),Zg(n)&&d.exports.useEffect(function(){return n.subscribe(t)},[n])}),exit:jr(function(e){var t=e.custom,n=e.visualElement,r=Je(r5(),2),o=r[0],i=r[1],a=d.exports.useContext(Td);d.exports.useEffect(function(){var s,l;n.isPresent=o;var u=(s=n.animationState)===null||s===void 0?void 0:s.setActive(Pe.Exit,!o,{custom:(l=a==null?void 0:a.custom)!==null&&l!==void 0?l:t});!o&&(u==null||u.then(i))},[o])})},l5=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=th(o.lastMoveEventInfo,o.history),h=o.startEvent!==null,v=Q$(p.offset,{x:0,y:0})>=3;if(!(!h&&!v)){var m=p.point,_=Qc().timestamp;o.history.push(B(B({},m),{timestamp:_}));var g=o.handlers,y=g.onStart,x=g.onMove;h||(y&&y(o.lastMoveEvent,p),o.startEvent=o.lastMoveEvent),x&&x(o.lastMoveEvent,p)}}},this.handlePointerMove=function(p,h){if(o.lastMoveEvent=p,o.lastMoveEventInfo=eh(h,o.transformPagePoint),T$(p)&&p.buttons===0){o.handlePointerUp(p,h);return}In.update(o.updatePoint,!0)},this.handlePointerUp=function(p,h){o.end();var v=o.handlers,m=v.onEnd,_=v.onSessionEnd,g=th(eh(h,o.transformPagePoint),o.history);o.startEvent&&m&&m(p,g),_&&_(p,g)},!(R$(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=a;var s=Qg(t),l=eh(s,this.transformPagePoint),u=l.point,c=Qc().timestamp;this.history=[B(B({},u),{timestamp:c})];var f=n.onSessionStart;f&&f(t,th(l,this.history)),this.removeListeners=Nd(Bi(window,"pointermove",this.handlePointerMove),Bi(window,"pointerup",this.handlePointerUp),Bi(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ia.update(this.updatePoint)},e}();function eh(e,t){return t?{point:t(e.point)}:e}function ow(e,t){return{x:e.x-t.x,y:e.y-t.y}}function th(e,t){var n=e.point;return{point:n,delta:ow(n,u5(t)),offset:ow(n,OV(t)),velocity:kV(t,.1)}}function OV(e){return e[0]}function u5(e){return e[e.length-1]}function kV(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=u5(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>ef(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 ur(e){return e.max-e.min}function iw(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=.01),Q$(e,t)<n}function aw(e,t,n,r){r===void 0&&(r=.5),e.origin=r,e.originPoint=ze(t.min,t.max,e.origin),e.scale=ur(n)/ur(t),(iw(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ze(n.min,n.max,e.origin)-e.originPoint,(iw(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ds(e,t,n,r){aw(e.x,t.x,n.x,r==null?void 0:r.originX),aw(e.y,t.y,n.y,r==null?void 0:r.originY)}function sw(e,t,n){e.min=n.min+t.min,e.max=e.min+ur(t)}function NV(e,t,n){sw(e.x,t.x,n.x),sw(e.y,t.y,n.y)}function lw(e,t,n){e.min=t.min-n.min,e.max=e.min+ur(t)}function ps(e,t,n){lw(e.x,t.x,n.x),lw(e.y,t.y,n.y)}function LV(e,t,n){var r=t.min,o=t.max;return r!==void 0&&e<r?e=n?ze(r,e,n.min):Math.max(e,r):o!==void 0&&e>o&&(e=n?ze(o,e,n.max):Math.min(e,o)),e}function uw(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 MV(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:uw(e.x,r,i),y:uw(e.y,n,o)}}function cw(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=Je([o,r],2),r=n[0],o=n[1]),{min:r,max:o}}function DV(e,t){return{x:cw(e.x,t.x),y:cw(e.y,t.y)}}function FV(e,t){var n=.5,r=ur(e),o=ur(t);return o>r?n=Xs(t.min,t.max-r,e.min):r>o&&(n=Xs(e.min,e.max-o,t.min)),Xc(0,1,n)}function IV(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 mv=.35;function jV(e){return e===void 0&&(e=mv),e===!1?e=0:e===!0&&(e=mv),{x:fw(e,"left","right"),y:fw(e,"top","bottom")}}function fw(e,t,n){return{min:dw(e,t),max:dw(e,n)}}function dw(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}var pw=function(){return{translate:0,scale:1,origin:0,originPoint:0}},hs=function(){return{x:pw(),y:pw()}},hw=function(){return{min:0,max:0}},pt=function(){return{x:hw(),y:hw()}};function $n(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 BV(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function VV(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 nh(e){return e===void 0||e===1}function f5(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!nh(t)||!nh(n)||!nh(r)}function Sr(e){return f5(e)||mw(e.x)||mw(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function mw(e){return e&&e!=="0%"}function tf(e,t,n){var r=e-n,o=t*r;return n+o}function vw(e,t,n,r,o){return o!==void 0&&(e=tf(e,o,r)),tf(e,n,r)+t}function vv(e,t,n,r,o){t===void 0&&(t=0),n===void 0&&(n=1),e.min=vw(e.min,t,n,r,o),e.max=vw(e.max,t,n,r,o)}function d5(e,t){var n=t.x,r=t.y;vv(e.x,n.translate,n.scale,n.originPoint),vv(e.y,r.translate,r.scale,r.originPoint)}function zV(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&&Ti(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,d5(e,l)),r&&Sr(s.latestValues)&&Ti(e,s.latestValues))}}function Pr(e,t){e.min=e.min+t,e.max=e.max+t}function gw(e,t,n){var r=Je(n,3),o=r[0],i=r[1],a=r[2],s=t[a]!==void 0?t[a]:.5,l=ze(e.min,e.max,s);vv(e,t[o],t[i],l,t.scale)}var UV=["x","scaleX","originX"],HV=["y","scaleY","originY"];function Ti(e,t){gw(e.x,t,UV),gw(e.y,t,HV)}function p5(e,t){return c5(VV(e.getBoundingClientRect(),t))}function GV(e,t,n){var r=p5(e,n),o=t.scroll;return o&&(Pr(r.x,o.x),Pr(r.y,o.y)),r}var YV=new WeakMap,WV=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=pt(),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(f){r.stopAnimation(),a&&r.snapToCursor(Qg(f,"page").point)},l=function(f,p){var h,v=r.getProps(),m=v.drag,_=v.dragPropagation,g=v.onDragStart;m&&!_&&(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=N$(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),$n(function(y){var x,w,b=r.getAxisMotionValue(y).get()||0;if(Fn.test(b)){var E=(w=(x=r.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||w===void 0?void 0:w.actual[y];if(E){var S=ur(E);b=S*(parseFloat(b)/100)}}r.originPoint[y]=b}),g==null||g(f,p),(h=r.visualElement.animationState)===null||h===void 0||h.setActive(Pe.Drag,!0))},u=function(f,p){var h=r.getProps(),v=h.dragPropagation,m=h.dragDirectionLock,_=h.onDirectionLock,g=h.onDrag;if(!(!v&&!r.openGlobalLock)){var y=p.offset;if(m&&r.currentDirection===null){r.currentDirection=qV(y),r.currentDirection!==null&&(_==null||_(r.currentDirection));return}r.updateAxis("x",p.point,y),r.updateAxis("y",p.point,y),r.visualElement.syncRender(),g==null||g(f,p)}},c=function(f,p){return r.stop(f,p)};this.panSession=new l5(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(Pe.Drag,!1)},e.prototype.updateAxis=function(t,n,r){var o=this.getProps().drag;if(!(!r||!hu(t,o,this.currentDirection))){var i=this.getAxisMotionValue(t),a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=LV(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&&$i(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&i?this.constraints=MV(i.actual,r):this.constraints=!1,this.elastic=jV(o),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&$n(function(s){t.getAxisMotionValue(s)&&(t.constraints[s]=IV(i.actual[s],t.constraints[s]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),n=t.dragConstraints,r=t.onMeasureDragConstraints;if(!n||!$i(n))return!1;var o=n.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=GV(o,i.root,this.visualElement.getTransformPagePoint()),s=DV(i.layout.actual,a);if(r){var l=r(BV(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||{},f=$n(function(p){var h;if(!!hu(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,_=a?40:1e7,g=B(B({type:"inertia",velocity:i?t[p]:0,bounceStiffness:m,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10},s),v);return n.startAxisValueAnimation(p,g)}});return Promise.all(f).then(u)},e.prototype.startAxisValueAnimation=function(t,n){var r=this.getAxisMotionValue(t);return l1(t,r,0,n)},e.prototype.stopAnimation=function(){var t=this;$n(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;$n(function(r){var o=n.getProps().drag;if(!!hu(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]-ze(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(!(!$i(i)||!a||!this.constraints)){this.stopAnimation();var s={x:0,y:0};$n(function(u){var c=t.getAxisMotionValue(u);if(c){var f=c.get();s[u]=FV({min:f,max:f},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(),$n(function(u){if(!!hu(u,o,null)){var c=t.getAxisMotionValue(u),f=t.constraints[u],p=f.min,h=f.max;c.set(ze(p,h,s[u]))}})}},e.prototype.addListeners=function(){var t=this,n;YV.set(this.visualElement,this);var r=this.visualElement.getInstance(),o=Bi(r,"pointerdown",function(u){var c=t.getProps(),f=c.drag,p=c.dragListener,h=p===void 0?!0:p;f&&h&&t.start(u)}),i=function(){var u=t.getProps().dragConstraints;$i(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=kd(window,"resize",function(){return t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,f=u.hasLayoutChanged;t.isDragging&&f&&($n(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,f=c===void 0?mv:c,p=t.dragMomentum,h=p===void 0?!0:p;return B(B({},t),{drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:u,dragElastic:f,dragMomentum:h})},e}();function hu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function qV(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 KV(e){var t=e.dragControls,n=e.visualElement,r=Od(function(){return new WV(n)});d.exports.useEffect(function(){return t&&t.subscribe(r)},[r,t]),d.exports.useEffect(function(){return r.addListeners()},[r])}function XV(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,s=d.exports.useRef(null),l=d.exports.useContext(Hg).transformPagePoint,u={onSessionStart:o,onStart:n,onMove:t,onEnd:function(f,p){s.current=null,r&&r(f,p)}};d.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(u)});function c(f){s.current=new l5(f,u,{transformPagePoint:l})}Kc(i,"pointerdown",a&&c),D$(function(){return s.current&&s.current.end()})}var ZV={pan:jr(XV),drag:jr(KV)},mu=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function QV(){var e=mu.map(function(){return new fs}),t={},n={clearAllListeners:function(){return e.forEach(function(r){return r.clear()})},updatePropListeners:function(r){mu.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"+mu[o]]=function(i){return r.add(i)},n["notify"+mu[o]]=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return r.notify.apply(r,Dn([],Je(i),!1))}}),n}function JV(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(sr(i))e.addValue(o,i);else if(sr(a))e.addValue(o,aa(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,aa((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 h5=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,f=e.scrapeMotionValuesFromProps;return function(p,h){var v=p.parent,m=p.props,_=p.presenceId,g=p.blockInitialAnimation,y=p.visualState,x=p.shouldReduceMotion;h===void 0&&(h={});var w=!1,b=y.latestValues,E=y.renderState,S,C=QV(),T=new Map,k=new Map,G={},F=B({},b),H;function z(){!S||!w||(re(),s(S,E,m.style,R.projection))}function re(){r(R,E,b,h,m)}function me(){C.notifyUpdate(b)}function oe($,N){var A=N.onChange(function(D){b[$]=D,m.onUpdate&&In.update(me,!1,!0)}),W=N.onRenderRequest(R.scheduleRender);k.set($,function(){A(),W()})}var I=f(m);for(var K in I){var P=I[K];b[K]!==void 0&&sr(P)&&P.set(b[K],!1)}var V=Pd(m),O=o$(m),R=B(B({treeType:n,current:null,depth:v?v.depth+1:0,parent:v,children:new Set,presenceId:_,shouldReduceMotion:x,variantChildren:O?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(v==null?void 0:v.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(S)},mount:function($){w=!0,S=R.current=$,R.projection&&R.projection.mount($),O&&v&&!V&&(H=v==null?void 0:v.addVariantChild(R)),T.forEach(function(N,A){return oe(A,N)}),v==null||v.children.add(R),R.setProps(m)},unmount:function(){var $;($=R.projection)===null||$===void 0||$.unmount(),ia.update(me),ia.render(z),k.forEach(function(N){return N()}),H==null||H(),v==null||v.children.delete(R),C.clearAllListeners(),S=void 0,w=!1},addVariantChild:function($){var N,A=R.getClosestVariantNode();if(A)return(N=A.variantChildren)===null||N===void 0||N.add($),function(){return A.variantChildren.delete($)}},sortNodePosition:function($){return!c||n!==$.treeType?0:c(R.getInstance(),$.getInstance())},getClosestVariantNode:function(){return O?R:v==null?void 0:v.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return S},getStaticValue:function($){return b[$]},setStaticValue:function($,N){return b[$]=N},getLatestValues:function(){return b},setVisibility:function($){R.isVisible!==$&&(R.isVisible=$,R.scheduleRender())},makeTargetAnimatable:function($,N){return N===void 0&&(N=!0),i(R,$,m,N)},measureViewportBox:function(){return a(S,m)},addValue:function($,N){R.hasValue($)&&R.removeValue($),T.set($,N),b[$]=N.get(),oe($,N)},removeValue:function($){var N;T.delete($),(N=k.get($))===null||N===void 0||N(),k.delete($),delete b[$],u($,E)},hasValue:function($){return T.has($)},getValue:function($,N){var A=T.get($);return A===void 0&&N!==void 0&&(A=aa(N),R.addValue($,A)),A},forEachValue:function($){return T.forEach($)},readValue:function($){var N;return(N=b[$])!==null&&N!==void 0?N:l(S,$,h)},setBaseTarget:function($,N){F[$]=N},getBaseTarget:function($){if(o){var N=o(m,$);if(N!==void 0&&!sr(N))return N}return F[$]}},C),{build:function(){return re(),E},scheduleRender:function(){In.render(z,!1,!0)},syncRender:z,setProps:function($){($.transformTemplate||m.transformTemplate)&&R.scheduleRender(),m=$,C.updatePropListeners($),G=JV(R,f(m),G)},getProps:function(){return m},getVariant:function($){var N;return(N=m.variants)===null||N===void 0?void 0:N[$]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function($){if($===void 0&&($=!1),$)return v==null?void 0:v.getVariantContext();if(!V){var N=(v==null?void 0:v.getVariantContext())||{};return m.initial!==void 0&&(N.initial=m.initial),N}for(var A={},W=0;W<ez;W++){var D=m5[W],se=m[D];(vn(se)||se===!1)&&(A[D]=se)}return A}});return R}},m5=Dn(["initial"],Je(f1),!1),ez=m5.length;function gv(e){return typeof e=="string"&&e.startsWith("var(--")}var v5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function tz(e){var t=v5.exec(e);if(!t)return[,];var n=Je(t,3),r=n[1],o=n[2];return[r,o]}function yv(e,t,n){var r=Je(tz(e),2),o=r[0],i=r[1];if(!!o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():gv(i)?yv(i,t):i}}function nz(e,t,n){var r,o=ln(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};n&&(n=B({},n)),e.forEachValue(function(u){var c=u.get();if(!!gv(c)){var f=yv(c,i);f&&u.set(f)}});for(var a in o){var s=o[a];if(!!gv(s)){var l=yv(s,i);!l||(o[a]=l,n&&((r=n[a])!==null&&r!==void 0||(n[a]=s)))}}return{target:o,transitionEnd:n}}var rz=new Set(["width","height","top","left","right","bottom","x","y"]),g5=function(e){return rz.has(e)},oz=function(e){return Object.keys(e).some(g5)},y5=function(e,t){e.set(t,!1),e.set(t)},yw=function(e){return e===Ko||e===ne},xw;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(xw||(xw={}));var _w=function(e,t){return parseFloat(e.split(", ")[t])},ww=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 _w(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?_w(a[1],e):0}},iz=new Set(["x","y","z"]),az=Ws.filter(function(e){return!iz.has(e)});function sz(e){var t=[];return az.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 bw={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:ww(4,13),y:ww(5,14)},lz=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]=bw[u](r,i)}),t.syncRender();var l=t.measureViewportBox();return n.forEach(function(u){var c=t.getValue(u);y5(c,s[u]),e[u]=bw[u](l,i)}),e},uz=function(e,t,n,r){n===void 0&&(n={}),r===void 0&&(r={}),t=B({},t),r=B({},r);var o=Object.keys(t).filter(g5),i=[],a=!1,s=[];if(o.forEach(function(c){var f=e.getValue(c);if(!!e.hasValue(c)){var p=n[c],h=Da(p),v=t[c],m;if(Ks(v)){var _=v.length,g=v[0]===null?1:0;p=v[g],h=Da(p);for(var y=g;y<_;y++)m?Yc(Da(v[y])===m):m=Da(v[y])}else m=Da(v);if(h!==m)if(yw(h)&&yw(m)){var x=f.get();typeof x=="string"&&f.set(parseFloat(x)),typeof v=="string"?t[c]=parseFloat(v):Array.isArray(v)&&m===ne&&(t[c]=v.map(parseFloat))}else(h==null?void 0:h.transform)&&(m==null?void 0:m.transform)&&(p===0||v===0)?p===0?f.set(m.transform(p)):t[c]=h.transform(v):(a||(i=sz(e),a=!0),s.push(c),r[c]=r[c]!==void 0?r[c]:t[c],y5(f,v))}}),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,u=lz(t,e,s);return i.length&&i.forEach(function(c){var f=Je(c,2),p=f[0],h=f[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 cz(e,t,n,r){return oz(t)?uz(e,t,n,r):{target:t,transitionEnd:r}}var fz=function(e,t,n,r){var o=nz(e,t,r);return t=o.target,r=o.transitionEnd,cz(e,t,n,r)};function dz(e){return window.getComputedStyle(e)}var x5={treeType:"dom",readValueFromInstance:function(e,t){if(vl(t)){var n=i1(t);return n&&n.default||0}else{var r=dz(e);return(u$(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 p5(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=xV(s,i||{},e);if(o&&(a&&(a=o(a)),s&&(s=o(s)),l&&(l=o(l))),r){gV(e,s,l);var u=fz(e,s,l,a);a=u.transitionEnd,s=u.target}return B({transition:i,transitionEnd:a},s)},scrapeMotionValuesFromProps:Xg,build:function(e,t,n,r,o){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),Wg(t,n,r,o.transformTemplate)},render:b$},pz=h5(x5),hz=h5(B(B({},x5),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return vl(t)?((n=i1(t))===null||n===void 0?void 0:n.default)||0:(t=E$.has(t)?t:w$(t),e.getAttribute(t))},scrapeMotionValuesFromProps:C$,build:function(e,t,n,r,o){Kg(t,n,r,o.transformTemplate)},render:S$})),mz=function(e,t){return Gg(e)?hz(t,{enableHardwareAcceleration:!1}):pz(t,{enableHardwareAcceleration:!0})};function Ew(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Fa={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(ne.test(e))e=parseFloat(e);else return e;var n=Ew(e,t.target.x),r=Ew(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Sw="_$css",vz={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(v5,function(m){return a.push(m),Sw}));var s=lr.parse(e);if(s.length>5)return o;var l=lr.createTransformer(e),u=typeof s[0]!="number"?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=f;var p=ze(c,f,.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(Sw,function(){var m=a[v];return v++,m})}return h}},gz=function(e){ZA(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;BI(xz),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(B(B({},l.options),{onExitComplete:function(){return n.safeToRemove()}}))),ls.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()||In.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}(ee.Component);function yz(e){var t=Je(r5(),2),n=t[0],r=t[1],o=d.exports.useContext(i$);return L(gz,{...B({},e,{layoutGroup:o,switchLayoutGroup:d.exports.useContext(a$),isPresent:n,safeToRemove:r})})}var xz={borderRadius:B(B({},Fa),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Fa,borderTopRightRadius:Fa,borderBottomLeftRadius:Fa,borderBottomRightRadius:Fa,boxShadow:vz},_z={measureLayout:yz};function wz(e,t,n){n===void 0&&(n={});var r=sr(e)?e:aa(e);return l1("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}var _5=["TopLeft","TopRight","BottomLeft","BottomRight"],bz=_5.length,Cw=function(e){return typeof e=="string"?parseFloat(e):e},Aw=function(e){return typeof e=="number"||ne.test(e)};function Ez(e,t,n,r,o,i){var a,s,l,u;o?(e.opacity=ze(0,(a=n.opacity)!==null&&a!==void 0?a:1,Sz(r)),e.opacityExit=ze((s=t.opacity)!==null&&s!==void 0?s:1,0,Cz(r))):i&&(e.opacity=ze((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(var c=0;c<bz;c++){var f="border".concat(_5[c],"Radius"),p=$w(t,f),h=$w(n,f);if(!(p===void 0&&h===void 0)){p||(p=0),h||(h=0);var v=p===0||h===0||Aw(p)===Aw(h);v?(e[f]=Math.max(ze(Cw(p),Cw(h),r),0),(Fn.test(h)||Fn.test(p))&&(e[f]+="%")):e[f]=h}}(t.rotate||n.rotate)&&(e.rotate=ze(t.rotate||0,n.rotate||0,r))}function $w(e,t){var n;return(n=e[t])!==null&&n!==void 0?n:e.borderRadius}var Sz=w5(0,.5,r1),Cz=w5(.5,.95,t1);function w5(e,t,n){return function(r){return r<e?0:r>t?1:n(Xs(e,t,r))}}function Tw(e,t){e.min=t.min,e.max=t.max}function fn(e,t){Tw(e.x,t.x),Tw(e.y,t.y)}function Rw(e,t,n,r,o){return e-=t,e=tf(e,1/n,r),o!==void 0&&(e=tf(e,1/o,r)),e}function Az(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),Fn.test(t)){t=parseFloat(t);var s=ze(a.min,a.max,t/100);t=s-a.min}if(typeof t=="number"){var l=ze(i.min,i.max,r);e===i&&(l-=t),e.min=Rw(e.min,t,n,l,o),e.max=Rw(e.max,t,n,l,o)}}function Pw(e,t,n,r,o){var i=Je(n,3),a=i[0],s=i[1],l=i[2];Az(e,t[a],t[s],t[l],t.scale,r,o)}var $z=["x","scaleX","originX"],Tz=["y","scaleY","originY"];function Ow(e,t,n,r){Pw(e.x,t,$z,n==null?void 0:n.x,r==null?void 0:r.x),Pw(e.y,t,Tz,n==null?void 0:n.y,r==null?void 0:r.y)}function kw(e){return e.translate===0&&e.scale===1}function b5(e){return kw(e.x)&&kw(e.y)}function E5(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 Rz=function(){function e(){this.members=[]}return e.prototype.add=function(t){u1(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(c1(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}(),Pz="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function Nw(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===Pz?"none":i}var Oz=function(e,t){return e.depth-t.depth},kz=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){u1(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){c1(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(Oz),this.isDirty=!1,this.children.forEach(t)},e}(),Lw=1e3;function S5(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(Iz),c.nodes.forEach(jz)},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?Dn(Dn([],Je(u.path),!1),[u],!1):[],this.parent=u,this.depth=u?u.depth+1:0,s&&this.root.registerPotentialNode(s,this);for(var f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new kz)}return a.prototype.addEventListener=function(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new fs),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,Dn([],Je(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 f=this.options,p=f.layoutId,h=f.layout,v=f.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,_=function(){return u.root.updateBlockedByResize=!1};t(s,function(){u.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(_,250),ls.hasAnimatedSinceResize&&(ls.hasAnimatedSinceResize=!1,u.nodes.forEach(Fz))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&v&&(p||h)&&this.addEventListener("didUpdate",function(g){var y,x,w,b,E,S=g.delta,C=g.hasLayoutChanged,T=g.hasRelativeTargetChanged,k=g.layout;if(u.isTreeAnimationBlocked()){u.target=void 0,u.relativeTarget=void 0;return}var G=(x=(y=u.options.transition)!==null&&y!==void 0?y:v.getDefaultTransition())!==null&&x!==void 0?x:Hz,F=v.getProps(),H=F.onLayoutAnimationStart,z=F.onLayoutAnimationComplete,re=!u.targetLayout||!E5(u.targetLayout,k)||T,me=!C&&T;if(((w=u.resumeFrom)===null||w===void 0?void 0:w.instance)||me||C&&(re||!u.currentAnimation)){u.resumeFrom&&(u.resumingFrom=u.resumeFrom,u.resumingFrom.resumingFrom=void 0),u.setAnimationOrigin(S,me);var oe=B(B({},s1(G,"layout")),{onPlay:H,onComplete:z});v.shouldReduceMotion&&(oe.delay=0,oe.type=!1),u.startAnimation(oe)}else!C&&u.animationProgress===0&&u.finishAnimation(),u.isLead()&&((E=(b=u.options).onExitComplete)===null||E===void 0||E.call(b));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,ia.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(Bz))},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 f=0;f<this.path.length;f++){var p=this.path[f];p.shouldResetTransform=!0,p.updateScroll()}var h=this.options,v=h.layoutId,m=h.layout;if(!(v===void 0&&!m)){var _=(c=this.options.visualElement)===null||c===void 0?void 0:c.getProps().transformTemplate;this.prevTransformTemplateValue=_==null?void 0:_(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(Mw);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Gz),this.potentialNodes.clear()),this.nodes.forEach(Dz),this.nodes.forEach(Nz),this.nodes.forEach(Lz),this.clearAllSnapshots(),Zp.update(),Zp.preRender(),Zp.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(Mz),this.sharedNodes.forEach(Vz)},a.prototype.scheduleUpdateProjection=function(){In.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var s=this;In.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));jw(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();jw(c);var f=this.layout;this.layout={measured:c,actual:this.removeElementScroll(c)},this.layoutCorrected=pt(),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,f==null?void 0:f.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&&!b5(this.projectionDelta),c=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate,f=c==null?void 0:c(this.latestValues,""),p=f!==this.prevTransformTemplateValue;l&&(u||Sr(this.latestValues)||p)&&(i(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var s=this.options.visualElement;if(!s)return pt();var l=s.measureViewportBox(),u=this.root.scroll;return u&&(Pr(l.x,u.x),Pr(l.y,u.y)),l},a.prototype.removeElementScroll=function(s){var l=pt();fn(l,s);for(var u=0;u<this.path.length;u++){var c=this.path[u],f=c.scroll,p=c.options,h=c.isScrollRoot;if(c!==this.root&&f&&p.layoutScroll){if(h){fn(l,s);var v=this.root.scroll;v&&(Pr(l.x,-v.x),Pr(l.y,-v.y))}Pr(l.x,f.x),Pr(l.y,f.y)}}return l},a.prototype.applyTransform=function(s,l){l===void 0&&(l=!1);var u=pt();fn(u,s);for(var c=0;c<this.path.length;c++){var f=this.path[c];!l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Ti(u,{x:-f.scroll.x,y:-f.scroll.y}),Sr(f.latestValues)&&Ti(u,f.latestValues)}return Sr(this.latestValues)&&Ti(u,this.latestValues),u},a.prototype.removeTransform=function(s){var l,u=pt();fn(u,s);for(var c=0;c<this.path.length;c++){var f=this.path[c];if(!!f.instance&&!!Sr(f.latestValues)){f5(f.latestValues)&&f.updateSnapshot();var p=pt(),h=f.measure();fn(p,h),Ow(u,f.latestValues,(l=f.snapshot)===null||l===void 0?void 0:l.layout,p)}}return Sr(this.latestValues)&&Ow(u,this.latestValues),u},a.prototype.setTargetDelta=function(s){this.targetDelta=s,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(s){var l;this.options=B(B(B({},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=pt(),this.relativeTargetOrigin=pt(),ps(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),fn(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=pt(),this.targetWithTransforms=pt()),this.relativeTarget&&this.relativeTargetOrigin&&((s=this.relativeParent)===null||s===void 0?void 0:s.target)?NV(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):fn(this.target,this.layout.actual),d5(this.target,this.targetDelta)):fn(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=pt(),this.relativeTargetOrigin=pt(),ps(this.relativeTargetOrigin,this.target,this.relativeParent.target),fn(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||Sr(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 f=this.getLead();fn(this.layoutCorrected,this.layout.actual),zV(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==f);var p=f.target;if(!!p){this.projectionDelta||(this.projectionDelta=hs(),this.projectionDeltaWithTransform=hs());var h=this.treeScale.x,v=this.treeScale.y,m=this.projectionTransform;ds(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=Nw(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 f=this.snapshot,p=(f==null?void 0:f.latestValues)||{},h=B({},this.latestValues),v=hs();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=pt(),_=f==null?void 0:f.isShared,g=(((c=this.getStack())===null||c===void 0?void 0:c.members.length)||0)<=1,y=Boolean(_&&!g&&this.options.crossfade===!0&&!this.path.some(Uz));this.animationProgress=0,this.mixTargetDelta=function(x){var w,b=x/1e3;Dw(v.x,s.x,b),Dw(v.y,s.y,b),u.setTargetDelta(v),u.relativeTarget&&u.relativeTargetOrigin&&u.layout&&((w=u.relativeParent)===null||w===void 0?void 0:w.layout)&&(ps(m,u.layout.actual,u.relativeParent.layout.actual),zz(u.relativeTarget,u.relativeTargetOrigin,m,b)),_&&(u.animationValues=h,Ez(h,p,u.latestValues,b,y,g)),u.root.scheduleUpdateProjection(),u.scheduleRender(),u.animationProgress=b},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&&(ia.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=In.update(function(){ls.hasAnimatedSinceResize=!0,l.currentAnimation=wz(0,Lw,B(B({},s),{onUpdate:function(f){var p;l.mixTargetDelta(f),(p=s.onUpdate)===null||p===void 0||p.call(s,f)},onComplete:function(){var f;(f=s.onComplete)===null||f===void 0||f.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,Lw),this.currentAnimation.stop()),this.completeAnimation()},a.prototype.applyTransformsToTarget=function(){var s=this.getLead(),l=s.targetWithTransforms,u=s.target,c=s.layout,f=s.latestValues;!l||!u||!c||(fn(l,u),Ti(l,f),ds(this.projectionDeltaWithTransform,this.layoutCorrected,l,f))},a.prototype.registerSharedNode=function(s,l){var u,c,f;this.sharedNodes.has(s)||this.sharedNodes.set(s,new Rz);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:(f=(c=l.options.initialPromotionConfig)===null||c===void 0?void 0:c.shouldPreserveFollowOpacity)===null||f===void 0?void 0:f.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,f=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,f),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<rv.length;c++){var f=rv[c],p="rotate"+f;!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,f,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=Wu(s.pointerEvents)||"",v.transform=m?m(this.latestValues,""):"none",v;var _=this.getLead();if(!this.projectionDelta||!this.layout||!_.target){var g={};return this.options.layoutId&&(g.opacity=(u=this.latestValues.opacity)!==null&&u!==void 0?u:1,g.pointerEvents=Wu(s.pointerEvents)||""),this.hasProjected&&!Sr(this.latestValues)&&(g.transform=m?m({},""):"none",this.hasProjected=!1),g}var y=_.animationValues||_.latestValues;this.applyTransformsToTarget(),v.transform=Nw(this.projectionDeltaWithTransform,this.treeScale,y),m&&(v.transform=m(y,v.transform));var x=this.projectionDelta,w=x.x,b=x.y;v.transformOrigin="".concat(w.origin*100,"% ").concat(b.origin*100,"% 0"),_.animationValues?v.opacity=_===this?(f=(c=y.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:v.opacity=_===this?(p=y.opacity)!==null&&p!==void 0?p:"":(h=y.opacityExit)!==null&&h!==void 0?h:0;for(var E in Wc)if(y[E]!==void 0){var S=Wc[E],C=S.correct,T=S.applyTo,k=C(y[E],_);if(T)for(var G=T.length,F=0;F<G;F++)v[T[F]]=k;else v[E]=k}return this.options.layoutId&&(v.pointerEvents=_===this?Wu(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(Mw),this.root.sharedNodes.clear()},a}()}function Nz(e){e.updateLayout()}function Lz(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"?$n(function(y){var x=i.isShared?i.measured[y]:i.layout[y],w=ur(x);x.min=s[y].min,x.max=x.min+w}):e.options.animationType==="position"&&$n(function(y){var x=i.isShared?i.measured[y]:i.layout[y],w=ur(s[y]);x.max=x.min+w});var u=hs();ds(u,s,i.layout);var c=hs();i.isShared?ds(c,e.applyTransform(l,!0),i.measured):ds(c,s,i.layout);var f=!b5(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 _=pt();ps(_,i.layout,v.layout);var g=pt();ps(g,s,m.actual),E5(_,g)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:p})}else e.isLead()&&((o=(r=e.options).onExitComplete)===null||o===void 0||o.call(r));e.options.transition=void 0}function Mz(e){e.clearSnapshot()}function Mw(e){e.clearMeasurements()}function Dz(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function Fz(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Iz(e){e.resolveTargetDelta()}function jz(e){e.calcProjection()}function Bz(e){e.resetRotation()}function Vz(e){e.removeLeadSnapshot()}function Dw(e,t,n){e.translate=ze(t.translate,0,n),e.scale=ze(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Fw(e,t,n,r){e.min=ze(t.min,n.min,r),e.max=ze(t.max,n.max,r)}function zz(e,t,n,r){Fw(e.x,t.x,n.x,r),Fw(e.y,t.y,n.y,r)}function Uz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Hz={duration:.45,ease:[.4,0,.1,1]};function Gz(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 Iw(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function jw(e){Iw(e.x),Iw(e.y)}var Yz=S5({attachResizeListener:function(e,t){return kd(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),rh={current:void 0},Wz=S5({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!rh.current){var e=new Yz(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),rh.current=e}return rh.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"},checkIsScrollRoot:function(e){return Boolean(window.getComputedStyle(e).position==="fixed")}}),qz=B(B(B(B({},PV),YB),ZV),_z),C5=II(function(e,t){return Sj(e,t,qz,mz,Wz)});const Qs={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"},ve={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"},Kz=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:Qs,neutralColors:ve},Symbol.toStringTag,{value:"Module"})),Dt=4,Xz={"--ll-color-primary":Qs.colorPrimary50,"--ll-color-primary-variant1":Qs.colorPrimary40,"--ll-color-background":ve.colorNeutral100,"--ll-color-surface":ve.colorNeutral95,"--ll-color-surface-variant1":ve.colorNeutral90,"--ll-color-surface-variant2":ve.colorNeutral80,"--ll-color-on-primary":ve.colorNeutral100,"--ll-color-on-primary-variant1":ve.colorNeutral90,"--ll-color-on-background":ve.colorNeutral10,"--ll-color-on-background-variant1":ve.colorNeutral30,"--ll-color-on-surface":ve.colorNeutral10,"--ll-color-on-surface-variant1":ve.colorNeutral30,"--ll-color-placeholder":ve.colorNeutral60,"--ll-color-disabled":ve.colorNeutral60,"--ll-color-border":ve.colorNeutral90},Zz={"--ll-border-radius-small":`${Dt}px`,"--ll-border-radius-medium":`${2*Dt}px`},Qz={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},Jz={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${Dt}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)"},eU={"--ll-font-family":"Inter, sans-serif"},tU={"--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)"},nU={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},d1={...Xz,...Zz,...Qz,...Jz,...eU,...tU,...nU},rU={...d1,"--ll-color-primary":Qs.colorPrimary60,"--ll-color-primary-variant1":Qs.colorPrimary50,"--ll-color-background":ve.colorNeutral10,"--ll-color-surface":ve.colorNeutral20,"--ll-color-surface-variant1":ve.colorNeutral30,"--ll-color-surface-variant2":ve.colorNeutral40,"--ll-color-on-primary":ve.colorNeutral100,"--ll-color-on-primary-variant1":ve.colorNeutral90,"--ll-color-on-background":ve.colorNeutral99,"--ll-color-on-background-variant1":ve.colorNeutral60,"--ll-color-on-surface":ve.colorNeutral60,"--ll-color-on-surface-variant1":ve.colorNeutral70,"--ll-color-placeholder":ve.colorNeutral70,"--ll-color-disabled":ve.colorNeutral70,"--ll-color-border":ve.colorNeutral30},oU=Object.keys(d1),M=oU.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),iU={day:d1,night:rU},aU=DS`
385
+ :root {
386
+ ${({themeName:e,overrides:t})=>({...iU[e||"day"],...t})};
387
+ }
388
+ `,sU=e=>e,lU=sU({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),uU=Object.freeze(Object.defineProperty({__proto__:null,transitions:lU},Symbol.toStringTag,{value:"Module"})),cU={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},fU=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:cU},Symbol.toStringTag,{value:"Module"})),Xu={colors:Kz,...uU,...fU},dU=q.span`
389
+ display: inline-flex;
390
+ color: ${({textColor:e})=>e};
391
+ background-color: ${({backgroundColor:e})=>e};
392
+ border-radius: ${M["--ll-border-radius-small"]};
393
+ padding: ${({size:e})=>e==="small"?`calc(${M["--ll-spacing-xx-small"]} / 2)
394
+ ${M["--ll-spacing-xx-small"]};`:`${M["--ll-spacing-xx-small"]} ${M["--ll-spacing-x-small"]}`};
395
+ line-height: 1;
396
+ font-family: ${M["--ll-font-family"]};
397
+ font-size: ${M["--ll-font-size-caption-1"]};
398
+ `;var Dd={exports:{}},Ia={};/**
399
+ * @license React
400
+ * react-jsx-runtime.production.min.js
401
+ *
402
+ * Copyright (c) Facebook, Inc. and its affiliates.
403
+ *
404
+ * This source code is licensed under the MIT license found in the
405
+ * LICENSE file in the root directory of this source tree.
406
+ */var Bw;function pU(){if(Bw)return Ia;Bw=1;var e=ee,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,f={},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)&&(f[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:f,_owner:o.current}}return Ia.Fragment=n,Ia.jsx=a,Ia.jsxs=a,Ia}(function(e){e.exports=pU()})(Dd);const p1=Dd.exports.Fragment,gt=Dd.exports.jsx,h1=Dd.exports.jsxs,hU=({text:e,size:t="small",className:n,textColor:r=ve.colorNeutral100,backgroundColor:o=ve.colorNeutral60})=>gt(dU,{size:t,className:n,textColor:r,backgroundColor:o,children:e}),mU=q.div`
407
+ height: ${({height:e})=>e}px;
408
+ width: ${({width:e})=>e}px;
409
+ fill: ${({fill:e})=>e};
410
+ display: flex;
411
+
412
+ & > svg {
413
+ fill: inherit;
414
+ height: 100%;
415
+ width: 100%;
416
+ }
417
+ `,_l=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>gt(mU,{fill:t,height:n,width:r,children:gt(e,{})}),Vw=({variant:e})=>e==="h1"?M["--ll-font-size-h1"]:e==="h2"?M["--ll-font-size-h2"]:e==="h3"?M["--ll-font-size-h3"]:e==="h4"?M["--ll-font-size-h4"]:e==="h5"?M["--ll-font-size-h5"]:e==="h6"?M["--ll-font-size-h6"]:e==="p"?M["--ll-font-size-p"]:e==="caption1"?M["--ll-font-size-caption-1"]:e==="caption2"?M["--ll-font-size-caption-2"]:M["--ll-font-size-h2"],zw=({color:e})=>e in M?M[e]:e,A5=q.span`
418
+ overflow: hidden;
419
+ display: inline-block;
420
+ width: 100%;
421
+ line-height: 1.45;
422
+ margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
423
+ font-size: inherit;
424
+ font-weight: inherit;
425
+ `,vU=q.div`
426
+ ${e=>ke`
427
+ text-align: ${e.align};
428
+ font-size: ${Vw(e)};
429
+ font-family: ${M["--ll-font-family"]};
430
+ color: ${zw(e)};
431
+ font-weight: ${M[e.weight]};
432
+ overflow: hidden;
433
+ display: flex;
434
+
435
+ svg {
436
+ height: ${Vw(e)};
437
+ fill: ${zw(e)};
438
+ }
439
+
440
+ ${A5} {
441
+ ${e.noWrap&&ke`
442
+ text-overflow: ellipsis;
443
+ white-space: nowrap;
444
+ `}
445
+ }
446
+ `}
447
+ `,St=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,weight:a="--ll-font-weight-normal",className:s})=>{const l=["caption1","caption2","p"].includes(t)?"p":t;return gt(vU,{variant:t,align:n,color:r,noWrap:o,weight:a,children:gt(A5,{as:l,noMargin:i,className:s,children:e})})},gU=id`
448
+ 0% {
449
+ transform: rotate(0deg);
450
+ }
451
+ 100% {
452
+ transform: rotate(360deg);
453
+ }
454
+ `,oh={small:Dt*4,medium:Dt*6,large:Dt*8},yU=q.div`
455
+ height: ${({size:e})=>oh[e]}px;
456
+ width: ${({size:e})=>oh[e]}px;
457
+ border: ${({size:e})=>oh[e]/6}px solid ${M["--ll-color-on-surface-variant1"]};
458
+ border-bottom-color: transparent;
459
+ border-radius: 50%;
460
+ display: inline-block;
461
+ box-sizing: border-box;
462
+ animation: ${gU} 1s linear infinite;
463
+ `,xU=({size:e="medium"})=>gt(yU,{size:e}),ms={primary:{background:M["--ll-color-primary"],onBackground:M["--ll-color-on-primary"],hover:M["--ll-color-primary-variant1"]}},_U=({size:e})=>e==="small"?`font-size: ${M["--ll-font-size-caption-1"]}`:`font-size: ${M["--ll-font-size-p"]}`,m1=({size:e})=>e==="small"?`${Dt*8}px`:e==="large"?`${Dt*12}px`:`${Dt*10}px`,v1=({size:e})=>e==="small"?`padding: 0 ${M["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${M["--ll-spacing-medium"]}`:`padding: 0 ${M["--ll-spacing-small"]}`,wU=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",bU=ke`
464
+ ${({color:e="primary"})=>ke`
465
+ color: ${M["--ll-color-on-background"]};
466
+
467
+ &:disabled {
468
+ cursor: default;
469
+ }
470
+ `};
471
+
472
+ height: ${m1};
473
+ ${v1};
474
+ `,EU=ke`
475
+ ${({color:e="primary"})=>ke`
476
+ background-color: ${ms[e].background};
477
+ color: ${ms[e].onBackground};
478
+
479
+ &:hover {
480
+ background-color: ${ms[e].hover};
481
+ }
482
+
483
+ &:disabled {
484
+ cursor: default;
485
+ }
486
+ `};
487
+ height: ${m1};
488
+ ${v1};
489
+ `,SU=ke`
490
+ ${({color:e="primary"})=>ke`
491
+ border-color: ${ms[e].background};
492
+ border-width: 1px;
493
+ border-style: solid;
494
+ color: ${ms[e].background};
495
+ `};
496
+
497
+ &:hover {
498
+ background-color: rgba(0, 0, 0, 0.03);
499
+ }
500
+
501
+ height: ${m1};
502
+ ${v1};
503
+ `,CU=e=>({contained:EU,outlined:SU,text:bU})[e.variant],AU=q.div`
504
+ display: flex;
505
+ align-items: center;
506
+ margin-right: ${M["--ll-spacing-x-small"]};
507
+ margin-left: calc(-1 * ${M["--ll-spacing-xx-small"]});
508
+ `,$U=q.button`
509
+ font-weight: ${M["--ll-font-weight-normal"]};
510
+ border-radius: ${M["--ll-border-radius-small"]};
511
+ align-items: center;
512
+ cursor: pointer;
513
+ display: inline-flex;
514
+ background: none;
515
+ border: none;
516
+
517
+ svg {
518
+ fill: currentColor;
519
+ }
520
+
521
+ ${CU};
522
+ ${wU};
523
+ ${_U};
524
+ `,$5=ee.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)=>gt($U,{variant:r,size:i,onClick:f=>{t||!n||l||n(f)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?gt(xU,{}):h1(p1,{children:[o&&gt(AU,{children:o}),e]})}));$5.displayName="Button";const TU=({vertical:e,spacing:t})=>{const n=M[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`};q.div`
525
+ margin: ${e=>TU(e)};
526
+ flex-shrink: 0;
527
+ `;function ye(){return ye=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},ye.apply(this,arguments)}function tt(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 RU(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function T5(...e){return t=>e.forEach(n=>RU(n,t))}function It(...e){return d.exports.useCallback(T5(...e),e)}function PU(e,t){const n=d.exports.createContext(t);function r(i){const{children:a,...s}=i,l=d.exports.useMemo(()=>s,Object.values(s));return d.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=d.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 Fd(e,t=[]){let n=[];function r(i,a){const s=d.exports.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:h,...v}=f,m=(p==null?void 0:p[e][l])||s,_=d.exports.useMemo(()=>v,Object.values(v));return d.exports.createElement(m.Provider,{value:_},h)}function c(f,p){const h=(p==null?void 0:p[e][l])||s,v=d.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>d.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return d.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,OU(o,...t)]}function OU(...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 d.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const sa=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=d.exports.Children.toArray(n),i=o.find(NU);if(i){const a=i.props.children,s=o.map(l=>l===i?d.exports.Children.count(a)>1?d.exports.Children.only(null):d.exports.isValidElement(a)?a.props.children:null:l);return d.exports.createElement(xv,ye({},r,{ref:t}),d.exports.isValidElement(a)?d.exports.cloneElement(a,void 0,s):null)}return d.exports.createElement(xv,ye({},r,{ref:t}),n)});sa.displayName="Slot";const xv=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return d.exports.isValidElement(n)?d.exports.cloneElement(n,{...LU(r,n.props),ref:T5(t,n.ref)}):d.exports.Children.count(n)>1?d.exports.Children.only(null):null});xv.displayName="SlotClone";const kU=({children:e})=>d.exports.createElement(d.exports.Fragment,null,e);function NU(e){return d.exports.isValidElement(e)&&e.type===kU}function LU(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 MU=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],jt=MU.reduce((e,t)=>{const n=d.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?sa:t;return d.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.exports.createElement(s,ye({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function DU(e,t){e&&$t.exports.flushSync(()=>e.dispatchEvent(t))}function la(e){const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function FU(e){const t=la(e);d.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const _v="dismissableLayer.update",IU="dismissableLayer.pointerDownOutside",jU="dismissableLayer.focusOutside";let Uw;const BU=d.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),R5=d.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=d.exports.useContext(BU),[c,f]=d.exports.useState(null),[,p]=d.exports.useState({}),h=It(t,E=>f(E)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),g=c?v.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,x=g>=_,w=VU(E=>{const S=E.target,C=[...u.branches].some(T=>T.contains(S));!x||C||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),b=zU(E=>{const S=E.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return FU(E=>{g===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),d.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Uw=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Hw(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=Uw)}},[c,n,u]),d.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Hw())},[c,u]),d.exports.useEffect(()=>{const E=()=>p({});return document.addEventListener(_v,E),()=>document.removeEventListener(_v,E)},[]),d.exports.createElement(jt.div,ye({},l,{ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:tt(e.onFocusCapture,b.onFocusCapture),onBlurCapture:tt(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:tt(e.onPointerDownCapture,w.onPointerDownCapture)}))});function VU(e){const t=la(e),n=d.exports.useRef(!1),r=d.exports.useRef(()=>{});return d.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){P5(IU,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 zU(e){const t=la(e),n=d.exports.useRef(!1);return d.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&P5(jU,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Hw(){const e=new CustomEvent(_v);document.dispatchEvent(e)}function P5(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?DU(o,i):o.dispatchEvent(i)}let ih=0;function O5(){d.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:Gw()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Gw()),ih++,()=>{ih===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ih--}},[])}function Gw(){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 ah="focusScope.autoFocusOnMount",sh="focusScope.autoFocusOnUnmount",Yw={bubbles:!1,cancelable:!0},k5=d.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=d.exports.useState(null),u=la(o),c=la(i),f=d.exports.useRef(null),p=It(t,m=>l(m)),h=d.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.exports.useEffect(()=>{if(r){let m=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?f.current=y:So(f.current,{select:!0})},_=function(g){h.paused||!s||s.contains(g.relatedTarget)||So(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),d.exports.useEffect(()=>{if(s){qw.add(h);const m=document.activeElement;if(!s.contains(m)){const _=new CustomEvent(ah,Yw);s.addEventListener(ah,u),s.dispatchEvent(_),_.defaultPrevented||(UU(qU(N5(s)),{select:!0}),document.activeElement===m&&So(s))}return()=>{s.removeEventListener(ah,u),setTimeout(()=>{const _=new CustomEvent(sh,Yw);s.addEventListener(sh,c),s.dispatchEvent(_),_.defaultPrevented||So(m!=null?m:document.body,{select:!0}),s.removeEventListener(sh,c),qw.remove(h)},0)}}},[s,u,c,h]);const v=d.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(_&&g){const y=m.currentTarget,[x,w]=HU(y);x&&w?!m.shiftKey&&g===w?(m.preventDefault(),n&&So(x,{select:!0})):m.shiftKey&&g===x&&(m.preventDefault(),n&&So(w,{select:!0})):g===y&&m.preventDefault()}},[n,r,h.paused]);return d.exports.createElement(jt.div,ye({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function UU(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(So(r,{select:t}),document.activeElement!==n)return}function HU(e){const t=N5(e),n=Ww(t,e),r=Ww(t.reverse(),e);return[n,r]}function N5(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 Ww(e,t){for(const n of e)if(!GU(n,{upTo:t}))return n}function GU(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 YU(e){return e instanceof HTMLInputElement&&"select"in e}function So(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&YU(e)&&t&&e.select()}}const qw=WU();function WU(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Kw(e,t),e.unshift(t)},remove(t){var n;e=Kw(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Kw(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function qU(e){return e.filter(t=>t.tagName!=="A")}const cr=Boolean(globalThis==null?void 0:globalThis.document)?d.exports.useLayoutEffect:()=>{},KU=Vv["useId".toString()]||(()=>{});let XU=0;function ZU(e){const[t,n]=d.exports.useState(KU());return cr(()=>{e||n(r=>r!=null?r:String(XU++))},[e]),e||(t?`radix-${t}`:"")}function ba(e){return e.split("-")[0]}function Id(e){return e.split("-")[1]}function Ea(e){return["top","bottom"].includes(ba(e))?"x":"y"}function g1(e){return e==="y"?"height":"width"}function Xw(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=Ea(t),l=g1(s),u=r[l]/2-o[l]/2,c=ba(t),f=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(Id(t)){case"start":p[s]-=u*(n&&f?-1:1);break;case"end":p[s]+=u*(n&&f?-1:1);break}return p}const QU=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}=Xw(l,r,s),f=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:g,y,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=g!=null?g:u,c=y!=null?y:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=Xw(l,f,s)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:o,middlewareData:p}};function JU(e){return{top:0,right:0,bottom:0,left:0,...e}}function L5(e){return typeof e!="number"?JU(e):{top:e,right:e,bottom:e,left:e}}function nf(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function rf(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:f="floating",altBoundary:p=!1,padding:h=0}=t,v=L5(h),m=s[p?f==="floating"?"reference":"floating":f],_=nf(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})),g=nf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:_.top-g.top+v.top,bottom:g.bottom-_.bottom+v.bottom,left:_.left-g.left+v.left,right:g.right-_.right+v.right}}const eH=Math.min,tH=Math.max;function wv(e,t,n){return tH(e,eH(t,n))}const Zw=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=L5(r),c={x:o,y:i},f=Ea(a),p=Id(a),h=g1(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=s.reference[h]+s.reference[f]-c[f]-s.floating[h],y=c[f]-s.reference[f],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const b=g/2-y/2,E=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+b,T=wv(E,C,S),k=(p==="start"?u[m]:u[_])>0&&C!==T&&s.reference[h]<=s.floating[h]?C<E?E-C:S-C:0;return{[f]:c[f]-k,data:{[f]:T,centerOffset:C-T}}}}),nH={left:"right",right:"left",bottom:"top",top:"bottom"};function of(e){return e.replace(/left|right|bottom|top/g,t=>nH[t])}function rH(e,t,n){n===void 0&&(n=!1);const r=Id(e),o=Ea(e),i=g1(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=of(a)),{main:a,cross:of(a)}}const oH={start:"end",end:"start"};function Qw(e){return e.replace(/start|end/g,t=>oH[t])}const iH=["top","right","bottom","left"];function aH(e){const t=of(e);return[Qw(e),t,Qw(t)]}const sH=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:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=ba(r),_=f||(m===a||!h?[of(a)]:aH(a)),g=[a,..._],y=await rf(t,v),x=[];let w=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(y[m]),c){const{main:C,cross:T}=rH(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(y[C],y[T])}if(w=[...w,{placement:r,overflows:x}],!x.every(C=>C<=0)){var b,E;const C=((b=(E=o.flip)==null?void 0:E.index)!=null?b:0)+1,T=g[C];if(T)return{data:{index:C,overflows:w},reset:{placement:T}};let k="bottom";switch(p){case"bestFit":{var S;const G=(S=w.map(F=>[F,F.overflows.filter(H=>H>0).reduce((H,z)=>H+z,0)]).sort((F,H)=>F[1]-H[1])[0])==null?void 0:S[0].placement;G&&(k=G);break}case"initialPlacement":k=a;break}if(r!==k)return{reset:{placement:k}}}return{}}}};function Jw(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function e2(e){return iH.some(t=>e[t]>=0)}const lH=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 rf(r,{...n,elementContext:"reference"}),a=Jw(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:e2(a)}}}case"escaped":{const i=await rf(r,{...n,altBoundary:!0}),a=Jw(i,o.floating);return{data:{escapedOffsets:a,escaped:e2(a)}}}default:return{}}}}};async function uH(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ba(n),s=Id(n),l=Ea(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};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 cH=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await uH(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function M5(e){return e==="x"?"y":"x"}const fH=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:_=>{let{x:g,y}=_;return{x:g,y}}},...l}=e,u={x:n,y:r},c=await rf(t,l),f=Ea(ba(o)),p=M5(f);let h=u[f],v=u[p];if(i){const _=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=h+c[_],x=h-c[g];h=wv(y,h,x)}if(a){const _=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=v+c[_],x=v-c[g];v=wv(y,v,x)}const m=s.fn({...t,[f]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},dH=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},f=Ea(o),p=M5(f);let h=c[f],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=f==="y"?"height":"width",E=i.reference[f]-i.floating[b]+_.mainAxis,S=i.reference[f]+i.reference[b]-_.mainAxis;h<E?h=E:h>S&&(h=S)}if(u){var g,y,x,w;const b=f==="y"?"width":"height",E=["top","left"].includes(ba(o)),S=i.reference[p]-i.floating[b]+(E&&(g=(y=a.offset)==null?void 0:y[p])!=null?g:0)+(E?0:_.crossAxis),C=i.reference[p]+i.reference[b]+(E?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(E?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[f]:h,[p]:v}}}};function D5(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function yr(e){if(e==null)return window;if(!D5(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function wl(e){return yr(e).getComputedStyle(e)}function fr(e){return D5(e)?"":e?(e.nodeName||"").toLowerCase():""}function F5(){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 yr(e).HTMLElement}function io(e){return e instanceof yr(e).Element}function pH(e){return e instanceof yr(e).Node}function y1(e){if(typeof ShadowRoot>"u")return!1;const t=yr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function jd(e){const{overflow:t,overflowX:n,overflowY:r}=wl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function hH(e){return["table","td","th"].includes(fr(e))}function I5(e){const t=/firefox/i.test(F5()),n=wl(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 j5(){return!/^((?!chrome|android).)*safari/i.test(F5())}const t2=Math.min,vs=Math.max,af=Math.round;function dr(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&&af(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&af(s.height)/e.offsetHeight||1);const c=io(e)?yr(e):window,f=!j5()&&n,p=(s.left+(f&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(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 ho(e){return((pH(e)?e.ownerDocument:e.document)||window.document).documentElement}function Bd(e){return io(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function B5(e){return dr(ho(e)).left+Bd(e).scrollLeft}function mH(e){const t=dr(e);return af(t.width)!==e.offsetWidth||af(t.height)!==e.offsetHeight}function vH(e,t,n){const r=Bn(t),o=ho(t),i=dr(e,r&&mH(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((fr(t)!=="body"||jd(o))&&(a=Bd(t)),Bn(t)){const l=dr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=B5(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function V5(e){return fr(e)==="html"?e:e.assignedSlot||e.parentNode||(y1(e)?e.host:null)||ho(e)}function n2(e){return!Bn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function gH(e){let t=V5(e);for(y1(t)&&(t=t.host);Bn(t)&&!["html","body"].includes(fr(t));){if(I5(t))return t;t=t.parentNode}return null}function bv(e){const t=yr(e);let n=n2(e);for(;n&&hH(n)&&getComputedStyle(n).position==="static";)n=n2(n);return n&&(fr(n)==="html"||fr(n)==="body"&&getComputedStyle(n).position==="static"&&!I5(n))?t:n||gH(e)||t}function r2(e){if(Bn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=dr(e);return{width:t.width,height:t.height}}function yH(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Bn(n),i=ho(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((fr(n)!=="body"||jd(i))&&(a=Bd(n)),Bn(n))){const l=dr(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 xH(e,t){const n=yr(e),r=ho(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=j5();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function _H(e){var t;const n=ho(e),r=Bd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=vs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=vs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+B5(e);const l=-r.scrollTop;return wl(o||n).direction==="rtl"&&(s+=vs(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function z5(e){const t=V5(e);return["html","body","#document"].includes(fr(t))?e.ownerDocument.body:Bn(t)&&jd(t)?t:z5(t)}function sf(e,t){var n;t===void 0&&(t=[]);const r=z5(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=yr(r),a=o?[i].concat(i.visualViewport||[],jd(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(sf(a))}function wH(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&y1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function bH(e,t){const n=dr(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 o2(e,t,n){return t==="viewport"?nf(xH(e,n)):io(t)?bH(t,n):nf(_H(ho(e)))}function EH(e){const t=sf(e),n=["absolute","fixed"].includes(wl(e).position)&&Bn(e)?bv(e):e;return io(n)?t.filter(r=>io(r)&&wH(r,n)&&fr(r)!=="body"):[]}function SH(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?EH(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=o2(t,u,o);return l.top=vs(c.top,l.top),l.right=t2(c.right,l.right),l.bottom=t2(c.bottom,l.bottom),l.left=vs(c.left,l.left),l},o2(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const CH={getClippingRect:SH,convertOffsetParentRelativeRectToViewportRelativeRect:yH,isElement:io,getDimensions:r2,getOffsetParent:bv,getDocumentElement:ho,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:vH(t,bv(n),r),floating:{...r2(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>wl(e).direction==="rtl"};function AH(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?[...io(e)?sf(e):[],...sf(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),io(e)&&!s&&f.observe(e),f.observe(t)}let p,h=s?dr(e):null;s&&v();function v(){const m=dr(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(_=>{l&&_.removeEventListener("scroll",n),u&&_.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const $H=(e,t,n)=>QU(e,t,{platform:CH,...n});var Ev=typeof document<"u"?d.exports.useLayoutEffect:d.exports.useEffect;function Sv(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(!Sv(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)&&!Sv(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function TH(e){const t=d.exports.useRef(e);return Ev(()=>{t.current=e}),t}function RH(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=d.exports.useRef(null),a=d.exports.useRef(null),s=TH(o),l=d.exports.useRef(null),[u,c]=d.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,p]=d.exports.useState(t);Sv(f==null?void 0:f.map(x=>{let{options:w}=x;return w}),t==null?void 0:t.map(x=>{let{options:w}=x;return w}))||p(t);const h=d.exports.useCallback(()=>{!i.current||!a.current||$H(i.current,a.current,{middleware:f,placement:n,strategy:r}).then(x=>{v.current&&$t.exports.flushSync(()=>{c(x)})})},[f,n,r]);Ev(()=>{v.current&&h()},[h]);const v=d.exports.useRef(!1);Ev(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=d.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]),_=d.exports.useCallback(x=>{i.current=x,m()},[m]),g=d.exports.useCallback(x=>{a.current=x,m()},[m]),y=d.exports.useMemo(()=>({reference:i,floating:a}),[]);return d.exports.useMemo(()=>({...u,update:h,refs:y,reference:_,floating:g}),[u,h,y,_,g])}const PH=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?Zw({element:t.current,padding:n}).fn(o):{}:t?Zw({element:t,padding:n}).fn(o):{}}}},OH=d.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.exports.createElement(jt.svg,ye({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:d.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),kH=OH;function NH(e){const[t,n]=d.exports.useState(void 0);return cr(()=>{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 U5="Popper",[x1,H5]=Fd(U5),[pZ,G5]=x1(U5),LH="PopperAnchor",MH=d.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=G5(LH,n),a=d.exports.useRef(null),s=It(t,a);return d.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.exports.createElement(jt.div,ye({},o,{ref:s}))}),lf="PopperContent",[DH,FH]=x1(lf),[IH,jH]=x1(lf,{hasParent:!1,positionUpdateFns:new Set}),BH=d.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...b}=e,E=G5(lf,c),[S,C]=d.exports.useState(null),T=It(t,de=>C(de)),[k,G]=d.exports.useState(null),F=NH(k),H=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,z=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,re=f+(h!=="center"?"-"+h:""),me=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},oe=Array.isArray(_)?_:[_],I=oe.length>0,K={padding:me,boundary:oe.filter(GH),altBoundary:I},{reference:P,floating:V,strategy:O,x:R,y:$,placement:N,middlewareData:A,update:W}=RH({strategy:"fixed",placement:re,whileElementsMounted:AH,middleware:[cH({mainAxis:p+z,alignmentAxis:v}),w?fH({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?dH():void 0,...K}):void 0,k?PH({element:k,padding:m}):void 0,w?sH({...K}):void 0,YH({arrowWidth:H,arrowHeight:z}),x?lH({strategy:"referenceHidden"}):void 0].filter(HH)});cr(()=>{P(E.anchor)},[P,E.anchor]);const D=R!==null&&$!==null,[se,ie]=Y5(N),le=(o=A.arrow)===null||o===void 0?void 0:o.x,te=(i=A.arrow)===null||i===void 0?void 0:i.y,be=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Te,ae]=d.exports.useState();cr(()=>{S&&ae(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Re,positionUpdateFns:Q}=jH(lf,c),ue=!Re;d.exports.useLayoutEffect(()=>{if(!ue)return Q.add(W),()=>{Q.delete(W)}},[ue,Q,W]),d.exports.useLayoutEffect(()=>{ue&&D&&Array.from(Q).reverse().forEach(de=>requestAnimationFrame(de))},[ue,D,Q]);const Be={"data-side":se,"data-align":ie,...b,ref:T,style:{...b.style,animation:D?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return d.exports.createElement("div",{ref:V,"data-radix-popper-content-wrapper":"",style:{position:O,left:0,top:0,transform:D?`translate3d(${Math.round(R)}px, ${Math.round($)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Te,["--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(" ")}},d.exports.createElement(DH,{scope:c,placedSide:se,onArrowChange:G,arrowX:le,arrowY:te,shouldHideArrow:be},ue?d.exports.createElement(IH,{scope:c,hasParent:!0,positionUpdateFns:Q},d.exports.createElement(jt.div,Be)):d.exports.createElement(jt.div,Be)))}),VH="PopperArrow",zH={top:"bottom",right:"left",bottom:"top",left:"right"},UH=d.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=FH(VH,n),i=zH[o.placedSide];return d.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}},d.exports.createElement(kH,ye({},r,{ref:t,style:{...r.style,display:"block"}})))});function HH(e){return e!==void 0}function GH(e){return e!==null}const YH=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,f=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=Y5(s),m={start:"0%",center:"50%",end:"100%"}[v],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+f/2,g=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let y="",x="";return h==="bottom"?(y=c?m:`${_}px`,x=`${-p}px`):h==="top"?(y=c?m:`${_}px`,x=`${l.floating.height+p}px`):h==="right"?(y=`${-p}px`,x=c?m:`${g}px`):h==="left"&&(y=`${l.floating.width+p}px`,x=c?m:`${g}px`),{data:{x:y,y:x}}}});function Y5(e){const[t,n="center"]=e.split("-");return[t,n]}const WH=MH,qH=BH,KH=UH,XH=d.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?BE.createPortal(d.exports.createElement(jt.div,ye({},o,{ref:t})),r):null});function ZH(e,t){return d.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const W5=e=>{const{present:t,children:n}=e,r=QH(t),o=typeof n=="function"?n({present:r.isPresent}):d.exports.Children.only(n),i=It(r.ref,o.ref);return typeof n=="function"||r.isPresent?d.exports.cloneElement(o,{ref:i}):null};W5.displayName="Presence";function QH(e){const[t,n]=d.exports.useState(),r=d.exports.useRef({}),o=d.exports.useRef(e),i=d.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=ZH(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.exports.useEffect(()=>{const u=vu(r.current);i.current=s==="mounted"?u:"none"},[s]),cr(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,p=vu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),cr(()=>{if(t){const u=f=>{const p=vu(r.current).includes(f.animationName);f.target===t&&p&&$t.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(i.current=vu(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:d.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function vu(e){return(e==null?void 0:e.animationName)||"none"}var JH=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},oi=new WeakMap,gu=new WeakMap,yu={},lh=0,eG=function(e,t,n,r){var o=Array.isArray(e)?e:[e];yu[n]||(yu[n]=new WeakMap);var i=yu[n],a=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(oi.get(p)||0)+1,_=(i.get(p)||0)+1;oi.set(p,m),i.set(p,_),a.push(p),m===1&&v&&gu.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),lh++,function(){a.forEach(function(f){var p=oi.get(f)-1,h=i.get(f)-1;oi.set(f,p),i.set(f,h),p||(gu.has(f)||f.removeAttribute(r),gu.delete(f)),h||f.removeAttribute(n)}),lh--,lh||(oi=new WeakMap,oi=new WeakMap,gu=new WeakMap,yu={})}},q5=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||JH(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),eG(r,o,n,"aria-hidden")):function(){return null}},Pn=function(){return Pn=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},Pn.apply(this,arguments)};function K5(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 tG(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 Zu="right-scroll-bar-position",Qu="width-before-scroll-bar",nG="with-scroll-bars-hidden",rG="--removed-body-scroll-bar-size";function oG(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function iG(e,t){var n=d.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 aG(e,t){return iG(t||null,function(n){return e.forEach(function(r){return oG(r,n)})})}function sG(e){return e}function lG(e,t){t===void 0&&(t=sG);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 uG(e){e===void 0&&(e={});var t=lG(null);return t.options=Pn({async:!0,ssr:!1},e),t}var X5=function(e){var t=e.sideCar,n=K5(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 gt(r,{...Pn({},n)})};X5.isSideCarExport=!0;function cG(e,t){return e.useMedium(t),X5}var Z5=uG(),uh=function(){},Vd=d.exports.forwardRef(function(e,t){var n=d.exports.useRef(null),r=d.exports.useState({onScrollCapture:uh,onWheelCapture:uh,onTouchMoveCapture:uh}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,g=_===void 0?"div":_,y=K5(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=aG([n,t]),b=Pn(Pn({},y),o);return h1(p1,{children:[c&&gt(x,{sideCar:Z5,removeScrollBar:u,shards:f,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?d.exports.cloneElement(d.exports.Children.only(s),Pn(Pn({},b),{ref:w})):gt(g,{...Pn({},b,{className:l,ref:w}),children:s})]})});Vd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Vd.classNames={fullWidth:Qu,zeroRight:Zu};var fG=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function dG(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=fG();return t&&e.setAttribute("nonce",t),e}function pG(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function hG(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var mG=function(){var e=0,t=null;return{add:function(n){e==0&&(t=dG())&&(pG(t,n),hG(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},vG=function(){var e=mG();return function(t,n){d.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Q5=function(){var e=vG(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},gG={left:0,top:0,right:0,gap:0},ch=function(e){return parseInt(e||"",10)||0},yG=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)]},xG=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return gG;var t=yG(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])}},_G=Q5(),wG=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
528
+ .`.concat(nG,` {
529
+ overflow: hidden `).concat(r,`;
530
+ padding-right: `).concat(s,"px ").concat(r,`;
531
+ }
532
+ body {
533
+ overflow: hidden `).concat(r,`;
534
+ overscroll-behavior: contain;
535
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
536
+ padding-left: `.concat(o,`px;
537
+ padding-top: `).concat(i,`px;
538
+ padding-right: `).concat(a,`px;
539
+ margin-left:0;
540
+ margin-top:0;
541
+ margin-right: `).concat(s,"px ").concat(r,`;
542
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
543
+ }
544
+
545
+ .`).concat(Zu,` {
546
+ right: `).concat(s,"px ").concat(r,`;
547
+ }
548
+
549
+ .`).concat(Qu,` {
550
+ margin-right: `).concat(s,"px ").concat(r,`;
551
+ }
552
+
553
+ .`).concat(Zu," .").concat(Zu,` {
554
+ right: 0 `).concat(r,`;
555
+ }
556
+
557
+ .`).concat(Qu," .").concat(Qu,` {
558
+ margin-right: 0 `).concat(r,`;
559
+ }
560
+
561
+ body {
562
+ `).concat(rG,": ").concat(s,`px;
563
+ }
564
+ `)},bG=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=d.exports.useMemo(function(){return xG(o)},[o]);return gt(_G,{styles:wG(i,!t,o,n?"":"!important")})},Cv=!1;if(typeof window<"u")try{var xu=Object.defineProperty({},"passive",{get:function(){return Cv=!0,!0}});window.addEventListener("test",xu,xu),window.removeEventListener("test",xu,xu)}catch{Cv=!1}var ii=Cv?{passive:!1}:!1,EG=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},SG=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},i2=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=J5(e,n);if(r){var o=eT(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},CG=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},AG=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},J5=function(e,t){return e==="v"?EG(t):SG(t)},eT=function(e,t){return e==="v"?CG(t):AG(t)},$G=function(e,t){return e==="h"&&t==="rtl"?-1:1},TG=function(e,t,n,r,o){var i=$G(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{var h=eT(e,s),v=h[0],m=h[1],_=h[2],g=m-_-i*v;(v||g)&&J5(e,s)&&(f+=g,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&f===0||!o&&a>f)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},_u=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},a2=function(e){return[e.deltaX,e.deltaY]},s2=function(e){return e&&"current"in e?e.current:e},RG=function(e,t){return e[0]===t[0]&&e[1]===t[1]},PG=function(e){return`
565
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
566
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
567
+ `)},OG=0,ai=[];function kG(e){var t=d.exports.useRef([]),n=d.exports.useRef([0,0]),r=d.exports.useRef(),o=d.exports.useState(OG++)[0],i=d.exports.useState(function(){return Q5()})[0],a=d.exports.useRef(e);d.exports.useEffect(function(){a.current=e},[e]),d.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=tG([e.lockRef.current],(e.shards||[]).map(s2),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var g=_u(m),y=n.current,x="deltaX"in m?m.deltaX:y[0]-g[0],w="deltaY"in m?m.deltaY:y[1]-g[1],b,E=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&E.type==="range")return!1;var C=i2(S,E);if(!C)return!0;if(C?b=S:(b=S==="v"?"h":"v",C=i2(S,E)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=b),!b)return!0;var T=r.current||b;return TG(T,_,m,T==="h"?x:w,!0)},[]),l=d.exports.useCallback(function(m){var _=m;if(!(!ai.length||ai[ai.length-1]!==i)){var g="deltaY"in _?a2(_):_u(_),y=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&RG(b.delta,g)})[0];if(y&&y.should){_.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(s2).filter(Boolean).filter(function(b){return b.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=d.exports.useCallback(function(m,_,g,y){var x={name:m,delta:_,target:g,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=d.exports.useCallback(function(m){n.current=_u(m),r.current=void 0},[]),f=d.exports.useCallback(function(m){u(m.type,a2(m),m.target,s(m,e.lockRef.current))},[]),p=d.exports.useCallback(function(m){u(m.type,_u(m),m.target,s(m,e.lockRef.current))},[]);d.exports.useEffect(function(){return ai.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ii),document.addEventListener("touchmove",l,ii),document.addEventListener("touchstart",c,ii),function(){ai=ai.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,ii),document.removeEventListener("touchmove",l,ii),document.removeEventListener("touchstart",c,ii)}},[]);var h=e.removeScrollBar,v=e.inert;return h1(p1,{children:[v?gt(i,{styles:PG(o)}):null,h?gt(bG,{gapMode:"margin"}):null]})}const NG=cG(Z5,kG);var tT=d.exports.forwardRef(function(e,t){return gt(Vd,{...Pn({},e,{ref:t,sideCar:NG})})});tT.classNames=Vd.classNames;const nT=tT,rT="Popover",[oT,hZ]=Fd(rT,[H5]),_1=H5(),[mZ,bl]=oT(rT),LG="PopoverTrigger",MG=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=bl(LG,n),i=_1(n),a=It(t,o.triggerRef),s=d.exports.createElement(jt.button,ye({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":aT(o.open)},r,{ref:a,onClick:tt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:d.exports.createElement(WH,ye({asChild:!0},i),s)}),DG="PopoverPortal",[vZ,FG]=oT(DG,{forceMount:void 0}),Js="PopoverContent",IG=d.exports.forwardRef((e,t)=>{const n=FG(Js,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=bl(Js,e.__scopePopover);return d.exports.createElement(W5,{present:r||i.open},i.modal?d.exports.createElement(jG,ye({},o,{ref:t})):d.exports.createElement(BG,ye({},o,{ref:t})))}),jG=d.exports.forwardRef((e,t)=>{const n=bl(Js,e.__scopePopover),r=d.exports.useRef(null),o=It(t,r),i=d.exports.useRef(!1);return d.exports.useEffect(()=>{const a=r.current;if(a)return q5(a)},[]),d.exports.createElement(nT,{as:sa,allowPinchZoom:!0},d.exports.createElement(iT,ye({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:tt(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:tt(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:tt(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),BG=d.exports.forwardRef((e,t)=>{const n=bl(Js,e.__scopePopover),r=d.exports.useRef(!1);return d.exports.createElement(iT,ye({},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()}}))}),iT=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,p=bl(Js,n),h=_1(n);return O5(),d.exports.createElement(k5,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},d.exports.createElement(R5,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},d.exports.createElement(qH,ye({"data-state":aT(p.open),role:"dialog",id:p.contentId},h,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),VG=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=_1(n);return d.exports.createElement(KH,ye({},o,r,{ref:t}))});function aT(e){return e?"open":"closed"}const zG=MG,UG=IG,HG=VG;q(zG)`
568
+ background: none;
569
+ border: none;
570
+ padding: 0;
571
+ `;q(UG)`
572
+ border-radius: ${M["--ll-border-radius-small"]};
573
+ box-shadow: ${M["--ll-shadow-small"]};
574
+ padding: ${M["--ll-spacing-medium"]};
575
+ `;q(HG)`
576
+ fill: ${M["--ll-color-background"]};
577
+ `;const fh={primary:{background:"transparent",onBackground:M["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:M["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},l2={small:24,medium:32,large:48};q.button`
578
+ ${({color:e="primary",size:t="medium"})=>ke`
579
+ border: none;
580
+ background-color: ${fh[e].background};
581
+ color: ${fh[e].onBackground};
582
+ border-radius: 50%;
583
+ height: ${l2[t]}px;
584
+ width: ${l2[t]}px;
585
+ display: flex;
586
+ justify-content: center;
587
+ align-items: center;
588
+
589
+ &:hover {
590
+ background-color: ${fh[e].hover};
591
+ }
592
+
593
+ &:disabled {
594
+ cursor: default;
595
+ background-color: rgba(0, 0, 0, 0.1);
596
+ color: ${M["--ll-color-on-background-variant1"]};
597
+ }
598
+ `};
599
+ `;function GG({height:e,width:t}){return ke`
600
+ height: ${e};
601
+ width: ${t};
602
+ `}const YG=id`
603
+ from {
604
+ background-position: -800px 0;
605
+ }
606
+
607
+ to {
608
+ background-position: 800px 0;
609
+ }
610
+ `;q.div`
611
+ border-radius: ${M["--ll-border-radius-medium"]};
612
+ animation: ${YG} 2s linear infinite;
613
+ background: linear-gradient(
614
+ to right,
615
+ /* NOTE: 99.9% of the time we should use colours from theme, since these are
616
+ CSS vars that can be overriden. */
617
+ ${M["--ll-color-surface-variant1"]} 4%,
618
+ ${M["--ll-color-surface-variant2"]} 25%,
619
+ ${M["--ll-color-surface-variant1"]} 36%
620
+ );
621
+ background-size: 800px 100%;
622
+ ${GG}
623
+ `;q.div`
624
+ flex: 1;
625
+ height: 100%;
626
+ width: 100%;
627
+ display: flex;
628
+ align-items: center;
629
+ justify-content: center;
630
+ `;q.div`
631
+ display: flex;
632
+ flex-direction: column;
633
+ align-items: center;
634
+ `;function u2(e,[t,n]){return Math.min(n,Math.max(t,e))}function WG(e){const t=e+"CollectionProvider",[n,r]=Fd(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=ee.useRef(null),g=ee.useRef(new Map).current;return ee.createElement(o,{scope:v,itemMap:g,collectionRef:_},m)},s=e+"CollectionSlot",l=ee.forwardRef((h,v)=>{const{scope:m,children:_}=h,g=i(s,m),y=It(v,g.collectionRef);return ee.createElement(sa,{ref:y},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=ee.forwardRef((h,v)=>{const{scope:m,children:_,...g}=h,y=ee.useRef(null),x=It(v,y),w=i(u,m);return ee.useEffect(()=>(w.itemMap.set(y,{ref:y,...g}),()=>void w.itemMap.delete(y))),ee.createElement(sa,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return ee.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const _=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((g,y)=>_.indexOf(g.ref.current)-_.indexOf(y.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}const qG="Label",[gZ,KG]=PU(qG,{id:void 0,controlRef:{current:null}}),XG=e=>{const t=KG("LabelConsumer"),{controlRef:n}=t;return d.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id};function ZG(e){const t=d.exports.useRef({value:e,previous:e});return d.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const QG=d.exports.forwardRef((e,t)=>d.exports.createElement(jt.span,ye({},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}}))),JG=[" ","Enter","ArrowUp","ArrowDown"],eY=[" ","Enter"],zd="Select",[w1,sT,tY]=WG(zd),[El,yZ]=Fd(zd,[tY]),[xZ,Ud]=El(zd);El(zd);const nY="SelectTrigger",rY=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=Ud(nY,n),s=It(t,a.onTriggerChange),l=sT(n),u=XG(a.trigger),c=o||u,[f,p,h]=cT(m=>{const _=l().filter(x=>!x.disabled),g=_.find(x=>x.value===a.value),y=fT(_,m,g);y!==void 0&&a.onValueChange(y.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return d.exports.createElement(jt.button,ye({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:tt(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:tt(i.onKeyDown,m=>{const _=f.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(_&&m.key===" ")&&JG.includes(m.key)&&(v(),m.preventDefault())})}))}),oY=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return d.exports.createElement(jt.span,ye({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),iY=e=>d.exports.createElement(XH,ye({asChild:!0},e)),b1="SelectContent",aY=d.exports.forwardRef((e,t)=>{const n=Ud(b1,e.__scopeSelect),[r,o]=d.exports.useState();return cr(()=>{o(new DocumentFragment)},[]),d.exports.createElement(d.exports.Fragment,null,n.open?d.exports.createElement(sY,ye({},e,{ref:t})):r?$t.exports.createPortal(d.exports.createElement(lT,{scope:e.__scopeSelect},d.exports.createElement(w1.Slot,{scope:e.__scopeSelect},d.exports.createElement("div",null,e.children))),r):null)}),Cr=10,[lT,uT]=El(b1),sY=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=Ud(b1,n),[a,s]=d.exports.useState(null),[l,u]=d.exports.useState(null),[c,f]=d.exports.useState(null),p=It(t,P=>u(P)),[h,v]=d.exports.useState(null),[m,_]=d.exports.useState(null),g=sT(n),[y,x]=d.exports.useState(!1),w=d.exports.useRef(!0),b=d.exports.useRef(!1),E=d.exports.useRef(!1);d.exports.useEffect(()=>{if(l)return q5(l)},[l]),O5();const[S,C]=d.exports.useState();cr(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const T=d.exports.useCallback(P=>{const[V,...O]=g().map(N=>N.ref.current),[R]=O.slice(-1),$=document.activeElement;for(const N of P)if(N===$||(N==null||N.scrollIntoView({block:"nearest"}),N===V&&c&&(c.scrollTop=0),N===R&&c&&(c.scrollTop=c.scrollHeight),N==null||N.focus(),document.activeElement!==$))return},[g,c]),k=d.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const P=i.trigger.getBoundingClientRect(),V=l.getBoundingClientRect(),O=i.valueNode.getBoundingClientRect(),R=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ee=R.left-V.left,Z=O.left-Ee,pe=P.left-Z,qe=P.width+pe,un=Math.max(qe,V.width),ct=window.innerWidth-Cr,vo=u2(Z,[Cr,ct-un]);a.style.minWidth=qe+"px",a.style.left=vo+"px"}else{const Ee=V.right-R.right,Z=window.innerWidth-O.right-Ee,pe=window.innerWidth-P.right-Z,qe=P.width+pe,un=Math.max(qe,V.width),ct=window.innerWidth-Cr,vo=u2(Z,[Cr,ct-un]);a.style.minWidth=qe+"px",a.style.right=vo+"px"}const $=g(),N=window.innerHeight-Cr*2,A=c.scrollHeight,W=window.getComputedStyle(l),D=parseInt(W.borderTopWidth,10),se=parseInt(W.paddingTop,10),ie=parseInt(W.borderBottomWidth,10),le=parseInt(W.paddingBottom,10),te=D+se+A+le+ie,be=Math.min(h.offsetHeight*5,te),Te=window.getComputedStyle(c),ae=parseInt(Te.paddingTop,10),Re=parseInt(Te.paddingBottom,10),Q=P.top+P.height/2-Cr,ue=N-Q,Be=h.offsetHeight/2,de=h.offsetTop+Be,Rt=D+se+de,Hn=te-Rt;if(Rt<=Q){const Ee=h===$[$.length-1].ref.current;a.style.bottom="0px";const Z=l.clientHeight-c.offsetTop-c.offsetHeight,pe=Math.max(ue,Be+(Ee?Re:0)+Z+ie),qe=Rt+pe;a.style.height=qe+"px"}else{const Ee=h===$[0].ref.current;a.style.top="0px";const Z=Math.max(Q,D+c.offsetTop+(Ee?ae:0)+Be)+Hn;a.style.height=Z+"px",c.scrollTop=Rt-Q+c.offsetTop}a.style.margin=`${Cr}px 0`,a.style.minHeight=be+"px",a.style.maxHeight=N+"px",x(!0),requestAnimationFrame(()=>b.current=!0)}},[g,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);cr(()=>k(),[k]);const G=d.exports.useCallback(()=>T([h,l]),[T,h,l]);d.exports.useEffect(()=>{y&&G()},[y,G]);const F=d.exports.useCallback(P=>{P&&w.current===!0&&(k(),G(),w.current=!1)},[k,G]),{onOpenChange:H,triggerPointerDownPosRef:z}=i;d.exports.useEffect(()=>{if(l){let P={x:0,y:0};const V=R=>{var $,N,A,W;P={x:Math.abs(Math.round(R.pageX)-(($=(N=z.current)===null||N===void 0?void 0:N.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(R.pageY)-((A=(W=z.current)===null||W===void 0?void 0:W.y)!==null&&A!==void 0?A:0))}},O=R=>{P.x<=10&&P.y<=10?R.preventDefault():l.contains(R.target)||H(!1),document.removeEventListener("pointermove",V),z.current=null};return z.current!==null&&(document.addEventListener("pointermove",V),document.addEventListener("pointerup",O,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",V),document.removeEventListener("pointerup",O,{capture:!0})}}},[l,H,z]),d.exports.useEffect(()=>{const P=()=>H(!1);return window.addEventListener("blur",P),window.addEventListener("resize",P),()=>{window.removeEventListener("blur",P),window.removeEventListener("resize",P)}},[H]);const[re,me]=cT(P=>{const V=g().filter($=>!$.disabled),O=V.find($=>$.ref.current===document.activeElement),R=fT(V,P,O);R&&setTimeout(()=>R.ref.current.focus())}),oe=d.exports.useCallback((P,V,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===V||R)&&(v(P),R&&(E.current=!0))},[i.value]),I=d.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),K=d.exports.useCallback((P,V,O)=>{const R=!E.current&&!O;(i.value!==void 0&&i.value===V||R)&&_(P)},[i.value]);return d.exports.createElement(lT,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:f,itemRefCallback:oe,selectedItem:h,onItemLeave:I,itemTextRefCallback:K,selectedItemText:m,onScrollButtonChange:F,isPositioned:y,shouldExpandOnScrollRef:b,searchRef:re},d.exports.createElement(nT,{as:sa,allowPinchZoom:!0},d.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},d.exports.createElement(k5,{asChild:!0,trapped:i.open,onMountAutoFocus:P=>{P.preventDefault()},onUnmountAutoFocus:tt(r,P=>{var V;(V=i.trigger)===null||V===void 0||V.focus({preventScroll:!0}),P.preventDefault()})},d.exports.createElement(R5,ye({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:P=>P.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:P=>P.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:tt(o.onKeyDown,P=>{const V=P.ctrlKey||P.altKey||P.metaKey;if(P.key==="Tab"&&P.preventDefault(),!V&&P.key.length===1&&me(P.key),["ArrowUp","ArrowDown","Home","End"].includes(P.key)){let O=g().filter(R=>!R.disabled).map(R=>R.ref.current);if(["ArrowUp","End"].includes(P.key)&&(O=O.slice().reverse()),["ArrowUp","ArrowDown"].includes(P.key)){const R=P.target,$=O.indexOf(R);O=O.slice($+1)}setTimeout(()=>T(O)),P.preventDefault()}})}))))))}),lY="SelectViewport",uY=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=uT(lY,n),i=It(t,o.onViewportChange),a=d.exports.useRef(0);return d.exports.createElement(d.exports.Fragment,null,d.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}"}}),d.exports.createElement(w1.Slot,{scope:n},d.exports.createElement(jt.div,ye({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:tt(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const f=Math.abs(a.current-l.scrollTop);if(f>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 _=m+f,g=Math.min(p,_),y=_-g;u.style.height=g+"px",u.style.bottom==="0px"&&(l.scrollTop=y>0?y:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),cY="SelectGroup";El(cY);const Av="SelectItem",[fY,dY]=El(Av),pY=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=Ud(Av,n),l=uT(Av,n),u=s.value===r,[c,f]=d.exports.useState(i!=null?i:""),[p,h]=d.exports.useState(!1),v=It(t,g=>{var y;return(y=l.itemRefCallback)===null||y===void 0?void 0:y.call(l,g,r,o)}),m=ZU(),_=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return d.exports.createElement(fY,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:d.exports.useCallback(g=>{f(y=>{var x;return y||((x=g==null?void 0:g.textContent)!==null&&x!==void 0?x:"").trim()})},[])},d.exports.createElement(w1.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},d.exports.createElement(jt.div,ye({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:tt(a.onFocus,()=>h(!0)),onBlur:tt(a.onBlur,()=>h(!1)),onPointerUp:tt(a.onPointerUp,_),onPointerMove:tt(a.onPointerMove,g=>{if(o){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}else g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:tt(a.onPointerLeave,g=>{if(g.currentTarget===document.activeElement){var y;(y=l.onItemLeave)===null||y===void 0||y.call(l)}}),onKeyDown:tt(a.onKeyDown,g=>{var y;((y=l.searchRef)===null||y===void 0?void 0:y.current)!==""&&g.key===" "||(eY.includes(g.key)&&_(),g.key===" "&&g.preventDefault())})}))))}),hY="SelectItemIndicator",mY=d.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return dY(hY,n).isSelected?d.exports.createElement(jt.span,ye({"aria-hidden":!0},r,{ref:t})):null}),vY=d.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=d.exports.useRef(null),i=It(t,o),a=ZG(n);return d.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]),d.exports.createElement(QG,{asChild:!0},d.exports.createElement("select",ye({},r,{ref:i,defaultValue:n})))});vY.displayName="BubbleSelect";function cT(e){const t=la(e),n=d.exports.useRef(""),r=d.exports.useRef(0),o=d.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=d.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return d.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function fT(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=gY(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 gY(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const yY=rY,xY=iY,_Y=aY,wY=uY,bY=pY,EY=mY;q(yY)`
635
+ display: inline-flex;
636
+ align-items: center;
637
+ justify-content: space-between;
638
+ background-color: ${M["--ll-color-background"]};
639
+ border-radius: ${M["--ll-border-radius-small"]};
640
+ border: 1px solid ${M["--ll-color-border"]};
641
+ color: ${M["--ll-color-on-background-variant1"]};
642
+ padding: ${M["--ll-spacing-xx-small"]} ${M["--ll-spacing-x-small"]}
643
+ ${M["--ll-spacing-xx-small"]} ${M["--ll-spacing-small"]};
644
+ flex: 1;
645
+ height: ${({size:e})=>e==="medium"?"32px":"40px"};
646
+ `;q(oY)`
647
+ margin-left: ${M["--ll-spacing-x-small"]};
648
+ `;q(_Y)`
649
+ overflow: hidden;
650
+ background-color: ${M["--ll-color-background"]};
651
+ border-radius: ${M["--ll-border-radius-small"]};
652
+ box-shadow: ${M["--ll-shadow-medium"]};
653
+ min-width: 100px;
654
+ z-index: 1;
655
+ `;q(bY)`
656
+ font-family: ${M["--ll-font-family"]};
657
+ font-size: ${M["--ll-font-size-p"]};
658
+ padding: ${M["--ll-spacing-xx-small"]} ${M["--ll-spacing-x-large"]}
659
+ ${M["--ll-spacing-xx-small"]} ${M["--ll-spacing-large"]};
660
+ outline: none;
661
+ border-radius: ${M["--ll-border-radius-small"]};
662
+ position: relative;
663
+ color: ${M["--ll-color-on-surface-variant1"]};
664
+ cursor: default;
665
+
666
+ &[data-highlighted] {
667
+ background-color: ${M["--ll-color-primary"]};
668
+ color: ${M["--ll-color-on-primary"]};
669
+ }
670
+ `;q(EY)`
671
+ position: absolute;
672
+ left: 0;
673
+ height: 100%;
674
+ left: 0;
675
+ bottom: 0;
676
+ width: ${M["--ll-spacing-large"]};
677
+ display: inline-flex;
678
+ align-items: center;
679
+ justify-content: center;
680
+ `;q(wY)`
681
+ padding: ${M["--ll-spacing-base-unit"]};
682
+ `;q(xY)`
683
+ z-index: 1;
684
+ `;var Hd={exports:{}},Gd={};/**
685
+ * @license React
686
+ * react-jsx-runtime.production.min.js
687
+ *
688
+ * Copyright (c) Facebook, Inc. and its affiliates.
689
+ *
690
+ * This source code is licensed under the MIT license found in the
691
+ * LICENSE file in the root directory of this source tree.
692
+ */var SY=ee,CY=Symbol.for("react.element"),AY=Symbol.for("react.fragment"),$Y=Object.prototype.hasOwnProperty,TY=SY.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,RY={key:!0,ref:!0,__self:!0,__source:!0};function dT(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)$Y.call(t,r)&&!RY.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:CY,type:e,key:i,ref:a,props:o,_owner:TY.current}}Gd.Fragment=AY;Gd.jsx=dT;Gd.jsxs=dT;Hd.exports=Gd;const J=Hd.exports.jsx,Gt=Hd.exports.jsxs,Ga=Hd.exports.Fragment,pT=ee.createContext({}),PY=()=>d.exports.useContext(pT),OY=({client:e,options:t,children:n})=>{var r,o;return J(pT.Provider,{value:{client:e,options:t},children:J(a6,{target:document.head,children:Gt(Ga,{children:[J(aU,{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]})})})},dh=(e,t=!1)=>{if(!e)return null;const r=parseFloat(e)*2;return t?Math.round(r):Math.round(r*10)/10},Sl=({data:e,score:t,round:n=!1})=>{const r=d.exports.useMemo(()=>{var s,l;const u=(l=(s=e==null?void 0:e.location)==null?void 0:s[t])==null?void 0:l.value;return dh(u,n)},[e,t,n]),o=d.exports.useMemo(()=>{var s,l;return(l=(s=e==null?void 0:e.location)==null?void 0:s[t])==null?void 0:l.text},[e,t]),i=d.exports.useMemo(()=>{var s,l;const u=(l=(s=e==null?void 0:e.geographies)==null?void 0:s.find(c=>c.geog_level_type==="municipality"))==null?void 0:l.scores[t].value;return dh(u,n)},[e,t,n]),a=d.exports.useMemo(()=>{var s,l;const u=(l=(s=e==null?void 0:e.geographies)==null?void 0:s.find(c=>c.geog_level_type==="neighbourhood"))==null?void 0:l.scores[t].value;return dh(u,n)},[e,t,n]);return{textVal:o,scoreVal:r,cityScoreVal:i,neighbourhoodScoreVal:a}},hT=ee.createContext({}),Cl=()=>d.exports.useContext(hT),kY=e=>e==="small"?ke`
693
+ height: 16px;
694
+ padding: 0 ${M["--ll-spacing-xx-small"]};
695
+ font-size: ${M["--ll-font-size-caption-2"]};
696
+ `:ke`
697
+ height: 32px;
698
+ width: 32px;
699
+ font-size: ${M["--ll-font-size-p"]};
700
+ `,NY=q.div`
701
+ background: ${({isPrimary:e})=>e?ke`
702
+ linear-gradient(
703
+ to top,
704
+ ${M["--ll-color-primary-variant1"]},
705
+ ${M["--ll-color-primary"]}
706
+ );
707
+ `:M["--ll-color-disabled"]};
708
+ color: ${M["--ll-color-on-primary"]};
709
+ border-radius: ${M["--ll-border-radius-small"]};
710
+ display: flex;
711
+ justify-content: center;
712
+ align-items: center;
713
+ line-height: 1;
714
+ font-family: ${M["--ll-font-family"]};
715
+ ${({variant:e})=>kY(e)};
716
+ `,LY=({options:{variant:e="large",isPrimary:t=!0}={}})=>{const{options:{data:n,score:r}}=Cl(),{scoreVal:o}=Sl({data:n,score:r});return J(NY,{variant:e,isPrimary:t,children:o})},ph=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function $v(e,...t){if(!t.length)return e;const n=t.shift();return ph(e)&&ph(n)&&Object.keys(n).forEach(r=>{ph(n[r])?(e[r]||Object.assign(e,{[r]:{}}),$v(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),$v(e,...t)}const Xo=e=>{const{client:t}=PY(),{locale:n="en"}=t.options;return d.exports.useMemo(()=>$v({},...e)[n],[n,e])},mT={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"}},vT={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."}},gT=e=>{const{options:{data:t,score:n}}=Cl(),{textVal:r}=Sl({data:t,score:n}),o=Xo([vT,mT]);return r?J(St,{...e.options,children:o[n]}):null};gT.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const yT=e=>Qe("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("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"}),L("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"})]}),MY=e=>Qe("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("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"}),L("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"})]}),DY=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),FY=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),IY=e=>Qe("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("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"}),L("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"}),L("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"}),L("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"})]}),jY=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),xT=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),_T=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),wT=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),Tv=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),bT=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),BY=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),ET=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),ST=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),CT=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),E1=e=>L("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),AT=e=>Qe("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("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"}),L("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"})]}),VY=e=>Qe("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),L("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}),zY={pedestrian_friendly:DY,transit_friendly:yT,cycling_friendly:FY,car_friendly:MY,groceries:bT,restaurants:Tv,cafes:xT,shopping:_T,wellness:CT,parks:BY,greenery:ET,vibrant:IY,nightlife:wT,quiet:jY,historic:VY,high_schools:E1,primary_schools:AT,daycares:ST},$T=({options:e})=>{const{options:{score:t}}=Cl();return J(_l,{SVGElement:zY[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};$T.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const UY={en:{LOCATION:"Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood"},fr:{LOCATION:"Location",CITY:"Ville",NEIGHBOURHOOD:"Quartier"}},HY=q.div`
717
+ position: relative;
718
+ display: grid;
719
+ grid-template-columns: auto 1fr auto;
720
+ align-items: center;
721
+ grid-column-gap: ${M["--ll-spacing-x-small"]};
722
+ width: 100%;
723
+ `,hh=q.div`
724
+ height: ${Dt*2}px;
725
+ width: 100%;
726
+ border-radius: ${Dt}px;
727
+ background-color: ${M["--ll-color-surface-variant1"]};
728
+ position: relative;
729
+ overflow: hidden;
730
+ `,mh=q(C5.div)`
731
+ position: absolute;
732
+ height: 100%;
733
+ border-radius: ${Dt}px;
734
+ background: linear-gradient(
735
+ to right,
736
+ ${M["--ll-color-primary-variant1"]},
737
+ ${M["--ll-color-primary"]}
738
+ );
739
+ `;q.div`
740
+ position: absolute;
741
+ height: 100%;
742
+ top: 0;
743
+ left: ${({val:e})=>e*10}%;
744
+ transform: translateX(-1px);
745
+ border-right: ${({markerType:e})=>`4px ${e==="city"?"solid":"dotted"} ${M["--ll-color-on-background"]}`};
746
+ `;q.div`
747
+ position: absolute;
748
+ top: ${({position:e})=>e==="top"&&"-18px"};
749
+ bottom: ${({position:e})=>e==="bottom"&&"-18px"};
750
+ transform: translateX(calc(-50% + 2px));
751
+ left: 0;
752
+ `;const GY=()=>{const{options:{data:e,score:t}}=Cl(),{scoreVal:n,cityScoreVal:r,neighbourhoodScoreVal:o}=Sl({data:e,score:t}),i=Xo([UY]);return n?J(Ga,{children:Gt(HY,{children:[Gt(Ga,{children:[J(St,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:i.LOCATION}),J(hh,{children:J(mh,{animate:{width:`${n/10*100}%`},transition:{delay:.3,...Xu.transitions.spring}})}),J(St,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:n})]}),r&&Gt(Ga,{children:[J(St,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:i.CITY}),J(hh,{children:J(mh,{animate:{width:`${r/10*100}%`},transition:{delay:.4,...Xu.transitions.spring}})}),J(St,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:r})]}),o&&Gt(Ga,{children:[J(St,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:i.NEIGHBOURHOOD}),J(hh,{children:J(mh,{animate:{width:`${o/10*100}%`},transition:{delay:.5,...Xu.transitions.spring}})}),J(St,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:o})]})]})}):null};function $e(){return $e=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},$e.apply(this,arguments)}function yt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function YY(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function TT(...e){return t=>e.forEach(n=>YY(n,t))}function Vn(...e){return d.exports.useCallback(TT(...e),e)}function Al(e,t=[]){let n=[];function r(i,a){const s=d.exports.createContext(a),l=n.length;n=[...n,a];function u(f){const{scope:p,children:h,...v}=f,m=(p==null?void 0:p[e][l])||s,_=d.exports.useMemo(()=>v,Object.values(v));return d.exports.createElement(m.Provider,{value:_},h)}function c(f,p){const h=(p==null?void 0:p[e][l])||s,v=d.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>d.exports.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return d.exports.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,WY(o,...t)]}function WY(...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(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(i)[`__scope${u}`];return{...s,...f}},{});return d.exports.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const el=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=d.exports.Children.toArray(n),i=o.find(KY);if(i){const a=i.props.children,s=o.map(l=>l===i?d.exports.Children.count(a)>1?d.exports.Children.only(null):d.exports.isValidElement(a)?a.props.children:null:l);return d.exports.createElement(Rv,$e({},r,{ref:t}),d.exports.isValidElement(a)?d.exports.cloneElement(a,void 0,s):null)}return d.exports.createElement(Rv,$e({},r,{ref:t}),n)});el.displayName="Slot";const Rv=d.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return d.exports.isValidElement(n)?d.exports.cloneElement(n,{...XY(r,n.props),ref:TT(t,n.ref)}):d.exports.Children.count(n)>1?d.exports.Children.only(null):null});Rv.displayName="SlotClone";const qY=({children:e})=>d.exports.createElement(d.exports.Fragment,null,e);function KY(e){return d.exports.isValidElement(e)&&e.type===qY}function XY(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?n[r]=(...s)=>{i==null||i(...s),o==null||o(...s)}:r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const ZY=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Kt=ZY.reduce((e,t)=>{const n=d.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?el:t;return d.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),d.exports.createElement(s,$e({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function QY(e,t){e&&$t.exports.flushSync(()=>e.dispatchEvent(t))}function ao(e){const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function JY(e){const t=ao(e);d.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const Pv="dismissableLayer.update",eW="dismissableLayer.pointerDownOutside",tW="dismissableLayer.focusOutside";let c2;const nW=d.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),rW=d.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=d.exports.useContext(nW),[c,f]=d.exports.useState(null),[,p]=d.exports.useState({}),h=Vn(t,E=>f(E)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),g=c?v.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,x=g>=_,w=oW(E=>{const S=E.target,C=[...u.branches].some(T=>T.contains(S));!x||C||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())}),b=iW(E=>{const S=E.target;[...u.branches].some(T=>T.contains(S))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())});return JY(E=>{g===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))}),d.exports.useEffect(()=>{if(!!c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(c2=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),f2(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=c2)}},[c,n,u]),d.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),f2())},[c,u]),d.exports.useEffect(()=>{const E=()=>p({});return document.addEventListener(Pv,E),()=>document.removeEventListener(Pv,E)},[]),d.exports.createElement(Kt.div,$e({},l,{ref:h,style:{pointerEvents:y?x?"auto":"none":void 0,...e.style},onFocusCapture:yt(e.onFocusCapture,b.onFocusCapture),onBlurCapture:yt(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:yt(e.onPointerDownCapture,w.onPointerDownCapture)}))});function oW(e){const t=ao(e),n=d.exports.useRef(!1),r=d.exports.useRef(()=>{});return d.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){RT(eW,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 iW(e){const t=ao(e),n=d.exports.useRef(!1);return d.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&RT(tW,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function f2(){const e=new CustomEvent(Pv);document.dispatchEvent(e)}function RT(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?QY(o,i):o.dispatchEvent(i)}let vh=0;function aW(){d.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:d2()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:d2()),vh++,()=>{vh===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),vh--}},[])}function d2(){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 gh="focusScope.autoFocusOnMount",yh="focusScope.autoFocusOnUnmount",p2={bubbles:!1,cancelable:!0},sW=d.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=d.exports.useState(null),u=ao(o),c=ao(i),f=d.exports.useRef(null),p=Vn(t,m=>l(m)),h=d.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.exports.useEffect(()=>{if(r){let m=function(g){if(h.paused||!s)return;const y=g.target;s.contains(y)?f.current=y:Co(f.current,{select:!0})},_=function(g){h.paused||!s||s.contains(g.relatedTarget)||Co(f.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),d.exports.useEffect(()=>{if(s){m2.add(h);const m=document.activeElement;if(!s.contains(m)){const g=new CustomEvent(gh,p2);s.addEventListener(gh,u),s.dispatchEvent(g),g.defaultPrevented||(lW(pW(PT(s)),{select:!0}),document.activeElement===m&&Co(s))}return()=>{s.removeEventListener(gh,u),setTimeout(()=>{const g=new CustomEvent(yh,p2);s.addEventListener(yh,c),s.dispatchEvent(g),g.defaultPrevented||Co(m!=null?m:document.body,{select:!0}),s.removeEventListener(yh,c),m2.remove(h)},0)}}},[s,u,c,h]);const v=d.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(_&&g){const y=m.currentTarget,[x,w]=uW(y);x&&w?!m.shiftKey&&g===w?(m.preventDefault(),n&&Co(x,{select:!0})):m.shiftKey&&g===x&&(m.preventDefault(),n&&Co(w,{select:!0})):g===y&&m.preventDefault()}},[n,r,h.paused]);return d.exports.createElement(Kt.div,$e({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function lW(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Co(r,{select:t}),document.activeElement!==n)return}function uW(e){const t=PT(e),n=h2(t,e),r=h2(t.reverse(),e);return[n,r]}function PT(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 h2(e,t){for(const n of e)if(!cW(n,{upTo:t}))return n}function cW(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 fW(e){return e instanceof HTMLInputElement&&"select"in e}function Co(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&fW(e)&&t&&e.select()}}const m2=dW();function dW(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=v2(e,t),e.unshift(t)},remove(t){var n;e=v2(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function v2(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function pW(e){return e.filter(t=>t.tagName!=="A")}const ua=Boolean(globalThis==null?void 0:globalThis.document)?d.exports.useLayoutEffect:()=>{},hW=Vv["useId".toString()]||(()=>{});let mW=0;function S1(e){const[t,n]=d.exports.useState(hW());return ua(()=>{e||n(r=>r!=null?r:String(mW++))},[e]),e||(t?`radix-${t}`:"")}function Sa(e){return e.split("-")[0]}function Yd(e){return e.split("-")[1]}function Ca(e){return["top","bottom"].includes(Sa(e))?"x":"y"}function C1(e){return e==="y"?"height":"width"}function g2(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=Ca(t),l=C1(s),u=r[l]/2-o[l]/2,c=Sa(t),f=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(Yd(t)){case"start":p[s]-=u*(n&&f?-1:1);break;case"end":p[s]+=u*(n&&f?-1:1);break}return p}const vW=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}=g2(l,r,s),f=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:g,y,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=g!=null?g:u,c=y!=null?y:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=g2(l,f,s)),v=-1;continue}}return{x:u,y:c,placement:f,strategy:o,middlewareData:p}};function gW(e){return{top:0,right:0,bottom:0,left:0,...e}}function OT(e){return typeof e!="number"?gW(e):{top:e,right:e,bottom:e,left:e}}function uf(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function cf(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:f="floating",altBoundary:p=!1,padding:h=0}=t,v=OT(h),_=s[p?f==="floating"?"reference":"floating":f],g=uf(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(_)))==null||n?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=uf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:g.top-y.top+v.top,bottom:y.bottom-g.bottom+v.bottom,left:g.left-y.left+v.left,right:y.right-g.right+v.right}}const yW=Math.min,xW=Math.max;function Ov(e,t,n){return xW(e,yW(t,n))}const y2=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=OT(r),c={x:o,y:i},f=Ca(a),p=Yd(a),h=C1(f),v=await l.getDimensions(n),m=f==="y"?"top":"left",_=f==="y"?"bottom":"right",g=s.reference[h]+s.reference[f]-c[f]-s.floating[h],y=c[f]-s.reference[f],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?f==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const b=g/2-y/2,E=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+b,T=Ov(E,C,S),F=(p==="start"?u[m]:u[_])>0&&C!==T&&s.reference[h]<=s.floating[h]?C<E?E-C:S-C:0;return{[f]:c[f]-F,data:{[f]:T,centerOffset:C-T}}}}),_W={left:"right",right:"left",bottom:"top",top:"bottom"};function ff(e){return e.replace(/left|right|bottom|top/g,t=>_W[t])}function wW(e,t,n){n===void 0&&(n=!1);const r=Yd(e),o=Ca(e),i=C1(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ff(a)),{main:a,cross:ff(a)}}const bW={start:"end",end:"start"};function x2(e){return e.replace(/start|end/g,t=>bW[t])}const EW=["top","right","bottom","left"];function SW(e){const t=ff(e);return[x2(e),t,x2(t)]}const CW=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:f,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=Sa(r),g=f||(m===a||!h?[ff(a)]:SW(a)),y=[a,...g],x=await cf(t,v),w=[];let b=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&w.push(x[m]),c){const{main:T,cross:k}=wW(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));w.push(x[T],x[k])}if(b=[...b,{placement:r,overflows:w}],!w.every(T=>T<=0)){var E,S;const T=((E=(S=o.flip)==null?void 0:S.index)!=null?E:0)+1,k=y[T];if(k)return{data:{index:T,overflows:b},reset:{placement:k}};let G="bottom";switch(p){case"bestFit":{var C;const F=(C=b.map(H=>[H,H.overflows.filter(z=>z>0).reduce((z,re)=>z+re,0)]).sort((H,z)=>H[1]-z[1])[0])==null?void 0:C[0].placement;F&&(G=F);break}case"initialPlacement":G=a;break}if(r!==G)return{reset:{placement:G}}}return{}}}};function _2(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function w2(e){return EW.some(t=>e[t]>=0)}const AW=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 cf(r,{...n,elementContext:"reference"}),a=_2(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:w2(a)}}}case"escaped":{const i=await cf(r,{...n,altBoundary:!0}),a=_2(i,o.floating);return{data:{escapedOffsets:a,escaped:w2(a)}}}default:return{}}}}};async function $W(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Sa(n),s=Yd(n),l=Ca(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};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 TW=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await $W(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function kT(e){return e==="x"?"y":"x"}const RW=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:_=>{let{x:g,y}=_;return{x:g,y}}},...l}=e,u={x:n,y:r},c=await cf(t,l),f=Ca(Sa(o)),p=kT(f);let h=u[f],v=u[p];if(i){const _=f==="y"?"top":"left",g=f==="y"?"bottom":"right",y=h+c[_],x=h-c[g];h=Ov(y,h,x)}if(a){const _=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=v+c[_],x=v-c[g];v=Ov(y,v,x)}const m=s.fn({...t,[f]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},PW=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},f=Ca(o),p=kT(f);let h=c[f],v=c[p];const m=typeof s=="function"?s({...i,placement:o}):s,_=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=f==="y"?"height":"width",E=i.reference[f]-i.floating[b]+_.mainAxis,S=i.reference[f]+i.reference[b]-_.mainAxis;h<E?h=E:h>S&&(h=S)}if(u){var g,y,x,w;const b=f==="y"?"width":"height",E=["top","left"].includes(Sa(o)),S=i.reference[p]-i.floating[b]+(E&&(g=(y=a.offset)==null?void 0:y[p])!=null?g:0)+(E?0:_.crossAxis),C=i.reference[p]+i.reference[b]+(E?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(E?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[f]:h,[p]:v}}}};function NT(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function xr(e){if(e==null)return window;if(!NT(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function $l(e){return xr(e).getComputedStyle(e)}function pr(e){return NT(e)?"":e?(e.nodeName||"").toLowerCase():""}function LT(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function zn(e){return e instanceof xr(e).HTMLElement}function so(e){return e instanceof xr(e).Element}function OW(e){return e instanceof xr(e).Node}function A1(e){if(typeof ShadowRoot=="undefined")return!1;const t=xr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Wd(e){const{overflow:t,overflowX:n,overflowY:r}=$l(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function kW(e){return["table","td","th"].includes(pr(e))}function MT(e){const t=/firefox/i.test(LT()),n=$l(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 DT(){return!/^((?!chrome|android).)*safari/i.test(LT())}const b2=Math.min,gs=Math.max,df=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&&zn(e)&&(l=e.offsetWidth>0&&df(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&df(s.height)/e.offsetHeight||1);const c=so(e)?xr(e):window,f=!DT()&&n,p=(s.left+(f&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(f&&(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 mo(e){return((OW(e)?e.ownerDocument:e.document)||window.document).documentElement}function qd(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function FT(e){return hr(mo(e)).left+qd(e).scrollLeft}function NW(e){const t=hr(e);return df(t.width)!==e.offsetWidth||df(t.height)!==e.offsetHeight}function LW(e,t,n){const r=zn(t),o=mo(t),i=hr(e,r&&NW(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((pr(t)!=="body"||Wd(o))&&(a=qd(t)),zn(t)){const l=hr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=FT(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function IT(e){return pr(e)==="html"?e:e.assignedSlot||e.parentNode||(A1(e)?e.host:null)||mo(e)}function E2(e){return!zn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function MW(e){let t=IT(e);for(A1(t)&&(t=t.host);zn(t)&&!["html","body"].includes(pr(t));){if(MT(t))return t;t=t.parentNode}return null}function kv(e){const t=xr(e);let n=E2(e);for(;n&&kW(n)&&getComputedStyle(n).position==="static";)n=E2(n);return n&&(pr(n)==="html"||pr(n)==="body"&&getComputedStyle(n).position==="static"&&!MT(n))?t:n||MW(e)||t}function S2(e){if(zn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=hr(e);return{width:t.width,height:t.height}}function DW(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=zn(n),i=mo(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"||Wd(i))&&(a=qd(n)),zn(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 FW(e,t){const n=xr(e),r=mo(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=DT();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function IW(e){var t;const n=mo(e),r=qd(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=gs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=gs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+FT(e);const l=-r.scrollTop;return $l(o||n).direction==="rtl"&&(s+=gs(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function jT(e){const t=IT(e);return["html","body","#document"].includes(pr(t))?e.ownerDocument.body:zn(t)&&Wd(t)?t:jT(t)}function pf(e,t){var n;t===void 0&&(t=[]);const r=jT(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=xr(r),a=o?[i].concat(i.visualViewport||[],Wd(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(pf(a))}function jW(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&A1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function BW(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 C2(e,t,n){return t==="viewport"?uf(FW(e,n)):so(t)?BW(t,n):uf(IW(mo(e)))}function VW(e){const t=pf(e),r=["absolute","fixed"].includes($l(e).position)&&zn(e)?kv(e):e;return so(r)?t.filter(o=>so(o)&&jW(o,r)&&pr(o)!=="body"):[]}function zW(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?VW(t):[].concat(n),r],s=a[0],l=a.reduce((u,c)=>{const f=C2(t,c,o);return u.top=gs(f.top,u.top),u.right=b2(f.right,u.right),u.bottom=b2(f.bottom,u.bottom),u.left=gs(f.left,u.left),u},C2(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const UW={getClippingRect:zW,convertOffsetParentRelativeRectToViewportRelativeRect:DW,isElement:so,getDimensions:S2,getOffsetParent:kv,getDocumentElement:mo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:LW(t,kv(n),r),floating:{...S2(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>$l(e).direction==="rtl"};function HW(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?[...so(e)?pf(e):[],...pf(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let f=null;if(a){let m=!0;f=new ResizeObserver(()=>{m||n(),m=!1}),so(e)&&!s&&f.observe(e),f.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(_=>{l&&_.removeEventListener("scroll",n),u&&_.removeEventListener("resize",n)}),(m=f)==null||m.disconnect(),f=null,s&&cancelAnimationFrame(p)}}const GW=(e,t,n)=>vW(e,t,{platform:UW,...n});var Nv=typeof document!="undefined"?d.exports.useLayoutEffect:d.exports.useEffect;function Lv(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(!Lv(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)&&!Lv(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function YW(e){const t=d.exports.useRef(e);return Nv(()=>{t.current=e}),t}function WW(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=d.exports.useRef(null),a=d.exports.useRef(null),s=YW(o),l=d.exports.useRef(null),[u,c]=d.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,p]=d.exports.useState(t);Lv(f==null?void 0:f.map(x=>{let{options:w}=x;return w}),t==null?void 0:t.map(x=>{let{options:w}=x;return w}))||p(t);const h=d.exports.useCallback(()=>{!i.current||!a.current||GW(i.current,a.current,{middleware:f,placement:n,strategy:r}).then(x=>{v.current&&$t.exports.flushSync(()=>{c(x)})})},[f,n,r]);Nv(()=>{v.current&&h()},[h]);const v=d.exports.useRef(!1);Nv(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=d.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]),_=d.exports.useCallback(x=>{i.current=x,m()},[m]),g=d.exports.useCallback(x=>{a.current=x,m()},[m]),y=d.exports.useMemo(()=>({reference:i,floating:a}),[]);return d.exports.useMemo(()=>({...u,update:h,refs:y,reference:_,floating:g}),[u,h,y,_,g])}const qW=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?y2({element:t.current,padding:n}).fn(o):{}:t?y2({element:t,padding:n}).fn(o):{}}}},KW=d.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return d.exports.createElement(Kt.svg,$e({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:d.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),XW=KW;function ZW(e){const[t,n]=d.exports.useState(void 0);return ua(()=>{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 BT="Popper",[$1,VT]=Al(BT),[QW,zT]=$1(BT),JW=e=>{const{__scopePopper:t,children:n}=e,[r,o]=d.exports.useState(null);return d.exports.createElement(QW,{scope:t,anchor:r,onAnchorChange:o},n)},eq="PopperAnchor",tq=d.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=zT(eq,n),a=d.exports.useRef(null),s=Vn(t,a);return d.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:d.exports.createElement(Kt.div,$e({},o,{ref:s}))}),hf="PopperContent",[nq,rq]=$1(hf),[oq,iq]=$1(hf,{hasParent:!1,positionUpdateFns:new Set}),aq=d.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:g=0,sticky:y="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...b}=e,E=zT(hf,c),[S,C]=d.exports.useState(null),T=Vn(t,de=>C(de)),[k,G]=d.exports.useState(null),F=ZW(k),H=(n=F==null?void 0:F.width)!==null&&n!==void 0?n:0,z=(r=F==null?void 0:F.height)!==null&&r!==void 0?r:0,re=f+(h!=="center"?"-"+h:""),me=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},oe=Array.isArray(_)?_:[_],I=oe.length>0,K={padding:me,boundary:oe.filter(fq),altBoundary:I},{reference:P,floating:V,strategy:O,x:R,y:$,placement:N,middlewareData:A,update:W}=WW({strategy:"fixed",placement:re,whileElementsMounted:HW,middleware:[TW({mainAxis:p+z,alignmentAxis:v}),w?RW({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?PW():void 0,...K}):void 0,k?qW({element:k,padding:m}):void 0,w?CW({...K}):void 0,dq({arrowWidth:H,arrowHeight:z}),x?AW({strategy:"referenceHidden"}):void 0].filter(cq)});ua(()=>{P(E.anchor)},[P,E.anchor]);const D=R!==null&&$!==null,[se,ie]=UT(N),le=(o=A.arrow)===null||o===void 0?void 0:o.x,te=(i=A.arrow)===null||i===void 0?void 0:i.y,be=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[Te,ae]=d.exports.useState();ua(()=>{S&&ae(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Re,positionUpdateFns:Q}=iq(hf,c),ue=!Re;d.exports.useLayoutEffect(()=>{if(!ue)return Q.add(W),()=>{Q.delete(W)}},[ue,Q,W]),d.exports.useLayoutEffect(()=>{ue&&D&&Array.from(Q).reverse().forEach(de=>requestAnimationFrame(de))},[ue,D,Q]);const Be={"data-side":se,"data-align":ie,...b,ref:T,style:{...b.style,animation:D?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return d.exports.createElement("div",{ref:V,"data-radix-popper-content-wrapper":"",style:{position:O,left:0,top:0,transform:D?`translate3d(${Math.round(R)}px, ${Math.round($)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:Te,["--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(" ")}},d.exports.createElement(nq,{scope:c,placedSide:se,onArrowChange:G,arrowX:le,arrowY:te,shouldHideArrow:be},ue?d.exports.createElement(oq,{scope:c,hasParent:!0,positionUpdateFns:Q},d.exports.createElement(Kt.div,Be)):d.exports.createElement(Kt.div,Be)))}),sq="PopperArrow",lq={top:"bottom",right:"left",bottom:"top",left:"right"},uq=d.exports.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=rq(sq,r),a=lq[i.placedSide];return d.exports.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},d.exports.createElement(XW,$e({},o,{ref:n,style:{...o.style,display:"block"}})))});function cq(e){return e!==void 0}function fq(e){return e!==null}const dq=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=f?0:e.arrowWidth,h=f?0:e.arrowHeight,[v,m]=UT(s),_={start:"0%",center:"50%",end:"100%"}[m],g=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+h/2;let x="",w="";return v==="bottom"?(x=f?_:`${g}px`,w=`${-h}px`):v==="top"?(x=f?_:`${g}px`,w=`${l.floating.height+h}px`):v==="right"?(x=`${-h}px`,w=f?_:`${y}px`):v==="left"&&(x=`${l.floating.width+h}px`,w=f?_:`${y}px`),{data:{x,y:w}}}});function UT(e){const[t,n="center"]=e.split("-");return[t,n]}const pq=JW,hq=tq,mq=aq,vq=uq;function gq(e,t){return d.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const T1=e=>{const{present:t,children:n}=e,r=yq(t),o=typeof n=="function"?n({present:r.isPresent}):d.exports.Children.only(n),i=Vn(r.ref,o.ref);return typeof n=="function"||r.isPresent?d.exports.cloneElement(o,{ref:i}):null};T1.displayName="Presence";function yq(e){const[t,n]=d.exports.useState(),r=d.exports.useRef({}),o=d.exports.useRef(e),i=d.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=gq(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.exports.useEffect(()=>{const u=wu(r.current);i.current=s==="mounted"?u:"none"},[s]),ua(()=>{const u=r.current,c=o.current;if(c!==e){const p=i.current,h=wu(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),ua(()=>{if(t){const u=f=>{const h=wu(r.current).includes(f.animationName);f.target===t&&h&&$t.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.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:d.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function wu(e){return(e==null?void 0:e.animationName)||"none"}function R1({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=xq({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=ao(n),l=d.exports.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&s(f)}else o(u)},[i,e,o,s]);return[a,l]}function xq({defaultProp:e,onChange:t}){const n=d.exports.useState(e),[r]=n,o=d.exports.useRef(r),i=ao(t);return d.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var _q=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},si=new WeakMap,bu=new WeakMap,Eu={},xh=0,wq=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(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(si.get(p)||0)+1,_=(i.get(p)||0)+1;si.set(p,m),i.set(p,_),a.push(p),m===1&&v&&bu.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),xh++,function(){a.forEach(function(f){var p=si.get(f)-1,h=i.get(f)-1;si.set(f,p),i.set(f,h),p||(bu.has(f)||f.removeAttribute(r),bu.delete(f)),h||f.removeAttribute(n)}),xh--,xh||(si=new WeakMap,si=new WeakMap,bu=new WeakMap,Eu={})}},bq=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||_q(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),wq(r,o,n,"aria-hidden")):function(){return null}},On=function(){return On=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},On.apply(this,arguments)};function HT(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 Eq(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 Ju="right-scroll-bar-position",ec="width-before-scroll-bar",Sq="with-scroll-bars-hidden",Cq="--removed-body-scroll-bar-size";function Aq(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $q(e,t){var n=d.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 Tq(e,t){return $q(t||null,function(n){return e.forEach(function(r){return Aq(r,n)})})}function Rq(e){return e}function Pq(e,t){t===void 0&&(t=Rq);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 Oq(e){e===void 0&&(e={});var t=Pq(null);return t.options=On({async:!0,ssr:!1},e),t}var GT=function(e){var t=e.sideCar,n=HT(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 L(r,{...On({},n)})};GT.isSideCarExport=!0;function kq(e,t){return e.useMedium(t),GT}var YT=Oq(),_h=function(){},Kd=d.exports.forwardRef(function(e,t){var n=d.exports.useRef(null),r=d.exports.useState({onScrollCapture:_h,onWheelCapture:_h,onTouchMoveCapture:_h}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,g=_===void 0?"div":_,y=HT(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=Tq([n,t]),b=On(On({},y),o);return Qe(Og,{children:[c&&L(x,{sideCar:YT,removeScrollBar:u,shards:f,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?d.exports.cloneElement(d.exports.Children.only(s),On(On({},b),{ref:w})):L(g,{...On({},b,{className:l,ref:w}),children:s})]})});Kd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Kd.classNames={fullWidth:ec,zeroRight:Ju};var Nq=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function Lq(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Nq();return t&&e.setAttribute("nonce",t),e}function Mq(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Dq(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Fq=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Lq())&&(Mq(t,n),Dq(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Iq=function(){var e=Fq();return function(t,n){d.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},WT=function(){var e=Iq(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},jq={left:0,top:0,right:0,gap:0},wh=function(e){return parseInt(e||"",10)||0},Bq=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[wh(n),wh(r),wh(o)]},Vq=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return jq;var t=Bq(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])}},zq=WT(),Uq=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
753
+ .`.concat(Sq,` {
754
+ overflow: hidden `).concat(r,`;
755
+ padding-right: `).concat(s,"px ").concat(r,`;
756
+ }
757
+ body {
758
+ overflow: hidden `).concat(r,`;
759
+ overscroll-behavior: contain;
760
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
761
+ padding-left: `.concat(o,`px;
762
+ padding-top: `).concat(i,`px;
763
+ padding-right: `).concat(a,`px;
764
+ margin-left:0;
765
+ margin-top:0;
766
+ margin-right: `).concat(s,"px ").concat(r,`;
767
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
768
+ }
769
+
770
+ .`).concat(Ju,` {
771
+ right: `).concat(s,"px ").concat(r,`;
772
+ }
773
+
774
+ .`).concat(ec,` {
775
+ margin-right: `).concat(s,"px ").concat(r,`;
776
+ }
777
+
778
+ .`).concat(Ju," .").concat(Ju,` {
779
+ right: 0 `).concat(r,`;
780
+ }
781
+
782
+ .`).concat(ec," .").concat(ec,` {
783
+ margin-right: 0 `).concat(r,`;
784
+ }
785
+
786
+ body {
787
+ `).concat(Cq,": ").concat(s,`px;
788
+ }
789
+ `)},Hq=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=d.exports.useMemo(function(){return Vq(o)},[o]);return L(zq,{styles:Uq(i,!t,o,n?"":"!important")})},Mv=!1;if(typeof window!="undefined")try{var Su=Object.defineProperty({},"passive",{get:function(){return Mv=!0,!0}});window.addEventListener("test",Su,Su),window.removeEventListener("test",Su,Su)}catch{Mv=!1}var li=Mv?{passive:!1}:!1,Gq=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},Yq=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},A2=function(e,t){var n=t;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=qT(e,n);if(r){var o=KT(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Wq=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},qq=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},qT=function(e,t){return e==="v"?Gq(t):Yq(t)},KT=function(e,t){return e==="v"?Wq(t):qq(t)},Kq=function(e,t){return e==="h"&&t==="rtl"?-1:1},Xq=function(e,t,n,r,o){var i=Kq(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,f=0,p=0;do{var h=KT(e,s),v=h[0],m=h[1],_=h[2],g=m-_-i*v;(v||g)&&qT(e,s)&&(f+=g,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&f===0||!o&&a>f)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Cu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},$2=function(e){return[e.deltaX,e.deltaY]},T2=function(e){return e&&"current"in e?e.current:e},Zq=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Qq=function(e){return`
790
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
791
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
792
+ `)},Jq=0,ui=[];function eK(e){var t=d.exports.useRef([]),n=d.exports.useRef([0,0]),r=d.exports.useRef(),o=d.exports.useState(Jq++)[0],i=d.exports.useState(function(){return WT()})[0],a=d.exports.useRef(e);d.exports.useEffect(function(){a.current=e},[e]),d.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Eq([e.lockRef.current],(e.shards||[]).map(T2),!0).filter(Boolean);return m.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var g=Cu(m),y=n.current,x="deltaX"in m?m.deltaX:y[0]-g[0],w="deltaY"in m?m.deltaY:y[1]-g[1],b,E=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&E.type==="range")return!1;var C=A2(S,E);if(!C)return!0;if(C?b=S:(b=S==="v"?"h":"v",C=A2(S,E)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=b),!b)return!0;var T=r.current||b;return Xq(T,_,m,T==="h"?x:w,!0)},[]),l=d.exports.useCallback(function(m){var _=m;if(!(!ui.length||ui[ui.length-1]!==i)){var g="deltaY"in _?$2(_):Cu(_),y=t.current.filter(function(b){return b.name===_.type&&b.target===_.target&&Zq(b.delta,g)})[0];if(y&&y.should){_.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(T2).filter(Boolean).filter(function(b){return b.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=d.exports.useCallback(function(m,_,g,y){var x={name:m,delta:_,target:g,should:y};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=d.exports.useCallback(function(m){n.current=Cu(m),r.current=void 0},[]),f=d.exports.useCallback(function(m){u(m.type,$2(m),m.target,s(m,e.lockRef.current))},[]),p=d.exports.useCallback(function(m){u(m.type,Cu(m),m.target,s(m,e.lockRef.current))},[]);d.exports.useEffect(function(){return ui.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,li),document.addEventListener("touchmove",l,li),document.addEventListener("touchstart",c,li),function(){ui=ui.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,li),document.removeEventListener("touchmove",l,li),document.removeEventListener("touchstart",c,li)}},[]);var h=e.removeScrollBar,v=e.inert;return Qe(Og,{children:[v?L(i,{styles:Qq(o)}):null,h?L(Hq,{gapMode:"margin"}):null]})}var tK=kq(YT,eK),XT=d.exports.forwardRef(function(e,t){return L(Kd,{...On({},e,{ref:t,sideCar:tK})})});XT.classNames=Kd.classNames;var nK=XT;const ZT="Popover",[QT,_Z]=Al(ZT,[VT]),Xd=VT(),[rK,Tl]=QT(ZT),oK=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=Xd(t),l=d.exports.useRef(null),[u,c]=d.exports.useState(!1),[f=!1,p]=R1({prop:r,defaultProp:o,onChange:i});return d.exports.createElement(pq,s,d.exports.createElement(rK,{scope:t,contentId:S1(),triggerRef:l,open:f,onOpenChange:p,onOpenToggle:d.exports.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:u,onCustomAnchorAdd:d.exports.useCallback(()=>c(!0),[]),onCustomAnchorRemove:d.exports.useCallback(()=>c(!1),[]),modal:a},n))},iK="PopoverTrigger",aK=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Tl(iK,n),i=Xd(n),a=Vn(t,o.triggerRef),s=d.exports.createElement(Kt.button,$e({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":e3(o.open)},r,{ref:a,onClick:yt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:d.exports.createElement(hq,$e({asChild:!0},i),s)}),sK="PopoverPortal",[wZ,lK]=QT(sK,{forceMount:void 0}),tl="PopoverContent",uK=d.exports.forwardRef((e,t)=>{const n=lK(tl,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=Tl(tl,e.__scopePopover);return d.exports.createElement(T1,{present:r||i.open},i.modal?d.exports.createElement(cK,$e({},o,{ref:t})):d.exports.createElement(fK,$e({},o,{ref:t})))}),cK=d.exports.forwardRef((e,t)=>{const n=Tl(tl,e.__scopePopover),r=d.exports.useRef(null),o=Vn(t,r),i=d.exports.useRef(!1);return d.exports.useEffect(()=>{const a=r.current;if(a)return bq(a)},[]),d.exports.createElement(nK,{as:el,allowPinchZoom:!0},d.exports.createElement(JT,$e({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:yt(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:yt(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:yt(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),fK=d.exports.forwardRef((e,t)=>{const n=Tl(tl,e.__scopePopover),r=d.exports.useRef(!1);return d.exports.createElement(JT,$e({},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?void 0:a.contains(s))&&o.preventDefault()}}))}),JT=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,p=Tl(tl,n),h=Xd(n);return aW(),d.exports.createElement(sW,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},d.exports.createElement(rW,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},d.exports.createElement(mq,$e({"data-state":e3(p.open),role:"dialog",id:p.contentId},h,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),dK=d.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Xd(n);return d.exports.createElement(vq,$e({},o,r,{ref:t}))});function e3(e){return e?"open":"closed"}const t3=oK,n3=aK,r3=uK,o3=dK,pK=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),hK=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),mK=q(n3)`
793
+ background: none;
794
+ border: none;
795
+ padding: 2px;
796
+ margin: 0 0 0 ${M["--ll-spacing-x-small"]};
797
+ flex-shrink: 0;
798
+ box-sizing: content-box;
799
+ `,vK=q(r3)`
800
+ background-color: ${M["--ll-color-background"]};
801
+ padding: ${M["--ll-spacing-small"]};
802
+ border-radius: ${M["--ll-border-radius-small"]};
803
+ box-shadow: ${M["--ll-shadow-small"]};
804
+ z-index: 1;
805
+ width: 240px;
806
+ max-width: 100vw;
807
+ `,gK=q.div`
808
+ display: flex;
809
+ align-items: flex-start;
810
+ justify-content: space-between;
811
+ `,yK=q(o3)`
812
+ fill: ${M["--ll-color-background"]};
813
+ `,xK=()=>{const{options:{data:e,score:t}}=Cl(),{textVal:n}=Sl({data:e,score:t}),[r,o]=d.exports.useState(!1),i=Xo([vT,mT]);return n?Gt(gK,{children:[Gt(St,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[n,"."]}),Gt(t3,{open:r,onOpenChange:o,children:[J(mK,{children:J(_l,{SVGElement:r?pK:hK,fill:M["--ll-color-primary"],height:20,width:20})}),Gt(vK,{collisionPadding:Dt*2,children:[J(yK,{}),J(St,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:i[`${t}-description`]})]})]})]}):null},_K=e=>{const{data:t,score:n}=e.options,{scoreVal:r}=Sl({data:t,score:n});return!t||r===null?null:J(hT.Provider,{value:{...e},children:e.children})};var bZ=Object.freeze(Object.defineProperty({__proto__:null,Badge:LY,Title:gT,Icon:$T,BarChart:GY,Description:xK,Root:_K},Symbol.toStringTag,{value:"Module"}));const wK={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propuls\xE9 par"}};var bK="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=";const EK=q.a`
814
+ display: flex;
815
+ align-items: center;
816
+ justify-content: center;
817
+ text-decoration: none;
818
+ margin-top: 1px;
819
+ width: 100%;
820
+ `,SK=q.img`
821
+ height: 20px;
822
+ margin-left: ${M["--ll-spacing-base-unit"]};
823
+ `,CK=q(St)`
824
+ line-height: initial;
825
+ `,AK=()=>{const e=Xo([wK]);return Gt(EK,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[J(CK,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),J(SK,{src:bK})]})};var $K=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),EZ=Object.freeze(Object.defineProperty({__proto__:null,Root:AK,Types:$K},Symbol.toStringTag,{value:"Module"}));const mf={small:20,medium:32,large:40},TK=q(C5.div)`
826
+ background: linear-gradient(
827
+ to top,
828
+ ${({backgroundColorHighlight:e})=>e},
829
+ ${({backgroundColor:e})=>e}
830
+ );
831
+ border-radius: 50%;
832
+ border: 2px solid #fff;
833
+ height: ${({size:e})=>mf[e]}px;
834
+ width: ${({size:e})=>mf[e]}px;
835
+ display: flex;
836
+ justify-content: center;
837
+ align-items: center;
838
+ box-shadow: ${M["--ll-shadow-small"]};
839
+ `,i3=({fill:e="#fff",backgroundColor:t=M["--ll-color-primary"],backgroundColorHighlight:n=t,SVGElement:r,size:o="small",expandMarker:i})=>J(TK,{backgroundColor:t,backgroundColorHighlight:n,size:o,variants:{default:{scale:1},hovered:{scale:1.2}},animate:i?"hovered":"default",whileHover:{scale:1.2},transition:Xu.transitions.default,children:J(_l,{SVGElement:r,fill:e,height:mf[o]/1.5,width:mf[o]/1.5})}),RK=e=>L("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:L("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}),PK=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),OK=({options:e})=>J(i3,{SVGElement:e.style==="house"?RK:PK,size:"large",backgroundColor:M["--ll-color-primary"],backgroundColorHighlight:M["--ll-color-primary-variant1"]});var kK=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),SZ=Object.freeze(Object.defineProperty({__proto__:null,Root:OK,Types:kK},Symbol.toStringTag,{value:"Module"}));const a3=ee.createContext({}),s3=()=>d.exports.useContext(a3),NK=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),LK=e=>L("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),MK=e=>L("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:L("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"})}),DK=e=>Qe("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("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"})]}),FK=e=>Qe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[L("path",{d:"M0 0h24v24H0z",fill:"none"}),L("circle",{cx:4.5,cy:9.5,r:2.5}),L("circle",{cx:9,cy:5.5,r:2.5}),L("circle",{cx:15,cy:5.5,r:2.5}),L("circle",{cx:19.5,cy:9.5,r:2.5}),L("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"})]}),IK=e=>Qe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[L("path",{d:"M0 0h24v24H0z",fill:"none"}),L("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"})]}),jK=e=>Qe("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[L("path",{d:"M0 0h24v24H0z",fill:"none"}),L("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"})]}),BK=e=>Qe("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[L("g",{children:L("rect",{fill:"none",height:24,width:24})}),L("g",{children:Qe("g",{children:[L("g",{children:L("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"})}),L("g",{children:L("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"})})]})})]}),VK=e=>Qe("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[L("g",{children:L("rect",{fill:"none",height:24,width:24})}),L("g",{children:L("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"})})]}),zK=e=>Qe("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:[L("rect",{fill:"none",height:24,width:24}),L("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"})]}),UK={groceries:MK,groceries_specialized:bT,shopping:_T,nightlife:wT,restaurants:Tv,healthy_restaurants:Tv,cafes:xT,daycares:ST,bus_stops:yT,rapid_transit_stations:NK,train_stations:LK,parks:ET,fitness:jK,personal_care:CT,pet_care:FK,car_fueling_stations:IK,health_care:zK,sport_facilities:DK,art_culture_science:VK,home_improvement:BK,primary_schools:AT,high_schools:E1},HK=q(n3)`
840
+ background: none;
841
+ border: none;
842
+ padding: 0;
843
+ `,GK=()=>{const{options:{type:e,isOpen:t,isHovered:n}}=s3();return J(HK,{children:J(i3,{SVGElement:UK[e],expandMarker:t||n,backgroundColor:M["--ll-color-primary"],backgroundColorHighlight:M["--ll-color-primary-variant1"]})})},YK=q(r3)`
844
+ padding: ${M["--ll-spacing-small"]};
845
+ background-color: ${M["--ll-color-background"]};
846
+ box-shadow: ${M["--ll-shadow-small"]};
847
+ border-radius: ${M["--ll-border-radius-small"]};
848
+ width: 240px;
849
+ `,WK=q(o3)`
850
+ fill: ${M["--ll-color-background"]};
851
+ `,qK=()=>{const{options:{poi:e,side:t,collisionPadding:n}}=s3();return Gt(YK,{side:t,collisionPadding:n,sideOffset:Dt*2,children:[J(WK,{}),J(St,{variant:"h4",children:e.name}),e.address&&J(St,{variant:"p",children:e.address})]})},KK=e=>J(t3,{open:e.options.isOpen,onOpenChange:t=>e.onChange&&e.onChange({type:"open-change",data:t}),children:J(a3.Provider,{value:{...e},children:e.children})});var XK=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),CZ=Object.freeze(Object.defineProperty({__proto__:null,Types:XK,Marker:GK,Content:qK,Root:KK},Symbol.toStringTag,{value:"Module"}));const ZK=(e,t)=>t==="school",QK=q.ul`
852
+ list-style: none;
853
+ padding: 0;
854
+ margin-bottom: 0;
855
+ `,JK=q.li`
856
+ padding: ${M["--ll-spacing-x-small"]};
857
+ margin-bottom: ${M["--ll-spacing-xx-small"]};
858
+ border-radius: ${M["--ll-border-radius-small"]};
859
+ background-color: ${({isActive:e})=>e&&M["--ll-color-surface-variant1"]};
860
+ background-color: ${({isHovered:e})=>e&&M["--ll-color-surface-variant1"]};
861
+ `,R2=q.div`
862
+ display: flex;
863
+ flex-wrap: wrap;
864
+ `,P2=q(hU)`
865
+ margin-right: 2px;
866
+ margin-bottom: 2px;
867
+ `,eX=({options:{data:e,type:t,activePOI:n,hoveredPOI:r},onChange:o})=>J(QK,{children:e.map((i,a)=>{var s,l,u;return Gt(JK,{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:[J(St,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:i.name}),ZK(i,t)?J(R2,{children:(l=(s=i.school_attributes)==null?void 0:s.types)==null?void 0:l.map((c,f)=>J(P2,{text:c},c))}):J(R2,{children:(u=i.routes)==null?void 0:u.map((c,f)=>J(P2,{text:c.short_name,backgroundColor:c.route_color,textColor:c.text_color},c.short_name+f))})]},`${i.name}-${i.lat}-${i.lng}-${a}`)})});var tX=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),AZ=Object.freeze(Object.defineProperty({__proto__:null,Root:eX,Types:tX},Symbol.toStringTag,{value:"Module"}));const l3=ee.createContext({}),u3=()=>d.exports.useContext(l3),c3={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"}},f3=e=>{const{scoreCategory:t}=u3(),n=Xo([c3]);return J(St,{...e.options,children:n[t]})};f3.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const nX=e=>L("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),rX=e=>Qe("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("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"}),L("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"}),L("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"}),L("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"})]}),oX=e=>Qe("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[L("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"}),L("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"})]}),iX=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("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"})}),d3=[{value:"commute",icon:nX,scores:["pedestrian_friendly","cycling_friendly","transit_friendly","car_friendly"]},{value:"amenities",icon:iX,scores:["groceries","cafes","restaurants","shopping","wellness"]},{value:"character",icon:rX,scores:["vibrant","quiet","nightlife","historic"]},{value:"nature",icon:oX,scores:["parks","greenery"]},{value:"education",icon:E1,scores:["high_schools","primary_schools","daycares"]}],p3=({options:e})=>{const{scoreCategory:t}=u3(),n=d3.find(r=>r.value===t);return J(_l,{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})};p3.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const h3=({options:e,children:t})=>J(l3.Provider,{value:{...e},children:t});var m3=Object.freeze(Object.defineProperty({__proto__:null,Root:h3,Title:f3,Icon:p3},Symbol.toStringTag,{value:"Module"}));function aX(e){const t=e+"CollectionProvider",[n,r]=Al(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=ee.useRef(null),g=ee.useRef(new Map).current;return L(o,{scope:v,itemMap:g,collectionRef:_,children:m})},s=e+"CollectionSlot",l=ee.forwardRef((h,v)=>{const{scope:m,children:_}=h,g=i(s,m),y=Vn(v,g.collectionRef);return ee.createElement(el,{ref:y},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=ee.forwardRef((h,v)=>{const{scope:m,children:_,...g}=h,y=ee.useRef(null),x=Vn(v,y),w=i(u,m);return ee.useEffect(()=>(w.itemMap.set(y,{ref:y,...g}),()=>void w.itemMap.delete(y))),ee.createElement(el,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return ee.useCallback(()=>{const _=v.collectionRef.current;if(!_)return[];const g=Array.from(_.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((w,b)=>g.indexOf(w.ref.current)-g.indexOf(b.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:f},p,r]}const sX=d.exports.createContext(void 0);function v3(e){const t=d.exports.useContext(sX);return e||t||"ltr"}const bh="rovingFocusGroup.onEntryFocus",lX={bubbles:!1,cancelable:!0},P1="RovingFocusGroup",[Dv,g3,uX]=aX(P1),[cX,y3]=Al(P1,[uX]),[fX,dX]=cX(P1),pX=d.exports.forwardRef((e,t)=>d.exports.createElement(Dv.Provider,{scope:e.__scopeRovingFocusGroup},d.exports.createElement(Dv.Slot,{scope:e.__scopeRovingFocusGroup},d.exports.createElement(hX,$e({},e,{ref:t}))))),hX=d.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,f=d.exports.useRef(null),p=Vn(t,f),h=v3(i),[v=null,m]=R1({prop:a,defaultProp:s,onChange:l}),[_,g]=d.exports.useState(!1),y=ao(u),x=g3(n),w=d.exports.useRef(!1);return d.exports.useEffect(()=>{const b=f.current;if(b)return b.addEventListener(bh,y),()=>b.removeEventListener(bh,y)},[y]),d.exports.createElement(fX,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:v,onItemFocus:d.exports.useCallback(b=>m(b),[m]),onItemShiftTab:d.exports.useCallback(()=>g(!0),[])},d.exports.createElement(Kt.div,$e({tabIndex:_?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:yt(e.onMouseDown,()=>{w.current=!0}),onFocus:yt(e.onFocus,b=>{const E=!w.current;if(b.target===b.currentTarget&&E&&!_){const S=new CustomEvent(bh,lX);if(b.currentTarget.dispatchEvent(S),!S.defaultPrevented){const C=x().filter(H=>H.focusable),T=C.find(H=>H.active),k=C.find(H=>H.id===v),F=[T,k,...C].filter(Boolean).map(H=>H.ref.current);x3(F)}}w.current=!1}),onBlur:yt(e.onBlur,()=>g(!1))})))}),mX="RovingFocusGroupItem",vX=d.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,...i}=e,a=S1(),s=dX(mX,n),l=s.currentTabStopId===a,u=g3(n);return d.exports.createElement(Dv.ItemSlot,{scope:n,id:a,focusable:r,active:o},d.exports.createElement(Kt.span,$e({tabIndex:l?0:-1,"data-orientation":s.orientation},i,{ref:t,onMouseDown:yt(e.onMouseDown,c=>{r?s.onItemFocus(a):c.preventDefault()}),onFocus:yt(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:yt(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){s.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const f=xX(c,s.orientation,s.dir);if(f!==void 0){c.preventDefault();let h=u().filter(v=>v.focusable).map(v=>v.ref.current);if(f==="last")h.reverse();else if(f==="prev"||f==="next"){f==="prev"&&h.reverse();const v=h.indexOf(c.currentTarget);h=s.loop?_X(h,v+1):h.slice(v+1)}setTimeout(()=>x3(h))}})})))}),gX={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yX(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function xX(e,t,n){const r=yX(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return gX[r]}function x3(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function _X(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const wX=pX,bX=vX,_3="Tabs",[EX,$Z]=Al(_3,[y3]),w3=y3(),[SX,O1]=EX(_3),CX=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=v3(s),[f,p]=R1({prop:r,onChange:o,defaultProp:i});return d.exports.createElement(SX,{scope:n,baseId:S1(),value:f,onValueChange:p,orientation:a,dir:c,activationMode:l},d.exports.createElement(Kt.div,$e({dir:c,"data-orientation":a},u,{ref:t})))}),AX="TabsList",$X=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=O1(AX,n),a=w3(n);return d.exports.createElement(wX,$e({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),d.exports.createElement(Kt.div,$e({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),TX="TabsTrigger",RX=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=O1(TX,n),s=w3(n),l=b3(a.baseId,r),u=E3(a.baseId,r),c=r===a.value;return d.exports.createElement(bX,$e({asChild:!0},s,{focusable:!o,active:c}),d.exports.createElement(Kt.button,$e({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:yt(e.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?a.onValueChange(r):f.preventDefault()}),onKeyDown:yt(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&a.onValueChange(r)}),onFocus:yt(e.onFocus,()=>{const f=a.activationMode!=="manual";!c&&!o&&f&&a.onValueChange(r)})})))}),PX="TabsContent",OX=d.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,s=O1(PX,n),l=b3(s.baseId,r),u=E3(s.baseId,r),c=r===s.value,f=d.exports.useRef(c);return d.exports.useEffect(()=>{const p=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(p)},[]),d.exports.createElement(T1,{present:o||c},({present:p})=>d.exports.createElement(Kt.div,$e({"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:f.current?"0s":void 0}}),p&&i))});function b3(e,t){return`${e}-trigger-${t}`}function E3(e,t){return`${e}-content-${t}`}const S3=CX,C3=$X,A3=RX,$3=OX,T3=e=>{const t=d.exports.useRef(e);return d.exports.useEffect(()=>{t.current=e}),d.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])},kX=({defaultValue:e,onChange:t})=>{const n=d.exports.useState(e),[r]=n,o=d.exports.useRef(r),i=T3(t==null?void 0:t.func);return d.exports.useEffect(()=>{o.current!==r&&t&&(i({type:t.key,data:r}),o.current=r)},[r,o,i]),n},NX=({controlledValue:e,onChange:t,defaultValue:n})=>{const[r,o]=kX({defaultValue:n,onChange:t}),i=e!==void 0,a=i?e:r,s=T3(t==null?void 0:t.func),l=d.exports.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&t&&s({type:t.key,data:f})}else o(u)},[i,a,o,s]);return[a,l]},R3=ee.createContext({}),LX=()=>d.exports.useContext(R3),MX=({children:e,options:{value:t}})=>J($3,{value:t,children:J(h3,{options:{scoreCategory:t},children:e})},t),{Title:DX}=m3,{Icon:FX}=m3,IX=q(C3)`
868
+ display: grid;
869
+ grid-auto-columns: minmax(0, 1fr);
870
+ grid-auto-flow: column;
871
+ background-color: ${M["--ll-color-background"]};
872
+ `,jX=q(A3)`
873
+ background: none;
874
+ border: none;
875
+ padding: 0;
876
+ display: flex;
877
+ flex-direction: column;
878
+ align-items: center;
879
+ `,BX=()=>{const{currentTab:e}=LX(),t=Xo([c3]);return J(IX,{"aria-label":"Score tabs",children:d3.map(n=>{const o=n.value===e?"--ll-color-primary":"--ll-color-disabled";return J(d.exports.Fragment,{children:Gt(jX,{value:n.value,children:[J(_l,{SVGElement:n.icon,fill:M[o]}),J(St,{noMargin:!0,variant:"caption1",color:o,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)})})},VX=({options:e,onChange:t,children:n})=>{const[r,o]=NX({controlledValue:e.currentTab,onChange:{func:t,key:"tabs"},defaultValue:e.defaultTab||"commute"});return J(R3.Provider,{value:{...e,currentTab:r},children:J(S3,{value:r,orientation:"vertical",defaultValue:r,onValueChange:i=>o(i),children:n})})};var TZ=Object.freeze(Object.defineProperty({__proto__:null,Root:VX,Tabs:BX,Content:MX,Title:DX,Icon:FX},Symbol.toStringTag,{value:"Module"}));const P3=ee.createContext({}),zX=()=>d.exports.useContext(P3),UX={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Metro",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"}},HX=q(A3)`
880
+ margin-right: ${M["--ll-spacing-xx-small"]};
881
+ margin-bottom: ${M["--ll-spacing-xx-small"]};
882
+ `,GX=()=>{const{include:e,activeTab:t,setActiveTab:n}=zX(),r=Xo([UX]);return e.length<=1?null:J(C3,{"aria-label":"tabs example",children:e.map(o=>J(HX,{value:o,asChild:!0,children:J($5,{size:"small",variant:o===t?"contained":"outlined",onClick:()=>n(o),children:r[o]})},o))})},YX=({children:e,options:{value:t}})=>J($3,{value:t,children:e},t),WX=({options:e,children:t})=>{const[n,r]=d.exports.useState(e.include[0]);return J(P3.Provider,{value:{...e,activeTab:n,setActiveTab:r},children:J(S3,{value:n,children:t})})},qX={pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants"],cafes:["cafes"],shopping:["shopping"],wellness:["fitness","healthy_restaurants","health_care","sport_facilities"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:[],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]};var KX=Object.freeze(Object.defineProperty({__proto__:null,scorePois:qX},Symbol.toStringTag,{value:"Module"})),RZ=Object.freeze(Object.defineProperty({__proto__:null,Root:WX,Tabs:GX,Content:YX,Constants:KX},Symbol.toStringTag,{value:"Module"}));const XX=({children:e})=>{var r,o;const{sdkState:t}=BM();if(!(t!=null&&t.apiKey))throw Error("A valid apiKey must be provided.");const n=vI(t.apiKey,{locale:(r=t==null?void 0:t.globalOptions)==null?void 0:r.locale});return L(OY,{client:n,options:{appearance:(o=t==null?void 0:t.globalOptions)==null?void 0:o.appearance},children:e})},ZX=q.div`
883
+ height: 100%;
884
+ width: 100%;
885
+ display: flex;
886
+ align-items: center;
887
+ justify-content: center;
888
+ flex-direction: column;
889
+ `,QX=({error:e})=>Qe(ZX,{children:[L(Tx,{variant:"h4",children:"An error occurred"}),L(Tx,{variant:"p",color:"--ll-color-on-background-variant1",children:e.message})]}),JX=new QL({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),eZ=()=>Qe(Og,{children:[L($6,{}),L(LL,{FallbackComponent:QX,children:L(fM,{children:L(JL,{client:JX,children:L(EA,{children:L(XX,{children:L(Ag,{})})})})})})]});LO({dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new tg],tracesSampleRate:1,environment:"production",enabled:!0});Eh.createRoot(document.getElementById("root")).render(L(ee.StrictMode,{children:L(eZ,{})}));export{Vv as $,na as A,AZ as B,Y as C,lZ as D,bZ as E,Og as F,cZ as G,m3 as H,hg as I,nZ as J,TZ as K,IS as L,Tx as M,EZ as N,sZ as O,ee as R,md as S,id as U,nM as _,DL as a,Bp as b,Rg as c,Et as d,d as e,Gm as f,tZ as g,d3 as h,$g as i,L as j,$t as k,RZ as l,PY as m,hn as n,BM as o,jp as p,DM as q,jL as r,fZ as s,FL as t,dZ as u,SZ as v,q as w,Qe as x,CZ as y,Jn as z};