@local-logic/sdks-app 1.2.3 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/assets/index-legacy.008d8ab5.js +40 -0
  2. package/dist/assets/index-legacy.74694904.js +1 -0
  3. package/dist/assets/index-legacy.ad6dd738.js +8 -0
  4. package/dist/assets/{index-legacy.07116093.js → index-legacy.f7e0f85f.js} +1 -1
  5. package/dist/assets/{index.c1827e8f.js → index.1e974327.js} +9 -9
  6. package/dist/assets/{index.1b45b39b.js → index.3a10cc5f.js} +80 -75
  7. package/dist/assets/index.465d1ec4.js +242 -0
  8. package/dist/assets/index.c6852ed8.js +1109 -0
  9. package/dist/assets/{polyfills-legacy.d3683099.js → polyfills-legacy.9624f473.js} +1 -1
  10. package/dist/index.html +3 -3
  11. package/dist/types/components/Search/index.d.ts +3 -3
  12. package/dist/types/components/Search/index.d.ts.map +1 -1
  13. package/dist/types/components/Search/index.js +26 -20
  14. package/dist/types/components/Search/index.js.map +1 -1
  15. package/dist/types/components/Search/styles.d.ts +2 -2
  16. package/dist/types/components/Search/styles.js +3 -3
  17. package/dist/types/sdks/DataExplorer/components/Map/index.d.ts.map +1 -1
  18. package/dist/types/sdks/DataExplorer/components/Map/index.js +1 -1
  19. package/dist/types/sdks/DataExplorer/components/Map/index.js.map +1 -1
  20. package/dist/types/sdks/LocalContent/Map/CommuteContainer/CommuteCalculator/index.js +1 -1
  21. package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.d.ts.map +1 -1
  22. package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.js +1 -2
  23. package/dist/types/sdks/LocalContent/Map/CommuteContainer/index.js.map +1 -1
  24. package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.d.ts +1 -0
  25. package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.d.ts.map +1 -1
  26. package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.js +4 -1
  27. package/dist/types/sdks/LocalContent/Map/CommuteContainer/styles.js.map +1 -1
  28. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.d.ts +14 -1
  29. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.d.ts.map +1 -1
  30. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.js +44 -3
  31. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.js.map +1 -1
  32. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.d.ts +3 -1
  33. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.d.ts.map +1 -1
  34. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.js +23 -1
  35. package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.js.map +1 -1
  36. package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.d.ts +16 -0
  37. package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.d.ts.map +1 -0
  38. package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.js +53 -0
  39. package/dist/types/sdks/LocalContent/Map/Markers/Marker/index.js.map +1 -0
  40. package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts.map +1 -1
  41. package/dist/types/sdks/LocalContent/Map/Markers/index.js +6 -52
  42. package/dist/types/sdks/LocalContent/Map/Markers/index.js.map +1 -1
  43. package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
  44. package/dist/types/sdks/LocalContent/Map/index.js +6 -0
  45. package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
  46. package/dist/types/sdks/LocalContent/index.d.ts.map +1 -1
  47. package/dist/types/sdks/LocalContent/index.js +5 -2
  48. package/dist/types/sdks/LocalContent/index.js.map +1 -1
  49. package/dist/types/services/storage/browserStorage.d.ts +46 -0
  50. package/dist/types/services/storage/browserStorage.d.ts.map +1 -0
  51. package/dist/types/services/storage/browserStorage.js +56 -0
  52. package/dist/types/services/storage/browserStorage.js.map +1 -0
  53. package/dist/types/services/storage/commuteHistory.d.ts +46 -0
  54. package/dist/types/services/storage/commuteHistory.d.ts.map +1 -0
  55. package/dist/types/services/storage/commuteHistory.js +54 -0
  56. package/dist/types/services/storage/commuteHistory.js.map +1 -0
  57. package/package.json +4 -3
  58. package/dist/assets/auto-track-legacy.541af3f5.js +0 -1
  59. package/dist/assets/auto-track.10e7c441.js +0 -1
  60. package/dist/assets/index-legacy.4d95875e.js +0 -40
  61. package/dist/assets/index-legacy.60d9e590.js +0 -1
  62. package/dist/assets/index-legacy.690811dc.js +0 -1
  63. package/dist/assets/index-legacy.89760bd0.js +0 -1
  64. package/dist/assets/index-legacy.a4b02181.js +0 -1
  65. package/dist/assets/index-legacy.be4ae81b.js +0 -672
  66. package/dist/assets/index-legacy.d24a67f5.js +0 -1
  67. package/dist/assets/index-legacy.d281a40b.js +0 -1
  68. package/dist/assets/index-legacy.d7f5a5d6.js +0 -1
  69. package/dist/assets/index.0c5b062b.js +0 -1345
  70. package/dist/assets/index.1787c8e5.js +0 -1
  71. package/dist/assets/index.24a102e7.js +0 -1
  72. package/dist/assets/index.27821d72.js +0 -1155
  73. package/dist/assets/index.7dae5d4e.js +0 -1
  74. package/dist/assets/index.99863166.js +0 -221
  75. package/dist/assets/index.ca339fe1.js +0 -1
  76. package/dist/assets/index.e50321f4.js +0 -1
  77. package/dist/assets/index.umd-legacy.84ee2b87.js +0 -1
  78. package/dist/assets/index.umd.703b7a5f.js +0 -1
  79. package/dist/assets/is-plan-event-enabled-legacy.0a339854.js +0 -1
  80. package/dist/assets/is-plan-event-enabled.681b46ca.js +0 -1
@@ -0,0 +1,1109 @@
1
+ function qX(){import("data:text/javascript,")}function ZP(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var KX=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function g2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var f={exports:{}},pe={};/**
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 Ks=Symbol.for("react.element"),QP=Symbol.for("react.portal"),JP=Symbol.for("react.fragment"),ek=Symbol.for("react.strict_mode"),tk=Symbol.for("react.profiler"),nk=Symbol.for("react.provider"),rk=Symbol.for("react.context"),ok=Symbol.for("react.forward_ref"),ik=Symbol.for("react.suspense"),ak=Symbol.for("react.memo"),sk=Symbol.for("react.lazy"),d1=Symbol.iterator;function lk(e){return e===null||typeof e!="object"?null:(e=d1&&e[d1]||e["@@iterator"],typeof e=="function"?e:null)}var y2={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x2=Object.assign,_2={};function na(e,t,n){this.props=e,this.context=t,this.refs=_2,this.updater=n||y2}na.prototype.isReactComponent={};na.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")};na.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function w2(){}w2.prototype=na.prototype;function fv(e,t,n){this.props=e,this.context=t,this.refs=_2,this.updater=n||y2}var pv=fv.prototype=new w2;pv.constructor=fv;x2(pv,na.prototype);pv.isPureReactComponent=!0;var f1=Array.isArray,E2=Object.prototype.hasOwnProperty,hv={current:null},b2={key:!0,ref:!0,__self:!0,__source:!0};function S2(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)E2.call(t,r)&&!b2.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:Ks,type:e,key:i,ref:a,props:o,_owner:hv.current}}function uk(e,t){return{$$typeof:Ks,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function mv(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ks}function ck(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var p1=/\/+/g;function Sf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ck(""+e.key):t.toString(36)}function uu(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 Ks:case QP:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Sf(a,0):r,f1(o)?(n="",e!=null&&(n=e.replace(p1,"$&/")+"/"),uu(o,t,n,"",function(u){return u})):o!=null&&(mv(o)&&(o=uk(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(p1,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",f1(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+Sf(i,s);a+=uu(i,t,n,l,o)}else if(l=lk(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+Sf(i,s++),a+=uu(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 yl(e,t,n){if(e==null)return e;var r=[],o=0;return uu(e,r,"","",function(i){return t.call(n,i,o++)}),r}function dk(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 $t={current:null},cu={transition:null},fk={ReactCurrentDispatcher:$t,ReactCurrentBatchConfig:cu,ReactCurrentOwner:hv};pe.Children={map:yl,forEach:function(e,t,n){yl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return yl(e,function(){t++}),t},toArray:function(e){return yl(e,function(t){return t})||[]},only:function(e){if(!mv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};pe.Component=na;pe.Fragment=JP;pe.Profiler=tk;pe.PureComponent=fv;pe.StrictMode=ek;pe.Suspense=ik;pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fk;pe.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=x2({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=hv.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)E2.call(t,l)&&!b2.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:Ks,type:e.type,key:o,ref:i,props:r,_owner:a}};pe.createContext=function(e){return e={$$typeof:rk,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:nk,_context:e},e.Consumer=e};pe.createElement=S2;pe.createFactory=function(e){var t=S2.bind(null,e);return t.type=e,t};pe.createRef=function(){return{current:null}};pe.forwardRef=function(e){return{$$typeof:ok,render:e}};pe.isValidElement=mv;pe.lazy=function(e){return{$$typeof:sk,_payload:{_status:-1,_result:e},_init:dk}};pe.memo=function(e,t){return{$$typeof:ak,type:e,compare:t===void 0?null:t}};pe.startTransition=function(e){var t=cu.transition;cu.transition={};try{e()}finally{cu.transition=t}};pe.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};pe.useCallback=function(e,t){return $t.current.useCallback(e,t)};pe.useContext=function(e){return $t.current.useContext(e)};pe.useDebugValue=function(){};pe.useDeferredValue=function(e){return $t.current.useDeferredValue(e)};pe.useEffect=function(e,t){return $t.current.useEffect(e,t)};pe.useId=function(){return $t.current.useId()};pe.useImperativeHandle=function(e,t,n){return $t.current.useImperativeHandle(e,t,n)};pe.useInsertionEffect=function(e,t){return $t.current.useInsertionEffect(e,t)};pe.useLayoutEffect=function(e,t){return $t.current.useLayoutEffect(e,t)};pe.useMemo=function(e,t){return $t.current.useMemo(e,t)};pe.useReducer=function(e,t,n){return $t.current.useReducer(e,t,n)};pe.useRef=function(e){return $t.current.useRef(e)};pe.useState=function(e){return $t.current.useState(e)};pe.useSyncExternalStore=function(e,t,n){return $t.current.useSyncExternalStore(e,t,n)};pe.useTransition=function(){return $t.current.useTransition()};pe.version="18.2.0";(function(e){e.exports=pe})(f);const J=g2(f.exports),vv=ZP({__proto__:null,default:J},[f.exports]);var Qp={},Wt={exports:{}},qt={},C2={exports:{}},A2={};/**
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(B,Z){var R=B.length;B.push(Z);e:for(;0<R;){var G=R-1>>>1,M=B[G];if(0<o(M,Z))B[G]=Z,B[R]=M,R=G;else break e}}function n(B){return B.length===0?null:B[0]}function r(B){if(B.length===0)return null;var Z=B[0],R=B.pop();if(R!==Z){B[0]=R;e:for(var G=0,M=B.length,k=M>>>1;G<k;){var $=2*(G+1)-1,N=B[$],A=$+1,K=B[A];if(0>o(N,R))A<M&&0>o(K,N)?(B[G]=K,B[A]=R,G=A):(B[G]=N,B[$]=R,G=$);else if(A<M&&0>o(K,R))B[G]=K,B[A]=R,G=A;else break e}}return Z}function o(B,Z){var R=B.sortIndex-Z.sortIndex;return R!==0?R:B.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,p=3,h=!1,v=!1,m=!1,_=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(B){for(var Z=n(u);Z!==null;){if(Z.callback===null)r(u);else if(Z.startTime<=B)r(u),Z.sortIndex=Z.expirationTime,t(l,Z);else break;Z=n(u)}}function w(B){if(m=!1,x(B),!v)if(n(l)!==null)v=!0,ce(E);else{var Z=n(u);Z!==null&&se(w,Z.startTime-B)}}function E(B,Z){v=!1,m&&(m=!1,y(C),C=-1),h=!0;var R=p;try{for(x(Z),d=n(l);d!==null&&(!(d.expirationTime>Z)||B&&!F());){var G=d.callback;if(typeof G=="function"){d.callback=null,p=d.priorityLevel;var M=G(d.expirationTime<=Z);Z=e.unstable_now(),typeof M=="function"?d.callback=M:d===n(l)&&r(l),x(Z)}else r(l);d=n(l)}if(d!==null)var k=!0;else{var $=n(u);$!==null&&se(w,$.startTime-Z),k=!1}return k}finally{d=null,p=R,h=!1}}var b=!1,S=null,C=-1,T=5,P=-1;function F(){return!(e.unstable_now()-P<T)}function z(){if(S!==null){var B=e.unstable_now();P=B;var Z=!0;try{Z=S(!0,B)}finally{Z?W():(b=!1,S=null)}}else b=!1}var W;if(typeof g=="function")W=function(){g(z)};else if(typeof MessageChannel<"u"){var H=new MessageChannel,ee=H.port2;H.port1.onmessage=z,W=function(){ee.postMessage(null)}}else W=function(){_(z,0)};function ce(B){S=B,b||(b=!0,W())}function se(B,Z){C=_(function(){B(e.unstable_now())},Z)}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(B){B.callback=null},e.unstable_continueExecution=function(){v||h||(v=!0,ce(E))},e.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<B?Math.floor(1e3/B):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(B){switch(p){case 1:case 2:case 3:var Z=3;break;default:Z=p}var R=p;p=Z;try{return B()}finally{p=R}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(B,Z){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var R=p;p=B;try{return Z()}finally{p=R}},e.unstable_scheduleCallback=function(B,Z,R){var G=e.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0<R?G+R:G):R=G,B){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=R+M,B={id:c++,callback:Z,priorityLevel:B,startTime:R,expirationTime:M,sortIndex:-1},R>G?(B.sortIndex=R,t(u,B),n(l)===null&&B===n(u)&&(m?(y(C),C=-1):m=!0,se(w,R-G))):(B.sortIndex=M,t(l,B),v||h||(v=!0,ce(E))),B},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(B){var Z=p;return function(){var R=p;p=Z;try{return B.apply(this,arguments)}finally{p=R}}}})(A2);(function(e){e.exports=A2})(C2);/**
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 $2=f.exports,Gt=C2.exports;function V(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 T2=new Set,fs={};function Vo(e,t){Li(e,t),Li(e+"Capture",t)}function Li(e,t){for(fs[e]=t,e=0;e<t.length;e++)T2.add(t[e])}var Jn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jp=Object.prototype.hasOwnProperty,pk=/^[: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]*$/,h1={},m1={};function hk(e){return Jp.call(m1,e)?!0:Jp.call(h1,e)?!1:pk.test(e)?m1[e]=!0:(h1[e]=!0,!1)}function mk(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 vk(e,t,n,r){if(t===null||typeof t>"u"||mk(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 ft={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ft[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];ft[t]=new Tt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ft[e]=new Tt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ft[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){ft[e]=new Tt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ft[e]=new Tt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ft[e]=new Tt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ft[e]=new Tt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ft[e]=new Tt(e,5,!1,e.toLowerCase(),null,!1,!1)});var gv=/[\-:]([a-z])/g;function yv(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(gv,yv);ft[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(gv,yv);ft[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(gv,yv);ft[t]=new Tt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ft[e]=new Tt(e,1,!1,e.toLowerCase(),null,!1,!1)});ft.xlinkHref=new Tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ft[e]=new Tt(e,1,!1,e.toLowerCase(),null,!0,!0)});function xv(e,t,n,r){var o=ft.hasOwnProperty(t)?ft[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(vk(t,n,o,r)&&(n=null),r||o===null?hk(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 dr=$2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xl=Symbol.for("react.element"),ri=Symbol.for("react.portal"),oi=Symbol.for("react.fragment"),_v=Symbol.for("react.strict_mode"),eh=Symbol.for("react.profiler"),P2=Symbol.for("react.provider"),k2=Symbol.for("react.context"),wv=Symbol.for("react.forward_ref"),th=Symbol.for("react.suspense"),nh=Symbol.for("react.suspense_list"),Ev=Symbol.for("react.memo"),br=Symbol.for("react.lazy"),R2=Symbol.for("react.offscreen"),v1=Symbol.iterator;function _a(e){return e===null||typeof e!="object"?null:(e=v1&&e[v1]||e["@@iterator"],typeof e=="function"?e:null)}var Be=Object.assign,Cf;function Na(e){if(Cf===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Cf=t&&t[1]||""}return`
26
+ `+Cf+e}var Af=!1;function $f(e,t){if(!e||Af)return"";Af=!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{Af=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Na(e):""}function gk(e){switch(e.tag){case 5:return Na(e.type);case 16:return Na("Lazy");case 13:return Na("Suspense");case 19:return Na("SuspenseList");case 0:case 2:case 15:return e=$f(e.type,!1),e;case 11:return e=$f(e.type.render,!1),e;case 1:return e=$f(e.type,!0),e;default:return""}}function rh(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 oi:return"Fragment";case ri:return"Portal";case eh:return"Profiler";case _v:return"StrictMode";case th:return"Suspense";case nh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case k2:return(e.displayName||"Context")+".Consumer";case P2:return(e._context.displayName||"Context")+".Provider";case wv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ev:return t=e.displayName||null,t!==null?t:rh(e.type)||"Memo";case br:t=e._payload,e=e._init;try{return rh(e(t))}catch(n){}}return null}function yk(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 rh(t);case 8:return t===_v?"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 Xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function O2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xk(e){var t=O2(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _l(e){e._valueTracker||(e._valueTracker=xk(e))}function M2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=O2(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Lu(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function oh(e,t){var n=t.checked;return Be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function g1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xr(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 N2(e,t){t=t.checked,t!=null&&xv(e,"checked",t,!1)}function ih(e,t){N2(e,t);var n=Xr(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")?ah(e,t.type,n):t.hasOwnProperty("defaultValue")&&ah(e,t.type,Xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function y1(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 ah(e,t,n){(t!=="number"||Lu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var La=Array.isArray;function Ei(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=""+Xr(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 sh(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return Be({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function x1(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(La(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Xr(n)}}function L2(e,t){var n=Xr(t.value),r=Xr(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 _1(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function D2(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 lh(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?D2(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var wl,F2=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(wl=wl||document.createElement("div"),wl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=wl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ps(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var za={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},_k=["Webkit","ms","Moz","O"];Object.keys(za).forEach(function(e){_k.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),za[t]=za[e]})});function I2(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||za.hasOwnProperty(e)&&za[e]?(""+t).trim():t+"px"}function j2(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=I2(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var wk=Be({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 uh(e,t){if(t){if(wk[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function ch(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 bv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fh=null,bi=null,Si=null;function w1(e){if(e=Qs(e)){if(typeof fh!="function")throw Error(V(280));var t=e.stateNode;t&&(t=Kc(t),fh(e.stateNode,e.type,t))}}function z2(e){bi?Si?Si.push(e):Si=[e]:bi=e}function V2(){if(bi){var e=bi,t=Si;if(Si=bi=null,w1(e),t)for(e=0;e<t.length;e++)w1(t[e])}}function B2(e,t){return e(t)}function U2(){}var Tf=!1;function H2(e,t,n){if(Tf)return e(t,n);Tf=!0;try{return B2(e,t,n)}finally{Tf=!1,(bi!==null||Si!==null)&&(U2(),V2())}}function hs(e,t){var n=e.stateNode;if(n===null)return null;var r=Kc(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(V(231,t,typeof n));return n}var ph=!1;if(Jn)try{var wa={};Object.defineProperty(wa,"passive",{get:function(){ph=!0}}),window.addEventListener("test",wa,wa),window.removeEventListener("test",wa,wa)}catch(e){ph=!1}function Ek(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 Va=!1,Du=null,Fu=!1,hh=null,bk={onError:function(e){Va=!0,Du=e}};function Sk(e,t,n,r,o,i,a,s,l){Va=!1,Du=null,Ek.apply(bk,arguments)}function Ck(e,t,n,r,o,i,a,s,l){if(Sk.apply(this,arguments),Va){if(Va){var u=Du;Va=!1,Du=null}else throw Error(V(198));Fu||(Fu=!0,hh=u)}}function Bo(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 G2(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 E1(e){if(Bo(e)!==e)throw Error(V(188))}function Ak(e){var t=e.alternate;if(!t){if(t=Bo(e),t===null)throw Error(V(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 E1(o),e;if(i===r)return E1(o),t;i=i.sibling}throw Error(V(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(V(189))}}if(n.alternate!==r)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function Y2(e){return e=Ak(e),e!==null?W2(e):null}function W2(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=W2(e);if(t!==null)return t;e=e.sibling}return null}var q2=Gt.unstable_scheduleCallback,b1=Gt.unstable_cancelCallback,$k=Gt.unstable_shouldYield,Tk=Gt.unstable_requestPaint,qe=Gt.unstable_now,Pk=Gt.unstable_getCurrentPriorityLevel,Sv=Gt.unstable_ImmediatePriority,K2=Gt.unstable_UserBlockingPriority,Iu=Gt.unstable_NormalPriority,kk=Gt.unstable_LowPriority,X2=Gt.unstable_IdlePriority,Gc=null,Mn=null;function Rk(e){if(Mn&&typeof Mn.onCommitFiberRoot=="function")try{Mn.onCommitFiberRoot(Gc,e,void 0,(e.current.flags&128)===128)}catch(t){}}var yn=Math.clz32?Math.clz32:Nk,Ok=Math.log,Mk=Math.LN2;function Nk(e){return e>>>=0,e===0?32:31-(Ok(e)/Mk|0)|0}var El=64,bl=4194304;function Da(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 ju(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=Da(s):(i&=a,i!==0&&(r=Da(i)))}else a=n&~o,a!==0?r=Da(a):i!==0&&(r=Da(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-yn(t),o=1<<n,r|=e[n],t&=~o;return r}function Lk(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 Dk(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-yn(i),s=1<<a,l=o[a];l===-1?((s&n)===0||(s&r)!==0)&&(o[a]=Lk(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function mh(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Z2(){var e=El;return El<<=1,(El&4194240)===0&&(El=64),e}function Pf(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yn(t),e[t]=n}function Fk(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-yn(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Cv(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-yn(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var _e=0;function Q2(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var J2,Av,eE,tE,nE,vh=!1,Sl=[],Fr=null,Ir=null,jr=null,ms=new Map,vs=new Map,Tr=[],Ik="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 S1(e,t){switch(e){case"focusin":case"focusout":Fr=null;break;case"dragenter":case"dragleave":Ir=null;break;case"mouseover":case"mouseout":jr=null;break;case"pointerover":case"pointerout":ms.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vs.delete(t.pointerId)}}function Ea(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=Qs(t),t!==null&&Av(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function jk(e,t,n,r,o){switch(t){case"focusin":return Fr=Ea(Fr,e,t,n,r,o),!0;case"dragenter":return Ir=Ea(Ir,e,t,n,r,o),!0;case"mouseover":return jr=Ea(jr,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ms.set(i,Ea(ms.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,vs.set(i,Ea(vs.get(i)||null,e,t,n,r,o)),!0}return!1}function rE(e){var t=bo(e.target);if(t!==null){var n=Bo(t);if(n!==null){if(t=n.tag,t===13){if(t=G2(n),t!==null){e.blockedOn=t,nE(e.priority,function(){eE(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 du(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=gh(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=Qs(n),t!==null&&Av(t),e.blockedOn=n,!1;t.shift()}return!0}function C1(e,t,n){du(e)&&n.delete(t)}function zk(){vh=!1,Fr!==null&&du(Fr)&&(Fr=null),Ir!==null&&du(Ir)&&(Ir=null),jr!==null&&du(jr)&&(jr=null),ms.forEach(C1),vs.forEach(C1)}function ba(e,t){e.blockedOn===t&&(e.blockedOn=null,vh||(vh=!0,Gt.unstable_scheduleCallback(Gt.unstable_NormalPriority,zk)))}function gs(e){function t(o){return ba(o,e)}if(0<Sl.length){ba(Sl[0],e);for(var n=1;n<Sl.length;n++){var r=Sl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Fr!==null&&ba(Fr,e),Ir!==null&&ba(Ir,e),jr!==null&&ba(jr,e),ms.forEach(t),vs.forEach(t),n=0;n<Tr.length;n++)r=Tr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Tr.length&&(n=Tr[0],n.blockedOn===null);)rE(n),n.blockedOn===null&&Tr.shift()}var Ci=dr.ReactCurrentBatchConfig,zu=!0;function Vk(e,t,n,r){var o=_e,i=Ci.transition;Ci.transition=null;try{_e=1,$v(e,t,n,r)}finally{_e=o,Ci.transition=i}}function Bk(e,t,n,r){var o=_e,i=Ci.transition;Ci.transition=null;try{_e=4,$v(e,t,n,r)}finally{_e=o,Ci.transition=i}}function $v(e,t,n,r){if(zu){var o=gh(e,t,n,r);if(o===null)jf(e,t,r,Vu,n),S1(e,r);else if(jk(o,e,t,n,r))r.stopPropagation();else if(S1(e,r),t&4&&-1<Ik.indexOf(e)){for(;o!==null;){var i=Qs(o);if(i!==null&&J2(i),i=gh(e,t,n,r),i===null&&jf(e,t,r,Vu,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else jf(e,t,r,null,n)}}var Vu=null;function gh(e,t,n,r){if(Vu=null,e=bv(r),e=bo(e),e!==null)if(t=Bo(e),t===null)e=null;else if(n=t.tag,n===13){if(e=G2(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 Vu=e,null}function oE(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(Pk()){case Sv:return 1;case K2:return 4;case Iu:case kk:return 16;case X2:return 536870912;default:return 16}default:return 16}}var Or=null,Tv=null,fu=null;function iE(){if(fu)return fu;var e,t=Tv,n=t.length,r,o="value"in Or?Or.value:Or.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 fu=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 Cl(){return!0}function A1(){return!1}function Kt(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)?Cl:A1,this.isPropagationStopped=A1,this}return Be(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=Cl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Cl)},persist:function(){},isPersistent:Cl}),t}var ra={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pv=Kt(ra),Zs=Be({},ra,{view:0,detail:0}),Uk=Kt(Zs),kf,Rf,Sa,Yc=Be({},Zs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kv,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!==Sa&&(Sa&&e.type==="mousemove"?(kf=e.screenX-Sa.screenX,Rf=e.screenY-Sa.screenY):Rf=kf=0,Sa=e),kf)},movementY:function(e){return"movementY"in e?e.movementY:Rf}}),$1=Kt(Yc),Hk=Be({},Yc,{dataTransfer:0}),Gk=Kt(Hk),Yk=Be({},Zs,{relatedTarget:0}),Of=Kt(Yk),Wk=Be({},ra,{animationName:0,elapsedTime:0,pseudoElement:0}),qk=Kt(Wk),Kk=Be({},ra,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xk=Kt(Kk),Zk=Be({},ra,{data:0}),T1=Kt(Zk),Qk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jk={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"},e3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t3(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=e3[e])?!!t[e]:!1}function kv(){return t3}var n3=Be({},Zs,{key:function(e){if(e.key){var t=Qk[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"?Jk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kv,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}}),r3=Kt(n3),o3=Be({},Yc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),P1=Kt(o3),i3=Be({},Zs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kv}),a3=Kt(i3),s3=Be({},ra,{propertyName:0,elapsedTime:0,pseudoElement:0}),l3=Kt(s3),u3=Be({},Yc,{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}),c3=Kt(u3),d3=[9,13,27,32],Rv=Jn&&"CompositionEvent"in window,Ba=null;Jn&&"documentMode"in document&&(Ba=document.documentMode);var f3=Jn&&"TextEvent"in window&&!Ba,aE=Jn&&(!Rv||Ba&&8<Ba&&11>=Ba),k1=String.fromCharCode(32),R1=!1;function sE(e,t){switch(e){case"keyup":return d3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ii=!1;function p3(e,t){switch(e){case"compositionend":return lE(t);case"keypress":return t.which!==32?null:(R1=!0,k1);case"textInput":return e=t.data,e===k1&&R1?null:e;default:return null}}function h3(e,t){if(ii)return e==="compositionend"||!Rv&&sE(e,t)?(e=iE(),fu=Tv=Or=null,ii=!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 aE&&t.locale!=="ko"?null:t.data;default:return null}}var m3={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 O1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!m3[e.type]:t==="textarea"}function uE(e,t,n,r){z2(r),t=Bu(t,"onChange"),0<t.length&&(n=new Pv("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ua=null,ys=null;function v3(e){_E(e,0)}function Wc(e){var t=li(e);if(M2(t))return e}function g3(e,t){if(e==="change")return t}var cE=!1;if(Jn){var Mf;if(Jn){var Nf="oninput"in document;if(!Nf){var M1=document.createElement("div");M1.setAttribute("oninput","return;"),Nf=typeof M1.oninput=="function"}Mf=Nf}else Mf=!1;cE=Mf&&(!document.documentMode||9<document.documentMode)}function N1(){Ua&&(Ua.detachEvent("onpropertychange",dE),ys=Ua=null)}function dE(e){if(e.propertyName==="value"&&Wc(ys)){var t=[];uE(t,ys,e,bv(e)),H2(v3,t)}}function y3(e,t,n){e==="focusin"?(N1(),Ua=t,ys=n,Ua.attachEvent("onpropertychange",dE)):e==="focusout"&&N1()}function x3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wc(ys)}function _3(e,t){if(e==="click")return Wc(t)}function w3(e,t){if(e==="input"||e==="change")return Wc(t)}function E3(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var bn=typeof Object.is=="function"?Object.is:E3;function xs(e,t){if(bn(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(!Jp.call(t,o)||!bn(e[o],t[o]))return!1}return!0}function L1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function D1(e,t){var n=L1(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=L1(n)}}function fE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pE(){for(var e=window,t=Lu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(r){n=!1}if(n)e=t.contentWindow;else break;t=Lu(e.document)}return t}function Ov(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 b3(e){var t=pE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fE(n.ownerDocument.documentElement,n)){if(r!==null&&Ov(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=D1(n,i);var a=D1(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 S3=Jn&&"documentMode"in document&&11>=document.documentMode,ai=null,yh=null,Ha=null,xh=!1;function F1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xh||ai==null||ai!==Lu(r)||(r=ai,"selectionStart"in r&&Ov(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}),Ha&&xs(Ha,r)||(Ha=r,r=Bu(yh,"onSelect"),0<r.length&&(t=new Pv("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ai)))}function Al(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var si={animationend:Al("Animation","AnimationEnd"),animationiteration:Al("Animation","AnimationIteration"),animationstart:Al("Animation","AnimationStart"),transitionend:Al("Transition","TransitionEnd")},Lf={},hE={};Jn&&(hE=document.createElement("div").style,"AnimationEvent"in window||(delete si.animationend.animation,delete si.animationiteration.animation,delete si.animationstart.animation),"TransitionEvent"in window||delete si.transitionend.transition);function qc(e){if(Lf[e])return Lf[e];if(!si[e])return e;var t=si[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hE)return Lf[e]=t[n];return e}var mE=qc("animationend"),vE=qc("animationiteration"),gE=qc("animationstart"),yE=qc("transitionend"),xE=new Map,I1="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 oo(e,t){xE.set(e,t),Vo(t,[e])}for(var Df=0;Df<I1.length;Df++){var Ff=I1[Df],C3=Ff.toLowerCase(),A3=Ff[0].toUpperCase()+Ff.slice(1);oo(C3,"on"+A3)}oo(mE,"onAnimationEnd");oo(vE,"onAnimationIteration");oo(gE,"onAnimationStart");oo("dblclick","onDoubleClick");oo("focusin","onFocus");oo("focusout","onBlur");oo(yE,"onTransitionEnd");Li("onMouseEnter",["mouseout","mouseover"]);Li("onMouseLeave",["mouseout","mouseover"]);Li("onPointerEnter",["pointerout","pointerover"]);Li("onPointerLeave",["pointerout","pointerover"]);Vo("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Vo("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Vo("onBeforeInput",["compositionend","keypress","textInput","paste"]);Vo("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Vo("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Vo("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fa="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(" "),$3=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fa));function j1(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Ck(r,t,void 0,e),e.currentTarget=null}function _E(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;j1(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;j1(o,s,u),i=l}}}if(Fu)throw e=hh,Fu=!1,hh=null,e}function Me(e,t){var n=t[Sh];n===void 0&&(n=t[Sh]=new Set);var r=e+"__bubble";n.has(r)||(wE(t,e,2,!1),n.add(r))}function If(e,t,n){var r=0;t&&(r|=4),wE(n,e,r,t)}var $l="_reactListening"+Math.random().toString(36).slice(2);function _s(e){if(!e[$l]){e[$l]=!0,T2.forEach(function(n){n!=="selectionchange"&&($3.has(n)||If(n,!1,e),If(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[$l]||(t[$l]=!0,If("selectionchange",!1,t))}}function wE(e,t,n,r){switch(oE(t)){case 1:var o=Vk;break;case 4:o=Bk;break;default:o=$v}n=o.bind(null,t,n,e),o=void 0,!ph||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 jf(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=bo(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}H2(function(){var u=i,c=bv(n),d=[];e:{var p=xE.get(e);if(p!==void 0){var h=Pv,v=e;switch(e){case"keypress":if(pu(n)===0)break e;case"keydown":case"keyup":h=r3;break;case"focusin":v="focus",h=Of;break;case"focusout":v="blur",h=Of;break;case"beforeblur":case"afterblur":h=Of;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=$1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Gk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=a3;break;case mE:case vE:case gE:h=qk;break;case yE:h=l3;break;case"scroll":h=Uk;break;case"wheel":h=c3;break;case"copy":case"cut":case"paste":h=Xk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=P1}var m=(t&4)!==0,_=!m&&e==="scroll",y=m?p!==null?p+"Capture":null:p;m=[];for(var g=u,x;g!==null;){x=g;var w=x.stateNode;if(x.tag===5&&w!==null&&(x=w,y!==null&&(w=hs(g,y),w!=null&&m.push(ws(g,w,x)))),_)break;g=g.return}0<m.length&&(p=new h(p,v,null,n,c),d.push({event:p,listeners:m}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&n!==dh&&(v=n.relatedTarget||n.fromElement)&&(bo(v)||v[er]))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?bo(v):null,v!==null&&(_=Bo(v),v!==_||v.tag!==5&&v.tag!==6)&&(v=null)):(h=null,v=u),h!==v)){if(m=$1,w="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=P1,w="onPointerLeave",y="onPointerEnter",g="pointer"),_=h==null?p:li(h),x=v==null?p:li(v),p=new m(w,g+"leave",h,n,c),p.target=_,p.relatedTarget=x,w=null,bo(c)===u&&(m=new m(y,g+"enter",v,n,c),m.target=x,m.relatedTarget=_,w=m),_=w,h&&v)t:{for(m=h,y=v,g=0,x=m;x;x=Wo(x))g++;for(x=0,w=y;w;w=Wo(w))x++;for(;0<g-x;)m=Wo(m),g--;for(;0<x-g;)y=Wo(y),x--;for(;g--;){if(m===y||y!==null&&m===y.alternate)break t;m=Wo(m),y=Wo(y)}m=null}else m=null;h!==null&&z1(d,p,h,m,!1),v!==null&&_!==null&&z1(d,_,v,m,!0)}}e:{if(p=u?li(u):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var E=g3;else if(O1(p))if(cE)E=w3;else{E=x3;var b=y3}else(h=p.nodeName)&&h.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(E=_3);if(E&&(E=E(e,u))){uE(d,E,n,c);break e}b&&b(e,p,u),e==="focusout"&&(b=p._wrapperState)&&b.controlled&&p.type==="number"&&ah(p,"number",p.value)}switch(b=u?li(u):window,e){case"focusin":(O1(b)||b.contentEditable==="true")&&(ai=b,yh=u,Ha=null);break;case"focusout":Ha=yh=ai=null;break;case"mousedown":xh=!0;break;case"contextmenu":case"mouseup":case"dragend":xh=!1,F1(d,n,c);break;case"selectionchange":if(S3)break;case"keydown":case"keyup":F1(d,n,c)}var S;if(Rv)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 ii?sE(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(aE&&n.locale!=="ko"&&(ii||C!=="onCompositionStart"?C==="onCompositionEnd"&&ii&&(S=iE()):(Or=c,Tv="value"in Or?Or.value:Or.textContent,ii=!0)),b=Bu(u,C),0<b.length&&(C=new T1(C,e,null,n,c),d.push({event:C,listeners:b}),S?C.data=S:(S=lE(n),S!==null&&(C.data=S)))),(S=f3?p3(e,n):h3(e,n))&&(u=Bu(u,"onBeforeInput"),0<u.length&&(c=new T1("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=S))}_E(d,t)})}function ws(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Bu(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=hs(e,n),i!=null&&r.unshift(ws(e,i,o)),i=hs(e,t),i!=null&&r.push(ws(e,i,o))),e=e.return}return r}function Wo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function z1(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=hs(n,i),l!=null&&a.unshift(ws(n,l,s))):o||(l=hs(n,i),l!=null&&a.push(ws(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var T3=/\r\n?/g,P3=/\u0000|\uFFFD/g;function V1(e){return(typeof e=="string"?e:""+e).replace(T3,`
30
+ `).replace(P3,"")}function Tl(e,t,n){if(t=V1(t),V1(e)!==t&&n)throw Error(V(425))}function Uu(){}var _h=null,wh=null;function Eh(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 bh=typeof setTimeout=="function"?setTimeout:void 0,k3=typeof clearTimeout=="function"?clearTimeout:void 0,B1=typeof Promise=="function"?Promise:void 0,R3=typeof queueMicrotask=="function"?queueMicrotask:typeof B1<"u"?function(e){return B1.resolve(null).then(e).catch(O3)}:bh;function O3(e){setTimeout(function(){throw e})}function zf(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),gs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);gs(t)}function zr(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 U1(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 oa=Math.random().toString(36).slice(2),Tn="__reactFiber$"+oa,Es="__reactProps$"+oa,er="__reactContainer$"+oa,Sh="__reactEvents$"+oa,M3="__reactListeners$"+oa,N3="__reactHandles$"+oa;function bo(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[er]||n[Tn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=U1(e);e!==null;){if(n=e[Tn])return n;e=U1(e)}return t}e=n,n=e.parentNode}return null}function Qs(e){return e=e[Tn]||e[er],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function li(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function Kc(e){return e[Es]||null}var Ch=[],ui=-1;function io(e){return{current:e}}function Le(e){0>ui||(e.current=Ch[ui],Ch[ui]=null,ui--)}function ke(e,t){ui++,Ch[ui]=e.current,e.current=t}var Zr={},wt=io(Zr),Mt=io(!1),No=Zr;function Di(e,t){var n=e.type.contextTypes;if(!n)return Zr;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 Nt(e){return e=e.childContextTypes,e!=null}function Hu(){Le(Mt),Le(wt)}function H1(e,t,n){if(wt.current!==Zr)throw Error(V(168));ke(wt,t),ke(Mt,n)}function EE(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(V(108,yk(e)||"Unknown",o));return Be({},n,r)}function Gu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zr,No=wt.current,ke(wt,e),ke(Mt,Mt.current),!0}function G1(e,t,n){var r=e.stateNode;if(!r)throw Error(V(169));n?(e=EE(e,t,No),r.__reactInternalMemoizedMergedChildContext=e,Le(Mt),Le(wt),ke(wt,e)):Le(Mt),ke(Mt,n)}var Yn=null,Xc=!1,Vf=!1;function bE(e){Yn===null?Yn=[e]:Yn.push(e)}function L3(e){Xc=!0,bE(e)}function ao(){if(!Vf&&Yn!==null){Vf=!0;var e=0,t=_e;try{var n=Yn;for(_e=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Yn=null,Xc=!1}catch(o){throw Yn!==null&&(Yn=Yn.slice(e+1)),q2(Sv,ao),o}finally{_e=t,Vf=!1}}return null}var ci=[],di=0,Yu=null,Wu=0,Zt=[],Qt=0,Lo=null,Wn=1,qn="";function yo(e,t){ci[di++]=Wu,ci[di++]=Yu,Yu=e,Wu=t}function SE(e,t,n){Zt[Qt++]=Wn,Zt[Qt++]=qn,Zt[Qt++]=Lo,Lo=e;var r=Wn;e=qn;var o=32-yn(r)-1;r&=~(1<<o),n+=1;var i=32-yn(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Wn=1<<32-yn(t)+o|n<<o|r,qn=i+e}else Wn=1<<i|n<<o|r,qn=e}function Mv(e){e.return!==null&&(yo(e,1),SE(e,1,0))}function Nv(e){for(;e===Yu;)Yu=ci[--di],ci[di]=null,Wu=ci[--di],ci[di]=null;for(;e===Lo;)Lo=Zt[--Qt],Zt[Qt]=null,qn=Zt[--Qt],Zt[Qt]=null,Wn=Zt[--Qt],Zt[Qt]=null}var Ht=null,Ut=null,Ie=!1,vn=null;function CE(e,t){var n=Jt(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 Y1(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,Ht=e,Ut=zr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ht=e,Ut=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Lo!==null?{id:Wn,overflow:qn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Jt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ht=e,Ut=null,!0):!1;default:return!1}}function Ah(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $h(e){if(Ie){var t=Ut;if(t){var n=t;if(!Y1(e,t)){if(Ah(e))throw Error(V(418));t=zr(n.nextSibling);var r=Ht;t&&Y1(e,t)?CE(r,n):(e.flags=e.flags&-4097|2,Ie=!1,Ht=e)}}else{if(Ah(e))throw Error(V(418));e.flags=e.flags&-4097|2,Ie=!1,Ht=e}}}function W1(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ht=e}function Pl(e){if(e!==Ht)return!1;if(!Ie)return W1(e),Ie=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Eh(e.type,e.memoizedProps)),t&&(t=Ut)){if(Ah(e))throw AE(),Error(V(418));for(;t;)CE(e,t),t=zr(t.nextSibling)}if(W1(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ut=zr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ut=null}}else Ut=Ht?zr(e.stateNode.nextSibling):null;return!0}function AE(){for(var e=Ut;e;)e=zr(e.nextSibling)}function Fi(){Ut=Ht=null,Ie=!1}function Lv(e){vn===null?vn=[e]:vn.push(e)}var D3=dr.ReactCurrentBatchConfig;function fn(e,t){if(e&&e.defaultProps){t=Be({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var qu=io(null),Ku=null,fi=null,Dv=null;function Fv(){Dv=fi=Ku=null}function Iv(e){var t=qu.current;Le(qu),e._currentValue=t}function Th(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 Ai(e,t){Ku=e,Dv=fi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ot=!0),e.firstContext=null)}function rn(e){var t=e._currentValue;if(Dv!==e)if(e={context:e,memoizedValue:t,next:null},fi===null){if(Ku===null)throw Error(V(308));fi=e,Ku.dependencies={lanes:0,firstContext:e}}else fi=fi.next=e;return t}var So=null;function jv(e){So===null?So=[e]:So.push(e)}function $E(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,jv(t)):(n.next=o.next,o.next=n),t.interleaved=n,tr(e,r)}function tr(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 Sr=!1;function zv(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function TE(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 Kn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(ve&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,tr(e,n)}return o=r.interleaved,o===null?(t.next=t,jv(r)):(t.next=o.next,o.next=t),r.interleaved=t,tr(e,n)}function hu(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,Cv(e,n)}}function q1(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 Xu(e,t,n,r){var o=e.updateQueue;Sr=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?i=u:a.next=u,a=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;a=0,c=u=l=null,s=i;do{var p=s.lane,h=s.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,m=s;switch(p=t,h=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){d=v.call(h,d,p);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,p=typeof v=="function"?v.call(h,d,p):v,p==null)break e;d=Be({},d,p);break e;case 2:Sr=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(1);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Fo|=a,e.lanes=a,e.memoizedState=d}}function K1(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(V(191,o));o.call(r)}}}var PE=new $2.Component().refs;function Ph(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Be({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Zc={isMounted:function(e){return(e=e._reactInternals)?Bo(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=At(),o=Ur(e),i=Kn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Vr(e,i,o),t!==null&&(xn(t,e,o,r),hu(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=At(),o=Ur(e),i=Kn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vr(e,i,o),t!==null&&(xn(t,e,o,r),hu(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=At(),r=Ur(e),o=Kn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Vr(e,o,r),t!==null&&(xn(t,e,r,n),hu(t,e,r))}};function X1(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?!xs(n,r)||!xs(o,i):!0}function kE(e,t,n){var r=!1,o=Zr,i=t.contextType;return typeof i=="object"&&i!==null?i=rn(i):(o=Nt(t)?No:wt.current,r=t.contextTypes,i=(r=r!=null)?Di(e,o):Zr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Zc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Z1(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&&Zc.enqueueReplaceState(t,t.state,null)}function kh(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=PE,zv(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=rn(i):(i=Nt(t)?No:wt.current,o.context=Di(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ph(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&&Zc.enqueueReplaceState(o,o.state,null),Xu(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ca(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(V(309));var r=n.stateNode}if(!r)throw Error(V(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===PE&&(s=o.refs={}),a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function kl(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Q1(e){var t=e._init;return t(e._payload)}function RE(e){function t(y,g){if(e){var x=y.deletions;x===null?(y.deletions=[g],y.flags|=16):x.push(g)}}function n(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function r(y,g){for(y=new Map;g!==null;)g.key!==null?y.set(g.key,g):y.set(g.index,g),g=g.sibling;return y}function o(y,g){return y=Hr(y,g),y.index=0,y.sibling=null,y}function i(y,g,x){return y.index=x,e?(x=y.alternate,x!==null?(x=x.index,x<g?(y.flags|=2,g):x):(y.flags|=2,g)):(y.flags|=1048576,g)}function a(y){return e&&y.alternate===null&&(y.flags|=2),y}function s(y,g,x,w){return g===null||g.tag!==6?(g=qf(x,y.mode,w),g.return=y,g):(g=o(g,x),g.return=y,g)}function l(y,g,x,w){var E=x.type;return E===oi?c(y,g,x.props.children,w,x.key):g!==null&&(g.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===br&&Q1(E)===g.type)?(w=o(g,x.props),w.ref=Ca(y,g,x),w.return=y,w):(w=_u(x.type,x.key,x.props,null,y.mode,w),w.ref=Ca(y,g,x),w.return=y,w)}function u(y,g,x,w){return g===null||g.tag!==4||g.stateNode.containerInfo!==x.containerInfo||g.stateNode.implementation!==x.implementation?(g=Kf(x,y.mode,w),g.return=y,g):(g=o(g,x.children||[]),g.return=y,g)}function c(y,g,x,w,E){return g===null||g.tag!==7?(g=ko(x,y.mode,w,E),g.return=y,g):(g=o(g,x),g.return=y,g)}function d(y,g,x){if(typeof g=="string"&&g!==""||typeof g=="number")return g=qf(""+g,y.mode,x),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case xl:return x=_u(g.type,g.key,g.props,null,y.mode,x),x.ref=Ca(y,null,g),x.return=y,x;case ri:return g=Kf(g,y.mode,x),g.return=y,g;case br:var w=g._init;return d(y,w(g._payload),x)}if(La(g)||_a(g))return g=ko(g,y.mode,x,null),g.return=y,g;kl(y,g)}return null}function p(y,g,x,w){var E=g!==null?g.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return E!==null?null:s(y,g,""+x,w);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case xl:return x.key===E?l(y,g,x,w):null;case ri:return x.key===E?u(y,g,x,w):null;case br:return E=x._init,p(y,g,E(x._payload),w)}if(La(x)||_a(x))return E!==null?null:c(y,g,x,w,null);kl(y,x)}return null}function h(y,g,x,w,E){if(typeof w=="string"&&w!==""||typeof w=="number")return y=y.get(x)||null,s(g,y,""+w,E);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case xl:return y=y.get(w.key===null?x:w.key)||null,l(g,y,w,E);case ri:return y=y.get(w.key===null?x:w.key)||null,u(g,y,w,E);case br:var b=w._init;return h(y,g,x,b(w._payload),E)}if(La(w)||_a(w))return y=y.get(x)||null,c(g,y,w,E,null);kl(g,w)}return null}function v(y,g,x,w){for(var E=null,b=null,S=g,C=g=0,T=null;S!==null&&C<x.length;C++){S.index>C?(T=S,S=null):T=S.sibling;var P=p(y,S,x[C],w);if(P===null){S===null&&(S=T);break}e&&S&&P.alternate===null&&t(y,S),g=i(P,g,C),b===null?E=P:b.sibling=P,b=P,S=T}if(C===x.length)return n(y,S),Ie&&yo(y,C),E;if(S===null){for(;C<x.length;C++)S=d(y,x[C],w),S!==null&&(g=i(S,g,C),b===null?E=S:b.sibling=S,b=S);return Ie&&yo(y,C),E}for(S=r(y,S);C<x.length;C++)T=h(S,y,C,x[C],w),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?C:T.key),g=i(T,g,C),b===null?E=T:b.sibling=T,b=T);return e&&S.forEach(function(F){return t(y,F)}),Ie&&yo(y,C),E}function m(y,g,x,w){var E=_a(x);if(typeof E!="function")throw Error(V(150));if(x=E.call(x),x==null)throw Error(V(151));for(var b=E=null,S=g,C=g=0,T=null,P=x.next();S!==null&&!P.done;C++,P=x.next()){S.index>C?(T=S,S=null):T=S.sibling;var F=p(y,S,P.value,w);if(F===null){S===null&&(S=T);break}e&&S&&F.alternate===null&&t(y,S),g=i(F,g,C),b===null?E=F:b.sibling=F,b=F,S=T}if(P.done)return n(y,S),Ie&&yo(y,C),E;if(S===null){for(;!P.done;C++,P=x.next())P=d(y,P.value,w),P!==null&&(g=i(P,g,C),b===null?E=P:b.sibling=P,b=P);return Ie&&yo(y,C),E}for(S=r(y,S);!P.done;C++,P=x.next())P=h(S,y,C,P.value,w),P!==null&&(e&&P.alternate!==null&&S.delete(P.key===null?C:P.key),g=i(P,g,C),b===null?E=P:b.sibling=P,b=P);return e&&S.forEach(function(z){return t(y,z)}),Ie&&yo(y,C),E}function _(y,g,x,w){if(typeof x=="object"&&x!==null&&x.type===oi&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case xl:e:{for(var E=x.key,b=g;b!==null;){if(b.key===E){if(E=x.type,E===oi){if(b.tag===7){n(y,b.sibling),g=o(b,x.props.children),g.return=y,y=g;break e}}else if(b.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===br&&Q1(E)===b.type){n(y,b.sibling),g=o(b,x.props),g.ref=Ca(y,b,x),g.return=y,y=g;break e}n(y,b);break}else t(y,b);b=b.sibling}x.type===oi?(g=ko(x.props.children,y.mode,w,x.key),g.return=y,y=g):(w=_u(x.type,x.key,x.props,null,y.mode,w),w.ref=Ca(y,g,x),w.return=y,y=w)}return a(y);case ri:e:{for(b=x.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===x.containerInfo&&g.stateNode.implementation===x.implementation){n(y,g.sibling),g=o(g,x.children||[]),g.return=y,y=g;break e}else{n(y,g);break}else t(y,g);g=g.sibling}g=Kf(x,y.mode,w),g.return=y,y=g}return a(y);case br:return b=x._init,_(y,g,b(x._payload),w)}if(La(x))return v(y,g,x,w);if(_a(x))return m(y,g,x,w);kl(y,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,g!==null&&g.tag===6?(n(y,g.sibling),g=o(g,x),g.return=y,y=g):(n(y,g),g=qf(x,y.mode,w),g.return=y,y=g),a(y)):n(y,g)}return _}var Ii=RE(!0),OE=RE(!1),Js={},Nn=io(Js),bs=io(Js),Ss=io(Js);function Co(e){if(e===Js)throw Error(V(174));return e}function Vv(e,t){switch(ke(Ss,t),ke(bs,e),ke(Nn,Js),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lh(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lh(t,e)}Le(Nn),ke(Nn,t)}function ji(){Le(Nn),Le(bs),Le(Ss)}function ME(e){Co(Ss.current);var t=Co(Nn.current),n=lh(t,e.type);t!==n&&(ke(bs,e),ke(Nn,n))}function Bv(e){bs.current===e&&(Le(Nn),Le(bs))}var ze=io(0);function Zu(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 Bf=[];function Uv(){for(var e=0;e<Bf.length;e++)Bf[e]._workInProgressVersionPrimary=null;Bf.length=0}var mu=dr.ReactCurrentDispatcher,Uf=dr.ReactCurrentBatchConfig,Do=0,Ve=null,Je=null,ot=null,Qu=!1,Ga=!1,Cs=0,F3=0;function ht(){throw Error(V(321))}function Hv(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!bn(e[n],t[n]))return!1;return!0}function Gv(e,t,n,r,o,i){if(Do=i,Ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,mu.current=e===null||e.memoizedState===null?V3:B3,e=n(r,o),Ga){i=0;do{if(Ga=!1,Cs=0,25<=i)throw Error(V(301));i+=1,ot=Je=null,t.updateQueue=null,mu.current=U3,e=n(r,o)}while(Ga)}if(mu.current=Ju,t=Je!==null&&Je.next!==null,Do=0,ot=Je=Ve=null,Qu=!1,t)throw Error(V(300));return e}function Yv(){var e=Cs!==0;return Cs=0,e}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Ve.memoizedState=ot=e:ot=ot.next=e,ot}function on(){if(Je===null){var e=Ve.alternate;e=e!==null?e.memoizedState:null}else e=Je.next;var t=ot===null?Ve.memoizedState:ot.next;if(t!==null)ot=t,Je=e;else{if(e===null)throw Error(V(310));Je=e,e={memoizedState:Je.memoizedState,baseState:Je.baseState,baseQueue:Je.baseQueue,queue:Je.queue,next:null},ot===null?Ve.memoizedState=ot=e:ot=ot.next=e}return ot}function As(e,t){return typeof t=="function"?t(e):t}function Hf(e){var t=on(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=Je,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((Do&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=d,a=r):l=l.next=d,Ve.lanes|=c,Fo|=c}u=u.next}while(u!==null&&u!==i);l===null?a=r:l.next=s,bn(r,t.memoizedState)||(Ot=!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,Ve.lanes|=i,Fo|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Gf(e){var t=on(),n=t.queue;if(n===null)throw Error(V(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);bn(i,t.memoizedState)||(Ot=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function NE(){}function LE(e,t){var n=Ve,r=on(),o=t(),i=!bn(r.memoizedState,o);if(i&&(r.memoizedState=o,Ot=!0),r=r.queue,Wv(IE.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ot!==null&&ot.memoizedState.tag&1){if(n.flags|=2048,$s(9,FE.bind(null,n,r,o,t),void 0,null),at===null)throw Error(V(349));(Do&30)!==0||DE(n,t,o)}return o}function DE(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function FE(e,t,n,r){t.value=n,t.getSnapshot=r,jE(t)&&zE(e)}function IE(e,t,n){return n(function(){jE(t)&&zE(e)})}function jE(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!bn(e,n)}catch(r){return!0}}function zE(e){var t=tr(e,1);t!==null&&xn(t,e,1,-1)}function J1(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:As,lastRenderedState:e},t.queue=e,e=e.dispatch=z3.bind(null,Ve,e),[t.memoizedState,e]}function $s(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ve.updateQueue,t===null?(t={lastEffect:null,stores:null},Ve.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 VE(){return on().memoizedState}function vu(e,t,n,r){var o=Cn();Ve.flags|=e,o.memoizedState=$s(1|t,n,void 0,r===void 0?null:r)}function Qc(e,t,n,r){var o=on();r=r===void 0?null:r;var i=void 0;if(Je!==null){var a=Je.memoizedState;if(i=a.destroy,r!==null&&Hv(r,a.deps)){o.memoizedState=$s(t,n,i,r);return}}Ve.flags|=e,o.memoizedState=$s(1|t,n,i,r)}function ey(e,t){return vu(8390656,8,e,t)}function Wv(e,t){return Qc(2048,8,e,t)}function BE(e,t){return Qc(4,2,e,t)}function UE(e,t){return Qc(4,4,e,t)}function HE(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 GE(e,t,n){return n=n!=null?n.concat([e]):null,Qc(4,4,HE.bind(null,t,e),n)}function qv(){}function YE(e,t){var n=on();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hv(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function WE(e,t){var n=on();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Hv(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qE(e,t,n){return(Do&21)===0?(e.baseState&&(e.baseState=!1,Ot=!0),e.memoizedState=n):(bn(n,t)||(n=Z2(),Ve.lanes|=n,Fo|=n,e.baseState=!0),t)}function I3(e,t){var n=_e;_e=n!==0&&4>n?n:4,e(!0);var r=Uf.transition;Uf.transition={};try{e(!1),t()}finally{_e=n,Uf.transition=r}}function KE(){return on().memoizedState}function j3(e,t,n){var r=Ur(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},XE(e))ZE(t,n);else if(n=$E(e,t,n,r),n!==null){var o=At();xn(n,e,r,o),QE(n,t,r)}}function z3(e,t,n){var r=Ur(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(XE(e))ZE(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,bn(s,a)){var l=t.interleaved;l===null?(o.next=o,jv(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch(u){}finally{}n=$E(e,t,o,r),n!==null&&(o=At(),xn(n,e,r,o),QE(n,t,r))}}function XE(e){var t=e.alternate;return e===Ve||t!==null&&t===Ve}function ZE(e,t){Ga=Qu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function QE(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Cv(e,n)}}var Ju={readContext:rn,useCallback:ht,useContext:ht,useEffect:ht,useImperativeHandle:ht,useInsertionEffect:ht,useLayoutEffect:ht,useMemo:ht,useReducer:ht,useRef:ht,useState:ht,useDebugValue:ht,useDeferredValue:ht,useTransition:ht,useMutableSource:ht,useSyncExternalStore:ht,useId:ht,unstable_isNewReconciler:!1},V3={readContext:rn,useCallback:function(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e},useContext:rn,useEffect:ey,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,vu(4194308,4,HE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vu(4194308,4,e,t)},useInsertionEffect:function(e,t){return vu(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=j3.bind(null,Ve,e),[r.memoizedState,e]},useRef:function(e){var t=Cn();return e={current:e},t.memoizedState=e},useState:J1,useDebugValue:qv,useDeferredValue:function(e){return Cn().memoizedState=e},useTransition:function(){var e=J1(!1),t=e[0];return e=I3.bind(null,e[1]),Cn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ve,o=Cn();if(Ie){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),at===null)throw Error(V(349));(Do&30)!==0||DE(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ey(IE.bind(null,r,i,e),[e]),r.flags|=2048,$s(9,FE.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Cn(),t=at.identifierPrefix;if(Ie){var n=qn,r=Wn;n=(r&~(1<<32-yn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Cs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=F3++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},B3={readContext:rn,useCallback:YE,useContext:rn,useEffect:Wv,useImperativeHandle:GE,useInsertionEffect:BE,useLayoutEffect:UE,useMemo:WE,useReducer:Hf,useRef:VE,useState:function(){return Hf(As)},useDebugValue:qv,useDeferredValue:function(e){var t=on();return qE(t,Je.memoizedState,e)},useTransition:function(){var e=Hf(As)[0],t=on().memoizedState;return[e,t]},useMutableSource:NE,useSyncExternalStore:LE,useId:KE,unstable_isNewReconciler:!1},U3={readContext:rn,useCallback:YE,useContext:rn,useEffect:Wv,useImperativeHandle:GE,useInsertionEffect:BE,useLayoutEffect:UE,useMemo:WE,useReducer:Gf,useRef:VE,useState:function(){return Gf(As)},useDebugValue:qv,useDeferredValue:function(e){var t=on();return Je===null?t.memoizedState=e:qE(t,Je.memoizedState,e)},useTransition:function(){var e=Gf(As)[0],t=on().memoizedState;return[e,t]},useMutableSource:NE,useSyncExternalStore:LE,useId:KE,unstable_isNewReconciler:!1};function zi(e,t){try{var n="",r=t;do n+=gk(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 Yf(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Rh(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var H3=typeof WeakMap=="function"?WeakMap:Map;function JE(e,t,n){n=Kn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){tc||(tc=!0,Vh=r),Rh(e,t)},n}function eb(e,t,n){n=Kn(-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(){Rh(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Rh(e,t),typeof r!="function"&&(Br===null?Br=new Set([this]):Br.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function ty(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new H3;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=o4.bind(null,e,t,n),t.then(e,e))}function ny(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 ry(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=Kn(-1,1),t.tag=2,Vr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var G3=dr.ReactCurrentOwner,Ot=!1;function bt(e,t,n,r){t.child=e===null?OE(t,null,n,r):Ii(t,e.child,n,r)}function oy(e,t,n,r,o){n=n.render;var i=t.ref;return Ai(t,o),r=Gv(e,t,n,r,i,o),n=Yv(),e!==null&&!Ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,nr(e,t,o)):(Ie&&n&&Mv(t),t.flags|=1,bt(e,t,r,o),t.child)}function iy(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!ng(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,tb(e,t,i,r,o)):(e=_u(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:xs,n(a,r)&&e.ref===t.ref)return nr(e,t,o)}return t.flags|=1,e=Hr(i,r),e.ref=t.ref,e.return=t,t.child=e}function tb(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(xs(i,r)&&e.ref===t.ref)if(Ot=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Ot=!0);else return t.lanes=e.lanes,nr(e,t,o)}return Oh(e,t,n,r,o)}function nb(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},ke(hi,Vt),Vt|=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,ke(hi,Vt),Vt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ke(hi,Vt),Vt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ke(hi,Vt),Vt|=r;return bt(e,t,o,n),t.child}function rb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Oh(e,t,n,r,o){var i=Nt(n)?No:wt.current;return i=Di(t,i),Ai(t,o),n=Gv(e,t,n,r,i,o),r=Yv(),e!==null&&!Ot?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,nr(e,t,o)):(Ie&&r&&Mv(t),t.flags|=1,bt(e,t,n,o),t.child)}function ay(e,t,n,r,o){if(Nt(n)){var i=!0;Gu(t)}else i=!1;if(Ai(t,o),t.stateNode===null)gu(e,t),kE(t,n,r),kh(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=rn(u):(u=Nt(n)?No:wt.current,u=Di(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Z1(t,a,r,u),Sr=!1;var p=t.memoizedState;a.state=p,Xu(t,r,a,o),l=t.memoizedState,s!==r||p!==l||Mt.current||Sr?(typeof c=="function"&&(Ph(t,n,c,r),l=t.memoizedState),(s=Sr||X1(t,n,s,r,p,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,TE(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:fn(t.type,s),a.props=u,d=t.pendingProps,p=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=rn(l):(l=Nt(n)?No:wt.current,l=Di(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||p!==l)&&Z1(t,a,r,l),Sr=!1,p=t.memoizedState,a.state=p,Xu(t,r,a,o);var v=t.memoizedState;s!==d||p!==v||Mt.current||Sr?(typeof h=="function"&&(Ph(t,n,h,r),v=t.memoizedState),(u=Sr||X1(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 Mh(e,t,n,r,i,o)}function Mh(e,t,n,r,o,i){rb(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&G1(t,n,!1),nr(e,t,i);r=t.stateNode,G3.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Ii(t,e.child,null,i),t.child=Ii(t,null,s,i)):bt(e,t,s,i),t.memoizedState=r.state,o&&G1(t,n,!0),t.child}function ob(e){var t=e.stateNode;t.pendingContext?H1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&H1(e,t.context,!1),Vv(e,t.containerInfo)}function sy(e,t,n,r,o){return Fi(),Lv(o),t.flags|=256,bt(e,t,n,r),t.child}var Nh={dehydrated:null,treeContext:null,retryLane:0};function Lh(e){return{baseLanes:e,cachePool:null,transitions:null}}function ib(e,t,n){var r=t.pendingProps,o=ze.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),ke(ze,o&1),e===null)return $h(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=td(a,r,0,null),e=ko(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Lh(n),t.memoizedState=Nh,e):Kv(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return Y3(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=Hr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Hr(s,i):(i=ko(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?Lh(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=Nh,r}return i=e.child,e=i.sibling,r=Hr(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 Kv(e,t){return t=td({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Rl(e,t,n,r){return r!==null&&Lv(r),Ii(t,e.child,null,n),e=Kv(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Y3(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=Yf(Error(V(422))),Rl(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=td({mode:"visible",children:r.children},o,0,null),i=ko(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Ii(t,e.child,null,a),t.child.memoizedState=Lh(a),t.memoizedState=Nh,i);if((t.mode&1)===0)return Rl(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(V(419)),r=Yf(i,r,void 0),Rl(e,t,a,r)}if(s=(a&e.childLanes)!==0,Ot||s){if(r=at,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|a))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,tr(e,o),xn(r,e,o,-1))}return tg(),r=Yf(Error(V(421))),Rl(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=i4.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ut=zr(o.nextSibling),Ht=t,Ie=!0,vn=null,e!==null&&(Zt[Qt++]=Wn,Zt[Qt++]=qn,Zt[Qt++]=Lo,Wn=e.id,qn=e.overflow,Lo=t),t=Kv(t,r.children),t.flags|=4096,t)}function ly(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Th(e.return,t,n)}function Wf(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 ab(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(bt(e,t,r.children,n),r=ze.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&&ly(e,n,t);else if(e.tag===19)ly(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(ke(ze,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&&Zu(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Wf(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&&Zu(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Wf(t,!0,n,null,i);break;case"together":Wf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function gu(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Fo|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=Hr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Hr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function W3(e,t,n){switch(t.tag){case 3:ob(t),Fi();break;case 5:ME(t);break;case 1:Nt(t.type)&&Gu(t);break;case 4:Vv(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ke(qu,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ke(ze,ze.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?ib(e,t,n):(ke(ze,ze.current&1),e=nr(e,t,n),e!==null?e.sibling:null);ke(ze,ze.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return ab(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ke(ze,ze.current),r)break;return null;case 22:case 23:return t.lanes=0,nb(e,t,n)}return nr(e,t,n)}var sb,Dh,lb,ub;sb=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}};Dh=function(){};lb=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Co(Nn.current);var i=null;switch(n){case"input":o=oh(e,o),r=oh(e,r),i=[];break;case"select":o=Be({},o,{value:void 0}),r=Be({},r,{value:void 0}),i=[];break;case"textarea":o=sh(e,o),r=sh(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Uu)}uh(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"&&(fs.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"&&(fs.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Me("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)}};ub=function(e,t,n,r){n!==r&&(t.flags|=4)};function Aa(e,t){if(!Ie)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function mt(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 q3(e,t,n){var r=t.pendingProps;switch(Nv(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(t),null;case 1:return Nt(t.type)&&Hu(),mt(t),null;case 3:return r=t.stateNode,ji(),Le(Mt),Le(wt),Uv(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Pl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,vn!==null&&(Hh(vn),vn=null))),Dh(e,t),mt(t),null;case 5:Bv(t);var o=Co(Ss.current);if(n=t.type,e!==null&&t.stateNode!=null)lb(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(V(166));return mt(t),null}if(e=Co(Nn.current),Pl(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Tn]=t,r[Es]=i,e=(t.mode&1)!==0,n){case"dialog":Me("cancel",r),Me("close",r);break;case"iframe":case"object":case"embed":Me("load",r);break;case"video":case"audio":for(o=0;o<Fa.length;o++)Me(Fa[o],r);break;case"source":Me("error",r);break;case"img":case"image":case"link":Me("error",r),Me("load",r);break;case"details":Me("toggle",r);break;case"input":g1(r,i),Me("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Me("invalid",r);break;case"textarea":x1(r,i),Me("invalid",r)}uh(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&&Tl(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&Tl(r.textContent,s,e),o=["children",""+s]):fs.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Me("scroll",r)}switch(n){case"input":_l(r),y1(r,i,!0);break;case"textarea":_l(r),_1(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Uu)}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=D2(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[Es]=r,sb(e,t,!1,!1),t.stateNode=e;e:{switch(a=ch(n,r),n){case"dialog":Me("cancel",e),Me("close",e),o=r;break;case"iframe":case"object":case"embed":Me("load",e),o=r;break;case"video":case"audio":for(o=0;o<Fa.length;o++)Me(Fa[o],e);o=r;break;case"source":Me("error",e),o=r;break;case"img":case"image":case"link":Me("error",e),Me("load",e),o=r;break;case"details":Me("toggle",e),o=r;break;case"input":g1(e,r),o=oh(e,r),Me("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Be({},r,{value:void 0}),Me("invalid",e);break;case"textarea":x1(e,r),o=sh(e,r),Me("invalid",e);break;default:o=r}uh(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?j2(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&F2(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ps(e,l):typeof l=="number"&&ps(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(fs.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Me("scroll",e):l!=null&&xv(e,i,l,a))}switch(n){case"input":_l(e),y1(e,r,!1);break;case"textarea":_l(e),_1(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Xr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Ei(e,!!r.multiple,i,!1):r.defaultValue!=null&&Ei(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Uu)}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 mt(t),null;case 6:if(e&&t.stateNode!=null)ub(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(V(166));if(n=Co(Ss.current),Co(Nn.current),Pl(t)){if(r=t.stateNode,n=t.memoizedProps,r[Tn]=t,(i=r.nodeValue!==n)&&(e=Ht,e!==null))switch(e.tag){case 3:Tl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Tl(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 mt(t),null;case 13:if(Le(ze),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ie&&Ut!==null&&(t.mode&1)!==0&&(t.flags&128)===0)AE(),Fi(),t.flags|=98560,i=!1;else if(i=Pl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(V(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(V(317));i[Tn]=t}else Fi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;mt(t),i=!1}else vn!==null&&(Hh(vn),vn=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||(ze.current&1)!==0?nt===0&&(nt=3):tg())),t.updateQueue!==null&&(t.flags|=4),mt(t),null);case 4:return ji(),Dh(e,t),e===null&&_s(t.stateNode.containerInfo),mt(t),null;case 10:return Iv(t.type._context),mt(t),null;case 17:return Nt(t.type)&&Hu(),mt(t),null;case 19:if(Le(ze),i=t.memoizedState,i===null)return mt(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)Aa(i,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=Zu(e),a!==null){for(t.flags|=128,Aa(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 ke(ze,ze.current&1|2),t.child}e=e.sibling}i.tail!==null&&qe()>Vi&&(t.flags|=128,r=!0,Aa(i,!1),t.lanes=4194304)}else{if(!r)if(e=Zu(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Aa(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ie)return mt(t),null}else 2*qe()-i.renderingStartTime>Vi&&n!==1073741824&&(t.flags|=128,r=!0,Aa(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=qe(),t.sibling=null,n=ze.current,ke(ze,r?n&1|2:n&1),t):(mt(t),null);case 22:case 23:return eg(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Vt&1073741824)!==0&&(mt(t),t.subtreeFlags&6&&(t.flags|=8192)):mt(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function K3(e,t){switch(Nv(t),t.tag){case 1:return Nt(t.type)&&Hu(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ji(),Le(Mt),Le(wt),Uv(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Bv(t),null;case 13:if(Le(ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Le(ze),null;case 4:return ji(),null;case 10:return Iv(t.type._context),null;case 22:case 23:return eg(),null;case 24:return null;default:return null}}var Ol=!1,gt=!1,X3=typeof WeakSet=="function"?WeakSet:Set,X=null;function pi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ue(e,t,r)}else n.current=null}function Fh(e,t,n){try{n()}catch(r){Ue(e,t,r)}}var uy=!1;function Z3(e,t){if(_h=zu,e=pE(),Ov(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(w){n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,p=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(h=d.firstChild)!==null;)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++u===o&&(s=a),p===i&&++c===r&&(l=a),(h=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(wh={focusedElem:e,selectionRange:n},zu=!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,y=t.stateNode,g=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:fn(t.type,m),_);y.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(w){Ue(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,X=e;break}X=t.return}return v=uy,uy=!1,v}function Ya(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&&Fh(t,n,i)}o=o.next}while(o!==r)}}function Jc(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 Ih(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 cb(e){var t=e.alternate;t!==null&&(e.alternate=null,cb(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tn],delete t[Es],delete t[Sh],delete t[M3],delete t[N3])),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 db(e){return e.tag===5||e.tag===3||e.tag===4}function cy(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||db(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 jh(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=Uu));else if(r!==4&&(e=e.child,e!==null))for(jh(e,t,n),e=e.sibling;e!==null;)jh(e,t,n),e=e.sibling}function zh(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(zh(e,t,n),e=e.sibling;e!==null;)zh(e,t,n),e=e.sibling}var ut=null,hn=!1;function vr(e,t,n){for(n=n.child;n!==null;)fb(e,t,n),n=n.sibling}function fb(e,t,n){if(Mn&&typeof Mn.onCommitFiberUnmount=="function")try{Mn.onCommitFiberUnmount(Gc,n)}catch(s){}switch(n.tag){case 5:gt||pi(n,t);case 6:var r=ut,o=hn;ut=null,vr(e,t,n),ut=r,hn=o,ut!==null&&(hn?(e=ut,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ut.removeChild(n.stateNode));break;case 18:ut!==null&&(hn?(e=ut,n=n.stateNode,e.nodeType===8?zf(e.parentNode,n):e.nodeType===1&&zf(e,n),gs(e)):zf(ut,n.stateNode));break;case 4:r=ut,o=hn,ut=n.stateNode.containerInfo,hn=!0,vr(e,t,n),ut=r,hn=o;break;case 0:case 11:case 14:case 15:if(!gt&&(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)&&Fh(n,t,a),o=o.next}while(o!==r)}vr(e,t,n);break;case 1:if(!gt&&(pi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ue(n,t,s)}vr(e,t,n);break;case 21:vr(e,t,n);break;case 22:n.mode&1?(gt=(r=gt)||n.memoizedState!==null,vr(e,t,n),gt=r):vr(e,t,n);break;default:vr(e,t,n)}}function dy(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new X3),t.forEach(function(r){var o=a4.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function un(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:ut=s.stateNode,hn=!1;break e;case 3:ut=s.stateNode.containerInfo,hn=!0;break e;case 4:ut=s.stateNode.containerInfo,hn=!0;break e}s=s.return}if(ut===null)throw Error(V(160));fb(i,a,o),ut=null,hn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){Ue(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)pb(t,e),t=t.sibling}function pb(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(un(t,e),Sn(e),r&4){try{Ya(3,e,e.return),Jc(3,e)}catch(m){Ue(e,e.return,m)}try{Ya(5,e,e.return)}catch(m){Ue(e,e.return,m)}}break;case 1:un(t,e),Sn(e),r&512&&n!==null&&pi(n,n.return);break;case 5:if(un(t,e),Sn(e),r&512&&n!==null&&pi(n,n.return),e.flags&32){var o=e.stateNode;try{ps(o,"")}catch(m){Ue(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&&N2(o,i),ch(s,a);var u=ch(s,i);for(a=0;a<l.length;a+=2){var c=l[a],d=l[a+1];c==="style"?j2(o,d):c==="dangerouslySetInnerHTML"?F2(o,d):c==="children"?ps(o,d):xv(o,c,d,u)}switch(s){case"input":ih(o,i);break;case"textarea":L2(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?Ei(o,!!i.multiple,h,!1):p!==!!i.multiple&&(i.defaultValue!=null?Ei(o,!!i.multiple,i.defaultValue,!0):Ei(o,!!i.multiple,i.multiple?[]:"",!1))}o[Es]=i}catch(m){Ue(e,e.return,m)}}break;case 6:if(un(t,e),Sn(e),r&4){if(e.stateNode===null)throw Error(V(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){Ue(e,e.return,m)}}break;case 3:if(un(t,e),Sn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{gs(t.containerInfo)}catch(m){Ue(e,e.return,m)}break;case 4:un(t,e),Sn(e);break;case 13:un(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||(Qv=qe())),r&4&&dy(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(gt=(u=gt)||c,un(t,e),gt=u):un(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(d=X=c;X!==null;){switch(p=X,h=p.child,p.tag){case 0:case 11:case 14:case 15:Ya(4,p,p.return);break;case 1:pi(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){Ue(r,n,m)}}break;case 5:pi(p,p.return);break;case 22:if(p.memoizedState!==null){py(d);continue}}h!==null?(h.return=p,X=h):py(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=d.stateNode,l=d.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=I2("display",a))}catch(m){Ue(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){Ue(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:un(t,e),Sn(e),r&4&&dy(e);break;case 21:break;default:un(t,e),Sn(e)}}function Sn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(db(n)){var r=n;break e}n=n.return}throw Error(V(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ps(o,""),r.flags&=-33);var i=cy(e);zh(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=cy(e);jh(e,s,a);break;default:throw Error(V(161))}}catch(l){Ue(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Q3(e,t,n){X=e,hb(e)}function hb(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||Ol;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||gt;s=Ol;var u=gt;if(Ol=a,(gt=l)&&!u)for(X=o;X!==null;)a=X,l=a.child,a.tag===22&&a.memoizedState!==null?hy(o):l!==null?(l.return=a,X=l):hy(o);for(;i!==null;)X=i,hb(i),i=i.sibling;X=o,Ol=s,gt=u}fy(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,X=i):fy(e)}}function fy(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:gt||Jc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!gt)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:fn(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&K1(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}K1(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&gs(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}gt||t.flags&512&&Ih(t)}catch(p){Ue(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 py(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 hy(e){for(;X!==null;){var t=X;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Jc(4,t)}catch(l){Ue(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Ue(t,o,l)}}var i=t.return;try{Ih(t)}catch(l){Ue(t,i,l)}break;case 5:var a=t.return;try{Ih(t)}catch(l){Ue(t,a,l)}}}catch(l){Ue(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 J3=Math.ceil,ec=dr.ReactCurrentDispatcher,Xv=dr.ReactCurrentOwner,nn=dr.ReactCurrentBatchConfig,ve=0,at=null,Xe=null,dt=0,Vt=0,hi=io(0),nt=0,Ts=null,Fo=0,ed=0,Zv=0,Wa=null,kt=null,Qv=0,Vi=1/0,Un=null,tc=!1,Vh=null,Br=null,Ml=!1,Mr=null,nc=0,qa=0,Bh=null,yu=-1,xu=0;function At(){return(ve&6)!==0?qe():yu!==-1?yu:yu=qe()}function Ur(e){return(e.mode&1)===0?1:(ve&2)!==0&&dt!==0?dt&-dt:D3.transition!==null?(xu===0&&(xu=Z2()),xu):(e=_e,e!==0||(e=window.event,e=e===void 0?16:oE(e.type)),e)}function xn(e,t,n,r){if(50<qa)throw qa=0,Bh=null,Error(V(185));Xs(e,n,r),((ve&2)===0||e!==at)&&(e===at&&((ve&2)===0&&(ed|=n),nt===4&&Pr(e,dt)),Lt(e,r),n===1&&ve===0&&(t.mode&1)===0&&(Vi=qe()+500,Xc&&ao()))}function Lt(e,t){var n=e.callbackNode;Dk(e,t);var r=ju(e,e===at?dt:0);if(r===0)n!==null&&b1(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&b1(n),t===1)e.tag===0?L3(my.bind(null,e)):bE(my.bind(null,e)),R3(function(){(ve&6)===0&&ao()}),n=null;else{switch(Q2(r)){case 1:n=Sv;break;case 4:n=K2;break;case 16:n=Iu;break;case 536870912:n=X2;break;default:n=Iu}n=Eb(n,mb.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function mb(e,t){if(yu=-1,xu=0,(ve&6)!==0)throw Error(V(327));var n=e.callbackNode;if($i()&&e.callbackNode!==n)return null;var r=ju(e,e===at?dt:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=rc(e,r);else{t=r;var o=ve;ve|=2;var i=gb();(at!==e||dt!==t)&&(Un=null,Vi=qe()+500,Po(e,t));do try{n4();break}catch(s){vb(e,s)}while(1);Fv(),ec.current=i,ve=o,Xe!==null?t=0:(at=null,dt=0,t=nt)}if(t!==0){if(t===2&&(o=mh(e),o!==0&&(r=o,t=Uh(e,o))),t===1)throw n=Ts,Po(e,0),Pr(e,r),Lt(e,qe()),n;if(t===6)Pr(e,r);else{if(o=e.current.alternate,(r&30)===0&&!e4(o)&&(t=rc(e,r),t===2&&(i=mh(e),i!==0&&(r=i,t=Uh(e,i))),t===1))throw n=Ts,Po(e,0),Pr(e,r),Lt(e,qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(V(345));case 2:xo(e,kt,Un);break;case 3:if(Pr(e,r),(r&130023424)===r&&(t=Qv+500-qe(),10<t)){if(ju(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){At(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=bh(xo.bind(null,e,kt,Un),t);break}xo(e,kt,Un);break;case 4:if(Pr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-yn(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*J3(r/1960))-r,10<r){e.timeoutHandle=bh(xo.bind(null,e,kt,Un),r);break}xo(e,kt,Un);break;case 5:xo(e,kt,Un);break;default:throw Error(V(329))}}}return Lt(e,qe()),e.callbackNode===n?mb.bind(null,e):null}function Uh(e,t){var n=Wa;return e.current.memoizedState.isDehydrated&&(Po(e,t).flags|=256),e=rc(e,t),e!==2&&(t=kt,kt=n,t!==null&&Hh(t)),e}function Hh(e){kt===null?kt=e:kt.push.apply(kt,e)}function e4(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(!bn(i(),o))return!1}catch(a){return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Pr(e,t){for(t&=~Zv,t&=~ed,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-yn(t),r=1<<n;e[n]=-1,t&=~r}}function my(e){if((ve&6)!==0)throw Error(V(327));$i();var t=ju(e,0);if((t&1)===0)return Lt(e,qe()),null;var n=rc(e,t);if(e.tag!==0&&n===2){var r=mh(e);r!==0&&(t=r,n=Uh(e,r))}if(n===1)throw n=Ts,Po(e,0),Pr(e,t),Lt(e,qe()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xo(e,kt,Un),Lt(e,qe()),null}function Jv(e,t){var n=ve;ve|=1;try{return e(t)}finally{ve=n,ve===0&&(Vi=qe()+500,Xc&&ao())}}function Io(e){Mr!==null&&Mr.tag===0&&(ve&6)===0&&$i();var t=ve;ve|=1;var n=nn.transition,r=_e;try{if(nn.transition=null,_e=1,e)return e()}finally{_e=r,nn.transition=n,ve=t,(ve&6)===0&&ao()}}function eg(){Vt=hi.current,Le(hi)}function Po(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,k3(n)),Xe!==null)for(n=Xe.return;n!==null;){var r=n;switch(Nv(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Hu();break;case 3:ji(),Le(Mt),Le(wt),Uv();break;case 5:Bv(r);break;case 4:ji();break;case 13:Le(ze);break;case 19:Le(ze);break;case 10:Iv(r.type._context);break;case 22:case 23:eg()}n=n.return}if(at=e,Xe=e=Hr(e.current,null),dt=Vt=t,nt=0,Ts=null,Zv=ed=Fo=0,kt=Wa=null,So!==null){for(t=0;t<So.length;t++)if(n=So[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}So=null}return e}function vb(e,t){do{var n=Xe;try{if(Fv(),mu.current=Ju,Qu){for(var r=Ve.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Qu=!1}if(Do=0,ot=Je=Ve=null,Ga=!1,Cs=0,Xv.current=null,n===null||n.return===null){nt=1,Ts=t,Xe=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=dt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,d=c.tag;if((c.mode&1)===0&&(d===0||d===11||d===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ny(a);if(h!==null){h.flags&=-257,ry(h,a,s,i,t),h.mode&1&&ty(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){ty(i,u,t),tg();break e}l=Error(V(426))}}else if(Ie&&s.mode&1){var _=ny(a);if(_!==null){(_.flags&65536)===0&&(_.flags|=256),ry(_,a,s,i,t),Lv(zi(l,s));break e}}i=l=zi(l,s),nt!==4&&(nt=2),Wa===null?Wa=[i]:Wa.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=JE(i,l,t);q1(i,y);break e;case 1:s=l;var g=i.type,x=i.stateNode;if((i.flags&128)===0&&(typeof g.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Br===null||!Br.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=eb(i,s,t);q1(i,w);break e}}i=i.return}while(i!==null)}xb(n)}catch(E){t=E,Xe===n&&n!==null&&(Xe=n=n.return);continue}break}while(1)}function gb(){var e=ec.current;return ec.current=Ju,e===null?Ju:e}function tg(){(nt===0||nt===3||nt===2)&&(nt=4),at===null||(Fo&268435455)===0&&(ed&268435455)===0||Pr(at,dt)}function rc(e,t){var n=ve;ve|=2;var r=gb();(at!==e||dt!==t)&&(Un=null,Po(e,t));do try{t4();break}catch(o){vb(e,o)}while(1);if(Fv(),ve=n,ec.current=r,Xe!==null)throw Error(V(261));return at=null,dt=0,nt}function t4(){for(;Xe!==null;)yb(Xe)}function n4(){for(;Xe!==null&&!$k();)yb(Xe)}function yb(e){var t=wb(e.alternate,e,Vt);e.memoizedProps=e.pendingProps,t===null?xb(e):Xe=t,Xv.current=null}function xb(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=q3(n,t,Vt),n!==null){Xe=n;return}}else{if(n=K3(n,t),n!==null){n.flags&=32767,Xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{nt=6,Xe=null;return}}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);nt===0&&(nt=5)}function xo(e,t,n){var r=_e,o=nn.transition;try{nn.transition=null,_e=1,r4(e,t,n,r)}finally{nn.transition=o,_e=r}return null}function r4(e,t,n,r){do $i();while(Mr!==null);if((ve&6)!==0)throw Error(V(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(V(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Fk(e,i),e===at&&(Xe=at=null,dt=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Ml||(Ml=!0,Eb(Iu,function(){return $i(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=nn.transition,nn.transition=null;var a=_e;_e=1;var s=ve;ve|=4,Xv.current=null,Z3(e,n),pb(n,e),b3(wh),zu=!!_h,wh=_h=null,e.current=n,Q3(n),Tk(),ve=s,_e=a,nn.transition=i}else e.current=n;if(Ml&&(Ml=!1,Mr=e,nc=o),i=e.pendingLanes,i===0&&(Br=null),Rk(n.stateNode),Lt(e,qe()),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(tc)throw tc=!1,e=Vh,Vh=null,e;return(nc&1)!==0&&e.tag!==0&&$i(),i=e.pendingLanes,(i&1)!==0?e===Bh?qa++:(qa=0,Bh=e):qa=0,ao(),null}function $i(){if(Mr!==null){var e=Q2(nc),t=nn.transition,n=_e;try{if(nn.transition=null,_e=16>e?16:e,Mr===null)var r=!1;else{if(e=Mr,Mr=null,nc=0,(ve&6)!==0)throw Error(V(331));var o=ve;for(ve|=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:Ya(8,c,i)}var d=c.child;if(d!==null)d.return=c,X=d;else for(;X!==null;){c=X;var p=c.sibling,h=c.return;if(cb(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:Ya(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,X=y;break e}X=i.return}}var g=e.current;for(X=g;X!==null;){a=X;var x=a.child;if((a.subtreeFlags&2064)!==0&&x!==null)x.return=a,X=x;else e:for(a=g;X!==null;){if(s=X,(s.flags&2048)!==0)try{switch(s.tag){case 0:case 11:case 15:Jc(9,s)}}catch(E){Ue(s,s.return,E)}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(ve=o,ao(),Mn&&typeof Mn.onPostCommitFiberRoot=="function")try{Mn.onPostCommitFiberRoot(Gc,e)}catch(E){}r=!0}return r}finally{_e=n,nn.transition=t}}return!1}function vy(e,t,n){t=zi(n,t),t=JE(e,t,1),e=Vr(e,t,1),t=At(),e!==null&&(Xs(e,1,t),Lt(e,t))}function Ue(e,t,n){if(e.tag===3)vy(e,e,n);else for(;t!==null;){if(t.tag===3){vy(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Br===null||!Br.has(r))){e=zi(n,e),e=eb(t,e,1),t=Vr(t,e,1),e=At(),t!==null&&(Xs(t,1,e),Lt(t,e));break}}t=t.return}}function o4(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=At(),e.pingedLanes|=e.suspendedLanes&n,at===e&&(dt&n)===n&&(nt===4||nt===3&&(dt&130023424)===dt&&500>qe()-Qv?Po(e,0):Zv|=n),Lt(e,t)}function _b(e,t){t===0&&((e.mode&1)===0?t=1:(t=bl,bl<<=1,(bl&130023424)===0&&(bl=4194304)));var n=At();e=tr(e,t),e!==null&&(Xs(e,t,n),Lt(e,n))}function i4(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_b(e,n)}function a4(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(V(314))}r!==null&&r.delete(t),_b(e,n)}var wb;wb=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Mt.current)Ot=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ot=!1,W3(e,t,n);Ot=(e.flags&131072)!==0}else Ot=!1,Ie&&(t.flags&1048576)!==0&&SE(t,Wu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;gu(e,t),e=t.pendingProps;var o=Di(t,wt.current);Ai(t,n),o=Gv(null,t,r,e,o,n);var i=Yv();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,Nt(r)?(i=!0,Gu(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,zv(t),o.updater=Zc,t.stateNode=o,o._reactInternals=t,kh(t,r,e,n),t=Mh(null,t,r,!0,i,n)):(t.tag=0,Ie&&i&&Mv(t),bt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(gu(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=l4(r),e=fn(r,e),o){case 0:t=Oh(null,t,r,e,n);break e;case 1:t=ay(null,t,r,e,n);break e;case 11:t=oy(null,t,r,e,n);break e;case 14:t=iy(null,t,r,fn(r.type,e),n);break e}throw Error(V(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:fn(r,o),Oh(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:fn(r,o),ay(e,t,r,o,n);case 3:e:{if(ob(t),e===null)throw Error(V(387));r=t.pendingProps,i=t.memoizedState,o=i.element,TE(e,t),Xu(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=zi(Error(V(423)),t),t=sy(e,t,r,n,o);break e}else if(r!==o){o=zi(Error(V(424)),t),t=sy(e,t,r,n,o);break e}else for(Ut=zr(t.stateNode.containerInfo.firstChild),Ht=t,Ie=!0,vn=null,n=OE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Fi(),r===o){t=nr(e,t,n);break e}bt(e,t,r,n)}t=t.child}return t;case 5:return ME(t),e===null&&$h(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,Eh(r,o)?a=null:i!==null&&Eh(r,i)&&(t.flags|=32),rb(e,t),bt(e,t,a,n),t.child;case 6:return e===null&&$h(t),null;case 13:return ib(e,t,n);case 4:return Vv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ii(t,null,r,n):bt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:fn(r,o),oy(e,t,r,o,n);case 7:return bt(e,t,t.pendingProps,n),t.child;case 8:return bt(e,t,t.pendingProps.children,n),t.child;case 12:return bt(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,ke(qu,r._currentValue),r._currentValue=a,i!==null)if(bn(i.value,a)){if(i.children===o.children&&!Mt.current){t=nr(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=Kn(-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),Th(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(V(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Th(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}bt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ai(t,n),o=rn(o),r=r(o),t.flags|=1,bt(e,t,r,n),t.child;case 14:return r=t.type,o=fn(r,t.pendingProps),o=fn(r.type,o),iy(e,t,r,o,n);case 15:return tb(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:fn(r,o),gu(e,t),t.tag=1,Nt(r)?(e=!0,Gu(t)):e=!1,Ai(t,n),kE(t,r,o),kh(t,r,o,n),Mh(null,t,r,!0,e,n);case 19:return ab(e,t,n);case 22:return nb(e,t,n)}throw Error(V(156,t.tag))};function Eb(e,t){return q2(e,t)}function s4(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 Jt(e,t,n,r){return new s4(e,t,n,r)}function ng(e){return e=e.prototype,!(!e||!e.isReactComponent)}function l4(e){if(typeof e=="function")return ng(e)?1:0;if(e!=null){if(e=e.$$typeof,e===wv)return 11;if(e===Ev)return 14}return 2}function Hr(e,t){var n=e.alternate;return n===null?(n=Jt(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 _u(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")ng(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case oi:return ko(n.children,o,i,t);case _v:a=8,o|=8;break;case eh:return e=Jt(12,n,t,o|2),e.elementType=eh,e.lanes=i,e;case th:return e=Jt(13,n,t,o),e.elementType=th,e.lanes=i,e;case nh:return e=Jt(19,n,t,o),e.elementType=nh,e.lanes=i,e;case R2:return td(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case P2:a=10;break e;case k2:a=9;break e;case wv:a=11;break e;case Ev:a=14;break e;case br:a=16,r=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=Jt(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function ko(e,t,n,r){return e=Jt(7,e,r,t),e.lanes=n,e}function td(e,t,n,r){return e=Jt(22,e,r,t),e.elementType=R2,e.lanes=n,e.stateNode={isHidden:!1},e}function qf(e,t,n){return e=Jt(6,e,null,t),e.lanes=n,e}function Kf(e,t,n){return t=Jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function u4(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=Pf(0),this.expirationTimes=Pf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pf(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function rg(e,t,n,r,o,i,a,s,l){return e=new u4(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Jt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zv(i),e}function c4(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ri,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function bb(e){if(!e)return Zr;e=e._reactInternals;e:{if(Bo(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Nt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(Nt(n))return EE(e,n,t)}return t}function Sb(e,t,n,r,o,i,a,s,l){return e=rg(n,r,!0,e,o,i,a,s,l),e.context=bb(null),n=e.current,r=At(),o=Ur(n),i=Kn(r,o),i.callback=t!=null?t:null,Vr(n,i,o),e.current.lanes=o,Xs(e,o,r),Lt(e,r),e}function nd(e,t,n,r){var o=t.current,i=At(),a=Ur(o);return n=bb(n),t.context===null?t.context=n:t.pendingContext=n,t=Kn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vr(o,t,a),e!==null&&(xn(e,o,a,i),hu(e,o,a)),a}function oc(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 gy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function og(e,t){gy(e,t),(e=e.alternate)&&gy(e,t)}function d4(){return null}var Cb=typeof reportError=="function"?reportError:function(e){console.error(e)};function ig(e){this._internalRoot=e}rd.prototype.render=ig.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));nd(e,t,null,null)};rd.prototype.unmount=ig.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Io(function(){nd(null,e,null,null)}),t[er]=null}};function rd(e){this._internalRoot=e}rd.prototype.unstable_scheduleHydration=function(e){if(e){var t=tE();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tr.length&&t!==0&&t<Tr[n].priority;n++);Tr.splice(n,0,e),n===0&&rE(e)}};function ag(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function od(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function yy(){}function f4(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=oc(a);i.call(u)}}var a=Sb(t,r,e,0,null,!1,!1,"",yy);return e._reactRootContainer=a,e[er]=a.current,_s(e.nodeType===8?e.parentNode:e),Io(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=oc(l);s.call(u)}}var l=rg(e,0,!1,null,null,!1,!1,"",yy);return e._reactRootContainer=l,e[er]=l.current,_s(e.nodeType===8?e.parentNode:e),Io(function(){nd(t,l,n,r)}),l}function id(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=oc(a);s.call(l)}}nd(t,a,e,o)}else a=f4(n,t,e,o,r);return oc(a)}J2=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Da(t.pendingLanes);n!==0&&(Cv(t,n|1),Lt(t,qe()),(ve&6)===0&&(Vi=qe()+500,ao()))}break;case 13:Io(function(){var r=tr(e,1);if(r!==null){var o=At();xn(r,e,1,o)}}),og(e,1)}};Av=function(e){if(e.tag===13){var t=tr(e,134217728);if(t!==null){var n=At();xn(t,e,134217728,n)}og(e,134217728)}};eE=function(e){if(e.tag===13){var t=Ur(e),n=tr(e,t);if(n!==null){var r=At();xn(n,e,t,r)}og(e,t)}};tE=function(){return _e};nE=function(e,t){var n=_e;try{return _e=e,t()}finally{_e=n}};fh=function(e,t,n){switch(t){case"input":if(ih(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=Kc(r);if(!o)throw Error(V(90));M2(r),ih(r,o)}}}break;case"textarea":L2(e,n);break;case"select":t=n.value,t!=null&&Ei(e,!!n.multiple,t,!1)}};B2=Jv;U2=Io;var p4={usingClientEntryPoint:!1,Events:[Qs,li,Kc,z2,V2,Jv]},$a={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},h4={bundleType:$a.bundleType,version:$a.version,rendererPackageName:$a.rendererPackageName,rendererConfig:$a.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:dr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Y2(e),e===null?null:e.stateNode},findFiberByHostInstance:$a.findFiberByHostInstance||d4,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Nl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nl.isDisabled&&Nl.supportsFiber)try{Gc=Nl.inject(h4),Mn=Nl}catch(e){}}qt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=p4;qt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ag(t))throw Error(V(200));return c4(e,t,null,n)};qt.createRoot=function(e,t){if(!ag(e))throw Error(V(299));var n=!1,r="",o=Cb;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=rg(e,1,!1,null,null,n,!1,r,o),e[er]=t.current,_s(e.nodeType===8?e.parentNode:e),new ig(t)};qt.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(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=Y2(t),e=e===null?null:e.stateNode,e};qt.flushSync=function(e){return Io(e)};qt.hydrate=function(e,t,n){if(!od(t))throw Error(V(200));return id(null,e,t,!0,n)};qt.hydrateRoot=function(e,t,n){if(!ag(e))throw Error(V(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=Cb;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Sb(t,null,e,1,n!=null?n:null,o,!1,i,a),e[er]=t.current,_s(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new rd(t)};qt.render=function(e,t,n){if(!od(t))throw Error(V(200));return id(null,e,t,!1,n)};qt.unmountComponentAtNode=function(e){if(!od(e))throw Error(V(40));return e._reactRootContainer?(Io(function(){id(null,null,e,!1,function(){e._reactRootContainer=null,e[er]=null})}),!0):!1};qt.unstable_batchedUpdates=Jv;qt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!od(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return id(e,t,n,!1,r)};qt.version="18.2.0-next-9e3b772b8-20220608";(function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=qt})(Wt);const Ab=g2(Wt.exports);var xy=Wt.exports;Qp.createRoot=xy.createRoot,Qp.hydrateRoot=xy.hydrateRoot;function m4(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function ad(){return!m4()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function Nr(e,t){return e.require(t)}function v4(e){let t;try{t=Nr(module,e)}catch(n){}try{const{cwd:n}=Nr(module,"process");t=Nr(module,`${n()}/node_modules/${e}`)}catch(n){}return t}var g4={};function Se(){return ad()?global:typeof window<"u"?window:typeof self<"u"?self:g4}function sg(e,t,n){var r=n||Se(),o=r.__SENTRY__=r.__SENTRY__||{},i=o[e]||(o[e]=t());return i}var $b=Object.prototype.toString;function Tb(e){switch($b.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return fr(e,Error)}}function ia(e,t){return $b.call(e)===`[object ${t}]`}function Pb(e){return ia(e,"ErrorEvent")}function _y(e){return ia(e,"DOMError")}function y4(e){return ia(e,"DOMException")}function Qr(e){return ia(e,"String")}function kb(e){return e===null||typeof e!="object"&&typeof e!="function"}function Bi(e){return ia(e,"Object")}function lg(e){return typeof Event<"u"&&fr(e,Event)}function x4(e){return typeof Element<"u"&&fr(e,Element)}function _4(e){return ia(e,"RegExp")}function ug(e){return Boolean(e&&e.then&&typeof e.then=="function")}function w4(e){return Bi(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Rb(e){return typeof e=="number"&&e!==e}function fr(e,t){try{return e instanceof t}catch(n){return!1}}function Ps(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=E4(s,t),!(c==="html"||l>1&&u+o.length*a+c.length>=r));)o.push(c),u+=c.length,s=s.parentNode;return o.reverse().join(i)}catch(s){return"<unknown>"}}function E4(e,t){var n=e,r=[];let o,i,a,s,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var u=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{r.push(`[${d[0]}="${d[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),o=n.className,o&&Qr(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 b4(){var e=Se();try{return e.document.location.href}catch(t){return""}}class yt 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 S4=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function C4(e){return e==="http"||e==="https"}function cg(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 A4(e){var t=S4.exec(e);if(!t)throw new yt(`Invalid Sentry Dsn: ${e}`);const[n,r,o="",i,a="",s]=t.slice(1);let l="",u=s;var c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){var d=u.match(/^\d+/);d&&(u=d[0])}return Ob({host:i,pass:o,path:l,projectId:u,port:a,protocol:n,publicKey:r})}function Ob(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function $4(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;var o=["protocol","publicKey","host","projectId"];if(o.forEach(i=>{if(!e[i])throw new yt(`Invalid Sentry Dsn: ${i} missing`)}),!n.match(/^\d+$/))throw new yt(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!C4(r))throw new yt(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new yt(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function T4(e){var t=typeof e=="string"?A4(e):Ob(e);return $4(t),t}var P4=Se(),k4="Sentry Logger ",ic=["debug","info","warn","error","log","assert","trace"];function Mb(e){var t=Se();if(!("console"in t))return e();var n=t.console,r={};ic.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 wy(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?ic.forEach(n=>{t[n]=(...r)=>{e&&Mb(()=>{P4.console[n](`${k4}[${n}]:`,...r)})}}):ic.forEach(n=>{t[n]=()=>{}}),t}let Y;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Y=sg("logger",wy):Y=wy();function Ka(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function Ey(e,t){if(!Array.isArray(e))return"";var n=[];for(let o=0;o<e.length;o++){var r=e[o];try{n.push(String(r))}catch(i){n.push("[value cannot be serialized]")}}return n.join(t)}function ks(e,t){return Qr(e)?_4(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function xt(e,t,n){if(t in e){var r=e[t],o=n(r);if(typeof o=="function")try{Nb(o,r)}catch(i){}e[t]=o}}function dg(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Nb(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,dg(e,"__sentry_original__",t)}function fg(e){return e.__sentry_original__}function R4(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function Lb(e){if(Tb(e))return{message:e.message,name:e.name,stack:e.stack,...Sy(e)};if(lg(e)){var t={type:e.type,target:by(e.target),currentTarget:by(e.currentTarget),...Sy(e)};return typeof CustomEvent<"u"&&fr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function by(e){try{return x4(e)?Ps(e):Object.prototype.toString.call(e)}catch(t){return"<unknown>"}}function Sy(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 O4(e,t=40){var n=Object.keys(Lb(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Ka(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:Ka(r,t)}return""}function Gr(e){var t=new Map;return Gh(e,t)}function Gh(e,t){if(Bi(e)){var n=t.get(e);if(n!==void 0)return n;var r={};t.set(e,r);for(var o of Object.keys(e))typeof e[o]<"u"&&(r[o]=Gh(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(Gh(s,t))}),r}return e}function kr(e,t){return e!=null?e:t()}function M4(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 N4=50;function Db(...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 D4(o)}}function L4(e){return Array.isArray(e)?Db(...e):e}function D4(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,N4).map(o=>({...o,filename:o.filename||t[0].filename,function:o.function||"?"})).reverse()}var Xf="<anonymous>";function Jr(e){try{return!e||typeof e!="function"?Xf:e.name||Xf}catch(t){return Xf}}function pg(){if(!("fetch"in Se()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function Yh(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function F4(){if(!pg())return!1;var e=Se();if(Yh(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=Yh(r.contentWindow.fetch)),n.head.removeChild(r)}catch(o){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return t}function I4(){var e=Se(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}var je=Se(),Xa={},Cy={};function j4(e){if(!Cy[e])switch(Cy[e]=!0,e){case"console":z4();break;case"dom":K4();break;case"xhr":H4();break;case"fetch":V4();break;case"history":G4();break;case"error":X4();break;case"unhandledrejection":Z4();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("unknown instrumentation type:",e);return}}function Bt(e,t){Xa[e]=Xa[e]||[],Xa[e].push(t),j4(e)}function _n(e,t){if(!(!e||!Xa[e]))for(var n of Xa[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error(`Error while triggering instrumentation handler.
34
+ Type: ${e}
35
+ Name: ${Jr(n)}
36
+ Error:`,r)}}function z4(){"console"in je&&ic.forEach(function(e){e in je.console&&xt(je.console,e,function(t){return function(...n){_n("console",{args:n,level:e}),t&&t.apply(je.console,n)}})})}function V4(){!F4()||xt(je,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:B4(t),url:U4(t)},startTimestamp:Date.now()};return _n("fetch",{...n}),e.apply(je,t).then(r=>(_n("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw _n("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function B4(e=[]){return"Request"in je&&fr(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function U4(e=[]){return typeof e[0]=="string"?e[0]:"Request"in je&&fr(e[0],Request)?e[0].url:String(e[0])}function H4(){if("XMLHttpRequest"in je){var e=XMLHttpRequest.prototype;xt(e,"open",function(t){return function(...n){var r=this,o=n[1],i=r.__sentry_xhr__={method:Qr(n[0])?n[0].toUpperCase():n[0],url:n[1]};Qr(o)&&i.method==="POST"&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var a=function(){if(r.readyState===4){try{i.status_code=r.status}catch(s){}_n("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?xt(r,"onreadystatechange",function(s){return function(...l){return a(),s.apply(r,l)}}):r.addEventListener("readystatechange",a),t.apply(r,n)}}),xt(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),_n("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let Ll;function G4(){if(!I4())return;var e=je.onpopstate;je.onpopstate=function(...n){var r=je.location.href,o=Ll;if(Ll=r,_n("history",{from:o,to:r}),e)try{return e.apply(this,n)}catch(i){}};function t(n){return function(...r){var o=r.length>2?r[2]:void 0;if(o){var i=Ll,a=String(o);Ll=a,_n("history",{from:i,to:a})}return n.apply(this,r)}}xt(je.history,"pushState",t),xt(je.history,"replaceState",t)}var Y4=1e3;let Dl,Fl;function W4(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(n){}return!1}function q4(e){if(e.type!=="keypress")return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch(n){}return!0}function Ay(e,t=!1){return n=>{if(!(!n||Fl===n)&&!q4(n)){var r=n.type==="keypress"?"input":n.type;Dl===void 0?(e({event:n,name:r,global:t}),Fl=n):W4(Fl,n)&&(e({event:n,name:r,global:t}),Fl=n),clearTimeout(Dl),Dl=je.setTimeout(()=>{Dl=void 0},Y4)}}}function K4(){if("document"in je){var e=_n.bind(null,"dom"),t=Ay(e,!0);je.document.addEventListener("click",t,!1),je.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=je[n]&&je[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(xt(r,"addEventListener",function(o){return function(i,a,s){if(i==="click"||i=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[i]=u[i]||{refCount:0};if(!c.handler){var d=Ay(e);c.handler=d,o.call(this,i,d,s)}c.refCount+=1}catch(p){}return o.call(this,i,a,s)}}),xt(r,"removeEventListener",function(o){return function(i,a,s){if(i==="click"||i=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[i];c&&(c.refCount-=1,c.refCount<=0&&(o.call(this,i,c.handler,s),c.handler=void 0,delete u[i]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch(d){}return o.call(this,i,a,s)}}))})}}let Zf=null;function X4(){Zf=je.onerror,je.onerror=function(e,t,n,r,o){return _n("error",{column:r,error:o,line:n,msg:e,url:t}),Zf?Zf.apply(this,arguments):!1}}let Qf=null;function Z4(){Qf=je.onunhandledrejection,je.onunhandledrejection=function(e){return _n("unhandledrejection",e),Qf?Qf.apply(this,arguments):!0}}function Q4(){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 Yr(){var e=Se(),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 Fb(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function Ao(e){const{message:t,event_id:n}=e;if(t)return t;var r=Fb(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Wh(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 Rs(e,t){var n=Fb(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 $y(e){if(e&&e.__sentry_captured__)return!0;try{dg(e,"__sentry_captured__",!0)}catch(t){}return!1}function _o(e,t=1/0,n=1/0){try{return qh("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Ib(e,t=3,n=100*1024){var r=_o(e,t);return tR(r)>n?Ib(e,t-1,n):r}function qh(e,t,n=1/0,r=1/0,o=Q4()){const[i,a]=o;if(t===null||["number","boolean","string"].includes(typeof t)&&!Rb(t))return t;var s=J4(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 qh("",u,n-1,r,o)}catch(m){}var c=Array.isArray(t)?[]:{};let d=0;var p=Lb(t);for(var h in p)if(!!Object.prototype.hasOwnProperty.call(p,h)){if(d>=r){c[h]="[MaxProperties ~]";break}var v=p[h];c[h]=qh(h,v,n-1,r,o),d+=1}return a(t),c}function J4(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&t===global?"[Global]":typeof window<"u"&&t===window?"[Window]":typeof document<"u"&&t===document?"[Document]":w4(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${Jr(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 eR(e){return~-encodeURI(e).split(/%..|./).length}function tR(e){return eR(JSON.stringify(e))}var Hn;(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"})(Hn||(Hn={}));function jo(e){return new St(t=>{t(e)})}function Kh(e){return new St((t,n)=>{n(e)})}class St{__init(){this._state=Hn.PENDING}__init2(){this._handlers=[]}constructor(t){St.prototype.__init.call(this),St.prototype.__init2.call(this),St.prototype.__init3.call(this),St.prototype.__init4.call(this),St.prototype.__init5.call(this),St.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new St((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 St((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(Hn.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Hn.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Hn.PENDING){if(ug(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==Hn.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Hn.RESOLVED&&n[1](this._value),this._state===Hn.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function nR(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 Kh(new yt("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 St((s,l)=>{let u=t.length;if(!u)return s(!0);var c=setTimeout(()=>{a&&a>0&&s(!1)},a);t.forEach(d=>{jo(d).then(()=>{--u||(clearTimeout(c),s(!0))},l)})})}return{$:t,add:o,drain:i}}function Jf(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 rR=["fatal","error","warning","log","info","debug"];function oR(e){return e==="warn"?"warning":rR.includes(e)?e:"log"}var Xh={nowSeconds:()=>Date.now()/1e3};function iR(){const{performance:e}=Se();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function aR(){try{var e=Nr(module,"perf_hooks");return e.performance}catch(t){return}}var ep=ad()?aR():iR(),Ty=ep===void 0?Xh:{nowSeconds:()=>(ep.timeOrigin+ep.now())/1e3},sd=Xh.nowSeconds.bind(Xh),hg=Ty.nowSeconds.bind(Ty),Os=hg,Ui=(()=>{const{performance:e}=Se();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}})(),sR=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function lR(e){var t=e.match(sR);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function ld(e,t=[]){return[e,t]}function uR(e,t){const[n,r]=e;return[n,[...r,t]]}function Py(e,t){var n=e[1];n.forEach(r=>{var o=r[0].type;t(r,o)})}function Zh(e,t){var n=t||new TextEncoder;return n.encode(e)}function jb(e,t){const[n,r]=e;let o=JSON.stringify(n);function i(s){typeof o=="string"?o=typeof s=="string"?o+s:[Zh(o,t),s]:o.push(typeof s=="string"?Zh(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:cR(o)}function cR(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 dR(e,t){var n=typeof e.data=="string"?Zh(e.data,t):e.data;return[Gr({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var fR={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function ky(e){return fR[e]}function pR(e,t,n){var r=[{type:"client_report"},{timestamp:n||sd(),discarded_events:e}];return ld(t?{dsn:t}:{},[r])}var hR=60*1e3;function mR(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?hR:r-t}function vR(e,t){return e[t]||e.all||0}function gR(e,t,n=Date.now()){return vR(e,t)>n}function yR(e,{statusCode:t,headers:n},r=Date.now()){var o={...e},i=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(i)for(var s of i.trim().split(",")){const[d,p]=s.split(":",2);var l=parseInt(d,10),u=(isNaN(l)?60:l)*1e3;if(!p)o.all=r+u;else for(var c of p.split(";"))o[c]=r+u}else a?o.all=r+mR(a,r):t===429&&(o.all=r+60*1e3);return o}var mi="baggage",xR="sentry-",Ry=/^sentry-/,_R=8192;function ac(e,t="",n=!0){return[{...e},t,n]}function wR(e){return Object.keys(e[0]).length===0}function zb(e){return e[0]}function ER(e){return e[1]}function bR(e){return e[2]}function SR(e){e[2]=!1}function CR(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],o=`${xR}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,i=t===""?o:`${t},${o}`;return i.length>_R?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):i},e[1])}function Vb(e,t=!1){if(!Array.isArray(e)&&!Qr(e)||typeof e=="number")return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("[parseBaggageHeader] Received input value of incompatible type: ",typeof e,e),ac({},"");var n=(Qr(e)?e:e.join(",")).split(",").map(r=>r.trim()).filter(r=>r!==""&&(t||Ry.test(r)));return n.reduce(([r,o],i)=>{const[a,s]=i.split("=");if(Ry.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 Ia(e,t){if(!e&&!t)return"";var n=t&&Vb(t,!0)||void 0,r=n&&ER(n),o=ac(e&&e[0]||{},r||"");return CR(o)}function AR(e,t){var n=Vb(e||"");return(t||!wR(n))&&SR(n),n}function $R(e){var t=hg(),n={sid:Yr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>PR(n)};return e&&Hi(n,e),n}function Hi(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||hg(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Yr()),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 TR(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),Hi(e,n)}function PR(e){return Gr({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 Oy=100;class Wr{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 Wr;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&&Hi(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 Wr?n:this}return t instanceof Wr?(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)):Bi(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,Oy):Oy;if(r<=0)return this;var o={timestamp:sd(),...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([...Bb(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,o=0){return new St((i,a)=>{var s=t[o];if(n===null||typeof s!="function")i(n);else{var l=s({...n},r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&s.id&&l===null&&Y.log(`Event processor "${s.id}" dropped event`),ug(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 Bb(){return sg("globalEventProcessors",()=>[])}function mg(e){Bb().push(e)}var vg=4,kR=100;class el{__init(){this._stack=[{}]}constructor(t,n=new Wr,r=vg){this._version=r,el.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=Wr.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:Yr(),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:Yr(),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:Yr();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=kR}=o.getOptions&&o.getOptions()||{};if(!(a<=0)){var s=sd(),l={timestamp:s,...t},u=i?Mb(()=>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=My(this);try{t(this)}finally{My(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch(r){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.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&&TR(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:o,environment:i}=r&&r.getOptions()||{};var a=Se();const{userAgent:s}=a.navigator||{};var l=$R({release:o,environment:i,...n&&{user:n.getUser()},...s&&{userAgent:s},...t});if(n){var u=n.getSession&&n.getSession();u&&u.status==="ok"&&Hi(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=aa(),o=r.__SENTRY__;if(o&&o.extensions&&typeof o.extensions[t]=="function")return o.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function aa(){var e=Se();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function My(e){var t=aa(),n=Rr(t);return gg(t,e),n}function Ke(){var e=aa();return(!Ub(e)||Rr(e).isOlderThan(vg))&&gg(e,new el),ad()?RR(e):Rr(e)}function RR(e){try{var t=aa().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return Rr(e);if(!Ub(n)||Rr(n).isOlderThan(vg)){var r=Rr(e).getStackTop();gg(n,new el(r.client,Wr.clone(r.scope)))}return Rr(n)}catch(o){return Rr(e)}}function Ub(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Rr(e){return sg("hub",()=>new el,e)}function gg(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function OR(e,t){return Ke().captureException(e,{captureContext:t})}function MR(e){Ke().withScope(e)}var NR="7";function LR(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function DR(e){return`${LR(e)}${e.projectId}/envelope/`}function FR(e,t){return R4({sentry_key:e.publicKey,sentry_version:NR,...t&&{sentry_client:`${t.name}/${t.version}`}})}function Hb(e,t={}){var n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${DR(e)}?${FR(e,r)}`}function Gb(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function IR(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 jR(e,t,n,r){var o=Gb(n),i={sent_at:new Date().toISOString(),...o&&{sdk:o},...!!r&&{dsn:cg(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return ld(i,[a])}function zR(e,t,n,r){var o=Gb(n),i=e.type||"event";const{transactionSampling:a}=e.sdkProcessingMetadata||{},{method:s,rate:l}=a||{};IR(e,n&&n.sdk);var u=VR(e,o,r,t);delete e.sdkProcessingMetadata;var c=[{type:i,sample_rates:[{id:s,rate:l}]},e];return ld(u,[c])}function VR(e,t,n,r){var o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,i=o&&zb(o);return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:cg(r)},...e.type==="transaction"&&i&&{trace:Gr({...i})}}}var Ny=[];function Ly(e){return e.reduce((t,n)=>(t.every(r=>n.name!==r.name)&&t.push(n),t),[])}function BR(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...Ly(t)];Array.isArray(n)?r=[...r.filter(a=>n.every(s=>s.name!==a.name)),...Ly(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 UR(e){var t={};return e.forEach(n=>{t[n.name]=n,Ny.indexOf(n.name)===-1&&(n.setupOnce(mg,Ke),Ny.push(n.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`Integration installed: ${n.name}`))}),t}var Dy="Not capturing exception because it's already been captured.";class vi{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(vi.prototype.__init.call(this),vi.prototype.__init2.call(this),vi.prototype.__init3.call(this),vi.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=T4(t.dsn);var n=Hb(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if($y(t)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(Dy);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=kb(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&&$y(n.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(Dy);return}let o=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(i=>{o=i})),o}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Hi(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)):jo(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=UR(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(n){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let o=zR(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])o=uR(o,dR(r,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(o)}}sendSession(t){if(this._dsn){var n=jR(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n){if(this._options.sendClientReports){var r=`${t}:${n}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.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&&(Hi(t,{...r&&{status:"crashed"},errors:t.errors||Number(o||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new St(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||Yr(),timestamp:t.timestamp||sd()};this._applyClientOptions(a),this._applyIntegrationsMetadata(a);let s=r;n.captureContext&&(s=Wr.clone(s).update(n.captureContext));let l=jo(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:_o(i.data,n,r)}}))},...t.user&&{user:_o(t.user,n,r)},...t.contexts&&{contexts:_o(t.contexts,n,r)},...t.extra&&{extra:_o(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=_o(t.contexts.trace.data,n,r))),t.spans&&(o.spans=t.spans.map(i=>(i.data&&(i.data=_o(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=Ka(t.message,a));var s=t.exception&&t.exception.values&&t.exception.values[0];s&&s.value&&(s.value=Ka(s.value,a));var l=t.request;l&&l.url&&(l.url=Ka(l.url,a))}_applyIntegrationsMetadata(t){var n=Object.keys(this._integrations);n.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...n])}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(o=>o.event_id,o=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){var i=o;i.logLevel==="log"?Y.log(i.message):Y.warn(i)}})}_processEvent(t,n,r){const{beforeSend:o,sampleRate:i}=this.getOptions();if(!this._isEnabled())return Kh(new yt("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"),Kh(new yt(`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 yt("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 HR(u)}).then(s=>{if(s===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new yt("`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 yt?s:(this.captureException(s,{data:{__sentry__:!0},originalException:s}),new yt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
39
+ Reason: ${s}`))})}_process(t){this._numProcessing+=1,t.then(n=>(this._numProcessing-=1,n),n=>(this._numProcessing-=1,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.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 HR(e){var t="`beforeSend` method has to return `null` or a valid event.";if(ug(e))return e.then(n=>{if(!(Bi(n)||n===null))throw new yt(t);return n},n=>{throw new yt(`beforeSend rejected with ${n}`)});if(!(Bi(e)||e===null))throw new yt(t);return e}function GR(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Y.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Ke(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}var YR=30;function Yb(e,t,n=nR(e.bufferSize||YR)){let r={};var o=a=>n.drain(a);function i(a){var s=[];if(Py(a,(d,p)=>{var h=ky(p);gR(r,h)?e.recordDroppedEvent("ratelimit_backoff",h):s.push(d)}),s.length===0)return jo();var l=ld(a[0],s),u=d=>{Py(l,(p,h)=>{e.recordDroppedEvent(d,ky(h))})},c=()=>t({body:jb(l,e.textEncoder)}).then(d=>{d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),r=yR(r,d)},d=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error("Failed while sending event:",d),u("network_error")});return n.add(c).then(d=>d,d=>{if(d instanceof yt)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error("Skipped sending event due to full buffer"),u("queue_overflow"),jo();throw d})}return{send:i,flush:o}}var sc="7.11.1";let Fy;class Ms{constructor(){Ms.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=Ms.id}setupOnce(){Fy=Function.prototype.toString,Function.prototype.toString=function(...t){var n=fg(this)||this;return Fy.apply(n,t)}}}Ms.__initStatic();var WR=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Ti{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Ti.id}constructor(t={}){this._options=t,Ti.prototype.__init.call(this)}setupOnce(t,n){var r=o=>{var i=n();if(i){var a=i.getIntegration(Ti);if(a){var s=i.getClient(),l=s?s.getOptions():{},u=qR(a._options,l);return KR(o,u)?null:o}}return o};r.id=this.name,t(r)}}Ti.__initStatic();function qR(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...WR],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function KR(e,t){return t.ignoreInternal&&eO(e)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Event dropped due to being internal Sentry Error.
40
+ Event: ${Ao(e)}`),!0):XR(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
41
+ Event: ${Ao(e)}`),!0):ZR(e,t.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Event dropped due to being matched by \`denyUrls\` option.
42
+ Event: ${Ao(e)}.
43
+ Url: ${lc(e)}`),!0):QR(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`Event dropped due to not being matched by \`allowUrls\` option.
44
+ Event: ${Ao(e)}.
45
+ Url: ${lc(e)}`),!0)}function XR(e,t){return!t||!t.length?!1:JR(e).some(n=>t.some(r=>ks(n,r)))}function ZR(e,t){if(!t||!t.length)return!1;var n=lc(e);return n?t.some(r=>ks(n,r)):!1}function QR(e,t){if(!t||!t.length)return!0;var n=lc(e);return n?t.some(r=>ks(n,r)):!0}function JR(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error(`Cannot extract message for event ${Ao(e)}`),[]}return[]}function eO(e){try{return e.exception.values[0].type==="SentryError"}catch(t){}return!1}function tO(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 lc(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(n){}return t?tO(t):null}catch(t){return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error(`Cannot extract url for event ${Ao(e)}`),null}}function Wb(e,t){var n=yg(e,t),r={type:t&&t.name,value:iO(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function nO(e,t,n,r){var o={exception:{values:[{type:lg(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${O4(t)}`}]},extra:{__serialized__:Ib(t)}};if(n){var i=yg(e,n);i.length&&(o.exception.values[0].stacktrace={frames:i})}return o}function tp(e,t){return{exception:{values:[Wb(e,t)]}}}function yg(e,t){var n=t.stacktrace||t.stack||"",r=oO(t);try{return e(n,r)}catch(o){}return[]}var rO=/Minified React error #\d+;/i;function oO(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(rO.test(e.message))return 1}return 0}function iO(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function aO(e,t,n,r){var o=n&&n.syntheticException||void 0,i=xg(e,t,o,r);return Rs(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),jo(i)}function sO(e,t,n="info",r,o){var i=r&&r.syntheticException||void 0,a=Qh(e,t,i,o);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),jo(a)}function xg(e,t,n,r,o){let i;if(Pb(t)&&t.error){var a=t;return tp(e,a.error)}if(_y(t)||y4(t)){var s=t;if("stack"in t)i=tp(e,t);else{var l=s.name||(_y(s)?"DOMError":"DOMException"),u=s.message?`${l}: ${s.message}`:l;i=Qh(e,u,n,r),Wh(i,u)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}if(Tb(t))return tp(e,t);if(Bi(t)||lg(t)){var c=t;return i=nO(e,c,n,o),Rs(i,{synthetic:!0}),i}return i=Qh(e,t,n,r),Wh(i,`${t}`,void 0),Rs(i,{synthetic:!0}),i}function Qh(e,t,n,r){var o={message:t};if(r&&n){var i=yg(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]})}return o}var qb="Breadcrumbs";class Ns{static __initStatic(){this.id=qb}__init(){this.name=Ns.id}constructor(t){Ns.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Bt("console",uO),this.options.dom&&Bt("dom",lO(this.options.dom)),this.options.xhr&&Bt("xhr",cO),this.options.fetch&&Bt("fetch",dO),this.options.history&&Bt("history",fO)}}Ns.__initStatic();function lO(e){function t(n){let r,o=typeof e=="object"?e.serializeAttribute:void 0;typeof o=="string"&&(o=[o]);try{r=n.event.target?Ps(n.event.target,o):Ps(n.event,o)}catch(i){r="<unknown>"}r.length!==0&&Ke().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function uO(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:oR(e.level),message:Ey(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${Ey(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;Ke().addBreadcrumb(t,{input:e.args,level:e.level})}function cO(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__||{};Ke().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:o});return}}function dO(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Ke().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Ke().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response}))}function fO(e){var t=Se();let n=e.from,r=e.to;var o=Jf(t.location.href);let i=Jf(n);var a=Jf(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),Ke().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var gn=Se();let Il;function Kb(){if(Il)return Il;if(Yh(gn.fetch))return Il=gn.fetch.bind(gn);var e=gn.document;let t=gn.fetch;if(e&&typeof e.createElement=="function")try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(o){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",o)}return Il=t.bind(gn)}function pO(e,t){var n=Object.prototype.toString.call(gn&&gn.navigator)==="[object Navigator]",r=n&&typeof gn.navigator.sendBeacon=="function";if(r){var o=gn.navigator.sendBeacon.bind(gn.navigator);o(e,t)}else if(pg()){var i=Kb();i(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,a=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error(a)})}}var np=Se();class hO extends vi{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:sc}],version:sc},super(t),t.sendClientReports&&np.document&&np.document.addEventListener("visibilitychange",()=>{np.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return aO(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return sO(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(qb);r&&r.options&&r.options.sentry&&Ke().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:Ao(t)},{event:t}),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){var t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("Sending outcomes:",t);var n=Hb(this._dsn,this._options),r=pR(t,this._options.tunnel&&cg(this._dsn));try{pO(n,jb(r))}catch(o){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.error(o)}}}function mO(e,t=Kb()){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 Yb(e,n)}var vO=4;function gO(e){function t(n){return new St((r,o)=>{var i=new XMLHttpRequest;i.onerror=o,i.onreadystatechange=()=>{i.readyState===vO&&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 Yb(e,t)}var ud="?",yO=30,xO=40,_O=50;function _g(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 wO=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,EO=/\((\S*)(?::(\d+))(?::(\d+))\)/,bO=e=>{var t=wO.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=EO.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[o,i]=Xb(t[1]||ud,t[2]);return _g(i,o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},SO=[yO,bO],CO=/^\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,AO=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,$O=e=>{var t=CO.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=AO.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]||ud;return[i,o]=Xb(i,o),_g(o,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},TO=[_O,$O],PO=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,kO=e=>{var t=PO.exec(e);return t?_g(t[2],t[1]||ud,+t[3],t[4]?+t[4]:void 0):void 0},RO=[xO,kO],OO=[SO,TO,RO],MO=Db(...OO),Xb=(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]:ud,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let Jh=0;function Zb(){return Jh>0}function NO(){Jh+=1,setTimeout(()=>{Jh-=1})}function Gi(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(fg(e))return e}catch(s){return e}var o=function(){var s=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);var l=s.map(u=>Gi(u,t));return e.apply(this,l)}catch(u){throw NO(),MR(c=>{c.addEventProcessor(d=>(t.mechanism&&(Wh(d,void 0,void 0),Rs(d,t.mechanism)),d.extra={...d.extra,arguments:s},d)),OR(u)}),u}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(s){}Nb(o,e),dg(e,"__sentry_wrapped__",o);try{var a=Object.getOwnPropertyDescriptor(o,"name");a.configurable&&Object.defineProperty(o,"name",{get(){return e.name}})}catch(s){}return o}class qr{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=qr.id}__init2(){this._installFunc={onerror:LO,onunhandledrejection:DO}}constructor(t){qr.prototype.__init.call(this),qr.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]&&(jO(n),r(),this._installFunc[n]=void 0)}}}qr.__initStatic();function LO(){Bt("error",e=>{const[t,n,r]=eS();if(!t.getIntegration(qr))return;const{msg:o,url:i,line:a,column:s,error:l}=e;if(!(Zb()||l&&l.__sentry_own_request__)){var u=l===void 0&&Qr(o)?IO(o,i,a,s):Qb(xg(n,l||o,void 0,r,!1),i,a,s);u.level="error",Jb(t,l,u,"onerror")}})}function DO(){Bt("unhandledrejection",e=>{const[t,n,r]=eS();if(!t.getIntegration(qr))return;let o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch(a){}if(Zb()||o&&o.__sentry_own_request__)return!0;var i=kb(o)?FO(o):xg(n,o,void 0,r,!0);i.level="error",Jb(t,o,i,"onunhandledrejection")})}function FO(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function IO(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=Pb(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 Qb(l,t,n,r)}function Qb(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,d=Qr(t)&&t.length>0?t:b4();return l.length===0&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function jO(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`Global Handler attached: ${e}`)}function Jb(e,t,n,r){Rs(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function eS(){var e=Ke(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var zO=["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 Ls{static __initStatic(){this.id="TryCatch"}__init(){this.name=Ls.id}constructor(t){Ls.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=Se();this._options.setTimeout&&xt(t,"setTimeout",Iy),this._options.setInterval&&xt(t,"setInterval",Iy),this._options.requestAnimationFrame&&xt(t,"requestAnimationFrame",VO),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&xt(XMLHttpRequest.prototype,"send",BO);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:zO;r.forEach(UO)}}}Ls.__initStatic();function Iy(e){return function(...t){var n=t[0];return t[0]=Gi(n,{mechanism:{data:{function:Jr(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function VO(e){return function(t){return e.apply(this,[Gi(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Jr(e)},handled:!0,type:"instrument"}})])}}function BO(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(o=>{o in n&&typeof n[o]=="function"&&xt(n,o,function(i){var a={mechanism:{data:{function:o,handler:Jr(i)},handled:!0,type:"instrument"}},s=fg(i);return s&&(a.mechanism.data.handler=Jr(s)),Gi(i,a)})}),e.apply(this,t)}}function UO(e){var t=Se(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(xt(n,"addEventListener",function(r){return function(o,i,a){try{typeof i.handleEvent=="function"&&(i.handleEvent=Gi(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Jr(i),target:e},handled:!0,type:"instrument"}}))}catch(s){}return r.apply(this,[o,Gi(i,{mechanism:{data:{function:"addEventListener",handler:Jr(i),target:e},handled:!0,type:"instrument"}}),a])}}),xt(n,"removeEventListener",function(r){return function(o,i,a){var s=i;try{var l=s&&s.__sentry_wrapped__;l&&r.call(this,o,l,a)}catch(u){}return r.call(this,o,s,a)}}))}var HO="cause",GO=5;class Pi{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Pi.id}constructor(t={}){Pi.prototype.__init.call(this),this._key=t.key||HO,this._limit=t.limit||GO}setupOnce(){var t=Ke().getClient();!t||mg((n,r)=>{var o=Ke().getIntegration(Pi);return o?YO(t.getOptions().stackParser,o._key,o._limit,n,r):n})}}Pi.__initStatic();function YO(e,t,n,r,o){if(!r.exception||!r.exception.values||!o||!fr(o.originalException,Error))return r;var i=tS(e,n,o.originalException,t);return r.exception.values=[...i,...r.exception.values],r}function tS(e,t,n,r,o=[]){if(!fr(n[r],Error)||o.length+1>=t)return o;var i=Wb(e,n[r]);return tS(e,t,n[r],r,[i,...o])}var mo=Se();class ki{constructor(){ki.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=ki.id}setupOnce(){mg(t=>{if(Ke().getIntegration(ki)){if(!mo.navigator&&!mo.location&&!mo.document)return t;var n=t.request&&t.request.url||mo.location&&mo.location.href;const{referrer:i}=mo.document||{},{userAgent:a}=mo.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})}}ki.__initStatic();class Ri{constructor(){Ri.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Ri.id}setupOnce(t,n){var r=o=>{var i=n().getIntegration(Ri);if(i){try{if(WO(o,i._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(a){return i._previousEvent=o}return i._previousEvent=o}return o};r.id=this.name,t(r)}}Ri.__initStatic();function WO(e,t){return t?!!(qO(e,t)||KO(e,t)):!1}function qO(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!rS(e,t)||!nS(e,t))}function KO(e,t){var n=jy(t),r=jy(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!rS(e,t)||!nS(e,t))}function nS(e,t){let n=zy(e),r=zy(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 rS(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch(o){return!1}}function jy(e){return e.exception&&e.exception.values&&e.exception.values[0]}function zy(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(n){return}}var XO=[new Ti,new Ms,new Ls,new Ns,new qr,new Pi,new Ri,new ki];function ZO(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=XO),e.release===void 0){var t=Se();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:L4(e.stackParser||MO),integrations:BR(e),transport:e.transport||(pg()?mO:gO)};GR(hO,n),e.autoSessionTracking&&QO()}function Vy(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function QO(){var e=Se(),t=e.document;if(typeof t>"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=Ke();!n.captureSession||(Vy(n),Bt("history",({from:r,to:o})=>{r===void 0||r===o||Vy(Ke())}))}function JO(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:sc}],version:sc},ZO(e)}var oS={exports:{}},we={};/** @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 lt=typeof Symbol=="function"&&Symbol.for,wg=lt?Symbol.for("react.element"):60103,Eg=lt?Symbol.for("react.portal"):60106,cd=lt?Symbol.for("react.fragment"):60107,dd=lt?Symbol.for("react.strict_mode"):60108,fd=lt?Symbol.for("react.profiler"):60114,pd=lt?Symbol.for("react.provider"):60109,hd=lt?Symbol.for("react.context"):60110,bg=lt?Symbol.for("react.async_mode"):60111,md=lt?Symbol.for("react.concurrent_mode"):60111,vd=lt?Symbol.for("react.forward_ref"):60112,gd=lt?Symbol.for("react.suspense"):60113,e9=lt?Symbol.for("react.suspense_list"):60120,yd=lt?Symbol.for("react.memo"):60115,xd=lt?Symbol.for("react.lazy"):60116,t9=lt?Symbol.for("react.block"):60121,n9=lt?Symbol.for("react.fundamental"):60117,r9=lt?Symbol.for("react.responder"):60118,o9=lt?Symbol.for("react.scope"):60119;function Xt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case wg:switch(e=e.type,e){case bg:case md:case cd:case fd:case dd:case gd:return e;default:switch(e=e&&e.$$typeof,e){case hd:case vd:case xd:case yd:case pd:return e;default:return t}}case Eg:return t}}}function iS(e){return Xt(e)===md}we.AsyncMode=bg;we.ConcurrentMode=md;we.ContextConsumer=hd;we.ContextProvider=pd;we.Element=wg;we.ForwardRef=vd;we.Fragment=cd;we.Lazy=xd;we.Memo=yd;we.Portal=Eg;we.Profiler=fd;we.StrictMode=dd;we.Suspense=gd;we.isAsyncMode=function(e){return iS(e)||Xt(e)===bg};we.isConcurrentMode=iS;we.isContextConsumer=function(e){return Xt(e)===hd};we.isContextProvider=function(e){return Xt(e)===pd};we.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===wg};we.isForwardRef=function(e){return Xt(e)===vd};we.isFragment=function(e){return Xt(e)===cd};we.isLazy=function(e){return Xt(e)===xd};we.isMemo=function(e){return Xt(e)===yd};we.isPortal=function(e){return Xt(e)===Eg};we.isProfiler=function(e){return Xt(e)===fd};we.isStrictMode=function(e){return Xt(e)===dd};we.isSuspense=function(e){return Xt(e)===gd};we.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cd||e===md||e===fd||e===dd||e===gd||e===e9||typeof e=="object"&&e!==null&&(e.$$typeof===xd||e.$$typeof===yd||e.$$typeof===pd||e.$$typeof===hd||e.$$typeof===vd||e.$$typeof===n9||e.$$typeof===r9||e.$$typeof===o9||e.$$typeof===t9)};we.typeOf=Xt;(function(e){e.exports=we})(oS);var Sg=oS.exports,i9={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a9={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s9={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},aS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Cg={};Cg[Sg.ForwardRef]=s9;Cg[Sg.Memo]=aS;function By(e){return Sg.isMemo(e)?aS:Cg[e.$$typeof]||i9}var l9=Object.defineProperty,u9=Object.getOwnPropertyNames,Uy=Object.getOwnPropertySymbols,c9=Object.getOwnPropertyDescriptor,d9=Object.getPrototypeOf,Hy=Object.prototype;function sS(e,t,n){if(typeof t!="string"){if(Hy){var r=d9(t);r&&r!==Hy&&sS(e,r,n)}var o=u9(t);Uy&&(o=o.concat(Uy(t)));for(var i=By(e),a=By(t),s=0;s<o.length;++s){var l=o[s];if(!a9[l]&&!(n&&n[l])&&!(a&&a[l])&&!(i&&i[l])){var u=c9(t,l);try{l9(e,l,u)}catch(c){}}}}return e}var f9=sS,_d={exports:{}},wd={};/**
53
+ * @license React
54
+ * react-jsx-runtime.production.min.js
55
+ *
56
+ * Copyright (c) Facebook, Inc. and its affiliates.
57
+ *
58
+ * This source code is licensed under the MIT license found in the
59
+ * LICENSE file in the root directory of this source tree.
60
+ */var p9=f.exports,h9=Symbol.for("react.element"),m9=Symbol.for("react.fragment"),v9=Object.prototype.hasOwnProperty,g9=p9.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y9={key:!0,ref:!0,__self:!0,__source:!0};function lS(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)v9.call(t,r)&&!y9.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:h9,type:e,key:i,ref:a,props:o,_owner:g9.current}}wd.Fragment=m9;wd.jsx=lS;wd.jsxs=lS;(function(e){e.exports=wd})(_d);const x9=_d.exports.Fragment,L=_d.exports.jsx,st=_d.exports.jsxs;function Ag(e){var t=Ke().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function tl(e){var t=e||Ke(),n=t.getScope();return n&&n.getTransaction()}function tt(e){return e/1e3}function _9(){Bt("error",Gy),Bt("unhandledrejection",Gy)}function Gy(){var e=tl();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class Ed{__init(){this.spans=[]}constructor(t=1e3){Ed.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class Cr{__init2(){this.traceId=Yr()}__init3(){this.spanId=Yr().substring(16)}__init4(){this.startTimestamp=Os()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(Cr.prototype.__init2.call(this),Cr.prototype.__init3.call(this),Cr.prototype.__init4.call(this),Cr.prototype.__init5.call(this),Cr.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 Cr({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&n.transaction){var r=t&&t.op||"< unknown op >",o=n.transaction.name||"< unknown name >",i=n.transaction.spanId,a=`[Tracing] Starting '${r}' span on transaction '${o}' (${i}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:a},Y.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=w9(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&Y.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:Os()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Gr({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=kr(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=kr(t.spanId,()=>this.spanId),this.startTimestamp=kr(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=kr(t.tags,()=>({})),this.traceId=kr(t.traceId,()=>this.traceId),this}getTraceContext(){return Gr({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 Gr({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 w9(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 bd extends Cr{__init(){this._measurements={}}constructor(t,n){super(t),bd.prototype.__init.call(this),this._hub=n||Ke(),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 Ed(t)),this.spanRecorder.add(this)}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp===void 0){if(this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var n=this._hub.getClient();n&&n.recordDroppedEvent("sample_rate","transaction");return}var r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,l)=>s.endTimestamp&&l.endTimestamp?s.endTimestamp>l.endTimestamp?s:l:s).endTimestamp);var o=this.metadata,i={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...o,baggage:this.getBaggage()},...o.source&&{transaction_info:{source:o.source}}},a=Object.keys(this._measurements).length>0;return a&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}}toContext(){var t=super.toContext();return Gr({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=kr(t.name,()=>""),this._trimEnd=t.trimEnd,this}getBaggage(){var t=this.metadata.baggage,n=!t||bR(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=n,n}_populateBaggageWithSentryValues(t=ac({})){var n=this._hub||Ke(),r=n&&n.getClient();if(!r)return t;const{environment:o,release:i}=r.getOptions()||{},{publicKey:a}=r.getDsn()||{};var s=this.metadata&&this.metadata.transactionSampling&&this.metadata.transactionSampling.rate&&this.metadata.transactionSampling.rate.toString(),l=n.getScope();const{segment:u}=l&&l.getUser()||{};var c=this.metadata.source,d=c&&c!=="url"?this.name:void 0;return ac(Gr({environment:o,release:i,transaction:d,user_segment:u,public_key:a,trace_id:this.traceId,sample_rate:s,...zb(t)}),"",!1)}}var uS=1e3,cS=3e4,E9=5e3;class b9 extends Ed{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:Os(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class gi extends bd{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=uS,o=cS,i=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=o,this._onScope=i,gi.prototype.__init.call(this),gi.prototype.__init2.call(this),gi.prototype.__init3.call(this),gi.prototype.__init4.call(this),i&&(Yy(n),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.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=Os()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(var n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var o=r.startTimestamp<t;return o||(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),o}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] No active IdleTransaction");return this._onScope&&Yy(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 b9(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=Os()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},E9)}}function Yy(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function S9(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function dS(e,t,n){if(!Ag(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)}})),C9(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function C9(e){return Rb(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function A9(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let o=new bd(e,this);return o=dS(o,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function $9(e,t,n,r,o,i){var a=e.getClient(),s=a&&a.getOptions()||{};let l=new gi(t,e,n,r,o);return l=dS(l,s,{parentSampled:t.parentSampled,transactionContext:t,...i}),l.sampled&&l.initSpanRecorder(s._experiments&&s._experiments.maxSpans),l}function T9(){var e=aa();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=A9),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=S9))}function P9(){var e=aa();if(!!e.__SENTRY__){var t={mongodb(){var r=Nr(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=Nr(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=Nr(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=Nr(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!v4(r)).map(r=>{try{return t[r]()}catch(o){return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function k9(){T9(),ad()&&P9(),_9()}var jl=Se();function R9(){jl&&jl.document?jl.document.addEventListener("visibilitychange",()=>{var e=tl();if(jl.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var $g=(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)))}},O9=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,Tg=(e,t)=>({name:e,value:kr(t,()=>-1),delta:0,entries:[],id:O9()}),Sd=(e,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(e==="first-input"&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver(r=>r.getEntries().map(t));return n.observe({type:e,buffered:!0}),n}}catch(r){}},Cd=(e,t)=>{var n=r=>{(r.type==="pagehide"||Se().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},M9=(e,t)=>{var n=Tg("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=Sd("layout-shift",a);s&&(r=$g(e,n,t),Cd(()=>{s.takeRecords().map(a),r(!0)}))};let wu=-1;var N9=()=>Se().document.visibilityState==="hidden"?0:1/0,L9=()=>{Cd(({timeStamp:e})=>{wu=e},!0)},Pg=()=>(wu<0&&(wu=N9(),L9()),{get firstHiddenTime(){return wu}}),D9=(e,t)=>{var n=Pg(),r=Tg("FID");let o;var i=s=>{o&&s.startTime<n.firstHiddenTime&&(r.value=s.processingStart-s.startTime,r.entries.push(s),o(!0))},a=Sd("first-input",i);a&&(o=$g(e,r,t),Cd(()=>{a.takeRecords().map(i),a.disconnect()},!0))},Wy={},F9=(e,t)=>{var n=Pg(),r=Tg("LCP");let o;var i=l=>{var u=l.startTime;u<n.firstHiddenTime&&(r.value=u,r.entries.push(l)),o&&o()},a=Sd("largest-contentful-paint",i);if(a){o=$g(e,r,t);var s=()=>{Wy[r.id]||(a.takeRecords().map(i),a.disconnect(),Wy[r.id]=!0,o(!0))};["keydown","click"].forEach(l=>{addEventListener(l,s,{once:!0,capture:!0})}),Cd(s,!0)}};function zl(e){return typeof e=="number"&&isFinite(e)}function Yi(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var Ro=Se();function fS(){return Ro&&Ro.addEventListener&&Ro.performance}let qy=0,Ae={},An,Za;function I9(e=!1){var t=fS();t&&Ui&&(t.mark&&Ro.performance.mark("sentry-tracing-init"),z9(),V9(e),B9())}function j9(){var e=t=>{var n=tl();if(!!n){var r=tt(Ui+t.startTime),o=tt(t.duration);n.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:r,endTimestamp:r+o})}};Sd("longtask",e)}function z9(){M9(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding CLS"),Ae.cls={value:e.value,unit:""},Za=t)})}function V9(e){F9(t=>{var n=t.entries.pop();if(!!n){var r=tt(Ui),o=tt(n.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding LCP"),Ae.lcp={value:t.value,unit:"millisecond"},Ae["mark.lcp"]={value:r+o,unit:"second"},An=n}},e)}function B9(){D9(e=>{var t=e.entries.pop();if(!!t){var n=tt(Ui),r=tt(t.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding FID"),Ae.fid={value:e.value,unit:"millisecond"},Ae["mark.fid"]={value:n+r,unit:"second"}}})}function U9(e){var t=fS();if(!t||!Ro.performance.getEntries||!Ui)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Tracing] Adding & adjusting spans using Performance API");var n=tt(Ui),r=t.getEntries();let o,i;r.slice(qy).forEach(a=>{var s=tt(a.startTime),l=tt(a.duration);if(!(e.op==="navigation"&&n+s<e.startTimestamp))switch(a.entryType){case"navigation":{G9(e,a,n),o=n+tt(a.responseStart),i=n+tt(a.requestStart);break}case"mark":case"paint":case"measure":{var u=H9(e,a,s,l,n),c=Pg(),d=a.startTime<c.firstHiddenTime;a.name==="first-paint"&&d&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding FP"),Ae.fp={value:a.startTime,unit:"millisecond"},Ae["mark.fp"]={value:u,unit:"second"}),a.name==="first-contentful-paint"&&d&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding FCP"),Ae.fcp={value:a.startTime,unit:"millisecond"},Ae["mark.fcp"]={value:u,unit:"second"});break}case"resource":{var p=a.name.replace(Ro.location.origin,"");W9(e,a,p,s,l,n);break}}}),qy=Math.max(r.length-1,0),q9(e),e.op==="pageload"&&(typeof o=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding TTFB"),Ae.ttfb={value:(o-e.startTimestamp)*1e3,unit:"millisecond"},typeof i=="number"&&i<=o&&(Ae["ttfb.requestTime"]={value:(o-i)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(a=>{if(!(!Ae[a]||n>=e.startTimestamp)){var s=Ae[a].value,l=n+tt(s),u=Math.abs((l-e.startTimestamp)*1e3),c=u-s;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Measurements] Normalized ${a} from ${s} to ${u} (${c})`),Ae[a].value=u}}),Ae["mark.fid"]&&Ae.fid&&Yi(e,{description:"first input delay",endTimestamp:Ae["mark.fid"].value+tt(Ae.fid.value),op:"web.vitals",startTimestamp:Ae["mark.fid"].value}),"fcp"in Ae||delete Ae.cls,Object.keys(Ae).forEach(a=>{e.setMeasurement(a,Ae[a].value,Ae[a].unit)}),K9(e)),An=void 0,Za=void 0,Ae={}}function H9(e,t,n,r,o){var i=o+n,a=i+r;return Yi(e,{description:t.name,endTimestamp:a,op:t.entryType,startTimestamp:i}),i}function G9(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{Vl(e,t,r,n)}),Vl(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),Vl(e,t,"fetch",n,"cache","domainLookupStart"),Vl(e,t,"domainLookup",n,"DNS"),Y9(e,t,n)}function Vl(e,t,n,r,o,i){var a=i?t[i]:t[`${n}End`],s=t[`${n}Start`];!s||!a||Yi(e,{op:"browser",description:kr(o,()=>n),startTimestamp:r+tt(s),endTimestamp:r+tt(a)})}function Y9(e,t,n){Yi(e,{op:"browser",description:"request",startTimestamp:n+tt(t.requestStart),endTimestamp:n+tt(t.responseEnd)}),Yi(e,{op:"browser",description:"response",startTimestamp:n+tt(t.responseStart),endTimestamp:n+tt(t.responseEnd)})}function W9(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;Yi(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:s,data:a})}}function q9(e){var t=Ro.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)&&(Ae["connection.rtt"]={value:n.rtt,unit:"millisecond"}),zl(n.downlink)&&(Ae["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 K9(e){An&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding LCP Data"),An.element&&e.setTag("lcp.element",Ps(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)),Za&&Za.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log("[Measurements] Adding CLS Data"),Za.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Ps(t.node))))}var X9=["localhost",/^\//],uc={traceFetch:!0,traceXHR:!0,tracingOrigins:X9};function Z9(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:o}={...uc,...e};var i={},a=u=>{if(i[u])return i[u];var c=r;return i[u]=c.some(d=>ks(u,d))&&!ks(u,"sentry_key"),i[u]};let s=a;typeof o=="function"&&(s=u=>a(u)&&o(u));var l={};t&&Bt("fetch",u=>{Q9(u,s,l)}),n&&Bt("xhr",u=>{e6(u,s,l)})}function Q9(e,t,n){if(!(!Ag()||!(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=tl();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=J9(a,i.getBaggage(),o,s)}}}function J9(e,t,n,r){let o=r.headers;if(fr(e,Request)&&(o=e.headers),o)if(typeof o.append=="function")o.append("sentry-trace",n.toTraceparent()),o.append(mi,Ia(t,o.get(mi)));else if(Array.isArray(o)){const[,i]=o.find(([a,s])=>a===mi);o=[...o,["sentry-trace",n.toTraceparent()],[mi,Ia(t,i)]]}else o={...o,"sentry-trace":n.toTraceparent(),baggage:Ia(t,o.baggage)};else o={"sentry-trace":n.toTraceparent(),baggage:Ia(t)};return o}function e6(e,t,n){if(!(!Ag()||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=tl();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(mi);e.xhr.setRequestHeader(mi,Ia(a.getBaggage(),s))}catch(u){}}}}var Ta=Se();function t6(e,t=!0,n=!0){if(!Ta||!Ta.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("Could not initialize routing instrumentation due to invalid location");return}let r=Ta.location.href,o;t&&(o=e({name:Ta.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Bt("history",({to:i,from:a})=>{if(a===void 0&&r&&r.indexOf(i)!==-1){r=void 0;return}a!==i&&(r=void 0,o&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Finishing current transaction with op: ${o.op}`),o.finish()),o=e({name:Ta.location.pathname,op:"navigation",metadata:{source:"url"}}))})}var n6="BrowserTracing",r6={idleTimeout:uS,finalTimeout:cS,markBackgroundTransactions:!0,routingInstrumentation:t6,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...uc};class kg{__init(){this.name=n6}constructor(t){kg.prototype.__init.call(this);let n=uc.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options={...r6,...t,tracingOrigins:n};const{_metricOptions:r}=this.options;I9(r&&r._reportAllChanges),M4([this,"access",o=>o.options,"access",o=>o._experiments,"optionalAccess",o=>o.enableLongTask])&&j9()}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.warn(`[Tracing] We added a reasonable default for you: ${uc.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:o,startTransactionOnPageLoad:i,markBackgroundTransactions:a,traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c}=this.options;r(d=>this._createRouteTransaction(d),i,o),a&&R9(),Z9({traceFetch:s,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.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"?o6():void 0,a={...t,...i,...i&&{metadata:{...t.metadata,...i.metadata}},trimEnd:!0},s=typeof n=="function"?n(a):a,l=s===void 0?{...a,sampled:!1}:s;l.metadata=l.name!==a.name?{...l.metadata,source:"custom"}:l.metadata,l.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Y.log(`[Tracing] Starting ${l.op} transaction on scope`);var u=this._getCurrentHub();const{location:c}=Se();var d=$9(u,l,r,o,!0,{location:c});return d.registerBeforeFinishCallback(p=>{U9(p),p.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),d}}function o6(){var e=Ky("sentry-trace"),t=Ky("baggage"),n=e?lR(e):void 0,r=AR(t,e);if(n||r)return{...n&&n,...r&&{metadata:{baggage:r}}}}function Ky(e){var t=Se();if(t.document&&t.document.querySelector){var n=t.document.querySelector(`meta[name=${e}]`);return n?n.getAttribute("content"):null}else return null}(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__)&&k9();var Rg={exports:{}},Ee={};/**
61
+ * @license React
62
+ * react-is.production.min.js
63
+ *
64
+ * Copyright (c) Facebook, Inc. and its affiliates.
65
+ *
66
+ * This source code is licensed under the MIT license found in the
67
+ * LICENSE file in the root directory of this source tree.
68
+ */var Og=Symbol.for("react.element"),Mg=Symbol.for("react.portal"),Ad=Symbol.for("react.fragment"),$d=Symbol.for("react.strict_mode"),Td=Symbol.for("react.profiler"),Pd=Symbol.for("react.provider"),kd=Symbol.for("react.context"),i6=Symbol.for("react.server_context"),Rd=Symbol.for("react.forward_ref"),Od=Symbol.for("react.suspense"),Md=Symbol.for("react.suspense_list"),Nd=Symbol.for("react.memo"),Ld=Symbol.for("react.lazy"),a6=Symbol.for("react.offscreen"),pS;pS=Symbol.for("react.module.reference");function an(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Og:switch(e=e.type,e){case Ad:case Td:case $d:case Od:case Md:return e;default:switch(e=e&&e.$$typeof,e){case i6:case kd:case Rd:case Ld:case Nd:case Pd:return e;default:return t}}case Mg:return t}}}Ee.ContextConsumer=kd;Ee.ContextProvider=Pd;Ee.Element=Og;Ee.ForwardRef=Rd;Ee.Fragment=Ad;Ee.Lazy=Ld;Ee.Memo=Nd;Ee.Portal=Mg;Ee.Profiler=Td;Ee.StrictMode=$d;Ee.Suspense=Od;Ee.SuspenseList=Md;Ee.isAsyncMode=function(){return!1};Ee.isConcurrentMode=function(){return!1};Ee.isContextConsumer=function(e){return an(e)===kd};Ee.isContextProvider=function(e){return an(e)===Pd};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Og};Ee.isForwardRef=function(e){return an(e)===Rd};Ee.isFragment=function(e){return an(e)===Ad};Ee.isLazy=function(e){return an(e)===Ld};Ee.isMemo=function(e){return an(e)===Nd};Ee.isPortal=function(e){return an(e)===Mg};Ee.isProfiler=function(e){return an(e)===Td};Ee.isStrictMode=function(e){return an(e)===$d};Ee.isSuspense=function(e){return an(e)===Od};Ee.isSuspenseList=function(e){return an(e)===Md};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ad||e===Td||e===$d||e===Od||e===Md||e===a6||typeof e=="object"&&e!==null&&(e.$$typeof===Ld||e.$$typeof===Nd||e.$$typeof===Pd||e.$$typeof===kd||e.$$typeof===Rd||e.$$typeof===pS||e.getModuleId!==void 0)};Ee.typeOf=an;(function(e){e.exports=Ee})(Rg);var s6=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),s=Object.keys(n);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var c=a[u];if(!l(c))return!1;var d=t[c],p=n[c];if(i=r?r.call(o,d,p,c):void 0,i===!1||i===void 0&&d!==p)return!1}return!0};function l6(e){function t(M,k,$,N,A){for(var K=0,j=0,de=0,le=0,fe,re,Oe=0,De=0,ue,Fe=ue=fe=0,te=0,he=0,Ze=0,ye=0,Pt=$.length,Vn=Pt-1,Ce,Q="",me="",Qe="",ln="",pt;te<Pt;){if(re=$.charCodeAt(te),te===Vn&&j+le+de+K!==0&&(j!==0&&(re=j===47?10:47),le=de=K=0,Pt++,Vn++),j+le+de+K===0){if(te===Vn&&(0<he&&(Q=Q.replace(p,"")),0<Q.trim().length)){switch(re){case 32:case 9:case 59:case 13:case 10:break;default:Q+=$.charAt(te)}re=59}switch(re){case 123:for(Q=Q.trim(),fe=Q.charCodeAt(0),ue=1,ye=++te;te<Pt;){switch(re=$.charCodeAt(te)){case 123:ue++;break;case 125:ue--;break;case 47:switch(re=$.charCodeAt(te+1)){case 42:case 47:e:{for(Fe=te+1;Fe<Vn;++Fe)switch($.charCodeAt(Fe)){case 47:if(re===42&&$.charCodeAt(Fe-1)===42&&te+2!==Fe){te=Fe+1;break e}break;case 10:if(re===47){te=Fe+1;break e}}te=Fe}}break;case 91:re++;case 40:re++;case 34:case 39:for(;te++<Vn&&$.charCodeAt(te)!==re;);}if(ue===0)break;te++}switch(ue=$.substring(ye,te),fe===0&&(fe=(Q=Q.replace(d,"").trim()).charCodeAt(0)),fe){case 64:switch(0<he&&(Q=Q.replace(p,"")),re=Q.charCodeAt(1),re){case 100:case 109:case 115:case 45:he=k;break;default:he=ce}if(ue=t(k,he,ue,re,A+1),ye=ue.length,0<B&&(he=n(ce,Q,Ze),pt=s(3,ue,he,k,W,z,ye,re,A,N),Q=he.join(""),pt!==void 0&&(ye=(ue=pt.trim()).length)===0&&(re=0,ue="")),0<ye)switch(re){case 115:Q=Q.replace(b,a);case 100:case 109:case 45:ue=Q+"{"+ue+"}";break;case 107:Q=Q.replace(g,"$1 $2"),ue=Q+"{"+ue+"}",ue=ee===1||ee===2&&i("@"+ue,3)?"@-webkit-"+ue+"@"+ue:"@"+ue;break;default:ue=Q+ue,N===112&&(ue=(me+=ue,""))}else ue="";break;default:ue=t(k,n(k,Q,Ze),ue,N,A+1)}Qe+=ue,ue=Ze=he=Fe=fe=0,Q="",re=$.charCodeAt(++te);break;case 125:case 59:if(Q=(0<he?Q.replace(p,""):Q).trim(),1<(ye=Q.length))switch(Fe===0&&(fe=Q.charCodeAt(0),fe===45||96<fe&&123>fe)&&(ye=(Q=Q.replace(" ",":")).length),0<B&&(pt=s(1,Q,k,M,W,z,me.length,N,A,N))!==void 0&&(ye=(Q=pt.trim()).length)===0&&(Q="\0\0"),fe=Q.charCodeAt(0),re=Q.charCodeAt(1),fe){case 0:break;case 64:if(re===105||re===99){ln+=Q+$.charAt(te);break}default:Q.charCodeAt(ye-1)!==58&&(me+=o(Q,fe,re,Q.charCodeAt(2)))}Ze=he=Fe=fe=0,Q="",re=$.charCodeAt(++te)}}switch(re){case 13:case 10:j===47?j=0:1+fe===0&&N!==107&&0<Q.length&&(he=1,Q+="\0"),0<B*R&&s(0,Q,k,M,W,z,me.length,N,A,N),z=1,W++;break;case 59:case 125:if(j+le+de+K===0){z++;break}default:switch(z++,Ce=$.charAt(te),re){case 9:case 32:if(le+K+j===0)switch(Oe){case 44:case 58:case 9:case 32:Ce="";break;default:re!==32&&(Ce=" ")}break;case 0:Ce="\\0";break;case 12:Ce="\\f";break;case 11:Ce="\\v";break;case 38:le+j+K===0&&(he=Ze=1,Ce="\f"+Ce);break;case 108:if(le+j+K+H===0&&0<Fe)switch(te-Fe){case 2:Oe===112&&$.charCodeAt(te-3)===58&&(H=Oe);case 8:De===111&&(H=De)}break;case 58:le+j+K===0&&(Fe=te);break;case 44:j+de+le+K===0&&(he=1,Ce+="\r");break;case 34:case 39:j===0&&(le=le===re?0:le===0?re:le);break;case 91:le+j+de===0&&K++;break;case 93:le+j+de===0&&K--;break;case 41:le+j+K===0&&de--;break;case 40:if(le+j+K===0){if(fe===0)switch(2*Oe+3*De){case 533:break;default:fe=1}de++}break;case 64:j+de+le+K+Fe+ue===0&&(ue=1);break;case 42:case 47:if(!(0<le+K+de))switch(j){case 0:switch(2*re+3*$.charCodeAt(te+1)){case 235:j=47;break;case 220:ye=te,j=42}break;case 42:re===47&&Oe===42&&ye+2!==te&&($.charCodeAt(ye+2)===33&&(me+=$.substring(ye,te+1)),Ce="",j=0)}}j===0&&(Q+=Ce)}De=Oe,Oe=re,te++}if(ye=me.length,0<ye){if(he=k,0<B&&(pt=s(2,me,he,M,W,z,ye,N,A,N),pt!==void 0&&(me=pt).length===0))return ln+me+Qe;if(me=he.join(",")+"{"+me+"}",ee*H!==0){switch(ee!==2||i(me,2)||(H=0),H){case 111:me=me.replace(w,":-moz-$1")+me;break;case 112:me=me.replace(x,"::-webkit-input-$1")+me.replace(x,"::-moz-$1")+me.replace(x,":-ms-input-$1")+me}H=0}}return ln+me+Qe}function n(M,k,$){var N=k.trim().split(_);k=N;var A=N.length,K=M.length;switch(K){case 0:case 1:var j=0;for(M=K===0?"":M[0]+" ";j<A;++j)k[j]=r(M,k[j],$).trim();break;default:var de=j=0;for(k=[];j<A;++j)for(var le=0;le<K;++le)k[de++]=r(M[le]+" ",N[j],$).trim()}return k}function r(M,k,$){var N=k.charCodeAt(0);switch(33>N&&(N=(k=k.trim()).charCodeAt(0)),N){case 38:return k.replace(y,"$1"+M.trim());case 58:return M.trim()+k.replace(y,"$1"+M.trim());default:if(0<1*$&&0<k.indexOf("\f"))return k.replace(y,(M.charCodeAt(0)===58?"":"$1")+M.trim())}return M+k}function o(M,k,$,N){var A=M+";",K=2*k+3*$+4*N;if(K===944){M=A.indexOf(":",9)+1;var j=A.substring(M,A.length-1).trim();return j=A.substring(0,M).trim()+j+";",ee===1||ee===2&&i(j,1)?"-webkit-"+j+j:j}if(ee===0||ee===2&&!i(A,1))return A;switch(K){case 1015:return A.charCodeAt(10)===97?"-webkit-"+A+A:A;case 951:return A.charCodeAt(3)===116?"-webkit-"+A+A:A;case 963:return A.charCodeAt(5)===110?"-webkit-"+A+A:A;case 1009:if(A.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+A+A;case 978:return"-webkit-"+A+"-moz-"+A+A;case 1019:case 983:return"-webkit-"+A+"-moz-"+A+"-ms-"+A+A;case 883:if(A.charCodeAt(8)===45)return"-webkit-"+A+A;if(0<A.indexOf("image-set(",11))return A.replace(F,"$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 j=A.substring(A.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+j+"-webkit-"+A+"-ms-flex-pack"+j+A;case 1005:return v.test(A)?A.replace(h,":-webkit-")+A.replace(h,":-moz-")+A:A;case 1e3:switch(j=A.substring(13).trim(),k=j.indexOf("-")+1,j.charCodeAt(0)+j.charCodeAt(k)){case 226:j=A.replace(E,"tb");break;case 232:j=A.replace(E,"tb-rl");break;case 220:j=A.replace(E,"lr");break;default:return A}return"-webkit-"+A+"-ms-"+j+A;case 1017:if(A.indexOf("sticky",9)===-1)break;case 975:switch(k=(A=M).length-10,j=(A.charCodeAt(k)===33?A.substring(0,k):A).substring(M.indexOf(":",7)+1).trim(),K=j.charCodeAt(0)+(j.charCodeAt(7)|0)){case 203:if(111>j.charCodeAt(8))break;case 115:A=A.replace(j,"-webkit-"+j)+";"+A;break;case 207:case 102:A=A.replace(j,"-webkit-"+(102<K?"inline-":"")+"box")+";"+A.replace(j,"-webkit-"+j)+";"+A.replace(j,"-ms-"+j+"box")+";"+A}return A+";";case 938:if(A.charCodeAt(5)===45)switch(A.charCodeAt(6)){case 105:return j=A.replace("-items",""),"-webkit-"+A+"-webkit-box-"+j+"-ms-flex-"+j+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(P.test(M)===!0)return(j=M.substring(M.indexOf(":")+1)).charCodeAt(0)===115?o(M.replace("stretch","fill-available"),k,$,N).replace(":fill-available",":stretch"):A.replace(j,"-webkit-"+j)+A.replace(j,"-moz-"+j.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(M,k){var $=M.indexOf(k===1?":":"{"),N=M.substring(0,k!==3?$:10);return $=M.substring($+1,M.length-1),Z(k!==2?N:N.replace(T,"$1"),$,k)}function a(M,k){var $=o(k,k.charCodeAt(0),k.charCodeAt(1),k.charCodeAt(2));return $!==k+";"?$.replace(S," or ($1)").substring(4):"("+k+")"}function s(M,k,$,N,A,K,j,de,le,fe){for(var re=0,Oe=k,De;re<B;++re)switch(De=se[re].call(c,M,Oe,$,N,A,K,j,de,le,fe)){case void 0:case!1:case!0:case null:break;default:Oe=De}if(Oe!==k)return Oe}function l(M){switch(M){case void 0:case null:B=se.length=0;break;default:if(typeof M=="function")se[B++]=M;else if(typeof M=="object")for(var k=0,$=M.length;k<$;++k)l(M[k]);else R=!!M|0}return l}function u(M){return M=M.prefix,M!==void 0&&(Z=null,M?typeof M!="function"?ee=1:(ee=2,Z=M):ee=0),u}function c(M,k){var $=M;if(33>$.charCodeAt(0)&&($=$.trim()),G=$,$=[G],0<B){var N=s(-1,k,$,$,W,z,0,0,0,0);N!==void 0&&typeof N=="string"&&(k=N)}var A=t(ce,$,k,0,0);return 0<B&&(N=s(-2,A,$,$,W,z,A.length,0,0,0),N!==void 0&&(A=N)),G="",H=0,z=W=1,A}var d=/^\0+/g,p=/[\0\r\f]/g,h=/: */g,v=/zoo|gra/,m=/([,: ])(transform)/g,_=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,x=/::(place)/g,w=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,C=/-self|flex-/g,T=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,F=/([^-])(image-set\()/,z=1,W=1,H=0,ee=1,ce=[],se=[],B=0,Z=null,R=0,G="";return c.use=l,c.set=u,e!==void 0&&u(e),c}var u6={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 c6(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var d6=/^((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)-.*))$/,Xy=c6(function(e){return d6.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Rn(){return(Rn=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 Zy=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},em=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!Rg.exports.typeOf(e)},cc=Object.freeze([]),Kr=Object.freeze({});function Ds(e){return typeof e=="function"}function Qy(e){return e.displayName||e.name||"Component"}function Ng(e){return e&&typeof e.styledComponentId=="string"}var Wi=typeof process<"u"&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Lg=typeof window<"u"&&"HTMLElement"in window,f6=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:!1),p6={};function nl(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 h6=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&&nl(16,""+n);this.groupSizes=new Uint32Array(a),this.groupSizes.set(o),this.length=a;for(var s=i;s<a;s++)this.groupSizes[s]=0}for(var l=this.indexOfGroup(n+1),u=0,c=r.length;u<c;u++)this.tag.insertRule(l,r[u])&&(this.groupSizes[n]++,l++)},t.clearGroup=function(n){if(n<this.length){var r=this.groupSizes[n],o=this.indexOfGroup(n),i=o+r;this.groupSizes[n]=0;for(var a=o;a<i;a++)this.tag.deleteRule(o)}},t.getGroup=function(n){var r="";if(n>=this.length||this.groupSizes[n]===0)return r;for(var o=this.groupSizes[n],i=this.indexOfGroup(n),a=i+o,s=i;s<a;s++)r+=this.tag.getRule(s)+`/*!sc*/
69
+ `;return r},e}(),Eu=new Map,dc=new Map,Qa=1,Bl=function(e){if(Eu.has(e))return Eu.get(e);for(;dc.has(Qa);)Qa++;var t=Qa++;return Eu.set(e,t),dc.set(t,e),t},m6=function(e){return dc.get(e)},v6=function(e,t){t>=Qa&&(Qa=t+1),Eu.set(e,t),dc.set(t,e)},g6="style["+Wi+'][data-styled-version="5.3.5"]',y6=new RegExp("^"+Wi+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),x6=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)},_6=function(e,t){for(var n=(t.textContent||"").split(`/*!sc*/
70
+ `),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(y6);if(s){var l=0|parseInt(s[1],10),u=s[2];l!==0&&(v6(u,l),x6(e,u,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},w6=function(){return typeof window<"u"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},hS=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(Wi))return c}}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(Wi,"active"),r.setAttribute("data-styled-version","5.3.5");var a=w6();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},E6=function(){function e(n){var r=this.element=hS(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}nl(17)}(r),this.length=0}var t=e.prototype;return t.insertRule=function(n,r){try{return this.sheet.insertRule(r,n),this.length++,!0}catch(o){return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var r=this.sheet.cssRules[n];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e}(),b6=function(){function e(n){var r=this.element=hS(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}(),S6=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}(),Jy=Lg,C6={isServer:!Lg,useCSSOMInjection:!f6},fc=function(){function e(n,r,o){n===void 0&&(n=Kr),r===void 0&&(r={}),this.options=Rn({},C6,{},n),this.gs=r,this.names=new Map(o),this.server=!!n.isServer,!this.server&&Lg&&Jy&&(Jy=!1,function(i){for(var a=document.querySelectorAll(g6),s=0,l=a.length;s<l;s++){var u=a[s];u&&u.getAttribute(Wi)!=="active"&&(_6(i,u),u.parentNode&&u.parentNode.removeChild(u))}}(this))}e.registerId=function(n){return Bl(n)};var t=e.prototype;return t.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(Rn({},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 S6(a):i?new E6(a):new b6(a),new h6(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(Bl(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(Bl(n),o)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(Bl(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=m6(a);if(s!==void 0){var l=n.names.get(s),u=r.getGroup(a);if(l&&u&&l.size){var c=Wi+".g"+a+'[id="'+s+'"]',d="";l!==void 0&&l.forEach(function(p){p.length>0&&(d+=p+",")}),i+=""+u+c+'{content:"'+d+`"}/*!sc*/
71
+ `}}}return i}(this)},e}(),A6=/(a)(d)/gi,ex=function(e){return String.fromCharCode(e+(e>25?39:97))};function tm(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ex(t%52)+n;return(ex(t%52)+n).replace(A6,"$1-$2")}var yi=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},mS=function(e){return yi(5381,e)};function vS(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ds(n)&&!Ng(n))return!1}return!0}var $6=mS("5.3.5"),T6=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&vS(t),this.componentId=n,this.baseHash=yi($6,n),this.baseStyle=r,fc.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=zo(this.rules,t,n,r).join(""),s=tm(yi(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=yi(this.baseHash,r.hash),d="",p=0;p<u;p++){var h=this.rules[p];if(typeof h=="string")d+=h;else if(h){var v=zo(h,t,n,r),m=Array.isArray(v)?v.join(""):v;c=yi(c,m+p),d+=m}}if(d){var _=tm(c>>>0);if(!n.hasNameForId(o,_)){var y=r(d,"."+_,void 0,o);n.insertRules(o,_,y)}i.push(_)}}return i.join(" ")},e}(),P6=/^\s*\/\/.*$/gm,k6=[":","[",".","#"];function gS(e){var t,n,r,o,i=e===void 0?Kr:e,a=i.options,s=a===void 0?Kr:a,l=i.plugins,u=l===void 0?cc:l,c=new l6(s),d=[],p=function(m){function _(y){if(y)try{m(y+"}")}catch(g){}}return function(y,g,x,w,E,b,S,C,T,P){switch(y){case 1:if(T===0&&g.charCodeAt(0)===64)return m(g+";"),"";break;case 2:if(C===0)return g+"/*|*/";break;case 3:switch(C){case 102:case 112:return m(x[0]+g),"";default:return g+(P===0?"/*|*/":"")}case-2:g.split("/*|*/}").forEach(_)}}}(function(m){d.push(m)}),h=function(m,_,y){return _===0&&k6.indexOf(y[n.length])!==-1||y.match(o)?m:"."+t};function v(m,_,y,g){g===void 0&&(g="&");var x=m.replace(P6,""),w=_&&y?y+" "+_+" { "+x+" }":x;return t=g,n=_,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),c(y||!_?"":_,w)}return c.use([].concat(u,[function(m,_,y){m===2&&y.length&&y[0].lastIndexOf(n)>0&&(y[0]=y[0].replace(r,h))},p,function(m){if(m===-2){var _=d;return d=[],_}}])),v.hash=u.length?u.reduce(function(m,_){return _.name||nl(15),yi(m,_.name)},5381).toString():"",v}var Dg=J.createContext();Dg.Consumer;var Fg=J.createContext(),R6=(Fg.Consumer,new fc),nm=gS();function Ig(){return f.exports.useContext(Dg)||R6}function yS(){return f.exports.useContext(Fg)||nm}function O6(e){var t=f.exports.useState(e.stylisPlugins),n=t[0],r=t[1],o=Ig(),i=f.exports.useMemo(function(){var s=o;return e.sheet?s=e.sheet:e.target&&(s=s.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(s=s.reconstructWithOptions({useCSSOMInjection:!1})),s},[e.disableCSSOMInjection,e.sheet,e.target]),a=f.exports.useMemo(function(){return gS({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return f.exports.useEffect(function(){s6(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),J.createElement(Dg.Provider,{value:i},J.createElement(Fg.Provider,{value:a},e.children))}var xS=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=nm);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 nl(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=nm),this.name+t.hash},e}(),M6=/([A-Z])/,N6=/([A-Z])/g,L6=/^ms-/,D6=function(e){return"-"+e.toLowerCase()};function tx(e){return M6.test(e)?e.replace(N6,D6).replace(L6,"-ms-"):e}var nx=function(e){return e==null||e===!1||e===""};function zo(e,t,n,r){if(Array.isArray(e)){for(var o,i=[],a=0,s=e.length;a<s;a+=1)(o=zo(e[a],t,n,r))!==""&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}if(nx(e))return"";if(Ng(e))return"."+e.styledComponentId;if(Ds(e)){if(typeof(u=e)!="function"||u.prototype&&u.prototype.isReactComponent||!t)return e;var l=e(t);return zo(l,t,n,r)}var u;return e instanceof xS?n?(e.inject(n,r),e.getName(r)):e:em(e)?function c(d,p){var h,v,m=[];for(var _ in d)d.hasOwnProperty(_)&&!nx(d[_])&&(Array.isArray(d[_])&&d[_].isCss||Ds(d[_])?m.push(tx(_)+":",d[_],";"):em(d[_])?m.push.apply(m,c(d[_],_)):m.push(tx(_)+": "+(h=_,(v=d[_])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||h in u6?String(v).trim():v+"px")+";"));return p?[p+" {"].concat(m,["}"]):m}(e):e.toString()}var rx=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function ge(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 Ds(e)||em(e)?rx(zo(Zy(cc,[e].concat(n)))):n.length===0&&e.length===1&&typeof e[0]=="string"?e:rx(zo(Zy(e,n)))}var _S=function(e,t,n){return n===void 0&&(n=Kr),e.theme!==n.theme&&e.theme||t||n.theme},F6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,I6=/(^-|-$)/g;function rp(e){return e.replace(F6,"-").replace(I6,"")}var jg=function(e){return tm(mS(e)>>>0)};function Ul(e){return typeof e=="string"&&!0}var rm=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},j6=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function z6(e,t,n){var r=e[n];rm(t)&&rm(r)?wS(r,t):e[n]=t}function wS(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(rm(a))for(var s in a)j6(s)&&z6(e,a[s],s)}return e}var zg=J.createContext();zg.Consumer;var op={};function ES(e,t,n){var r=Ng(e),o=!Ul(e),i=t.attrs,a=i===void 0?cc:i,s=t.componentId,l=s===void 0?function(g,x){var w=typeof g!="string"?"sc":rp(g);op[w]=(op[w]||0)+1;var E=w+"-"+jg("5.3.5"+w+op[w]);return x?x+"-"+E:E}(t.displayName,t.parentComponentId):s,u=t.displayName,c=u===void 0?function(g){return Ul(g)?"styled."+g:"Styled("+Qy(g)+")"}(e):u,d=t.displayName&&t.componentId?rp(t.displayName)+"-"+t.componentId:t.componentId||l,p=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,h=t.shouldForwardProp;r&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(g,x,w){return e.shouldForwardProp(g,x,w)&&t.shouldForwardProp(g,x,w)}:e.shouldForwardProp);var v,m=new T6(n,d,r?e.componentStyle:void 0),_=m.isStatic&&a.length===0,y=function(g,x){return function(w,E,b,S){var C=w.attrs,T=w.componentStyle,P=w.defaultProps,F=w.foldedComponentIds,z=w.shouldForwardProp,W=w.styledComponentId,H=w.target,ee=function(N,A,K){N===void 0&&(N=Kr);var j=Rn({},A,{theme:N}),de={};return K.forEach(function(le){var fe,re,Oe,De=le;for(fe in Ds(De)&&(De=De(j)),De)j[fe]=de[fe]=fe==="className"?(re=de[fe],Oe=De[fe],re&&Oe?re+" "+Oe:re||Oe):De[fe]}),[j,de]}(_S(E,f.exports.useContext(zg),P)||Kr,E,C),ce=ee[0],se=ee[1],B=function(N,A,K,j){var de=Ig(),le=yS(),fe=A?N.generateAndInjectStyles(Kr,de,le):N.generateAndInjectStyles(K,de,le);return fe}(T,S,ce),Z=b,R=se.$as||E.$as||se.as||E.as||H,G=Ul(R),M=se!==E?Rn({},E,{},se):E,k={};for(var $ in M)$[0]!=="$"&&$!=="as"&&($==="forwardedAs"?k.as=M[$]:(z?z($,Xy,R):!G||Xy($))&&(k[$]=M[$]));return E.style&&se.style!==E.style&&(k.style=Rn({},E.style,{},se.style)),k.className=Array.prototype.concat(F,W,B!==W?B:null,E.className,se.className).filter(Boolean).join(" "),k.ref=Z,f.exports.createElement(R,k)}(v,g,x,_)};return y.displayName=c,(v=J.forwardRef(y)).attrs=p,v.componentStyle=m,v.displayName=c,v.shouldForwardProp=h,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):cc,v.styledComponentId=d,v.target=r?e.target:e,v.withComponent=function(g){var x=t.componentId,w=function(b,S){if(b==null)return{};var C,T,P={},F=Object.keys(b);for(T=0;T<F.length;T++)C=F[T],S.indexOf(C)>=0||(P[C]=b[C]);return P}(t,["componentId"]),E=x&&x+"-"+(Ul(g)?g:rp(Qy(g)));return ES(g,Rn({},w,{attrs:p,componentId:E}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(g){this._foldedDefaultProps=r?wS({},e.defaultProps,g):g}}),v.toString=function(){return"."+v.styledComponentId},o&&f9(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var om=function(e){return function t(n,r,o){if(o===void 0&&(o=Kr),!Rg.exports.isValidElementType(r))return nl(1,String(r));var i=function(){return n(r,o,ge.apply(void 0,arguments))};return i.withConfig=function(a){return t(n,r,Rn({},o,{},a))},i.attrs=function(a){return t(n,r,Rn({},o,{attrs:Array.prototype.concat(o.attrs,a).filter(Boolean)}))},i}(ES,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){om[e]=om(e)});var V6=function(){function e(n,r){this.rules=n,this.componentId=r,this.isStatic=vS(n),fc.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(n,r,o,i){var a=i(zo(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&&fc.registerId(this.componentId+n),this.removeStyles(n,o),this.createStyles(n,r,o,i)},e}();function bS(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=ge.apply(void 0,[e].concat(n)),i="sc-global-"+jg(JSON.stringify(o)),a=new V6(o,i);function s(u){var c=Ig(),d=yS(),p=f.exports.useContext(zg),h=f.exports.useRef(c.allocateGSInstance(i)).current;return c.server&&l(h,u,c,p,d),f.exports.useLayoutEffect(function(){if(!c.server)return l(h,u,c,p,d),function(){return a.removeStyles(h,c)}},[h,u,c,p,d]),null}function l(u,c,d,p,h){if(a.isStatic)a.renderStyles(u,p6,d,h);else{var v=Rn({},c,{theme:_S(c,p,s.defaultProps)});a.renderStyles(u,v,d,h)}}return J.memo(s)}function Dd(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=ge.apply(void 0,[e].concat(n)).join(""),i=jg(o);return new xS(i,o)}const I=om;var im=function(e,t){return im=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])},im(e,t)};function SS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");im(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var U=function(){return U=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},U.apply(this,arguments)};function sn(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 rt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}function Ln(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 B6="production",CS=typeof process>"u"||process.env===void 0?B6:"production",Bn=function(e){return{isEnabled:function(t){return e.some(function(n){return!!t[n]})}}},Fs={measureLayout:Bn(["layout","layoutId","drag"]),animation:Bn(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Bn(["exit"]),drag:Bn(["drag","dragControls"]),focus:Bn(["whileFocus"]),hover:Bn(["whileHover","onHoverStart","onHoverEnd"]),tap:Bn(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Bn(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Bn(["whileInView","onViewportEnter","onViewportLeave"])};function U6(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Fs.projectionNodeConstructor=e[t]:Fs[t].Component=e[t])}var H6=function(){},pc=function(){},AS=f.exports.createContext({strict:!1}),$S=Object.keys(Fs),G6=$S.length;function Y6(e,t,n){var r=[],o=f.exports.useContext(AS);if(!t)return null;CS!=="production"&&n&&o.strict;for(var i=0;i<G6;i++){var a=$S[i],s=Fs[a],l=s.isEnabled,u=s.Component;l(e)&&u&&r.push(L(u,{...U({key:a},e,{visualElement:t})}))}return r}var Vg=f.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Fd=f.exports.createContext({});function W6(){return f.exports.useContext(Fd).visualElement}var Id=f.exports.createContext(null),sa=typeof document<"u",ox=sa?f.exports.useLayoutEffect:f.exports.useEffect,am={current:null},TS=!1;function q6(){if(TS=!0,!!sa)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return am.current=e.matches};e.addListener(t),t()}else am.current=!1}function K6(){!TS&&q6();var e=rt(f.exports.useState(am.current),1),t=e[0];return t}function X6(){var e=K6(),t=f.exports.useContext(Vg).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function Z6(e,t,n,r){var o=f.exports.useContext(AS),i=W6(),a=f.exports.useContext(Id),s=X6(),l=f.exports.useRef(void 0);r||(r=o.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:s}));var u=l.current;return ox(function(){u==null||u.syncRender()}),f.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),ox(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function xi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Q6(e,t,n){return f.exports.useCallback(function(r){var o;r&&((o=e.mount)===null||o===void 0||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):xi(n)&&(n.current=r))},[t])}function PS(e){return Array.isArray(e)}function mn(e){return typeof e=="string"||PS(e)}function J6(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.get()}),t}function e8(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.getVelocity()}),t}function kS(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 jd(e,t,n){var r=e.getProps();return kS(r,t,n!=null?n:r.custom,J6(e),e8(e))}function zd(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||mn(e.initial)||mn(e.animate)||mn(e.whileHover)||mn(e.whileDrag)||mn(e.whileTap)||mn(e.whileFocus)||mn(e.exit)}function RS(e){return Boolean(zd(e)||e.variants)}function t8(e,t){if(zd(e)){var n=e.initial,r=e.animate;return{initial:n===!1||mn(n)?n:void 0,animate:mn(r)?r:void 0}}return e.inherit!==!1?t:{}}function n8(e){var t=t8(e,f.exports.useContext(Fd)),n=t.initial,r=t.animate;return f.exports.useMemo(function(){return{initial:n,animate:r}},[ix(n),ix(r)])}function ix(e){return Array.isArray(e)?e.join(" "):e}function Vd(e){var t=f.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}var Ja={hasAnimatedSinceResize:!0,hasEverUpdated:!1},r8=1;function o8(){return Vd(function(){if(Ja.hasEverUpdated)return r8++})}var OS=f.exports.createContext({}),MS=f.exports.createContext({});function i8(e,t,n,r){var o,i=t.layoutId,a=t.layout,s=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=f.exports.useContext(MS);!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&&xi(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var a8=function(e){SS(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var n=this.props,r=n.visualElement,o=n.props;r&&r.setProps(o)},t.prototype.render=function(){return this.props.children},t}(J.Component);function s8(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;t&&U6(t);function s(l,u){var c=l8(l);l=U(U({},l),{layoutId:c});var d=f.exports.useContext(Vg),p=null,h=n8(l),v=d.isStatic?void 0:o8(),m=i(l,d.isStatic);return!d.isStatic&&sa&&(h.visualElement=Z6(a,m,U(U({},d),l),n),i8(v,l,h.visualElement,r||Fs.projectionNodeConstructor),p=Y6(l,h.visualElement,t)),st(a8,{visualElement:h.visualElement,props:U(U({},d),l),children:[p,L(Fd.Provider,{value:h,children:o(a,l,v,Q6(m,h.visualElement,u),m,d.isStatic,h.visualElement)})]})}return f.exports.forwardRef(s)}function l8(e){var t,n=e.layoutId,r=(t=f.exports.useContext(OS))===null||t===void 0?void 0:t.id;return r&&n!==void 0?r+"-"+n:n}function u8(e){function t(r,o){return o===void 0&&(o={}),s8(e(r,o))}if(typeof Proxy>"u")return t;var n=new Map;return new Proxy(t,{get:function(r,o){return n.has(o)||n.set(o,t(o)),n.get(o)}})}var c8=["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 Bg(e){return typeof e!="string"||e.includes("-")?!1:!!(c8.indexOf(e)>-1||/[A-Z]/.test(e))}var hc={};function d8(e){Object.assign(hc,e)}var sm=["","X","Y","Z"],f8=["translate","scale","rotate","skew"],Is=["transformPerspective","x","y","z"];f8.forEach(function(e){return sm.forEach(function(t){return Is.push(e+t)})});function p8(e,t){return Is.indexOf(e)-Is.indexOf(t)}var h8=new Set(Is);function rl(e){return h8.has(e)}var m8=new Set(["originX","originY","originZ"]);function NS(e){return m8.has(e)}function LS(e,t){var n=t.layout,r=t.layoutId;return rl(e)||NS(e)||(n||r!==void 0)&&(!!hc[e]||e==="opacity")}var rr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},v8={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function g8(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(p8);for(var d=!1,p=i.length,h=0;h<p;h++){var v=i[h];c+="".concat(v8[v]||v,"(").concat(o[v],") "),v==="z"&&(d=!0)}return!d&&s?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}function y8(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 DS(e){return e.startsWith("--")}var x8=function(e,t){return t&&typeof e=="number"?t.transform(e):e};const FS=(e,t)=>n=>Math.max(Math.min(n,t),e),es=e=>e%1?Number(e.toFixed(5)):e,js=/(-)?([\d]*\.?[\d])+/g,lm=/(#[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,_8=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ol(e){return typeof e=="string"}const Uo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ts=Object.assign(Object.assign({},Uo),{transform:FS(0,1)}),Hl=Object.assign(Object.assign({},Uo),{default:1}),il=e=>({test:t=>ol(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),yr=il("deg"),Dn=il("%"),oe=il("px"),w8=il("vh"),E8=il("vw"),ax=Object.assign(Object.assign({},Dn),{parse:e=>Dn.parse(e)/100,transform:e=>Dn.transform(e*100)}),Ug=(e,t)=>n=>Boolean(ol(n)&&_8.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),IS=(e,t,n)=>r=>{if(!ol(r))return r;const[o,i,a,s]=r.match(js);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},$o={test:Ug("hsl","hue"),parse:IS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Dn.transform(es(t))+", "+Dn.transform(es(n))+", "+es(ts.transform(r))+")"},b8=FS(0,255),ip=Object.assign(Object.assign({},Uo),{transform:e=>Math.round(b8(e))}),Lr={test:Ug("rgb","red"),parse:IS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ip.transform(e)+", "+ip.transform(t)+", "+ip.transform(n)+", "+es(ts.transform(r))+")"};function S8(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 um={test:Ug("#"),parse:S8,transform:Lr.transform},Et={test:e=>Lr.test(e)||um.test(e)||$o.test(e),parse:e=>Lr.test(e)?Lr.parse(e):$o.test(e)?$o.parse(e):um.parse(e),transform:e=>ol(e)?e:e.hasOwnProperty("red")?Lr.transform(e):$o.transform(e)},jS="${c}",zS="${n}";function C8(e){var t,n,r,o;return isNaN(e)&&ol(e)&&((n=(t=e.match(js))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((o=(r=e.match(lm))===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0)>0}function VS(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(lm);r&&(n=r.length,e=e.replace(lm,jS),t.push(...r.map(Et.parse)));const o=e.match(js);return o&&(e=e.replace(js,zS),t.push(...o.map(Uo.parse))),{values:t,numColors:n,tokenised:e}}function BS(e){return VS(e).values}function US(e){const{values:t,numColors:n,tokenised:r}=VS(e),o=t.length;return i=>{let a=r;for(let s=0;s<o;s++)a=a.replace(s<n?jS:zS,s<n?Et.transform(i[s]):es(i[s]));return a}}const A8=e=>typeof e=="number"?0:e;function $8(e){const t=BS(e);return US(e)(t.map(A8))}const or={test:C8,parse:BS,createTransformer:US,getAnimatableNone:$8},T8=new Set(["brightness","contrast","saturate","opacity"]);function P8(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(js)||[];if(!r)return e;const o=n.replace(r,"");let i=T8.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const k8=/([a-z-]*)\(.*?\)/g,cm=Object.assign(Object.assign({},or),{getAnimatableNone:e=>{const t=e.match(k8);return t?t.map(P8).join(" "):e}});var sx=U(U({},Uo),{transform:Math.round}),HS={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:yr,rotateX:yr,rotateY:yr,rotateZ:yr,scale:Hl,scaleX:Hl,scaleY:Hl,scaleZ:Hl,skew:yr,skewX:yr,skewY:yr,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:ts,originX:ax,originY:ax,originZ:oe,zIndex:sx,fillOpacity:ts,strokeOpacity:ts,numOctaves:sx};function Hg(e,t,n,r){var o,i=e.style,a=e.vars,s=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,d=!1,p=!0;for(var h in t){var v=t[h];if(DS(h)){a[h]=v;continue}var m=HS[h],_=x8(v,m);if(rl(h)){if(c=!0,s[h]=_,l.push(h),!p)continue;v!==((o=m.default)!==null&&o!==void 0?o:0)&&(p=!1)}else NS(h)?(u[h]=_,d=!0):i[h]=_}c?i.transform=g8(e,n,p,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),d&&(i.transformOrigin=y8(u))}var Gg=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function GS(e,t,n){for(var r in t)!rr(t[r])&&!LS(r,n)&&(e[r]=t[r])}function R8(e,t,n){var r=e.transformTemplate;return f.exports.useMemo(function(){var o=Gg();Hg(o,t,{enableHardwareAcceleration:!n},r);var i=o.vars,a=o.style;return U(U({},i),a)},[t])}function O8(e,t,n){var r=e.style||{},o={};return GS(o,r,e),Object.assign(o,R8(e,t,n)),e.transformValues&&(o=e.transformValues(o)),o}function M8(e,t,n){var r={},o=O8(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 N8=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 mc(e){return N8.has(e)}var YS=function(e){return!mc(e)};function L8(e){!e||(YS=function(t){return t.startsWith("on")?!mc(t):e(t)})}try{L8(require("@emotion/is-prop-valid").default)}catch(e){}function D8(e,t,n){var r={};for(var o in e)(YS(o)||n===!0&&mc(o)||!t&&!mc(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function lx(e,t,n){return typeof e=="string"?e:oe.transform(t+n*e)}function F8(e,t,n){var r=lx(t,e.x,e.width),o=lx(n,e.y,e.height);return"".concat(r," ").concat(o)}var I8={offset:"stroke-dashoffset",array:"stroke-dasharray"},j8={offset:"strokeDashoffset",array:"strokeDasharray"};function z8(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?I8:j8;e[i.offset]=oe.transform(-r);var a=oe.transform(t),s=oe.transform(n);e[i.array]="".concat(a," ").concat(s)}function Yg(e,t,n,r){var o=t.attrX,i=t.attrY,a=t.originX,s=t.originY,l=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,d=t.pathOffset,p=d===void 0?0:d,h=sn(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Hg(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=F8(_,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&&z8(v,l,c,p,!1)}var WS=function(){return U(U({},Gg()),{attrs:{}})};function V8(e,t){var n=f.exports.useMemo(function(){var o=WS();return Yg(o,t,{enableHardwareAcceleration:!1},e.transformTemplate),U(U({},o.attrs),{style:U({},o.style)})},[t]);if(e.style){var r={};GS(r,e.style,e),n.style=U(U({},r),n.style)}return n}function B8(e){e===void 0&&(e=!1);var t=function(n,r,o,i,a,s){var l=a.latestValues,u=Bg(n)?V8:M8,c=u(r,l,s),d=D8(r,typeof n=="string",e),p=U(U(U({},d),c),{ref:i});return o&&(p["data-projection-id"]=o),f.exports.createElement(n,p)};return t}var U8=/([a-z])([A-Z])/g,H8="$1-$2",qS=function(e){return e.replace(U8,H8).toLowerCase()};function KS(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 XS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function ZS(e,t,n,r){KS(e,t,void 0,r);for(var o in t.attrs)e.setAttribute(XS.has(o)?o:qS(o),t.attrs[o])}function Wg(e){var t=e.style,n={};for(var r in t)(rr(t[r])||LS(r,e))&&(n[r]=t[r]);return n}function QS(e){var t=Wg(e);for(var n in e)if(rr(e[n])){var r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function qg(e){return typeof e=="object"&&typeof e.start=="function"}var zs=function(e){return Array.isArray(e)},G8=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},JS=function(e){return zs(e)?e[e.length-1]||0:e};function bu(e){var t=rr(e)?e.get():e;return G8(t)?t.toValue():t}function ux(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:Y8(t,n,r,o),renderState:i()};return a&&(s.mount=function(l){return a(t,l,s)}),s}var eC=function(e){return function(t,n){var r=f.exports.useContext(Fd),o=f.exports.useContext(Id);return n?ux(e,t,r,o):Vd(function(){return ux(e,t,r,o)})}};function Y8(e,t,n,r){var o={},i=(n==null?void 0:n.initial)===!1,a=r(e);for(var s in a)o[s]=bu(a[s]);var l=e.initial,u=e.animate,c=zd(e),d=RS(e);t&&d&&!c&&e.inherit!==!1&&(l!=null||(l=t.initial),u!=null||(u=t.animate));var p=i||l===!1,h=p?u:l;if(h&&typeof h!="boolean"&&!qg(h)){var v=Array.isArray(h)?h:[h];v.forEach(function(m){var _=kS(e,m);if(!!_){var y=_.transitionEnd;_.transition;var g=sn(_,["transitionEnd","transition"]);for(var x in g){var w=g[x];if(Array.isArray(w)){var E=p?w.length-1:0;w=w[E]}w!==null&&(o[x]=w)}for(var x in y)o[x]=y[x]}})}return o}var W8={useVisualState:eC({scrapeMotionValuesFromProps:QS,createRenderState:WS,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch(i){r.dimensions={x:0,y:0,width:0,height:0}}Yg(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),ZS(t,r)}})},q8={useVisualState:eC({scrapeMotionValuesFromProps:Wg,createRenderState:Gg})};function K8(e,t,n,r,o){var i=t.forwardMotionProps,a=i===void 0?!1:i,s=Bg(e)?W8:q8;return U(U({},s),{preloadedFeatures:n,useRender:B8(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 Bd(e,t,n,r){return r===void 0&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function dm(e,t,n,r){f.exports.useEffect(function(){var o=e.current;if(n&&o)return Bd(o,t,n,r)},[e,t,n,r])}function X8(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)};dm(n,"focus",t?r:void 0),dm(n,"blur",t?o:void 0)}function tC(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function nC(e){var t=!!e.touches;return t}function Z8(e){return function(t){var n=t instanceof MouseEvent,r=!n||n&&t.button===0;r&&e(t)}}var Q8={pageX:0,pageY:0};function J8(e,t){t===void 0&&(t="page");var n=e.touches[0]||e.changedTouches[0],r=n||Q8;return{x:r[t+"X"],y:r[t+"Y"]}}function eM(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Kg(e,t){return t===void 0&&(t="page"),{point:nC(e)?J8(e,t):eM(e,t)}}var rC=function(e,t){t===void 0&&(t=!1);var n=function(r){return e(r,Kg(r))};return t?Z8(n):n},tM=function(){return sa&&window.onpointerdown===null},nM=function(){return sa&&window.ontouchstart===null},rM=function(){return sa&&window.onmousedown===null},oM={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},iM={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function oC(e){return tM()?e:nM()?iM[e]:rM()?oM[e]:e}function Oi(e,t,n,r){return Bd(e,oC(t),rC(n,t==="pointerdown"),r)}function vc(e,t,n,r){return dm(e,oC(t),n&&rC(n,t==="pointerdown"),r)}function iC(e){var t=null;return function(){var n=function(){t=null};return t===null?(t=e,n):!1}}var cx=iC("dragHorizontal"),dx=iC("dragVertical");function aC(e){var t=!1;if(e==="y")t=dx();else if(e==="x")t=cx();else{var n=cx(),r=dx();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function sC(){var e=aC(!0);return e?(e(),!1):!0}function fx(e,t,n){return function(r,o){var i;!tC(r)||sC()||((i=e.animationState)===null||i===void 0||i.setActive(Pe.Hover,t),n==null||n(r,o))}}function aM(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;vc(o,"pointerenter",t||r?fx(o,!0,t):void 0,{passive:!t}),vc(o,"pointerleave",n||r?fx(o,!1,n):void 0,{passive:!n})}var lC=function(e,t){return t?e===t?!0:lC(e,t.parentElement):!1};function uC(e){return f.exports.useEffect(function(){return function(){return e()}},[])}const gc=(e,t,n)=>Math.min(Math.max(n,e),t),ap=.001,sM=.01,px=10,lM=.05,uM=1;function cM({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;H6(e<=px*1e3);let a=1-t;a=gc(lM,uM,a),e=gc(sM,px,e/1e3),a<1?(o=u=>{const c=u*a,d=c*e,p=c-n,h=fm(u,a),v=Math.exp(-d);return ap-p/h*v},i=u=>{const d=u*a*e,p=d*n+n,h=Math.pow(a,2)*Math.pow(u,2)*e,v=Math.exp(-d),m=fm(Math.pow(u,2),a);return(-o(u)+ap>0?-1:1)*((p-h)*v)/m}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-ap+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const s=5/e,l=fM(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 dM=12;function fM(e,t,n){let r=n;for(let o=1;o<dM;o++)r=r-e(r)/t(r);return r}function fm(e,t){return e*Math.sqrt(1-t*t)}const pM=["duration","bounce"],hM=["stiffness","damping","mass"];function hx(e,t){return t.some(n=>e[n]!==void 0)}function mM(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!hx(e,hM)&&hx(e,pM)){const n=cM(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Xg(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=sn(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:p}=mM(i),h=mx,v=mx;function m(){const _=c?-(c/1e3):0,y=n-t,g=l/(2*Math.sqrt(s*u)),x=Math.sqrt(s/u)/1e3;if(o===void 0&&(o=Math.min(Math.abs(n-t)/100,.4)),g<1){const w=fm(x,g);h=E=>{const b=Math.exp(-g*x*E);return n-b*((_+g*x*y)/w*Math.sin(w*E)+y*Math.cos(w*E))},v=E=>{const b=Math.exp(-g*x*E);return g*x*b*(Math.sin(w*E)*(_+g*x*y)/w+y*Math.cos(w*E))-b*(Math.cos(w*E)*(_+g*x*y)-w*y*Math.sin(w*E))}}else if(g===1)h=w=>n-Math.exp(-x*w)*(y+(_+x*y)*w);else{const w=x*Math.sqrt(g*g-1);h=E=>{const b=Math.exp(-g*x*E),S=Math.min(w*E,300);return n-b*((_+g*x*y)*Math.sinh(S)+w*y*Math.cosh(S))/w}}}return m(),{next:_=>{const y=h(_);if(p)a.done=_>=d;else{const g=v(_)*1e3,x=Math.abs(g)<=r,w=Math.abs(n-y)<=o;a.done=x&&w}return a.value=a.done?n:y,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}Xg.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const mx=e=>0,Vs=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},He=(e,t,n)=>-n*e+n*t+e;function sp(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 vx({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=sp(l,s,e+1/3),i=sp(l,s,e),a=sp(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}const vM=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},gM=[um,Lr,$o],gx=e=>gM.find(t=>t.test(e)),cC=(e,t)=>{let n=gx(e),r=gx(t),o=n.parse(e),i=r.parse(t);n===$o&&(o=vx(o),n=Lr),r===$o&&(i=vx(i),r=Lr);const a=Object.assign({},o);return s=>{for(const l in a)l!=="alpha"&&(a[l]=vM(o[l],i[l],s));return a.alpha=He(o.alpha,i.alpha,s),n.transform(a)}},pm=e=>typeof e=="number",yM=(e,t)=>n=>t(e(n)),Ud=(...e)=>e.reduce(yM);function dC(e,t){return pm(e)?n=>He(e,t,n):Et.test(e)?cC(e,t):pC(e,t)}const fC=(e,t)=>{const n=[...e],r=n.length,o=e.map((i,a)=>dC(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=o[a](i);return n}},xM=(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]=dC(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}};function yx(e){const t=or.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 pC=(e,t)=>{const n=or.createTransformer(t),r=yx(e),o=yx(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?Ud(fC(r.parsed,o.parsed),n):a=>`${a>0?t:e}`},_M=(e,t)=>n=>He(e,t,n);function wM(e){if(typeof e=="number")return _M;if(typeof e=="string")return Et.test(e)?cC:pC;if(Array.isArray(e))return fC;if(typeof e=="object")return xM}function EM(e,t,n){const r=[],o=n||wM(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=Ud(l,s)}r.push(s)}return r}function bM([e,t],[n]){return r=>n(Vs(e,t,r))}function SM(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=Vs(e[i],e[i+1],o);return t[i](s)}}function hC(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;pc(i===t.length),pc(!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=EM(t,r,o),s=i===2?bM(e,a):SM(e,a);return n?l=>s(gc(e[0],e[i-1],l)):s}const Hd=e=>t=>1-e(1-t),Zg=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,CM=e=>t=>Math.pow(t,e),mC=e=>t=>t*t*((e+1)*t-e),AM=e=>{const t=mC(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},vC=1.525,$M=4/11,TM=8/11,PM=9/10,Qg=e=>e,Jg=CM(2),kM=Hd(Jg),gC=Zg(Jg),yC=e=>1-Math.sin(Math.acos(e)),e0=Hd(yC),RM=Zg(e0),t0=mC(vC),OM=Hd(t0),MM=Zg(t0),NM=AM(vC),LM=4356/361,DM=35442/1805,FM=16061/1805,yc=e=>{if(e===1||e===0)return e;const t=e*e;return e<$M?7.5625*t:e<TM?9.075*t-9.9*e+3.4:e<PM?LM*t-DM*e+FM:10.8*e*e-20.52*e+10.72},IM=Hd(yc),jM=e=>e<.5?.5*(1-yc(1-e*2)):.5*yc(e*2-1)+.5;function zM(e,t){return e.map(()=>t||gC).splice(0,e.length-1)}function VM(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function BM(e,t){return e.map(n=>n*t)}function Su({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=BM(r&&r.length===a.length?r:VM(a),o);function l(){return hC(s,a,{ease:Array.isArray(n)?n:zM(a,n)})}let u=l();return{next:c=>(i.value=u(c),i.done=c>=o,i),flipTarget:()=>{a.reverse(),u=l()}}}function UM({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let s=n*e;const l=t+s,u=i===void 0?l:i(l);return u!==l&&(s=u-t),{next:c=>{const d=-s*Math.exp(-c/r);return a.done=!(d>o||d<-o),a.value=a.done?u:u+d,a},flipTarget:()=>{}}}const xx={keyframes:Su,spring:Xg,decay:UM};function HM(e){if(Array.isArray(e.to))return Su;if(xx[e.type])return xx[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Su:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Xg:Su}const xC=1/60*1e3,GM=typeof performance<"u"?()=>performance.now():()=>Date.now(),_C=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(GM()),xC);function YM(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,u=!1,c=!1)=>{const d=c&&o,p=d?t:n;return u&&a.add(l),p.indexOf(l)===-1&&(p.push(l),d&&o&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u<r;u++){const c=t[u];c(l),a.has(c)&&(s.schedule(c),e())}o=!1,i&&(i=!1,s.process(l))}};return s}const WM=40;let hm=!0,Bs=!1,mm=!1;const Mi={delta:0,timestamp:0},al=["read","update","preRender","render","postRender"],Gd=al.reduce((e,t)=>(e[t]=YM(()=>Bs=!0),e),{}),Fn=al.reduce((e,t)=>{const n=Gd[t];return e[t]=(r,o=!1,i=!1)=>(Bs||KM(),n.schedule(r,o,i)),e},{}),qi=al.reduce((e,t)=>(e[t]=Gd[t].cancel,e),{}),lp=al.reduce((e,t)=>(e[t]=()=>Gd[t].process(Mi),e),{}),qM=e=>Gd[e].process(Mi),wC=e=>{Bs=!1,Mi.delta=hm?xC:Math.max(Math.min(e-Mi.timestamp,WM),1),Mi.timestamp=e,mm=!0,al.forEach(qM),mm=!1,Bs&&(hm=!1,_C(wC))},KM=()=>{Bs=!0,hm=!0,mm||_C(wC)},xc=()=>Mi;function EC(e,t,n=0){return e-t-n}function XM(e,t,n=0,r=!0){return r?EC(t+-e,t,n):t-(e-t)+n}function ZM(e,t,n,r){return r?e>=t+n:e<=-n}const QM=e=>{const t=({delta:n})=>e(n);return{start:()=>Fn.update(t,!0),stop:()=>qi.update(t)}};function bC(e){var t,n,{from:r,autoplay:o=!0,driver:i=QM,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:p,onRepeat:h,onUpdate:v}=e,m=sn(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:_}=m,y,g=0,x=m.duration,w,E=!1,b=!0,S;const C=HM(m);!((n=(t=C).needsInterpolation)===null||n===void 0)&&n.call(t,r,_)&&(S=hC([0,100],[r,_],{clamp:!1}),r=0,_=100);const T=C(Object.assign(Object.assign({},m),{from:r,to:_}));function P(){g++,l==="reverse"?(b=g%2===0,a=XM(a,x,u,b)):(a=EC(a,x,u),l==="mirror"&&T.flipTarget()),E=!1,h&&h()}function F(){y.stop(),p&&p()}function z(H){if(b||(H=-H),a+=H,!E){const ee=T.next(Math.max(0,a));w=ee.value,S&&(w=S(w)),E=b?ee.done:a<=0}v==null||v(w),E&&(g===0&&(x!=null||(x=a)),g<s?ZM(a,x,u,b)&&P():F())}function W(){c==null||c(),y=i(z),y.start()}return o&&W(),{stop:()=>{d==null||d(),y.stop()}}}function SC(e,t){return t?e*(1e3/t):0}function JM({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:p,onStop:h}){let v;function m(x){return n!==void 0&&x<n||r!==void 0&&x>r}function _(x){return n===void 0?r:r===void 0||Math.abs(n-x)<Math.abs(r-x)?n:r}function y(x){v==null||v.stop(),v=bC(Object.assign(Object.assign({},x),{driver:c,onUpdate:w=>{var E;d==null||d(w),(E=x.onUpdate)===null||E===void 0||E.call(x,w)},onComplete:p,onStop:h}))}function g(x){y(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},x))}if(m(e))g({from:e,velocity:t,to:_(e)});else{let x=o*t+e;typeof u<"u"&&(x=u(x));const w=_(x),E=w===n?-1:1;let b,S;const C=T=>{b=S,S=T,t=SC(T-b,xc().delta),(E===1&&T>w||E===-1&&T<w)&&g({from:T,to:w,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:l,modifyTarget:u,onUpdate:m(x)?C:void 0})}return{stop:()=>v==null?void 0:v.stop()}}const vm=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),_x=e=>vm(e)&&e.hasOwnProperty("z"),Gl=(e,t)=>Math.abs(e-t);function CC(e,t){if(pm(e)&&pm(t))return Gl(e,t);if(vm(e)&&vm(t)){const n=Gl(e.x,t.x),r=Gl(e.y,t.y),o=_x(e)&&_x(t)?Gl(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}const AC=(e,t)=>1-3*t+3*e,$C=(e,t)=>3*t-6*e,TC=e=>3*e,_c=(e,t,n)=>((AC(t,n)*e+$C(t,n))*e+TC(t))*e,PC=(e,t,n)=>3*AC(t,n)*e*e+2*$C(t,n)*e+TC(t),eN=1e-7,tN=10;function nN(e,t,n,r,o){let i,a,s=0;do a=t+(n-t)/2,i=_c(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>eN&&++s<tN);return a}const rN=8,oN=.001;function iN(e,t,n,r){for(let o=0;o<rN;++o){const i=PC(t,n,r);if(i===0)return t;const a=_c(t,n,r)-e;t-=a/i}return t}const Cu=11,Yl=1/(Cu-1);function aN(e,t,n,r){if(e===t&&n===r)return Qg;const o=new Float32Array(Cu);for(let a=0;a<Cu;++a)o[a]=_c(a*Yl,e,n);function i(a){let s=0,l=1;const u=Cu-1;for(;l!==u&&o[l]<=a;++l)s+=Yl;--l;const c=(a-o[l])/(o[l+1]-o[l]),d=s+c*Yl,p=PC(d,e,n);return p>=oN?iN(a,d,e,n):p===0?d:nN(a,s,s+Yl,e,n)}return a=>a===0||a===1?a:_c(i(a),t,r)}function sN(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,s=f.exports.useRef(!1),l=f.exports.useRef(null),u={passive:!(n||t||r||v)};function c(){var m;(m=l.current)===null||m===void 0||m.call(l),l.current=null}function d(){var m;return c(),s.current=!1,(m=i.animationState)===null||m===void 0||m.setActive(Pe.Tap,!1),!sC()}function p(m,_){!d()||(lC(i.getInstance(),m.target)?t==null||t(m,_):r==null||r(m,_))}function h(m,_){!d()||r==null||r(m,_)}function v(m,_){var y;c(),!s.current&&(s.current=!0,l.current=Ud(Oi(window,"pointerup",p,u),Oi(window,"pointercancel",h,u)),(y=i.animationState)===null||y===void 0||y.setActive(Pe.Tap,!0),n==null||n(m,_))}vc(i,"pointerdown",a?v:void 0,u),uC(c)}var wx=new Set;function lN(e,t,n){e||wx.has(t)||(console.warn(t),n&&console.warn(n),wx.add(t))}var gm=new WeakMap,up=new WeakMap,uN=function(e){var t;(t=gm.get(e.target))===null||t===void 0||t(e)},cN=function(e){e.forEach(uN)};function dN(e){var t=e.root,n=sn(e,["root"]),r=t||document;up.has(r)||up.set(r,{});var o=up.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(cN,U({root:t},n))),o[i]}function fN(e,t,n){var r=dN(t);return gm.set(e,n),r.observe(e),function(){gm.delete(e),r.unobserve(e)}}function pN(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=i===void 0?{}:i,s=f.exports.useRef({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||o);a.once&&s.current.hasEnteredView&&(l=!1);var u=typeof IntersectionObserver>"u"?vN:mN;u(l,s.current,t,a)}var hN={some:0,all:1};function mN(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,s=a===void 0?"some":a,l=r.once;f.exports.useEffect(function(){if(!!e){var u={root:o==null?void 0:o.current,rootMargin:i,threshold:typeof s=="number"?s:hN[s]},c=function(d){var p,h=d.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(l&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(p=n.animationState)===null||p===void 0||p.setActive(Pe.InView,h);var v=n.getProps(),m=h?v.onViewportEnter:v.onViewportLeave;m==null||m(d)}};return fN(n.getInstance(),u,c)}},[e,o,i,s])}function vN(e,t,n,r){var o=r.fallback,i=o===void 0?!0:o;f.exports.useEffect(function(){!e||!i||(CS!=="production"&&lN(!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 Dr=function(e){return function(t){return e(t),null}},gN={inView:Dr(pN),tap:Dr(sN),focus:Dr(X8),hover:Dr(aM)},yN=0,xN=function(){return yN++},_N=function(){return Vd(xN)};function kC(){var e=f.exports.useContext(Id);if(e===null)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=_N();f.exports.useEffect(function(){return r(o)},[]);var i=function(){return n==null?void 0:n(o)};return!t&&n?[!1,i]:[!0]}function RC(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 wc=function(e){return e*1e3},wN={linear:Qg,easeIn:Jg,easeInOut:gC,easeOut:kM,circIn:yC,circInOut:RM,circOut:e0,backIn:t0,backInOut:MM,backOut:OM,anticipate:NM,bounceIn:IM,bounceInOut:jM,bounceOut:yc},Ex=function(e){if(Array.isArray(e)){pc(e.length===4);var t=rt(e,4),n=t[0],r=t[1],o=t[2],i=t[3];return aN(n,r,o,i)}else if(typeof e=="string")return wN[e];return e},EN=function(e){return Array.isArray(e)&&typeof e[0]!="number"},bx=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&or.test(t)&&!t.startsWith("url("))},vo=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Wl=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},cp=function(){return{type:"keyframes",ease:"linear",duration:.3}},bN=function(e){return{type:"keyframes",duration:.8,values:e}},Sx={x:vo,y:vo,z:vo,rotate:vo,rotateX:vo,rotateY:vo,rotateZ:vo,scaleX:Wl,scaleY:Wl,scale:Wl,opacity:cp,backgroundColor:cp,color:cp,default:Wl},SN=function(e,t){var n;return zs(t)?n=bN:n=Sx[e]||Sx.default,U({to:t},n(t))},CN=U(U({},HS),{color:Et,backgroundColor:Et,outlineColor:Et,fill:Et,stroke:Et,borderColor:Et,borderTopColor:Et,borderRightColor:Et,borderBottomColor:Et,borderLeftColor:Et,filter:cm,WebkitFilter:cm}),n0=function(e){return CN[e]};function r0(e,t){var n,r=n0(e);return r!==cm&&(r=or),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}var AN={current:!1};function $N(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=sn(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function TN(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=sn(e,["ease","times","yoyo","flip","loop"]),s=U({},a);return n&&(s.offset=n),a.duration&&(s.duration=wc(a.duration)),a.repeatDelay&&(s.repeatDelay=wc(a.repeatDelay)),t&&(s.ease=EN(t)?t.map(Ex):Ex(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 PN(e,t){var n,r,o=o0(e,t)||{};return(r=(n=o.delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function kN(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=Ln([],rt(e.to),!1),e.to[0]=e.from),e}function RN(e,t,n){var r;return Array.isArray(t.to)&&((r=e.duration)!==null&&r!==void 0||(e.duration=.8)),kN(t),$N(e)||(e=U(U({},e),SN(n,t.to))),U(U({},t),TN(e))}function ON(e,t,n,r,o){var i,a=o0(r,e),s=(i=a.from)!==null&&i!==void 0?i:t.get(),l=bx(e,n);s==="none"&&l&&typeof n=="string"?s=r0(e,n):Cx(s)&&typeof n=="string"?s=Ax(n):!Array.isArray(n)&&Cx(n)&&typeof s=="string"&&(n=Ax(s));var u=bx(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"?JM(U(U({},p),a)):bC(U(U({},RN(a,p,e)),{onUpdate:function(h){var v;p.onUpdate(h),(v=a.onUpdate)===null||v===void 0||v.call(a,h)},onComplete:function(){var h;p.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function d(){var p,h,v=JS(n);return t.set(v),o(),(p=a==null?void 0:a.onUpdate)===null||p===void 0||p.call(a,v),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!l||a.type===!1?d:c}function Cx(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function Ax(e){return typeof e=="number"?0:r0("",e)}function o0(e,t){return e[t]||e.default||e}function i0(e,t,n,r){return r===void 0&&(r={}),AN.current&&(r={type:!1}),t.start(function(o){var i,a,s=ON(e,t,n,r,o),l=PN(r,e),u=function(){return a=s()};return l?i=window.setTimeout(u,wc(l)):u(),function(){clearTimeout(i),a==null||a.stop()}})}var MN=function(e){return/^\-?\d*\.?\d+$/.test(e)},NN=function(e){return/^0[^.\s]+$/.test(e)};function a0(e,t){e.indexOf(t)===-1&&e.push(t)}function s0(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var ns=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var n=this;return a0(this.subscriptions,t),function(){return s0(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}(),LN=function(e){return!isNaN(parseFloat(e))},DN=function(){function e(t){var n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new ns,this.velocityUpdateSubscribers=new ns,this.renderSubscribers=new ns,this.canTrackVelocity=!1,this.updateAndNotify=function(r,o){o===void 0&&(o=!0),n.prev=n.current,n.current=r;var i=xc(),a=i.delta,s=i.timestamp;n.lastUpdated!==s&&(n.timeDelta=a,n.lastUpdated=s,Fn.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 Fn.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=LN(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?SC(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 Ki(e){return new DN(e)}var OC=function(e){return function(t){return t.test(e)}},FN={test:function(e){return e==="auto"},parse:function(e){return e}},MC=[Uo,oe,Dn,yr,E8,w8,FN],Pa=function(e){return MC.find(OC(e))},IN=Ln(Ln([],rt(MC),!1),[Et,or],!1),jN=function(e){return IN.find(OC(e))};function zN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function VN(e,t){var n=jd(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=o===void 0?{}:o;r.transition;var a=sn(r,["transitionEnd","transition"]);a=U(U({},a),i);for(var s in a){var l=JS(a[s]);zN(e,s,l)}}function BN(e,t,n){var r,o,i,a,s=Object.keys(t).filter(function(h){return!e.hasValue(h)}),l=s.length;if(!!l)for(var u=0;u<l;u++){var c=s[u],d=t[c],p=null;Array.isArray(d)&&(p=d[0]),p===null&&(p=(o=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&o!==void 0?o:t[c]),p!=null&&(typeof p=="string"&&(MN(p)||NN(p))?p=parseFloat(p):!jN(p)&&or.test(d)&&(p=r0(c,d)),e.addValue(c,Ki(p)),(i=(a=n)[c])!==null&&i!==void 0||(a[c]=p),e.setBaseTarget(c,p))}}function UN(e,t){if(!!t){var n=t[e]||t.default||t;return n.from}}function HN(e,t,n){var r,o,i={};for(var a in e)i[a]=(r=UN(a,t))!==null&&r!==void 0?r:(o=n.getValue(a))===null||o===void 0?void 0:o.get();return i}function GN(e,t,n){n===void 0&&(n={}),e.notifyAnimationStart(t);var r;if(Array.isArray(t)){var o=t.map(function(a){return ym(e,a,n)});r=Promise.all(o)}else if(typeof t=="string")r=ym(e,t,n);else{var i=typeof t=="function"?jd(e,t,n.custom):t;r=NC(e,i,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}function ym(e,t,n){var r;n===void 0&&(n={});var o=jd(e,t,n.custom),i=(o||{}).transition,a=i===void 0?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var s=o?function(){return NC(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,y=a.staggerDirection;return YN(e,t,m+h,_,y,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=rt(u==="beforeChildren"?[s,l]:[l,s],2),d=c[0],p=c[1];return d().then(p)}else return Promise.all([s(),l(n.delay)])}function NC(e,t,n){var r,o=n===void 0?{}:n,i=o.delay,a=i===void 0?0:i,s=o.transitionOverride,l=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=c===void 0?e.getDefaultTransition():c,p=u.transitionEnd,h=sn(u,["transition","transitionEnd"]);s&&(d=s);var v=[],m=l&&((r=e.animationState)===null||r===void 0?void 0:r.getState()[l]);for(var _ in h){var y=e.getValue(_),g=h[_];if(!(!y||g===void 0||m&&qN(m,_))){var x=U({delay:a},d);e.shouldReduceMotion&&rl(_)&&(x=U(U({},x),{type:!1,delay:0}));var w=i0(_,y,g,x);v.push(w)}}return Promise.all(v).then(function(){p&&VN(e,p)})}function YN(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(WN).forEach(function(u,c){a.push(ym(u,t,U(U({},i),{delay:n+l(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function WN(e,t){return e.sortNodePosition(t)}function qN(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&r[t]!==!0;return r[t]=!1,o}var l0=[Pe.Animate,Pe.InView,Pe.Focus,Pe.Hover,Pe.Tap,Pe.Drag,Pe.Exit],KN=Ln([],rt(l0),!1).reverse(),XN=l0.length;function ZN(e){return function(t){return Promise.all(t.map(function(n){var r=n.animation,o=n.options;return GN(e,r,o)}))}}function QN(e){var t=ZN(e),n=eL(),r={},o=!0,i=function(c,d){var p=jd(e,d);if(p){p.transition;var h=p.transitionEnd,v=sn(p,["transition","transitionEnd"]);c=U(U(U({},c),v),h)}return c};function a(c){return r[c]!==void 0}function s(c){t=c(e)}function l(c,d){for(var p,h=e.getProps(),v=e.getVariantContext(!0)||{},m=[],_=new Set,y={},g=1/0,x=function(S){var C=KN[S],T=n[C],P=(p=h[C])!==null&&p!==void 0?p:v[C],F=mn(P),z=C===d?T.isActive:null;z===!1&&(g=S);var W=P===v[C]&&P!==h[C]&&F;if(W&&o&&e.manuallyAnimateOnMount&&(W=!1),T.protectedKeys=U({},y),!T.isActive&&z===null||!P&&!T.prevProp||qg(P)||typeof P=="boolean")return"continue";var H=JN(T.prevProp,P),ee=H||C===d&&T.isActive&&!W&&F||S>g&&F,ce=Array.isArray(P)?P:[P],se=ce.reduce(i,{});z===!1&&(se={});var B=T.prevResolvedValues,Z=B===void 0?{}:B,R=U(U({},Z),se),G=function(N){ee=!0,_.delete(N),T.needsAnimating[N]=!0};for(var M in R){var k=se[M],$=Z[M];y.hasOwnProperty(M)||(k!==$?zs(k)&&zs($)?!RC(k,$)||H?G(M):T.protectedKeys[M]=!0:k!==void 0?G(M):_.add(M):k!==void 0&&_.has(M)?G(M):T.protectedKeys[M]=!0)}T.prevProp=P,T.prevResolvedValues=se,T.isActive&&(y=U(U({},y),se)),o&&e.blockInitialAnimation&&(ee=!1),ee&&!W&&m.push.apply(m,Ln([],rt(ce.map(function(N){return{animation:N,options:U({type:C},c)}})),!1))},w=0;w<XN;w++)x(w);if(r=U({},y),_.size){var E={};_.forEach(function(S){var C=e.getBaseTarget(S);C!==void 0&&(E[S]=C)}),m.push({animation:E})}var b=Boolean(m.length);return o&&h.initial===!1&&!e.manuallyAnimateOnMount&&(b=!1),o=!1,b?t(m):Promise.resolve()}function u(c,d,p){var h;if(n[c].isActive===d)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(_){var y;return(y=_.animationState)===null||y===void 0?void 0:y.setActive(c,d)}),n[c].isActive=d;var v=l(p,c);for(var m in n)n[m].protectedKeys={};return v}return{isAnimated:a,animateChanges:l,setActive:u,setAnimateFunction:s,getState:function(){return n}}}function JN(e,t){return typeof t=="string"?t!==e:PS(t)?!RC(t,e):!1}function go(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eL(){var e;return e={},e[Pe.Animate]=go(!0),e[Pe.InView]=go(),e[Pe.Hover]=go(),e[Pe.Tap]=go(),e[Pe.Drag]=go(),e[Pe.Focus]=go(),e[Pe.Exit]=go(),e}var tL={animation:Dr(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=QN(t)),qg(n)&&f.exports.useEffect(function(){return n.subscribe(t)},[n])}),exit:Dr(function(e){var t=e.custom,n=e.visualElement,r=rt(kC(),2),o=r[0],i=r[1],a=f.exports.useContext(Id);f.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])})},LC=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=fp(o.lastMoveEventInfo,o.history),h=o.startEvent!==null,v=CC(p.offset,{x:0,y:0})>=3;if(!(!h&&!v)){var m=p.point,_=xc().timestamp;o.history.push(U(U({},m),{timestamp:_}));var y=o.handlers,g=y.onStart,x=y.onMove;h||(g&&g(o.lastMoveEvent,p),o.startEvent=o.lastMoveEvent),x&&x(o.lastMoveEvent,p)}}},this.handlePointerMove=function(p,h){if(o.lastMoveEvent=p,o.lastMoveEventInfo=dp(h,o.transformPagePoint),tC(p)&&p.buttons===0){o.handlePointerUp(p,h);return}Fn.update(o.updatePoint,!0)},this.handlePointerUp=function(p,h){o.end();var v=o.handlers,m=v.onEnd,_=v.onSessionEnd,y=fp(dp(h,o.transformPagePoint),o.history);o.startEvent&&m&&m(p,y),_&&_(p,y)},!(nC(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=a;var s=Kg(t),l=dp(s,this.transformPagePoint),u=l.point,c=xc().timestamp;this.history=[U(U({},u),{timestamp:c})];var d=n.onSessionStart;d&&d(t,fp(l,this.history)),this.removeListeners=Ud(Oi(window,"pointermove",this.handlePointerMove),Oi(window,"pointerup",this.handlePointerUp),Oi(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),qi.update(this.updatePoint)},e}();function dp(e,t){return t?{point:t(e.point)}:e}function $x(e,t){return{x:e.x-t.x,y:e.y-t.y}}function fp(e,t){var n=e.point;return{point:n,delta:$x(n,DC(t)),offset:$x(n,nL(t)),velocity:rL(t,.1)}}function nL(e){return e[0]}function DC(e){return e[e.length-1]}function rL(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=DC(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>wc(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 ir(e){return e.max-e.min}function Tx(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=.01),CC(e,t)<n}function Px(e,t,n,r){r===void 0&&(r=.5),e.origin=r,e.originPoint=He(t.min,t.max,e.origin),e.scale=ir(n)/ir(t),(Tx(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=He(n.min,n.max,e.origin)-e.originPoint,(Tx(e.translate)||isNaN(e.translate))&&(e.translate=0)}function rs(e,t,n,r){Px(e.x,t.x,n.x,r==null?void 0:r.originX),Px(e.y,t.y,n.y,r==null?void 0:r.originY)}function kx(e,t,n){e.min=n.min+t.min,e.max=e.min+ir(t)}function oL(e,t,n){kx(e.x,t.x,n.x),kx(e.y,t.y,n.y)}function Rx(e,t,n){e.min=t.min-n.min,e.max=e.min+ir(t)}function os(e,t,n){Rx(e.x,t.x,n.x),Rx(e.y,t.y,n.y)}function iL(e,t,n){var r=t.min,o=t.max;return r!==void 0&&e<r?e=n?He(r,e,n.min):Math.max(e,r):o!==void 0&&e>o&&(e=n?He(o,e,n.max):Math.min(e,o)),e}function Ox(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 aL(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:Ox(e.x,r,i),y:Ox(e.y,n,o)}}function Mx(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=rt([o,r],2),r=n[0],o=n[1]),{min:r,max:o}}function sL(e,t){return{x:Mx(e.x,t.x),y:Mx(e.y,t.y)}}function lL(e,t){var n=.5,r=ir(e),o=ir(t);return o>r?n=Vs(t.min,t.max-r,e.min):r>o&&(n=Vs(e.min,e.max-o,t.min)),gc(0,1,n)}function uL(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 xm=.35;function cL(e){return e===void 0&&(e=xm),e===!1?e=0:e===!0&&(e=xm),{x:Nx(e,"left","right"),y:Nx(e,"top","bottom")}}function Nx(e,t,n){return{min:Lx(e,t),max:Lx(e,n)}}function Lx(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}var Dx=function(){return{translate:0,scale:1,origin:0,originPoint:0}},is=function(){return{x:Dx(),y:Dx()}},Fx=function(){return{min:0,max:0}},vt=function(){return{x:Fx(),y:Fx()}};function $n(e){return[e("x"),e("y")]}function FC(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 dL(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function fL(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 pp(e){return e===void 0||e===1}function IC(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!pp(t)||!pp(n)||!pp(r)}function xr(e){return IC(e)||Ix(e.x)||Ix(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Ix(e){return e&&e!=="0%"}function Ec(e,t,n){var r=e-n,o=t*r;return n+o}function jx(e,t,n,r,o){return o!==void 0&&(e=Ec(e,o,r)),Ec(e,n,r)+t}function _m(e,t,n,r,o){t===void 0&&(t=0),n===void 0&&(n=1),e.min=jx(e.min,t,n,r,o),e.max=jx(e.max,t,n,r,o)}function jC(e,t){var n=t.x,r=t.y;_m(e.x,n.translate,n.scale,n.originPoint),_m(e.y,r.translate,r.scale,r.originPoint)}function pL(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&&_i(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,jC(e,l)),r&&xr(s.latestValues)&&_i(e,s.latestValues))}}function Ar(e,t){e.min=e.min+t,e.max=e.max+t}function zx(e,t,n){var r=rt(n,3),o=r[0],i=r[1],a=r[2],s=t[a]!==void 0?t[a]:.5,l=He(e.min,e.max,s);_m(e,t[o],t[i],l,t.scale)}var hL=["x","scaleX","originX"],mL=["y","scaleY","originY"];function _i(e,t){zx(e.x,t,hL),zx(e.y,t,mL)}function zC(e,t){return FC(fL(e.getBoundingClientRect(),t))}function vL(e,t,n){var r=zC(e,n),o=t.scroll;return o&&(Ar(r.x,o.x),Ar(r.y,o.y)),r}var gL=new WeakMap,yL=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=vt(),this.visualElement=t}return e.prototype.start=function(t,n){var r=this,o=n===void 0?{}:n,i=o.snapToCursor,a=i===void 0?!1:i;if(this.visualElement.isPresent!==!1){var s=function(d){r.stopAnimation(),a&&r.snapToCursor(Kg(d,"page").point)},l=function(d,p){var h,v=r.getProps(),m=v.drag,_=v.dragPropagation,y=v.onDragStart;m&&!_&&(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=aC(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(g){var x,w,E=r.getAxisMotionValue(g).get()||0;if(Dn.test(E)){var b=(w=(x=r.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||w===void 0?void 0:w.actual[g];if(b){var S=ir(b);E=S*(parseFloat(E)/100)}}r.originPoint[g]=E}),y==null||y(d,p),(h=r.visualElement.animationState)===null||h===void 0||h.setActive(Pe.Drag,!0))},u=function(d,p){var h=r.getProps(),v=h.dragPropagation,m=h.dragDirectionLock,_=h.onDirectionLock,y=h.onDrag;if(!(!v&&!r.openGlobalLock)){var g=p.offset;if(m&&r.currentDirection===null){r.currentDirection=xL(g),r.currentDirection!==null&&(_==null||_(r.currentDirection));return}r.updateAxis("x",p.point,g),r.updateAxis("y",p.point,g),r.visualElement.syncRender(),y==null||y(d,p)}},c=function(d,p){return r.stop(d,p)};this.panSession=new LC(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||!ql(t,o,this.currentDirection))){var i=this.getAxisMotionValue(t),a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=iL(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&&xi(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&i?this.constraints=aL(i.actual,r):this.constraints=!1,this.elastic=cL(o),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&$n(function(s){t.getAxisMotionValue(s)&&(t.constraints[s]=uL(i.actual[s],t.constraints[s]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),n=t.dragConstraints,r=t.onMeasureDragConstraints;if(!n||!xi(n))return!1;var o=n.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=vL(o,i.root,this.visualElement.getTransformPagePoint()),s=sL(i.layout.actual,a);if(r){var l=r(dL(s));this.hasMutatedConstraints=!!l,l&&(s=FC(l))}return s},e.prototype.startAnimation=function(t){var n=this,r=this.getProps(),o=r.drag,i=r.dragMomentum,a=r.dragElastic,s=r.dragTransition,l=r.dragSnapToOrigin,u=r.onDragTransitionEnd,c=this.constraints||{},d=$n(function(p){var h;if(!!ql(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,y=U(U({type:"inertia",velocity:i?t[p]:0,bounceStiffness:m,bounceDamping:_,timeConstant:750,restDelta:1,restSpeed:10},s),v);return n.startAxisValueAnimation(p,y)}});return Promise.all(d).then(u)},e.prototype.startAxisValueAnimation=function(t,n){var r=this.getAxisMotionValue(t);return i0(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(!!ql(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]-He(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(!(!xi(i)||!a||!this.constraints)){this.stopAnimation();var s={x:0,y:0};$n(function(u){var c=t.getAxisMotionValue(u);if(c){var d=c.get();s[u]=lL({min:d,max:d},t.constraints[u])}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",(n=a.root)===null||n===void 0||n.updateScroll(),a.updateLayout(),this.resolveConstraints(),$n(function(u){if(!!ql(u,o,null)){var c=t.getAxisMotionValue(u),d=t.constraints[u],p=d.min,h=d.max;c.set(He(p,h,s[u]))}})}},e.prototype.addListeners=function(){var t=this,n;gL.set(this.visualElement,this);var r=this.visualElement.getInstance(),o=Oi(r,"pointerdown",function(u){var c=t.getProps(),d=c.drag,p=c.dragListener,h=p===void 0?!0:p;d&&h&&t.start(u)}),i=function(){var u=t.getProps().dragConstraints;xi(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=Bd(window,"resize",function(){return t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,d=u.hasLayoutChanged;t.isDragging&&d&&($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,d=c===void 0?xm:c,p=t.dragMomentum,h=p===void 0?!0:p;return U(U({},t),{drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:u,dragElastic:d,dragMomentum:h})},e}();function ql(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function xL(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 _L(e){var t=e.dragControls,n=e.visualElement,r=Vd(function(){return new yL(n)});f.exports.useEffect(function(){return t&&t.subscribe(r)},[r,t]),f.exports.useEffect(function(){return r.addListeners()},[r])}function wL(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,s=f.exports.useRef(null),l=f.exports.useContext(Vg).transformPagePoint,u={onSessionStart:o,onStart:n,onMove:t,onEnd:function(d,p){s.current=null,r&&r(d,p)}};f.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(u)});function c(d){s.current=new LC(d,u,{transformPagePoint:l})}vc(i,"pointerdown",a&&c),uC(function(){return s.current&&s.current.end()})}var EL={pan:Dr(wL),drag:Dr(_L)},Kl=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function bL(){var e=Kl.map(function(){return new ns}),t={},n={clearAllListeners:function(){return e.forEach(function(r){return r.clear()})},updatePropListeners:function(r){Kl.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"+Kl[o]]=function(i){return r.add(i)},n["notify"+Kl[o]]=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return r.notify.apply(r,Ln([],rt(i),!1))}}),n}function SL(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(rr(i))e.addValue(o,i);else if(rr(a))e.addValue(o,Ki(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,Ki((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 VC=function(e){var t=e.treeType,n=t===void 0?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(p,h){var v=p.parent,m=p.props,_=p.presenceId,y=p.blockInitialAnimation,g=p.visualState,x=p.shouldReduceMotion;h===void 0&&(h={});var w=!1,E=g.latestValues,b=g.renderState,S,C=bL(),T=new Map,P=new Map,F={},z=U({},E),W;function H(){!S||!w||(ee(),s(S,b,m.style,k.projection))}function ee(){r(k,b,E,h,m)}function ce(){C.notifyUpdate(E)}function se($,N){var A=N.onChange(function(j){E[$]=j,m.onUpdate&&Fn.update(ce,!1,!0)}),K=N.onRenderRequest(k.scheduleRender);P.set($,function(){A(),K()})}var B=d(m);for(var Z in B){var R=B[Z];E[Z]!==void 0&&rr(R)&&R.set(E[Z],!1)}var G=zd(m),M=RS(m),k=U(U({treeType:n,current:null,depth:v?v.depth+1:0,parent:v,children:new Set,presenceId:_,shouldReduceMotion:x,variantChildren:M?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(v==null?void 0:v.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(S)},mount:function($){w=!0,S=k.current=$,k.projection&&k.projection.mount($),M&&v&&!G&&(W=v==null?void 0:v.addVariantChild(k)),T.forEach(function(N,A){return se(A,N)}),v==null||v.children.add(k),k.setProps(m)},unmount:function(){var $;($=k.projection)===null||$===void 0||$.unmount(),qi.update(ce),qi.render(H),P.forEach(function(N){return N()}),W==null||W(),v==null||v.children.delete(k),C.clearAllListeners(),S=void 0,w=!1},addVariantChild:function($){var N,A=k.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(k.getInstance(),$.getInstance())},getClosestVariantNode:function(){return M?k:v==null?void 0:v.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return S},getStaticValue:function($){return E[$]},setStaticValue:function($,N){return E[$]=N},getLatestValues:function(){return E},setVisibility:function($){k.isVisible!==$&&(k.isVisible=$,k.scheduleRender())},makeTargetAnimatable:function($,N){return N===void 0&&(N=!0),i(k,$,m,N)},measureViewportBox:function(){return a(S,m)},addValue:function($,N){k.hasValue($)&&k.removeValue($),T.set($,N),E[$]=N.get(),se($,N)},removeValue:function($){var N;T.delete($),(N=P.get($))===null||N===void 0||N(),P.delete($),delete E[$],u($,b)},hasValue:function($){return T.has($)},getValue:function($,N){var A=T.get($);return A===void 0&&N!==void 0&&(A=Ki(N),k.addValue($,A)),A},forEachValue:function($){return T.forEach($)},readValue:function($){var N;return(N=E[$])!==null&&N!==void 0?N:l(S,$,h)},setBaseTarget:function($,N){z[$]=N},getBaseTarget:function($){if(o){var N=o(m,$);if(N!==void 0&&!rr(N))return N}return z[$]}},C),{build:function(){return ee(),b},scheduleRender:function(){Fn.render(H,!1,!0)},syncRender:H,setProps:function($){($.transformTemplate||m.transformTemplate)&&k.scheduleRender(),m=$,C.updatePropListeners($),F=SL(k,d(m),F)},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(!G){var N=(v==null?void 0:v.getVariantContext())||{};return m.initial!==void 0&&(N.initial=m.initial),N}for(var A={},K=0;K<CL;K++){var j=BC[K],de=m[j];(mn(de)||de===!1)&&(A[j]=de)}return A}});return k}},BC=Ln(["initial"],rt(l0),!1),CL=BC.length;function wm(e){return typeof e=="string"&&e.startsWith("var(--")}var UC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function AL(e){var t=UC.exec(e);if(!t)return[,];var n=rt(t,3),r=n[1],o=n[2];return[r,o]}function Em(e,t,n){var r=rt(AL(e),2),o=r[0],i=r[1];if(!!o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():wm(i)?Em(i,t):i}}function $L(e,t,n){var r,o=sn(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};n&&(n=U({},n)),e.forEachValue(function(u){var c=u.get();if(!!wm(c)){var d=Em(c,i);d&&u.set(d)}});for(var a in o){var s=o[a];if(!!wm(s)){var l=Em(s,i);!l||(o[a]=l,n&&((r=n[a])!==null&&r!==void 0||(n[a]=s)))}}return{target:o,transitionEnd:n}}var TL=new Set(["width","height","top","left","right","bottom","x","y"]),HC=function(e){return TL.has(e)},PL=function(e){return Object.keys(e).some(HC)},GC=function(e,t){e.set(t,!1),e.set(t)},Vx=function(e){return e===Uo||e===oe},Bx;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Bx||(Bx={}));var Ux=function(e,t){return parseFloat(e.split(", ")[t])},Hx=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 Ux(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?Ux(a[1],e):0}},kL=new Set(["x","y","z"]),RL=Is.filter(function(e){return!kL.has(e)});function OL(e){var t=[];return RL.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 Gx={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:Hx(4,13),y:Hx(5,14)},ML=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]=Gx[u](r,i)}),t.syncRender();var l=t.measureViewportBox();return n.forEach(function(u){var c=t.getValue(u);GC(c,s[u]),e[u]=Gx[u](l,i)}),e},NL=function(e,t,n,r){n===void 0&&(n={}),r===void 0&&(r={}),t=U({},t),r=U({},r);var o=Object.keys(t).filter(HC),i=[],a=!1,s=[];if(o.forEach(function(c){var d=e.getValue(c);if(!!e.hasValue(c)){var p=n[c],h=Pa(p),v=t[c],m;if(zs(v)){var _=v.length,y=v[0]===null?1:0;p=v[y],h=Pa(p);for(var g=y;g<_;g++)m?pc(Pa(v[g])===m):m=Pa(v[g])}else m=Pa(v);if(h!==m)if(Vx(h)&&Vx(m)){var x=d.get();typeof x=="string"&&d.set(parseFloat(x)),typeof v=="string"?t[c]=parseFloat(v):Array.isArray(v)&&m===oe&&(t[c]=v.map(parseFloat))}else(h==null?void 0:h.transform)&&(m==null?void 0:m.transform)&&(p===0||v===0)?p===0?d.set(m.transform(p)):t[c]=h.transform(v):(a||(i=OL(e),a=!0),s.push(c),r[c]=r[c]!==void 0?r[c]:t[c],GC(d,v))}}),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,u=ML(t,e,s);return i.length&&i.forEach(function(c){var d=rt(c,2),p=d[0],h=d[1];e.getValue(p).set(h)}),e.syncRender(),l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function LL(e,t,n,r){return PL(t)?NL(e,t,n,r):{target:t,transitionEnd:r}}var DL=function(e,t,n,r){var o=$L(e,t,r);return t=o.target,r=o.transitionEnd,LL(e,t,n,r)};function FL(e){return window.getComputedStyle(e)}var YC={treeType:"dom",readValueFromInstance:function(e,t){if(rl(t)){var n=n0(t);return n&&n.default||0}else{var r=FL(e);return(DS(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 zC(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=sn(t,["transition","transitionEnd"]),l=HN(s,i||{},e);if(o&&(a&&(a=o(a)),s&&(s=o(s)),l&&(l=o(l))),r){BN(e,s,l);var u=DL(e,s,l,a);a=u.transitionEnd,s=u.target}return U({transition:i,transitionEnd:a},s)},scrapeMotionValuesFromProps:Wg,build:function(e,t,n,r,o){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),Hg(t,n,r,o.transformTemplate)},render:KS},IL=VC(YC),jL=VC(U(U({},YC),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return rl(t)?((n=n0(t))===null||n===void 0?void 0:n.default)||0:(t=XS.has(t)?t:qS(t),e.getAttribute(t))},scrapeMotionValuesFromProps:QS,build:function(e,t,n,r,o){Yg(t,n,r,o.transformTemplate)},render:ZS})),zL=function(e,t){return Bg(e)?jL(t,{enableHardwareAcceleration:!1}):IL(t,{enableHardwareAcceleration:!0})};function Yx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ka={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;var n=Yx(e,t.target.x),r=Yx(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Wx="_$css",VL={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(UC,function(m){return a.push(m),Wx}));var s=or.parse(e);if(s.length>5)return o;var l=or.createTransformer(e),u=typeof s[0]!="number"?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+u]/=c,s[1+u]/=d;var p=He(c,d,.5);typeof s[2+u]=="number"&&(s[2+u]/=p),typeof s[3+u]=="number"&&(s[3+u]/=p);var h=l(s);if(i){var v=0;h=h.replace(Wx,function(){var m=a[v];return v++,m})}return h}},BL=function(e){SS(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;d8(HL),l&&(i!=null&&i.group&&i.group.add(l),(a==null?void 0:a.register)&&s&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){n.safeToRemove()}),l.setOptions(U(U({},l.options),{onExitComplete:function(){return n.safeToRemove()}}))),Ja.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()||Fn.postRender(function(){var c;!((c=u.getStack())===null||c===void 0)&&c.members.length||r.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var n=this.props.visualElement.projection;n&&(n.root.didUpdate(),!n.currentAnimation&&n.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=r.projection;a&&(a.scheduleCheckAfterUnmount(),o!=null&&o.group&&o.group.remove(a),i!=null&&i.deregister&&i.deregister(a))},t.prototype.safeToRemove=function(){var n=this.props.safeToRemove;n==null||n()},t.prototype.render=function(){return null},t}(J.Component);function UL(e){var t=rt(kC(),2),n=t[0],r=t[1],o=f.exports.useContext(OS);return L(BL,{...U({},e,{layoutGroup:o,switchLayoutGroup:f.exports.useContext(MS),isPresent:n,safeToRemove:r})})}var HL={borderRadius:U(U({},ka),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ka,borderTopRightRadius:ka,borderBottomLeftRadius:ka,borderBottomRightRadius:ka,boxShadow:VL},GL={measureLayout:UL};function YL(e,t,n){n===void 0&&(n={});var r=rr(e)?e:Ki(e);return i0("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}var WC=["TopLeft","TopRight","BottomLeft","BottomRight"],WL=WC.length,qx=function(e){return typeof e=="string"?parseFloat(e):e},Kx=function(e){return typeof e=="number"||oe.test(e)};function qL(e,t,n,r,o,i){var a,s,l,u;o?(e.opacity=He(0,(a=n.opacity)!==null&&a!==void 0?a:1,KL(r)),e.opacityExit=He((s=t.opacity)!==null&&s!==void 0?s:1,0,XL(r))):i&&(e.opacity=He((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(var c=0;c<WL;c++){var d="border".concat(WC[c],"Radius"),p=Xx(t,d),h=Xx(n,d);if(!(p===void 0&&h===void 0)){p||(p=0),h||(h=0);var v=p===0||h===0||Kx(p)===Kx(h);v?(e[d]=Math.max(He(qx(p),qx(h),r),0),(Dn.test(h)||Dn.test(p))&&(e[d]+="%")):e[d]=h}}(t.rotate||n.rotate)&&(e.rotate=He(t.rotate||0,n.rotate||0,r))}function Xx(e,t){var n;return(n=e[t])!==null&&n!==void 0?n:e.borderRadius}var KL=qC(0,.5,e0),XL=qC(.5,.95,Qg);function qC(e,t,n){return function(r){return r<e?0:r>t?1:n(Vs(e,t,r))}}function Zx(e,t){e.min=t.min,e.max=t.max}function cn(e,t){Zx(e.x,t.x),Zx(e.y,t.y)}function Qx(e,t,n,r,o){return e-=t,e=Ec(e,1/n,r),o!==void 0&&(e=Ec(e,1/o,r)),e}function ZL(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),Dn.test(t)){t=parseFloat(t);var s=He(a.min,a.max,t/100);t=s-a.min}if(typeof t=="number"){var l=He(i.min,i.max,r);e===i&&(l-=t),e.min=Qx(e.min,t,n,l,o),e.max=Qx(e.max,t,n,l,o)}}function Jx(e,t,n,r,o){var i=rt(n,3),a=i[0],s=i[1],l=i[2];ZL(e,t[a],t[s],t[l],t.scale,r,o)}var QL=["x","scaleX","originX"],JL=["y","scaleY","originY"];function e_(e,t,n,r){Jx(e.x,t,QL,n==null?void 0:n.x,r==null?void 0:r.x),Jx(e.y,t,JL,n==null?void 0:n.y,r==null?void 0:r.y)}function t_(e){return e.translate===0&&e.scale===1}function KC(e){return t_(e.x)&&t_(e.y)}function XC(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 eD=function(){function e(){this.members=[]}return e.prototype.add=function(t){a0(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(s0(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}(),tD="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function n_(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===tD?"none":i}var nD=function(e,t){return e.depth-t.depth},rD=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){a0(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){s0(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(nD),this.isDirty=!1,this.children.forEach(t)},e}(),r_=1e3;function ZC(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(uD),c.nodes.forEach(cD)},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?Ln(Ln([],rt(u.path),!1),[u],!1):[],this.parent=u,this.depth=u?u.depth+1:0,s&&this.root.registerPotentialNode(s,this);for(var d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new rD)}return a.prototype.addEventListener=function(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new ns),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,Ln([],rt(l),!1))},a.prototype.hasListeners=function(s){return this.eventHandlers.has(s)},a.prototype.registerPotentialNode=function(s,l){this.potentialNodes.set(s,l)},a.prototype.mount=function(s,l){var u=this,c;if(l===void 0&&(l=!1),!this.instance){this.isSVG=s instanceof SVGElement&&s.tagName!=="svg",this.instance=s;var d=this.options,p=d.layoutId,h=d.layout,v=d.visualElement;if(v&&!v.getInstance()&&v.mount(s),this.root.nodes.add(this),(c=this.parent)===null||c===void 0||c.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(h||p)&&(this.isLayoutDirty=!0),t){var m,_=function(){return u.root.updateBlockedByResize=!1};t(s,function(){u.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(_,250),Ja.hasAnimatedSinceResize&&(Ja.hasAnimatedSinceResize=!1,u.nodes.forEach(lD))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&v&&(p||h)&&this.addEventListener("didUpdate",function(y){var g,x,w,E,b,S=y.delta,C=y.hasLayoutChanged,T=y.hasRelativeTargetChanged,P=y.layout;if(u.isTreeAnimationBlocked()){u.target=void 0,u.relativeTarget=void 0;return}var F=(x=(g=u.options.transition)!==null&&g!==void 0?g:v.getDefaultTransition())!==null&&x!==void 0?x:mD,z=v.getProps(),W=z.onLayoutAnimationStart,H=z.onLayoutAnimationComplete,ee=!u.targetLayout||!XC(u.targetLayout,P)||T,ce=!C&&T;if(((w=u.resumeFrom)===null||w===void 0?void 0:w.instance)||ce||C&&(ee||!u.currentAnimation)){u.resumeFrom&&(u.resumingFrom=u.resumeFrom,u.resumingFrom.resumingFrom=void 0),u.setAnimationOrigin(S,ce);var se=U(U({},o0(F,"layout")),{onPlay:W,onComplete:H});v.shouldReduceMotion&&(se.delay=0,se.type=!1),u.startAnimation(se)}else!C&&u.animationProgress===0&&u.finishAnimation(),u.isLead()&&((b=(E=u.options).onExitComplete)===null||b===void 0||b.call(E));u.targetLayout=P})}},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,qi.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(dD))},a.prototype.willUpdate=function(s){var l,u,c;if(s===void 0&&(s=!0),this.root.isUpdateBlocked()){(u=(l=this.options).onExitComplete)===null||u===void 0||u.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var d=0;d<this.path.length;d++){var p=this.path[d];p.shouldResetTransform=!0,p.updateScroll()}var h=this.options,v=h.layoutId,m=h.layout;if(!(v===void 0&&!m)){var _=(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(o_);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(vD),this.potentialNodes.clear()),this.nodes.forEach(sD),this.nodes.forEach(oD),this.nodes.forEach(iD),this.clearAllSnapshots(),lp.update(),lp.preRender(),lp.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(aD),this.sharedNodes.forEach(fD)},a.prototype.scheduleUpdateProjection=function(){Fn.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var s=this;Fn.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));l_(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();l_(c);var d=this.layout;this.layout={measured:c,actual:this.removeElementScroll(c)},this.layoutCorrected=vt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(s=this.options.visualElement)===null||s===void 0||s.notifyLayoutMeasure(this.layout.actual,d==null?void 0:d.actual)}},a.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},a.prototype.resetTransform=function(){var s;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!KC(this.projectionDelta),c=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate,d=c==null?void 0:c(this.latestValues,""),p=d!==this.prevTransformTemplateValue;l&&(u||xr(this.latestValues)||p)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var s=this.options.visualElement;if(!s)return vt();var l=s.measureViewportBox(),u=this.root.scroll;return u&&(Ar(l.x,u.x),Ar(l.y,u.y)),l},a.prototype.removeElementScroll=function(s){var l=vt();cn(l,s);for(var u=0;u<this.path.length;u++){var c=this.path[u],d=c.scroll,p=c.options,h=c.isScrollRoot;if(c!==this.root&&d&&p.layoutScroll){if(h){cn(l,s);var v=this.root.scroll;v&&(Ar(l.x,-v.x),Ar(l.y,-v.y))}Ar(l.x,d.x),Ar(l.y,d.y)}}return l},a.prototype.applyTransform=function(s,l){l===void 0&&(l=!1);var u=vt();cn(u,s);for(var c=0;c<this.path.length;c++){var d=this.path[c];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&_i(u,{x:-d.scroll.x,y:-d.scroll.y}),xr(d.latestValues)&&_i(u,d.latestValues)}return xr(this.latestValues)&&_i(u,this.latestValues),u},a.prototype.removeTransform=function(s){var l,u=vt();cn(u,s);for(var c=0;c<this.path.length;c++){var d=this.path[c];if(!!d.instance&&!!xr(d.latestValues)){IC(d.latestValues)&&d.updateSnapshot();var p=vt(),h=d.measure();cn(p,h),e_(u,d.latestValues,(l=d.snapshot)===null||l===void 0?void 0:l.layout,p)}}return xr(this.latestValues)&&e_(u,this.latestValues),u},a.prototype.setTargetDelta=function(s){this.targetDelta=s,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(s){var l;this.options=U(U(U({},this.options),s),{crossfade:(l=s.crossfade)!==null&&l!==void 0?l:!0})},a.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},a.prototype.resolveTargetDelta=function(){var s,l=this.options,u=l.layout,c=l.layoutId;!this.layout||!(u||c)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=vt(),this.relativeTargetOrigin=vt(),os(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),cn(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=vt(),this.targetWithTransforms=vt()),this.relativeTarget&&this.relativeTargetOrigin&&((s=this.relativeParent)===null||s===void 0?void 0:s.target)?oL(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):cn(this.target,this.layout.actual),jC(this.target,this.targetDelta)):cn(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=vt(),this.relativeTargetOrigin=vt(),os(this.relativeTargetOrigin,this.target,this.relativeParent.target),cn(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||xr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},a.prototype.calcProjection=function(){var s,l=this.options,u=l.layout,c=l.layoutId;if(this.isTreeAnimating=Boolean(((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(u||c))){var d=this.getLead();cn(this.layoutCorrected,this.layout.actual),pL(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==d);var p=d.target;if(!!p){this.projectionDelta||(this.projectionDelta=is(),this.projectionDeltaWithTransform=is());var h=this.treeScale.x,v=this.treeScale.y,m=this.projectionTransform;rs(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=n_(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==h||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},a.prototype.hide=function(){this.isVisible=!1},a.prototype.show=function(){this.isVisible=!0},a.prototype.scheduleRender=function(s){var l,u,c;s===void 0&&(s=!0),(u=(l=this.options).scheduleRender)===null||u===void 0||u.call(l),s&&((c=this.getStack())===null||c===void 0||c.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},a.prototype.setAnimationOrigin=function(s,l){var u=this,c;l===void 0&&(l=!1);var d=this.snapshot,p=(d==null?void 0:d.latestValues)||{},h=U({},this.latestValues),v=is();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=vt(),_=d==null?void 0:d.isShared,y=(((c=this.getStack())===null||c===void 0?void 0:c.members.length)||0)<=1,g=Boolean(_&&!y&&this.options.crossfade===!0&&!this.path.some(hD));this.animationProgress=0,this.mixTargetDelta=function(x){var w,E=x/1e3;i_(v.x,s.x,E),i_(v.y,s.y,E),u.setTargetDelta(v),u.relativeTarget&&u.relativeTargetOrigin&&u.layout&&((w=u.relativeParent)===null||w===void 0?void 0:w.layout)&&(os(m,u.layout.actual,u.relativeParent.layout.actual),pD(u.relativeTarget,u.relativeTargetOrigin,m,E)),_&&(u.animationValues=h,qL(h,p,u.latestValues,E,g,y)),u.root.scheduleUpdateProjection(),u.scheduleRender(),u.animationProgress=E},this.mixTargetDelta(0)},a.prototype.startAnimation=function(s){var l=this,u,c;this.notifyListeners("animationStart"),(u=this.currentAnimation)===null||u===void 0||u.stop(),this.resumingFrom&&((c=this.resumingFrom.currentAnimation)===null||c===void 0||c.stop()),this.pendingAnimation&&(qi.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Fn.update(function(){Ja.hasAnimatedSinceResize=!0,l.currentAnimation=YL(0,r_,U(U({},s),{onUpdate:function(d){var p;l.mixTargetDelta(d),(p=s.onUpdate)===null||p===void 0||p.call(s,d)},onComplete:function(){var d;(d=s.onComplete)===null||d===void 0||d.call(s),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},a.prototype.completeAnimation=function(){var s;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(s=this.getStack())===null||s===void 0||s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},a.prototype.finishAnimation=function(){var s;this.currentAnimation&&((s=this.mixTargetDelta)===null||s===void 0||s.call(this,r_),this.currentAnimation.stop()),this.completeAnimation()},a.prototype.applyTransformsToTarget=function(){var s=this.getLead(),l=s.targetWithTransforms,u=s.target,c=s.layout,d=s.latestValues;!l||!u||!c||(cn(l,u),_i(l,d),rs(this.projectionDeltaWithTransform,this.layoutCorrected,l,d))},a.prototype.registerSharedNode=function(s,l){var u,c,d;this.sharedNodes.has(s)||this.sharedNodes.set(s,new eD);var p=this.sharedNodes.get(s);p.add(l),l.promote({transition:(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(d=(c=l.options.initialPromotionConfig)===null||c===void 0?void 0:c.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(c,l)})},a.prototype.isLead=function(){var s=this.getStack();return s?s.lead===this:!0},a.prototype.getLead=function(){var s,l=this.options.layoutId;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this},a.prototype.getPrevLead=function(){var s,l=this.options.layoutId;return l?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0},a.prototype.getStack=function(){var s=this.options.layoutId;if(s)return this.root.sharedNodes.get(s)},a.prototype.promote=function(s){var l=s===void 0?{}:s,u=l.needsReset,c=l.transition,d=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,d),u&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})},a.prototype.relegate=function(){var s=this.getStack();return s?s.relegate(this):!1},a.prototype.resetRotation=function(){var s=this.options.visualElement;if(!!s){for(var l=!1,u={},c=0;c<sm.length;c++){var d=sm[c],p="rotate"+d;!s.getStaticValue(p)||(l=!0,u[p]=s.getStaticValue(p),s.setStaticValue(p,0))}if(!!l){s==null||s.syncRender();for(var p in u)s.setStaticValue(p,u[p]);s.scheduleRender()}}},a.prototype.getProjectionStyles=function(s){var l,u,c,d,p,h;s===void 0&&(s={});var v={};if(!this.instance||this.isSVG)return v;if(this.isVisible)v.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,v.opacity="",v.pointerEvents=bu(s.pointerEvents)||"",v.transform=m?m(this.latestValues,""):"none",v;var _=this.getLead();if(!this.projectionDelta||!this.layout||!_.target){var y={};return this.options.layoutId&&(y.opacity=(u=this.latestValues.opacity)!==null&&u!==void 0?u:1,y.pointerEvents=bu(s.pointerEvents)||""),this.hasProjected&&!xr(this.latestValues)&&(y.transform=m?m({},""):"none",this.hasProjected=!1),y}var g=_.animationValues||_.latestValues;this.applyTransformsToTarget(),v.transform=n_(this.projectionDeltaWithTransform,this.treeScale,g),m&&(v.transform=m(g,v.transform));var x=this.projectionDelta,w=x.x,E=x.y;v.transformOrigin="".concat(w.origin*100,"% ").concat(E.origin*100,"% 0"),_.animationValues?v.opacity=_===this?(d=(c=g.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:v.opacity=_===this?(p=g.opacity)!==null&&p!==void 0?p:"":(h=g.opacityExit)!==null&&h!==void 0?h:0;for(var b in hc)if(g[b]!==void 0){var S=hc[b],C=S.correct,T=S.applyTo,P=C(g[b],_);if(T)for(var F=T.length,z=0;z<F;z++)v[T[z]]=P;else v[b]=P}return this.options.layoutId&&(v.pointerEvents=_===this?bu(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(o_),this.root.sharedNodes.clear()},a}()}function oD(e){e.updateLayout()}function iD(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(g){var x=i.isShared?i.measured[g]:i.layout[g],w=ir(x);x.min=s[g].min,x.max=x.min+w}):e.options.animationType==="position"&&$n(function(g){var x=i.isShared?i.measured[g]:i.layout[g],w=ir(s[g]);x.max=x.min+w});var u=is();rs(u,s,i.layout);var c=is();i.isShared?rs(c,e.applyTransform(l,!0),i.measured):rs(c,s,i.layout);var d=!KC(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 _=vt();os(_,i.layout,v.layout);var y=vt();os(y,s,m.actual),XC(_,y)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:p})}else e.isLead()&&((o=(r=e.options).onExitComplete)===null||o===void 0||o.call(r));e.options.transition=void 0}function aD(e){e.clearSnapshot()}function o_(e){e.clearMeasurements()}function sD(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function lD(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function uD(e){e.resolveTargetDelta()}function cD(e){e.calcProjection()}function dD(e){e.resetRotation()}function fD(e){e.removeLeadSnapshot()}function i_(e,t,n){e.translate=He(t.translate,0,n),e.scale=He(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function a_(e,t,n,r){e.min=He(t.min,n.min,r),e.max=He(t.max,n.max,r)}function pD(e,t,n,r){a_(e.x,t.x,n.x,r),a_(e.y,t.y,n.y,r)}function hD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var mD={duration:.45,ease:[.4,0,.1,1]};function vD(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 s_(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function l_(e){s_(e.x),s_(e.y)}var gD=ZC({attachResizeListener:function(e,t){return Bd(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),hp={current:void 0},yD=ZC({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!hp.current){var e=new gD(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),hp.current=e}return hp.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"},checkIsScrollRoot:function(e){return Boolean(window.getComputedStyle(e).position==="fixed")}}),xD=U(U(U(U({},tL),gN),EL),GL),u0=u8(function(e,t){return K8(e,t,xD,zL,yD)});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"},$e={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},c0={colorBlue70:"#0056D3"},_D=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:Us,neutralColors:$e,blueColors:c0},Symbol.toStringTag,{value:"Module"})),wn=4,wD={"--ll-color-primary":Us.colorPrimary50,"--ll-color-primary-variant1":Us.colorPrimary40,"--ll-color-background":$e.colorNeutral100,"--ll-color-surface":$e.colorNeutral95,"--ll-color-surface-variant1":$e.colorNeutral90,"--ll-color-surface-variant2":$e.colorNeutral80,"--ll-color-on-primary":$e.colorNeutral100,"--ll-color-on-primary-variant1":$e.colorNeutral90,"--ll-color-on-background":$e.colorNeutral10,"--ll-color-on-background-variant1":$e.colorNeutral30,"--ll-color-on-surface":$e.colorNeutral10,"--ll-color-on-surface-variant1":$e.colorNeutral30,"--ll-color-placeholder":$e.colorNeutral60,"--ll-color-disabled":$e.colorNeutral60,"--ll-color-border":$e.colorNeutral90,"--ll-color-link":c0.colorBlue70},ED={"--ll-border-radius-small":`${wn}px`,"--ll-border-radius-medium":`${2*wn}px`},bD={"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},SD={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${wn}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)"},CD={"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"},AD={"--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)"},$D={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},d0={...wD,...ED,...bD,...SD,...CD,...AD,...$D},TD={...d0,"--ll-color-primary":Us.colorPrimary60,"--ll-color-primary-variant1":Us.colorPrimary50,"--ll-color-background":$e.colorNeutral10,"--ll-color-surface":$e.colorNeutral20,"--ll-color-surface-variant1":$e.colorNeutral30,"--ll-color-surface-variant2":$e.colorNeutral40,"--ll-color-on-primary":$e.colorNeutral100,"--ll-color-on-primary-variant1":$e.colorNeutral90,"--ll-color-on-background":$e.colorNeutral99,"--ll-color-on-background-variant1":$e.colorNeutral80,"--ll-color-on-surface":$e.colorNeutral80,"--ll-color-on-surface-variant1":$e.colorNeutral90,"--ll-color-placeholder":$e.colorNeutral70,"--ll-color-disabled":$e.colorNeutral70,"--ll-color-border":$e.colorNeutral30,"--ll-color-link":c0.colorBlue70},PD=Object.keys(d0),D=PD.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),kD={day:d0,night:TD},RD=bS`
72
+ :root {
73
+ ${({themeName:e,overrides:t})=>({...kD[e||"day"],...t})};
74
+ }
75
+ `,OD=e=>e,MD=OD({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),ND=Object.freeze(Object.defineProperty({__proto__:null,transitions:MD},Symbol.toStringTag,{value:"Module"})),LD={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},DD=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:LD},Symbol.toStringTag,{value:"Module"})),XX={colors:_D,...ND,...DD},FD=({size:e})=>e==="small"?ge`
76
+ padding: calc(${D["--ll-spacing-xx-small"]} / 2) ${D["--ll-spacing-xx-small"]};
77
+ `:e==="large"?ge`
78
+ padding: calc(${D["--ll-spacing-small"]} / 2) ${D["--ll-spacing-medium"]};
79
+ font-size: ${D["--ll-font-size-p"]};
80
+ line-height: ${D["--ll-font-size-h6"]};
81
+ `:ge`
82
+ padding: ${D["--ll-spacing-xx-small"]} ${D["--ll-spacing-x-small"]};
83
+ `;I.span`
84
+ display: inline-flex;
85
+ color: ${({textColor:e})=>e};
86
+ background-color: ${({backgroundColor:e})=>e};
87
+ border-radius: ${D["--ll-border-radius-small"]};
88
+ line-height: 1;
89
+ font-family: ${D["--ll-font-family"]};
90
+ font-size: ${D["--ll-font-size-caption-1"]};
91
+ justify-content: center;
92
+
93
+ ${FD};
94
+ `;var Yd={exports:{}},Ra={};/**
95
+ * @license React
96
+ * react-jsx-runtime.production.min.js
97
+ *
98
+ * Copyright (c) Facebook, Inc. and its affiliates.
99
+ *
100
+ * This source code is licensed under the MIT license found in the
101
+ * LICENSE file in the root directory of this source tree.
102
+ */var u_;function ID(){if(u_)return Ra;u_=1;var e=J,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,d={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:d,_owner:o.current}}return Ra.Fragment=n,Ra.jsx=a,Ra.jsxs=a,Ra}(function(e){e.exports=ID()})(Yd);const Wd=Yd.exports.Fragment,ae=Yd.exports.jsx,en=Yd.exports.jsxs,jD=I.div`
103
+ height: ${({height:e})=>e}px;
104
+ width: ${({width:e})=>e}px;
105
+ fill: ${({fill:e})=>e};
106
+ display: flex;
107
+
108
+ & > svg {
109
+ fill: inherit;
110
+ height: 100%;
111
+ width: 100%;
112
+ }
113
+ `,f0=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>ae(jD,{fill:t,height:n,width:r,children:ae(e,{})}),c_=({variant:e})=>e==="h1"?D["--ll-font-size-h1"]:e==="h2"?D["--ll-font-size-h2"]:e==="h3"?D["--ll-font-size-h3"]:e==="h4"?D["--ll-font-size-h4"]:e==="h5"?D["--ll-font-size-h5"]:e==="h6"?D["--ll-font-size-h6"]:e==="p"?D["--ll-font-size-p"]:e==="caption1"?D["--ll-font-size-caption-1"]:e==="caption2"?D["--ll-font-size-caption-2"]:D["--ll-font-size-h2"],d_=({color:e})=>e in D?D[e]:e,QC=I.span`
114
+ overflow: hidden;
115
+ display: inline-block;
116
+ width: 100%;
117
+ line-height: ${({lineHeight:e})=>e||1.45};
118
+ margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
119
+ font-size: inherit;
120
+ font-weight: inherit;
121
+ `,zD=I.div`
122
+ ${e=>ge`
123
+ text-align: ${e.align};
124
+ font-size: ${c_(e)};
125
+ font-family: ${e.family==="sans-serif"?D["--ll-font-family"]:D["--ll-font-family-mono"]};
126
+ color: ${d_(e)};
127
+ font-weight: ${D[e.weight]};
128
+ overflow: hidden;
129
+ display: flex;
130
+
131
+ svg {
132
+ height: ${c_(e)};
133
+ fill: ${d_(e)};
134
+ }
135
+
136
+ ${QC} {
137
+ ${e.noWrap&&ge`
138
+ text-overflow: ellipsis;
139
+ white-space: nowrap;
140
+ `}
141
+ }
142
+ `}
143
+ `,bm=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,lineHeight:a,weight:s="--ll-font-weight-normal",family:l="sans-serif",className:u})=>{const c=["caption1","caption2","p"].includes(t)?"p":t;return ae(zD,{variant:t,align:n,color:r,noWrap:o,weight:s,family:l,children:ae(QC,{as:c,noMargin:i,className:u,lineHeight:a,children:e})})};I.a`
144
+ font-family: ${D["--ll-font-family"]};
145
+ font-size: ${D["--ll-font-size-p"]};
146
+ color: ${D["--ll-color-link"]};
147
+ cursor: pointer;
148
+
149
+ ${({lineClamp:e})=>e&&ge`
150
+ overflow: hidden;
151
+ text-overflow: ellipsis;
152
+ display: -webkit-box;
153
+ -webkit-box-orient: vertical;
154
+ -webkit-line-clamp: ${e};
155
+ `}
156
+ `;function ne(){return ne=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},ne.apply(this,arguments)}function VD(e,t){const n=f.exports.createContext(t);function r(i){const{children:a,...s}=i,l=f.exports.useMemo(()=>s,Object.values(s));return f.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=f.exports.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function la(e,t=[]){let n=[];function r(i,a){const s=f.exports.createContext(a),l=n.length;n=[...n,a];function u(d){const{scope:p,children:h,...v}=d,m=(p==null?void 0:p[e][l])||s,_=f.exports.useMemo(()=>v,Object.values(v));return f.exports.createElement(m.Provider,{value:_},h)}function c(d,p){const h=(p==null?void 0:p[e][l])||s,v=f.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>f.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return f.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,BD(o,...t)]}function BD(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return f.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function UD(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function JC(...e){return t=>e.forEach(n=>UD(n,t))}function Re(...e){return f.exports.useCallback(JC(...e),e)}const Xi=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.exports.Children.toArray(n),i=o.find(GD);if(i){const a=i.props.children,s=o.map(l=>l===i?f.exports.Children.count(a)>1?f.exports.Children.only(null):f.exports.isValidElement(a)?a.props.children:null:l);return f.exports.createElement(Sm,ne({},r,{ref:t}),f.exports.isValidElement(a)?f.exports.cloneElement(a,void 0,s):null)}return f.exports.createElement(Sm,ne({},r,{ref:t}),n)});Xi.displayName="Slot";const Sm=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return f.exports.isValidElement(n)?f.exports.cloneElement(n,{...YD(r,n.props),ref:JC(t,n.ref)}):f.exports.Children.count(n)>1?f.exports.Children.only(null):null});Sm.displayName="SlotClone";const HD=({children:e})=>f.exports.createElement(f.exports.Fragment,null,e);function GD(e){return f.exports.isValidElement(e)&&e.type===HD}function YD(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 WD=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],be=WD.reduce((e,t)=>{const n=f.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?Xi:t;return f.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.exports.createElement(s,ne({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function qD(e,t){e&&Wt.exports.flushSync(()=>e.dispatchEvent(t))}const Ft=Boolean(globalThis==null?void 0:globalThis.document)?f.exports.useLayoutEffect:()=>{},KD=vv["useId".toString()]||(()=>{});let XD=0;function sl(e){const[t,n]=f.exports.useState(KD());return Ft(()=>{e||n(r=>r!=null?r:String(XD++))},[e]),e||(t?`radix-${t}`:"")}const ZD="Label",[QD,JD]=VD(ZD,{id:void 0,controlRef:{current:null}}),e7=f.exports.forwardRef((e,t)=>{const{htmlFor:n,id:r,...o}=e,i=f.exports.useRef(null),a=f.exports.useRef(null),s=Re(t,a),l=sl(r);return f.exports.useEffect(()=>{if(n){const u=document.getElementById(n);if(a.current&&u){const c=()=>u.getAttribute("aria-labelledby"),d=[l,c()].filter(Boolean).join(" ");return u.setAttribute("aria-labelledby",d),i.current=u,()=>{var p;const h=(p=c())===null||p===void 0?void 0:p.replace(l,"");h===""?u.removeAttribute("aria-labelledby"):h&&u.setAttribute("aria-labelledby",h)}}}},[l,n]),f.exports.createElement(QD,{id:l,controlRef:i},f.exports.createElement(be.span,ne({role:"label",id:l},o,{ref:s,onMouseDown:u=>{var c;(c=e.onMouseDown)===null||c===void 0||c.call(e,u),!u.defaultPrevented&&u.detail>1&&u.preventDefault()},onClick:u=>{var c;if((c=e.onClick)===null||c===void 0||c.call(e,u),!i.current||u.defaultPrevented)return;const d=i.current.contains(u.target),p=u.isTrusted===!0;!d&&p&&(i.current.click(),i.current.focus())}})))}),eA=e=>{const t=JD("LabelConsumer"),{controlRef:n}=t;return f.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id},t7=e7,n7=I(t7)`
157
+ font-size: ${D["--ll-font-size-p"]};
158
+ font-family: ${D["--ll-font-family"]};
159
+ color: ${D["--ll-color-placeholder"]};
160
+ `,tA=e=>ae(n7,{...e});let f_=0;const r7=()=>(f_+=1,`id-${f_}`),o7=Dd`
161
+ 0% {
162
+ transform: rotate(0deg);
163
+ }
164
+ 100% {
165
+ transform: rotate(360deg);
166
+ }
167
+ `,mp={small:wn*4,medium:wn*6,large:wn*8},i7=I.div`
168
+ height: ${({size:e})=>mp[e]}px;
169
+ width: ${({size:e})=>mp[e]}px;
170
+ border: ${({size:e})=>mp[e]/6}px solid ${D["--ll-color-on-surface-variant1"]};
171
+ border-bottom-color: transparent;
172
+ border-radius: 50%;
173
+ display: inline-block;
174
+ box-sizing: border-box;
175
+ animation: ${o7} 1s linear infinite;
176
+ `,nA=({size:e="medium"})=>ae(i7,{size:e}),as={primary:{background:D["--ll-color-primary"],onBackground:D["--ll-color-on-primary"],hover:D["--ll-color-primary-variant1"]}},a7=({size:e})=>e==="small"?`font-size: ${D["--ll-font-size-caption-1"]}`:`font-size: ${D["--ll-font-size-p"]}`,p0=({size:e})=>e==="small"?`${wn*8}px`:e==="large"?`${wn*12}px`:`${wn*10}px`,s7=({size:e})=>e==="small"?`padding: 0 ${D["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${D["--ll-spacing-medium"]}`:`padding: 0 ${D["--ll-spacing-small"]}`,l7=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",u7=ge`
177
+ ${({color:e="primary"})=>ge`
178
+ color: ${D["--ll-color-on-background"]};
179
+
180
+ &:disabled {
181
+ cursor: default;
182
+ }
183
+ `};
184
+
185
+ height: ${p0};
186
+ `,c7=ge`
187
+ ${({color:e="primary"})=>ge`
188
+ background-color: ${as[e].background};
189
+ color: ${as[e].onBackground};
190
+ border: 1px solid transparent;
191
+
192
+ &:hover {
193
+ background-color: ${as[e].hover};
194
+ }
195
+
196
+ &:disabled {
197
+ background-color: ${D["--ll-color-disabled"]};
198
+ cursor: default;
199
+ }
200
+ `};
201
+ height: ${p0};
202
+ `,d7=ge`
203
+ ${({color:e="primary"})=>ge`
204
+ border-color: ${as[e].background};
205
+ border-width: 1px;
206
+ border-style: solid;
207
+ color: ${as[e].background};
208
+ `};
209
+
210
+ &:hover {
211
+ background-color: rgba(0, 0, 0, 0.03);
212
+ }
213
+
214
+ height: ${p0};
215
+ `,f7=e=>({contained:c7,outlined:d7,text:u7})[e.variant],p7=I.div`
216
+ display: flex;
217
+ align-items: center;
218
+ margin-right: ${D["--ll-spacing-x-small"]};
219
+ margin-left: calc(-1 * ${D["--ll-spacing-xx-small"]});
220
+ `,h7=I.button`
221
+ font-weight: ${D["--ll-font-weight-normal"]};
222
+ border-radius: ${D["--ll-border-radius-small"]};
223
+ align-items: center;
224
+ justify-content: center;
225
+ cursor: pointer;
226
+ display: inline-flex;
227
+ background: none;
228
+ border: none;
229
+ box-sizing: border-box;
230
+
231
+ svg {
232
+ fill: currentColor;
233
+ }
234
+
235
+ ${f7};
236
+ ${l7};
237
+ ${a7};
238
+ ${s7};
239
+ `,rA=J.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:o,size:i="medium",type:a="button",color:s,isLoading:l,className:u},c)=>ae(h7,{variant:r,size:i,onClick:d=>{t||!n||l||n(d)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?ae(nA,{}):en(Wd,{children:[o&&ae(p7,{children:o}),e]})}));rA.displayName="Button";const m7=I.div`
240
+ display: flex;
241
+ flex-direction: column;
242
+ `,v7=I.div`
243
+ position: relative;
244
+ `,g7=I(rA)`
245
+ position: absolute;
246
+ right: 0px;
247
+ top: 0px;
248
+ `,y7=I.input`
249
+ all: unset;
250
+ display: inline-flex;
251
+ align-items: center;
252
+ justify-content: center;
253
+ border-radius: ${D["--ll-border-radius-small"]};
254
+ padding: 0 ${D["--ll-spacing-x-small"]};
255
+ height: 30px;
256
+ line-height: 1;
257
+ font-size: ${D["--ll-font-size-p"]};
258
+ font-family: ${D["--ll-font-family"]};
259
+ color: ${D["--ll-color-on-background"]};
260
+ background-color: ${D["--ll-color-background"]};
261
+ border: 1px solid ${D["--ll-color-border"]};
262
+ width: calc(100% - ${D["--ll-spacing-medium"]});
263
+
264
+ &:focus {
265
+ box-shadow: ${D["--ll-shadow-small"]};
266
+ }
267
+ `,x7=e=>L("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e,children:L("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18ZM10 8.59L13.59 5L15 6.41L11.41 10L15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59Z"})}),ZX=({value:e,label:t,placeholder:n,className:r,autofocus:o=!1,onBlur:i,onFocus:a,onClear:s,onChange:l})=>{const[u]=f.exports.useState(()=>r7()),c=f.exports.useMemo(()=>t?ae(tA,{htmlFor:u,style:{lineHeight:"26px"},children:t}):null,[t]);return en(m7,{children:[c,en(v7,{children:[ae(y7,{autoFocus:o,className:r,id:u,value:e,onBlur:i,onFocus:a,onChange:l,placeholder:n}),s&&ae(g7,{size:"small",variant:"text",onClick:s,children:ae(x7,{})})]})]})},p_={small:20,medium:32,large:40};I(u0.div)`
268
+ background: linear-gradient(
269
+ to top,
270
+ ${({backgroundColorHighlight:e})=>e},
271
+ ${({backgroundColor:e})=>e}
272
+ );
273
+ border-radius: 50%;
274
+ border: 2px solid #fff;
275
+ height: ${({size:e})=>p_[e]}px;
276
+ width: ${({size:e})=>p_[e]}px;
277
+ display: flex;
278
+ justify-content: center;
279
+ align-items: center;
280
+ box-shadow: ${D["--ll-shadow-small"]};
281
+ `;function Te(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 eo(e){const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Hs({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=_7({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=eo(n),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function _7({defaultProp:e,onChange:t}){const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=eo(t);return f.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function h0(e){const t=f.exports.useRef({value:e,previous:e});return f.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function m0(e){const[t,n]=f.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 oA="Switch",[w7,QX]=la(oA),[E7,b7]=w7(oA),S7=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,"aria-labelledby":r,name:o,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,...d}=e,[p,h]=f.exports.useState(null),v=Re(t,E=>h(E)),m=eA(p),_=r||m,y=f.exports.useRef(!1),g=p?Boolean(p.closest("form")):!0,[x=!1,w]=Hs({prop:i,defaultProp:a,onChange:c});return f.exports.createElement(E7,{scope:n,checked:x,disabled:l},f.exports.createElement(be.button,ne({type:"button",role:"switch","aria-checked":x,"aria-labelledby":_,"aria-required":s,"data-state":iA(x),"data-disabled":l?"":void 0,disabled:l,value:u},d,{ref:v,onClick:Te(e.onClick,E=>{w(b=>!b),g&&(y.current=E.isPropagationStopped(),y.current||E.stopPropagation())})})),g&&f.exports.createElement($7,{control:p,bubbles:!y.current,name:o,value:u,checked:x,required:s,disabled:l,style:{transform:"translateX(-100%)"}}))}),C7="SwitchThumb",A7=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=b7(C7,n);return f.exports.createElement(be.span,ne({"data-state":iA(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),$7=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=f.exports.useRef(null),a=h0(n),s=m0(t);return f.exports.useEffect(()=>{const l=i.current,u=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&c){const d=new Event("click",{bubbles:r});c.call(l,n),l.dispatchEvent(d)}},[a,n,r]),f.exports.createElement("input",ne({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function iA(e){return e?"checked":"unchecked"}const T7=S7,P7=A7,k7=I(T7)`
282
+ all: unset;
283
+ width: 42px;
284
+ height: 24px;
285
+ background-color: ${D["--ll-color-disabled"]};
286
+ border-radius: 13px;
287
+ position: relative;
288
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
289
+
290
+ &[data-state="checked"] {
291
+ background-color: ${D["--ll-color-on-background"]};
292
+ }
293
+ `,R7=I(P7)`
294
+ display: block;
295
+ width: 18px;
296
+ height: 18px;
297
+ background-color: ${D["--ll-color-background"]};
298
+ border-radius: 9px;
299
+ transition: transform 100ms;
300
+ transform: translateX(3px);
301
+ will-change: transform;
302
+
303
+ &[data-state="checked"] {
304
+ transform: translateX(21px);
305
+ }
306
+ `,JX=e=>ae(k7,{...e,children:ae(R7,{})});function Cm(e,[t,n]){return Math.min(n,Math.max(t,e))}const O7=f.exports.createContext(void 0);function aA(e){const t=f.exports.useContext(O7);return e||t||"ltr"}function sA(e){const t=e+"CollectionProvider",[n,r]=la(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=J.useRef(null),y=J.useRef(new Map).current;return J.createElement(o,{scope:v,itemMap:y,collectionRef:_},m)},s=e+"CollectionSlot",l=J.forwardRef((h,v)=>{const{scope:m,children:_}=h,y=i(s,m),g=Re(v,y.collectionRef);return J.createElement(Xi,{ref:g},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=J.forwardRef((h,v)=>{const{scope:m,children:_,...y}=h,g=J.useRef(null),x=Re(v,g),w=i(u,m);return J.useEffect(()=>(w.itemMap.set(g,{ref:g,...y}),()=>void w.itemMap.delete(g))),J.createElement(Xi,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return J.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const _=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((y,g)=>_.indexOf(y.ref.current)-_.indexOf(g.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},p,r]}const lA=["PageUp","PageDown"],uA=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],cA={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},ll="Slider",[Am,M7,N7]=sA(ll),[dA,eZ]=la(ll,[N7]),[L7,qd]=dA(ll),D7=f.exports.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:c,onValueChange:d=()=>{},...p}=e,[h,v]=f.exports.useState(null),m=Re(t,P=>v(P)),_=f.exports.useRef(new Set),y=f.exports.useRef(0),g=a==="horizontal",x=h?Boolean(h.closest("form")):!0,w=g?F7:I7,[E=[],b]=Hs({prop:c,defaultProp:u,onChange:P=>{var F;(F=[..._.current][y.current])===null||F===void 0||F.focus(),d(P)}});function S(P){const F=W7(E,P);T(P,F)}function C(P){T(P,y.current)}function T(P,F){const z=Z7(i),W=Q7(Math.round((P-r)/i)*i+r,z),H=Cm(W,[r,o]);b((ee=[])=>{const ce=G7(ee,H,F);return X7(ce,l*i)?(y.current=ce.indexOf(H),String(ce)===String(ee)?ee:ce):ee})}return f.exports.createElement(L7,{scope:e.__scopeSlider,disabled:s,min:r,max:o,valueIndexToChangeRef:y,thumbs:_.current,values:E,orientation:a},f.exports.createElement(Am.Provider,{scope:e.__scopeSlider},f.exports.createElement(Am.Slot,{scope:e.__scopeSlider},f.exports.createElement(w,ne({"aria-disabled":s,"data-disabled":s?"":void 0},p,{ref:m,min:r,max:o,onSlideStart:s?void 0:S,onSlideMove:s?void 0:C,onHomeKeyDown:()=>!s&&T(r,0),onEndKeyDown:()=>!s&&T(o,E.length-1),onStepKeyDown:({event:P,direction:F})=>{if(!s){const z=lA.includes(P.key)||P.shiftKey&&uA.includes(P.key)?10:1,W=y.current,H=E[W],ee=i*z*F;T(H+ee,W)}}})))),x&&E.map((P,F)=>f.exports.createElement(H7,{key:F,name:n?n+(E.length>1?"[]":""):void 0,value:P})))}),[fA,pA]=dA(ll,{startEdge:"left",endEdge:"right",size:"width",direction:1}),F7=f.exports.forwardRef((e,t)=>{const{min:n,max:r,dir:o,onSlideStart:i,onSlideMove:a,onStepKeyDown:s,...l}=e,[u,c]=f.exports.useState(null),d=Re(t,_=>c(_)),p=f.exports.useRef(),h=aA(o),v=h==="ltr";function m(_){const y=p.current||u.getBoundingClientRect(),g=[0,y.width],x=v0(g,v?[n,r]:[r,n]);return p.current=y,x(_-y.left)}return f.exports.createElement(fA,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},f.exports.createElement(hA,ne({dir:h,"data-orientation":"horizontal"},l,{ref:d,style:{...l.style,["--radix-slider-thumb-transform"]:"translateX(-50%)"},onSlideStart:_=>{const y=m(_.clientX);i==null||i(y)},onSlideMove:_=>{const y=m(_.clientX);a==null||a(y)},onSlideEnd:()=>p.current=void 0,onStepKeyDown:_=>{const y=cA[h].includes(_.key);s==null||s({event:_,direction:y?-1:1})}})))}),I7=f.exports.forwardRef((e,t)=>{const{min:n,max:r,onSlideStart:o,onSlideMove:i,onStepKeyDown:a,...s}=e,l=f.exports.useRef(null),u=Re(t,l),c=f.exports.useRef();function d(p){const h=c.current||l.current.getBoundingClientRect(),v=[0,h.height],m=v0(v,[r,n]);return c.current=h,m(p-h.top)}return f.exports.createElement(fA,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},f.exports.createElement(hA,ne({"data-orientation":"vertical"},s,{ref:u,style:{...s.style,["--radix-slider-thumb-transform"]:"translateY(50%)"},onSlideStart:p=>{const h=d(p.clientY);o==null||o(h)},onSlideMove:p=>{const h=d(p.clientY);i==null||i(h)},onSlideEnd:()=>c.current=void 0,onStepKeyDown:p=>{const h=cA.ltr.includes(p.key);a==null||a({event:p,direction:h?-1:1})}})))}),hA=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,c=qd(ll,n);return f.exports.createElement(be.span,ne({},u,{ref:t,onKeyDown:Te(e.onKeyDown,d=>{d.key==="Home"?(a(d),d.preventDefault()):d.key==="End"?(s(d),d.preventDefault()):lA.concat(uA).includes(d.key)&&(l(d),d.preventDefault())}),onPointerDown:Te(e.onPointerDown,d=>{const p=d.target;p.setPointerCapture(d.pointerId),d.preventDefault(),c.thumbs.has(p)?p.focus():r(d)}),onPointerMove:Te(e.onPointerMove,d=>{d.target.hasPointerCapture(d.pointerId)&&o(d)}),onPointerUp:Te(e.onPointerUp,d=>{const p=d.target;p.hasPointerCapture(d.pointerId)&&(p.releasePointerCapture(d.pointerId),i(d))})}))}),j7="SliderTrack",z7=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=qd(j7,n);return f.exports.createElement(be.span,ne({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),h_="SliderRange",V7=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=qd(h_,n),i=pA(h_,n),a=f.exports.useRef(null),s=Re(t,a),l=o.values.length,u=o.values.map(p=>mA(p,o.min,o.max)),c=l>1?Math.min(...u):0,d=100-Math.max(...u);return f.exports.createElement(be.span,ne({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:s,style:{...e.style,[i.startEdge]:c+"%",[i.endEdge]:d+"%"}}))}),m_="SliderThumb",B7=f.exports.forwardRef((e,t)=>{const n=M7(e.__scopeSlider),[r,o]=f.exports.useState(null),i=Re(t,s=>o(s)),a=f.exports.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return f.exports.createElement(U7,ne({},e,{ref:i,index:a}))}),U7=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,i=qd(m_,n),a=pA(m_,n),[s,l]=f.exports.useState(null),u=Re(t,_=>l(_)),c=m0(s),d=i.values[r],p=d===void 0?0:mA(d,i.min,i.max),h=Y7(r,i.values.length),v=c==null?void 0:c[a.size],m=v?q7(v,p,a.direction):0;return f.exports.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]),f.exports.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${p}% + ${m}px)`}},f.exports.createElement(Am.ItemSlot,{scope:e.__scopeSlider},f.exports.createElement(be.span,ne({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:u,style:d===void 0?{display:"none"}:e.style,onFocus:Te(e.onFocus,()=>{i.valueIndexToChangeRef.current=r})}))))}),H7=e=>{const{value:t,...n}=e,r=f.exports.useRef(null),o=h0(t);return f.exports.useEffect(()=>{const i=r.current,a=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(a,"value").set;if(o!==t&&s){const l=new Event("input",{bubbles:!0});s.call(i,t),i.dispatchEvent(l)}},[o,t]),f.exports.createElement("input",ne({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function G7(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function mA(e,t,n){return 100/(n-t)*(e-t)}function Y7(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function W7(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function q7(e,t,n){const r=e/2,o=v0([0,50],[0,r]);return(r-o(t)*n)*n}function K7(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function X7(e,t){if(t>0){const n=K7(e);return Math.min(...n)>=t}return!0}function v0(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function Z7(e){return(String(e).split(".")[1]||"").length}function Q7(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const J7=D7,eF=z7,tF=V7,nF=B7,rF=I.div``,oF=I.div`
307
+ display: flex;
308
+ align-items: center;
309
+ `,iF=I(J7)`
310
+ position: relative;
311
+ display: flex;
312
+ align-items: center;
313
+ user-select: none;
314
+ touch-action: none;
315
+ height: 20;
316
+ flex: 1;
317
+ `,aF=I(nF)`
318
+ all: unset;
319
+ height: 20px;
320
+ width: 20px;
321
+ border-radius: 50%;
322
+ display: block;
323
+ background-color: ${D["--ll-color-primary"]};
324
+ box-shadow: ${D["--ll-shadow-medium"]};
325
+ `,sF=I(eF)`
326
+ height: 4px;
327
+ border-radius: 2px;
328
+ background-color: ${D["--ll-color-surface-variant1"]};
329
+ position: relative;
330
+ flex: 1;
331
+ `,lF=I(tF)`
332
+ height: 100%;
333
+ position: absolute;
334
+ background-color: ${D["--ll-color-primary"]};
335
+ border-radius: 2px;
336
+ `,uF=({vertical:e,spacing:t})=>{const n=D[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},cF=I.div`
337
+ margin: ${e=>uF(e)};
338
+ flex-shrink: 0;
339
+ `,dF=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>ae(cF,{vertical:e,spacing:t}),tZ=({label:e,showValue:t,...n})=>en(rF,{children:[e&&ae(tA,{style:{lineHeight:"50px"},children:e}),en(oF,{children:[en(iF,{...n,children:[ae(sF,{children:ae(lF,{})}),ae(aF,{})]}),t&&en(Wd,{children:[ae(dF,{spacing:"--ll-spacing-small"}),ae(bm,{noMargin:!0,children:n.value})]})]})]}),Au={primary:{background:D["--ll-color-primary"],onBackground:D["--ll-color-on-primary"],hover:D["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:D["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:D["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},bc={small:24,medium:32,large:48},fF=I.button`
340
+ ${({color:e="primary",size:t="medium"})=>ge`
341
+ border: none;
342
+ background-color: ${Au[e].background};
343
+ color: ${Au[e].onBackground};
344
+ border-radius: 50%;
345
+ height: ${bc[t]}px;
346
+ width: ${bc[t]}px;
347
+ display: flex;
348
+ justify-content: center;
349
+ align-items: center;
350
+ padding: 6px;
351
+
352
+ &:hover {
353
+ background-color: ${Au[e].hover};
354
+ }
355
+
356
+ &:disabled {
357
+ cursor: default;
358
+ background-color: rgba(0, 0, 0, 0.1);
359
+ color: ${D["--ll-color-on-background-variant1"]};
360
+ }
361
+ `};
362
+ `,nZ=({SVGElement:e,disabled:t=!1,onClick:n,size:r="medium",type:o="button",color:i="primary",isLoading:a,className:s})=>{const l=c=>{t||!n||a||n(c)},u=f.exports.useMemo(()=>t?D["--ll-color-placeholder"]:Au[i].onBackground,[i,t]);return ae(fF,{size:r,onClick:l,disabled:t||a,className:s,color:i,type:o,children:a?ae(nA,{}):ae(f0,{SVGElement:e,width:bc[r]/1.33333,height:bc[r]/1.33333,fill:u})})};function pF({height:e,width:t}){return ge`
363
+ height: ${e};
364
+ width: ${t};
365
+ `}const hF=Dd`
366
+ from {
367
+ background-position: -800px 0;
368
+ }
369
+
370
+ to {
371
+ background-position: 800px 0;
372
+ }
373
+ `,mF=I.div`
374
+ border-radius: ${D["--ll-border-radius-medium"]};
375
+ animation: ${hF} 2s linear infinite;
376
+ background: linear-gradient(
377
+ to right,
378
+ /* NOTE: 99.9% of the time we should use colours from theme, since these are
379
+ CSS vars that can be overriden. */
380
+ ${D["--ll-color-surface-variant1"]} 4%,
381
+ ${D["--ll-color-surface-variant2"]} 25%,
382
+ ${D["--ll-color-surface-variant1"]} 36%
383
+ );
384
+ background-size: 800px 100%;
385
+ ${pF}
386
+ `,rZ=({height:e,width:t,className:n})=>ae(mF,{height:e,width:t,className:n});I.div`
387
+ flex: 1;
388
+ height: 100%;
389
+ width: 100%;
390
+ display: flex;
391
+ align-items: center;
392
+ justify-content: center;
393
+ `;I.div`
394
+ display: flex;
395
+ flex-direction: column;
396
+ align-items: center;
397
+ `;function vF(e){const t=eo(e);f.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const $m="dismissableLayer.update",gF="dismissableLayer.pointerDownOutside",yF="dismissableLayer.focusOutside";let v_;const xF=f.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vA=f.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=f.exports.useContext(xF),[c,d]=f.exports.useState(null),[,p]=f.exports.useState({}),h=Re(t,b=>d(b)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),y=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,x=y>=_,w=_F(b=>{const S=b.target,C=[...u.branches].some(T=>T.contains(S));!x||C||(o==null||o(b),a==null||a(b),b.defaultPrevented||s==null||s())}),E=wF(b=>{const S=b.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(b),a==null||a(b),b.defaultPrevented||s==null||s())});return vF(b=>{y===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))}),f.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(v_=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),g_(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=v_)}},[c,n,u]),f.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),g_())},[c,u]),f.exports.useEffect(()=>{const b=()=>p({});return document.addEventListener($m,b),()=>document.removeEventListener($m,b)},[]),f.exports.createElement(be.div,ne({},l,{ref:h,style:{pointerEvents:g?x?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,w.onPointerDownCapture)}))});function _F(e){const t=eo(e),n=f.exports.useRef(!1),r=f.exports.useRef(()=>{});return f.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){gA(gF,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 wF(e){const t=eo(e),n=f.exports.useRef(!1);return f.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&gA(yF,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function g_(){const e=new CustomEvent($m);document.dispatchEvent(e)}function gA(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?qD(o,i):o.dispatchEvent(i)}let vp=0;function yA(){f.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:y_()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:y_()),vp++,()=>{vp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),vp--}},[])}function y_(){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 gp="focusScope.autoFocusOnMount",yp="focusScope.autoFocusOnUnmount",x_={bubbles:!1,cancelable:!0},xA=f.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=f.exports.useState(null),u=eo(o),c=eo(i),d=f.exports.useRef(null),p=Re(t,m=>l(m)),h=f.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.exports.useEffect(()=>{if(r){let m=function(y){if(h.paused||!s)return;const g=y.target;s.contains(g)?d.current=g:wo(d.current,{select:!0})},_=function(y){h.paused||!s||s.contains(y.relatedTarget)||wo(d.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),f.exports.useEffect(()=>{if(s){w_.add(h);const m=document.activeElement;if(!s.contains(m)){const _=new CustomEvent(gp,x_);s.addEventListener(gp,u),s.dispatchEvent(_),_.defaultPrevented||(EF($F(_A(s)),{select:!0}),document.activeElement===m&&wo(s))}return()=>{s.removeEventListener(gp,u),setTimeout(()=>{const _=new CustomEvent(yp,x_);s.addEventListener(yp,c),s.dispatchEvent(_),_.defaultPrevented||wo(m!=null?m:document.body,{select:!0}),s.removeEventListener(yp,c),w_.remove(h)},0)}}},[s,u,c,h]);const v=f.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(_&&y){const g=m.currentTarget,[x,w]=bF(g);x&&w?!m.shiftKey&&y===w?(m.preventDefault(),n&&wo(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),n&&wo(w,{select:!0})):y===g&&m.preventDefault()}},[n,r,h.paused]);return f.exports.createElement(be.div,ne({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function EF(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(wo(r,{select:t}),document.activeElement!==n)return}function bF(e){const t=_A(e),n=__(t,e),r=__(t.reverse(),e);return[n,r]}function _A(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 __(e,t){for(const n of e)if(!SF(n,{upTo:t}))return n}function SF(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 CF(e){return e instanceof HTMLInputElement&&"select"in e}function wo(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&CF(e)&&t&&e.select()}}const w_=AF();function AF(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=E_(e,t),e.unshift(t)},remove(t){var n;e=E_(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function E_(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function $F(e){return e.filter(t=>t.tagName!=="A")}const wA=f.exports.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Ab.createPortal(f.exports.createElement(be.div,ne({},o,{ref:t})),r):null}),TF=f.exports.forwardRef((e,t)=>f.exports.createElement(be.span,ne({},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}})));var PF=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},qo=new WeakMap,Xl=new WeakMap,Zl={},xp=0,kF=function(e,t,n,r){var o=Array.isArray(e)?e:[e];Zl[n]||(Zl[n]=new WeakMap);var i=Zl[n],a=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(qo.get(p)||0)+1,_=(i.get(p)||0)+1;qo.set(p,m),i.set(p,_),a.push(p),m===1&&v&&Xl.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),xp++,function(){a.forEach(function(d){var p=qo.get(d)-1,h=i.get(d)-1;qo.set(d,p),i.set(d,h),p||(Xl.has(d)||d.removeAttribute(r),Xl.delete(d)),h||d.removeAttribute(n)}),xp--,xp||(qo=new WeakMap,qo=new WeakMap,Xl=new WeakMap,Zl={})}},EA=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||PF(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),kF(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 bA(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 RF(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 $u="right-scroll-bar-position",Tu="width-before-scroll-bar",OF="with-scroll-bars-hidden",MF="--removed-body-scroll-bar-size";function NF(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function LF(e,t){var n=f.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function DF(e,t){return LF(t||null,function(n){return e.forEach(function(r){return NF(r,n)})})}function FF(e){return e}function IF(e,t){t===void 0&&(t=FF);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 jF(e){e===void 0&&(e={});var t=IF(null);return t.options=Pn({async:!0,ssr:!1},e),t}var SA=function(e){var t=e.sideCar,n=bA(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,{...Pn({},n)})};SA.isSideCarExport=!0;function zF(e,t){return e.useMedium(t),SA}var CA=jF(),_p=function(){},Kd=f.exports.forwardRef(function(e,t){var n=f.exports.useRef(null),r=f.exports.useState({onScrollCapture:_p,onWheelCapture:_p,onTouchMoveCapture:_p}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,y=_===void 0?"div":_,g=bA(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=DF([n,t]),E=Pn(Pn({},g),o);return en(Wd,{children:[c&&ae(x,{sideCar:CA,removeScrollBar:u,shards:d,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?f.exports.cloneElement(f.exports.Children.only(s),Pn(Pn({},E),{ref:w})):ae(y,{...Pn({},E,{className:l,ref:w}),children:s})]})});Kd.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Kd.classNames={fullWidth:Tu,zeroRight:$u};var VF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function BF(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=VF();return t&&e.setAttribute("nonce",t),e}function UF(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function HF(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var GF=function(){var e=0,t=null;return{add:function(n){e==0&&(t=BF())&&(UF(t,n),HF(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},YF=function(){var e=GF();return function(t,n){f.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},AA=function(){var e=YF(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},WF={left:0,top:0,right:0,gap:0},wp=function(e){return parseInt(e||"",10)||0},qF=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[wp(n),wp(r),wp(o)]},KF=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return WF;var t=qF(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])}},XF=AA(),ZF=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
398
+ .`.concat(OF,` {
399
+ overflow: hidden `).concat(r,`;
400
+ padding-right: `).concat(s,"px ").concat(r,`;
401
+ }
402
+ body {
403
+ overflow: hidden `).concat(r,`;
404
+ overscroll-behavior: contain;
405
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
406
+ padding-left: `.concat(o,`px;
407
+ padding-top: `).concat(i,`px;
408
+ padding-right: `).concat(a,`px;
409
+ margin-left:0;
410
+ margin-top:0;
411
+ margin-right: `).concat(s,"px ").concat(r,`;
412
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
413
+ }
414
+
415
+ .`).concat($u,` {
416
+ right: `).concat(s,"px ").concat(r,`;
417
+ }
418
+
419
+ .`).concat(Tu,` {
420
+ margin-right: `).concat(s,"px ").concat(r,`;
421
+ }
422
+
423
+ .`).concat($u," .").concat($u,` {
424
+ right: 0 `).concat(r,`;
425
+ }
426
+
427
+ .`).concat(Tu," .").concat(Tu,` {
428
+ margin-right: 0 `).concat(r,`;
429
+ }
430
+
431
+ body {
432
+ `).concat(MF,": ").concat(s,`px;
433
+ }
434
+ `)},QF=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=f.exports.useMemo(function(){return KF(o)},[o]);return ae(XF,{styles:ZF(i,!t,o,n?"":"!important")})},Tm=!1;if(typeof window<"u")try{var Ql=Object.defineProperty({},"passive",{get:function(){return Tm=!0,!0}});window.addEventListener("test",Ql,Ql),window.removeEventListener("test",Ql,Ql)}catch(e){Tm=!1}var Ko=Tm?{passive:!1}:!1,JF=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},eI=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},b_=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=$A(e,n);if(r){var o=TA(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},tI=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},nI=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},$A=function(e,t){return e==="v"?JF(t):eI(t)},TA=function(e,t){return e==="v"?tI(t):nI(t)},rI=function(e,t){return e==="h"&&t==="rtl"?-1:1},oI=function(e,t,n,r,o){var i=rI(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,p=0;do{var h=TA(e,s),v=h[0],m=h[1],_=h[2],y=m-_-i*v;(v||y)&&$A(e,s)&&(d+=y,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&a>d)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Jl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},S_=function(e){return[e.deltaX,e.deltaY]},C_=function(e){return e&&"current"in e?e.current:e},iI=function(e,t){return e[0]===t[0]&&e[1]===t[1]},aI=function(e){return`
435
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
436
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
437
+ `)},sI=0,Xo=[];function lI(e){var t=f.exports.useRef([]),n=f.exports.useRef([0,0]),r=f.exports.useRef(),o=f.exports.useState(sI++)[0],i=f.exports.useState(function(){return AA()})[0],a=f.exports.useRef(e);f.exports.useEffect(function(){a.current=e},[e]),f.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=RF([e.lockRef.current],(e.shards||[]).map(C_),!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=f.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var y=Jl(m),g=n.current,x="deltaX"in m?m.deltaX:g[0]-y[0],w="deltaY"in m?m.deltaY:g[1]-y[1],E,b=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&b.type==="range")return!1;var C=b_(S,b);if(!C)return!0;if(C?E=S:(E=S==="v"?"h":"v",C=b_(S,b)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=E),!E)return!0;var T=r.current||E;return oI(T,_,m,T==="h"?x:w,!0)},[]),l=f.exports.useCallback(function(m){var _=m;if(!(!Xo.length||Xo[Xo.length-1]!==i)){var y="deltaY"in _?S_(_):Jl(_),g=t.current.filter(function(E){return E.name===_.type&&E.target===_.target&&iI(E.delta,y)})[0];if(g&&g.should){_.preventDefault();return}if(!g){var x=(a.current.shards||[]).map(C_).filter(Boolean).filter(function(E){return E.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=f.exports.useCallback(function(m,_,y,g){var x={name:m,delta:_,target:y,should:g};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=f.exports.useCallback(function(m){n.current=Jl(m),r.current=void 0},[]),d=f.exports.useCallback(function(m){u(m.type,S_(m),m.target,s(m,e.lockRef.current))},[]),p=f.exports.useCallback(function(m){u(m.type,Jl(m),m.target,s(m,e.lockRef.current))},[]);f.exports.useEffect(function(){return Xo.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Ko),document.addEventListener("touchmove",l,Ko),document.addEventListener("touchstart",c,Ko),function(){Xo=Xo.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,Ko),document.removeEventListener("touchmove",l,Ko),document.removeEventListener("touchstart",c,Ko)}},[]);var h=e.removeScrollBar,v=e.inert;return en(Wd,{children:[v?ae(i,{styles:aI(o)}):null,h?ae(QF,{gapMode:"margin"}):null]})}const uI=zF(CA,lI);var PA=f.exports.forwardRef(function(e,t){return ae(Kd,{...Pn({},e,{ref:t,sideCar:uI})})});PA.classNames=Kd.classNames;const kA=PA,cI=[" ","Enter","ArrowUp","ArrowDown"],dI=[" ","Enter"],Xd="Select",[Zd,g0,fI]=sA(Xd),[ul,pI]=la(Xd,[fI]),[hI,ua]=ul(Xd),[mI,vI]=ul(Xd),RA=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:s,onValueChange:l,dir:u,name:c,autoComplete:d}=e,[p,h]=f.exports.useState(null),[v,m]=f.exports.useState(null),[_,y]=f.exports.useState(!1),g=aA(u),[x=!1,w]=Hs({prop:r,defaultProp:o,onChange:i}),[E,b]=Hs({prop:a,defaultProp:s,onChange:l}),S=f.exports.useRef(null),C=p?Boolean(p.closest("form")):!0,[T,P]=f.exports.useState(new Set),F=Array.from(T).map(z=>z.props.value).join(";");return f.exports.createElement(hI,{scope:t,trigger:p,onTriggerChange:h,valueNode:v,onValueNodeChange:m,valueNodeHasChildren:_,onValueNodeHasChildrenChange:y,contentId:sl(),value:E,onValueChange:b,open:x,onOpenChange:w,dir:g,triggerPointerDownPosRef:S},f.exports.createElement(Zd.Provider,{scope:t},f.exports.createElement(mI,{scope:e.__scopeSelect,onNativeOptionAdd:f.exports.useCallback(z=>{P(W=>new Set(W).add(z))},[]),onNativeOptionRemove:f.exports.useCallback(z=>{P(W=>{const H=new Set(W);return H.delete(z),H})},[])},n)),C?f.exports.createElement(qA,{key:F,"aria-hidden":!0,tabIndex:-1,name:c,autoComplete:d,value:E,onChange:z=>b(z.target.value)},Array.from(T)):null)},gI="SelectTrigger",OA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=ua(gI,n),s=Re(t,a.onTriggerChange),l=g0(n),u=eA(a.trigger),c=o||u,[d,p,h]=KA(m=>{const _=l().filter(x=>!x.disabled),y=_.find(x=>x.value===a.value),g=XA(_,m,y);g!==void 0&&a.onValueChange(g.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return f.exports.createElement(be.button,ne({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:Te(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:Te(i.onKeyDown,m=>{const _=d.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(_&&m.key===" ")&&cI.includes(m.key)&&(v(),m.preventDefault())})}))}),yI="SelectValue",MA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a,...s}=e,l=ua(yI,n),{onValueNodeHasChildrenChange:u}=l,c=i!==void 0,d=Re(t,l.onValueNodeChange);return Ft(()=>{u(c)},[u,c]),f.exports.createElement(be.span,ne({},s,{ref:d,style:{pointerEvents:"none"}}),l.value===void 0&&a!==void 0?a:i)}),Qd=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return f.exports.createElement(be.span,ne({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),NA=e=>f.exports.createElement(wA,ne({asChild:!0},e)),y0="SelectContent",LA=f.exports.forwardRef((e,t)=>{const n=ua(y0,e.__scopeSelect),[r,o]=f.exports.useState();return Ft(()=>{o(new DocumentFragment)},[]),f.exports.createElement(f.exports.Fragment,null,n.open?f.exports.createElement(xI,ne({},e,{ref:t})):r?Wt.exports.createPortal(f.exports.createElement(DA,{scope:e.__scopeSelect},f.exports.createElement(Zd.Slot,{scope:e.__scopeSelect},f.exports.createElement("div",null,e.children))),r):null)}),_r=10,[DA,ca]=ul(y0),xI=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=ua(y0,n),[a,s]=f.exports.useState(null),[l,u]=f.exports.useState(null),[c,d]=f.exports.useState(null),p=Re(t,R=>u(R)),[h,v]=f.exports.useState(null),[m,_]=f.exports.useState(null),y=g0(n),[g,x]=f.exports.useState(!1),w=f.exports.useRef(!0),E=f.exports.useRef(!1),b=f.exports.useRef(!1);f.exports.useEffect(()=>{if(l)return EA(l)},[l]),yA();const[S,C]=f.exports.useState();Ft(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const T=f.exports.useCallback(R=>{const[G,...M]=y().map(N=>N.ref.current),[k]=M.slice(-1),$=document.activeElement;for(const N of R)if(N===$||(N==null||N.scrollIntoView({block:"nearest"}),N===G&&c&&(c.scrollTop=0),N===k&&c&&(c.scrollTop=c.scrollHeight),N==null||N.focus(),document.activeElement!==$))return},[y,c]),P=f.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const R=i.trigger.getBoundingClientRect(),G=l.getBoundingClientRect(),M=i.valueNode.getBoundingClientRect(),k=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ce=k.left-G.left,Q=M.left-Ce,me=R.left-Q,Qe=R.width+me,ln=Math.max(Qe,G.width),pt=window.innerWidth-_r,ho=Cm(Q,[_r,pt-ln]);a.style.minWidth=Qe+"px",a.style.left=ho+"px"}else{const Ce=G.right-k.right,Q=window.innerWidth-M.right-Ce,me=window.innerWidth-R.right-Q,Qe=R.width+me,ln=Math.max(Qe,G.width),pt=window.innerWidth-_r,ho=Cm(Q,[_r,pt-ln]);a.style.minWidth=Qe+"px",a.style.right=ho+"px"}const $=y(),N=window.innerHeight-_r*2,A=c.scrollHeight,K=window.getComputedStyle(l),j=parseInt(K.borderTopWidth,10),de=parseInt(K.paddingTop,10),le=parseInt(K.borderBottomWidth,10),fe=parseInt(K.paddingBottom,10),re=j+de+A+fe+le,Oe=Math.min(h.offsetHeight*5,re),De=window.getComputedStyle(c),ue=parseInt(De.paddingTop,10),Fe=parseInt(De.paddingBottom,10),te=R.top+R.height/2-_r,he=N-te,Ze=h.offsetHeight/2,ye=h.offsetTop+Ze,Pt=j+de+ye,Vn=re-Pt;if(Pt<=te){const Ce=h===$[$.length-1].ref.current;a.style.bottom="0px";const Q=l.clientHeight-c.offsetTop-c.offsetHeight,me=Math.max(he,Ze+(Ce?Fe:0)+Q+le),Qe=Pt+me;a.style.height=Qe+"px"}else{const Ce=h===$[0].ref.current;a.style.top="0px";const Q=Math.max(te,j+c.offsetTop+(Ce?ue:0)+Ze)+Vn;a.style.height=Q+"px",c.scrollTop=Pt-te+c.offsetTop}a.style.margin=`${_r}px 0`,a.style.minHeight=Oe+"px",a.style.maxHeight=N+"px",x(!0),requestAnimationFrame(()=>E.current=!0)}},[y,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);Ft(()=>P(),[P]);const F=f.exports.useCallback(()=>T([h,l]),[T,h,l]);f.exports.useEffect(()=>{g&&F()},[g,F]);const z=f.exports.useCallback(R=>{R&&w.current===!0&&(P(),F(),w.current=!1)},[P,F]),{onOpenChange:W,triggerPointerDownPosRef:H}=i;f.exports.useEffect(()=>{if(l){let R={x:0,y:0};const G=k=>{var $,N,A,K;R={x:Math.abs(Math.round(k.pageX)-(($=(N=H.current)===null||N===void 0?void 0:N.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(k.pageY)-((A=(K=H.current)===null||K===void 0?void 0:K.y)!==null&&A!==void 0?A:0))}},M=k=>{R.x<=10&&R.y<=10?k.preventDefault():l.contains(k.target)||W(!1),document.removeEventListener("pointermove",G),H.current=null};return H.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",M,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",M,{capture:!0})}}},[l,W,H]),f.exports.useEffect(()=>{const R=()=>W(!1);return window.addEventListener("blur",R),window.addEventListener("resize",R),()=>{window.removeEventListener("blur",R),window.removeEventListener("resize",R)}},[W]);const[ee,ce]=KA(R=>{const G=y().filter($=>!$.disabled),M=G.find($=>$.ref.current===document.activeElement),k=XA(G,R,M);k&&setTimeout(()=>k.ref.current.focus())}),se=f.exports.useCallback((R,G,M)=>{const k=!b.current&&!M;(i.value!==void 0&&i.value===G||k)&&(v(R),k&&(b.current=!0))},[i.value]),B=f.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),Z=f.exports.useCallback((R,G,M)=>{const k=!b.current&&!M;(i.value!==void 0&&i.value===G||k)&&_(R)},[i.value]);return f.exports.createElement(DA,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:d,itemRefCallback:se,selectedItem:h,onItemLeave:B,itemTextRefCallback:Z,selectedItemText:m,onScrollButtonChange:z,isPositioned:g,shouldExpandOnScrollRef:E,searchRef:ee},f.exports.createElement(kA,{as:Xi,allowPinchZoom:!0},f.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},f.exports.createElement(xA,{asChild:!0,trapped:i.open,onMountAutoFocus:R=>{R.preventDefault()},onUnmountAutoFocus:Te(r,R=>{var G;(G=i.trigger)===null||G===void 0||G.focus({preventScroll:!0}),R.preventDefault()})},f.exports.createElement(vA,ne({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:R=>R.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:R=>R.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:Te(o.onKeyDown,R=>{const G=R.ctrlKey||R.altKey||R.metaKey;if(R.key==="Tab"&&R.preventDefault(),!G&&R.key.length===1&&ce(R.key),["ArrowUp","ArrowDown","Home","End"].includes(R.key)){let M=y().filter(k=>!k.disabled).map(k=>k.ref.current);if(["ArrowUp","End"].includes(R.key)&&(M=M.slice().reverse()),["ArrowUp","ArrowDown"].includes(R.key)){const k=R.target,$=M.indexOf(k);M=M.slice($+1)}setTimeout(()=>T(M)),R.preventDefault()}})}))))))}),_I="SelectViewport",FA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=ca(_I,n),i=Re(t,o.onViewportChange),a=f.exports.useRef(0);return f.exports.createElement(f.exports.Fragment,null,f.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),f.exports.createElement(Zd.Slot,{scope:n},f.exports.createElement(be.div,ne({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:Te(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const d=Math.abs(a.current-l.scrollTop);if(d>0){const p=window.innerHeight-_r*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<p){const _=m+d,y=Math.min(p,_),g=_-y;u.style.height=y+"px",u.style.bottom==="0px"&&(l.scrollTop=g>0?g:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),wI="SelectGroup",[EI,bI]=ul(wI),IA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=sl();return f.exports.createElement(EI,{scope:n,id:o},f.exports.createElement(be.div,ne({role:"group","aria-labelledby":o},r,{ref:t})))}),SI="SelectLabel",jA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=bI(SI,n);return f.exports.createElement(be.div,ne({id:o.id},r,{ref:t}))}),Pm="SelectItem",[CI,zA]=ul(Pm),VA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=ua(Pm,n),l=ca(Pm,n),u=s.value===r,[c,d]=f.exports.useState(i!=null?i:""),[p,h]=f.exports.useState(!1),v=Re(t,y=>{var g;return(g=l.itemRefCallback)===null||g===void 0?void 0:g.call(l,y,r,o)}),m=sl(),_=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return f.exports.createElement(CI,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:f.exports.useCallback(y=>{d(g=>{var x;return g||((x=y==null?void 0:y.textContent)!==null&&x!==void 0?x:"").trim()})},[])},f.exports.createElement(Zd.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},f.exports.createElement(be.div,ne({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:Te(a.onFocus,()=>h(!0)),onBlur:Te(a.onBlur,()=>h(!1)),onPointerUp:Te(a.onPointerUp,_),onPointerMove:Te(a.onPointerMove,y=>{if(o){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}else y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Te(a.onPointerLeave,y=>{if(y.currentTarget===document.activeElement){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}}),onKeyDown:Te(a.onKeyDown,y=>{var g;((g=l.searchRef)===null||g===void 0?void 0:g.current)!==""&&y.key===" "||(dI.includes(y.key)&&_(),y.key===" "&&y.preventDefault())})}))))}),eu="SelectItemText",BA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=ua(eu,n),s=ca(eu,n),l=zA(eu,n),u=vI(eu,n),[c,d]=f.exports.useState(null),p=Re(t,y=>d(y),l.onItemTextChange,y=>{var g;return(g=s.itemTextRefCallback)===null||g===void 0?void 0:g.call(s,y,l.value,l.disabled)}),h=c==null?void 0:c.textContent,v=f.exports.useMemo(()=>f.exports.createElement("option",{key:l.value,value:l.value,disabled:l.disabled},h),[l.disabled,l.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:_}=u;return Ft(()=>(m(v),()=>_(v)),[m,_,v]),f.exports.createElement(f.exports.Fragment,null,f.exports.createElement(be.span,ne({id:l.textId},i,{ref:p})),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?Wt.exports.createPortal(i.children,a.valueNode):null)}),AI="SelectItemIndicator",UA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return zA(AI,n).isSelected?f.exports.createElement(be.span,ne({"aria-hidden":!0},r,{ref:t})):null}),$I="SelectScrollUpButton",HA=f.exports.forwardRef((e,t)=>{const n=ca($I,e.__scopeSelect),[r,o]=f.exports.useState(!1),i=Re(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?f.exports.createElement(YA,ne({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop-s.offsetHeight)}})):null}),TI="SelectScrollDownButton",GA=f.exports.forwardRef((e,t)=>{const n=ca(TI,e.__scopeSelect),[r,o]=f.exports.useState(!1),i=Re(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?f.exports.createElement(YA,ne({},e,{ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:s}=n;a&&s&&(a.scrollTop=a.scrollTop+s.offsetHeight)}})):null}),YA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=ca("SelectScrollButton",n),a=f.exports.useRef(null),s=g0(n),l=f.exports.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return f.exports.useEffect(()=>()=>l(),[l]),Ft(()=>{var u;const c=s().find(d=>d.ref.current===document.activeElement);c==null||(u=c.ref.current)===null||u===void 0||u.scrollIntoView({block:"nearest"})},[s]),f.exports.createElement(be.div,ne({"aria-hidden":!0},o,{ref:t,style:{flexShrink:0,...o.style},onPointerMove:Te(o.onPointerMove,()=>{var u;(u=i.onItemLeave)===null||u===void 0||u.call(i),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:Te(o.onPointerLeave,()=>{l()})}))}),WA=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return f.exports.createElement(be.div,ne({"aria-hidden":!0},r,{ref:t}))}),qA=f.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=f.exports.useRef(null),i=Re(t,o),a=h0(n);return f.exports.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const c=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(c)}},[a,n]),f.exports.createElement(TF,{asChild:!0},f.exports.createElement("select",ne({},r,{ref:i,defaultValue:n})))});qA.displayName="BubbleSelect";function KA(e){const t=eo(e),n=f.exports.useRef(""),r=f.exports.useRef(0),o=f.exports.useCallback(a=>{const s=n.current+a;t(s),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=f.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function XA(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=PI(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 PI(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const kI=RA,ZA=OA,RI=MA,OI=Qd,QA=NA,JA=LA,e$=FA,MI=IA,NI=jA,t$=VA,n$=BA,r$=UA,LI=HA,DI=GA,FI=WA,II=Object.freeze(Object.defineProperty({__proto__:null,createSelectScope:pI,Select:RA,SelectTrigger:OA,SelectValue:MA,SelectIcon:Qd,SelectPortal:NA,SelectContent:LA,SelectViewport:FA,SelectGroup:IA,SelectLabel:jA,SelectItem:VA,SelectItemText:BA,SelectItemIndicator:UA,SelectScrollUpButton:HA,SelectScrollDownButton:GA,SelectSeparator:WA,Root:kI,Trigger:ZA,Value:RI,Icon:OI,Portal:QA,Content:JA,Viewport:e$,Group:MI,Label:NI,Item:t$,ItemText:n$,ItemIndicator:r$,ScrollUpButton:LI,ScrollDownButton:DI,Separator:FI},Symbol.toStringTag,{value:"Module"})),jI=e=>L("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:L("g",{clipPath:"url(#clip0_17_2062)",children:L("path",{d:"M7.41 8.58997L12 13.17L16.59 8.58997L18 9.99997L12 16L6 9.99997L7.41 8.58997Z"})})}),zI=e=>L("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:L("g",{clipPath:"url(#clip0_17_4631)",children:L("path",{d:"M9.00016 16.17L4.83016 12L3.41016 13.41L9.00016 19L21.0002 6.99997L19.5902 5.58997L9.00016 16.17Z"})})}),o$=I(ZA)`
438
+ display: inline-flex;
439
+ align-items: center;
440
+ justify-content: space-between;
441
+ background-color: ${D["--ll-color-background"]};
442
+ border-radius: ${D["--ll-border-radius-small"]};
443
+ border: 1px solid ${D["--ll-color-border"]};
444
+ color: ${D["--ll-color-on-background-variant1"]};
445
+ padding: ${D["--ll-spacing-xx-small"]} ${D["--ll-spacing-x-small"]}
446
+ ${D["--ll-spacing-xx-small"]} ${D["--ll-spacing-small"]};
447
+ flex: 1;
448
+ height: ${({size:e})=>e==="medium"?"32px":"40px"};
449
+ font-size: ${({size:e})=>e==="medium"?D["--ll-font-size-p"]:D["--ll-font-size-h6"]};
450
+ `,VI=I(Qd)`
451
+ margin-left: ${D["--ll-spacing-x-small"]};
452
+ `,i$=I(JA)`
453
+ overflow: hidden;
454
+ background-color: ${D["--ll-color-background"]};
455
+ border-radius: ${D["--ll-border-radius-small"]};
456
+ box-shadow: ${D["--ll-shadow-medium"]};
457
+ min-width: 120px;
458
+ z-index: 2;
459
+ font-size: ${({size:e})=>e==="medium"?D["--ll-font-size-p"]:D["--ll-font-size-h6"]};
460
+ `,a$=I(t$)`
461
+ font-family: ${D["--ll-font-family"]};
462
+ font-size: inherit;
463
+ padding: ${D["--ll-spacing-xx-small"]} ${D["--ll-spacing-x-large"]}
464
+ ${D["--ll-spacing-xx-small"]} ${D["--ll-spacing-large"]};
465
+ outline: none;
466
+ border-radius: ${D["--ll-border-radius-small"]};
467
+ position: relative;
468
+ color: ${D["--ll-color-on-surface-variant1"]};
469
+ cursor: default;
470
+
471
+ &[data-highlighted] {
472
+ background-color: ${D["--ll-color-primary"]};
473
+ color: ${D["--ll-color-on-primary"]};
474
+ }
475
+ `,s$=I(r$)`
476
+ position: absolute;
477
+ left: 0;
478
+ height: 100%;
479
+ left: 0;
480
+ bottom: 0;
481
+ width: ${D["--ll-spacing-large"]};
482
+ display: inline-flex;
483
+ align-items: center;
484
+ justify-content: center;
485
+ `,l$=I(e$)`
486
+ font-size: inherit;
487
+ padding: ${D["--ll-spacing-base-unit"]};
488
+ `,BI=I(QA)`
489
+ z-index: 1;
490
+ `,UI=Object.freeze(Object.defineProperty({__proto__:null,Trigger:o$,SelectIcon:VI,Content:i$,Item:a$,ItemIndicator:s$,Viewport:l$,Portal:BI},Symbol.toStringTag,{value:"Module"})),HI=({size:e="medium",children:t,...n})=>en(o$,{size:e,...n,children:[t,ae(Qd,{children:ae(f0,{SVGElement:jI,fill:D["--ll-color-on-background-variant1"],height:20})})]}),GI=({size:e="medium",children:t,...n})=>ae(i$,{size:e,...n,children:ae(l$,{children:t})}),YI=({children:e,...t})=>en(a$,{...t,children:[ae(n$,{children:e}),ae(s$,{children:ae(f0,{SVGElement:zI,fill:"currentColor",height:12})})]}),{Root:WI}=II,{Portal:qI}=UI,oZ=Object.freeze(Object.defineProperty({__proto__:null,Root:WI,Trigger:HI,Content:GI,Item:YI,Portal:qI},Symbol.toStringTag,{value:"Module"}));function da(e){return e.split("-")[0]}function Jd(e){return e.split("-")[1]}function fa(e){return["top","bottom"].includes(da(e))?"x":"y"}function x0(e){return e==="y"?"height":"width"}function A_(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=fa(t),l=x0(s),u=r[l]/2-o[l]/2,c=da(t),d=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(Jd(t)){case"start":p[s]-=u*(n&&d?-1:1);break;case"end":p[s]+=u*(n&&d?-1:1);break}return p}const KI=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}=A_(l,r,s),d=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:y,y:g,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=y!=null?y:u,c=g!=null?g:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(d=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=A_(l,d,s)),v=-1;continue}}return{x:u,y:c,placement:d,strategy:o,middlewareData:p}};function XI(e){return{top:0,right:0,bottom:0,left:0,...e}}function u$(e){return typeof e!="number"?XI(e):{top:e,right:e,bottom:e,left:e}}function Sc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Cc(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,v=u$(h),m=s[p?d==="floating"?"reference":"floating":d],_=Sc(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=Sc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[d]);return{top:_.top-y.top+v.top,bottom:y.bottom-_.bottom+v.bottom,left:_.left-y.left+v.left,right:y.right-_.right+v.right}}const ZI=Math.min,QI=Math.max;function km(e,t,n){return QI(e,ZI(t,n))}const $_=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=u$(r),c={x:o,y:i},d=fa(a),p=Jd(a),h=x0(d),v=await l.getDimensions(n),m=d==="y"?"top":"left",_=d==="y"?"bottom":"right",y=s.reference[h]+s.reference[d]-c[d]-s.floating[h],g=c[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const E=y/2-g/2,b=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+E,T=km(b,C,S),P=(p==="start"?u[m]:u[_])>0&&C!==T&&s.reference[h]<=s.floating[h]?C<b?b-C:S-C:0;return{[d]:c[d]-P,data:{[d]:T,centerOffset:C-T}}}}),JI={left:"right",right:"left",bottom:"top",top:"bottom"};function Ac(e){return e.replace(/left|right|bottom|top/g,t=>JI[t])}function ej(e,t,n){n===void 0&&(n=!1);const r=Jd(e),o=fa(e),i=x0(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Ac(a)),{main:a,cross:Ac(a)}}const tj={start:"end",end:"start"};function T_(e){return e.replace(/start|end/g,t=>tj[t])}const nj=["top","right","bottom","left"];function rj(e){const t=Ac(e);return[T_(e),t,T_(t)]}const oj=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=da(r),_=d||(m===a||!h?[Ac(a)]:rj(a)),y=[a,..._],g=await Cc(t,v),x=[];let w=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(g[m]),c){const{main:C,cross:T}=ej(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(g[C],g[T])}if(w=[...w,{placement:r,overflows:x}],!x.every(C=>C<=0)){var E,b;const C=((E=(b=o.flip)==null?void 0:b.index)!=null?E:0)+1,T=y[C];if(T)return{data:{index:C,overflows:w},reset:{placement:T}};let P="bottom";switch(p){case"bestFit":{var S;const F=(S=w.map(z=>[z,z.overflows.filter(W=>W>0).reduce((W,H)=>W+H,0)]).sort((z,W)=>z[1]-W[1])[0])==null?void 0:S[0].placement;F&&(P=F);break}case"initialPlacement":P=a;break}if(r!==P)return{reset:{placement:P}}}return{}}}};function P_(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function k_(e){return nj.some(t=>e[t]>=0)}const ij=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 Cc(r,{...n,elementContext:"reference"}),a=P_(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:k_(a)}}}case"escaped":{const i=await Cc(r,{...n,altBoundary:!0}),a=P_(i,o.floating);return{data:{escapedOffsets:a,escaped:k_(a)}}}default:return{}}}}};async function aj(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=da(n),s=Jd(n),l=fa(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const sj=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await aj(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function c$(e){return e==="x"?"y":"x"}const lj=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:y,y:g}=_;return{x:y,y:g}}},...l}=e,u={x:n,y:r},c=await Cc(t,l),d=fa(da(o)),p=c$(d);let h=u[d],v=u[p];if(i){const _=d==="y"?"top":"left",y=d==="y"?"bottom":"right",g=h+c[_],x=h-c[y];h=km(g,h,x)}if(a){const _=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=v+c[_],x=v-c[y];v=km(g,v,x)}const m=s.fn({...t,[d]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},uj=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},d=fa(o),p=c$(d);let h=c[d],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 E=d==="y"?"height":"width",b=i.reference[d]-i.floating[E]+_.mainAxis,S=i.reference[d]+i.reference[E]-_.mainAxis;h<b?h=b:h>S&&(h=S)}if(u){var y,g,x,w;const E=d==="y"?"width":"height",b=["top","left"].includes(da(o)),S=i.reference[p]-i.floating[E]+(b&&(y=(g=a.offset)==null?void 0:g[p])!=null?y:0)+(b?0:_.crossAxis),C=i.reference[p]+i.reference[E]+(b?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(b?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[d]:h,[p]:v}}}};function d$(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function pr(e){if(e==null)return window;if(!d$(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function cl(e){return pr(e).getComputedStyle(e)}function ar(e){return d$(e)?"":e?(e.nodeName||"").toLowerCase():""}function f$(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function In(e){return e instanceof pr(e).HTMLElement}function to(e){return e instanceof pr(e).Element}function cj(e){return e instanceof pr(e).Node}function _0(e){if(typeof ShadowRoot>"u")return!1;const t=pr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ef(e){const{overflow:t,overflowX:n,overflowY:r}=cl(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function dj(e){return["table","td","th"].includes(ar(e))}function p$(e){const t=/firefox/i.test(f$()),n=cl(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 h$(){return!/^((?!chrome|android).)*safari/i.test(f$())}const R_=Math.min,ss=Math.max,$c=Math.round;function sr(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&&In(e)&&(l=e.offsetWidth>0&&$c(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&$c(s.height)/e.offsetHeight||1);const c=to(e)?pr(e):window,d=!h$()&&n,p=(s.left+(d&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(d&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function so(e){return((cj(e)?e.ownerDocument:e.document)||window.document).documentElement}function tf(e){return to(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function m$(e){return sr(so(e)).left+tf(e).scrollLeft}function fj(e){const t=sr(e);return $c(t.width)!==e.offsetWidth||$c(t.height)!==e.offsetHeight}function pj(e,t,n){const r=In(t),o=so(t),i=sr(e,r&&fj(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((ar(t)!=="body"||ef(o))&&(a=tf(t)),In(t)){const l=sr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=m$(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function v$(e){return ar(e)==="html"?e:e.assignedSlot||e.parentNode||(_0(e)?e.host:null)||so(e)}function O_(e){return!In(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function hj(e){let t=v$(e);for(_0(t)&&(t=t.host);In(t)&&!["html","body"].includes(ar(t));){if(p$(t))return t;t=t.parentNode}return null}function Rm(e){const t=pr(e);let n=O_(e);for(;n&&dj(n)&&getComputedStyle(n).position==="static";)n=O_(n);return n&&(ar(n)==="html"||ar(n)==="body"&&getComputedStyle(n).position==="static"&&!p$(n))?t:n||hj(e)||t}function M_(e){if(In(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=sr(e);return{width:t.width,height:t.height}}function mj(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=In(n),i=so(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((o||!o&&r!=="fixed")&&((ar(n)!=="body"||ef(i))&&(a=tf(n)),In(n))){const l=sr(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 vj(e,t){const n=pr(e),r=so(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=h$();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function gj(e){var t;const n=so(e),r=tf(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ss(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ss(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+m$(e);const l=-r.scrollTop;return cl(o||n).direction==="rtl"&&(s+=ss(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function g$(e){const t=v$(e);return["html","body","#document"].includes(ar(t))?e.ownerDocument.body:In(t)&&ef(t)?t:g$(t)}function Tc(e,t){var n;t===void 0&&(t=[]);const r=g$(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=pr(r),a=o?[i].concat(i.visualViewport||[],ef(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Tc(a))}function yj(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&_0(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function xj(e,t){const n=sr(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 N_(e,t,n){return t==="viewport"?Sc(vj(e,n)):to(t)?xj(t,n):Sc(gj(so(e)))}function _j(e){const t=Tc(e),n=["absolute","fixed"].includes(cl(e).position)&&In(e)?Rm(e):e;return to(n)?t.filter(r=>to(r)&&yj(r,n)&&ar(r)!=="body"):[]}function wj(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?_j(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=N_(t,u,o);return l.top=ss(c.top,l.top),l.right=R_(c.right,l.right),l.bottom=R_(c.bottom,l.bottom),l.left=ss(c.left,l.left),l},N_(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const Ej={getClippingRect:wj,convertOffsetParentRelativeRectToViewportRelativeRect:mj,isElement:to,getDimensions:M_,getOffsetParent:Rm,getDocumentElement:so,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:pj(t,Rm(n),r),floating:{...M_(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>cl(e).direction==="rtl"};function bj(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?[...to(e)?Tc(e):[],...Tc(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let d=null;if(a){let m=!0;d=new ResizeObserver(()=>{m||n(),m=!1}),to(e)&&!s&&d.observe(e),d.observe(t)}let p,h=s?sr(e):null;s&&v();function v(){const m=sr(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=d)==null||m.disconnect(),d=null,s&&cancelAnimationFrame(p)}}const Sj=(e,t,n)=>KI(e,t,{platform:Ej,...n});var Om=typeof document<"u"?f.exports.useLayoutEffect:f.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 Cj(e){const t=f.exports.useRef(e);return Om(()=>{t.current=e}),t}function Aj(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=f.exports.useRef(null),a=f.exports.useRef(null),s=Cj(o),l=f.exports.useRef(null),[u,c]=f.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[d,p]=f.exports.useState(t);Mm(d==null?void 0:d.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=f.exports.useCallback(()=>{!i.current||!a.current||Sj(i.current,a.current,{middleware:d,placement:n,strategy:r}).then(x=>{v.current&&Wt.exports.flushSync(()=>{c(x)})})},[d,n,r]);Om(()=>{v.current&&h()},[h]);const v=f.exports.useRef(!1);Om(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=f.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),_=f.exports.useCallback(x=>{i.current=x,m()},[m]),y=f.exports.useCallback(x=>{a.current=x,m()},[m]),g=f.exports.useMemo(()=>({reference:i,floating:a}),[]);return f.exports.useMemo(()=>({...u,update:h,refs:g,reference:_,floating:y}),[u,h,g,_,y])}const $j=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?$_({element:t.current,padding:n}).fn(o):{}:t?$_({element:t,padding:n}).fn(o):{}}}},Tj=f.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return f.exports.createElement(be.svg,ne({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),Pj=Tj,y$="Popper",[w0,x$]=la(y$),[kj,_$]=w0(y$),Rj=e=>{const{__scopePopper:t,children:n}=e,[r,o]=f.exports.useState(null);return f.exports.createElement(kj,{scope:t,anchor:r,onAnchorChange:o},n)},Oj="PopperAnchor",Mj=f.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=_$(Oj,n),a=f.exports.useRef(null),s=Re(t,a);return f.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:f.exports.createElement(be.div,ne({},o,{ref:s}))}),Pc="PopperContent",[Nj,Lj]=w0(Pc),[Dj,Fj]=w0(Pc,{hasParent:!1,positionUpdateFns:new Set}),Ij=f.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...E}=e,b=_$(Pc,c),[S,C]=f.exports.useState(null),T=Re(t,ye=>C(ye)),[P,F]=f.exports.useState(null),z=m0(P),W=(n=z==null?void 0:z.width)!==null&&n!==void 0?n:0,H=(r=z==null?void 0:z.height)!==null&&r!==void 0?r:0,ee=d+(h!=="center"?"-"+h:""),ce=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},se=Array.isArray(_)?_:[_],B=se.length>0,Z={padding:ce,boundary:se.filter(Uj),altBoundary:B},{reference:R,floating:G,strategy:M,x:k,y:$,placement:N,middlewareData:A,update:K}=Aj({strategy:"fixed",placement:ee,whileElementsMounted:bj,middleware:[sj({mainAxis:p+H,alignmentAxis:v}),w?lj({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?uj():void 0,...Z}):void 0,P?$j({element:P,padding:m}):void 0,w?oj({...Z}):void 0,Hj({arrowWidth:W,arrowHeight:H}),x?ij({strategy:"referenceHidden"}):void 0].filter(Bj)});Ft(()=>{R(b.anchor)},[R,b.anchor]);const j=k!==null&&$!==null,[de,le]=w$(N),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,re=(i=A.arrow)===null||i===void 0?void 0:i.y,Oe=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[De,ue]=f.exports.useState();Ft(()=>{S&&ue(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Fe,positionUpdateFns:te}=Fj(Pc,c),he=!Fe;f.exports.useLayoutEffect(()=>{if(!he)return te.add(K),()=>{te.delete(K)}},[he,te,K]),f.exports.useLayoutEffect(()=>{he&&j&&Array.from(te).reverse().forEach(ye=>requestAnimationFrame(ye))},[he,j,te]);const Ze={"data-side":de,"data-align":le,...E,ref:T,style:{...E.style,animation:j?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return f.exports.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:M,left:0,top:0,transform:j?`translate3d(${Math.round(k)}px, ${Math.round($)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:De,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},f.exports.createElement(Nj,{scope:c,placedSide:de,onArrowChange:F,arrowX:fe,arrowY:re,shouldHideArrow:Oe},he?f.exports.createElement(Dj,{scope:c,hasParent:!0,positionUpdateFns:te},f.exports.createElement(be.div,Ze)):f.exports.createElement(be.div,Ze)))}),jj="PopperArrow",zj={top:"bottom",right:"left",bottom:"top",left:"right"},Vj=f.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=Lj(jj,n),i=zj[o.placedSide];return f.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},f.exports.createElement(Pj,ne({},r,{ref:t,style:{...r.style,display:"block"}})))});function Bj(e){return e!==void 0}function Uj(e){return e!==null}const Hj=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=w$(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)+d/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let g="",x="";return h==="bottom"?(g=c?m:`${_}px`,x=`${-p}px`):h==="top"?(g=c?m:`${_}px`,x=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,x=c?m:`${y}px`):h==="left"&&(g=`${l.floating.width+p}px`,x=c?m:`${y}px`),{data:{x:g,y:x}}}});function w$(e){const[t,n="center"]=e.split("-");return[t,n]}const Gj=Rj,E$=Mj,Yj=Ij,Wj=Vj;function qj(e,t){return f.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const E0=e=>{const{present:t,children:n}=e,r=Kj(t),o=typeof n=="function"?n({present:r.isPresent}):f.exports.Children.only(n),i=Re(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.exports.cloneElement(o,{ref:i}):null};E0.displayName="Presence";function Kj(e){const[t,n]=f.exports.useState(),r=f.exports.useRef({}),o=f.exports.useRef(e),i=f.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=qj(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.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 d=i.current,p=tu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ft(()=>{if(t){const u=d=>{const p=tu(r.current).includes(d.animationName);d.target===t&&p&&Wt.exports.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.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:f.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function tu(e){return(e==null?void 0:e.animationName)||"none"}const b$="Popover",[S$,Xj]=la(b$,[x$]),dl=x$(),[Zj,lo]=S$(b$),C$=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=dl(t),l=f.exports.useRef(null),[u,c]=f.exports.useState(!1),[d=!1,p]=Hs({prop:r,defaultProp:o,onChange:i});return f.exports.createElement(Gj,s,f.exports.createElement(Zj,{scope:t,contentId:sl(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.exports.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:u,onCustomAnchorAdd:f.exports.useCallback(()=>c(!0),[]),onCustomAnchorRemove:f.exports.useCallback(()=>c(!1),[]),modal:a},n))},Qj="PopoverAnchor",A$=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=lo(Qj,n),i=dl(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return f.exports.useEffect(()=>(a(),()=>s()),[a,s]),f.exports.createElement(E$,ne({},i,r,{ref:t}))}),Jj="PopoverTrigger",$$=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=lo(Jj,n),i=dl(n),a=Re(t,o.triggerRef),s=f.exports.createElement(be.button,ne({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":N$(o.open)},r,{ref:a,onClick:Te(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.exports.createElement(E$,ne({asChild:!0},i),s)}),T$="PopoverPortal",[ez,tz]=S$(T$,{forceMount:void 0}),P$=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=lo(T$,t);return f.exports.createElement(ez,{scope:t,forceMount:n},f.exports.createElement(E0,{present:n||i.open},f.exports.createElement(wA,{asChild:!0,container:o},r)))},Gs="PopoverContent",k$=f.exports.forwardRef((e,t)=>{const n=tz(Gs,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=lo(Gs,e.__scopePopover);return f.exports.createElement(E0,{present:r||i.open},i.modal?f.exports.createElement(nz,ne({},o,{ref:t})):f.exports.createElement(rz,ne({},o,{ref:t})))}),nz=f.exports.forwardRef((e,t)=>{const n=lo(Gs,e.__scopePopover),r=f.exports.useRef(null),o=Re(t,r),i=f.exports.useRef(!1);return f.exports.useEffect(()=>{const a=r.current;if(a)return EA(a)},[]),f.exports.createElement(kA,{as:Xi,allowPinchZoom:!0},f.exports.createElement(R$,ne({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Te(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Te(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:Te(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),rz=f.exports.forwardRef((e,t)=>{const n=lo(Gs,e.__scopePopover),r=f.exports.useRef(!1);return f.exports.createElement(R$,ne({},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()}}))}),R$=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=lo(Gs,n),h=dl(n);return yA(),f.exports.createElement(xA,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},f.exports.createElement(vA,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.exports.createElement(Yj,ne({"data-state":N$(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),oz="PopoverClose",O$=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=lo(oz,n);return f.exports.createElement(be.button,ne({type:"button"},r,{ref:t,onClick:Te(e.onClick,()=>o.onOpenChange(!1))}))}),M$=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=dl(n);return f.exports.createElement(Wj,ne({},o,r,{ref:t}))});function N$(e){return e?"open":"closed"}const iz=C$,az=A$,L$=$$,sz=P$,D$=k$,lz=O$,F$=M$,uz=Object.freeze(Object.defineProperty({__proto__:null,createPopoverScope:Xj,Popover:C$,PopoverAnchor:A$,PopoverTrigger:$$,PopoverPortal:P$,PopoverContent:k$,PopoverClose:O$,PopoverArrow:M$,Root:iz,Anchor:az,Trigger:L$,Portal:sz,Content:D$,Close:lz,Arrow:F$},Symbol.toStringTag,{value:"Module"})),cz=I(L$)`
491
+ background: none;
492
+ border: none;
493
+ padding: 0;
494
+ `,I$=I(D$)`
495
+ padding: ${D["--ll-spacing-small"]};
496
+ background-color: ${D["--ll-color-background"]};
497
+ box-shadow: ${D["--ll-shadow-small"]};
498
+ border-radius: ${D["--ll-border-radius-small"]};
499
+ width: 240px;
500
+ `,j$=I(F$)`
501
+ fill: ${D["--ll-color-background"]};
502
+ `,dz=Object.freeze(Object.defineProperty({__proto__:null,Trigger:cz,Content:I$,Arrow:j$},Symbol.toStringTag,{value:"Module"})),{Root:fz,Portal:pz}=uz,{Trigger:hz}=dz,mz=({side:e,children:t,className:n,sideOffset:r=wn*2,collisionPadding:o=wn*2})=>ae(pz,{children:en(I$,{side:e,className:n,sideOffset:r,collisionPadding:o,children:[ae(j$,{}),t]})}),iZ=Object.freeze(Object.defineProperty({__proto__:null,Root:fz,Trigger:hz,Content:mz},Symbol.toStringTag,{value:"Module"}));function Zi(){return Zi=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},Zi.apply(this,arguments)}var On;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(On||(On={}));var kc=function(e){return e},L_="beforeunload",vz="popstate";function gz(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,P=S.hash,F=o.state||{};return[F.idx,kc({pathname:C,search:T,hash:P,state:F.usr||null,key:F.key||"default"})]}var a=null;function s(){if(a)h.call(a),a=null;else{var S=On.Pop,C=i(),T=C[0],P=C[1];if(h.length){if(T!=null){var F=c-T;F&&(a={action:S,location:P,retry:function(){E(F*-1)}},E(F))}}else g(S)}}r.addEventListener(vz,s);var l=On.Pop,u=i(),c=u[0],d=u[1],p=Rc(),h=Rc();c==null&&(c=0,o.replaceState(Zi({},o.state,{idx:c}),""));function v(S){return typeof S=="string"?S:z$(S)}function m(S,C){return C===void 0&&(C=null),kc(Zi({pathname:d.pathname,hash:"",search:""},typeof S=="string"?Lm(S):S,{state:C,key:Nm()}))}function _(S,C){return[{usr:S.state,key:S.key,idx:C},v(S)]}function y(S,C,T){return!h.length||(h.call({action:S,location:C,retry:T}),!1)}function g(S){l=S;var C=i();c=C[0],d=C[1],p.call({action:l,location:d})}function x(S,C){var T=On.Push,P=m(S,C);function F(){x(S,C)}if(y(T,P,F)){var z=_(P,c+1),W=z[0],H=z[1];try{o.pushState(W,"",H)}catch(ee){r.location.assign(H)}g(T)}}function w(S,C){var T=On.Replace,P=m(S,C);function F(){w(S,C)}if(y(T,P,F)){var z=_(P,c),W=z[0],H=z[1];o.replaceState(W,"",H),g(T)}}function E(S){o.go(S)}var b={get action(){return l},get location(){return d},createHref:v,push:x,replace:w,go:E,back:function(){E(-1)},forward:function(){E(1)},listen:function(C){return p.push(C)},block:function(C){var T=h.push(C);return h.length===1&&r.addEventListener(L_,F_),function(){T(),h.length||r.removeEventListener(L_,F_)}}};return b}function yz(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=kc(Zi({pathname:"/",search:"",hash:"",state:null,key:Nm()},typeof x=="string"?Lm(x):x));return w}),a=D_(o==null?i.length-1:o,0,i.length-1),s=On.Pop,l=i[a],u=Rc(),c=Rc();function d(x){return typeof x=="string"?x:z$(x)}function p(x,w){return w===void 0&&(w=null),kc(Zi({pathname:l.pathname,search:"",hash:""},typeof x=="string"?Lm(x):x,{state:w,key:Nm()}))}function h(x,w,E){return!c.length||(c.call({action:x,location:w,retry:E}),!1)}function v(x,w){s=x,l=w,u.call({action:s,location:l})}function m(x,w){var E=On.Push,b=p(x,w);function S(){m(x,w)}h(E,b,S)&&(a+=1,i.splice(a,i.length,b),v(E,b))}function _(x,w){var E=On.Replace,b=p(x,w);function S(){_(x,w)}h(E,b,S)&&(i[a]=b,v(E,b))}function y(x){var w=D_(a+x,0,i.length-1),E=On.Pop,b=i[w];function S(){y(x)}h(E,b,S)&&(a=w,v(E,b))}var g={get index(){return a},get action(){return s},get location(){return l},createHref:d,push:m,replace:_,go:y,back:function(){y(-1)},forward:function(){y(1)},listen:function(w){return u.push(w)},block:function(w){return c.push(w)}};return g}function D_(e,t,n){return Math.min(Math.max(e,t),n)}function F_(e){e.preventDefault(),e.returnValue=""}function Rc(){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 Nm(){return Math.random().toString(36).substr(2,8)}function z$(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 Lm(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}/**
503
+ * react-location
504
+ *
505
+ * Copyright (c) TanStack
506
+ *
507
+ * This source code is licensed under the MIT license found in the
508
+ * LICENSE.md file in the root directory of this source tree.
509
+ *
510
+ * @license MIT
511
+ */function En(){return En=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},En.apply(this,arguments)}function Dm(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 xz(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 I_(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function _z(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],I_(t.shift())):r[n]=I_(t.shift());return r}const wz=["children","location","__experimental__snapshot"],Ez=["location","__experimental__snapshot"],bz=["basepath","routes"],V$=f.exports.createContext(null),B$=f.exports.createContext(null),U$=f.exports.createContext(null),H$=Boolean(typeof window<"u"&&window.document&&window.document.createElement),Fm=H$?f.exports.useLayoutEffect:f.exports.useEffect,Sz=()=>H$?gz():yz();class b0{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 Cz extends b0{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||Sz(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:Iz,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:Fz,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=En({},this.current,n.from),l=Dz(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=V_(n.search,u))!=null?i:{}:(a=n.__searchFilters)!=null&&a.length?u:{},d=Im(s.search,c),p=this.stringifySearch(d);let h=n.hash===!0?s.hash:V_(n.hash,s.hash);return h=h?"#"+h:"",{pathname:l,search:d,searchStr:p,hash:h,href:""+l+p+h,key:n.key}}navigate(t,n){this.current=t,this.navigateTimeout&&clearTimeout(this.navigateTimeout);let r="replace";return n||(r="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(r="replace"),r==="replace"?this.history.replace({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr}):this.history.push({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr})}parseLocation(t,n){var r;const o=this.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:Im(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 G$(e){return L(B$.Provider,{...e})}function Az(e){let{children:t,location:n,__experimental__snapshot:r}=e,o=Dm(e,wz);const i=f.exports.useRef(null);i.current||(i.current=new Tz({location:n,__experimental__snapshot:r,routes:o.routes}));const a=i.current,[s,l]=f.exports.useReducer(()=>({}),{});return a.update(o),Fm(()=>a.subscribe(()=>{l()}),[]),Fm(()=>a.updateLocation(n.current).unsubscribe,[n.current.key]),f.exports.createElement(V$.Provider,{value:{location:n}},f.exports.createElement(U$.Provider,{value:{router:a}},L($z,{}),L(G$,{value:[a.rootMatch,...a.state.matches],children:t!=null?t:L(S0,{})})))}function $z(){const e=pa(),t=Z$(),n=X$();return Fm(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class Tz extends b0{constructor(t){var n;let{location:r,__experimental__snapshot:o}=t,i=Dm(t,Ez);super(),this.routesById={},this.update=s=>{let{basepath:l,routes:u}=s,c=Dm(s,bz);Object.assign(this,c),this.basepath=nf("/"+(l!=null?l:"")),this.routesById={};const d=(p,h)=>p.map(v=>{var m,_,y,g;const x=(m=v.path)!=null?m:"*",w=Qi([(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=En({},v,{pendingMs:(_=v.pendingMs)!=null?_:c==null?void 0:c.defaultPendingMs,pendingMinMs:(y=v.pendingMinMs)!=null?y:c==null?void 0:c.defaultPendingMinMs,id:w}),this.routesById[w])throw new Error;return this.routesById[w]=v,v.children=(g=v.children)!=null&&g.length?d(v.children,v):void 0,v});this.routes=d(u),this.rootMatch={id:"root",params:{},search:{},pathname:this.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},this.setState=s=>{const l=s({state:this.state,pending:this.pending});this.state=l.state,this.pending=l.pending,this.cleanMatchCache(),this.notify()},this.matchCache={},this.cleanMatchCache=()=>{var s,l,u;const c=[...(s=this==null?void 0:this.state.matches)!=null?s:[],...(l=this==null||(u=this.pending)==null?void 0:u.matches)!=null?l:[]].map(d=>d.id);Object.values(this.matchCache).forEach(d=>{var p;if(!d.updatedAt||c.includes(d.id))return;const h=Date.now()-((p=d.updatedAt)!=null?p:0);(!d.maxAge||h>d.maxAge)&&(d.route.unloader&&d.route.unloader(d),delete this.matchCache[d.id])})},this.updateLocation=s=>{let l;return{promise:new Promise(c=>{const d=new j_(this,s);this.setState(p=>En({},p,{pending:{location:d.location,matches:d.matches}})),l=d.subscribe(()=>{const p=this.state.matches;p.filter(h=>!d.matches.find(v=>v.id===h.id)).forEach(h=>{h.onExit==null||h.onExit(h)}),p.filter(h=>d.matches.find(v=>v.id===h.id)).forEach(h=>{h.route.onTransition==null||h.route.onTransition(h)}),d.matches.filter(h=>!p.find(v=>v.id===h.id)).forEach(h=>{h.onExit=h.route.onMatch==null?void 0:h.route.onMatch(h)}),this.setState(h=>En({},h,{state:{location:d.location,matches:d.matches},pending:void 0})),c()}),d.loadData(),d.startPending()}),unsubscribe:l}},this.__experimental__createSnapshot=()=>({location:this.state.location,matches:this.state.matches.map(s=>{let{ownData:l,id:u}=s;return{id:u,ownData:l}})}),this.update(i);let a=[];if(o){const s=new j_(this,r.current);s.matches.forEach((l,u)=>{var c,d,p;if(l.id!==((c=o.matches[u])==null?void 0:c.id)){var h;throw new Error("Router hydration mismatch: "+l.id+" !== "+((h=o.matches[u])==null?void 0:h.id))}l.ownData=(d=(p=o.matches[u])==null?void 0:p.ownData)!=null?d:{}}),Y$(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 pa(){const e=f.exports.useContext(V$);return Q$(!!e,"useLocation must be used within a <ReactLocation />"),e.location}class Pz{constructor(t){this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=n=>{var r;(r=this.matchLoader)==null||r.preNotify(n?this:void 0)},this.assignMatchLoader=n=>{this.matchLoader=n},this.startPending=()=>{this.pendingTimeout&&clearTimeout(this.pendingTimeout),this.route.pendingMs!==void 0&&(this.pendingTimeout=setTimeout(()=>{var n;this.status==="loading"&&(this.status="pending"),(n=this.notify)==null||n.call(this),typeof this.route.pendingMinMs<"u"&&(this.pendingMinPromise=new Promise(r=>setTimeout(r,this.route.pendingMinMs)))},this.route.pendingMs))},this.load=n=>{var r,o;if(this.maxAge=(r=(o=n.maxAge)!=null?o:this.route.loaderMaxAge)!=null?r:n.router.defaultLoaderMaxAge,this.loaderPromise)return;const i=this.route.import;this.loaderPromise=(i?(()=>(this.isLoading=!0,i({params:this.params,search:this.search}).then(a=>{this.route=En({},this.route,a)})))():Promise.resolve()).then(()=>{const a=[];["element","errorElement","pendingElement"].forEach(c=>{const d=this.route[c];this[c]||(typeof d=="function"?(this.isLoading=!0,a.push(d(this).then(p=>{this[c]=p}))):this[c]=this.route[c])});const l=this.route.loader,u=l?new Promise(async c=>{this.isLoading=!0;const d=v=>{this.updatedAt=Date.now(),c(this.ownData),this.status=v},p=v=>{this.ownData=v,this.error=void 0,d("resolved")},h=v=>{console.error(v),this.error=v,d("rejected")};try{p(await l(this,{parentMatch:n.parentMatch,dispatch:async v=>{var m;v.type==="resolve"?p(v.data):v.type==="reject"?h(v.error):v.type==="loading"?this.isLoading=!0:v.type==="maxAge"&&(this.maxAge=v.maxAge),this.updatedAt=Date.now(),(m=this.notify)==null||m.call(this,!0)}}))}catch(v){h(v)}}):Promise.resolve();return Promise.all([...a,u]).then(()=>{this.status="resolved",this.isLoading=!1,this.startPending=void 0}).then(()=>this.pendingMinPromise).then(()=>{var c;this.pendingTimeout&&clearTimeout(this.pendingTimeout),(c=this.notify)==null||c.call(this,!0)})}).then(()=>this.ownData)},Object.assign(this,t)}}class j_ extends b0{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",Y$(this.matches),this.notify())},this.loadData=async function(i){var a;let{maxAge:s}=i===void 0?{}:i;if(r.router.cleanMatchCache(),!((a=r.matches)!=null&&a.length)){r.preNotify();return}return r.firstRenderPromises=[],r.matches.forEach((l,u)=>{var c,d;const p=(c=r.matches)==null?void 0:c[u-1];l.assignMatchLoader==null||l.assignMatchLoader(r),l.load==null||l.load({maxAge:s,parentMatch:p,router:r.router}),(d=r.firstRenderPromises)==null||d.push(l.loaderPromise)}),await Promise.all(r.firstRenderPromises).then(()=>(r.preNotify(),r.matches))},this.load=async function(i){let{maxAge:a}=i===void 0?{}:i;return await r.loadData({maxAge:a})},this.startPending=async()=>{this.matches.forEach(i=>i.startPending==null?void 0:i.startPending())},this.router=t,this.location=n,this.matches=[];const o=q$(this.router,this.location);this.matches=o==null?void 0:o.map(i=>(this.router.matchCache[i.id]||(this.router.matchCache[i.id]=new Pz(i)),this.router.matchCache[i.id]))}}function Y$(e){e==null||e.forEach((t,n)=>{var r;const o=e==null?void 0:e[n-1];t.data=En({},(r=o==null?void 0:o.data)!=null?r:{},t.ownData)})}function W$(){const e=f.exports.useContext(U$);if(!e)throw Q$(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function q$(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 y=Qi([s,v.path]),g=!!(v.path!=="/"||(m=v.children)!=null&&m.length),x=Oz(t,{to:y,search:v.search,fuzzy:g,caseSensitive:(_=v.caseSensitive)!=null?_:e.caseSensitive});return x&&(l=En({},l,x)),!!x});if(!c)return;const d=z_(c.path,l);s=Qi([s,d]);const h={id:z_(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 z_(e,t,n){const r=Ys(e);return Qi(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 K$(){return f.exports.useContext(B$)}function kz(){var e;return(e=K$())==null?void 0:e[0]}function X$(){const e=pa(),t=kz(),n=Z$();function r(o){var i;let{search:a,hash:s,replace:l,from:u,to:c,fromCurrent:d}=o;d=(i=d)!=null?i:typeof c>"u";const p=n({to:c,search:a,hash:s,from:d?e.current:u!=null?u:{pathname:t.pathname}});e.navigate(p,l)}return J$(r)}function Z$(){const e=pa(),t=W$();return J$(r=>{const o=e.buildNext(t.basepath,r),a=q$(t,o).map(s=>{var l;return(l=s.route.searchFilters)!=null?l:[]}).flat().filter(Boolean);return e.buildNext(t.basepath,En({},r,{__searchFilters:a}))})}function S0(){var e;const t=W$(),[n,...r]=K$(),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:L(S0,{})})();return L(G$,{value:r,children:a})}function Rz(){return pa().current.search}function Oz(e,t){const n=Nz(e,t),r=Lz(e,t);if(!(t.to&&!n)&&!(t.search&&!r))return n!=null?n:{}}function Q$(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Mz(e){return typeof e=="function"}function V_(e,t){return Mz(e)?e(t):e}function Qi(e){return nf(e.filter(Boolean).join("/"))}function nf(e){return(""+e).replace(/\/{2,}/g,"/")}function Nz(e,t){var n;const r=Ys(e.pathname),o=Ys(""+((n=t.to)!=null?n:"*")),i={};return(()=>{for(let s=0;s<Math.max(r.length,o.length);s++){const l=r[s],u=o[s],c=s===o.length-1,d=s===r.length-1;if(u){if(u.type==="wildcard")return l!=null&&l.value?(i["*"]=Qi(r.slice(s).map(p=>p.value)),!0):!1;if(u.type==="pathname"){if(u.value==="/"&&!(l!=null&&l.value))return!0;if(l){if(t.caseSensitive){if(u.value!==l.value)return!1}else if(u.value.toLowerCase()!==l.value.toLowerCase())return!1}}if(!l)return!1;u.type==="param"&&(i[u.value.substring(1)]=l.value)}if(c&&!d)return!!t.fuzzy}return!0})()?i:void 0}function Lz(e,t){return!!(t.search&&t.search(e.search))}function Ys(e){if(!e)return[];e=nf(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 Dz(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");let r=Ys(t);const o=Ys(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=Qi([e,...r.map(a=>a.value)]);return nf(i)}function J$(e){const t=f.exports.useRef(),n=f.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current(...arguments)}),t.current}function Im(e,t){if(e===t)return e;const n=Array.isArray(e)&&Array.isArray(t);if(n||B_(e)&&B_(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]=Im(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function B_(e){if(!U_(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!U_(n)||!n.hasOwnProperty("isPrototypeOf"))}function U_(e){return Object.prototype.toString.call(e)==="[object Object]"}const Fz=jz(JSON.parse),Iz=zz(JSON.stringify);function jz(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));let n=_z(t);for(let r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch(i){}}return n}}function zz(e){return t=>{t=En({},t),t&&Object.keys(t).forEach(r=>{const o=t[r];if(typeof o>"u"||o===void 0)delete t[r];else if(o&&typeof o=="object"&&o!==null)try{t[r]=e(o)}catch(i){}});const n=xz(t).toString();return n?"?"+n:""}}function jm(e,t){return jm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},jm(e,t)}function Vz(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jm(e,t)}var Bz=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])})},H_={error:null},Uz=function(e){Vz(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=H_,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(H_)},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&&Bz(o.resetKeys,s)){var l,u;(l=(u=this.props).onResetKeysChange)==null||l.call(u,o.resetKeys,s),this.reset()}},n.render=function(){var o=this.state.error,i=this.props,a=i.fallbackRender,s=i.FallbackComponent,l=i.fallback;if(o!==null){var u={error:o,resetErrorBoundary:this.resetErrorBoundary};if(f.exports.isValidElement(l))return l;if(typeof a=="function")return a(u);if(s)return L(s,{...u});throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(f.exports.Component);class rf{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 C0=typeof window>"u";function pn(){}function Hz(e,t){return typeof e=="function"?e(t):e}function Gz(e){return typeof e=="number"&&e>=0&&e!==1/0}function Yz(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ep(e,t,n){return of(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function $r(e,t,n){return of(e)?[{...t,queryKey:e},n]:[e||{},t]}function G_(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(of(a)){if(r){if(t.queryHash!==A0(a,t.options))return!1}else if(!Oc(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof o<"u"&&o!==t.state.fetchStatus||i&&!i(t))}function Y_(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:i}=e;if(of(i)){if(!t.options.mutationKey)return!1;if(n){if(To(t.options.mutationKey)!==To(i))return!1}else if(!Oc(t.options.mutationKey,i))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||o&&!o(t))}function A0(e,t){return((t==null?void 0:t.queryKeyHashFn)||To)(e)}function To(e){return JSON.stringify(e,(t,n)=>zm(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Oc(e,t){return eT(e,t)}function eT(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!eT(e[n],t[n])):!1}function tT(e,t){if(e===t)return e;const n=W_(e)&&W_(t);if(n||zm(e)&&zm(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]=tT(e[u],t[u]),a[u]===e[u]&&s++}return r===i&&s===r?e:a}return t}function aZ(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function W_(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function zm(e){if(!q_(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!q_(n)||!n.hasOwnProperty("isPrototypeOf"))}function q_(e){return Object.prototype.toString.call(e)==="[object Object]"}function of(e){return Array.isArray(e)}function nT(e){return new Promise(t=>{setTimeout(t,e)})}function K_(e){nT(0).then(e)}function Wz(){if(typeof AbortController=="function")return new AbortController}function qz(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?tT(e,t):t}class Kz extends rf{constructor(){super(),this.setup=t=>{if(!C0&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Vm=new Kz;class Xz extends rf{constructor(){super(),this.setup=t=>{if(!C0&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Mc=new Xz;function Zz(e){return Math.min(1e3*2**e,3e4)}function $0(e){return(e!=null?e:"online")==="online"?Mc.isOnline():!0}class rT{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function bp(e){return e instanceof rT}function oT(e){let t=!1,n=0,r=!1,o,i,a;const s=new Promise((_,y)=>{i=_,a=y}),l=_=>{r||(h(new rT(_)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},d=()=>!Vm.isFocused()||e.networkMode!=="always"&&!Mc.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=y=>{if(r||!d())return _(y)},e.onPause==null||e.onPause()}).then(()=>{o=void 0,r||e.onContinue==null||e.onContinue()}),m=()=>{if(r)return;let _;try{_=e.fn()}catch(y){_=Promise.reject(y)}Promise.resolve(_).then(p).catch(y=>{var g,x;if(r)return;const w=(g=e.retry)!=null?g:3,E=(x=e.retryDelay)!=null?x:Zz,b=typeof E=="function"?E(n,y):E,S=w===!0||typeof w=="number"&&n<w||typeof w=="function"&&w(n,y);if(t||!S){h(y);return}n++,e.onFail==null||e.onFail(n,y),nT(b).then(()=>{if(d())return v()}).then(()=>{t?h(y):m()})})};return $0(e.networkMode)?m():v().then(m),{promise:s,cancel:l,continue:()=>{o==null||o()},cancelRetry:u,continueRetry:c}}const T0=console;function Qz(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const o=c=>{let d;t++;try{d=c()}finally{t--,t||s()}return d},i=c=>{t?e.push(c):K_(()=>{n(c)})},a=c=>(...d)=>{i(()=>{c(...d)})},s=()=>{const c=e;e=[],c.length&&K_(()=>{r(()=>{c.forEach(d=>{n(d)})})})};return{batch:o,batchCalls:a,schedule:i,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const Ct=Qz();class iT{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Gz(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:C0?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Jz extends iT{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||T0,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||eV(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=qz(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(pn).catch(pn):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||!Yz(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=Wz(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};l(s);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),c={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u,meta:this.meta};if(l(c),(r=this.options.behavior)==null||r.onFetch(c),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=c.fetchOptions)==null?void 0:o.meta)){var d;this.dispatch({type:"fetch",meta:(d=c.fetchOptions)==null?void 0:d.meta})}const p=h=>{if(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=oT({fn:c.fetchFn,abort:a==null?void 0:a.abort.bind(a),onSuccess:h=>{var v,m;if(typeof h>"u"){p(new Error("Query data cannot be undefined"));return}this.setData(h),(v=(m=this.cache.config).onSuccess)==null||v.call(m,h,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const n=r=>{var o,i;switch(t.type){case"failed":return{...r,fetchFailureCount:r.fetchFailureCount+1};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,fetchFailureCount:0,fetchMeta:(o=t.meta)!=null?o:null,fetchStatus:$0(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),Ct.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function eV(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData<"u"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,o=typeof t<"u";return{data:t,dataUpdateCount:0,dataUpdatedAt:o?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:o?"success":"loading",fetchStatus:"idle"}}class tV extends rf{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:A0(i,n);let s=this.get(a);return s||(s=new Jz({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(){Ct.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=$r(t,n);return typeof r.exact>"u"&&(r.exact=!0),this.queries.find(o=>G_(r,o))}findAll(t,n){const[r]=$r(t,n);return Object.keys(r).length>0?this.queries.filter(o=>G_(r,o)):this.queries}notify(t){Ct.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ct.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Ct.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class nV extends iT{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||T0,this.observers=[],this.state=t.state||rV(),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=oT({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:()=>{this.dispatch({type:"failed"})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(x=this.options.retry)!=null?x:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,o,i,a,s,l;if(!n){var u,c,d,p;this.dispatch({type:"loading",variables:this.options.variables}),(u=(c=this.mutationCache.config).onMutate)==null||u.call(c,this.state.variables,this);const w=await((d=(p=this.options).onMutate)==null?void 0:d.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,_,y,g;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((y=(g=this.options).onSettled)==null?void 0:y.call(g,void 0,x,this.state.variables,this.state.context)),x}finally{this.dispatch({type:"error",error:x})}}}dispatch(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:r.failureCount+1};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"loading":return{...r,context:t.context,data:void 0,error:null,isPaused:!$0(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),Ct.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function rV(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class oV extends rf{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const o=new nV({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(){Ct.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(n=>Y_(t,n))}findAll(t){return this.mutations.filter(n=>Y_(t,n))}notify(t){Ct.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return Ct.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(pn)),Promise.resolve()))}}function iV(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,o,i,a;const s=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,l=(r=e.fetchOptions)==null||(o=r.meta)==null?void 0:o.fetchMore,u=l==null?void 0:l.pageParam,c=(l==null?void 0:l.direction)==="forward",d=(l==null?void 0:l.direction)==="backward",p=((i=e.state.data)==null?void 0:i.pages)||[],h=((a=e.state.data)==null?void 0:a.pageParams)||[];let v=h,m=!1;const _=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)m=!0;else{var C;(C=e.signal)==null||C.addEventListener("abort",()=>{m=!0})}return e.signal}})},y=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),g=(b,S,C,T)=>(v=T?[S,...v]:[...v,S],T?[C,...b]:[...b,C]),x=(b,S,C,T)=>{if(m)return Promise.reject("Cancelled");if(typeof C>"u"&&!S&&b.length)return Promise.resolve(b);const P={queryKey:e.queryKey,pageParam:C,meta:e.meta};_(P);const F=y(P);return Promise.resolve(F).then(W=>g(b,C,W,T))};let w;if(!p.length)w=x([]);else if(c){const b=typeof u<"u",S=b?u:X_(e.options,p);w=x(p,b,S)}else if(d){const b=typeof u<"u",S=b?u:aV(e.options,p);w=x(p,b,S,!0)}else{v=[];const b=typeof e.options.getNextPageParam>"u";w=(s&&p[0]?s(p[0],0,p):!0)?x([],b,h[0]):Promise.resolve(g([],h[0],p[0]));for(let C=1;C<p.length;C++)w=w.then(T=>{if(s&&p[C]?s(p[C],C,p):!0){const F=b?h[C]:X_(e.options,T);return x(T,b,F)}return Promise.resolve(g(T,h[C],p[C]))})}return w.then(b=>({pages:b,pageParams:v}))}}}}function X_(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function aV(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class sV{constructor(t={}){this.queryCache=t.queryCache||new tV,this.mutationCache=t.mutationCache||new oV,this.logger=t.logger||T0,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=Vm.subscribe(()=>{Vm.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Mc.subscribe(()=>{Mc.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]=$r(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=Hz(n,i);if(typeof a>"u")return;const s=Ep(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(a,{...r,manual:!0})}setQueriesData(t,n,r){return Ct.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]=$r(t,n),o=this.queryCache;Ct.batch(()=>{o.findAll(r).forEach(i=>{o.remove(i)})})}resetQueries(t,n,r){const[o,i]=$r(t,n,r),a=this.queryCache,s={type:"active",...o};return Ct.batch(()=>(a.findAll(o).forEach(l=>{l.reset()}),this.refetchQueries(s,i)))}cancelQueries(t,n,r){const[o,i={}]=$r(t,n,r);typeof i.revert>"u"&&(i.revert=!0);const a=Ct.batch(()=>this.queryCache.findAll(o).map(s=>s.cancel(i)));return Promise.all(a).then(pn).catch(pn)}invalidateQueries(t,n,r){const[o,i]=$r(t,n,r);return Ct.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]=$r(t,n,r),a=Ct.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(pn);return i!=null&&i.throwOnError||(s=s.catch(pn)),s}fetchQuery(t,n,r){const o=Ep(t,n,r),i=this.defaultQueryOptions(o);typeof i.retry>"u"&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(pn).catch(pn)}fetchInfiniteQuery(t,n,r){const o=Ep(t,n,r);return o.behavior=iV(),this.fetchQuery(o)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(pn).catch(pn)}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=>To(t)===To(o.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>Oc(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(o=>To(t)===To(o.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>Oc(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=A0(n.queryKey,n)),typeof n.refetchOnReconnect>"u"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary>"u"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}const Z_=f.exports.createContext(void 0),aT=f.exports.createContext(!1);function sT(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Z_),window.ReactQueryClientContext):Z_)}const sZ=({context:e}={})=>{const t=f.exports.useContext(sT(e,f.exports.useContext(aT)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},lV=({client:e,children:t,context:n,contextSharing:r=!1})=>{f.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const o=sT(n,r);return L(aT.Provider,{value:!n&&r,children:L(o.Provider,{value:e,children:t})})},uV="modulepreload",cV=function(e){return"/sdks-app/v1/"+e},Q_={},Ji=function(t,n,r){return!n||n.length===0?t():Promise.all(n.map(o=>{if(o=cV(o),o in Q_)return;Q_[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${a}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":uV,i||(s.as="script",s.crossOrigin=""),s.href=o,document.head.appendChild(s),i)return new Promise((l,u)=>{s.addEventListener("load",l),s.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())};var Bm=(e=>(e.LOCAL_CONTENT="local-content",e.DATA_EXPLORER="data-explorer",e))(Bm||{});const dV=new Cz,fV=J.lazy(()=>Ji(()=>import("./index.465d1ec4.js"),["assets/index.465d1ec4.js","assets/index.3a10cc5f.js","assets/index.08649806.css"])),pV=J.lazy(()=>Ji(()=>import("./index.1e974327.js"),["assets/index.1e974327.js","assets/index.3a10cc5f.js","assets/index.08649806.css"])),hV=({children:e})=>{const t=[{path:`/sdks-app/v1/${Bm.LOCAL_CONTENT}`,element:L(fV,{})},{path:`/sdks-app/v1/${Bm.DATA_EXPLORER}`,element:L(pV,{})}];return L(Az,{location:dV,routes:t,children:e})};var mV=Object.defineProperty,vV=(e,t,n)=>t in e?mV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gr=(e,t,n)=>(vV(e,typeof t!="symbol"?t+"":t,n),n);const gV="CONNECT",yV="DEFAULT";function xV(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lT={exports:{}};(function(e){var t=(()=>{var n=Object.defineProperty,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,a=(_,y,g)=>y in _?n(_,y,{enumerable:!0,configurable:!0,writable:!0,value:g}):_[y]=g,s=(_,y)=>{for(var g in y||(y={}))o.call(y,g)&&a(_,g,y[g]);if(r)for(var g of r(y))i.call(y,g)&&a(_,g,y[g]);return _},l=_=>n(_,"__esModule",{value:!0}),u=(_,y)=>{l(_);for(var g in y)n(_,g,{get:y[g],enumerable:!0})},c={};u(c,{DEFAULT_UUID_LENGTH:()=>p,default:()=>m});var d="4.4.4",p=6,h={dictionary:"alphanum",shuffle:!0,debug:!1,length:p},v=class extends Function{constructor(_={}){super(),this.dictIndex=0,this.dictRange=[],this.lowerBound=0,this.upperBound=0,this.dictLength=0,this._digit_first_ascii=48,this._digit_last_ascii=58,this._alpha_lower_first_ascii=97,this._alpha_lower_last_ascii=123,this._hex_last_ascii=103,this._alpha_upper_first_ascii=65,this._alpha_upper_last_ascii=91,this._number_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii]},this._alpha_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alpha_lower_dict_ranges={lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alpha_upper_dict_ranges={upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._alphanum_lower_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]},this._alphanum_upper_dict_ranges={digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]},this._hex_dict_ranges={decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]},this.log=(...E)=>{const b=[...E];if(b[0]=`[short-unique-id] ${E[0]}`,this.debug===!0&&typeof console<"u"&&console!==null)return console.log(...b)},this.setDictionary=(E,b)=>{let S;if(E&&Array.isArray(E)&&E.length>1)S=E;else{S=[];let C;this.dictIndex=C=0;const T=`_${E}_dict_ranges`,P=this[T];Object.keys(P).forEach(F=>{const z=F;for(this.dictRange=P[z],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=C=this.lowerBound;this.lowerBound<=this.upperBound?C<this.upperBound:C>this.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?C+=1:C-=1)S.push(String.fromCharCode(this.dictIndex))})}b&&(S=S.sort(()=>Math.random()-.5)),this.dict=S,this.dictLength=this.dict.length,this.counter=0},this.seq=()=>this.sequentialUUID(),this.sequentialUUID=()=>{let E,b,S="";E=this.counter;do b=E%this.dictLength,E=Math.trunc(E/this.dictLength),S+=this.dict[b];while(E!==0);return this.counter+=1,S},this.randomUUID=(E=this.uuidLength||p)=>{let b,S,C;if(E===null||typeof E>"u"||E<1)throw new Error("Invalid UUID Length Provided");for(b="",C=0;C<E;C+=1)S=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,b+=this.dict[S];return b},this.availableUUIDs=(E=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,E).toFixed(0)),this.approxMaxBeforeCollision=(E=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*E).toFixed(20)),this.collisionProbability=(E=this.availableUUIDs(this.uuidLength),b=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(E)/this.availableUUIDs(b)).toFixed(20)),this.uniqueness=(E=this.availableUUIDs(this.uuidLength))=>{const b=parseFloat((1-this.approxMaxBeforeCollision(E)/E).toFixed(20));return b>1?1:b<0?0:b},this.getVersion=()=>this.version,this.stamp=E=>{if(typeof E!="number"||E<10)throw new Error("Param finalLength must be number greater than 10");const b=Math.floor(+new Date/1e3).toString(16),S=E-9,C=Math.round(Math.random()*(S>15?15:S)),T=this.randomUUID(S);return`${T.substr(0,C)}${b}${T.substr(C)}${C.toString(16)}`},this.parseStamp=E=>{if(E.length<10)throw new Error("Stamp length invalid");const b=parseInt(E.substr(E.length-1,1),16);return new Date(parseInt(E.substr(b,8),16)*1e3)};const y=s(s({},h),_);this.counter=0,this.debug=!1,this.dict=[],this.version=d;const{dictionary:g,shuffle:x,length:w}=y;return this.uuidLength=w,this.setDictionary(g,x),this.debug=y.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength}`),new Proxy(this,{apply:(E,b,S)=>this.randomUUID(...S)})}},m=v;return m.default=v,c})();e.exports=t.default,typeof window<"u"&&(t=t.default)})(lT);const _V=xV(lT.exports),J_=new _V({length:10});class P0{constructor(t,n){gr(this,"connection"),gr(this,"channelId"),gr(this,"boundMessageHandler"),gr(this,"onMessageHandlers",[]),gr(this,"resolveConnection"),gr(this,"channelNodeId"),gr(this,"crossOrigin"),gr(this,"message",(r,o,i)=>this.crossOrigin?this.postMessage(r,o,i):this.customEventMessage(r,o,i)),this.channelId=t!=null?t:yV,this.channelNodeId=`channel-node-${J_()}`,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=J_();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(P0.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 wV extends P0{connect(){return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest(gV).then(t=>{this.resolveConnection(t)}),this.connection}}var EV="Expected a function",ew=1/0,bV=17976931348623157e292,tw=0/0,SV="[object Symbol]",CV=/^\s+|\s+$/g,AV=/^[-+]0x[0-9a-f]+$/i,$V=/^0b[01]+$/i,TV=/^0o[0-7]+$/i,PV=parseInt,kV=Object.prototype,RV=kV.toString;function OV(e,t){var n;if(typeof t!="function")throw new TypeError(EV);return e=FV(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function MV(e){return OV(2,e)}function nw(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function NV(e){return!!e&&typeof e=="object"}function LV(e){return typeof e=="symbol"||NV(e)&&RV.call(e)==SV}function DV(e){if(!e)return e===0?e:0;if(e=IV(e),e===ew||e===-ew){var t=e<0?-1:1;return t*bV}return e===e?e:0}function FV(e){var t=DV(e),n=t%1;return t===t?n?t-n:t:0}function IV(e){if(typeof e=="number")return e;if(LV(e))return tw;if(nw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=nw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(CV,"");var n=$V.test(e);return n||TV.test(e)?PV(e.slice(2),n?2:8):AV.test(e)?tw:+e}var uT=MV;const Sp=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function Um(e,...t){if(!t.length)return e;const n=t.shift();return Sp(e)&&Sp(n)&&Object.keys(n).forEach(r=>{Sp(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Um(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),Um(e,...t)}const jV=e=>{const t=f.exports.useRef(e),n=f.exports.useRef(),r=f.exports.useRef(!1),o=f.exports.useRef(!1),[,i]=f.exports.useState(0);r.current&&(o.current=!0),f.exports.useEffect(()=>(r.current||(n.current=t.current(),r.current=!0),i(a=>a+1),()=>{!o.current||n.current&&n.current()}),[])},zV=(e,t)=>{const[n,r]=f.exports.useState(e);return f.exports.useEffect(()=>{const o=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(o)}},[e,t]),n};var ja=(e=>(e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e))(ja||{});const VV={zoom:16,pitch:0,bearing:0,cooperativeGestures:!0},BV={},rw={locale:"en"},UV={"local-content":{globalOptions:rw,options:VV},"data-explorer":{globalOptions:rw,options:BV}},cT=uT(()=>J.createContext({})),dT=()=>{const e=J.useContext(cT());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e},fT=J.memo(({children:e})=>{const t=cT(),n=Rz(),r=J.useRef(n),i=pa().current.pathname.split("/"),a=i[i.length-1],s=UV[a],l=J.useRef(),[u,c]=f.exports.useState(!1),[d,p]=f.exports.useState(s),h=zV(d,500),v=X$(),m=x=>{r.current=x,p(x)},_=x=>{var w;x.name===ja.GET_STATE&&((w=l.current)==null||w.message(ja.GET_STATE_RESPONSE,r.current,x.eventId)),x.name===ja.SET_STATE&&m(x.data)};jV(()=>{const x=new wV(n.channelId,{targetOrigin:document.referrer,window:window.parent});l.current=x,x==null||x.onMessage(_),x==null||x.connect().then(w=>{const E=Um(d,w.data);m(E),c(!0)})});const y=x=>{var w;(w=l.current)==null||w.message(ja.ON_CHANGE,x)};f.exports.useEffect(()=>{v({search:()=>h})},[h]),f.exports.useEffect(()=>{d.options&&y({type:"options",data:d.options})},[d.options]);const g=f.exports.useMemo(()=>({sdkState:d,setSdkState:m,onChange:y}),[d,m,y]);return u?L(t.Provider,{value:g,children:e}):null});fT.displayName="StateManagerProvider";const HV={en:()=>Ji(()=>import("./index.d464e7cf.js"),[]),fr:()=>Ji(()=>import("./index.e63e2d64.js"),[])},GV={en:()=>Ji(()=>import("./index.f4fcee01.js"),[]),fr:()=>Ji(()=>import("./index.130c24fb.js"),[])},YV={"local-content":e=>GV[e](),"data-explorer":e=>HV[e]()},pT=uT(()=>J.createContext({})),lZ=()=>{const e=f.exports.useContext(pT());if(!e)throw new Error("useLangauges must be used under LanguagesProvider");return e},WV=({children:e})=>{var p;const[t,n]=f.exports.useState(!0),[r,o]=f.exports.useState(),{sdkState:i}=dT(),a=((p=i.globalOptions)==null?void 0:p.locale)||"en",s=pT(),u=pa().current.pathname.split("/"),c=u[u.length-1],d=YV[c];if(f.exports.useEffect(()=>{n(!0),d(a).then(h=>{o(h.translations)}).finally(()=>{n(!1)})},[a,d]),t)return null;if(!r)throw new Error("No translations were found.");return L(s.Provider,{value:{translations:r},children:e})};var qV=Object.defineProperty,KV=(e,t,n)=>t in e?qV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ls=(e,t,n)=>(KV(e,typeof t!="symbol"?t+"":t,n),n);function XV(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hT={exports:{}},k0={exports:{}},mT=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}},ZV=mT,uo=Object.prototype.toString;function R0(e){return Array.isArray(e)}function Hm(e){return typeof e>"u"}function QV(e){return e!==null&&!Hm(e)&&e.constructor!==null&&!Hm(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function vT(e){return uo.call(e)==="[object ArrayBuffer]"}function JV(e){return uo.call(e)==="[object FormData]"}function eB(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&vT(e.buffer),t}function tB(e){return typeof e=="string"}function nB(e){return typeof e=="number"}function gT(e){return e!==null&&typeof e=="object"}function Pu(e){if(uo.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function rB(e){return uo.call(e)==="[object Date]"}function oB(e){return uo.call(e)==="[object File]"}function iB(e){return uo.call(e)==="[object Blob]"}function yT(e){return uo.call(e)==="[object Function]"}function aB(e){return gT(e)&&yT(e.pipe)}function sB(e){return uo.call(e)==="[object URLSearchParams]"}function lB(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function uB(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function O0(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),R0(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 Gm(){var e={};function t(o,i){Pu(e[i])&&Pu(o)?e[i]=Gm(e[i],o):Pu(o)?e[i]=Gm({},o):R0(o)?e[i]=o.slice():e[i]=o}for(var n=0,r=arguments.length;n<r;n++)O0(arguments[n],t);return e}function cB(e,t,n){return O0(t,function(r,o){n&&typeof r=="function"?e[o]=ZV(r,n):e[o]=r}),e}function dB(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var jt={isArray:R0,isArrayBuffer:vT,isBuffer:QV,isFormData:JV,isArrayBufferView:eB,isString:tB,isNumber:nB,isObject:gT,isPlainObject:Pu,isUndefined:Hm,isDate:rB,isFile:oB,isBlob:iB,isFunction:yT,isStream:aB,isURLSearchParams:sB,isStandardBrowserEnv:uB,forEach:O0,merge:Gm,extend:cB,trim:lB,stripBOM:dB},Zo=jt;function ow(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var xT=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(Zo.isURLSearchParams(t))r=t.toString();else{var o=[];Zo.forEach(t,function(a,s){a===null||typeof a>"u"||(Zo.isArray(a)?s=s+"[]":a=[a],Zo.forEach(a,function(l){Zo.isDate(l)?l=l.toISOString():Zo.isObject(l)&&(l=JSON.stringify(l)),o.push(ow(s)+"="+ow(l))}))}),r=o.join("&")}if(r){var i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e},fB=jt;function af(){this.handlers=[]}af.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};af.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};af.prototype.forEach=function(e){fB.forEach(this.handlers,function(t){t!==null&&e(t)})};var pB=af,hB=jt,mB=function(e,t){hB.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})},_T=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},wT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cp,iw;function ET(){if(iw)return Cp;iw=1;var e=_T;return Cp=function(t,n,r,o,i){var a=new Error(t);return e(a,n,r,o,i)},Cp}var Ap,aw;function vB(){if(aw)return Ap;aw=1;var e=ET();return Ap=function(t,n,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(e("Request failed with status code "+r.status,r.config,null,r.request,r))},Ap}var $p,sw;function gB(){if(sw)return $p;sw=1;var e=jt;return $p=e.isStandardBrowserEnv()?function(){return{write:function(t,n,r,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(n)),e.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),e.isString(o)&&s.push("path="+o),e.isString(i)&&s.push("domain="+i),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),$p}var lw,uw;function yB(){return uw||(uw=1,lw=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}),lw}var cw,dw;function xB(){return dw||(dw=1,cw=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}),cw}var Tp,fw;function _B(){if(fw)return Tp;fw=1;var e=yB(),t=xB();return Tp=function(n,r){return n&&!e(r)?t(n,r):r},Tp}var Pp,pw;function wB(){if(pw)return Pp;pw=1;var e=jt,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Pp=function(n){var r={},o,i,a;return n&&e.forEach(n.split(`
512
+ `),function(s){if(a=s.indexOf(":"),o=e.trim(s.substr(0,a)).toLowerCase(),i=e.trim(s.substr(a+1)),o){if(r[o]&&t.indexOf(o)>=0)return;o==="set-cookie"?r[o]=(r[o]?r[o]:[]).concat([i]):r[o]=r[o]?r[o]+", "+i:i}}),r},Pp}var kp,hw;function EB(){if(hw)return kp;hw=1;var e=jt;return kp=e.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(i){var a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){var a=e.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),kp}var Rp,mw;function sf(){if(mw)return Rp;mw=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,Rp=e,Rp}var Op,vw;function bB(){if(vw)return Op;vw=1;var e=jt,t=vB(),n=gB(),r=xT,o=_B(),i=wB(),a=EB(),s=ET(),l=wT,u=sf();return Op=function(c){return new Promise(function(d,p){var h=c.data,v=c.headers,m=c.responseType,_;function y(){c.cancelToken&&c.cancelToken.unsubscribe(_),c.signal&&c.signal.removeEventListener("abort",_)}e.isFormData(h)&&delete v["Content-Type"];var g=new XMLHttpRequest;if(c.auth){var x=c.auth.username||"",w=c.auth.password?unescape(encodeURIComponent(c.auth.password)):"";v.Authorization="Basic "+btoa(x+":"+w)}var E=o(c.baseURL,c.url);g.open(c.method.toUpperCase(),r(E,c.params,c.paramsSerializer),!0),g.timeout=c.timeout;function b(){if(g){var C="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,T=!m||m==="text"||m==="json"?g.responseText:g.response,P={data:T,status:g.status,statusText:g.statusText,headers:C,config:c,request:g};t(function(F){d(F),y()},function(F){p(F),y()},P),g=null}}if("onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){!g||(p(s("Request aborted",c,"ECONNABORTED",g)),g=null)},g.onerror=function(){p(s("Network Error",c,null,g)),g=null},g.ontimeout=function(){var C=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",T=c.transitional||l;c.timeoutErrorMessage&&(C=c.timeoutErrorMessage),p(s(C,c,T.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},e.isStandardBrowserEnv()){var S=(c.withCredentials||a(E))&&c.xsrfCookieName?n.read(c.xsrfCookieName):void 0;S&&(v[c.xsrfHeaderName]=S)}"setRequestHeader"in g&&e.forEach(v,function(C,T){typeof h>"u"&&T.toLowerCase()==="content-type"?delete v[T]:g.setRequestHeader(T,C)}),e.isUndefined(c.withCredentials)||(g.withCredentials=!!c.withCredentials),m&&m!=="json"&&(g.responseType=c.responseType),typeof c.onDownloadProgress=="function"&&g.addEventListener("progress",c.onDownloadProgress),typeof c.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",c.onUploadProgress),(c.cancelToken||c.signal)&&(_=function(C){!g||(p(!C||C&&C.type?new u("canceled"):C),g.abort(),g=null)},c.cancelToken&&c.cancelToken.subscribe(_),c.signal&&(c.signal.aborted?_():c.signal.addEventListener("abort",_))),h||(h=null),g.send(h)})},Op}var ct=jt,gw=mB,SB=_T,CB=wT,AB={"Content-Type":"application/x-www-form-urlencoded"};function yw(e,t){!ct.isUndefined(e)&&ct.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function $B(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=bB()),e}function TB(e,t,n){if(ct.isString(e))try{return(t||JSON.parse)(e),ct.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var lf={transitional:CB,adapter:$B(),transformRequest:[function(e,t){return gw(t,"Accept"),gw(t,"Content-Type"),ct.isFormData(e)||ct.isArrayBuffer(e)||ct.isBuffer(e)||ct.isStream(e)||ct.isFile(e)||ct.isBlob(e)?e:ct.isArrayBufferView(e)?e.buffer:ct.isURLSearchParams(e)?(yw(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):ct.isObject(e)||t&&t["Content-Type"]==="application/json"?(yw(t,"application/json"),TB(e)):e}],transformResponse:[function(e){var t=this.transitional||lf.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,o=!n&&this.responseType==="json";if(o||r&&ct.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o)throw i.name==="SyntaxError"?SB(i,this,"E_JSON_PARSE"):i}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ct.forEach(["delete","get","head"],function(e){lf.headers[e]={}});ct.forEach(["post","put","patch"],function(e){lf.headers[e]=ct.merge(AB)});var M0=lf,PB=jt,kB=M0,RB=function(e,t,n){var r=this||kB;return PB.forEach(n,function(o){e=o.call(r,e,t)}),e},xw,_w;function bT(){return _w||(_w=1,xw=function(e){return!!(e&&e.__CANCEL__)}),xw}var ww=jt,Mp=RB,OB=bT(),MB=M0,NB=sf();function Np(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new NB("canceled")}var LB=function(e){Np(e),e.headers=e.headers||{},e.data=Mp.call(e,e.data,e.headers,e.transformRequest),e.headers=ww.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),ww.forEach(["delete","get","head","post","put","patch","common"],function(n){delete e.headers[n]});var t=e.adapter||MB.adapter;return t(e).then(function(n){return Np(e),n.data=Mp.call(e,n.data,n.headers,e.transformResponse),n},function(n){return OB(n)||(Np(e),n&&n.response&&(n.response.data=Mp.call(e,n.response.data,n.response.headers,e.transformResponse))),Promise.reject(n)})},zt=jt,ST=function(e,t){t=t||{};var n={};function r(u,c){return zt.isPlainObject(u)&&zt.isPlainObject(c)?zt.merge(u,c):zt.isPlainObject(c)?zt.merge({},c):zt.isArray(c)?c.slice():c}function o(u){if(zt.isUndefined(t[u])){if(!zt.isUndefined(e[u]))return r(void 0,e[u])}else return r(e[u],t[u])}function i(u){if(!zt.isUndefined(t[u]))return r(void 0,t[u])}function a(u){if(zt.isUndefined(t[u])){if(!zt.isUndefined(e[u]))return r(void 0,e[u])}else return r(void 0,t[u])}function s(u){if(u in t)return r(e[u],t[u]);if(u in e)return r(void 0,e[u])}var l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s};return zt.forEach(Object.keys(e).concat(Object.keys(t)),function(u){var c=l[u]||o,d=c(u);zt.isUndefined(d)&&c!==s||(n[u]=d)}),n},Ew,bw;function CT(){return bw||(bw=1,Ew={version:"0.26.1"}),Ew}var DB=CT().version,N0={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){N0[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Sw={};N0.transitional=function(e,t,n){function r(o,i){return"[Axios v"+DB+"] Transitional option '"+o+"'"+i+(n?". "+n:"")}return function(o,i,a){if(e===!1)throw new Error(r(i," has been removed"+(t?" in "+t:"")));return t&&!Sw[i]&&(Sw[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,i,a):!0}};function FB(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 IB={assertOptions:FB,validators:N0},AT=jt,jB=xT,Cw=pB,Aw=LB,uf=ST,$T=IB,Qo=$T.validators;function fl(e){this.defaults=e,this.interceptors={request:new Cw,response:new Cw}}fl.prototype.request=function(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=uf(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&$T.assertOptions(n,{silentJSONParsing:Qo.transitional(Qo.boolean),forcedJSONParsing:Qo.transitional(Qo.boolean),clarifyTimeoutError:Qo.transitional(Qo.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(t)===!1||(o=o&&d.synchronous,r.unshift(d.fulfilled,d.rejected))});var i=[];this.interceptors.response.forEach(function(d){i.push(d.fulfilled,d.rejected)});var a;if(!o){var s=[Aw,void 0];for(Array.prototype.unshift.apply(s,r),s=s.concat(i),a=Promise.resolve(t);s.length;)a=a.then(s.shift(),s.shift());return a}for(var l=t;r.length;){var u=r.shift(),c=r.shift();try{l=u(l)}catch(d){c(d);break}}try{a=Aw(l)}catch(d){return Promise.reject(d)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};fl.prototype.getUri=function(e){return e=uf(this.defaults,e),jB(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};AT.forEach(["delete","get","head","options"],function(e){fl.prototype[e]=function(t,n){return this.request(uf(n||{},{method:e,url:t,data:(n||{}).data}))}});AT.forEach(["post","put","patch"],function(e){fl.prototype[e]=function(t,n,r){return this.request(uf(r||{},{method:e,url:t,data:n}))}});var zB=fl,Lp,$w;function VB(){if($w)return Lp;$w=1;var e=sf();function t(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(i){r=i});var o=this;this.promise.then(function(i){if(o._listeners){var a,s=o._listeners.length;for(a=0;a<s;a++)o._listeners[a](i);o._listeners=null}}),this.promise.then=function(i){var a,s=new Promise(function(l){o.subscribe(l),a=l}).then(i);return s.cancel=function(){o.unsubscribe(a)},s},n(function(i){o.reason||(o.reason=new e(i),r(o.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var r=this._listeners.indexOf(n);r!==-1&&this._listeners.splice(r,1)}},t.source=function(){var n,r=new t(function(o){n=o});return{token:r,cancel:n}},Lp=t,Lp}var Tw,Pw;function BB(){return Pw||(Pw=1,Tw=function(e){return function(t){return e.apply(null,t)}}),Tw}var Dp,kw;function UB(){if(kw)return Dp;kw=1;var e=jt;return Dp=function(t){return e.isObject(t)&&t.isAxiosError===!0},Dp}var Rw=jt,HB=mT,ku=zB,GB=ST,YB=M0;function TT(e){var t=new ku(e),n=HB(ku.prototype.request,t);return Rw.extend(n,ku.prototype,t),Rw.extend(n,t),n.create=function(r){return TT(GB(e,r))},n}var zn=TT(YB);zn.Axios=ku;zn.Cancel=sf();zn.CancelToken=VB();zn.isCancel=bT();zn.VERSION=CT().version;zn.all=function(e){return Promise.all(e)};zn.spread=BB();zn.isAxiosError=UB();k0.exports=zn;k0.exports.default=zn;(function(e){e.exports=k0.exports})(hT);const PT=XV(hT.exports),WB=(e,t)=>PT.create({baseURL:{VITE_HERE_API_KEY:"KDL0aAzsbOcv7p53P2ovno2izfDOe93hyzZRrayktbE",VITE_API_KEY:"V3 fJThgHrWKzWZXfqwvpGdlx3d8ujnxmT3.d299c257-027b-46f6-b79b-4832b4475fc1",VITE_REACT_APP_MAPTILER_KEY:"9jNGatuzs05Q1oNlctEs",VITE_SEGMENT_KEY:"c0SISxJpICLXxstkrSppa4uxwYzBQbqf",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}.VITE_API_URL||"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t});var kT=(e=>(e[e.groceries=0]="groceries",e[e.groceries_specialized=1]="groceries_specialized",e[e.shopping=2]="shopping",e[e.nightlife=3]="nightlife",e[e.restaurants=4]="restaurants",e[e.cafes=5]="cafes",e[e.daycares=6]="daycares",e[e.bus_stops=7]="bus_stops",e[e.rapid_transit_stations=8]="rapid_transit_stations",e[e.train_stations=9]="train_stations",e[e.parks=10]="parks",e[e.healthy_restaurants=11]="healthy_restaurants",e[e.fitness=12]="fitness",e[e.sport_facilities=13]="sport_facilities",e[e.health_care=14]="health_care",e[e.pet_care=15]="pet_care",e[e.car_fueling_stations=16]="car_fueling_stations",e[e.art_culture_science=17]="art_culture_science",e[e.home_improvement=18]="home_improvement",e[e.personal_care=19]="personal_care",e))(kT||{});const qB="/pois";function Ho(e){this._maxSize=e,this.clear()}Ho.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Ho.prototype.get=function(e){return this._values[e]};Ho.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var KB=/[^.^\]^[]+|(?=\[\]|\.\.)/g,RT=/^\d+$/,XB=/^\d/,ZB=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,QB=/^\s*(['"]?)(.*?)(\1)\s*$/,L0=512,Ow=new Ho(L0),Mw=new Ho(L0),Nw=new Ho(L0),Oo={Cache:Ho,split:Ym,normalizePath:Fp,setter:function(e){var t=Fp(e);return Mw.get(e)||Mw.set(e,function(n,r){for(var o=0,i=t.length,a=n;o<i-1;){var s=t[o];if(s==="__proto__"||s==="constructor"||s==="prototype")return n;a=a[t[o++]]}a[t[o]]=r})},getter:function(e,t){var n=Fp(e);return Nw.get(e)||Nw.set(e,function(r){for(var o=0,i=n.length;o<i;)if(r!=null||!t)r=r[n[o++]];else return;return r})},join:function(e){return e.reduce(function(t,n){return t+(D0(n)||RT.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){JB(Array.isArray(e)?e:Ym(e),t,n)}};function Fp(e){return Ow.get(e)||Ow.set(e,Ym(e).map(function(t){return t.replace(QB,"$2")}))}function Ym(e){return e.match(KB)||[""]}function JB(e,t,n){var r=e.length,o,i,a,s;for(i=0;i<r;i++)o=e[i],o&&(nU(o)&&(o='"'+o+'"'),s=D0(o),a=!s&&/^\d+$/.test(o),t.call(n,o,s,a,i,e))}function D0(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function eU(e){return e.match(XB)&&!e.match(RT)}function tU(e){return ZB.test(e)}function nU(e){return!D0(e)&&(eU(e)||tU(e))}const rU=/[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,cf=e=>e.match(rU)||[],df=e=>e[0].toUpperCase()+e.slice(1),F0=(e,t)=>cf(e).join(t).toLowerCase(),OT=e=>cf(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),oU=e=>df(OT(e)),iU=e=>F0(e,"_"),aU=e=>F0(e,"-"),sU=e=>df(F0(e," ")),lU=e=>cf(e).map(df).join(" ");var Ip={words:cf,upperFirst:df,camelCase:OT,pascalCase:oU,snakeCase:iU,kebabCase:aU,sentenceCase:sU,titleCase:lU},I0={exports:{}};I0.exports=function(e){return MT(uU(e),e)};I0.exports.array=MT;function MT(e,t){var n=e.length,r=new Array(n),o={},i=n,a=cU(t),s=dU(e);for(t.forEach(function(u){if(!s.has(u[0])||!s.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)o[i]||l(e[i],i,new Set);return r;function l(u,c,d){if(d.has(u)){var p;try{p=", node was:"+JSON.stringify(u)}catch(m){p=""}throw new Error("Cyclic dependency"+p)}if(!s.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!o[c]){o[c]=!0;var h=a.get(u)||new Set;if(h=Array.from(h),c=h.length){d.add(u);do{var v=h[--c];l(v,s.get(v),d)}while(c);d.delete(u)}r[--n]=u}}}function uU(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 cU(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 dU(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}const fU=Object.prototype.toString,pU=Error.prototype.toString,hU=RegExp.prototype.toString,mU=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",vU=/^Symbol\((.*)\)(.*)$/;function gU(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Lw(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return gU(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return mU.call(e).replace(vU,"Symbol($1)");const r=fU.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+pU.call(e)+"]":r==="RegExp"?hU.call(e):null}function Mo(e,t){let n=Lw(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let i=Lw(this[r],t);return i!==null?i:o},2)}function NT(e){return e==null?[]:[].concat(e)}let yU=/\$\{\s*(\w+)\s*\}/g;class Rt 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(yU,(o,i)=>Mo(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],NT(t).forEach(i=>{Rt.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,Rt)}}let Gn={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 \`${Mo(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Mo(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Mo(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"},wr={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"},Wm={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},qm={isValue:"${path} field must be ${value}"},Km={noUnknown:"${path} field has unspecified keys: ${unknown}"},Ru={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:Gn,string:dn,number:wr,date:Wm,object:Km,array:Ru,boolean:qm});const ff=e=>e&&e.__isYupSchema__;class Nc{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 Nc(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(!ff(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}function xU(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 nu={context:"$",value:"."};class Xn{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]===nu.context,this.isValue=this.key[0]===nu.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?nu.context:this.isValue?nu.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Oo.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}}Xn.prototype.__isYupRef=!0;const tn=e=>e==null,_U=["value","path","label","options","originalValue","spec","sync"];function Jo(e){function t(n,r,o){let{value:i,path:a="",label:s,options:l,originalValue:u,spec:c,sync:d}=n,p=xU(n,_U);const{name:h,test:v,params:m,message:_,skipAbsent:y}=e;let{parent:g,context:x,abortEarly:w=p.schema.spec.abortEarly}=l;function E(H){return Xn.isRef(H)?H.getValue(i,g,x):H}function b(H={}){const ee=Object.assign({value:i,originalValue:u,label:s,path:H.path||a,spec:c},m,H.params);for(const se of Object.keys(ee))ee[se]=E(ee[se]);const ce=new Rt(Rt.formatError(H.message||_,ee),i,ee.path,H.type||h);return ce.params=ee,ce}const S=w?r:o;let C=Object.assign({path:a,parent:g,type:h,createError:b,resolve:E,options:l,originalValue:u},p);const T=H=>{Rt.isError(H)?S(H):H?o(null):S(b())},P=H=>{Rt.isError(H)?S(H):r(H)},F=y&&tn(i);if(!d){try{Promise.resolve(F?!0:v.call(C,i,C)).then(T,P)}catch(H){P(H)}return}let z;try{var W;if(z=F?!0:v.call(C,i,C),typeof((W=z)==null?void 0:W.then)=="function")throw new Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(H){P(H);return}T(z)}return t.OPTIONS=e,t}let wU=e=>e.substr(0,e.length-1).substr(1);function EU(e,t,n,r=n){let o,i,a;return t?(Oo.forEach(t,(s,l,u)=>{let c=l?wU(s):s;e=e.resolve({context:r,parent:o,value:n});let d=e.type==="tuple",p=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[c],e=e.fields[c]}i=c,a=l?"["+s+"]":"."+s}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}class Lc{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(Xn.isRef(r)?t(r):r),[])}add(t){Xn.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}delete(t){Xn.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}clone(){const t=new Lc;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 wi(e,t=new Map){if(ff(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]=wi(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,wi(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(wi(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=wi(o,t)}else throw Error(`Unable to clone ${e}`);return n}class Yt{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 Lc,this._blacklist=new Lc,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Gn.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=wi(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&&tn(i))return i;let a=Mo(t),s=Mo(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
513
+
514
+ attempted value: ${a}
515
+ `+(s!==a?`result of cast: ${s}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault()),r}_validate(t,n={},r,o){let{sync:i,path:a,from:s=[],originalValue:l=t,strict:u=this.spec.strict}=n,c=t;u||(c=this._cast(c,Object.assign({assert:!1},n)));let d={value:c,path:a,options:n,originalValue:l,schema:this,label:this.spec.label,spec:this.spec,sync:i,from:s},p=[];for(let h of Object.values(this.internalTests))h&&p.push(h);this.runTests({args:d,value:c,tests:p},r,h=>{if(h.length)return o(h,c);this.runTests({args:d,value:c,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:i,args:a,value:s}=t,l=p=>{o||(o=!0,n(p,s))},u=p=>{o||(o=!0,r(p,s))},c=i.length,d=[];if(!c)return u([]);for(let p=0;p<i.length;p++){const h=i[p];h(a,l,function(v){v&&(d=d.concat(v)),--c<=0&&u(d)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:i,options:a}){const s=t!=null?t:n;if(s==null)throw TypeError("Must include `key` or `index` for nested validations");const l=typeof s=="number";let u=r[s];const c=Object.assign({},a,{strict:!0,parent:r,value:u,originalValue:i[s],key:void 0,[l?"index":"key"]:s,path:l||s.includes(".")?`${o||""}[${u?s:`"${s}"`}]`:(o?`${o}.`:"")+t});return(d,p,h)=>this.resolve(c)._validate(u,c,p,h)}validate(t,n){let r=this.resolve(Object.assign({},n,{value:t}));return new Promise((o,i)=>r._validate(t,n,(a,s)=>{Rt.isError(a)&&(a.value=s),i(a)},(a,s)=>{a.length?i(new Rt(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 Rt.isError(i)&&(i.value=a),i},(i,a)=>{if(i.length)throw new Rt(i,t);o=a}),o}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Rt.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Rt.isError(r))return!1;throw r}}_getDefault(){let t=this.spec.default;return t==null?t:typeof t=="function"?t.call(this):wi(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=Jo({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=Jo({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Gn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Gn.notNull){return this.nullability(!1,t)}required(t=Gn.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=Gn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=Jo(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(i||a.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=NT(t).map(i=>new Xn(i));return o.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new Nc(o,n):Nc.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=Jo({message:t,name:"typeError",test(r){return!tn(r)&&!this.schema._typeCheck(r)?this.createError({params:{type:this.schema.type}}):!0}}),n}oneOf(t,n=Gn.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=Jo({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=Gn.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=Jo({message:n,name:"notOneOf",test(o){let i=this.schema._blacklist,a=i.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:i.toArray().join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:i,nullable:a}=n.spec;return{meta:o,label:r,optional:i,nullable:a,type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(s=>({name:s.OPTIONS.name,params:s.OPTIONS.params})).filter((s,l,u)=>u.findIndex(c=>c.name===s.name)===l)}}}Yt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])Yt.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:i,schema:a}=EU(this,t,n,r.context);return a[e](o&&o[i],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])Yt.prototype[e]=Yt.prototype.oneOf;for(const e of["not","nope"])Yt.prototype[e]=Yt.prototype.notOneOf;function LT(){return new DT}class DT extends Yt{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 tn(n)||n===!0}})}isFalse(t=qm.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return tn(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)}}LT.prototype=DT.prototype;let bU=/^((([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,SU=/^((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,CU=/^(?:[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,AU=e=>tn(e)||e===e.trim(),$U={}.toString();function Ni(){return new FT}class FT extends Yt{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===$U?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Gn.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(bU,{name:"email",message:t,excludeEmptyString:!0})}url(t=dn.url){return this.matches(SU,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=dn.uuid){return this.matches(CU,{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:AU})}lowercase(t=dn.lowercase){return this.transform(n=>tn(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>tn(n)||n===n.toLowerCase()})}uppercase(t=dn.uppercase){return this.transform(n=>tn(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>tn(n)||n===n.toUpperCase()})}}Ni.prototype=FT.prototype;let TU=e=>e!=+e;function it(){return new IT}class IT extends Yt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!TU(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=wr.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=wr.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=wr.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=wr.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=wr.positive){return this.moreThan(0,t)}negative(t=wr.negative){return this.lessThan(0,t)}integer(t=wr.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>tn(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=>tn(o)?o:Math[t](o))}}it.prototype=IT.prototype;var PU=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function kU(e){var t=[1,4,5,6,7,10,11],n=0,r,o;if(o=PU.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 RU=new Date(""),OU=e=>Object.prototype.toString.call(e)==="[object Date]";class pf extends Yt{constructor(){super({type:"date",check(t){return OU(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)?t:(t=kU(t),isNaN(t)?pf.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Xn.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=Wm.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=Wm.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)}})}}pf.INVALID_DATE=RU;pf.prototype;function MU(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,s])=>`${a}-${s}`));function i(a,s){let l=Oo.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),Xn.isRef(s)&&s.isSibling?i(s.path,a):ff(s)&&"deps"in s&&s.deps.forEach(l=>i(l,a))}return I0.exports.array(Array.from(r),n).reverse()}function Dw(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 jT(e){return(t,n)=>Dw(e,t)-Dw(e,n)}const zT=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch(o){}return n.isType(r)?r:e};function Ou(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Ou(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Ou(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Ou)}):"optional"in e?e.optional():e}const NU=(e,t)=>{const n=[...Oo.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Oo.getter(Oo.join(n),!0)(e);return!!(o&&r in o)};let Fw=e=>Object.prototype.toString.call(e)==="[object Object]";function LU(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const DU=jT([]);function Go(e){return new VT(e)}class VT extends Yt{constructor(t){super({type:"object",check(n){return Fw(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=DU,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault();if(!this._typeCheck(o))return o;let i=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(o).filter(d=>!this._nodes.includes(d))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const d of s){let p=i[d],h=d in o;if(p){let v,m=o[d];u.path=(n.path?`${n.path}.`:"")+d,p=p.resolve({value:m,context:n.context,parent:l});let _=p instanceof Yt?p.spec:void 0,y=_==null?void 0:_.strict;if(_!=null&&_.strip){c=c||d in o;continue}v=!n.__validating||!y?p.cast(o[d],u):o[d],v!==void 0&&(l[d]=v)}else h&&!a&&(l[d]=o[d]);(h!==d in l||l[d]!==o[d])&&(c=!0)}return c?l:o}_validate(t,n={},r,o){let{from:i=[],originalValue:a=t,recursive:s=this.spec.recursive}=n;n.from=[{schema:this,value:a},...i],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(l,u)=>{if(!s||!Fw(u)){o(l,u);return}a=a||u;let c=[];for(let d of this._nodes){let p=this.fields[d];!p||Xn.isRef(p)||c.push(p.asNestedTest({options:n,key:d,parent:u,parentPath:n.path,originalParent:a}))}this.runTests({tests:c,value:u},r,d=>{o(d.sort(this._sortErrors).concat(l),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,i]of Object.entries(this.fields)){const a=r[o];r[o]=a===void 0?i:a}return n.withMutation(o=>o.setFields(r,this._excludedEdges))}_getDefault(){if("default"in this.spec)return super._getDefault();if(!this._nodes.length)return;let t={};return this._nodes.forEach(n=>{const r=this.fields[n];t[n]="getDefault"in r?r.getDefault():void 0}),t}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=MU(t,n),r._sortErrors=jT(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 Ou(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=Oo.getter(t,!0);return this.transform(i=>{if(!i)return i;let a=i;return NU(i,t)&&(a=Object.assign({},i),r||delete a[t],a[n]=o(i)),a})}json(){return this.transform(zT)}noUnknown(t=!0,n=Km.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=LU(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Km.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(Ip.camelCase)}snakeCase(){return this.transformKeys(Ip.snakeCase)}constantCase(){return this.transformKeys(t=>Ip.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}}Go.prototype=VT.prototype;function us(e){return new BT(e)}class BT extends Yt{constructor(t){super({type:"array",check(n){return Array.isArray(n)}}),this.innerType=void 0,this.innerType=t}_cast(t,n){const r=super._cast(t,n);if(!this._typeCheck(r)||!this.innerType)return r;let o=!1;const i=r.map((a,s)=>{const l=this.innerType.cast(a,Object.assign({},n,{path:`${n.path||""}[${s}]`}));return l!==a&&(o=!0),l});return o?i:r}_validate(t,n={},r,o){var i;let a=this.innerType,s=(i=n.recursive)!=null?i:this.spec.recursive;n.originalValue!=null&&n.originalValue,super._validate(t,n,r,(l,u)=>{if(!s||!a||!this._typeCheck(u)){o(l,u);return}let c=new Array(u.length);for(let p=0;p<u.length;p++){var d;c[p]=a.asNestedTest({options:n,index:p,parent:u,parentPath:n.path,originalParent:(d=n.originalValue)!=null?d:t})}this.runTests({value:u,tests:c},r,p=>o(p.concat(l),u))})}clone(t){const n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(zT)}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(!ff(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Mo(t));return n.innerType=t,n}length(t,n=Ru.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||Ru.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||Ru.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}}us.prototype=BT.prototype;const FU=new RegExp(`(${Object.keys(kT).filter(e=>Number.isNaN(Number(e))).join("|")})`),IU=Go({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:it().max(30),radius:it().max(25e3),include:us().of(Ni().matches(FU,"Must be a valid Score category.").required()).required()}),jU=e=>async t=>{const n=await IU.validate(t),{lat:r,lng:o,limit:i,radius:a,include:s}=n;return(await e.get(qB,{params:{lat:r,lng:o,limit:i,radius:a,include:s==null?void 0:s.join(",")}})).data.data};var UT=(e=>(e[e.pedestrian_friendly=0]="pedestrian_friendly",e[e.cycling_friendly=1]="cycling_friendly",e[e.transit_friendly=2]="transit_friendly",e[e.car_friendly=3]="car_friendly",e[e.parks=4]="parks",e[e.groceries=5]="groceries",e[e.shopping=6]="shopping",e[e.nightlife=7]="nightlife",e[e.restaurants=8]="restaurants",e[e.cafes=9]="cafes",e[e.daycares=10]="daycares",e[e.primary_schools=11]="primary_schools",e[e.high_schools=12]="high_schools",e[e.quiet=13]="quiet",e[e.greenery=14]="greenery",e[e.historic=15]="historic",e[e.vibrant=16]="vibrant",e[e.wellness=17]="wellness",e))(UT||{});const zU="/scores",VU=new RegExp(`(${Object.keys(UT).filter(e=>Number.isNaN(Number(e))).join("|")})`),BU=Go({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:us().of(Ni().required()),geographyLevels:us().of(Ni().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:LT(),include:us().of(Ni().matches(VU,"Must be a valid Score category.").required())}),UU=e=>async t=>{const n=await BU.validate(t),{lat:r,lng:o,include:i,geographyIds:a,geographyLevels:s,locationScoresRounding:l=!0}=n;return(await e.get(zU,{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},HU="/schools",GU=Go({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:it().max(30,"Must use a limit between 1 and 30."),radius:it().max(25e3,"Must use a radius between 1 and 25000.")}),YU=e=>async t=>{const n=await GU.validate(t),{lat:r,lng:o,limit:i,radius:a}=n;return(await e.get(HU,{params:{lat:r,lng:o,limit:i,radius:a}})).data.data},WU="/profiles",qU=Go({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:Ni()}),KU=e=>async t=>{const n=await qU.validate(t),{lat:r,lng:o,geogId:i}=n;return(await e.get(WU,{params:{lat:r,lng:o,geog_id:i}})).data.data},XU="/geographies",ZU=Go({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()}),QU=e=>async t=>{const n=await ZU.validate(t),{lat:r,lng:o}=n;return(await e.get(XU,{params:{lat:r,lng:o}})).data.data},JU="/demographics",eH=Go({lat:it().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:it().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),radius:it().max(5e3)}),tH=e=>async t=>{const n=await eH.validate(t),{lat:r,lng:o,radius:i}=n;return(await e.get(JU,{params:{lat:r,lng:o,radius:i}})).data.data.attributes},j0="LocalLogicClient/";class nH extends Error{constructor({message:t}){super(t),this.name=j0+this.constructor.name}}class rH extends Error{constructor({message:t,response:n}){super(t),ls(this,"statusCode"),ls(this,"statusText"),ls(this,"data"),this.name=j0+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 oH extends Error{constructor({message:t}){super(t),this.name=j0+this.constructor.name}}const Iw=e=>{throw e instanceof Rt?new nH(e):PT.isAxiosError(e)?new rH(e):new oH(e)},ha=(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=>{Iw(a)}):i}catch(i){Iw(i)}},n};var iH=Object.defineProperty,aH=Object.getOwnPropertyDescriptor,ma=(e,t,n,r)=>{for(var o=r>1?void 0:r?aH(t,n):t,i=e.length-1,a;i>=0;i--)(a=e[i])&&(o=(r?a(t,n,o):a(o))||o);return r&&o&&iH(t,n,o),o};class Yo{constructor(t,n={locale:"en"}){ls(this,"requests"),ls(this,"options"),this.requests=WB(t,n),this.options=n}getPois(t){return jU(this.requests)(t)}getScores(t){return UU(this.requests)(t)}getSchools(t){return YU(this.requests)(t)}getProfiles(t){return KU(this.requests)(t)}getGeographies(t){return QU(this.requests)(t)}getDemographics(t){return tH(this.requests)(t)}}ma([ha],Yo.prototype,"getPois",1);ma([ha],Yo.prototype,"getScores",1);ma([ha],Yo.prototype,"getSchools",1);ma([ha],Yo.prototype,"getProfiles",1);ma([ha],Yo.prototype,"getGeographies",1);ma([ha],Yo.prototype,"getDemographics",1);const sH=(e,t)=>new Yo(e,t);var hf={exports:{}},Oa={};/**
516
+ * @license React
517
+ * react-jsx-runtime.production.min.js
518
+ *
519
+ * Copyright (c) Facebook, Inc. and its affiliates.
520
+ *
521
+ * This source code is licensed under the MIT license found in the
522
+ * LICENSE file in the root directory of this source tree.
523
+ */var jw;function lH(){if(jw)return Oa;jw=1;var e=J,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,d={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:d,_owner:o.current}}return Oa.Fragment=n,Oa.jsx=a,Oa.jsxs=a,Oa}(function(e){e.exports=lH()})(hf);const Zn=hf.exports.Fragment,q=hf.exports.jsx,et=hf.exports.jsxs,Ws={colorPrimary100:"#FFFFFF",colorPrimary99:"#04162d",colorPrimary95:"#C8F9FF",colorPrimary90:"#87F2FF",colorPrimary80:"#4ED8E9",colorPrimary70:"#21BCCC",colorPrimary60:"#00A0AF",colorPrimary50:"#008491",colorPrimary40:"#006974",colorPrimary30:"#004F57",colorPrimary20:"#00363C",colorPrimary10:"#001F23",colorPrimary0:"#000000"},xe={colorNeutral100:"#FFFFFF",colorNeutral99:"#FBFDFD",colorNeutral95:"#EFF1F1",colorNeutral90:"#E0E3E3",colorNeutral80:"#C4C7C7",colorNeutral70:"#A9ACAC",colorNeutral60:"#8E9191",colorNeutral50:"#747878",colorNeutral40:"#5C5F5F",colorNeutral30:"#444747",colorNeutral20:"#2D3131",colorNeutral10:"#191C1D",colorNeutral0:"#000000"},z0={colorBlue70:"#0056D3"},uH=Object.freeze(Object.defineProperty({__proto__:null,primaryColors:Ws,neutralColors:xe,blueColors:z0},Symbol.toStringTag,{value:"Module"})),Dt=4,cH={"--ll-color-primary":Ws.colorPrimary50,"--ll-color-primary-variant1":Ws.colorPrimary40,"--ll-color-background":xe.colorNeutral100,"--ll-color-surface":xe.colorNeutral95,"--ll-color-surface-variant1":xe.colorNeutral90,"--ll-color-surface-variant2":xe.colorNeutral80,"--ll-color-on-primary":xe.colorNeutral100,"--ll-color-on-primary-variant1":xe.colorNeutral90,"--ll-color-on-background":xe.colorNeutral10,"--ll-color-on-background-variant1":xe.colorNeutral30,"--ll-color-on-surface":xe.colorNeutral10,"--ll-color-on-surface-variant1":xe.colorNeutral30,"--ll-color-placeholder":xe.colorNeutral60,"--ll-color-disabled":xe.colorNeutral60,"--ll-color-border":xe.colorNeutral90,"--ll-color-link":z0.colorBlue70},dH={"--ll-border-radius-small":`${Dt}px`,"--ll-border-radius-medium":`${2*Dt}px`},fH={"--ll-shadow-small":"rgb(0 0 0 / 18%) 0px 2px 5px","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},pH={"--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)"},hH={"--ll-font-family":"Inter, sans-serif","--ll-font-family-mono":"Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace;"},mH={"--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)"},vH={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},V0={...cH,...dH,...fH,...pH,...hH,...mH,...vH},gH={...V0,"--ll-color-primary":Ws.colorPrimary60,"--ll-color-primary-variant1":Ws.colorPrimary50,"--ll-color-background":xe.colorNeutral10,"--ll-color-surface":xe.colorNeutral20,"--ll-color-surface-variant1":xe.colorNeutral30,"--ll-color-surface-variant2":xe.colorNeutral40,"--ll-color-on-primary":xe.colorNeutral100,"--ll-color-on-primary-variant1":xe.colorNeutral90,"--ll-color-on-background":xe.colorNeutral99,"--ll-color-on-background-variant1":xe.colorNeutral80,"--ll-color-on-surface":xe.colorNeutral80,"--ll-color-on-surface-variant1":xe.colorNeutral90,"--ll-color-placeholder":xe.colorNeutral70,"--ll-color-disabled":xe.colorNeutral70,"--ll-color-border":xe.colorNeutral30,"--ll-color-link":z0.colorBlue70},yH=Object.keys(V0),O=yH.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),xH={day:V0,night:gH},_H=bS`
524
+ :root {
525
+ ${({themeName:e,overrides:t})=>({...xH[e||"day"],...t})};
526
+ }
527
+ `,wH=e=>e,EH=wH({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),bH=Object.freeze(Object.defineProperty({__proto__:null,transitions:EH},Symbol.toStringTag,{value:"Module"})),SH={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},CH=Object.freeze(Object.defineProperty({__proto__:null,screenSizes:SH},Symbol.toStringTag,{value:"Module"})),Xm={colors:uH,...bH,...CH},AH=({size:e})=>e==="small"?ge`
528
+ padding: calc(${O["--ll-spacing-xx-small"]} / 2) ${O["--ll-spacing-xx-small"]};
529
+ `:e==="large"?ge`
530
+ padding: calc(${O["--ll-spacing-small"]} / 2) ${O["--ll-spacing-medium"]};
531
+ font-size: ${O["--ll-font-size-p"]};
532
+ line-height: ${O["--ll-font-size-h6"]};
533
+ `:ge`
534
+ padding: ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-x-small"]};
535
+ `,$H=I.span`
536
+ display: inline-flex;
537
+ color: ${({textColor:e})=>e};
538
+ background-color: ${({backgroundColor:e})=>e};
539
+ border-radius: ${O["--ll-border-radius-small"]};
540
+ line-height: 1;
541
+ font-family: ${O["--ll-font-family"]};
542
+ font-size: ${O["--ll-font-size-caption-1"]};
543
+ justify-content: center;
544
+
545
+ ${AH};
546
+ `;var mf={exports:{}},Ma={};/**
547
+ * @license React
548
+ * react-jsx-runtime.production.min.js
549
+ *
550
+ * Copyright (c) Facebook, Inc. and its affiliates.
551
+ *
552
+ * This source code is licensed under the MIT license found in the
553
+ * LICENSE file in the root directory of this source tree.
554
+ */var zw;function TH(){if(zw)return Ma;zw=1;var e=J,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var c,d={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!i.hasOwnProperty(c)&&(d[c]=l[c]);if(s&&s.defaultProps)for(c in l=s.defaultProps,l)d[c]===void 0&&(d[c]=l[c]);return{$$typeof:t,type:s,key:p,ref:h,props:d,_owner:o.current}}return Ma.Fragment=n,Ma.jsx=a,Ma.jsxs=a,Ma}(function(e){e.exports=TH()})(mf);const B0=mf.exports.Fragment,Ge=mf.exports.jsx,vf=mf.exports.jsxs,U0=({text:e,size:t="small",className:n,textColor:r=xe.colorNeutral100,backgroundColor:o=xe.colorNeutral60,onClick:i})=>Ge($H,{size:t,onClick:i,className:n,textColor:r,backgroundColor:o,children:e}),PH=I.div`
555
+ height: ${({height:e})=>e}px;
556
+ width: ${({width:e})=>e}px;
557
+ fill: ${({fill:e})=>e};
558
+ display: flex;
559
+
560
+ & > svg {
561
+ fill: inherit;
562
+ height: 100%;
563
+ width: 100%;
564
+ }
565
+ `,co=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>Ge(PH,{fill:t,height:n,width:r,children:Ge(e,{})}),Vw=({variant:e})=>e==="h1"?O["--ll-font-size-h1"]:e==="h2"?O["--ll-font-size-h2"]:e==="h3"?O["--ll-font-size-h3"]:e==="h4"?O["--ll-font-size-h4"]:e==="h5"?O["--ll-font-size-h5"]:e==="h6"?O["--ll-font-size-h6"]:e==="p"?O["--ll-font-size-p"]:e==="caption1"?O["--ll-font-size-caption-1"]:e==="caption2"?O["--ll-font-size-caption-2"]:O["--ll-font-size-h2"],Bw=({color:e})=>e in O?O[e]:e,HT=I.span`
566
+ overflow: hidden;
567
+ display: inline-block;
568
+ width: 100%;
569
+ line-height: ${({lineHeight:e})=>e||1.45};
570
+ margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
571
+ font-size: inherit;
572
+ font-weight: inherit;
573
+ `,kH=I.div`
574
+ ${e=>ge`
575
+ text-align: ${e.align};
576
+ font-size: ${Vw(e)};
577
+ font-family: ${e.family==="sans-serif"?O["--ll-font-family"]:O["--ll-font-family-mono"]};
578
+ color: ${Bw(e)};
579
+ font-weight: ${O[e.weight]};
580
+ overflow: hidden;
581
+ display: flex;
582
+
583
+ svg {
584
+ height: ${Vw(e)};
585
+ fill: ${Bw(e)};
586
+ }
587
+
588
+ ${HT} {
589
+ ${e.noWrap&&ge`
590
+ text-overflow: ellipsis;
591
+ white-space: nowrap;
592
+ `}
593
+ }
594
+ `}
595
+ `,_t=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:o,noMargin:i,lineHeight:a,weight:s="--ll-font-weight-normal",family:l="sans-serif",className:u})=>{const c=["caption1","caption2","p"].includes(t)?"p":t;return Ge(kH,{variant:t,align:n,color:r,noWrap:o,weight:s,family:l,children:Ge(HT,{as:c,noMargin:i,className:u,lineHeight:a,children:e})})},RH=I.a`
596
+ font-family: ${O["--ll-font-family"]};
597
+ font-size: ${O["--ll-font-size-p"]};
598
+ color: ${O["--ll-color-link"]};
599
+ cursor: pointer;
600
+
601
+ ${({lineClamp:e})=>e&&ge`
602
+ overflow: hidden;
603
+ text-overflow: ellipsis;
604
+ display: -webkit-box;
605
+ -webkit-box-orient: vertical;
606
+ -webkit-line-clamp: ${e};
607
+ `}
608
+ `,Uw=({children:e,href:t,className:n,lineClamp:r})=>Ge(RH,{target:"_blank",rel:"noreferrer",lineClamp:r,href:t,className:n,children:e});function ie(){return ie=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},ie.apply(this,arguments)}function OH(e,t){const n=f.exports.createContext(t);function r(i){const{children:a,...s}=i,l=f.exports.useMemo(()=>s,Object.values(s));return f.exports.createElement(n.Provider,{value:l},a)}function o(i){const a=f.exports.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function va(e,t=[]){let n=[];function r(i,a){const s=f.exports.createContext(a),l=n.length;n=[...n,a];function u(d){const{scope:p,children:h,...v}=d,m=(p==null?void 0:p[e][l])||s,_=f.exports.useMemo(()=>v,Object.values(v));return f.exports.createElement(m.Provider,{value:_},h)}function c(d,p){const h=(p==null?void 0:p[e][l])||s,v=f.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>f.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return f.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,MH(o,...t)]}function MH(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return f.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function NH(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function GT(...e){return t=>e.forEach(n=>NH(n,t))}function Ye(...e){return f.exports.useCallback(GT(...e),e)}const ea=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.exports.Children.toArray(n),i=o.find(DH);if(i){const a=i.props.children,s=o.map(l=>l===i?f.exports.Children.count(a)>1?f.exports.Children.only(null):f.exports.isValidElement(a)?a.props.children:null:l);return f.exports.createElement(Zm,ie({},r,{ref:t}),f.exports.isValidElement(a)?f.exports.cloneElement(a,void 0,s):null)}return f.exports.createElement(Zm,ie({},r,{ref:t}),n)});ea.displayName="Slot";const Zm=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return f.exports.isValidElement(n)?f.exports.cloneElement(n,{...FH(r,n.props),ref:GT(t,n.ref)}):f.exports.Children.count(n)>1?f.exports.Children.only(null):null});Zm.displayName="SlotClone";const LH=({children:e})=>f.exports.createElement(f.exports.Fragment,null,e);function DH(e){return f.exports.isValidElement(e)&&e.type===LH}function FH(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 IH=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],We=IH.reduce((e,t)=>{const n=f.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?ea:t;return f.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.exports.createElement(s,ie({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function jH(e,t){e&&Wt.exports.flushSync(()=>e.dispatchEvent(t))}const lr=Boolean(globalThis==null?void 0:globalThis.document)?f.exports.useLayoutEffect:()=>{},zH=vv["useId".toString()]||(()=>{});let VH=0;function H0(e){const[t,n]=f.exports.useState(zH());return lr(()=>{e||n(r=>r!=null?r:String(VH++))},[e]),e||(t?`radix-${t}`:"")}const BH="Label",[UH,HH]=OH(BH,{id:void 0,controlRef:{current:null}}),GH=f.exports.forwardRef((e,t)=>{const{htmlFor:n,id:r,...o}=e,i=f.exports.useRef(null),a=f.exports.useRef(null),s=Ye(t,a),l=H0(r);return f.exports.useEffect(()=>{if(n){const u=document.getElementById(n);if(a.current&&u){const c=()=>u.getAttribute("aria-labelledby"),d=[l,c()].filter(Boolean).join(" ");return u.setAttribute("aria-labelledby",d),i.current=u,()=>{var p;const h=(p=c())===null||p===void 0?void 0:p.replace(l,"");h===""?u.removeAttribute("aria-labelledby"):h&&u.setAttribute("aria-labelledby",h)}}}},[l,n]),f.exports.createElement(UH,{id:l,controlRef:i},f.exports.createElement(We.span,ie({role:"label",id:l},o,{ref:s,onMouseDown:u=>{var c;(c=e.onMouseDown)===null||c===void 0||c.call(e,u),!u.defaultPrevented&&u.detail>1&&u.preventDefault()},onClick:u=>{var c;if((c=e.onClick)===null||c===void 0||c.call(e,u),!i.current||u.defaultPrevented)return;const d=i.current.contains(u.target),p=u.isTrusted===!0;!d&&p&&(i.current.click(),i.current.focus())}})))}),YT=e=>{const t=HH("LabelConsumer"),{controlRef:n}=t;return f.exports.useEffect(()=>{e&&(n.current=e)},[e,n]),t.id},YH=GH;I(YH)`
609
+ font-size: ${O["--ll-font-size-p"]};
610
+ font-family: ${O["--ll-font-family"]};
611
+ color: ${O["--ll-color-placeholder"]};
612
+ `;const WH=Dd`
613
+ 0% {
614
+ transform: rotate(0deg);
615
+ }
616
+ 100% {
617
+ transform: rotate(360deg);
618
+ }
619
+ `,jp={small:Dt*4,medium:Dt*6,large:Dt*8},qH=I.div`
620
+ height: ${({size:e})=>jp[e]}px;
621
+ width: ${({size:e})=>jp[e]}px;
622
+ border: ${({size:e})=>jp[e]/6}px solid ${O["--ll-color-on-surface-variant1"]};
623
+ border-bottom-color: transparent;
624
+ border-radius: 50%;
625
+ display: inline-block;
626
+ box-sizing: border-box;
627
+ animation: ${WH} 1s linear infinite;
628
+ `,KH=({size:e="medium"})=>Ge(qH,{size:e}),cs={primary:{background:O["--ll-color-primary"],onBackground:O["--ll-color-on-primary"],hover:O["--ll-color-primary-variant1"]}},XH=({size:e})=>e==="small"?`font-size: ${O["--ll-font-size-caption-1"]}`:`font-size: ${O["--ll-font-size-p"]}`,G0=({size:e})=>e==="small"?`${Dt*8}px`:e==="large"?`${Dt*12}px`:`${Dt*10}px`,ZH=({size:e})=>e==="small"?`padding: 0 ${O["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${O["--ll-spacing-medium"]}`:`padding: 0 ${O["--ll-spacing-small"]}`,QH=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",JH=ge`
629
+ ${({color:e="primary"})=>ge`
630
+ color: ${O["--ll-color-on-background"]};
631
+
632
+ &:disabled {
633
+ cursor: default;
634
+ }
635
+ `};
636
+
637
+ height: ${G0};
638
+ `,eG=ge`
639
+ ${({color:e="primary"})=>ge`
640
+ background-color: ${cs[e].background};
641
+ color: ${cs[e].onBackground};
642
+ border: 1px solid transparent;
643
+
644
+ &:hover {
645
+ background-color: ${cs[e].hover};
646
+ }
647
+
648
+ &:disabled {
649
+ background-color: ${O["--ll-color-disabled"]};
650
+ cursor: default;
651
+ }
652
+ `};
653
+ height: ${G0};
654
+ `,tG=ge`
655
+ ${({color:e="primary"})=>ge`
656
+ border-color: ${cs[e].background};
657
+ border-width: 1px;
658
+ border-style: solid;
659
+ color: ${cs[e].background};
660
+ `};
661
+
662
+ &:hover {
663
+ background-color: rgba(0, 0, 0, 0.03);
664
+ }
665
+
666
+ height: ${G0};
667
+ `,nG=e=>({contained:eG,outlined:tG,text:JH})[e.variant],rG=I.div`
668
+ display: flex;
669
+ align-items: center;
670
+ margin-right: ${O["--ll-spacing-x-small"]};
671
+ margin-left: calc(-1 * ${O["--ll-spacing-xx-small"]});
672
+ `,oG=I.button`
673
+ font-weight: ${O["--ll-font-weight-normal"]};
674
+ border-radius: ${O["--ll-border-radius-small"]};
675
+ align-items: center;
676
+ justify-content: center;
677
+ cursor: pointer;
678
+ display: inline-flex;
679
+ background: none;
680
+ border: none;
681
+ box-sizing: border-box;
682
+
683
+ svg {
684
+ fill: currentColor;
685
+ }
686
+
687
+ ${nG};
688
+ ${QH};
689
+ ${XH};
690
+ ${ZH};
691
+ `,Y0=J.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:o,size:i="medium",type:a="button",color:s,isLoading:l,className:u},c)=>Ge(oG,{variant:r,size:i,onClick:d=>{t||!n||l||n(d)},disabled:t||l,className:u,color:s,type:a,ref:c,children:l?Ge(KH,{}):vf(B0,{children:[o&&Ge(rG,{children:o}),e]})}));Y0.displayName="Button";I.div`
692
+ display: flex;
693
+ flex-direction: column;
694
+ `;I.div`
695
+ position: relative;
696
+ `;I(Y0)`
697
+ position: absolute;
698
+ right: 0px;
699
+ top: 0px;
700
+ `;I.input`
701
+ all: unset;
702
+ display: inline-flex;
703
+ align-items: center;
704
+ justify-content: center;
705
+ border-radius: ${O["--ll-border-radius-small"]};
706
+ padding: 0 ${O["--ll-spacing-x-small"]};
707
+ height: 30px;
708
+ line-height: 1;
709
+ font-size: ${O["--ll-font-size-p"]};
710
+ font-family: ${O["--ll-font-family"]};
711
+ color: ${O["--ll-color-on-background"]};
712
+ background-color: ${O["--ll-color-background"]};
713
+ border: 1px solid ${O["--ll-color-border"]};
714
+ width: calc(100% - ${O["--ll-spacing-medium"]});
715
+
716
+ &:focus {
717
+ box-shadow: ${O["--ll-shadow-small"]};
718
+ }
719
+ `;const Dc={small:20,medium:32,large:40},iG=I(u0.div)`
720
+ background: linear-gradient(
721
+ to top,
722
+ ${({backgroundColorHighlight:e})=>e},
723
+ ${({backgroundColor:e})=>e}
724
+ );
725
+ border-radius: 50%;
726
+ border: 2px solid #fff;
727
+ height: ${({size:e})=>Dc[e]}px;
728
+ width: ${({size:e})=>Dc[e]}px;
729
+ display: flex;
730
+ justify-content: center;
731
+ align-items: center;
732
+ box-shadow: ${O["--ll-shadow-small"]};
733
+ `,WT=({fill:e="#fff",backgroundColor:t=O["--ll-color-primary"],backgroundColorHighlight:n=t,SVGElement:r,size:o="small",expandMarker:i})=>Ge(iG,{"data-testid":"svgInfo",backgroundColor:t,backgroundColorHighlight:n,size:o,variants:{default:{scale:1},hovered:{scale:1.2}},animate:i?"hovered":"default",whileHover:{scale:1.2},transition:Xm.transitions.default,children:Ge(co,{SVGElement:r,fill:e,height:Dc[o]/1.5,width:Dc[o]/1.5})});function Ne(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 no(e){const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function W0({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=aG({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=no(n),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function aG({defaultProp:e,onChange:t}){const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=no(t);return f.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function q0(e){const t=f.exports.useRef({value:e,previous:e});return f.exports.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function K0(e){const[t,n]=f.exports.useState(void 0);return lr(()=>{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 qT="Switch",[sG,uZ]=va(qT),[lG,uG]=sG(qT),cG=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,"aria-labelledby":r,name:o,checked:i,defaultChecked:a,required:s,disabled:l,value:u="on",onCheckedChange:c,...d}=e,[p,h]=f.exports.useState(null),v=Ye(t,E=>h(E)),m=YT(p),_=r||m,y=f.exports.useRef(!1),g=p?Boolean(p.closest("form")):!0,[x=!1,w]=W0({prop:i,defaultProp:a,onChange:c});return f.exports.createElement(lG,{scope:n,checked:x,disabled:l},f.exports.createElement(We.button,ie({type:"button",role:"switch","aria-checked":x,"aria-labelledby":_,"aria-required":s,"data-state":KT(x),"data-disabled":l?"":void 0,disabled:l,value:u},d,{ref:v,onClick:Ne(e.onClick,E=>{w(b=>!b),g&&(y.current=E.isPropagationStopped(),y.current||E.stopPropagation())})})),g&&f.exports.createElement(pG,{control:p,bubbles:!y.current,name:o,value:u,checked:x,required:s,disabled:l,style:{transform:"translateX(-100%)"}}))}),dG="SwitchThumb",fG=f.exports.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=uG(dG,n);return f.exports.createElement(We.span,ie({"data-state":KT(o.checked),"data-disabled":o.disabled?"":void 0},r,{ref:t}))}),pG=e=>{const{control:t,checked:n,bubbles:r=!0,...o}=e,i=f.exports.useRef(null),a=q0(n),s=K0(t);return f.exports.useEffect(()=>{const l=i.current,u=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(u,"checked").set;if(a!==n&&c){const d=new Event("click",{bubbles:r});c.call(l,n),l.dispatchEvent(d)}},[a,n,r]),f.exports.createElement("input",ie({type:"checkbox","aria-hidden":!0,defaultChecked:n},o,{tabIndex:-1,ref:i,style:{...e.style,...s,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function KT(e){return e?"checked":"unchecked"}const hG=cG,mG=fG;I(hG)`
734
+ all: unset;
735
+ width: 42px;
736
+ height: 24px;
737
+ background-color: ${O["--ll-color-disabled"]};
738
+ border-radius: 13px;
739
+ position: relative;
740
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
741
+
742
+ &[data-state="checked"] {
743
+ background-color: ${O["--ll-color-on-background"]};
744
+ }
745
+ `;I(mG)`
746
+ display: block;
747
+ width: 18px;
748
+ height: 18px;
749
+ background-color: ${O["--ll-color-background"]};
750
+ border-radius: 9px;
751
+ transition: transform 100ms;
752
+ transform: translateX(3px);
753
+ will-change: transform;
754
+
755
+ &[data-state="checked"] {
756
+ transform: translateX(21px);
757
+ }
758
+ `;function Qm(e,[t,n]){return Math.min(n,Math.max(t,e))}const vG=f.exports.createContext(void 0);function gG(e){const t=f.exports.useContext(vG);return e||t||"ltr"}function XT(e){const t=e+"CollectionProvider",[n,r]=va(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=J.useRef(null),y=J.useRef(new Map).current;return J.createElement(o,{scope:v,itemMap:y,collectionRef:_},m)},s=e+"CollectionSlot",l=J.forwardRef((h,v)=>{const{scope:m,children:_}=h,y=i(s,m),g=Ye(v,y.collectionRef);return J.createElement(ea,{ref:g},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=J.forwardRef((h,v)=>{const{scope:m,children:_,...y}=h,g=J.useRef(null),x=Ye(v,g),w=i(u,m);return J.useEffect(()=>(w.itemMap.set(g,{ref:g,...y}),()=>void w.itemMap.delete(g))),J.createElement(ea,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return J.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const _=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((y,g)=>_.indexOf(y.ref.current)-_.indexOf(g.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},p,r]}const ZT=["PageUp","PageDown"],QT=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],JT={ltr:["ArrowDown","Home","ArrowLeft","PageDown"],rtl:["ArrowDown","Home","ArrowRight","PageDown"]},pl="Slider",[Jm,yG,xG]=XT(pl),[e5,cZ]=va(pl,[xG]),[_G,gf]=e5(pl),wG=f.exports.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:a="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:c,onValueChange:d=()=>{},...p}=e,[h,v]=f.exports.useState(null),m=Ye(t,P=>v(P)),_=f.exports.useRef(new Set),y=f.exports.useRef(0),g=a==="horizontal",x=h?Boolean(h.closest("form")):!0,w=g?EG:bG,[E=[],b]=W0({prop:c,defaultProp:u,onChange:P=>{var F;(F=[..._.current][y.current])===null||F===void 0||F.focus(),d(P)}});function S(P){const F=OG(E,P);T(P,F)}function C(P){T(P,y.current)}function T(P,F){const z=DG(i),W=FG(Math.round((P-r)/i)*i+r,z),H=Qm(W,[r,o]);b((ee=[])=>{const ce=kG(ee,H,F);return LG(ce,l*i)?(y.current=ce.indexOf(H),String(ce)===String(ee)?ee:ce):ee})}return f.exports.createElement(_G,{scope:e.__scopeSlider,disabled:s,min:r,max:o,valueIndexToChangeRef:y,thumbs:_.current,values:E,orientation:a},f.exports.createElement(Jm.Provider,{scope:e.__scopeSlider},f.exports.createElement(Jm.Slot,{scope:e.__scopeSlider},f.exports.createElement(w,ie({"aria-disabled":s,"data-disabled":s?"":void 0},p,{ref:m,min:r,max:o,onSlideStart:s?void 0:S,onSlideMove:s?void 0:C,onHomeKeyDown:()=>!s&&T(r,0),onEndKeyDown:()=>!s&&T(o,E.length-1),onStepKeyDown:({event:P,direction:F})=>{if(!s){const z=ZT.includes(P.key)||P.shiftKey&&QT.includes(P.key)?10:1,W=y.current,H=E[W],ee=i*z*F;T(H+ee,W)}}})))),x&&E.map((P,F)=>f.exports.createElement(PG,{key:F,name:n?n+(E.length>1?"[]":""):void 0,value:P})))}),[t5,n5]=e5(pl,{startEdge:"left",endEdge:"right",size:"width",direction:1}),EG=f.exports.forwardRef((e,t)=>{const{min:n,max:r,dir:o,onSlideStart:i,onSlideMove:a,onStepKeyDown:s,...l}=e,[u,c]=f.exports.useState(null),d=Ye(t,_=>c(_)),p=f.exports.useRef(),h=gG(o),v=h==="ltr";function m(_){const y=p.current||u.getBoundingClientRect(),g=[0,y.width],x=X0(g,v?[n,r]:[r,n]);return p.current=y,x(_-y.left)}return f.exports.createElement(t5,{scope:e.__scopeSlider,startEdge:v?"left":"right",endEdge:v?"right":"left",direction:v?1:-1,size:"width"},f.exports.createElement(r5,ie({dir:h,"data-orientation":"horizontal"},l,{ref:d,style:{...l.style,["--radix-slider-thumb-transform"]:"translateX(-50%)"},onSlideStart:_=>{const y=m(_.clientX);i==null||i(y)},onSlideMove:_=>{const y=m(_.clientX);a==null||a(y)},onSlideEnd:()=>p.current=void 0,onStepKeyDown:_=>{const y=JT[h].includes(_.key);s==null||s({event:_,direction:y?-1:1})}})))}),bG=f.exports.forwardRef((e,t)=>{const{min:n,max:r,onSlideStart:o,onSlideMove:i,onStepKeyDown:a,...s}=e,l=f.exports.useRef(null),u=Ye(t,l),c=f.exports.useRef();function d(p){const h=c.current||l.current.getBoundingClientRect(),v=[0,h.height],m=X0(v,[r,n]);return c.current=h,m(p-h.top)}return f.exports.createElement(t5,{scope:e.__scopeSlider,startEdge:"bottom",endEdge:"top",size:"height",direction:1},f.exports.createElement(r5,ie({"data-orientation":"vertical"},s,{ref:u,style:{...s.style,["--radix-slider-thumb-transform"]:"translateY(50%)"},onSlideStart:p=>{const h=d(p.clientY);o==null||o(h)},onSlideMove:p=>{const h=d(p.clientY);i==null||i(h)},onSlideEnd:()=>c.current=void 0,onStepKeyDown:p=>{const h=JT.ltr.includes(p.key);a==null||a({event:p,direction:h?-1:1})}})))}),r5=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:a,onEndKeyDown:s,onStepKeyDown:l,...u}=e,c=gf(pl,n);return f.exports.createElement(We.span,ie({},u,{ref:t,onKeyDown:Ne(e.onKeyDown,d=>{d.key==="Home"?(a(d),d.preventDefault()):d.key==="End"?(s(d),d.preventDefault()):ZT.concat(QT).includes(d.key)&&(l(d),d.preventDefault())}),onPointerDown:Ne(e.onPointerDown,d=>{const p=d.target;p.setPointerCapture(d.pointerId),d.preventDefault(),c.thumbs.has(p)?p.focus():r(d)}),onPointerMove:Ne(e.onPointerMove,d=>{d.target.hasPointerCapture(d.pointerId)&&o(d)}),onPointerUp:Ne(e.onPointerUp,d=>{const p=d.target;p.hasPointerCapture(d.pointerId)&&(p.releasePointerCapture(d.pointerId),i(d))})}))}),SG="SliderTrack",CG=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=gf(SG,n);return f.exports.createElement(We.span,ie({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),Hw="SliderRange",AG=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=gf(Hw,n),i=n5(Hw,n),a=f.exports.useRef(null),s=Ye(t,a),l=o.values.length,u=o.values.map(p=>o5(p,o.min,o.max)),c=l>1?Math.min(...u):0,d=100-Math.max(...u);return f.exports.createElement(We.span,ie({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:s,style:{...e.style,[i.startEdge]:c+"%",[i.endEdge]:d+"%"}}))}),Gw="SliderThumb",$G=f.exports.forwardRef((e,t)=>{const n=yG(e.__scopeSlider),[r,o]=f.exports.useState(null),i=Ye(t,s=>o(s)),a=f.exports.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return f.exports.createElement(TG,ie({},e,{ref:i,index:a}))}),TG=f.exports.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,i=gf(Gw,n),a=n5(Gw,n),[s,l]=f.exports.useState(null),u=Ye(t,_=>l(_)),c=K0(s),d=i.values[r],p=d===void 0?0:o5(d,i.min,i.max),h=RG(r,i.values.length),v=c==null?void 0:c[a.size],m=v?MG(v,p,a.direction):0;return f.exports.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]),f.exports.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${p}% + ${m}px)`}},f.exports.createElement(Jm.ItemSlot,{scope:e.__scopeSlider},f.exports.createElement(We.span,ie({role:"slider","aria-label":e["aria-label"]||h,"aria-valuemin":i.min,"aria-valuenow":d,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:u,style:d===void 0?{display:"none"}:e.style,onFocus:Ne(e.onFocus,()=>{i.valueIndexToChangeRef.current=r})}))))}),PG=e=>{const{value:t,...n}=e,r=f.exports.useRef(null),o=q0(t);return f.exports.useEffect(()=>{const i=r.current,a=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(a,"value").set;if(o!==t&&s){const l=new Event("input",{bubbles:!0});s.call(i,t),i.dispatchEvent(l)}},[o,t]),f.exports.createElement("input",ie({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function kG(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function o5(e,t,n){return 100/(n-t)*(e-t)}function RG(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function OG(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function MG(e,t,n){const r=e/2,o=X0([0,50],[0,r]);return(r-o(t)*n)*n}function NG(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function LG(e,t){if(t>0){const n=NG(e);return Math.min(...n)>=t}return!0}function X0(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function DG(e){return(String(e).split(".")[1]||"").length}function FG(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const IG=wG,jG=CG,zG=AG,VG=$G;I.div``;I.div`
759
+ display: flex;
760
+ align-items: center;
761
+ `;I(IG)`
762
+ position: relative;
763
+ display: flex;
764
+ align-items: center;
765
+ user-select: none;
766
+ touch-action: none;
767
+ height: 20;
768
+ flex: 1;
769
+ `;I(VG)`
770
+ all: unset;
771
+ height: 20px;
772
+ width: 20px;
773
+ border-radius: 50%;
774
+ display: block;
775
+ background-color: ${O["--ll-color-primary"]};
776
+ box-shadow: ${O["--ll-shadow-medium"]};
777
+ `;I(jG)`
778
+ height: 4px;
779
+ border-radius: 2px;
780
+ background-color: ${O["--ll-color-surface-variant1"]};
781
+ position: relative;
782
+ flex: 1;
783
+ `;I(zG)`
784
+ height: 100%;
785
+ position: absolute;
786
+ background-color: ${O["--ll-color-primary"]};
787
+ border-radius: 2px;
788
+ `;const BG=({vertical:e,spacing:t})=>{const n=O[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},UG=I.div`
789
+ margin: ${e=>BG(e)};
790
+ flex-shrink: 0;
791
+ `,zp=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>Ge(UG,{vertical:e,spacing:t}),Vp={primary:{background:O["--ll-color-primary"],onBackground:O["--ll-color-on-primary"],hover:O["--ll-color-primary-variant1"]},inverse:{background:"transparent",onBackground:O["--ll-color-primary"],hover:"rgba(0,0,0,0.05)"},neutral:{background:"transparent",onBackground:O["--ll-color-on-background-variant1"],hover:"rgba(0,0,0,0.05)"}},Yw={small:24,medium:32,large:48};I.button`
792
+ ${({color:e="primary",size:t="medium"})=>ge`
793
+ border: none;
794
+ background-color: ${Vp[e].background};
795
+ color: ${Vp[e].onBackground};
796
+ border-radius: 50%;
797
+ height: ${Yw[t]}px;
798
+ width: ${Yw[t]}px;
799
+ display: flex;
800
+ justify-content: center;
801
+ align-items: center;
802
+ padding: 6px;
803
+
804
+ &:hover {
805
+ background-color: ${Vp[e].hover};
806
+ }
807
+
808
+ &:disabled {
809
+ cursor: default;
810
+ background-color: rgba(0, 0, 0, 0.1);
811
+ color: ${O["--ll-color-on-background-variant1"]};
812
+ }
813
+ `};
814
+ `;function HG({height:e,width:t}){return ge`
815
+ height: ${e};
816
+ width: ${t};
817
+ `}const GG=Dd`
818
+ from {
819
+ background-position: -800px 0;
820
+ }
821
+
822
+ to {
823
+ background-position: 800px 0;
824
+ }
825
+ `;I.div`
826
+ border-radius: ${O["--ll-border-radius-medium"]};
827
+ animation: ${GG} 2s linear infinite;
828
+ background: linear-gradient(
829
+ to right,
830
+ /* NOTE: 99.9% of the time we should use colours from theme, since these are
831
+ CSS vars that can be overriden. */
832
+ ${O["--ll-color-surface-variant1"]} 4%,
833
+ ${O["--ll-color-surface-variant2"]} 25%,
834
+ ${O["--ll-color-surface-variant1"]} 36%
835
+ );
836
+ background-size: 800px 100%;
837
+ ${HG}
838
+ `;I.div`
839
+ flex: 1;
840
+ height: 100%;
841
+ width: 100%;
842
+ display: flex;
843
+ align-items: center;
844
+ justify-content: center;
845
+ `;I.div`
846
+ display: flex;
847
+ flex-direction: column;
848
+ align-items: center;
849
+ `;function YG(e){const t=no(e);f.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const ev="dismissableLayer.update",WG="dismissableLayer.pointerDownOutside",qG="dismissableLayer.focusOutside";let Ww;const KG=f.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),i5=f.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=f.exports.useContext(KG),[c,d]=f.exports.useState(null),[,p]=f.exports.useState({}),h=Ye(t,b=>d(b)),v=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=v.indexOf(m),y=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,x=y>=_,w=XG(b=>{const S=b.target,C=[...u.branches].some(T=>T.contains(S));!x||C||(o==null||o(b),a==null||a(b),b.defaultPrevented||s==null||s())}),E=ZG(b=>{const S=b.target;[...u.branches].some(C=>C.contains(S))||(i==null||i(b),a==null||a(b),b.defaultPrevented||s==null||s())});return YG(b=>{y===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))}),f.exports.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ww=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),qw(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=Ww)}},[c,n,u]),f.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),qw())},[c,u]),f.exports.useEffect(()=>{const b=()=>p({});return document.addEventListener(ev,b),()=>document.removeEventListener(ev,b)},[]),f.exports.createElement(We.div,ie({},l,{ref:h,style:{pointerEvents:g?x?"auto":"none":void 0,...e.style},onFocusCapture:Ne(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Ne(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Ne(e.onPointerDownCapture,w.onPointerDownCapture)}))});function XG(e){const t=no(e),n=f.exports.useRef(!1),r=f.exports.useRef(()=>{});return f.exports.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){a5(WG,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 ZG(e){const t=no(e),n=f.exports.useRef(!1);return f.exports.useEffect(()=>{const r=o=>{o.target&&!n.current&&a5(qG,t,{originalEvent:o},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function qw(){const e=new CustomEvent(ev);document.dispatchEvent(e)}function a5(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?jH(o,i):o.dispatchEvent(i)}let Bp=0;function s5(){f.exports.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Kw()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Kw()),Bp++,()=>{Bp===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Bp--}},[])}function Kw(){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 Up="focusScope.autoFocusOnMount",Hp="focusScope.autoFocusOnUnmount",Xw={bubbles:!1,cancelable:!0},l5=f.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=f.exports.useState(null),u=no(o),c=no(i),d=f.exports.useRef(null),p=Ye(t,m=>l(m)),h=f.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.exports.useEffect(()=>{if(r){let m=function(y){if(h.paused||!s)return;const g=y.target;s.contains(g)?d.current=g:Eo(d.current,{select:!0})},_=function(y){h.paused||!s||s.contains(y.relatedTarget)||Eo(d.current,{select:!0})};return document.addEventListener("focusin",m),document.addEventListener("focusout",_),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",_)}}},[r,s,h.paused]),f.exports.useEffect(()=>{if(s){Qw.add(h);const m=document.activeElement;if(!s.contains(m)){const _=new CustomEvent(Up,Xw);s.addEventListener(Up,u),s.dispatchEvent(_),_.defaultPrevented||(QG(rY(u5(s)),{select:!0}),document.activeElement===m&&Eo(s))}return()=>{s.removeEventListener(Up,u),setTimeout(()=>{const _=new CustomEvent(Hp,Xw);s.addEventListener(Hp,c),s.dispatchEvent(_),_.defaultPrevented||Eo(m!=null?m:document.body,{select:!0}),s.removeEventListener(Hp,c),Qw.remove(h)},0)}}},[s,u,c,h]);const v=f.exports.useCallback(m=>{if(!n&&!r||h.paused)return;const _=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,y=document.activeElement;if(_&&y){const g=m.currentTarget,[x,w]=JG(g);x&&w?!m.shiftKey&&y===w?(m.preventDefault(),n&&Eo(x,{select:!0})):m.shiftKey&&y===x&&(m.preventDefault(),n&&Eo(w,{select:!0})):y===g&&m.preventDefault()}},[n,r,h.paused]);return f.exports.createElement(We.div,ie({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function QG(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Eo(r,{select:t}),document.activeElement!==n)return}function JG(e){const t=u5(e),n=Zw(t,e),r=Zw(t.reverse(),e);return[n,r]}function u5(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 Zw(e,t){for(const n of e)if(!eY(n,{upTo:t}))return n}function eY(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 tY(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&&tY(e)&&t&&e.select()}}const Qw=nY();function nY(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Jw(e,t),e.unshift(t)},remove(t){var n;e=Jw(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Jw(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function rY(e){return e.filter(t=>t.tagName!=="A")}const c5=f.exports.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Ab.createPortal(f.exports.createElement(We.div,ie({},o,{ref:t})),r):null}),oY=f.exports.forwardRef((e,t)=>f.exports.createElement(We.span,ie({},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}})));var iY=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ei=new WeakMap,ru=new WeakMap,ou={},Gp=0,aY=function(e,t,n,r){var o=Array.isArray(e)?e:[e];ou[n]||(ou[n]=new WeakMap);var i=ou[n],a=[],s=new Set,l=new Set(o),u=function(d){!d||s.has(d)||(s.add(d),u(d.parentNode))};o.forEach(u);var c=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))c(p);else{var h=p.getAttribute(r),v=h!==null&&h!=="false",m=(ei.get(p)||0)+1,_=(i.get(p)||0)+1;ei.set(p,m),i.set(p,_),a.push(p),m===1&&v&&ru.set(p,!0),_===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return c(t),s.clear(),Gp++,function(){a.forEach(function(d){var p=ei.get(d)-1,h=i.get(d)-1;ei.set(d,p),i.set(d,h),p||(ru.has(d)||d.removeAttribute(r),ru.delete(d)),h||d.removeAttribute(n)}),Gp--,Gp||(ei=new WeakMap,ei=new WeakMap,ru=new WeakMap,ou={})}},d5=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||iY(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),aY(r,o,n,"aria-hidden")):function(){return null}},kn=function(){return kn=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},kn.apply(this,arguments)};function f5(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 sY(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 Mu="right-scroll-bar-position",Nu="width-before-scroll-bar",lY="with-scroll-bars-hidden",uY="--removed-body-scroll-bar-size";function cY(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function dY(e,t){var n=f.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}function fY(e,t){return dY(t||null,function(n){return e.forEach(function(r){return cY(r,n)})})}function pY(e){return e}function hY(e,t){t===void 0&&(t=pY);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 mY(e){e===void 0&&(e={});var t=hY(null);return t.options=kn({async:!0,ssr:!1},e),t}var p5=function(e){var t=e.sideCar,n=f5(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 Ge(r,{...kn({},n)})};p5.isSideCarExport=!0;function vY(e,t){return e.useMedium(t),p5}var h5=mY(),Yp=function(){},yf=f.exports.forwardRef(function(e,t){var n=f.exports.useRef(null),r=f.exports.useState({onScrollCapture:Yp,onWheelCapture:Yp,onTouchMoveCapture:Yp}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,d=e.shards,p=e.sideCar,h=e.noIsolation,v=e.inert,m=e.allowPinchZoom,_=e.as,y=_===void 0?"div":_,g=f5(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=fY([n,t]),E=kn(kn({},g),o);return vf(B0,{children:[c&&Ge(x,{sideCar:h5,removeScrollBar:u,shards:d,noIsolation:h,inert:v,setCallbacks:i,allowPinchZoom:!!m,lockRef:n}),a?f.exports.cloneElement(f.exports.Children.only(s),kn(kn({},E),{ref:w})):Ge(y,{...kn({},E,{className:l,ref:w}),children:s})]})});yf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};yf.classNames={fullWidth:Nu,zeroRight:Mu};var gY=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function yY(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=gY();return t&&e.setAttribute("nonce",t),e}function xY(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function _Y(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var wY=function(){var e=0,t=null;return{add:function(n){e==0&&(t=yY())&&(xY(t,n),_Y(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},EY=function(){var e=wY();return function(t,n){f.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},m5=function(){var e=EY(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},bY={left:0,top:0,right:0,gap:0},Wp=function(e){return parseInt(e||"",10)||0},SY=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[Wp(n),Wp(r),Wp(o)]},CY=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return bY;var t=SY(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])}},AY=m5(),$Y=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
850
+ .`.concat(lY,` {
851
+ overflow: hidden `).concat(r,`;
852
+ padding-right: `).concat(s,"px ").concat(r,`;
853
+ }
854
+ body {
855
+ overflow: hidden `).concat(r,`;
856
+ overscroll-behavior: contain;
857
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
858
+ padding-left: `.concat(o,`px;
859
+ padding-top: `).concat(i,`px;
860
+ padding-right: `).concat(a,`px;
861
+ margin-left:0;
862
+ margin-top:0;
863
+ margin-right: `).concat(s,"px ").concat(r,`;
864
+ `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
865
+ }
866
+
867
+ .`).concat(Mu,` {
868
+ right: `).concat(s,"px ").concat(r,`;
869
+ }
870
+
871
+ .`).concat(Nu,` {
872
+ margin-right: `).concat(s,"px ").concat(r,`;
873
+ }
874
+
875
+ .`).concat(Mu," .").concat(Mu,` {
876
+ right: 0 `).concat(r,`;
877
+ }
878
+
879
+ .`).concat(Nu," .").concat(Nu,` {
880
+ margin-right: 0 `).concat(r,`;
881
+ }
882
+
883
+ body {
884
+ `).concat(uY,": ").concat(s,`px;
885
+ }
886
+ `)},TY=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=f.exports.useMemo(function(){return CY(o)},[o]);return Ge(AY,{styles:$Y(i,!t,o,n?"":"!important")})},tv=!1;if(typeof window<"u")try{var iu=Object.defineProperty({},"passive",{get:function(){return tv=!0,!0}});window.addEventListener("test",iu,iu),window.removeEventListener("test",iu,iu)}catch(e){tv=!1}var ti=tv?{passive:!1}:!1,PY=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},kY=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},e2=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=v5(e,n);if(r){var o=g5(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},RY=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},OY=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},v5=function(e,t){return e==="v"?PY(t):kY(t)},g5=function(e,t){return e==="v"?RY(t):OY(t)},MY=function(e,t){return e==="h"&&t==="rtl"?-1:1},NY=function(e,t,n,r,o){var i=MY(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,p=0;do{var h=g5(e,s),v=h[0],m=h[1],_=h[2],y=m-_-i*v;(v||y)&&v5(e,s)&&(d+=y,p+=v),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(o&&d===0||!o&&a>d)||!c&&(o&&p===0||!o&&-a>p))&&(u=!0),u},au=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},t2=function(e){return[e.deltaX,e.deltaY]},n2=function(e){return e&&"current"in e?e.current:e},LY=function(e,t){return e[0]===t[0]&&e[1]===t[1]},DY=function(e){return`
887
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
888
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
889
+ `)},FY=0,ni=[];function IY(e){var t=f.exports.useRef([]),n=f.exports.useRef([0,0]),r=f.exports.useRef(),o=f.exports.useState(FY++)[0],i=f.exports.useState(function(){return m5()})[0],a=f.exports.useRef(e);f.exports.useEffect(function(){a.current=e},[e]),f.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=sY([e.lockRef.current],(e.shards||[]).map(n2),!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=f.exports.useCallback(function(m,_){if("touches"in m&&m.touches.length===2)return!a.current.allowPinchZoom;var y=au(m),g=n.current,x="deltaX"in m?m.deltaX:g[0]-y[0],w="deltaY"in m?m.deltaY:g[1]-y[1],E,b=m.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in m&&S==="h"&&b.type==="range")return!1;var C=e2(S,b);if(!C)return!0;if(C?E=S:(E=S==="v"?"h":"v",C=e2(S,b)),!C)return!1;if(!r.current&&"changedTouches"in m&&(x||w)&&(r.current=E),!E)return!0;var T=r.current||E;return NY(T,_,m,T==="h"?x:w,!0)},[]),l=f.exports.useCallback(function(m){var _=m;if(!(!ni.length||ni[ni.length-1]!==i)){var y="deltaY"in _?t2(_):au(_),g=t.current.filter(function(E){return E.name===_.type&&E.target===_.target&&LY(E.delta,y)})[0];if(g&&g.should){_.preventDefault();return}if(!g){var x=(a.current.shards||[]).map(n2).filter(Boolean).filter(function(E){return E.contains(_.target)}),w=x.length>0?s(_,x[0]):!a.current.noIsolation;w&&_.preventDefault()}}},[]),u=f.exports.useCallback(function(m,_,y,g){var x={name:m,delta:_,target:y,should:g};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=f.exports.useCallback(function(m){n.current=au(m),r.current=void 0},[]),d=f.exports.useCallback(function(m){u(m.type,t2(m),m.target,s(m,e.lockRef.current))},[]),p=f.exports.useCallback(function(m){u(m.type,au(m),m.target,s(m,e.lockRef.current))},[]);f.exports.useEffect(function(){return ni.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ti),document.addEventListener("touchmove",l,ti),document.addEventListener("touchstart",c,ti),function(){ni=ni.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,ti),document.removeEventListener("touchmove",l,ti),document.removeEventListener("touchstart",c,ti)}},[]);var h=e.removeScrollBar,v=e.inert;return vf(B0,{children:[v?Ge(i,{styles:DY(o)}):null,h?Ge(TY,{gapMode:"margin"}):null]})}const jY=vY(h5,IY);var y5=f.exports.forwardRef(function(e,t){return Ge(yf,{...kn({},e,{ref:t,sideCar:jY})})});y5.classNames=yf.classNames;const x5=y5,zY=[" ","Enter","ArrowUp","ArrowDown"],VY=[" ","Enter"],xf="Select",[Z0,_5,BY]=XT(xf),[hl,dZ]=va(xf,[BY]),[fZ,_f]=hl(xf);hl(xf);const UY="SelectTrigger",HY=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,"aria-labelledby":o,...i}=e,a=_f(UY,n),s=Ye(t,a.onTriggerChange),l=_5(n),u=YT(a.trigger),c=o||u,[d,p,h]=b5(m=>{const _=l().filter(x=>!x.disabled),y=_.find(x=>x.value===a.value),g=S5(_,m,y);g!==void 0&&a.onValueChange(g.value)}),v=()=>{r||(a.onOpenChange(!0),h())};return f.exports.createElement(We.button,ie({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:Ne(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:Ne(i.onKeyDown,m=>{const _=d.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&p(m.key),!(_&&m.key===" ")&&zY.includes(m.key)&&(v(),m.preventDefault())})}))}),GY=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return f.exports.createElement(We.span,ie({"aria-hidden":!0},o,{ref:t}),r||"\u25BC")}),YY=e=>f.exports.createElement(c5,ie({asChild:!0},e)),Q0="SelectContent",WY=f.exports.forwardRef((e,t)=>{const n=_f(Q0,e.__scopeSelect),[r,o]=f.exports.useState();return lr(()=>{o(new DocumentFragment)},[]),f.exports.createElement(f.exports.Fragment,null,n.open?f.exports.createElement(qY,ie({},e,{ref:t})):r?Wt.exports.createPortal(f.exports.createElement(w5,{scope:e.__scopeSelect},f.exports.createElement(Z0.Slot,{scope:e.__scopeSelect},f.exports.createElement("div",null,e.children))),r):null)}),Er=10,[w5,E5]=hl(Q0),qY=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,onCloseAutoFocus:r,...o}=e,i=_f(Q0,n),[a,s]=f.exports.useState(null),[l,u]=f.exports.useState(null),[c,d]=f.exports.useState(null),p=Ye(t,R=>u(R)),[h,v]=f.exports.useState(null),[m,_]=f.exports.useState(null),y=_5(n),[g,x]=f.exports.useState(!1),w=f.exports.useRef(!0),E=f.exports.useRef(!1),b=f.exports.useRef(!1);f.exports.useEffect(()=>{if(l)return d5(l)},[l]),s5();const[S,C]=f.exports.useState();lr(()=>{l&&C(window.getComputedStyle(l).zIndex)},[l]);const T=f.exports.useCallback(R=>{const[G,...M]=y().map(N=>N.ref.current),[k]=M.slice(-1),$=document.activeElement;for(const N of R)if(N===$||(N==null||N.scrollIntoView({block:"nearest"}),N===G&&c&&(c.scrollTop=0),N===k&&c&&(c.scrollTop=c.scrollHeight),N==null||N.focus(),document.activeElement!==$))return},[y,c]),P=f.exports.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&l&&c&&h&&m){const R=i.trigger.getBoundingClientRect(),G=l.getBoundingClientRect(),M=i.valueNode.getBoundingClientRect(),k=m.getBoundingClientRect();if(i.dir!=="rtl"){const Ce=k.left-G.left,Q=M.left-Ce,me=R.left-Q,Qe=R.width+me,ln=Math.max(Qe,G.width),pt=window.innerWidth-Er,ho=Qm(Q,[Er,pt-ln]);a.style.minWidth=Qe+"px",a.style.left=ho+"px"}else{const Ce=G.right-k.right,Q=window.innerWidth-M.right-Ce,me=window.innerWidth-R.right-Q,Qe=R.width+me,ln=Math.max(Qe,G.width),pt=window.innerWidth-Er,ho=Qm(Q,[Er,pt-ln]);a.style.minWidth=Qe+"px",a.style.right=ho+"px"}const $=y(),N=window.innerHeight-Er*2,A=c.scrollHeight,K=window.getComputedStyle(l),j=parseInt(K.borderTopWidth,10),de=parseInt(K.paddingTop,10),le=parseInt(K.borderBottomWidth,10),fe=parseInt(K.paddingBottom,10),re=j+de+A+fe+le,Oe=Math.min(h.offsetHeight*5,re),De=window.getComputedStyle(c),ue=parseInt(De.paddingTop,10),Fe=parseInt(De.paddingBottom,10),te=R.top+R.height/2-Er,he=N-te,Ze=h.offsetHeight/2,ye=h.offsetTop+Ze,Pt=j+de+ye,Vn=re-Pt;if(Pt<=te){const Ce=h===$[$.length-1].ref.current;a.style.bottom="0px";const Q=l.clientHeight-c.offsetTop-c.offsetHeight,me=Math.max(he,Ze+(Ce?Fe:0)+Q+le),Qe=Pt+me;a.style.height=Qe+"px"}else{const Ce=h===$[0].ref.current;a.style.top="0px";const Q=Math.max(te,j+c.offsetTop+(Ce?ue:0)+Ze)+Vn;a.style.height=Q+"px",c.scrollTop=Pt-te+c.offsetTop}a.style.margin=`${Er}px 0`,a.style.minHeight=Oe+"px",a.style.maxHeight=N+"px",x(!0),requestAnimationFrame(()=>E.current=!0)}},[y,i.trigger,i.valueNode,a,l,c,h,m,i.dir]);lr(()=>P(),[P]);const F=f.exports.useCallback(()=>T([h,l]),[T,h,l]);f.exports.useEffect(()=>{g&&F()},[g,F]);const z=f.exports.useCallback(R=>{R&&w.current===!0&&(P(),F(),w.current=!1)},[P,F]),{onOpenChange:W,triggerPointerDownPosRef:H}=i;f.exports.useEffect(()=>{if(l){let R={x:0,y:0};const G=k=>{var $,N,A,K;R={x:Math.abs(Math.round(k.pageX)-(($=(N=H.current)===null||N===void 0?void 0:N.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(k.pageY)-((A=(K=H.current)===null||K===void 0?void 0:K.y)!==null&&A!==void 0?A:0))}},M=k=>{R.x<=10&&R.y<=10?k.preventDefault():l.contains(k.target)||W(!1),document.removeEventListener("pointermove",G),H.current=null};return H.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",M,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",M,{capture:!0})}}},[l,W,H]),f.exports.useEffect(()=>{const R=()=>W(!1);return window.addEventListener("blur",R),window.addEventListener("resize",R),()=>{window.removeEventListener("blur",R),window.removeEventListener("resize",R)}},[W]);const[ee,ce]=b5(R=>{const G=y().filter($=>!$.disabled),M=G.find($=>$.ref.current===document.activeElement),k=S5(G,R,M);k&&setTimeout(()=>k.ref.current.focus())}),se=f.exports.useCallback((R,G,M)=>{const k=!b.current&&!M;(i.value!==void 0&&i.value===G||k)&&(v(R),k&&(b.current=!0))},[i.value]),B=f.exports.useCallback(()=>l==null?void 0:l.focus(),[l]),Z=f.exports.useCallback((R,G,M)=>{const k=!b.current&&!M;(i.value!==void 0&&i.value===G||k)&&_(R)},[i.value]);return f.exports.createElement(w5,{scope:n,contentWrapper:a,content:l,viewport:c,onViewportChange:d,itemRefCallback:se,selectedItem:h,onItemLeave:B,itemTextRefCallback:Z,selectedItemText:m,onScrollButtonChange:z,isPositioned:g,shouldExpandOnScrollRef:E,searchRef:ee},f.exports.createElement(x5,{as:ea,allowPinchZoom:!0},f.exports.createElement("div",{ref:s,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S}},f.exports.createElement(l5,{asChild:!0,trapped:i.open,onMountAutoFocus:R=>{R.preventDefault()},onUnmountAutoFocus:Ne(r,R=>{var G;(G=i.trigger)===null||G===void 0||G.focus({preventScroll:!0}),R.preventDefault()})},f.exports.createElement(i5,ie({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:R=>R.preventDefault()},o,{ref:p,style:{display:"flex",flexDirection:"column",boxSizing:"border-box",maxHeight:"100%",outline:"none",...o.style},disableOutsidePointerEvents:!0,onFocusOutside:R=>R.preventDefault(),onDismiss:()=>i.onOpenChange(!1),onKeyDown:Ne(o.onKeyDown,R=>{const G=R.ctrlKey||R.altKey||R.metaKey;if(R.key==="Tab"&&R.preventDefault(),!G&&R.key.length===1&&ce(R.key),["ArrowUp","ArrowDown","Home","End"].includes(R.key)){let M=y().filter(k=>!k.disabled).map(k=>k.ref.current);if(["ArrowUp","End"].includes(R.key)&&(M=M.slice().reverse()),["ArrowUp","ArrowDown"].includes(R.key)){const k=R.target,$=M.indexOf(k);M=M.slice($+1)}setTimeout(()=>T(M)),R.preventDefault()}})}))))))}),KY="SelectViewport",XY=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=E5(KY,n),i=Ye(t,o.onViewportChange),a=f.exports.useRef(0);return f.exports.createElement(f.exports.Fragment,null,f.exports.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),f.exports.createElement(Z0.Slot,{scope:n},f.exports.createElement(We.div,ie({"data-radix-select-viewport":"",role:"presentation"},r,{ref:i,style:{position:"relative",flex:1,overflow:"auto",...r.style},onScroll:Ne(r.onScroll,s=>{const l=s.currentTarget,{contentWrapper:u,shouldExpandOnScrollRef:c}=o;if(c!=null&&c.current&&u){const d=Math.abs(a.current-l.scrollTop);if(d>0){const p=window.innerHeight-Er*2,h=parseFloat(u.style.minHeight),v=parseFloat(u.style.height),m=Math.max(h,v);if(m<p){const _=m+d,y=Math.min(p,_),g=_-y;u.style.height=y+"px",u.style.bottom==="0px"&&(l.scrollTop=g>0?g:0,u.style.justifyContent="flex-end")}}}a.current=l.scrollTop})}))))}),ZY="SelectGroup";hl(ZY);const nv="SelectItem",[QY,JY]=hl(nv),eW=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,s=_f(nv,n),l=E5(nv,n),u=s.value===r,[c,d]=f.exports.useState(i!=null?i:""),[p,h]=f.exports.useState(!1),v=Ye(t,y=>{var g;return(g=l.itemRefCallback)===null||g===void 0?void 0:g.call(l,y,r,o)}),m=H0(),_=()=>{o||(s.onValueChange(r),s.onOpenChange(!1))};return f.exports.createElement(QY,{scope:n,value:r,disabled:o,textId:m,isSelected:u,onItemTextChange:f.exports.useCallback(y=>{d(g=>{var x;return g||((x=y==null?void 0:y.textContent)!==null&&x!==void 0?x:"").trim()})},[])},f.exports.createElement(Z0.ItemSlot,{scope:n,value:r,disabled:o,textValue:c},f.exports.createElement(We.div,ie({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:Ne(a.onFocus,()=>h(!0)),onBlur:Ne(a.onBlur,()=>h(!1)),onPointerUp:Ne(a.onPointerUp,_),onPointerMove:Ne(a.onPointerMove,y=>{if(o){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}else y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Ne(a.onPointerLeave,y=>{if(y.currentTarget===document.activeElement){var g;(g=l.onItemLeave)===null||g===void 0||g.call(l)}}),onKeyDown:Ne(a.onKeyDown,y=>{var g;((g=l.searchRef)===null||g===void 0?void 0:g.current)!==""&&y.key===" "||(VY.includes(y.key)&&_(),y.key===" "&&y.preventDefault())})}))))}),tW="SelectItemIndicator",nW=f.exports.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return JY(tW,n).isSelected?f.exports.createElement(We.span,ie({"aria-hidden":!0},r,{ref:t})):null}),rW=f.exports.forwardRef((e,t)=>{const{value:n,...r}=e,o=f.exports.useRef(null),i=Ye(t,o),a=q0(n);return f.exports.useEffect(()=>{const s=o.current,l=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(l,"value").set;if(a!==n&&u){const c=new Event("change",{bubbles:!0});u.call(s,n),s.dispatchEvent(c)}},[a,n]),f.exports.createElement(oY,{asChild:!0},f.exports.createElement("select",ie({},r,{ref:i,defaultValue:n})))});rW.displayName="BubbleSelect";function b5(e){const t=no(e),n=f.exports.useRef(""),r=f.exports.useRef(0),o=f.exports.useCallback(a=>{const s=n.current+a;t(s),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(s)},[t]),i=f.exports.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.exports.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function S5(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=oW(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 oW(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const iW=HY,aW=YY,sW=WY,lW=XY,uW=eW,cW=nW;I(iW)`
890
+ display: inline-flex;
891
+ align-items: center;
892
+ justify-content: space-between;
893
+ background-color: ${O["--ll-color-background"]};
894
+ border-radius: ${O["--ll-border-radius-small"]};
895
+ border: 1px solid ${O["--ll-color-border"]};
896
+ color: ${O["--ll-color-on-background-variant1"]};
897
+ padding: ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-x-small"]}
898
+ ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-small"]};
899
+ flex: 1;
900
+ height: ${({size:e})=>e==="medium"?"32px":"40px"};
901
+ font-size: ${({size:e})=>e==="medium"?O["--ll-font-size-p"]:O["--ll-font-size-h6"]};
902
+ `;I(GY)`
903
+ margin-left: ${O["--ll-spacing-x-small"]};
904
+ `;I(sW)`
905
+ overflow: hidden;
906
+ background-color: ${O["--ll-color-background"]};
907
+ border-radius: ${O["--ll-border-radius-small"]};
908
+ box-shadow: ${O["--ll-shadow-medium"]};
909
+ min-width: 120px;
910
+ z-index: 2;
911
+ font-size: ${({size:e})=>e==="medium"?O["--ll-font-size-p"]:O["--ll-font-size-h6"]};
912
+ `;I(uW)`
913
+ font-family: ${O["--ll-font-family"]};
914
+ font-size: inherit;
915
+ padding: ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-x-large"]}
916
+ ${O["--ll-spacing-xx-small"]} ${O["--ll-spacing-large"]};
917
+ outline: none;
918
+ border-radius: ${O["--ll-border-radius-small"]};
919
+ position: relative;
920
+ color: ${O["--ll-color-on-surface-variant1"]};
921
+ cursor: default;
922
+
923
+ &[data-highlighted] {
924
+ background-color: ${O["--ll-color-primary"]};
925
+ color: ${O["--ll-color-on-primary"]};
926
+ }
927
+ `;I(cW)`
928
+ position: absolute;
929
+ left: 0;
930
+ height: 100%;
931
+ left: 0;
932
+ bottom: 0;
933
+ width: ${O["--ll-spacing-large"]};
934
+ display: inline-flex;
935
+ align-items: center;
936
+ justify-content: center;
937
+ `;I(lW)`
938
+ font-size: inherit;
939
+ padding: ${O["--ll-spacing-base-unit"]};
940
+ `;I(aW)`
941
+ z-index: 1;
942
+ `;function ga(e){return e.split("-")[0]}function wf(e){return e.split("-")[1]}function ya(e){return["top","bottom"].includes(ga(e))?"x":"y"}function J0(e){return e==="y"?"height":"width"}function r2(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=ya(t),l=J0(s),u=r[l]/2-o[l]/2,c=ga(t),d=s==="x";let p;switch(c){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:a};break;case"left":p={x:r.x-o.width,y:a};break;default:p={x:r.x,y:r.y}}switch(wf(t)){case"start":p[s]-=u*(n&&d?-1:1);break;case"end":p[s]+=u*(n&&d?-1:1);break}return p}const dW=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}=r2(l,r,s),d=r,p={},h=0;for(let v=0;v<i.length;v++){const{name:m,fn:_}=i[v],{x:y,y:g,data:x,reset:w}=await _({x:u,y:c,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:l,platform:a,elements:{reference:e,floating:t}});if(u=y!=null?y:u,c=g!=null?g:c,p={...p,[m]:{...p[m],...x}},w&&h<=50){h++,typeof w=="object"&&(w.placement&&(d=w.placement),w.rects&&(l=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:c}=r2(l,d,s)),v=-1;continue}}return{x:u,y:c,placement:d,strategy:o,middlewareData:p}};function fW(e){return{top:0,right:0,bottom:0,left:0,...e}}function C5(e){return typeof e!="number"?fW(e):{top:e,right:e,bottom:e,left:e}}function Fc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ic(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=t,v=C5(h),m=s[p?d==="floating"?"reference":"floating":d],_=Fc(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),y=Fc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:d==="floating"?{...a.floating,x:r,y:o}:a.reference,offsetParent:await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[d]);return{top:_.top-y.top+v.top,bottom:y.bottom-_.bottom+v.bottom,left:_.left-y.left+v.left,right:y.right-_.right+v.right}}const pW=Math.min,hW=Math.max;function rv(e,t,n){return hW(e,pW(t,n))}const o2=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=C5(r),c={x:o,y:i},d=ya(a),p=wf(a),h=J0(d),v=await l.getDimensions(n),m=d==="y"?"top":"left",_=d==="y"?"bottom":"right",y=s.reference[h]+s.reference[d]-c[d]-s.floating[h],g=c[d]-s.reference[d],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;w===0&&(w=s.floating[h]);const E=y/2-g/2,b=u[m],S=w-v[h]-u[_],C=w/2-v[h]/2+E,T=rv(b,C,S),P=(p==="start"?u[m]:u[_])>0&&C!==T&&s.reference[h]<=s.floating[h]?C<b?b-C:S-C:0;return{[d]:c[d]-P,data:{[d]:T,centerOffset:C-T}}}}),mW={left:"right",right:"left",bottom:"top",top:"bottom"};function jc(e){return e.replace(/left|right|bottom|top/g,t=>mW[t])}function vW(e,t,n){n===void 0&&(n=!1);const r=wf(e),o=ya(e),i=J0(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=jc(a)),{main:a,cross:jc(a)}}const gW={start:"end",end:"start"};function i2(e){return e.replace(/start|end/g,t=>gW[t])}const yW=["top","right","bottom","left"];function xW(e){const t=jc(e);return[i2(e),t,i2(t)]}const _W=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:a,platform:s,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",flipAlignment:h=!0,...v}=e,m=ga(r),_=d||(m===a||!h?[jc(a)]:xW(a)),y=[a,..._],g=await Ic(t,v),x=[];let w=((n=o.flip)==null?void 0:n.overflows)||[];if(u&&x.push(g[m]),c){const{main:C,cross:T}=vW(r,i,await(s.isRTL==null?void 0:s.isRTL(l.floating)));x.push(g[C],g[T])}if(w=[...w,{placement:r,overflows:x}],!x.every(C=>C<=0)){var E,b;const C=((E=(b=o.flip)==null?void 0:b.index)!=null?E:0)+1,T=y[C];if(T)return{data:{index:C,overflows:w},reset:{placement:T}};let P="bottom";switch(p){case"bestFit":{var S;const F=(S=w.map(z=>[z,z.overflows.filter(W=>W>0).reduce((W,H)=>W+H,0)]).sort((z,W)=>z[1]-W[1])[0])==null?void 0:S[0].placement;F&&(P=F);break}case"initialPlacement":P=a;break}if(r!==P)return{reset:{placement:P}}}return{}}}};function a2(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s2(e){return yW.some(t=>e[t]>=0)}const wW=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:o}=r;switch(t){case"referenceHidden":{const i=await Ic(r,{...n,elementContext:"reference"}),a=a2(i,o.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:s2(a)}}}case"escaped":{const i=await Ic(r,{...n,altBoundary:!0}),a=a2(i,o.floating);return{data:{escapedOffsets:a,escaped:s2(a)}}}default:return{}}}}};async function EW(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ga(n),s=wf(n),l=ya(n)==="x",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=typeof t=="function"?t(e):t;let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof v=="number"&&(h=s==="end"?v*-1:v),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const bW=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await EW(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function A5(e){return e==="x"?"y":"x"}const SW=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:y,y:g}=_;return{x:y,y:g}}},...l}=e,u={x:n,y:r},c=await Ic(t,l),d=ya(ga(o)),p=A5(d);let h=u[d],v=u[p];if(i){const _=d==="y"?"top":"left",y=d==="y"?"bottom":"right",g=h+c[_],x=h-c[y];h=rv(g,h,x)}if(a){const _=p==="y"?"top":"left",y=p==="y"?"bottom":"right",g=v+c[_],x=v-c[y];v=rv(g,v,x)}const m=s.fn({...t,[d]:h,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r}}}}},CW=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},d=ya(o),p=A5(d);let h=c[d],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 E=d==="y"?"height":"width",b=i.reference[d]-i.floating[E]+_.mainAxis,S=i.reference[d]+i.reference[E]-_.mainAxis;h<b?h=b:h>S&&(h=S)}if(u){var y,g,x,w;const E=d==="y"?"width":"height",b=["top","left"].includes(ga(o)),S=i.reference[p]-i.floating[E]+(b&&(y=(g=a.offset)==null?void 0:g[p])!=null?y:0)+(b?0:_.crossAxis),C=i.reference[p]+i.reference[E]+(b?0:(x=(w=a.offset)==null?void 0:w[p])!=null?x:0)-(b?_.crossAxis:0);v<S?v=S:v>C&&(v=C)}return{[d]:h,[p]:v}}}};function $5(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function hr(e){if(e==null)return window;if(!$5(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ml(e){return hr(e).getComputedStyle(e)}function ur(e){return $5(e)?"":e?(e.nodeName||"").toLowerCase():""}function T5(){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 hr(e).HTMLElement}function ro(e){return e instanceof hr(e).Element}function AW(e){return e instanceof hr(e).Node}function e1(e){if(typeof ShadowRoot>"u")return!1;const t=hr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ef(e){const{overflow:t,overflowX:n,overflowY:r}=ml(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function $W(e){return["table","td","th"].includes(ur(e))}function P5(e){const t=/firefox/i.test(T5()),n=ml(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 k5(){return!/^((?!chrome|android).)*safari/i.test(T5())}const l2=Math.min,ds=Math.max,zc=Math.round;function cr(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&&zc(s.width)/e.offsetWidth||1,u=e.offsetHeight>0&&zc(s.height)/e.offsetHeight||1);const c=ro(e)?hr(e):window,d=!k5()&&n,p=(s.left+(d&&(r=(o=c.visualViewport)==null?void 0:o.offsetLeft)!=null?r:0))/l,h=(s.top+(d&&(i=(a=c.visualViewport)==null?void 0:a.offsetTop)!=null?i:0))/u,v=s.width/l,m=s.height/u;return{width:v,height:m,top:h,right:p+v,bottom:h+m,left:p,x:p,y:h}}function fo(e){return((AW(e)?e.ownerDocument:e.document)||window.document).documentElement}function bf(e){return ro(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function R5(e){return cr(fo(e)).left+bf(e).scrollLeft}function TW(e){const t=cr(e);return zc(t.width)!==e.offsetWidth||zc(t.height)!==e.offsetHeight}function PW(e,t,n){const r=jn(t),o=fo(t),i=cr(e,r&&TW(t),n==="fixed");let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&n!=="fixed")if((ur(t)!=="body"||Ef(o))&&(a=bf(t)),jn(t)){const l=cr(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else o&&(s.x=R5(o));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function O5(e){return ur(e)==="html"?e:e.assignedSlot||e.parentNode||(e1(e)?e.host:null)||fo(e)}function u2(e){return!jn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function kW(e){let t=O5(e);for(e1(t)&&(t=t.host);jn(t)&&!["html","body"].includes(ur(t));){if(P5(t))return t;t=t.parentNode}return null}function ov(e){const t=hr(e);let n=u2(e);for(;n&&$W(n)&&getComputedStyle(n).position==="static";)n=u2(n);return n&&(ur(n)==="html"||ur(n)==="body"&&getComputedStyle(n).position==="static"&&!P5(n))?t:n||kW(e)||t}function c2(e){if(jn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=cr(e);return{width:t.width,height:t.height}}function RW(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")&&((ur(n)!=="body"||Ef(i))&&(a=bf(n)),jn(n))){const l=cr(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 OW(e,t){const n=hr(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=k5();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function MW(e){var t;const n=fo(e),r=bf(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ds(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ds(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let s=-r.scrollLeft+R5(e);const l=-r.scrollTop;return ml(o||n).direction==="rtl"&&(s+=ds(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function M5(e){const t=O5(e);return["html","body","#document"].includes(ur(t))?e.ownerDocument.body:jn(t)&&Ef(t)?t:M5(t)}function Vc(e,t){var n;t===void 0&&(t=[]);const r=M5(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=hr(r),a=o?[i].concat(i.visualViewport||[],Ef(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Vc(a))}function NW(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&e1(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function LW(e,t){const n=cr(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 d2(e,t,n){return t==="viewport"?Fc(OW(e,n)):ro(t)?LW(t,n):Fc(MW(fo(e)))}function DW(e){const t=Vc(e),n=["absolute","fixed"].includes(ml(e).position)&&jn(e)?ov(e):e;return ro(n)?t.filter(r=>ro(r)&&NW(r,n)&&ur(r)!=="body"):[]}function FW(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?DW(t):[].concat(n),r],a=i[0],s=i.reduce((l,u)=>{const c=d2(t,u,o);return l.top=ds(c.top,l.top),l.right=l2(c.right,l.right),l.bottom=l2(c.bottom,l.bottom),l.left=ds(c.left,l.left),l},d2(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}const IW={getClippingRect:FW,convertOffsetParentRelativeRectToViewportRelativeRect:RW,isElement:ro,getDimensions:c2,getOffsetParent:ov,getDocumentElement:fo,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:PW(t,ov(n),r),floating:{...c2(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ml(e).direction==="rtl"};function jW(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?[...ro(e)?Vc(e):[],...Vc(t)]:[];c.forEach(m=>{l&&m.addEventListener("scroll",n,{passive:!0}),u&&m.addEventListener("resize",n)});let d=null;if(a){let m=!0;d=new ResizeObserver(()=>{m||n(),m=!1}),ro(e)&&!s&&d.observe(e),d.observe(t)}let p,h=s?cr(e):null;s&&v();function v(){const m=cr(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=d)==null||m.disconnect(),d=null,s&&cancelAnimationFrame(p)}}const zW=(e,t,n)=>dW(e,t,{platform:IW,...n});var iv=typeof document<"u"?f.exports.useLayoutEffect:f.exports.useEffect;function av(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(!av(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)&&!av(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function VW(e){const t=f.exports.useRef(e);return iv(()=>{t.current=e}),t}function BW(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:o}=e===void 0?{}:e;const i=f.exports.useRef(null),a=f.exports.useRef(null),s=VW(o),l=f.exports.useRef(null),[u,c]=f.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[d,p]=f.exports.useState(t);av(d==null?void 0:d.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=f.exports.useCallback(()=>{!i.current||!a.current||zW(i.current,a.current,{middleware:d,placement:n,strategy:r}).then(x=>{v.current&&Wt.exports.flushSync(()=>{c(x)})})},[d,n,r]);iv(()=>{v.current&&h()},[h]);const v=f.exports.useRef(!1);iv(()=>(v.current=!0,()=>{v.current=!1}),[]);const m=f.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),i.current&&a.current)if(s.current){const x=s.current(i.current,a.current,h);l.current=x}else h()},[h,s]),_=f.exports.useCallback(x=>{i.current=x,m()},[m]),y=f.exports.useCallback(x=>{a.current=x,m()},[m]),g=f.exports.useMemo(()=>({reference:i,floating:a}),[]);return f.exports.useMemo(()=>({...u,update:h,refs:g,reference:_,floating:y}),[u,h,g,_,y])}const UW=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?o2({element:t.current,padding:n}).fn(o):{}:t?o2({element:t,padding:n}).fn(o):{}}}},HW=f.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return f.exports.createElement(We.svg,ie({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:f.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),GW=HW,N5="Popper",[t1,L5]=va(N5),[YW,D5]=t1(N5),WW=e=>{const{__scopePopper:t,children:n}=e,[r,o]=f.exports.useState(null);return f.exports.createElement(YW,{scope:t,anchor:r,onAnchorChange:o},n)},qW="PopperAnchor",KW=f.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=D5(qW,n),a=f.exports.useRef(null),s=Ye(t,a);return f.exports.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:f.exports.createElement(We.div,ie({},o,{ref:s}))}),Bc="PopperContent",[XW,ZW]=t1(Bc),[QW,JW]=t1(Bc,{hasParent:!1,positionUpdateFns:new Set}),eq=f.exports.forwardRef((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:c,side:d="bottom",sideOffset:p=0,align:h="center",alignOffset:v=0,arrowPadding:m=0,collisionBoundary:_=[],collisionPadding:y=0,sticky:g="partial",hideWhenDetached:x=!1,avoidCollisions:w=!0,...E}=e,b=D5(Bc,c),[S,C]=f.exports.useState(null),T=Ye(t,ye=>C(ye)),[P,F]=f.exports.useState(null),z=K0(P),W=(n=z==null?void 0:z.width)!==null&&n!==void 0?n:0,H=(r=z==null?void 0:z.height)!==null&&r!==void 0?r:0,ee=d+(h!=="center"?"-"+h:""),ce=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},se=Array.isArray(_)?_:[_],B=se.length>0,Z={padding:ce,boundary:se.filter(iq),altBoundary:B},{reference:R,floating:G,strategy:M,x:k,y:$,placement:N,middlewareData:A,update:K}=BW({strategy:"fixed",placement:ee,whileElementsMounted:jW,middleware:[bW({mainAxis:p+H,alignmentAxis:v}),w?SW({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?CW():void 0,...Z}):void 0,P?UW({element:P,padding:m}):void 0,w?_W({...Z}):void 0,aq({arrowWidth:W,arrowHeight:H}),x?wW({strategy:"referenceHidden"}):void 0].filter(oq)});lr(()=>{R(b.anchor)},[R,b.anchor]);const j=k!==null&&$!==null,[de,le]=F5(N),fe=(o=A.arrow)===null||o===void 0?void 0:o.x,re=(i=A.arrow)===null||i===void 0?void 0:i.y,Oe=((a=A.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[De,ue]=f.exports.useState();lr(()=>{S&&ue(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Fe,positionUpdateFns:te}=JW(Bc,c),he=!Fe;f.exports.useLayoutEffect(()=>{if(!he)return te.add(K),()=>{te.delete(K)}},[he,te,K]),f.exports.useLayoutEffect(()=>{he&&j&&Array.from(te).reverse().forEach(ye=>requestAnimationFrame(ye))},[he,j,te]);const Ze={"data-side":de,"data-align":le,...E,ref:T,style:{...E.style,animation:j?void 0:"none",opacity:(s=A.hide)!==null&&s!==void 0&&s.referenceHidden?0:void 0}};return f.exports.createElement("div",{ref:G,"data-radix-popper-content-wrapper":"",style:{position:M,left:0,top:0,transform:j?`translate3d(${Math.round(k)}px, ${Math.round($)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:De,["--radix-popper-transform-origin"]:[(l=A.transformOrigin)===null||l===void 0?void 0:l.x,(u=A.transformOrigin)===null||u===void 0?void 0:u.y].join(" ")}},f.exports.createElement(XW,{scope:c,placedSide:de,onArrowChange:F,arrowX:fe,arrowY:re,shouldHideArrow:Oe},he?f.exports.createElement(QW,{scope:c,hasParent:!0,positionUpdateFns:te},f.exports.createElement(We.div,Ze)):f.exports.createElement(We.div,Ze)))}),tq="PopperArrow",nq={top:"bottom",right:"left",bottom:"top",left:"right"},rq=f.exports.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=ZW(tq,n),i=nq[o.placedSide];return f.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},f.exports.createElement(GW,ie({},r,{ref:t,style:{...r.style,display:"block"}})))});function oq(e){return e!==void 0}function iq(e){return e!==null}const aq=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,v]=F5(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)+d/2,y=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+p/2;let g="",x="";return h==="bottom"?(g=c?m:`${_}px`,x=`${-p}px`):h==="top"?(g=c?m:`${_}px`,x=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,x=c?m:`${y}px`):h==="left"&&(g=`${l.floating.width+p}px`,x=c?m:`${y}px`),{data:{x:g,y:x}}}});function F5(e){const[t,n="center"]=e.split("-");return[t,n]}const sq=WW,I5=KW,lq=eq,uq=rq;function cq(e,t){return f.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const n1=e=>{const{present:t,children:n}=e,r=dq(t),o=typeof n=="function"?n({present:r.isPresent}):f.exports.Children.only(n),i=Ye(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.exports.cloneElement(o,{ref:i}):null};n1.displayName="Presence";function dq(e){const[t,n]=f.exports.useState(),r=f.exports.useRef({}),o=f.exports.useRef(e),i=f.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=cq(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.exports.useEffect(()=>{const u=su(r.current);i.current=s==="mounted"?u:"none"},[s]),lr(()=>{const u=r.current,c=o.current;if(c!==e){const d=i.current,p=su(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),lr(()=>{if(t){const u=d=>{const p=su(r.current).includes(d.animationName);d.target===t&&p&&Wt.exports.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(i.current=su(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function su(e){return(e==null?void 0:e.animationName)||"none"}const j5="Popover",[z5,fq]=va(j5,[L5]),vl=L5(),[pq,po]=z5(j5),V5=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=vl(t),l=f.exports.useRef(null),[u,c]=f.exports.useState(!1),[d=!1,p]=W0({prop:r,defaultProp:o,onChange:i});return f.exports.createElement(sq,s,f.exports.createElement(pq,{scope:t,contentId:H0(),triggerRef:l,open:d,onOpenChange:p,onOpenToggle:f.exports.useCallback(()=>p(h=>!h),[p]),hasCustomAnchor:u,onCustomAnchorAdd:f.exports.useCallback(()=>c(!0),[]),onCustomAnchorRemove:f.exports.useCallback(()=>c(!1),[]),modal:a},n))},hq="PopoverAnchor",B5=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=po(hq,n),i=vl(n),{onCustomAnchorAdd:a,onCustomAnchorRemove:s}=o;return f.exports.useEffect(()=>(a(),()=>s()),[a,s]),f.exports.createElement(I5,ie({},i,r,{ref:t}))}),mq="PopoverTrigger",U5=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=po(mq,n),i=vl(n),a=Ye(t,o.triggerRef),s=f.exports.createElement(We.button,ie({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":X5(o.open)},r,{ref:a,onClick:Ne(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:f.exports.createElement(I5,ie({asChild:!0},i),s)}),H5="PopoverPortal",[vq,gq]=z5(H5,{forceMount:void 0}),G5=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=po(H5,t);return f.exports.createElement(vq,{scope:t,forceMount:n},f.exports.createElement(n1,{present:n||i.open},f.exports.createElement(c5,{asChild:!0,container:o},r)))},qs="PopoverContent",Y5=f.exports.forwardRef((e,t)=>{const n=gq(qs,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=po(qs,e.__scopePopover);return f.exports.createElement(n1,{present:r||i.open},i.modal?f.exports.createElement(yq,ie({},o,{ref:t})):f.exports.createElement(xq,ie({},o,{ref:t})))}),yq=f.exports.forwardRef((e,t)=>{const n=po(qs,e.__scopePopover),r=f.exports.useRef(null),o=Ye(t,r),i=f.exports.useRef(!1);return f.exports.useEffect(()=>{const a=r.current;if(a)return d5(a)},[]),f.exports.createElement(x5,{as:ea,allowPinchZoom:!0},f.exports.createElement(W5,ie({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ne(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ne(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:Ne(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),xq=f.exports.forwardRef((e,t)=>{const n=po(qs,e.__scopePopover),r=f.exports.useRef(!1);return f.exports.createElement(W5,ie({},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()}}))}),W5=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...d}=e,p=po(qs,n),h=vl(n);return s5(),f.exports.createElement(l5,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},f.exports.createElement(i5,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:c,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},f.exports.createElement(lq,ie({"data-state":X5(p.open),role:"dialog",id:p.contentId},h,d,{ref:t,style:{...d.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),_q="PopoverClose",q5=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=po(_q,n);return f.exports.createElement(We.button,ie({type:"button"},r,{ref:t,onClick:Ne(e.onClick,()=>o.onOpenChange(!1))}))}),K5=f.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=vl(n);return f.exports.createElement(uq,ie({},o,r,{ref:t}))});function X5(e){return e?"open":"closed"}const wq=V5,Eq=B5,Z5=U5,bq=G5,Q5=Y5,Sq=q5,J5=K5,Cq=Object.freeze(Object.defineProperty({__proto__:null,createPopoverScope:fq,Popover:V5,PopoverAnchor:B5,PopoverTrigger:U5,PopoverPortal:G5,PopoverContent:Y5,PopoverClose:q5,PopoverArrow:K5,Root:wq,Anchor:Eq,Trigger:Z5,Portal:bq,Content:Q5,Close:Sq,Arrow:J5},Symbol.toStringTag,{value:"Module"})),Aq=I(Z5)`
943
+ background: none;
944
+ border: none;
945
+ padding: 0;
946
+ `,eP=I(Q5)`
947
+ padding: ${O["--ll-spacing-small"]};
948
+ background-color: ${O["--ll-color-background"]};
949
+ box-shadow: ${O["--ll-shadow-small"]};
950
+ border-radius: ${O["--ll-border-radius-small"]};
951
+ width: 240px;
952
+ `,tP=I(J5)`
953
+ fill: ${O["--ll-color-background"]};
954
+ `,$q=Object.freeze(Object.defineProperty({__proto__:null,Trigger:Aq,Content:eP,Arrow:tP},Symbol.toStringTag,{value:"Module"})),{Root:Tq,Portal:Pq}=Cq,{Trigger:kq}=$q,Rq=({side:e,children:t,className:n,sideOffset:r=Dt*2,collisionPadding:o=Dt*2})=>Ge(Pq,{children:vf(eP,{side:e,className:n,sideOffset:r,collisionPadding:o,children:[Ge(tP,{}),t]})}),ta=Object.freeze(Object.defineProperty({__proto__:null,Root:Tq,Trigger:kq,Content:Rq},Symbol.toStringTag,{value:"Module"})),nP=J.createContext({}),Oq=()=>f.exports.useContext(nP),Mq=({client:e,options:t,children:n})=>{var r,o;return q(nP.Provider,{value:{client:e,options:t},children:q(O6,{target:document.head,children:et(Zn,{children:[q(_H,{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]})})})},rP=J.createContext({}),gl=()=>f.exports.useContext(rP),qp=(e,t=!1)=>{if(!e)return null;const n=parseFloat(e)*2;return t?Math.round(n):Math.round(n*10)/10},r1=({scoresData:e,score:t,round:n=!1})=>{const r=f.exports.useMemo(()=>{var d,p;const h=(p=(d=e==null?void 0:e.location)==null?void 0:d[t])==null?void 0:p.value;return qp(h,n)},[e,t,n]),o=f.exports.useMemo(()=>{var d,p;return(p=(d=e==null?void 0:e.location)==null?void 0:d[t])==null?void 0:p.text},[e,t]),i=f.exports.useMemo(()=>{var d;return(d=e==null?void 0:e.geographies)==null?void 0:d.find(p=>p.geog_level_type==="municipality")},[e]),a=f.exports.useMemo(()=>{var d;return(d=e==null?void 0:e.geographies)==null?void 0:d.find(p=>p.geog_level_type==="macro neighbourhood")},[e]),s=f.exports.useMemo(()=>{var d;const p=(d=i==null?void 0:i.scores[t])==null?void 0:d.value;return qp(p,n)},[i,t,n]),l=f.exports.useMemo(()=>{var d;const p=(d=a==null?void 0:a.scores[t])==null?void 0:d.value;return qp(p,n)},[a,t,n]),u=f.exports.useMemo(()=>i==null?void 0:i.name,[i]),c=f.exports.useMemo(()=>a==null?void 0:a.name,[a]);return{textVal:o,scoreVal:r,cityName:u,cityScoreVal:s,neighbourhoodName:c,neighbourhoodScoreVal:l}},Nq=e=>e==="small"?ge`
955
+ height: 16px;
956
+ padding: 0 ${O["--ll-spacing-xx-small"]};
957
+ font-size: ${O["--ll-font-size-caption-2"]};
958
+ `:ge`
959
+ height: 32px;
960
+ width: 32px;
961
+ font-size: ${O["--ll-font-size-p"]};
962
+ `,Lq=I.div`
963
+ position: relative;
964
+ background: ${({isPrimary:e})=>e?O["--ll-color-primary"]:O["--ll-color-disabled"]};
965
+ color: ${O["--ll-color-on-primary"]};
966
+ border-radius: ${O["--ll-border-radius-small"]};
967
+ display: flex;
968
+ justify-content: center;
969
+ align-items: center;
970
+ line-height: 1;
971
+ font-family: ${O["--ll-font-family"]};
972
+ overflow: hidden;
973
+ transition: background 160ms ease;
974
+ ${({variant:e})=>Nq(e)};
975
+
976
+ &:after {
977
+ content: "";
978
+ position: absolute;
979
+ top: 0;
980
+ bottom: 0;
981
+ right: 0;
982
+ left: 0;
983
+ background: linear-gradient(
984
+ 180deg,
985
+ rgba(255, 255, 255, 0.2) 0%,
986
+ rgba(0, 0, 0, 0.1) 100%
987
+ );
988
+ }
989
+ `,Dq=I.div`
990
+ z-index: 1;
991
+ `,Fq=({options:{variant:e="large",isPrimary:t=!0}={}})=>{const{options:{scoresData:n,score:r}}=gl(),{scoreVal:o}=r1({scoresData:n,score:r});return o==null?null:q(Lq,{"data-testid":"score-badge",variant:e,isPrimary:t,children:q(Dq,{children:o})})},Kp=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function sv(e,...t){if(!t.length)return e;const n=t.shift();return Kp(e)&&Kp(n)&&Object.keys(n).forEach(r=>{Kp(n[r])?(e[r]||Object.assign(e,{[r]:{}}),sv(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),sv(e,...t)}const mr=e=>{const{client:t}=Oq(),{locale:n="en"}=t.options,r=f.exports.useMemo(()=>sv({},...e)[n],[n,e]);return{locale:n,translations:r}},oP={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"}},iP={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."}},aP=e=>{var t;const{options:{score:n}}=gl(),{translations:r}=mr([iP,oP]);return(t=e.options)!=null&&t.isRawText?q(Zn,{children:r[n]}):q(_t,{...e.options,children:r[n]})};aP.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};const sP=e=>st("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"})]}),Iq=e=>st("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"})]}),jq=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"})}),zq=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"})}),Vq=e=>st("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"})]}),Bq=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"})}),lP=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"})}),uP=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"})}),cP=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"})}),dP=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"})}),fP=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"})}),Uq=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"})}),pP=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"})}),hP=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"})}),lv=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"})}),o1=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"})}),mP=e=>st("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"})]}),Hq=e=>st("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"})]}),Gq={pedestrian_friendly:jq,transit_friendly:sP,cycling_friendly:zq,car_friendly:Iq,groceries:fP,restaurants:dP,cafes:lP,shopping:uP,wellness:lv,parks:Uq,greenery:pP,vibrant:Vq,nightlife:cP,quiet:Bq,historic:Hq,high_schools:o1,primary_schools:mP,daycares:hP},pZ={pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants","healthy_restaurants"],cafes:["cafes"],shopping:["shopping"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:["nightlife"],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]},vP=({options:e})=>{const{options:{score:t}}=gl();return q(co,{SVGElement:Gq[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};vP.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const Yq={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0},Wq=()=>{const[e,t]=f.exports.useState(null),[n,r]=f.exports.useState(Yq),o=f.exports.useMemo(()=>new window.ResizeObserver(i=>{if(i[0]){const{x:a,y:s,width:l,height:u,top:c,left:d,bottom:p,right:h}=i[0].contentRect;r({x:a,y:s,width:l,height:u,top:c,left:d,bottom:p,right:h})}}),[]);return f.exports.useLayoutEffect(()=>{if(e)return o.observe(e),()=>{o.disconnect()}},[e]),[t,n,e]},qq={en:{LOCATION:"This Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood",AVG:"Avg."},fr:{LOCATION:"Ce Lieu",CITY:"Ville",NEIGHBOURHOOD:"Quartier",AVG:"Moy."}},Kq=I.div`
992
+ position: relative;
993
+ display: grid;
994
+ grid-template-columns: ${({isUsingIcons:e})=>e?"auto auto 1fr auto":"auto 1fr auto"};
995
+ align-items: center;
996
+ grid-column-gap: ${O["--ll-spacing-x-small"]};
997
+ width: 100%;
998
+ `,f2=I.div`
999
+ height: ${Dt*2}px;
1000
+ width: 100%;
1001
+ border-radius: ${Dt}px;
1002
+ background-color: ${O["--ll-color-surface-variant1"]};
1003
+ position: relative;
1004
+ overflow: hidden;
1005
+ `,p2=I(u0.div)`
1006
+ position: absolute;
1007
+ height: 100%;
1008
+ border-radius: ${Dt}px;
1009
+ background: linear-gradient(
1010
+ to right,
1011
+ ${O["--ll-color-primary-variant1"]},
1012
+ ${O["--ll-color-primary"]}
1013
+ );
1014
+ `;I.div`
1015
+ position: absolute;
1016
+ height: 100%;
1017
+ top: 0;
1018
+ left: ${({val:e})=>e*10}%;
1019
+ transform: translateX(-1px);
1020
+ border-right: ${({markerType:e})=>`4px ${e==="city"?"solid":"dotted"} ${O["--ll-color-on-background"]}`};
1021
+ `;I.div`
1022
+ position: absolute;
1023
+ top: ${({position:e})=>e==="top"&&"-18px"};
1024
+ bottom: ${({position:e})=>e==="bottom"&&"-18px"};
1025
+ transform: translateX(calc(-50% + 2px));
1026
+ left: 0;
1027
+ `;const Xq=I.div`
1028
+ display: flex;
1029
+ max-width: ${({maxWidth:e})=>e}px;
1030
+ `,Zq=I(_t)`
1031
+ margin-right: 4px;
1032
+ `,Qq=I.span`
1033
+ flex-shrink: 0;
1034
+ `,Jq=({options:{locationIcon:e,cityIcon:t,neighbourhoodIcon:n}={}})=>{const{options:{scoresData:r,score:o}}=gl(),{scoreVal:i,cityName:a,cityScoreVal:s,neighbourhoodName:l,neighbourhoodScoreVal:u}=r1({score:o,scoresData:r}),{translations:c}=mr([qq]),d=!!e||!!t||!!n,[p,h]=Wq(),v=q("div",{}),m=_=>_?q(co,{width:20,height:20,SVGElement:_,fill:O["--ll-color-on-background-variant1"]}):d?v:void 0;return i?q(Zn,{children:et(Kq,{isUsingIcons:d,ref:p,children:[et(Zn,{children:[m(e),q(_t,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:c.LOCATION}),q(f2,{children:q(p2,{animate:{width:`${i/10*100}%`},transition:{delay:.3,...Xm.transitions.spring}})}),q(_t,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:i})]}),s&&et(Zn,{children:[m(t),et(Xq,{maxWidth:h.width/2,children:[q(Zq,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:a||c.CITY}),q(Qq,{children:q(_t,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:c.AVG})})]}),q(f2,{children:q(p2,{animate:{width:`${s/10*100}%`},transition:{delay:.4,...Xm.transitions.spring}})}),q(_t,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:s})]})]})}):null},eK=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"})}),tK=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"})}),nK=I.div`
1035
+ display: flex;
1036
+ align-items: flex-start;
1037
+ justify-content: space-between;
1038
+ `,rK=I(ta.Content)`
1039
+ z-index: 3;
1040
+ `,oK=()=>{const{options:{scoresData:e,score:t},onChange:n}=gl(),{textVal:r}=r1({scoresData:e,score:t}),[o,i]=f.exports.useState(!1),{translations:a}=mr([iP,oP]),s=l=>{i(l),n&&n({type:"tooltip-toggle",data:l})};return r?et(nK,{children:[et(_t,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[r,"."]}),et(ta.Root,{open:o,onOpenChange:s,children:[q(ta.Trigger,{children:q(co,{SVGElement:o?eK:tK,fill:O["--ll-color-primary"],height:20,width:20})}),q(rK,{children:q(_t,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:a[`${t}-description`]})})]})]}):null},iK=e=>q(rP.Provider,{value:{...e},children:e.children}),hZ=Object.freeze(Object.defineProperty({__proto__:null,Badge:Fq,Title:aP,Icon:vP,BarChart:Jq,Description:oK,Root:iK},Symbol.toStringTag,{value:"Module"})),aK={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propuls\xE9 par"}},sK="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=",lK=I.a`
1041
+ display: flex;
1042
+ align-items: center;
1043
+ justify-content: center;
1044
+ text-decoration: none;
1045
+ margin-top: 1px;
1046
+ width: 100%;
1047
+ `,uK=I.img`
1048
+ height: 20px;
1049
+ margin-left: ${O["--ll-spacing-base-unit"]};
1050
+ `,cK=I(_t)`
1051
+ line-height: initial;
1052
+ `,dK=()=>{const{translations:e}=mr([aK]);return et(lK,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[q(cK,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),q(uK,{src:sK})]})},fK=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),mZ=Object.freeze(Object.defineProperty({__proto__:null,Root:dK,Types:fK},Symbol.toStringTag,{value:"Module"})),pK=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"})}),hK=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"})}),mK=({options:e})=>q(WT,{SVGElement:e.style==="house"?pK:hK,size:"large",backgroundColor:O["--ll-color-primary"],backgroundColorHighlight:O["--ll-color-primary-variant1"]}),vK=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),vZ=Object.freeze(Object.defineProperty({__proto__:null,Root:mK,Types:vK},Symbol.toStringTag,{value:"Module"})),gP=J.createContext({}),yP=()=>f.exports.useContext(gP),gK=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"})}),yK=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"})}),xK=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"})}),_K=e=>st("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"})]}),wK=e=>st("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"})]}),EK=e=>st("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"})]}),bK=e=>st("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"})]}),SK=e=>st("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:st("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"})})]})})]}),CK=e=>st("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"})})]}),AK=e=>st("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"})]}),i1={groceries:xK,groceries_specialized:fP,shopping:uP,nightlife:cP,restaurants:dP,healthy_restaurants:lv,cafes:lP,daycares:hP,bus_stops:sP,rapid_transit_stations:gK,train_stations:yK,parks:pP,fitness:bK,personal_care:lv,pet_care:wK,car_fueling_stations:EK,health_care:AK,sport_facilities:_K,art_culture_science:CK,home_improvement:SK,primary_schools:mP,high_schools:o1},$K=()=>{const{options:{type:e,isOpen:t,isHovered:n,size:r}}=yP();return q(ta.Trigger,{children:q(WT,{size:r,SVGElement:i1[e],expandMarker:t||n,backgroundColor:O["--ll-color-primary"],backgroundColorHighlight:O["--ll-color-primary-variant1"]})})},xP=(e,t)=>t==="school",h2=e=>e.charAt(0).toUpperCase()+e.slice(1),a1={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Rapid transit",train_stations:"Train",parks:"Parks",healthy_restaurants:"Healthy restaurants",fitness:"Fitness",sport_facilities:"Sport facilities",health_care:"Health care",pet_care:"Pet care",car_fueling_stations:"Gas stations",art_culture_science:"Art, Culture, Science",home_improvement:"Home improvement",personal_care:"Personal care"},fr:{groceries:"G\xE9n\xE9rales",groceries_specialized:"Sp\xE9cialis\xE9es",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Caf\xE9s",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"M\xE9tro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de sant\xE9",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Am\xE9lioration de l'habitat",personal_care:"Soins personnels"}},TK={en:{SCHOOL_BOARD:"Board",SCHOOL_LANGUAGES:"Languages",SCHOOL_LEVELS:"Levels",SCHOOL_TYPE:"Type",ENGLISH:"English",FRENCH:"French",SPANISH:"Spanish",high_schools:"High schools",primary_schools:"Primary schools"},fr:{SCHOOL_BOARD:"Commission",SCHOOL_LANGUAGES:"Langues",SCHOOL_LEVELS:"Niveaux",SCHOOL_TYPE:"Type",ENGLISH:"Anglais",FRENCH:"Fran\xE7ais",SPANISH:"Espagnol",high_schools:"\xC9coles secondaires",primary_schools:"\xC9coles primaires"}},PK=I.div`
1053
+ display: flex;
1054
+ margin-bottom: ${O["--ll-spacing-xx-small"]};
1055
+ `,kK=I(U0)`
1056
+ margin-right: 2px;
1057
+ margin-bottom: 2px;
1058
+ `,RK=I.div`
1059
+ display: grid;
1060
+ grid-template-columns: auto 1fr;
1061
+ grid-column-gap: 10px;
1062
+ margin-bottom: ${O["--ll-spacing-xx-small"]};
1063
+ `,OK=I(ta.Content)`
1064
+ z-index: 3;
1065
+ `,Xp=I(_t)``,MK=()=>{var e,t,n,r,o,i;const{options:{poi:a,side:s,collisionPadding:l,type:u}}=yP(),{translations:c}=mr([a1,TK]),d=u==="high_schools"||u==="primary_schools"?"school":"poi",p=v=>v.map(m=>{switch(m){case"en":return c.ENGLISH;case"fr":return c.FRENCH;case"es":return c.SPANISH;default:return m}}),h=(v,m)=>et(Zn,{children:[et(Xp,{children:[v,": "]}),q(Xp,{color:O["--ll-color-on-background-variant1"],children:h2(m)})]});return et(OK,{side:s,collisionPadding:l,children:[q(_t,{variant:"h4",noMargin:!0,weight:"--ll-font-weight-bold",children:a.name}),q(zp,{vertical:!0,spacing:"--ll-spacing-xx-small"}),a.address&&q(_t,{variant:"p",noMargin:!0,children:a.address}),q(zp,{vertical:!0,spacing:"--ll-spacing-xx-small"}),a.url&&et(Zn,{children:[q(Uw,{lineClamp:2,href:a.url,children:a.url}),q(zp,{vertical:!0,spacing:"--ll-spacing-xx-small"})]}),xP(a,d)?et(RK,{children:[((e=a.school_attributes)==null?void 0:e.grades)&&h(c.SCHOOL_LEVELS,a.school_attributes.grades),((t=a.school_attributes)==null?void 0:t.languages)&&h(c.SCHOOL_LANGUAGES,p(a.school_attributes.languages).join(", ")),((n=a.school_attributes)==null?void 0:n.types)&&h(c.SCHOOL_TYPE,a.school_attributes.types.join(", ")),((r=a.school_board_attributes)==null?void 0:r.name)&&((o=a.school_board_attributes)==null?void 0:o.url)&&et(Zn,{children:[et(Xp,{children:[c.SCHOOL_BOARD,": "]}),q(Uw,{href:a.school_board_attributes.url,children:h2(a.school_board_attributes.name)})]})]}):a.routes&&et(PK,{children:[q(co,{SVGElement:i1[u],height:20,width:20,fill:O["--ll-color-on-background"]}),(i=a.routes)==null?void 0:i.map((v,m)=>q(kK,{text:v.short_name,backgroundColor:v.route_color,textColor:v.text_color},v.short_name+m))]}),q(U0,{text:c[u],size:"medium",backgroundColor:O["--ll-color-primary"]})]})},NK=e=>q(ta.Root,{open:e.options.isOpen,onOpenChange:t=>e.onChange&&e.onChange({type:"open-change",data:t}),children:q(gP.Provider,{value:{...e},children:e.children})}),LK=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),gZ=Object.freeze(Object.defineProperty({__proto__:null,Types:LK,Marker:$K,Content:MK,Root:NK},Symbol.toStringTag,{value:"Module"})),DK=I.ul`
1066
+ list-style: none;
1067
+ padding: 0;
1068
+ margin-bottom: 0;
1069
+ `,FK=I.li`
1070
+ cursor: default;
1071
+ padding: ${O["--ll-spacing-x-small"]};
1072
+ margin-bottom: ${O["--ll-spacing-xx-small"]};
1073
+ border-radius: ${O["--ll-border-radius-small"]};
1074
+ background-color: ${({isActive:e,isHovered:t})=>e||t?O["--ll-color-surface-variant1"]:O["--ll-color-background"]};
1075
+ `,m2=I.div`
1076
+ display: flex;
1077
+ flex-wrap: wrap;
1078
+ `,v2=I(U0)`
1079
+ margin-right: 2px;
1080
+ margin-bottom: 2px;
1081
+ `,IK=({options:{data:e,type:t,activePOI:n,hoveredPOI:r},onChange:o})=>q(DK,{children:e.map((i,a)=>{var s,l,u;return et(FK,{isActive:n===i,isHovered:r===i,onClick:()=>o&&o({type:"poi-click",data:i}),onMouseOver:()=>o&&o({type:"poi-hover",data:i}),onMouseLeave:()=>o&&o({type:"poi-hover",data:void 0}),children:[q(_t,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:i.name}),xP(i,t)?q(m2,{children:(l=(s=i.school_attributes)==null?void 0:s.types)==null?void 0:l.map((c,d)=>q(v2,{text:c},c))}):q(m2,{children:(u=i.routes)==null?void 0:u.map((c,d)=>q(v2,{text:c.short_name,backgroundColor:c.route_color,textColor:c.text_color},c.short_name+d))})]},`${i.name}-${i.lat}-${i.lng}-${a}`)})}),jK=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),yZ=Object.freeze(Object.defineProperty({__proto__:null,Root:IK,Types:jK},Symbol.toStringTag,{value:"Module"})),_P=J.createContext({}),wP=()=>f.exports.useContext(_P),EP={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"}},bP=e=>{const{scoreCategory:t}=wP(),{translations:n}=mr([EP]);return q(_t,{...e.options,children:n[t]})};bP.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const zK=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"})}),VK=e=>st("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"})]}),BK=e=>st("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"})]}),UK=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"})}),SP=[{value:"commute",icon:zK,scores:["transit_friendly","car_friendly","pedestrian_friendly","cycling_friendly"]},{value:"education",icon:o1,scores:["primary_schools","high_schools","daycares"]},{value:"amenities",icon:UK,scores:["groceries","restaurants","shopping","cafes"]},{value:"character",icon:VK,scores:["quiet","nightlife","vibrant","historic"]},{value:"nature",icon:BK,scores:["parks","greenery"]}],CP=({options:e})=>{const{scoreCategory:t}=wP(),n=SP.find(r=>r.value===t);return q(co,{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})};CP.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const AP=({options:e,children:t})=>q(_P.Provider,{value:{...e},children:t}),$P=Object.freeze(Object.defineProperty({__proto__:null,Root:AP,Title:bP,Icon:CP},Symbol.toStringTag,{value:"Module"}));function It(){return It=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},It.apply(this,arguments)}function Qn(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 s1(e,t=[]){let n=[];function r(i,a){const s=f.exports.createContext(a),l=n.length;n=[...n,a];function u(d){const{scope:p,children:h,...v}=d,m=(p==null?void 0:p[e][l])||s,_=f.exports.useMemo(()=>v,Object.values(v));return f.exports.createElement(m.Provider,{value:_},h)}function c(d,p){const h=(p==null?void 0:p[e][l])||s,v=f.exports.useContext(h);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,c]}const o=()=>{const i=n.map(a=>f.exports.createContext(a));return function(a){const s=(a==null?void 0:a[e])||i;return f.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,HK(o,...t)]}function HK(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){const i=r.reduce((a,{useScope:s,scopeName:l})=>{const u=s(o)[`__scope${l}`];return{...a,...u}},{});return f.exports.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function GK(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function TP(...e){return t=>e.forEach(n=>GK(n,t))}function Uc(...e){return f.exports.useCallback(TP(...e),e)}const Hc=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e,o=f.exports.Children.toArray(n),i=o.find(WK);if(i){const a=i.props.children,s=o.map(l=>l===i?f.exports.Children.count(a)>1?f.exports.Children.only(null):f.exports.isValidElement(a)?a.props.children:null:l);return f.exports.createElement(uv,It({},r,{ref:t}),f.exports.isValidElement(a)?f.exports.cloneElement(a,void 0,s):null)}return f.exports.createElement(uv,It({},r,{ref:t}),n)});Hc.displayName="Slot";const uv=f.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return f.exports.isValidElement(n)?f.exports.cloneElement(n,{...qK(r,n.props),ref:TP(t,n.ref)}):f.exports.Children.count(n)>1?f.exports.Children.only(null):null});uv.displayName="SlotClone";const YK=({children:e})=>f.exports.createElement(f.exports.Fragment,null,e);function WK(e){return f.exports.isValidElement(e)&&e.type===YK}function qK(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}}function KK(e){const t=e+"CollectionProvider",[n,r]=s1(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:v,children:m}=h,_=J.useRef(null),y=J.useRef(new Map).current;return J.createElement(o,{scope:v,itemMap:y,collectionRef:_},m)},s=e+"CollectionSlot",l=J.forwardRef((h,v)=>{const{scope:m,children:_}=h,y=i(s,m),g=Uc(v,y.collectionRef);return J.createElement(Hc,{ref:g},_)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",d=J.forwardRef((h,v)=>{const{scope:m,children:_,...y}=h,g=J.useRef(null),x=Uc(v,g),w=i(u,m);return J.useEffect(()=>(w.itemMap.set(g,{ref:g,...y}),()=>void w.itemMap.delete(g))),J.createElement(Hc,{[c]:"",ref:x},_)});function p(h){const v=i(e+"CollectionConsumer",h);return J.useCallback(()=>{const m=v.collectionRef.current;if(!m)return[];const _=Array.from(m.querySelectorAll(`[${c}]`));return Array.from(v.itemMap.values()).sort((y,g)=>_.indexOf(y.ref.current)-_.indexOf(g.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:a,Slot:l,ItemSlot:d},p,r]}const cv=Boolean(globalThis==null?void 0:globalThis.document)?f.exports.useLayoutEffect:()=>{},XK=vv["useId".toString()]||(()=>{});let ZK=0;function PP(e){const[t,n]=f.exports.useState(XK());return cv(()=>{e||n(r=>r!=null?r:String(ZK++))},[e]),e||(t?`radix-${t}`:"")}const QK=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],xa=QK.reduce((e,t)=>{const n=f.exports.forwardRef((r,o)=>{const{asChild:i,...a}=r,s=i?Hc:t;return f.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.exports.createElement(s,It({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function l1(e){const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function kP({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=JK({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=l1(n),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function JK({defaultProp:e,onChange:t}){const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=l1(t);return f.exports.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const eX=f.exports.createContext(void 0);function RP(e){const t=f.exports.useContext(eX);return e||t||"ltr"}const Zp="rovingFocusGroup.onEntryFocus",tX={bubbles:!1,cancelable:!0},u1="RovingFocusGroup",[dv,OP,nX]=KK(u1),[rX,MP]=s1(u1,[nX]),[oX,iX]=rX(u1),aX=f.exports.forwardRef((e,t)=>f.exports.createElement(dv.Provider,{scope:e.__scopeRovingFocusGroup},f.exports.createElement(dv.Slot,{scope:e.__scopeRovingFocusGroup},f.exports.createElement(sX,It({},e,{ref:t}))))),sX=f.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,d=f.exports.useRef(null),p=Uc(t,d),h=RP(i),[v=null,m]=kP({prop:a,defaultProp:s,onChange:l}),[_,y]=f.exports.useState(!1),g=l1(u),x=OP(n),w=f.exports.useRef(!1);return f.exports.useEffect(()=>{const E=d.current;if(E)return E.addEventListener(Zp,g),()=>E.removeEventListener(Zp,g)},[g]),f.exports.createElement(oX,{scope:n,orientation:r,dir:h,loop:o,currentTabStopId:v,onItemFocus:f.exports.useCallback(E=>m(E),[m]),onItemShiftTab:f.exports.useCallback(()=>y(!0),[])},f.exports.createElement(xa.div,It({tabIndex:_?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:Qn(e.onMouseDown,()=>{w.current=!0}),onFocus:Qn(e.onFocus,E=>{const b=!w.current;if(E.target===E.currentTarget&&b&&!_){const S=new CustomEvent(Zp,tX);if(E.currentTarget.dispatchEvent(S),!S.defaultPrevented){const C=x().filter(z=>z.focusable),T=C.find(z=>z.active),P=C.find(z=>z.id===v),F=[T,P,...C].filter(Boolean).map(z=>z.ref.current);NP(F)}}w.current=!1}),onBlur:Qn(e.onBlur,()=>y(!1))})))}),lX="RovingFocusGroupItem",uX=f.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,...i}=e,a=PP(),s=iX(lX,n),l=s.currentTabStopId===a,u=OP(n);return f.exports.createElement(dv.ItemSlot,{scope:n,id:a,focusable:r,active:o},f.exports.createElement(xa.span,It({tabIndex:l?0:-1,"data-orientation":s.orientation},i,{ref:t,onMouseDown:Qn(e.onMouseDown,c=>{r?s.onItemFocus(a):c.preventDefault()}),onFocus:Qn(e.onFocus,()=>s.onItemFocus(a)),onKeyDown:Qn(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){s.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const d=fX(c,s.orientation,s.dir);if(d!==void 0){c.preventDefault();let p=u().filter(h=>h.focusable).map(h=>h.ref.current);if(d==="last")p.reverse();else if(d==="prev"||d==="next"){d==="prev"&&p.reverse();const h=p.indexOf(c.currentTarget);p=s.loop?pX(p,h+1):p.slice(h+1)}setTimeout(()=>NP(p))}})})))}),cX={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function dX(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function fX(e,t,n){const r=dX(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return cX[r]}function NP(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function pX(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const hX=aX,mX=uX;function vX(e,t){return f.exports.useReducer((n,r)=>{const o=t[n][r];return o!=null?o:n},e)}const LP=e=>{const{present:t,children:n}=e,r=gX(t),o=typeof n=="function"?n({present:r.isPresent}):f.exports.Children.only(n),i=Uc(r.ref,o.ref);return typeof n=="function"||r.isPresent?f.exports.cloneElement(o,{ref:i}):null};LP.displayName="Presence";function gX(e){const[t,n]=f.exports.useState(),r=f.exports.useRef({}),o=f.exports.useRef(e),i=f.exports.useRef("none"),a=e?"mounted":"unmounted",[s,l]=vX(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.exports.useEffect(()=>{const u=lu(r.current);i.current=s==="mounted"?u:"none"},[s]),cv(()=>{const u=r.current,c=o.current;if(c!==e){const d=i.current,p=lu(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),cv(()=>{if(t){const u=d=>{const p=lu(r.current).includes(d.animationName);d.target===t&&p&&Wt.exports.flushSync(()=>l("ANIMATION_END"))},c=d=>{d.target===t&&(i.current=lu(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:f.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function lu(e){return(e==null?void 0:e.animationName)||"none"}const DP="Tabs",[yX,xZ]=s1(DP,[MP]),FP=MP(),[xX,c1]=yX(DP),_X=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",dir:s,activationMode:l="automatic",...u}=e,c=RP(s),[d,p]=kP({prop:r,onChange:o,defaultProp:i});return f.exports.createElement(xX,{scope:n,baseId:PP(),value:d,onValueChange:p,orientation:a,dir:c,activationMode:l},f.exports.createElement(xa.div,It({dir:c,"data-orientation":a},u,{ref:t})))}),wX="TabsList",EX=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,i=c1(wX,n),a=FP(n);return f.exports.createElement(hX,It({asChild:!0},a,{orientation:i.orientation,dir:i.dir,loop:r}),f.exports.createElement(xa.div,It({role:"tablist","aria-orientation":i.orientation},o,{ref:t})))}),bX="TabsTrigger",SX=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...i}=e,a=c1(bX,n),s=FP(n),l=IP(a.baseId,r),u=jP(a.baseId,r),c=r===a.value;return f.exports.createElement(mX,It({asChild:!0},s,{focusable:!o,active:c}),f.exports.createElement(xa.button,It({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:Qn(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?a.onValueChange(r):d.preventDefault()}),onKeyDown:Qn(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&a.onValueChange(r)}),onFocus:Qn(e.onFocus,()=>{const d=a.activationMode!=="manual";!c&&!o&&d&&a.onValueChange(r)})})))}),CX="TabsContent",AX=f.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:i,...a}=e,s=c1(CX,n),l=IP(s.baseId,r),u=jP(s.baseId,r),c=r===s.value,d=f.exports.useRef(c);return f.exports.useEffect(()=>{const p=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(p)},[]),f.exports.createElement(LP,{present:o||c},({present:p})=>f.exports.createElement(xa.div,It({"data-state":c?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:u,tabIndex:0},a,{ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0}}),p&&i))});function IP(e,t){return`${e}-trigger-${t}`}function jP(e,t){return`${e}-content-${t}`}const zP=_X,VP=EX,BP=SX,UP=AX,HP=e=>{const t=f.exports.useRef(e);return f.exports.useEffect(()=>{t.current=e}),f.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])},$X=({defaultValue:e,onChange:t})=>{const n=f.exports.useState(e),[r]=n,o=f.exports.useRef(r),i=HP(t==null?void 0:t.func);return f.exports.useEffect(()=>{o.current!==r&&t&&(i({type:t.key,data:r}),o.current=r)},[r,o,i]),n},TX=({controlledValue:e,onChange:t,defaultValue:n})=>{const[r,o]=$X({defaultValue:n,onChange:t}),i=e!==void 0,a=i?e:r,s=HP(t==null?void 0:t.func),l=f.exports.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&t&&s({type:t.key,data:c})}else o(u)},[i,a,o,s]);return[a,l]},GP=J.createContext({}),PX=()=>f.exports.useContext(GP),kX=({children:e,options:{value:t}})=>q(UP,{value:t,children:q(AP,{options:{scoreCategory:t},children:e})},t),{Title:RX}=$P,{Icon:OX}=$P,MX=I(VP)`
1082
+ display: grid;
1083
+ grid-auto-columns: minmax(0, 1fr);
1084
+ grid-auto-flow: column;
1085
+ background-color: ${O["--ll-color-background"]};
1086
+ `,NX=I(BP)`
1087
+ background: none;
1088
+ border: none;
1089
+ padding: ${O["--ll-spacing-xx-small"]};
1090
+ display: flex;
1091
+ flex-direction: column;
1092
+ align-items: center;
1093
+
1094
+ &:hover {
1095
+ background-color: ${O["--ll-color-surface"]};
1096
+ border-radius: ${O["--ll-border-radius-small"]};
1097
+ box-shadow: ${O["--ll-shadow-small"]};
1098
+ }
1099
+ `,LX=()=>{const{currentTab:e}=PX(),{translations:t}=mr([EP]);return q(MX,{"aria-label":"Score tabs",children:SP.map(n=>{const r=n.value===e?"--ll-color-primary":"--ll-color-disabled";return q(J.Fragment,{children:et(NX,{value:n.value,children:[q(co,{SVGElement:n.icon,fill:O[r]}),q(_t,{noMargin:!0,variant:"caption1",color:r,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)})})},DX=({options:e,onChange:t,children:n})=>{const[r,o]=TX({controlledValue:e.currentTab,onChange:{func:t,key:"tabs"},defaultValue:e.defaultTab||"commute"});return q(GP.Provider,{value:{...e,currentTab:r},children:q(zP,{value:r,orientation:"vertical",defaultValue:r,onValueChange:i=>o(i),children:n})})},_Z=Object.freeze(Object.defineProperty({__proto__:null,Root:DX,Tabs:LX,Content:kX,Title:RX,Icon:OX},Symbol.toStringTag,{value:"Module"})),YP=J.createContext({}),FX=()=>f.exports.useContext(YP),IX=I(BP)`
1100
+ margin-right: ${O["--ll-spacing-xx-small"]};
1101
+ margin-bottom: ${O["--ll-spacing-xx-small"]};
1102
+ `,jX=()=>{const{include:e,activeTab:t,setActiveTab:n}=FX(),{translations:r}=mr([a1]);return e.length<=1?null:q(VP,{"aria-label":"tabs example",children:e.map(o=>q(IX,{value:o,asChild:!0,children:q(Y0,{size:"small",variant:o===t?"contained":"outlined",onClick:()=>n(o),children:r[o]})},o))})},zX=({children:e,options:{value:t}})=>q(UP,{value:t,children:e},t),VX=({options:e,children:t})=>{const[n,r]=f.exports.useState(e.include[0]);return q(YP.Provider,{value:{...e,activeTab:n,setActiveTab:r},children:q(zP,{value:n,children:t})})},wZ=Object.freeze(Object.defineProperty({__proto__:null,Root:VX,Tabs:jX,Content:zX},Symbol.toStringTag,{value:"Module"})),WP=J.createContext({}),qP=()=>f.exports.useContext(WP),KP=e=>{var t;const{options:{poi:n}}=qP(),{translations:r}=mr([a1]);return(t=e.options)!=null&&t.isRawText?q(Zn,{children:r[n]}):q(_t,{...e.options,children:r[n]})};KP.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1",isRawText:!1}};const XP=({options:e})=>{const{options:{poi:t}}=qP();return q(co,{SVGElement:i1[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};XP.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const BX=e=>q(WP.Provider,{value:{...e},children:e.children}),EZ=Object.freeze(Object.defineProperty({__proto__:null,Title:KP,Icon:XP,Root:BX},Symbol.toStringTag,{value:"Module"})),UX=({children:e})=>{var r,o;const{sdkState:t}=dT();if(!(t!=null&&t.apiKey))throw Error("A valid apiKey must be provided.");const n=sH(t.apiKey,{locale:(r=t==null?void 0:t.globalOptions)==null?void 0:r.locale});return L(Mq,{client:n,options:{appearance:(o=t==null?void 0:t.globalOptions)==null?void 0:o.appearance},children:e})},HX=I.div`
1103
+ height: 100%;
1104
+ width: 100%;
1105
+ display: flex;
1106
+ align-items: center;
1107
+ justify-content: center;
1108
+ flex-direction: column;
1109
+ `,GX=({error:e})=>st(HX,{children:[L(bm,{variant:"h4",children:"An error occurred"}),L(bm,{variant:"p",color:"--ll-color-on-background-variant1",children:e.message})]}),YX=new sV({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),WX=()=>st(x9,{children:[L(RD,{}),L(Uz,{FallbackComponent:GX,children:L(hV,{children:L(lV,{client:YX,children:L(fT,{children:L(UX,{children:L(WV,{children:L(S0,{})})})})})})})]});JO({dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new kg],tracesSampleRate:.05,environment:"production",enabled:!0});Qp.createRoot(document.getElementById("root")).render(L(J.StrictMode,{children:L(WX,{})}));export{pZ as $,rA as A,Yz as B,wn as C,Vm as D,$0 as E,x9 as F,qz as G,gZ as H,bp as I,Ct as J,sZ as K,Ep as L,mZ as M,yZ as N,nA as O,Wt as P,nZ as Q,J as R,rf as S,dF as T,Dd as U,vZ as V,Zi as W,vv as X,ge as Y,XX as Z,Ji as _,qX as __vite_legacy_guard,zV as a,ZX as a0,JX as a1,UT as a2,kT as a3,EZ as a4,tZ as a5,st as b,KX as c,Oq as d,rZ as e,$P as f,lZ as g,_Z as h,bm as i,L as j,hZ as k,SP as l,u0 as m,oZ as n,iZ as o,OR as p,f0 as q,f as r,I as s,aZ as t,dT as u,pn as v,C0 as w,Gz as x,D as y,wZ as z};