@local-logic/sdks-app 1.0.0-beta.41 → 1.0.0-beta.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.bffff470.js +715 -0
- package/dist/assets/{index.128006c6.js → index.e4acce0a.js} +163 -139
- package/dist/index.html +1 -1
- package/dist/types/context/stateManager/index.d.ts +3 -3
- package/dist/types/context/stateManager/index.d.ts.map +1 -1
- package/dist/types/context/stateManager/index.js +8 -7
- package/dist/types/context/stateManager/index.js.map +1 -1
- package/dist/types/features/scores/keyFactory.d.ts +1 -1
- package/dist/types/sdks/LocalContent/Map/Attribution/index.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/index.js +7 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.d.ts +2 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.js +9 -0
- package/dist/types/sdks/LocalContent/Map/Attribution/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/index.d.ts +11 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/Score/index.js +5 -4
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/Score/styles.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/Score/styles.js +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/Score/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts +14 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js +27 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/styles.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores → DesktopScores/ScoreCategoryAccordion}/ScoreCategory/styles.js +0 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts +7 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js +18 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.js +21 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.d.ts +5 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.js +31 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/index.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/index.js +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/styles.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Cluster → Markers/Cluster}/styles.js +0 -0
- package/dist/types/sdks/LocalContent/Map/Markers/Cluster/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts +22 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.js +69 -0
- package/dist/types/sdks/LocalContent/Map/Markers/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts +8 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js +46 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts +5 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js +30 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.js +37 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.d.ts +4 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js +20 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.d.ts +7 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.js +11 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts +5 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js +24 -0
- package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/POIs → POIs}/index.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/POIs/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/POIs → POIs}/index.js +8 -5
- package/dist/types/sdks/LocalContent/Map/POIs/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.d.ts +10 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.js +10 -0
- package/dist/types/sdks/LocalContent/Map/Pin/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/Schools → Schools}/index.d.ts +0 -0
- package/dist/types/sdks/LocalContent/Map/Schools/index.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/{Scores/ScoreCategory/Score/Schools → Schools}/index.js +9 -6
- package/dist/types/sdks/LocalContent/Map/Schools/index.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/index.js +56 -86
- package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/styles.d.ts +3 -0
- package/dist/types/sdks/LocalContent/Map/styles.d.ts.map +1 -0
- package/dist/types/sdks/LocalContent/Map/styles.js +17 -0
- package/dist/types/sdks/LocalContent/Map/styles.js.map +1 -0
- package/dist/types/sdks/LocalContent/context.d.ts +6 -4
- package/dist/types/sdks/LocalContent/context.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/context.js +45 -11
- package/dist/types/sdks/LocalContent/context.js.map +1 -1
- package/dist/types/sdks/LocalContent/features/usePois.d.ts +1 -1
- package/dist/types/sdks/LocalContent/features/usePois.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/features/usePois.js +4 -4
- package/dist/types/sdks/LocalContent/features/usePois.js.map +1 -1
- package/dist/types/sdks/LocalContent/features/useSchools.d.ts +1 -1
- package/dist/types/sdks/LocalContent/features/useSchools.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/features/useSchools.js +3 -3
- package/dist/types/sdks/LocalContent/features/useSchools.js.map +1 -1
- package/dist/types/sdks/LocalContent/features/useScores.d.ts +2 -2
- package/dist/types/sdks/LocalContent/features/useScores.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/features/useScores.js +3 -3
- package/dist/types/sdks/LocalContent/features/useScores.js.map +1 -1
- package/dist/types/services/isObject/index.d.ts +2 -0
- package/dist/types/services/isObject/index.d.ts.map +1 -0
- package/dist/types/services/isObject/index.js +2 -0
- package/dist/types/services/isObject/index.js.map +1 -0
- package/dist/types/services/mergeDeep/index.d.ts +2 -0
- package/dist/types/services/mergeDeep/index.d.ts.map +1 -0
- package/dist/types/services/mergeDeep/index.js +22 -0
- package/dist/types/services/mergeDeep/index.js.map +1 -0
- package/package.json +7 -7
- package/dist/assets/index.1ce1f547.js +0 -714
- package/dist/types/sdks/LocalContent/Map/Cluster/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Cluster/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Cluster/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Cluster/styles.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/POIs/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/POIs/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/Schools/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/Schools/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/index.d.ts +0 -10
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/Score/styles.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.d.ts +0 -7
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.js +0 -31
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/ScoreCategory/styles.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/index.d.ts +0 -8
- package/dist/types/sdks/LocalContent/Map/Scores/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/index.js +0 -69
- package/dist/types/sdks/LocalContent/Map/Scores/index.js.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/styles.d.ts +0 -18
- package/dist/types/sdks/LocalContent/Map/Scores/styles.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Scores/styles.js +0 -92
- package/dist/types/sdks/LocalContent/Map/Scores/styles.js.map +0 -1
|
@@ -0,0 +1,715 @@
|
|
|
1
|
+
function d5(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const p5=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}};p5();var m={exports:{}},se={};/**
|
|
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 wa=Symbol.for("react.element"),h5=Symbol.for("react.portal"),v5=Symbol.for("react.fragment"),m5=Symbol.for("react.strict_mode"),g5=Symbol.for("react.profiler"),y5=Symbol.for("react.provider"),_5=Symbol.for("react.context"),x5=Symbol.for("react.forward_ref"),w5=Symbol.for("react.suspense"),E5=Symbol.for("react.memo"),b5=Symbol.for("react.lazy"),tg=Symbol.iterator;function S5(e){return e===null||typeof e!="object"?null:(e=tg&&e[tg]||e["@@iterator"],typeof e=="function"?e:null)}var Px={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ox=Object.assign,kx={};function No(e,t,n){this.props=e,this.context=t,this.refs=kx,this.updater=n||Px}No.prototype.isReactComponent={};No.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")};No.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Nx(){}Nx.prototype=No.prototype;function gv(e,t,n){this.props=e,this.context=t,this.refs=kx,this.updater=n||Px}var yv=gv.prototype=new Nx;yv.constructor=gv;Ox(yv,No.prototype);yv.isPureReactComponent=!0;var ng=Array.isArray,Dx=Object.prototype.hasOwnProperty,_v={current:null},Mx={key:!0,ref:!0,__self:!0,__source:!0};function Lx(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Dx.call(t,r)&&!Mx.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:wa,type:e,key:o,ref:s,props:i,_owner:_v.current}}function C5(e,t){return{$$typeof:wa,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function xv(e){return typeof e=="object"&&e!==null&&e.$$typeof===wa}function A5(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var rg=/\/+/g;function Gf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?A5(""+e.key):t.toString(36)}function Ll(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case wa:case h5:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Gf(s,0):r,ng(i)?(n="",e!=null&&(n=e.replace(rg,"$&/")+"/"),Ll(i,t,n,"",function(u){return u})):i!=null&&(xv(i)&&(i=C5(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(rg,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",ng(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+Gf(o,a);s+=Ll(o,t,n,l,i)}else if(l=S5(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+Gf(o,a++),s+=Ll(o,t,n,l,i);else if(o==="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 s}function Ga(e,t,n){if(e==null)return e;var r=[],i=0;return Ll(e,r,"","",function(o){return t.call(n,o,i++)}),r}function $5(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 vt={current:null},Fl={transition:null},T5={ReactCurrentDispatcher:vt,ReactCurrentBatchConfig:Fl,ReactCurrentOwner:_v};se.Children={map:Ga,forEach:function(e,t,n){Ga(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ga(e,function(){t++}),t},toArray:function(e){return Ga(e,function(t){return t})||[]},only:function(e){if(!xv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};se.Component=No;se.Fragment=v5;se.Profiler=g5;se.PureComponent=gv;se.StrictMode=m5;se.Suspense=w5;se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T5;se.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=Ox({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=_v.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Dx.call(t,l)&&!Mx.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:wa,type:e.type,key:i,ref:o,props:r,_owner:s}};se.createContext=function(e){return e={$$typeof:_5,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:y5,_context:e},e.Consumer=e};se.createElement=Lx;se.createFactory=function(e){var t=Lx.bind(null,e);return t.type=e,t};se.createRef=function(){return{current:null}};se.forwardRef=function(e){return{$$typeof:x5,render:e}};se.isValidElement=xv;se.lazy=function(e){return{$$typeof:b5,_payload:{_status:-1,_result:e},_init:$5}};se.memo=function(e,t){return{$$typeof:E5,type:e,compare:t===void 0?null:t}};se.startTransition=function(e){var t=Fl.transition;Fl.transition={};try{e()}finally{Fl.transition=t}};se.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};se.useCallback=function(e,t){return vt.current.useCallback(e,t)};se.useContext=function(e){return vt.current.useContext(e)};se.useDebugValue=function(){};se.useDeferredValue=function(e){return vt.current.useDeferredValue(e)};se.useEffect=function(e,t){return vt.current.useEffect(e,t)};se.useId=function(){return vt.current.useId()};se.useImperativeHandle=function(e,t,n){return vt.current.useImperativeHandle(e,t,n)};se.useInsertionEffect=function(e,t){return vt.current.useInsertionEffect(e,t)};se.useLayoutEffect=function(e,t){return vt.current.useLayoutEffect(e,t)};se.useMemo=function(e,t){return vt.current.useMemo(e,t)};se.useReducer=function(e,t,n){return vt.current.useReducer(e,t,n)};se.useRef=function(e){return vt.current.useRef(e)};se.useState=function(e){return vt.current.useState(e)};se.useSyncExternalStore=function(e,t,n){return vt.current.useSyncExternalStore(e,t,n)};se.useTransition=function(){return vt.current.useTransition()};se.version="18.2.0";m.exports=se;var K=m.exports,R5=d5({__proto__:null,default:K},[m.exports]),up={},Lr={exports:{}},Mt={},Fx={exports:{}},Ix={};/**
|
|
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(F,G){var W=F.length;F.push(G);e:for(;0<W;){var re=W-1>>>1,D=F[re];if(0<i(D,G))F[re]=G,F[W]=D,W=re;else break e}}function n(F){return F.length===0?null:F[0]}function r(F){if(F.length===0)return null;var G=F[0],W=F.pop();if(W!==G){F[0]=W;e:for(var re=0,D=F.length,O=D>>>1;re<O;){var T=2*(re+1)-1,k=F[T],A=T+1,X=F[A];if(0>i(k,W))A<D&&0>i(X,k)?(F[re]=X,F[A]=W,re=A):(F[re]=k,F[T]=W,re=T);else if(A<D&&0>i(X,W))F[re]=X,F[A]=W,re=A;else break e}}return G}function i(F,G){var W=F.sortIndex-G.sortIndex;return W!==0?W:F.id-G.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,f=null,d=3,p=!1,h=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(F){for(var G=n(u);G!==null;){if(G.callback===null)r(u);else if(G.startTime<=F)r(u),G.sortIndex=G.expirationTime,t(l,G);else break;G=n(u)}}function w(F){if(v=!1,g(F),!h)if(n(l)!==null)h=!0,Ee(E);else{var G=n(u);G!==null&&ie(w,G.startTime-F)}}function E(F,G){h=!1,v&&(v=!1,y(C),C=-1),p=!0;var W=d;try{for(g(G),f=n(l);f!==null&&(!(f.expirationTime>G)||F&&!j());){var re=f.callback;if(typeof re=="function"){f.callback=null,d=f.priorityLevel;var D=re(f.expirationTime<=G);G=e.unstable_now(),typeof D=="function"?f.callback=D:f===n(l)&&r(l),g(G)}else r(l);f=n(l)}if(f!==null)var O=!0;else{var T=n(u);T!==null&&ie(w,T.startTime-G),O=!1}return O}finally{f=null,d=W,p=!1}}var b=!1,S=null,C=-1,$=5,P=-1;function j(){return!(e.unstable_now()-P<$)}function U(){if(S!==null){var F=e.unstable_now();P=F;var G=!0;try{G=S(!0,F)}finally{G?H():(b=!1,S=null)}}else b=!1}var H;if(typeof _=="function")H=function(){_(U)};else if(typeof MessageChannel!="undefined"){var V=new MessageChannel,J=V.port2;V.port1.onmessage=U,H=function(){J.postMessage(null)}}else H=function(){x(U,0)};function Ee(F){S=F,b||(b=!0,H())}function ie(F,G){C=x(function(){F(e.unstable_now())},G)}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(F){F.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,Ee(E))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(F){switch(d){case 1:case 2:case 3:var G=3;break;default:G=d}var W=d;d=G;try{return F()}finally{d=W}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,G){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var W=d;d=F;try{return G()}finally{d=W}},e.unstable_scheduleCallback=function(F,G,W){var re=e.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?re+W:re):W=re,F){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=W+D,F={id:c++,callback:G,priorityLevel:F,startTime:W,expirationTime:D,sortIndex:-1},W>re?(F.sortIndex=W,t(u,F),n(l)===null&&F===n(u)&&(v?(y(C),C=-1):v=!0,ie(w,W-re))):(F.sortIndex=D,t(l,F),h||p||(h=!0,Ee(E))),F},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(F){var G=d;return function(){var W=d;d=G;try{return F.apply(this,arguments)}finally{d=W}}}})(Ix);Fx.exports=Ix;/**
|
|
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 Bx=m.exports,kt=Fx.exports;function M(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 Ux=new Set,Ms={};function gi(e,t){ho(e,t),ho(e+"Capture",t)}function ho(e,t){for(Ms[e]=t,e=0;e<t.length;e++)Ux.add(t[e])}var Ln=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),cp=Object.prototype.hasOwnProperty,P5=/^[: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]*$/,ig={},og={};function O5(e){return cp.call(og,e)?!0:cp.call(ig,e)?!1:P5.test(e)?og[e]=!0:(ig[e]=!0,!1)}function k5(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 N5(e,t,n,r){if(t===null||typeof t=="undefined"||k5(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 mt(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var tt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){tt[e]=new mt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];tt[t]=new mt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){tt[e]=new mt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){tt[e]=new mt(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){tt[e]=new mt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){tt[e]=new mt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){tt[e]=new mt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){tt[e]=new mt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){tt[e]=new mt(e,5,!1,e.toLowerCase(),null,!1,!1)});var wv=/[\-:]([a-z])/g;function Ev(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(wv,Ev);tt[t]=new mt(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(wv,Ev);tt[t]=new mt(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(wv,Ev);tt[t]=new mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){tt[e]=new mt(e,1,!1,e.toLowerCase(),null,!1,!1)});tt.xlinkHref=new mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){tt[e]=new mt(e,1,!1,e.toLowerCase(),null,!0,!0)});function bv(e,t,n,r){var i=tt.hasOwnProperty(t)?tt[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(N5(t,n,i,r)&&(n=null),r||i===null?O5(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Wn=Bx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ya=Symbol.for("react.element"),Mi=Symbol.for("react.portal"),Li=Symbol.for("react.fragment"),Sv=Symbol.for("react.strict_mode"),fp=Symbol.for("react.profiler"),Vx=Symbol.for("react.provider"),jx=Symbol.for("react.context"),Cv=Symbol.for("react.forward_ref"),dp=Symbol.for("react.suspense"),pp=Symbol.for("react.suspense_list"),Av=Symbol.for("react.memo"),nr=Symbol.for("react.lazy"),zx=Symbol.for("react.offscreen"),sg=Symbol.iterator;function Yo(e){return e===null||typeof e!="object"?null:(e=sg&&e[sg]||e["@@iterator"],typeof e=="function"?e:null)}var Oe=Object.assign,Yf;function rs(e){if(Yf===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Yf=t&&t[1]||""}return`
|
|
26
|
+
`+Yf+e}var Wf=!1;function qf(e,t){if(!e||Wf)return"";Wf=!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 i=u.stack.split(`
|
|
27
|
+
`),o=r.stack.split(`
|
|
28
|
+
`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
|
|
29
|
+
`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Wf=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?rs(e):""}function D5(e){switch(e.tag){case 5:return rs(e.type);case 16:return rs("Lazy");case 13:return rs("Suspense");case 19:return rs("SuspenseList");case 0:case 2:case 15:return e=qf(e.type,!1),e;case 11:return e=qf(e.type.render,!1),e;case 1:return e=qf(e.type,!0),e;default:return""}}function hp(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 Li:return"Fragment";case Mi:return"Portal";case fp:return"Profiler";case Sv:return"StrictMode";case dp:return"Suspense";case pp:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jx:return(e.displayName||"Context")+".Consumer";case Vx:return(e._context.displayName||"Context")+".Provider";case Cv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Av:return t=e.displayName||null,t!==null?t:hp(e.type)||"Memo";case nr:t=e._payload,e=e._init;try{return hp(e(t))}catch{}}return null}function M5(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 hp(t);case 8:return t===Sv?"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 Rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function L5(e){var t=Hx(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wa(e){e._valueTracker||(e._valueTracker=L5(e))}function Gx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hx(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function cu(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function vp(e,t){var n=t.checked;return Oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function ag(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rr(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 Yx(e,t){t=t.checked,t!=null&&bv(e,"checked",t,!1)}function mp(e,t){Yx(e,t);var n=Rr(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")?gp(e,t.type,n):t.hasOwnProperty("defaultValue")&&gp(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lg(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 gp(e,t,n){(t!=="number"||cu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var is=Array.isArray;function eo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Rr(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function yp(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return Oe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ug(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(is(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Rr(n)}}function Wx(e,t){var n=Rr(t.value),r=Rr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function cg(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function qx(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 _p(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?qx(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var qa,Xx=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(qa=qa||document.createElement("div"),qa.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=qa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ls(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var cs={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},F5=["Webkit","ms","Moz","O"];Object.keys(cs).forEach(function(e){F5.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cs[t]=cs[e]})});function Qx(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||cs.hasOwnProperty(e)&&cs[e]?(""+t).trim():t+"px"}function Kx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Qx(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var I5=Oe({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 xp(e,t){if(t){if(I5[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function wp(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 Ep=null;function $v(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bp=null,to=null,no=null;function fg(e){if(e=Sa(e)){if(typeof bp!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Ec(t),bp(e.stateNode,e.type,t))}}function Zx(e){to?no?no.push(e):no=[e]:to=e}function Jx(){if(to){var e=to,t=no;if(no=to=null,fg(e),t)for(e=0;e<t.length;e++)fg(t[e])}}function e2(e,t){return e(t)}function t2(){}var Xf=!1;function n2(e,t,n){if(Xf)return e(t,n);Xf=!0;try{return e2(e,t,n)}finally{Xf=!1,(to!==null||no!==null)&&(t2(),Jx())}}function Fs(e,t){var n=e.stateNode;if(n===null)return null;var r=Ec(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(M(231,t,typeof n));return n}var Sp=!1;if(Ln)try{var Wo={};Object.defineProperty(Wo,"passive",{get:function(){Sp=!0}}),window.addEventListener("test",Wo,Wo),window.removeEventListener("test",Wo,Wo)}catch{Sp=!1}function B5(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var fs=!1,fu=null,du=!1,Cp=null,U5={onError:function(e){fs=!0,fu=e}};function V5(e,t,n,r,i,o,s,a,l){fs=!1,fu=null,B5.apply(U5,arguments)}function j5(e,t,n,r,i,o,s,a,l){if(V5.apply(this,arguments),fs){if(fs){var u=fu;fs=!1,fu=null}else throw Error(M(198));du||(du=!0,Cp=u)}}function yi(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 r2(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 dg(e){if(yi(e)!==e)throw Error(M(188))}function z5(e){var t=e.alternate;if(!t){if(t=yi(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return dg(i),e;if(o===r)return dg(i),t;o=o.sibling}throw Error(M(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function i2(e){return e=z5(e),e!==null?o2(e):null}function o2(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=o2(e);if(t!==null)return t;e=e.sibling}return null}var s2=kt.unstable_scheduleCallback,pg=kt.unstable_cancelCallback,H5=kt.unstable_shouldYield,G5=kt.unstable_requestPaint,Fe=kt.unstable_now,Y5=kt.unstable_getCurrentPriorityLevel,Tv=kt.unstable_ImmediatePriority,a2=kt.unstable_UserBlockingPriority,pu=kt.unstable_NormalPriority,W5=kt.unstable_LowPriority,l2=kt.unstable_IdlePriority,yc=null,yn=null;function q5(e){if(yn&&typeof yn.onCommitFiberRoot=="function")try{yn.onCommitFiberRoot(yc,e,void 0,(e.current.flags&128)===128)}catch{}}var rn=Math.clz32?Math.clz32:K5,X5=Math.log,Q5=Math.LN2;function K5(e){return e>>>=0,e===0?32:31-(X5(e)/Q5|0)|0}var Xa=64,Qa=4194304;function os(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 hu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=os(a):(o&=s,o!==0&&(r=os(o)))}else s=n&~i,s!==0?r=os(s):o!==0&&(r=os(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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-rn(t),i=1<<n,r|=e[n],t&=~i;return r}function Z5(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 J5(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-rn(o),a=1<<s,l=i[s];l===-1?((a&n)===0||(a&r)!==0)&&(i[s]=Z5(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Ap(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function u2(){var e=Xa;return Xa<<=1,(Xa&4194240)===0&&(Xa=64),e}function Qf(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ea(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-rn(t),e[t]=n}function e$(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-rn(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Rv(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-rn(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var pe=0;function c2(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var f2,Pv,d2,p2,h2,$p=!1,Ka=[],mr=null,gr=null,yr=null,Is=new Map,Bs=new Map,ar=[],t$="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 hg(e,t){switch(e){case"focusin":case"focusout":mr=null;break;case"dragenter":case"dragleave":gr=null;break;case"mouseover":case"mouseout":yr=null;break;case"pointerover":case"pointerout":Is.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bs.delete(t.pointerId)}}function qo(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Sa(t),t!==null&&Pv(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function n$(e,t,n,r,i){switch(t){case"focusin":return mr=qo(mr,e,t,n,r,i),!0;case"dragenter":return gr=qo(gr,e,t,n,r,i),!0;case"mouseover":return yr=qo(yr,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Is.set(o,qo(Is.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Bs.set(o,qo(Bs.get(o)||null,e,t,n,r,i)),!0}return!1}function v2(e){var t=Kr(e.target);if(t!==null){var n=yi(t);if(n!==null){if(t=n.tag,t===13){if(t=r2(n),t!==null){e.blockedOn=t,h2(e.priority,function(){d2(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 Il(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Tp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ep=r,n.target.dispatchEvent(r),Ep=null}else return t=Sa(n),t!==null&&Pv(t),e.blockedOn=n,!1;t.shift()}return!0}function vg(e,t,n){Il(e)&&n.delete(t)}function r$(){$p=!1,mr!==null&&Il(mr)&&(mr=null),gr!==null&&Il(gr)&&(gr=null),yr!==null&&Il(yr)&&(yr=null),Is.forEach(vg),Bs.forEach(vg)}function Xo(e,t){e.blockedOn===t&&(e.blockedOn=null,$p||($p=!0,kt.unstable_scheduleCallback(kt.unstable_NormalPriority,r$)))}function Us(e){function t(i){return Xo(i,e)}if(0<Ka.length){Xo(Ka[0],e);for(var n=1;n<Ka.length;n++){var r=Ka[n];r.blockedOn===e&&(r.blockedOn=null)}}for(mr!==null&&Xo(mr,e),gr!==null&&Xo(gr,e),yr!==null&&Xo(yr,e),Is.forEach(t),Bs.forEach(t),n=0;n<ar.length;n++)r=ar[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ar.length&&(n=ar[0],n.blockedOn===null);)v2(n),n.blockedOn===null&&ar.shift()}var ro=Wn.ReactCurrentBatchConfig,vu=!0;function i$(e,t,n,r){var i=pe,o=ro.transition;ro.transition=null;try{pe=1,Ov(e,t,n,r)}finally{pe=i,ro.transition=o}}function o$(e,t,n,r){var i=pe,o=ro.transition;ro.transition=null;try{pe=4,Ov(e,t,n,r)}finally{pe=i,ro.transition=o}}function Ov(e,t,n,r){if(vu){var i=Tp(e,t,n,r);if(i===null)sd(e,t,r,mu,n),hg(e,r);else if(n$(i,e,t,n,r))r.stopPropagation();else if(hg(e,r),t&4&&-1<t$.indexOf(e)){for(;i!==null;){var o=Sa(i);if(o!==null&&f2(o),o=Tp(e,t,n,r),o===null&&sd(e,t,r,mu,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else sd(e,t,r,null,n)}}var mu=null;function Tp(e,t,n,r){if(mu=null,e=$v(r),e=Kr(e),e!==null)if(t=yi(e),t===null)e=null;else if(n=t.tag,n===13){if(e=r2(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 mu=e,null}function m2(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(Y5()){case Tv:return 1;case a2:return 4;case pu:case W5:return 16;case l2:return 536870912;default:return 16}default:return 16}}var fr=null,kv=null,Bl=null;function g2(){if(Bl)return Bl;var e,t=kv,n=t.length,r,i="value"in fr?fr.value:fr.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Bl=i.slice(e,1<r?1-r:void 0)}function Ul(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Za(){return!0}function mg(){return!1}function Lt(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Za:mg,this.isPropagationStopped=mg,this}return Oe(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=Za)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Za)},persist:function(){},isPersistent:Za}),t}var Do={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nv=Lt(Do),ba=Oe({},Do,{view:0,detail:0}),s$=Lt(ba),Kf,Zf,Qo,_c=Oe({},ba,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dv,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!==Qo&&(Qo&&e.type==="mousemove"?(Kf=e.screenX-Qo.screenX,Zf=e.screenY-Qo.screenY):Zf=Kf=0,Qo=e),Kf)},movementY:function(e){return"movementY"in e?e.movementY:Zf}}),gg=Lt(_c),a$=Oe({},_c,{dataTransfer:0}),l$=Lt(a$),u$=Oe({},ba,{relatedTarget:0}),Jf=Lt(u$),c$=Oe({},Do,{animationName:0,elapsedTime:0,pseudoElement:0}),f$=Lt(c$),d$=Oe({},Do,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),p$=Lt(d$),h$=Oe({},Do,{data:0}),yg=Lt(h$),v$={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},m$={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"},g$={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function y$(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=g$[e])?!!t[e]:!1}function Dv(){return y$}var _$=Oe({},ba,{key:function(e){if(e.key){var t=v$[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ul(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?m$[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dv,charCode:function(e){return e.type==="keypress"?Ul(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ul(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),x$=Lt(_$),w$=Oe({},_c,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_g=Lt(w$),E$=Oe({},ba,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dv}),b$=Lt(E$),S$=Oe({},Do,{propertyName:0,elapsedTime:0,pseudoElement:0}),C$=Lt(S$),A$=Oe({},_c,{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}),$$=Lt(A$),T$=[9,13,27,32],Mv=Ln&&"CompositionEvent"in window,ds=null;Ln&&"documentMode"in document&&(ds=document.documentMode);var R$=Ln&&"TextEvent"in window&&!ds,y2=Ln&&(!Mv||ds&&8<ds&&11>=ds),xg=String.fromCharCode(32),wg=!1;function _2(e,t){switch(e){case"keyup":return T$.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function x2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fi=!1;function P$(e,t){switch(e){case"compositionend":return x2(t);case"keypress":return t.which!==32?null:(wg=!0,xg);case"textInput":return e=t.data,e===xg&&wg?null:e;default:return null}}function O$(e,t){if(Fi)return e==="compositionend"||!Mv&&_2(e,t)?(e=g2(),Bl=kv=fr=null,Fi=!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 y2&&t.locale!=="ko"?null:t.data;default:return null}}var k$={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 Eg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!k$[e.type]:t==="textarea"}function w2(e,t,n,r){Zx(r),t=gu(t,"onChange"),0<t.length&&(n=new Nv("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ps=null,Vs=null;function N$(e){k2(e,0)}function xc(e){var t=Ui(e);if(Gx(t))return e}function D$(e,t){if(e==="change")return t}var E2=!1;if(Ln){var ed;if(Ln){var td="oninput"in document;if(!td){var bg=document.createElement("div");bg.setAttribute("oninput","return;"),td=typeof bg.oninput=="function"}ed=td}else ed=!1;E2=ed&&(!document.documentMode||9<document.documentMode)}function Sg(){ps&&(ps.detachEvent("onpropertychange",b2),Vs=ps=null)}function b2(e){if(e.propertyName==="value"&&xc(Vs)){var t=[];w2(t,Vs,e,$v(e)),n2(N$,t)}}function M$(e,t,n){e==="focusin"?(Sg(),ps=t,Vs=n,ps.attachEvent("onpropertychange",b2)):e==="focusout"&&Sg()}function L$(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xc(Vs)}function F$(e,t){if(e==="click")return xc(t)}function I$(e,t){if(e==="input"||e==="change")return xc(t)}function B$(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var un=typeof Object.is=="function"?Object.is:B$;function js(e,t){if(un(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!cp.call(t,i)||!un(e[i],t[i]))return!1}return!0}function Cg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ag(e,t){var n=Cg(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=Cg(n)}}function S2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?S2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function C2(){for(var e=window,t=cu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=cu(e.document)}return t}function Lv(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 U$(e){var t=C2(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&S2(n.ownerDocument.documentElement,n)){if(r!==null&&Lv(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Ag(n,o);var s=Ag(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 V$=Ln&&"documentMode"in document&&11>=document.documentMode,Ii=null,Rp=null,hs=null,Pp=!1;function $g(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pp||Ii==null||Ii!==cu(r)||(r=Ii,"selectionStart"in r&&Lv(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}),hs&&js(hs,r)||(hs=r,r=gu(Rp,"onSelect"),0<r.length&&(t=new Nv("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ii)))}function Ja(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Bi={animationend:Ja("Animation","AnimationEnd"),animationiteration:Ja("Animation","AnimationIteration"),animationstart:Ja("Animation","AnimationStart"),transitionend:Ja("Transition","TransitionEnd")},nd={},A2={};Ln&&(A2=document.createElement("div").style,"AnimationEvent"in window||(delete Bi.animationend.animation,delete Bi.animationiteration.animation,delete Bi.animationstart.animation),"TransitionEvent"in window||delete Bi.transitionend.transition);function wc(e){if(nd[e])return nd[e];if(!Bi[e])return e;var t=Bi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in A2)return nd[e]=t[n];return e}var $2=wc("animationend"),T2=wc("animationiteration"),R2=wc("animationstart"),P2=wc("transitionend"),O2=new Map,Tg="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 Fr(e,t){O2.set(e,t),gi(t,[e])}for(var rd=0;rd<Tg.length;rd++){var id=Tg[rd],j$=id.toLowerCase(),z$=id[0].toUpperCase()+id.slice(1);Fr(j$,"on"+z$)}Fr($2,"onAnimationEnd");Fr(T2,"onAnimationIteration");Fr(R2,"onAnimationStart");Fr("dblclick","onDoubleClick");Fr("focusin","onFocus");Fr("focusout","onBlur");Fr(P2,"onTransitionEnd");ho("onMouseEnter",["mouseout","mouseover"]);ho("onMouseLeave",["mouseout","mouseover"]);ho("onPointerEnter",["pointerout","pointerover"]);ho("onPointerLeave",["pointerout","pointerover"]);gi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));gi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));gi("onBeforeInput",["compositionend","keypress","textInput","paste"]);gi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));gi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));gi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ss="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(" "),H$=new Set("cancel close invalid load scroll toggle".split(" ").concat(ss));function Rg(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,j5(r,t,void 0,e),e.currentTarget=null}function k2(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;Rg(i,a,u),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;Rg(i,a,u),o=l}}}if(du)throw e=Cp,du=!1,Cp=null,e}function Se(e,t){var n=t[Mp];n===void 0&&(n=t[Mp]=new Set);var r=e+"__bubble";n.has(r)||(N2(t,e,2,!1),n.add(r))}function od(e,t,n){var r=0;t&&(r|=4),N2(n,e,r,t)}var el="_reactListening"+Math.random().toString(36).slice(2);function zs(e){if(!e[el]){e[el]=!0,Ux.forEach(function(n){n!=="selectionchange"&&(H$.has(n)||od(n,!1,e),od(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[el]||(t[el]=!0,od("selectionchange",!1,t))}}function N2(e,t,n,r){switch(m2(t)){case 1:var i=i$;break;case 4:i=o$;break;default:i=Ov}n=i.bind(null,t,n,e),i=void 0,!Sp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function sd(e,t,n,r,i){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Kr(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}n2(function(){var u=o,c=$v(n),f=[];e:{var d=O2.get(e);if(d!==void 0){var p=Nv,h=e;switch(e){case"keypress":if(Ul(n)===0)break e;case"keydown":case"keyup":p=x$;break;case"focusin":h="focus",p=Jf;break;case"focusout":h="blur",p=Jf;break;case"beforeblur":case"afterblur":p=Jf;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=gg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=l$;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=b$;break;case $2:case T2:case R2:p=f$;break;case P2:p=C$;break;case"scroll":p=s$;break;case"wheel":p=$$;break;case"copy":case"cut":case"paste":p=p$;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=_g}var v=(t&4)!==0,x=!v&&e==="scroll",y=v?d!==null?d+"Capture":null:d;v=[];for(var _=u,g;_!==null;){g=_;var w=g.stateNode;if(g.tag===5&&w!==null&&(g=w,y!==null&&(w=Fs(_,y),w!=null&&v.push(Hs(_,w,g)))),x)break;_=_.return}0<v.length&&(d=new p(d,h,null,n,c),f.push({event:d,listeners:v}))}}if((t&7)===0){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&n!==Ep&&(h=n.relatedTarget||n.fromElement)&&(Kr(h)||h[Fn]))break e;if((p||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,p?(h=n.relatedTarget||n.toElement,p=u,h=h?Kr(h):null,h!==null&&(x=yi(h),h!==x||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=u),p!==h)){if(v=gg,w="onMouseLeave",y="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(v=_g,w="onPointerLeave",y="onPointerEnter",_="pointer"),x=p==null?d:Ui(p),g=h==null?d:Ui(h),d=new v(w,_+"leave",p,n,c),d.target=x,d.relatedTarget=g,w=null,Kr(c)===u&&(v=new v(y,_+"enter",h,n,c),v.target=g,v.relatedTarget=x,w=v),x=w,p&&h)t:{for(v=p,y=h,_=0,g=v;g;g=Ci(g))_++;for(g=0,w=y;w;w=Ci(w))g++;for(;0<_-g;)v=Ci(v),_--;for(;0<g-_;)y=Ci(y),g--;for(;_--;){if(v===y||y!==null&&v===y.alternate)break t;v=Ci(v),y=Ci(y)}v=null}else v=null;p!==null&&Pg(f,d,p,v,!1),h!==null&&x!==null&&Pg(f,x,h,v,!0)}}e:{if(d=u?Ui(u):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var E=D$;else if(Eg(d))if(E2)E=I$;else{E=L$;var b=M$}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(E=F$);if(E&&(E=E(e,u))){w2(f,E,n,c);break e}b&&b(e,d,u),e==="focusout"&&(b=d._wrapperState)&&b.controlled&&d.type==="number"&&gp(d,"number",d.value)}switch(b=u?Ui(u):window,e){case"focusin":(Eg(b)||b.contentEditable==="true")&&(Ii=b,Rp=u,hs=null);break;case"focusout":hs=Rp=Ii=null;break;case"mousedown":Pp=!0;break;case"contextmenu":case"mouseup":case"dragend":Pp=!1,$g(f,n,c);break;case"selectionchange":if(V$)break;case"keydown":case"keyup":$g(f,n,c)}var S;if(Mv)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 Fi?_2(e,n)&&(C="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(y2&&n.locale!=="ko"&&(Fi||C!=="onCompositionStart"?C==="onCompositionEnd"&&Fi&&(S=g2()):(fr=c,kv="value"in fr?fr.value:fr.textContent,Fi=!0)),b=gu(u,C),0<b.length&&(C=new yg(C,e,null,n,c),f.push({event:C,listeners:b}),S?C.data=S:(S=x2(n),S!==null&&(C.data=S)))),(S=R$?P$(e,n):O$(e,n))&&(u=gu(u,"onBeforeInput"),0<u.length&&(c=new yg("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=S))}k2(f,t)})}function Hs(e,t,n){return{instance:e,listener:t,currentTarget:n}}function gu(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Fs(e,n),o!=null&&r.unshift(Hs(e,o,i)),o=Fs(e,t),o!=null&&r.push(Hs(e,o,i))),e=e.return}return r}function Ci(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pg(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=Fs(n,o),l!=null&&s.unshift(Hs(n,l,a))):i||(l=Fs(n,o),l!=null&&s.push(Hs(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var G$=/\r\n?/g,Y$=/\u0000|\uFFFD/g;function Og(e){return(typeof e=="string"?e:""+e).replace(G$,`
|
|
30
|
+
`).replace(Y$,"")}function tl(e,t,n){if(t=Og(t),Og(e)!==t&&n)throw Error(M(425))}function yu(){}var Op=null,kp=null;function Np(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 Dp=typeof setTimeout=="function"?setTimeout:void 0,W$=typeof clearTimeout=="function"?clearTimeout:void 0,kg=typeof Promise=="function"?Promise:void 0,q$=typeof queueMicrotask=="function"?queueMicrotask:typeof kg!="undefined"?function(e){return kg.resolve(null).then(e).catch(X$)}:Dp;function X$(e){setTimeout(function(){throw e})}function ad(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Us(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Us(t)}function _r(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 Ng(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 Mo=Math.random().toString(36).slice(2),hn="__reactFiber$"+Mo,Gs="__reactProps$"+Mo,Fn="__reactContainer$"+Mo,Mp="__reactEvents$"+Mo,Q$="__reactListeners$"+Mo,K$="__reactHandles$"+Mo;function Kr(e){var t=e[hn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fn]||n[hn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ng(e);e!==null;){if(n=e[hn])return n;e=Ng(e)}return t}e=n,n=e.parentNode}return null}function Sa(e){return e=e[hn]||e[Fn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ui(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function Ec(e){return e[Gs]||null}var Lp=[],Vi=-1;function Ir(e){return{current:e}}function Ce(e){0>Vi||(e.current=Lp[Vi],Lp[Vi]=null,Vi--)}function we(e,t){Vi++,Lp[Vi]=e.current,e.current=t}var Pr={},ut=Ir(Pr),xt=Ir(!1),ui=Pr;function vo(e,t){var n=e.type.contextTypes;if(!n)return Pr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function wt(e){return e=e.childContextTypes,e!=null}function _u(){Ce(xt),Ce(ut)}function Dg(e,t,n){if(ut.current!==Pr)throw Error(M(168));we(ut,t),we(xt,n)}function D2(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,M5(e)||"Unknown",i));return Oe({},n,r)}function xu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pr,ui=ut.current,we(ut,e),we(xt,xt.current),!0}function Mg(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=D2(e,t,ui),r.__reactInternalMemoizedMergedChildContext=e,Ce(xt),Ce(ut),we(ut,e)):Ce(xt),we(xt,n)}var Pn=null,bc=!1,ld=!1;function M2(e){Pn===null?Pn=[e]:Pn.push(e)}function Z$(e){bc=!0,M2(e)}function Br(){if(!ld&&Pn!==null){ld=!0;var e=0,t=pe;try{var n=Pn;for(pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Pn=null,bc=!1}catch(i){throw Pn!==null&&(Pn=Pn.slice(e+1)),s2(Tv,Br),i}finally{pe=t,ld=!1}}return null}var ji=[],zi=0,wu=null,Eu=0,Bt=[],Ut=0,ci=null,On=1,kn="";function Yr(e,t){ji[zi++]=Eu,ji[zi++]=wu,wu=e,Eu=t}function L2(e,t,n){Bt[Ut++]=On,Bt[Ut++]=kn,Bt[Ut++]=ci,ci=e;var r=On;e=kn;var i=32-rn(r)-1;r&=~(1<<i),n+=1;var o=32-rn(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,On=1<<32-rn(t)+i|n<<i|r,kn=o+e}else On=1<<o|n<<i|r,kn=e}function Fv(e){e.return!==null&&(Yr(e,1),L2(e,1,0))}function Iv(e){for(;e===wu;)wu=ji[--zi],ji[zi]=null,Eu=ji[--zi],ji[zi]=null;for(;e===ci;)ci=Bt[--Ut],Bt[Ut]=null,kn=Bt[--Ut],Bt[Ut]=null,On=Bt[--Ut],Bt[Ut]=null}var Ot=null,Rt=null,Ae=!1,tn=null;function F2(e,t){var n=Vt(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 Lg(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,Ot=e,Rt=_r(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ot=e,Rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=ci!==null?{id:On,overflow:kn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Vt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ot=e,Rt=null,!0):!1;default:return!1}}function Fp(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ip(e){if(Ae){var t=Rt;if(t){var n=t;if(!Lg(e,t)){if(Fp(e))throw Error(M(418));t=_r(n.nextSibling);var r=Ot;t&&Lg(e,t)?F2(r,n):(e.flags=e.flags&-4097|2,Ae=!1,Ot=e)}}else{if(Fp(e))throw Error(M(418));e.flags=e.flags&-4097|2,Ae=!1,Ot=e}}}function Fg(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ot=e}function nl(e){if(e!==Ot)return!1;if(!Ae)return Fg(e),Ae=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Np(e.type,e.memoizedProps)),t&&(t=Rt)){if(Fp(e))throw I2(),Error(M(418));for(;t;)F2(e,t),t=_r(t.nextSibling)}if(Fg(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Rt=_r(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Rt=null}}else Rt=Ot?_r(e.stateNode.nextSibling):null;return!0}function I2(){for(var e=Rt;e;)e=_r(e.nextSibling)}function mo(){Rt=Ot=null,Ae=!1}function Bv(e){tn===null?tn=[e]:tn.push(e)}var J$=Wn.ReactCurrentBatchConfig;function Zt(e,t){if(e&&e.defaultProps){t=Oe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var bu=Ir(null),Su=null,Hi=null,Uv=null;function Vv(){Uv=Hi=Su=null}function jv(e){var t=bu.current;Ce(bu),e._currentValue=t}function Bp(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 io(e,t){Su=e,Uv=Hi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(_t=!0),e.firstContext=null)}function Ht(e){var t=e._currentValue;if(Uv!==e)if(e={context:e,memoizedValue:t,next:null},Hi===null){if(Su===null)throw Error(M(308));Hi=e,Su.dependencies={lanes:0,firstContext:e}}else Hi=Hi.next=e;return t}var Zr=null;function zv(e){Zr===null?Zr=[e]:Zr.push(e)}function B2(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,zv(t)):(n.next=i.next,i.next=n),t.interleaved=n,In(e,r)}function In(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var rr=!1;function Hv(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function U2(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 Nn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(ue&2)!==0){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,In(e,n)}return i=r.interleaved,i===null?(t.next=t,zv(r)):(t.next=i.next,i.next=t),r.interleaved=t,In(e,n)}function Vl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rv(e,n)}}function Ig(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 Cu(e,t,n,r){var i=e.updateQueue;rr=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;s=0,c=u=l=null,a=o;do{var d=a.lane,p=a.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,v=a;switch(d=t,p=n,v.tag){case 1:if(h=v.payload,typeof h=="function"){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=v.payload,d=typeof h=="function"?h.call(p,f,d):h,d==null)break e;f=Oe({},f,d);break e;case 2:rr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=f):c=c.next=p,s|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(c===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);di|=s,e.lanes=s,e.memoizedState=f}}function Bg(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(M(191,i));i.call(r)}}}var V2=new Bx.Component().refs;function Up(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Oe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Sc={isMounted:function(e){return(e=e._reactInternals)?yi(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ht(),i=Er(e),o=Nn(r,i);o.payload=t,n!=null&&(o.callback=n),t=xr(e,o,i),t!==null&&(on(t,e,i,r),Vl(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ht(),i=Er(e),o=Nn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=xr(e,o,i),t!==null&&(on(t,e,i,r),Vl(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ht(),r=Er(e),i=Nn(n,r);i.tag=2,t!=null&&(i.callback=t),t=xr(e,i,r),t!==null&&(on(t,e,r,n),Vl(t,e,r))}};function Ug(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!js(n,r)||!js(i,o):!0}function j2(e,t,n){var r=!1,i=Pr,o=t.contextType;return typeof o=="object"&&o!==null?o=Ht(o):(i=wt(t)?ui:ut.current,r=t.contextTypes,o=(r=r!=null)?vo(e,i):Pr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Sc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vg(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&&Sc.enqueueReplaceState(t,t.state,null)}function Vp(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=V2,Hv(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ht(o):(o=wt(t)?ui:ut.current,i.context=vo(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Up(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Sc.enqueueReplaceState(i,i.state,null),Cu(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Ko(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(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;a===V2&&(a=i.refs={}),s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function rl(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jg(e){var t=e._init;return t(e._payload)}function z2(e){function t(y,_){if(e){var g=y.deletions;g===null?(y.deletions=[_],y.flags|=16):g.push(_)}}function n(y,_){if(!e)return null;for(;_!==null;)t(y,_),_=_.sibling;return null}function r(y,_){for(y=new Map;_!==null;)_.key!==null?y.set(_.key,_):y.set(_.index,_),_=_.sibling;return y}function i(y,_){return y=br(y,_),y.index=0,y.sibling=null,y}function o(y,_,g){return y.index=g,e?(g=y.alternate,g!==null?(g=g.index,g<_?(y.flags|=2,_):g):(y.flags|=2,_)):(y.flags|=1048576,_)}function s(y){return e&&y.alternate===null&&(y.flags|=2),y}function a(y,_,g,w){return _===null||_.tag!==6?(_=vd(g,y.mode,w),_.return=y,_):(_=i(_,g),_.return=y,_)}function l(y,_,g,w){var E=g.type;return E===Li?c(y,_,g.props.children,w,g.key):_!==null&&(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===nr&&jg(E)===_.type)?(w=i(_,g.props),w.ref=Ko(y,_,g),w.return=y,w):(w=Wl(g.type,g.key,g.props,null,y.mode,w),w.ref=Ko(y,_,g),w.return=y,w)}function u(y,_,g,w){return _===null||_.tag!==4||_.stateNode.containerInfo!==g.containerInfo||_.stateNode.implementation!==g.implementation?(_=md(g,y.mode,w),_.return=y,_):(_=i(_,g.children||[]),_.return=y,_)}function c(y,_,g,w,E){return _===null||_.tag!==7?(_=ii(g,y.mode,w,E),_.return=y,_):(_=i(_,g),_.return=y,_)}function f(y,_,g){if(typeof _=="string"&&_!==""||typeof _=="number")return _=vd(""+_,y.mode,g),_.return=y,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Ya:return g=Wl(_.type,_.key,_.props,null,y.mode,g),g.ref=Ko(y,null,_),g.return=y,g;case Mi:return _=md(_,y.mode,g),_.return=y,_;case nr:var w=_._init;return f(y,w(_._payload),g)}if(is(_)||Yo(_))return _=ii(_,y.mode,g,null),_.return=y,_;rl(y,_)}return null}function d(y,_,g,w){var E=_!==null?_.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return E!==null?null:a(y,_,""+g,w);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ya:return g.key===E?l(y,_,g,w):null;case Mi:return g.key===E?u(y,_,g,w):null;case nr:return E=g._init,d(y,_,E(g._payload),w)}if(is(g)||Yo(g))return E!==null?null:c(y,_,g,w,null);rl(y,g)}return null}function p(y,_,g,w,E){if(typeof w=="string"&&w!==""||typeof w=="number")return y=y.get(g)||null,a(_,y,""+w,E);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ya:return y=y.get(w.key===null?g:w.key)||null,l(_,y,w,E);case Mi:return y=y.get(w.key===null?g:w.key)||null,u(_,y,w,E);case nr:var b=w._init;return p(y,_,g,b(w._payload),E)}if(is(w)||Yo(w))return y=y.get(g)||null,c(_,y,w,E,null);rl(_,w)}return null}function h(y,_,g,w){for(var E=null,b=null,S=_,C=_=0,$=null;S!==null&&C<g.length;C++){S.index>C?($=S,S=null):$=S.sibling;var P=d(y,S,g[C],w);if(P===null){S===null&&(S=$);break}e&&S&&P.alternate===null&&t(y,S),_=o(P,_,C),b===null?E=P:b.sibling=P,b=P,S=$}if(C===g.length)return n(y,S),Ae&&Yr(y,C),E;if(S===null){for(;C<g.length;C++)S=f(y,g[C],w),S!==null&&(_=o(S,_,C),b===null?E=S:b.sibling=S,b=S);return Ae&&Yr(y,C),E}for(S=r(y,S);C<g.length;C++)$=p(S,y,C,g[C],w),$!==null&&(e&&$.alternate!==null&&S.delete($.key===null?C:$.key),_=o($,_,C),b===null?E=$:b.sibling=$,b=$);return e&&S.forEach(function(j){return t(y,j)}),Ae&&Yr(y,C),E}function v(y,_,g,w){var E=Yo(g);if(typeof E!="function")throw Error(M(150));if(g=E.call(g),g==null)throw Error(M(151));for(var b=E=null,S=_,C=_=0,$=null,P=g.next();S!==null&&!P.done;C++,P=g.next()){S.index>C?($=S,S=null):$=S.sibling;var j=d(y,S,P.value,w);if(j===null){S===null&&(S=$);break}e&&S&&j.alternate===null&&t(y,S),_=o(j,_,C),b===null?E=j:b.sibling=j,b=j,S=$}if(P.done)return n(y,S),Ae&&Yr(y,C),E;if(S===null){for(;!P.done;C++,P=g.next())P=f(y,P.value,w),P!==null&&(_=o(P,_,C),b===null?E=P:b.sibling=P,b=P);return Ae&&Yr(y,C),E}for(S=r(y,S);!P.done;C++,P=g.next())P=p(S,y,C,P.value,w),P!==null&&(e&&P.alternate!==null&&S.delete(P.key===null?C:P.key),_=o(P,_,C),b===null?E=P:b.sibling=P,b=P);return e&&S.forEach(function(U){return t(y,U)}),Ae&&Yr(y,C),E}function x(y,_,g,w){if(typeof g=="object"&&g!==null&&g.type===Li&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ya:e:{for(var E=g.key,b=_;b!==null;){if(b.key===E){if(E=g.type,E===Li){if(b.tag===7){n(y,b.sibling),_=i(b,g.props.children),_.return=y,y=_;break e}}else if(b.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===nr&&jg(E)===b.type){n(y,b.sibling),_=i(b,g.props),_.ref=Ko(y,b,g),_.return=y,y=_;break e}n(y,b);break}else t(y,b);b=b.sibling}g.type===Li?(_=ii(g.props.children,y.mode,w,g.key),_.return=y,y=_):(w=Wl(g.type,g.key,g.props,null,y.mode,w),w.ref=Ko(y,_,g),w.return=y,y=w)}return s(y);case Mi:e:{for(b=g.key;_!==null;){if(_.key===b)if(_.tag===4&&_.stateNode.containerInfo===g.containerInfo&&_.stateNode.implementation===g.implementation){n(y,_.sibling),_=i(_,g.children||[]),_.return=y,y=_;break e}else{n(y,_);break}else t(y,_);_=_.sibling}_=md(g,y.mode,w),_.return=y,y=_}return s(y);case nr:return b=g._init,x(y,_,b(g._payload),w)}if(is(g))return h(y,_,g,w);if(Yo(g))return v(y,_,g,w);rl(y,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,_!==null&&_.tag===6?(n(y,_.sibling),_=i(_,g),_.return=y,y=_):(n(y,_),_=vd(g,y.mode,w),_.return=y,y=_),s(y)):n(y,_)}return x}var go=z2(!0),H2=z2(!1),Ca={},_n=Ir(Ca),Ys=Ir(Ca),Ws=Ir(Ca);function Jr(e){if(e===Ca)throw Error(M(174));return e}function Gv(e,t){switch(we(Ws,t),we(Ys,e),we(_n,Ca),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:_p(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=_p(t,e)}Ce(_n),we(_n,t)}function yo(){Ce(_n),Ce(Ys),Ce(Ws)}function G2(e){Jr(Ws.current);var t=Jr(_n.current),n=_p(t,e.type);t!==n&&(we(Ys,e),we(_n,n))}function Yv(e){Ys.current===e&&(Ce(_n),Ce(Ys))}var Re=Ir(0);function Au(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 ud=[];function Wv(){for(var e=0;e<ud.length;e++)ud[e]._workInProgressVersionPrimary=null;ud.length=0}var jl=Wn.ReactCurrentDispatcher,cd=Wn.ReactCurrentBatchConfig,fi=0,Pe=null,ze=null,qe=null,$u=!1,vs=!1,qs=0,eT=0;function nt(){throw Error(M(321))}function qv(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!un(e[n],t[n]))return!1;return!0}function Xv(e,t,n,r,i,o){if(fi=o,Pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jl.current=e===null||e.memoizedState===null?iT:oT,e=n(r,i),vs){o=0;do{if(vs=!1,qs=0,25<=o)throw Error(M(301));o+=1,qe=ze=null,t.updateQueue=null,jl.current=sT,e=n(r,i)}while(vs)}if(jl.current=Tu,t=ze!==null&&ze.next!==null,fi=0,qe=ze=Pe=null,$u=!1,t)throw Error(M(300));return e}function Qv(){var e=qs!==0;return qs=0,e}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return qe===null?Pe.memoizedState=qe=e:qe=qe.next=e,qe}function Gt(){if(ze===null){var e=Pe.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=qe===null?Pe.memoizedState:qe.next;if(t!==null)qe=t,ze=e;else{if(e===null)throw Error(M(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},qe===null?Pe.memoizedState=qe=e:qe=qe.next=e}return qe}function Xs(e,t){return typeof t=="function"?t(e):t}function fd(e){var t=Gt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=ze,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,u=o;do{var c=u.lane;if((fi&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,s=r):l=l.next=f,Pe.lanes|=c,di|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,un(r,t.memoizedState)||(_t=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,Pe.lanes|=o,di|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function dd(e){var t=Gt(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);un(o,t.memoizedState)||(_t=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Y2(){}function W2(e,t){var n=Pe,r=Gt(),i=t(),o=!un(r.memoizedState,i);if(o&&(r.memoizedState=i,_t=!0),r=r.queue,Kv(Q2.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||qe!==null&&qe.memoizedState.tag&1){if(n.flags|=2048,Qs(9,X2.bind(null,n,r,i,t),void 0,null),Xe===null)throw Error(M(349));(fi&30)!==0||q2(n,t,i)}return i}function q2(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function X2(e,t,n,r){t.value=n,t.getSnapshot=r,K2(t)&&Z2(e)}function Q2(e,t,n){return n(function(){K2(t)&&Z2(e)})}function K2(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!un(e,n)}catch{return!0}}function Z2(e){var t=In(e,1);t!==null&&on(t,e,1,-1)}function zg(e){var t=fn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xs,lastRenderedState:e},t.queue=e,e=e.dispatch=rT.bind(null,Pe,e),[t.memoizedState,e]}function Qs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Pe.updateQueue,t===null?(t={lastEffect:null,stores:null},Pe.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 J2(){return Gt().memoizedState}function zl(e,t,n,r){var i=fn();Pe.flags|=e,i.memoizedState=Qs(1|t,n,void 0,r===void 0?null:r)}function Cc(e,t,n,r){var i=Gt();r=r===void 0?null:r;var o=void 0;if(ze!==null){var s=ze.memoizedState;if(o=s.destroy,r!==null&&qv(r,s.deps)){i.memoizedState=Qs(t,n,o,r);return}}Pe.flags|=e,i.memoizedState=Qs(1|t,n,o,r)}function Hg(e,t){return zl(8390656,8,e,t)}function Kv(e,t){return Cc(2048,8,e,t)}function ew(e,t){return Cc(4,2,e,t)}function tw(e,t){return Cc(4,4,e,t)}function nw(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 rw(e,t,n){return n=n!=null?n.concat([e]):null,Cc(4,4,nw.bind(null,t,e),n)}function Zv(){}function iw(e,t){var n=Gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qv(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ow(e,t){var n=Gt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&qv(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function sw(e,t,n){return(fi&21)===0?(e.baseState&&(e.baseState=!1,_t=!0),e.memoizedState=n):(un(n,t)||(n=u2(),Pe.lanes|=n,di|=n,e.baseState=!0),t)}function tT(e,t){var n=pe;pe=n!==0&&4>n?n:4,e(!0);var r=cd.transition;cd.transition={};try{e(!1),t()}finally{pe=n,cd.transition=r}}function aw(){return Gt().memoizedState}function nT(e,t,n){var r=Er(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},lw(e))uw(t,n);else if(n=B2(e,t,n,r),n!==null){var i=ht();on(n,e,r,i),cw(n,t,r)}}function rT(e,t,n){var r=Er(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(lw(e))uw(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,un(a,s)){var l=t.interleaved;l===null?(i.next=i,zv(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=B2(e,t,i,r),n!==null&&(i=ht(),on(n,e,r,i),cw(n,t,r))}}function lw(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function uw(e,t){vs=$u=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cw(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rv(e,n)}}var Tu={readContext:Ht,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useInsertionEffect:nt,useLayoutEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useMutableSource:nt,useSyncExternalStore:nt,useId:nt,unstable_isNewReconciler:!1},iT={readContext:Ht,useCallback:function(e,t){return fn().memoizedState=[e,t===void 0?null:t],e},useContext:Ht,useEffect:Hg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,zl(4194308,4,nw.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zl(4194308,4,e,t)},useInsertionEffect:function(e,t){return zl(4,2,e,t)},useMemo:function(e,t){var n=fn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=nT.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=fn();return e={current:e},t.memoizedState=e},useState:zg,useDebugValue:Zv,useDeferredValue:function(e){return fn().memoizedState=e},useTransition:function(){var e=zg(!1),t=e[0];return e=tT.bind(null,e[1]),fn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,i=fn();if(Ae){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Xe===null)throw Error(M(349));(fi&30)!==0||q2(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Hg(Q2.bind(null,r,o,e),[e]),r.flags|=2048,Qs(9,X2.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=fn(),t=Xe.identifierPrefix;if(Ae){var n=kn,r=On;n=(r&~(1<<32-rn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=eT++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oT={readContext:Ht,useCallback:iw,useContext:Ht,useEffect:Kv,useImperativeHandle:rw,useInsertionEffect:ew,useLayoutEffect:tw,useMemo:ow,useReducer:fd,useRef:J2,useState:function(){return fd(Xs)},useDebugValue:Zv,useDeferredValue:function(e){var t=Gt();return sw(t,ze.memoizedState,e)},useTransition:function(){var e=fd(Xs)[0],t=Gt().memoizedState;return[e,t]},useMutableSource:Y2,useSyncExternalStore:W2,useId:aw,unstable_isNewReconciler:!1},sT={readContext:Ht,useCallback:iw,useContext:Ht,useEffect:Kv,useImperativeHandle:rw,useInsertionEffect:ew,useLayoutEffect:tw,useMemo:ow,useReducer:dd,useRef:J2,useState:function(){return dd(Xs)},useDebugValue:Zv,useDeferredValue:function(e){var t=Gt();return ze===null?t.memoizedState=e:sw(t,ze.memoizedState,e)},useTransition:function(){var e=dd(Xs)[0],t=Gt().memoizedState;return[e,t]},useMutableSource:Y2,useSyncExternalStore:W2,useId:aw,unstable_isNewReconciler:!1};function _o(e,t){try{var n="",r=t;do n+=D5(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
31
|
+
Error generating stack: `+o.message+`
|
|
32
|
+
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function pd(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function jp(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var aT=typeof WeakMap=="function"?WeakMap:Map;function fw(e,t,n){n=Nn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Pu||(Pu=!0,Zp=r),jp(e,t)},n}function dw(e,t,n){n=Nn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){jp(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){jp(e,t),typeof r!="function"&&(wr===null?wr=new Set([this]):wr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Gg(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new aT;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=wT.bind(null,e,t,n),t.then(e,e))}function Yg(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 Wg(e,t,n,r,i){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=Nn(-1,1),t.tag=2,xr(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var lT=Wn.ReactCurrentOwner,_t=!1;function ft(e,t,n,r){t.child=e===null?H2(t,null,n,r):go(t,e.child,n,r)}function qg(e,t,n,r,i){n=n.render;var o=t.ref;return io(t,i),r=Xv(e,t,n,r,o,i),n=Qv(),e!==null&&!_t?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bn(e,t,i)):(Ae&&n&&Fv(t),t.flags|=1,ft(e,t,r,i),t.child)}function Xg(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!sm(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,pw(e,t,o,r,i)):(e=Wl(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:js,n(s,r)&&e.ref===t.ref)return Bn(e,t,i)}return t.flags|=1,e=br(o,r),e.ref=t.ref,e.return=t,t.child=e}function pw(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(js(o,r)&&e.ref===t.ref)if(_t=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(_t=!0);else return t.lanes=e.lanes,Bn(e,t,i)}return zp(e,t,n,r,i)}function hw(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},we(Yi,$t),$t|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,we(Yi,$t),$t|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,we(Yi,$t),$t|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,we(Yi,$t),$t|=r;return ft(e,t,i,n),t.child}function vw(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zp(e,t,n,r,i){var o=wt(n)?ui:ut.current;return o=vo(t,o),io(t,i),n=Xv(e,t,n,r,o,i),r=Qv(),e!==null&&!_t?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bn(e,t,i)):(Ae&&r&&Fv(t),t.flags|=1,ft(e,t,n,i),t.child)}function Qg(e,t,n,r,i){if(wt(n)){var o=!0;xu(t)}else o=!1;if(io(t,i),t.stateNode===null)Hl(e,t),j2(t,n,r),Vp(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ht(u):(u=wt(n)?ui:ut.current,u=vo(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Vg(t,s,r,u),rr=!1;var d=t.memoizedState;s.state=d,Cu(t,r,s,i),l=t.memoizedState,a!==r||d!==l||xt.current||rr?(typeof c=="function"&&(Up(t,n,c,r),l=t.memoizedState),(a=rr||Ug(t,n,a,r,d,l,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,U2(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Zt(t.type,a),s.props=u,f=t.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ht(l):(l=wt(n)?ui:ut.current,l=vo(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&Vg(t,s,r,l),rr=!1,d=t.memoizedState,s.state=d,Cu(t,r,s,i);var h=t.memoizedState;a!==f||d!==h||xt.current||rr?(typeof p=="function"&&(Up(t,n,p,r),h=t.memoizedState),(u=rr||Ug(t,n,u,r,d,h,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,h,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,h,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),s.props=r,s.state=h,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Hp(e,t,n,r,o,i)}function Hp(e,t,n,r,i,o){vw(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Mg(t,n,!1),Bn(e,t,o);r=t.stateNode,lT.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=go(t,e.child,null,o),t.child=go(t,null,a,o)):ft(e,t,a,o),t.memoizedState=r.state,i&&Mg(t,n,!0),t.child}function mw(e){var t=e.stateNode;t.pendingContext?Dg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Dg(e,t.context,!1),Gv(e,t.containerInfo)}function Kg(e,t,n,r,i){return mo(),Bv(i),t.flags|=256,ft(e,t,n,r),t.child}var Gp={dehydrated:null,treeContext:null,retryLane:0};function Yp(e){return{baseLanes:e,cachePool:null,transitions:null}}function gw(e,t,n){var r=t.pendingProps,i=Re.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),we(Re,i&1),e===null)return Ip(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):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Tc(s,r,0,null),e=ii(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Yp(n),t.memoizedState=Gp,e):Jv(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return uT(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return(s&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=br(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=br(a,o):(o=ii(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Yp(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Gp,r}return o=e.child,e=o.sibling,r=br(o,{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 Jv(e,t){return t=Tc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function il(e,t,n,r){return r!==null&&Bv(r),go(t,e.child,null,n),e=Jv(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function uT(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=pd(Error(M(422))),il(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Tc({mode:"visible",children:r.children},i,0,null),o=ii(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&go(t,e.child,null,s),t.child.memoizedState=Yp(s),t.memoizedState=Gp,o);if((t.mode&1)===0)return il(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(M(419)),r=pd(o,r,void 0),il(e,t,s,r)}if(a=(s&e.childLanes)!==0,_t||a){if(r=Xe,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|s))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,In(e,i),on(r,e,i,-1))}return om(),r=pd(Error(M(421))),il(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=ET.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Rt=_r(i.nextSibling),Ot=t,Ae=!0,tn=null,e!==null&&(Bt[Ut++]=On,Bt[Ut++]=kn,Bt[Ut++]=ci,On=e.id,kn=e.overflow,ci=t),t=Jv(t,r.children),t.flags|=4096,t)}function Zg(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Bp(e.return,t,n)}function hd(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function yw(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ft(e,t,r.children,n),r=Re.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&&Zg(e,n,t);else if(e.tag===19)Zg(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(we(Re,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Au(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),hd(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Au(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}hd(t,!0,n,null,o);break;case"together":hd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),di|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=br(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=br(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cT(e,t,n){switch(t.tag){case 3:mw(t),mo();break;case 5:G2(t);break;case 1:wt(t.type)&&xu(t);break;case 4:Gv(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;we(bu,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(we(Re,Re.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?gw(e,t,n):(we(Re,Re.current&1),e=Bn(e,t,n),e!==null?e.sibling:null);we(Re,Re.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return yw(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),we(Re,Re.current),r)break;return null;case 22:case 23:return t.lanes=0,hw(e,t,n)}return Bn(e,t,n)}var _w,Wp,xw,ww;_w=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}};Wp=function(){};xw=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Jr(_n.current);var o=null;switch(n){case"input":i=vp(e,i),r=vp(e,r),o=[];break;case"select":i=Oe({},i,{value:void 0}),r=Oe({},r,{value:void 0}),o=[];break;case"textarea":i=yp(e,i),r=yp(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=yu)}xp(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ms.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ms.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Se("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};ww=function(e,t,n,r){n!==r&&(t.flags|=4)};function Zo(e,t){if(!Ae)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 rt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function fT(e,t,n){var r=t.pendingProps;switch(Iv(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(t),null;case 1:return wt(t.type)&&_u(),rt(t),null;case 3:return r=t.stateNode,yo(),Ce(xt),Ce(ut),Wv(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(nl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,tn!==null&&(th(tn),tn=null))),Wp(e,t),rt(t),null;case 5:Yv(t);var i=Jr(Ws.current);if(n=t.type,e!==null&&t.stateNode!=null)xw(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return rt(t),null}if(e=Jr(_n.current),nl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[hn]=t,r[Gs]=o,e=(t.mode&1)!==0,n){case"dialog":Se("cancel",r),Se("close",r);break;case"iframe":case"object":case"embed":Se("load",r);break;case"video":case"audio":for(i=0;i<ss.length;i++)Se(ss[i],r);break;case"source":Se("error",r);break;case"img":case"image":case"link":Se("error",r),Se("load",r);break;case"details":Se("toggle",r);break;case"input":ag(r,o),Se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Se("invalid",r);break;case"textarea":ug(r,o),Se("invalid",r)}xp(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&tl(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&tl(r.textContent,a,e),i=["children",""+a]):Ms.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&Se("scroll",r)}switch(n){case"input":Wa(r),lg(r,o,!0);break;case"textarea":Wa(r),cg(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=yu)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=qx(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[hn]=t,e[Gs]=r,_w(e,t,!1,!1),t.stateNode=e;e:{switch(s=wp(n,r),n){case"dialog":Se("cancel",e),Se("close",e),i=r;break;case"iframe":case"object":case"embed":Se("load",e),i=r;break;case"video":case"audio":for(i=0;i<ss.length;i++)Se(ss[i],e);i=r;break;case"source":Se("error",e),i=r;break;case"img":case"image":case"link":Se("error",e),Se("load",e),i=r;break;case"details":Se("toggle",e),i=r;break;case"input":ag(e,r),i=vp(e,r),Se("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Oe({},r,{value:void 0}),Se("invalid",e);break;case"textarea":ug(e,r),i=yp(e,r),Se("invalid",e);break;default:i=r}xp(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?Kx(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Xx(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Ls(e,l):typeof l=="number"&&Ls(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ms.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Se("scroll",e):l!=null&&bv(e,o,l,s))}switch(n){case"input":Wa(e),lg(e,r,!1);break;case"textarea":Wa(e),cg(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Rr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?eo(e,!!r.multiple,o,!1):r.defaultValue!=null&&eo(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=yu)}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 rt(t),null;case 6:if(e&&t.stateNode!=null)ww(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Jr(Ws.current),Jr(_n.current),nl(t)){if(r=t.stateNode,n=t.memoizedProps,r[hn]=t,(o=r.nodeValue!==n)&&(e=Ot,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)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[hn]=t,t.stateNode=r}return rt(t),null;case 13:if(Ce(Re),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ae&&Rt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)I2(),mo(),t.flags|=98560,o=!1;else if(o=nl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(M(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(M(317));o[hn]=t}else mo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;rt(t),o=!1}else tn!==null&&(th(tn),tn=null),o=!0;if(!o)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||(Re.current&1)!==0?Ge===0&&(Ge=3):om())),t.updateQueue!==null&&(t.flags|=4),rt(t),null);case 4:return yo(),Wp(e,t),e===null&&zs(t.stateNode.containerInfo),rt(t),null;case 10:return jv(t.type._context),rt(t),null;case 17:return wt(t.type)&&_u(),rt(t),null;case 19:if(Ce(Re),o=t.memoizedState,o===null)return rt(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Zo(o,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Au(e),s!==null){for(t.flags|=128,Zo(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return we(Re,Re.current&1|2),t.child}e=e.sibling}o.tail!==null&&Fe()>xo&&(t.flags|=128,r=!0,Zo(o,!1),t.lanes=4194304)}else{if(!r)if(e=Au(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Zo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Ae)return rt(t),null}else 2*Fe()-o.renderingStartTime>xo&&n!==1073741824&&(t.flags|=128,r=!0,Zo(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Fe(),t.sibling=null,n=Re.current,we(Re,r?n&1|2:n&1),t):(rt(t),null);case 22:case 23:return im(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?($t&1073741824)!==0&&(rt(t),t.subtreeFlags&6&&(t.flags|=8192)):rt(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function dT(e,t){switch(Iv(t),t.tag){case 1:return wt(t.type)&&_u(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yo(),Ce(xt),Ce(ut),Wv(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Yv(t),null;case 13:if(Ce(Re),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));mo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ce(Re),null;case 4:return yo(),null;case 10:return jv(t.type._context),null;case 22:case 23:return im(),null;case 24:return null;default:return null}}var ol=!1,ot=!1,pT=typeof WeakSet=="function"?WeakSet:Set,z=null;function Gi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function qp(e,t,n){try{n()}catch(r){ke(e,t,r)}}var Jg=!1;function hT(e,t){if(Op=vu,e=C2(),Lv(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===n&&++u===i&&(a=s),d===o&&++c===r&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(kp={focusedElem:e,selectionRange:n},vu=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var h=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var v=h.memoizedProps,x=h.memoizedState,y=t.stateNode,_=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:Zt(t.type,v),x);y.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(w){ke(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return h=Jg,Jg=!1,h}function ms(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&qp(t,n,o)}i=i.next}while(i!==r)}}function Ac(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 Xp(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 Ew(e){var t=e.alternate;t!==null&&(e.alternate=null,Ew(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[hn],delete t[Gs],delete t[Mp],delete t[Q$],delete t[K$])),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 bw(e){return e.tag===5||e.tag===3||e.tag===4}function e1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||bw(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 Qp(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=yu));else if(r!==4&&(e=e.child,e!==null))for(Qp(e,t,n),e=e.sibling;e!==null;)Qp(e,t,n),e=e.sibling}function Kp(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(Kp(e,t,n),e=e.sibling;e!==null;)Kp(e,t,n),e=e.sibling}var Ke=null,Jt=!1;function Zn(e,t,n){for(n=n.child;n!==null;)Sw(e,t,n),n=n.sibling}function Sw(e,t,n){if(yn&&typeof yn.onCommitFiberUnmount=="function")try{yn.onCommitFiberUnmount(yc,n)}catch{}switch(n.tag){case 5:ot||Gi(n,t);case 6:var r=Ke,i=Jt;Ke=null,Zn(e,t,n),Ke=r,Jt=i,Ke!==null&&(Jt?(e=Ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ke.removeChild(n.stateNode));break;case 18:Ke!==null&&(Jt?(e=Ke,n=n.stateNode,e.nodeType===8?ad(e.parentNode,n):e.nodeType===1&&ad(e,n),Us(e)):ad(Ke,n.stateNode));break;case 4:r=Ke,i=Jt,Ke=n.stateNode.containerInfo,Jt=!0,Zn(e,t,n),Ke=r,Jt=i;break;case 0:case 11:case 14:case 15:if(!ot&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&((o&2)!==0||(o&4)!==0)&&qp(n,t,s),i=i.next}while(i!==r)}Zn(e,t,n);break;case 1:if(!ot&&(Gi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ke(n,t,a)}Zn(e,t,n);break;case 21:Zn(e,t,n);break;case 22:n.mode&1?(ot=(r=ot)||n.memoizedState!==null,Zn(e,t,n),ot=r):Zn(e,t,n);break;default:Zn(e,t,n)}}function t1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new pT),t.forEach(function(r){var i=bT.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Xt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Ke=a.stateNode,Jt=!1;break e;case 3:Ke=a.stateNode.containerInfo,Jt=!0;break e;case 4:Ke=a.stateNode.containerInfo,Jt=!0;break e}a=a.return}if(Ke===null)throw Error(M(160));Sw(o,s,i),Ke=null,Jt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ke(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Cw(t,e),t=t.sibling}function Cw(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Xt(t,e),cn(e),r&4){try{ms(3,e,e.return),Ac(3,e)}catch(v){ke(e,e.return,v)}try{ms(5,e,e.return)}catch(v){ke(e,e.return,v)}}break;case 1:Xt(t,e),cn(e),r&512&&n!==null&&Gi(n,n.return);break;case 5:if(Xt(t,e),cn(e),r&512&&n!==null&&Gi(n,n.return),e.flags&32){var i=e.stateNode;try{Ls(i,"")}catch(v){ke(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Yx(i,o),wp(a,s);var u=wp(a,o);for(s=0;s<l.length;s+=2){var c=l[s],f=l[s+1];c==="style"?Kx(i,f):c==="dangerouslySetInnerHTML"?Xx(i,f):c==="children"?Ls(i,f):bv(i,c,f,u)}switch(a){case"input":mp(i,o);break;case"textarea":Wx(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?eo(i,!!o.multiple,p,!1):d!==!!o.multiple&&(o.defaultValue!=null?eo(i,!!o.multiple,o.defaultValue,!0):eo(i,!!o.multiple,o.multiple?[]:"",!1))}i[Gs]=o}catch(v){ke(e,e.return,v)}}break;case 6:if(Xt(t,e),cn(e),r&4){if(e.stateNode===null)throw Error(M(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(v){ke(e,e.return,v)}}break;case 3:if(Xt(t,e),cn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Us(t.containerInfo)}catch(v){ke(e,e.return,v)}break;case 4:Xt(t,e),cn(e);break;case 13:Xt(t,e),cn(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(nm=Fe())),r&4&&t1(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ot=(u=ot)||c,Xt(t,e),ot=u):Xt(t,e),cn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for(z=e,c=e.child;c!==null;){for(f=z=c;z!==null;){switch(d=z,p=d.child,d.tag){case 0:case 11:case 14:case 15:ms(4,d,d.return);break;case 1:Gi(d,d.return);var h=d.stateNode;if(typeof h.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(v){ke(r,n,v)}}break;case 5:Gi(d,d.return);break;case 22:if(d.memoizedState!==null){r1(f);continue}}p!==null?(p.return=d,z=p):r1(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Qx("display",s))}catch(v){ke(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){ke(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Xt(t,e),cn(e),r&4&&t1(e);break;case 21:break;default:Xt(t,e),cn(e)}}function cn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(bw(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ls(i,""),r.flags&=-33);var o=e1(e);Kp(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=e1(e);Qp(e,a,s);break;default:throw Error(M(161))}}catch(l){ke(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function vT(e,t,n){z=e,Aw(e)}function Aw(e,t,n){for(var r=(e.mode&1)!==0;z!==null;){var i=z,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||ol;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||ot;a=ol;var u=ot;if(ol=s,(ot=l)&&!u)for(z=i;z!==null;)s=z,l=s.child,s.tag===22&&s.memoizedState!==null?i1(i):l!==null?(l.return=s,z=l):i1(i);for(;o!==null;)z=o,Aw(o),o=o.sibling;z=i,ol=a,ot=u}n1(e)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,z=o):n1(e)}}function n1(e){for(;z!==null;){var t=z;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:ot||Ac(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ot)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Zt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Bg(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Bg(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Us(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}ot||t.flags&512&&Xp(t)}catch(d){ke(t,t.return,d)}}if(t===e){z=null;break}if(n=t.sibling,n!==null){n.return=t.return,z=n;break}z=t.return}}function r1(e){for(;z!==null;){var t=z;if(t===e){z=null;break}var n=t.sibling;if(n!==null){n.return=t.return,z=n;break}z=t.return}}function i1(e){for(;z!==null;){var t=z;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ac(4,t)}catch(l){ke(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ke(t,i,l)}}var o=t.return;try{Xp(t)}catch(l){ke(t,o,l)}break;case 5:var s=t.return;try{Xp(t)}catch(l){ke(t,s,l)}}}catch(l){ke(t,t.return,l)}if(t===e){z=null;break}var a=t.sibling;if(a!==null){a.return=t.return,z=a;break}z=t.return}}var mT=Math.ceil,Ru=Wn.ReactCurrentDispatcher,em=Wn.ReactCurrentOwner,zt=Wn.ReactCurrentBatchConfig,ue=0,Xe=null,Ve=null,et=0,$t=0,Yi=Ir(0),Ge=0,Ks=null,di=0,$c=0,tm=0,gs=null,gt=null,nm=0,xo=1/0,$n=null,Pu=!1,Zp=null,wr=null,sl=!1,dr=null,Ou=0,ys=0,Jp=null,Gl=-1,Yl=0;function ht(){return(ue&6)!==0?Fe():Gl!==-1?Gl:Gl=Fe()}function Er(e){return(e.mode&1)===0?1:(ue&2)!==0&&et!==0?et&-et:J$.transition!==null?(Yl===0&&(Yl=u2()),Yl):(e=pe,e!==0||(e=window.event,e=e===void 0?16:m2(e.type)),e)}function on(e,t,n,r){if(50<ys)throw ys=0,Jp=null,Error(M(185));Ea(e,n,r),((ue&2)===0||e!==Xe)&&(e===Xe&&((ue&2)===0&&($c|=n),Ge===4&&lr(e,et)),Et(e,r),n===1&&ue===0&&(t.mode&1)===0&&(xo=Fe()+500,bc&&Br()))}function Et(e,t){var n=e.callbackNode;J5(e,t);var r=hu(e,e===Xe?et:0);if(r===0)n!==null&&pg(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&pg(n),t===1)e.tag===0?Z$(o1.bind(null,e)):M2(o1.bind(null,e)),q$(function(){(ue&6)===0&&Br()}),n=null;else{switch(c2(r)){case 1:n=Tv;break;case 4:n=a2;break;case 16:n=pu;break;case 536870912:n=l2;break;default:n=pu}n=Dw(n,$w.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function $w(e,t){if(Gl=-1,Yl=0,(ue&6)!==0)throw Error(M(327));var n=e.callbackNode;if(oo()&&e.callbackNode!==n)return null;var r=hu(e,e===Xe?et:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=ku(e,r);else{t=r;var i=ue;ue|=2;var o=Rw();(Xe!==e||et!==t)&&($n=null,xo=Fe()+500,ri(e,t));do try{_T();break}catch(a){Tw(e,a)}while(1);Vv(),Ru.current=o,ue=i,Ve!==null?t=0:(Xe=null,et=0,t=Ge)}if(t!==0){if(t===2&&(i=Ap(e),i!==0&&(r=i,t=eh(e,i))),t===1)throw n=Ks,ri(e,0),lr(e,r),Et(e,Fe()),n;if(t===6)lr(e,r);else{if(i=e.current.alternate,(r&30)===0&&!gT(i)&&(t=ku(e,r),t===2&&(o=Ap(e),o!==0&&(r=o,t=eh(e,o))),t===1))throw n=Ks,ri(e,0),lr(e,r),Et(e,Fe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:Wr(e,gt,$n);break;case 3:if(lr(e,r),(r&130023424)===r&&(t=nm+500-Fe(),10<t)){if(hu(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ht(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Dp(Wr.bind(null,e,gt,$n),t);break}Wr(e,gt,$n);break;case 4:if(lr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-rn(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=Fe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mT(r/1960))-r,10<r){e.timeoutHandle=Dp(Wr.bind(null,e,gt,$n),r);break}Wr(e,gt,$n);break;case 5:Wr(e,gt,$n);break;default:throw Error(M(329))}}}return Et(e,Fe()),e.callbackNode===n?$w.bind(null,e):null}function eh(e,t){var n=gs;return e.current.memoizedState.isDehydrated&&(ri(e,t).flags|=256),e=ku(e,t),e!==2&&(t=gt,gt=n,t!==null&&th(t)),e}function th(e){gt===null?gt=e:gt.push.apply(gt,e)}function gT(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!un(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function lr(e,t){for(t&=~tm,t&=~$c,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-rn(t),r=1<<n;e[n]=-1,t&=~r}}function o1(e){if((ue&6)!==0)throw Error(M(327));oo();var t=hu(e,0);if((t&1)===0)return Et(e,Fe()),null;var n=ku(e,t);if(e.tag!==0&&n===2){var r=Ap(e);r!==0&&(t=r,n=eh(e,r))}if(n===1)throw n=Ks,ri(e,0),lr(e,t),Et(e,Fe()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wr(e,gt,$n),Et(e,Fe()),null}function rm(e,t){var n=ue;ue|=1;try{return e(t)}finally{ue=n,ue===0&&(xo=Fe()+500,bc&&Br())}}function pi(e){dr!==null&&dr.tag===0&&(ue&6)===0&&oo();var t=ue;ue|=1;var n=zt.transition,r=pe;try{if(zt.transition=null,pe=1,e)return e()}finally{pe=r,zt.transition=n,ue=t,(ue&6)===0&&Br()}}function im(){$t=Yi.current,Ce(Yi)}function ri(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,W$(n)),Ve!==null)for(n=Ve.return;n!==null;){var r=n;switch(Iv(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&_u();break;case 3:yo(),Ce(xt),Ce(ut),Wv();break;case 5:Yv(r);break;case 4:yo();break;case 13:Ce(Re);break;case 19:Ce(Re);break;case 10:jv(r.type._context);break;case 22:case 23:im()}n=n.return}if(Xe=e,Ve=e=br(e.current,null),et=$t=t,Ge=0,Ks=null,tm=$c=di=0,gt=gs=null,Zr!==null){for(t=0;t<Zr.length;t++)if(n=Zr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Zr=null}return e}function Tw(e,t){do{var n=Ve;try{if(Vv(),jl.current=Tu,$u){for(var r=Pe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}$u=!1}if(fi=0,qe=ze=Pe=null,vs=!1,qs=0,em.current=null,n===null||n.return===null){Ge=1,Ks=t,Ve=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=et,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if((c.mode&1)===0&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=Yg(s);if(p!==null){p.flags&=-257,Wg(p,s,a,o,t),p.mode&1&&Gg(o,u,t),t=p,l=u;var h=t.updateQueue;if(h===null){var v=new Set;v.add(l),t.updateQueue=v}else h.add(l);break e}else{if((t&1)===0){Gg(o,u,t),om();break e}l=Error(M(426))}}else if(Ae&&a.mode&1){var x=Yg(s);if(x!==null){(x.flags&65536)===0&&(x.flags|=256),Wg(x,s,a,o,t),Bv(_o(l,a));break e}}o=l=_o(l,a),Ge!==4&&(Ge=2),gs===null?gs=[o]:gs.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var y=fw(o,l,t);Ig(o,y);break e;case 1:a=l;var _=o.type,g=o.stateNode;if((o.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(wr===null||!wr.has(g)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=dw(o,a,t);Ig(o,w);break e}}o=o.return}while(o!==null)}Ow(n)}catch(E){t=E,Ve===n&&n!==null&&(Ve=n=n.return);continue}break}while(1)}function Rw(){var e=Ru.current;return Ru.current=Tu,e===null?Tu:e}function om(){(Ge===0||Ge===3||Ge===2)&&(Ge=4),Xe===null||(di&268435455)===0&&($c&268435455)===0||lr(Xe,et)}function ku(e,t){var n=ue;ue|=2;var r=Rw();(Xe!==e||et!==t)&&($n=null,ri(e,t));do try{yT();break}catch(i){Tw(e,i)}while(1);if(Vv(),ue=n,Ru.current=r,Ve!==null)throw Error(M(261));return Xe=null,et=0,Ge}function yT(){for(;Ve!==null;)Pw(Ve)}function _T(){for(;Ve!==null&&!H5();)Pw(Ve)}function Pw(e){var t=Nw(e.alternate,e,$t);e.memoizedProps=e.pendingProps,t===null?Ow(e):Ve=t,em.current=null}function Ow(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=fT(n,t,$t),n!==null){Ve=n;return}}else{if(n=dT(n,t),n!==null){n.flags&=32767,Ve=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ge=6,Ve=null;return}}if(t=t.sibling,t!==null){Ve=t;return}Ve=t=e}while(t!==null);Ge===0&&(Ge=5)}function Wr(e,t,n){var r=pe,i=zt.transition;try{zt.transition=null,pe=1,xT(e,t,n,r)}finally{zt.transition=i,pe=r}return null}function xT(e,t,n,r){do oo();while(dr!==null);if((ue&6)!==0)throw Error(M(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(e$(e,o),e===Xe&&(Ve=Xe=null,et=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||sl||(sl=!0,Dw(pu,function(){return oo(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=zt.transition,zt.transition=null;var s=pe;pe=1;var a=ue;ue|=4,em.current=null,hT(e,n),Cw(n,e),U$(kp),vu=!!Op,kp=Op=null,e.current=n,vT(n),G5(),ue=a,pe=s,zt.transition=o}else e.current=n;if(sl&&(sl=!1,dr=e,Ou=i),o=e.pendingLanes,o===0&&(wr=null),q5(n.stateNode),Et(e,Fe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Pu)throw Pu=!1,e=Zp,Zp=null,e;return(Ou&1)!==0&&e.tag!==0&&oo(),o=e.pendingLanes,(o&1)!==0?e===Jp?ys++:(ys=0,Jp=e):ys=0,Br(),null}function oo(){if(dr!==null){var e=c2(Ou),t=zt.transition,n=pe;try{if(zt.transition=null,pe=16>e?16:e,dr===null)var r=!1;else{if(e=dr,dr=null,Ou=0,(ue&6)!==0)throw Error(M(331));var i=ue;for(ue|=4,z=e.current;z!==null;){var o=z,s=o.child;if((z.flags&16)!==0){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(z=u;z!==null;){var c=z;switch(c.tag){case 0:case 11:case 15:ms(8,c,o)}var f=c.child;if(f!==null)f.return=c,z=f;else for(;z!==null;){c=z;var d=c.sibling,p=c.return;if(Ew(c),c===u){z=null;break}if(d!==null){d.return=p,z=d;break}z=p}}}var h=o.alternate;if(h!==null){var v=h.child;if(v!==null){h.child=null;do{var x=v.sibling;v.sibling=null,v=x}while(v!==null)}}z=o}}if((o.subtreeFlags&2064)!==0&&s!==null)s.return=o,z=s;else e:for(;z!==null;){if(o=z,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:ms(9,o,o.return)}var y=o.sibling;if(y!==null){y.return=o.return,z=y;break e}z=o.return}}var _=e.current;for(z=_;z!==null;){s=z;var g=s.child;if((s.subtreeFlags&2064)!==0&&g!==null)g.return=s,z=g;else e:for(s=_;z!==null;){if(a=z,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:Ac(9,a)}}catch(E){ke(a,a.return,E)}if(a===s){z=null;break e}var w=a.sibling;if(w!==null){w.return=a.return,z=w;break e}z=a.return}}if(ue=i,Br(),yn&&typeof yn.onPostCommitFiberRoot=="function")try{yn.onPostCommitFiberRoot(yc,e)}catch{}r=!0}return r}finally{pe=n,zt.transition=t}}return!1}function s1(e,t,n){t=_o(n,t),t=fw(e,t,1),e=xr(e,t,1),t=ht(),e!==null&&(Ea(e,1,t),Et(e,t))}function ke(e,t,n){if(e.tag===3)s1(e,e,n);else for(;t!==null;){if(t.tag===3){s1(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(wr===null||!wr.has(r))){e=_o(n,e),e=dw(t,e,1),t=xr(t,e,1),e=ht(),t!==null&&(Ea(t,1,e),Et(t,e));break}}t=t.return}}function wT(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ht(),e.pingedLanes|=e.suspendedLanes&n,Xe===e&&(et&n)===n&&(Ge===4||Ge===3&&(et&130023424)===et&&500>Fe()-nm?ri(e,0):tm|=n),Et(e,t)}function kw(e,t){t===0&&((e.mode&1)===0?t=1:(t=Qa,Qa<<=1,(Qa&130023424)===0&&(Qa=4194304)));var n=ht();e=In(e,t),e!==null&&(Ea(e,t,n),Et(e,n))}function ET(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),kw(e,n)}function bT(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),kw(e,n)}var Nw;Nw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||xt.current)_t=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return _t=!1,cT(e,t,n);_t=(e.flags&131072)!==0}else _t=!1,Ae&&(t.flags&1048576)!==0&&L2(t,Eu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var i=vo(t,ut.current);io(t,n),i=Xv(null,t,r,e,i,n);var o=Qv();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,wt(r)?(o=!0,xu(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Hv(t),i.updater=Sc,t.stateNode=i,i._reactInternals=t,Vp(t,r,e,n),t=Hp(null,t,r,!0,o,n)):(t.tag=0,Ae&&o&&Fv(t),ft(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=CT(r),e=Zt(r,e),i){case 0:t=zp(null,t,r,e,n);break e;case 1:t=Qg(null,t,r,e,n);break e;case 11:t=qg(null,t,r,e,n);break e;case 14:t=Xg(null,t,r,Zt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Zt(r,i),zp(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Zt(r,i),Qg(e,t,r,i,n);case 3:e:{if(mw(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,U2(e,t),Cu(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=_o(Error(M(423)),t),t=Kg(e,t,r,n,i);break e}else if(r!==i){i=_o(Error(M(424)),t),t=Kg(e,t,r,n,i);break e}else for(Rt=_r(t.stateNode.containerInfo.firstChild),Ot=t,Ae=!0,tn=null,n=H2(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mo(),r===i){t=Bn(e,t,n);break e}ft(e,t,r,n)}t=t.child}return t;case 5:return G2(t),e===null&&Ip(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Np(r,i)?s=null:o!==null&&Np(r,o)&&(t.flags|=32),vw(e,t),ft(e,t,s,n),t.child;case 6:return e===null&&Ip(t),null;case 13:return gw(e,t,n);case 4:return Gv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=go(t,null,r,n):ft(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Zt(r,i),qg(e,t,r,i,n);case 7:return ft(e,t,t.pendingProps,n),t.child;case 8:return ft(e,t,t.pendingProps.children,n),t.child;case 12:return ft(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,we(bu,r._currentValue),r._currentValue=s,o!==null)if(un(o.value,s)){if(o.children===i.children&&!xt.current){t=Bn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=Nn(-1,n&-n),l.tag=2;var u=o.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}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Bp(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(M(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Bp(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ft(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,io(t,n),i=Ht(i),r=r(i),t.flags|=1,ft(e,t,r,n),t.child;case 14:return r=t.type,i=Zt(r,t.pendingProps),i=Zt(r.type,i),Xg(e,t,r,i,n);case 15:return pw(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Zt(r,i),Hl(e,t),t.tag=1,wt(r)?(e=!0,xu(t)):e=!1,io(t,n),j2(t,r,i),Vp(t,r,i,n),Hp(null,t,r,!0,e,n);case 19:return yw(e,t,n);case 22:return hw(e,t,n)}throw Error(M(156,t.tag))};function Dw(e,t){return s2(e,t)}function ST(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 Vt(e,t,n,r){return new ST(e,t,n,r)}function sm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function CT(e){if(typeof e=="function")return sm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cv)return 11;if(e===Av)return 14}return 2}function br(e,t){var n=e.alternate;return n===null?(n=Vt(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 Wl(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")sm(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Li:return ii(n.children,i,o,t);case Sv:s=8,i|=8;break;case fp:return e=Vt(12,n,t,i|2),e.elementType=fp,e.lanes=o,e;case dp:return e=Vt(13,n,t,i),e.elementType=dp,e.lanes=o,e;case pp:return e=Vt(19,n,t,i),e.elementType=pp,e.lanes=o,e;case zx:return Tc(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Vx:s=10;break e;case jx:s=9;break e;case Cv:s=11;break e;case Av:s=14;break e;case nr:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Vt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function ii(e,t,n,r){return e=Vt(7,e,r,t),e.lanes=n,e}function Tc(e,t,n,r){return e=Vt(22,e,r,t),e.elementType=zx,e.lanes=n,e.stateNode={isHidden:!1},e}function vd(e,t,n){return e=Vt(6,e,null,t),e.lanes=n,e}function md(e,t,n){return t=Vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AT(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qf(0),this.expirationTimes=Qf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function am(e,t,n,r,i,o,s,a,l){return e=new AT(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Vt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hv(o),e}function $T(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Mi,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Mw(e){if(!e)return Pr;e=e._reactInternals;e:{if(yi(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(wt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(wt(n))return D2(e,n,t)}return t}function Lw(e,t,n,r,i,o,s,a,l){return e=am(n,r,!0,e,i,o,s,a,l),e.context=Mw(null),n=e.current,r=ht(),i=Er(n),o=Nn(r,i),o.callback=t!=null?t:null,xr(n,o,i),e.current.lanes=i,Ea(e,i,r),Et(e,r),e}function Rc(e,t,n,r){var i=t.current,o=ht(),s=Er(i);return n=Mw(n),t.context===null?t.context=n:t.pendingContext=n,t=Nn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=xr(i,t,s),e!==null&&(on(e,i,s,o),Vl(e,i,s)),s}function Nu(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 a1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function lm(e,t){a1(e,t),(e=e.alternate)&&a1(e,t)}function TT(){return null}var Fw=typeof reportError=="function"?reportError:function(e){console.error(e)};function um(e){this._internalRoot=e}Pc.prototype.render=um.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Rc(e,t,null,null)};Pc.prototype.unmount=um.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;pi(function(){Rc(null,e,null,null)}),t[Fn]=null}};function Pc(e){this._internalRoot=e}Pc.prototype.unstable_scheduleHydration=function(e){if(e){var t=p2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ar.length&&t!==0&&t<ar[n].priority;n++);ar.splice(n,0,e),n===0&&v2(e)}};function cm(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Oc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function l1(){}function RT(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Nu(s);o.call(u)}}var s=Lw(t,r,e,0,null,!1,!1,"",l1);return e._reactRootContainer=s,e[Fn]=s.current,zs(e.nodeType===8?e.parentNode:e),pi(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Nu(l);a.call(u)}}var l=am(e,0,!1,null,null,!1,!1,"",l1);return e._reactRootContainer=l,e[Fn]=l.current,zs(e.nodeType===8?e.parentNode:e),pi(function(){Rc(t,l,n,r)}),l}function kc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=Nu(s);a.call(l)}}Rc(t,s,e,i)}else s=RT(n,t,e,i,r);return Nu(s)}f2=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=os(t.pendingLanes);n!==0&&(Rv(t,n|1),Et(t,Fe()),(ue&6)===0&&(xo=Fe()+500,Br()))}break;case 13:pi(function(){var r=In(e,1);if(r!==null){var i=ht();on(r,e,1,i)}}),lm(e,1)}};Pv=function(e){if(e.tag===13){var t=In(e,134217728);if(t!==null){var n=ht();on(t,e,134217728,n)}lm(e,134217728)}};d2=function(e){if(e.tag===13){var t=Er(e),n=In(e,t);if(n!==null){var r=ht();on(n,e,t,r)}lm(e,t)}};p2=function(){return pe};h2=function(e,t){var n=pe;try{return pe=e,t()}finally{pe=n}};bp=function(e,t,n){switch(t){case"input":if(mp(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ec(r);if(!i)throw Error(M(90));Gx(r),mp(r,i)}}}break;case"textarea":Wx(e,n);break;case"select":t=n.value,t!=null&&eo(e,!!n.multiple,t,!1)}};e2=rm;t2=pi;var PT={usingClientEntryPoint:!1,Events:[Sa,Ui,Ec,Zx,Jx,rm]},Jo={findFiberByHostInstance:Kr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},OT={bundleType:Jo.bundleType,version:Jo.version,rendererPackageName:Jo.rendererPackageName,rendererConfig:Jo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=i2(e),e===null?null:e.stateNode},findFiberByHostInstance:Jo.findFiberByHostInstance||TT,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!al.isDisabled&&al.supportsFiber)try{yc=al.inject(OT),yn=al}catch{}}Mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=PT;Mt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!cm(t))throw Error(M(200));return $T(e,t,null,n)};Mt.createRoot=function(e,t){if(!cm(e))throw Error(M(299));var n=!1,r="",i=Fw;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=am(e,1,!1,null,null,n,!1,r,i),e[Fn]=t.current,zs(e.nodeType===8?e.parentNode:e),new um(t)};Mt.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(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=i2(t),e=e===null?null:e.stateNode,e};Mt.flushSync=function(e){return pi(e)};Mt.hydrate=function(e,t,n){if(!Oc(t))throw Error(M(200));return kc(null,e,t,!0,n)};Mt.hydrateRoot=function(e,t,n){if(!cm(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Fw;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Lw(t,null,e,1,n!=null?n:null,i,!1,o,s),e[Fn]=t.current,zs(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Pc(t)};Mt.render=function(e,t,n){if(!Oc(t))throw Error(M(200));return kc(null,e,t,!1,n)};Mt.unmountComponentAtNode=function(e){if(!Oc(e))throw Error(M(40));return e._reactRootContainer?(pi(function(){kc(null,null,e,!1,function(){e._reactRootContainer=null,e[Fn]=null})}),!0):!1};Mt.unstable_batchedUpdates=rm;Mt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Oc(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return kc(e,t,n,!1,r)};Mt.version="18.2.0-next-9e3b772b8-20220608";function Iw(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Iw)}catch(e){console.error(e)}}Iw(),Lr.exports=Mt;var u1=Lr.exports;up.createRoot=u1.createRoot,up.hydrateRoot=u1.hydrateRoot;function kT(){return typeof __SENTRY_BROWSER_BUNDLE__!="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function Nc(){return!kT()&&Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]"}function pr(e,t){return e.require(t)}function NT(e){let t;try{t=pr(module,e)}catch{}try{const{cwd:n}=pr(module,"process");t=pr(module,`${n()}/node_modules/${e}`)}catch{}return t}var DT={};function me(){return Nc()?global:typeof window!="undefined"?window:typeof self!="undefined"?self:DT}function fm(e,t,n){var r=n||me(),i=r.__SENTRY__=r.__SENTRY__||{},o=i[e]||(i[e]=t());return o}var Bw=Object.prototype.toString;function Uw(e){switch(Bw.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return qn(e,Error)}}function Lo(e,t){return Bw.call(e)===`[object ${t}]`}function Vw(e){return Lo(e,"ErrorEvent")}function c1(e){return Lo(e,"DOMError")}function MT(e){return Lo(e,"DOMException")}function Or(e){return Lo(e,"String")}function jw(e){return e===null||typeof e!="object"&&typeof e!="function"}function wo(e){return Lo(e,"Object")}function dm(e){return typeof Event!="undefined"&&qn(e,Event)}function LT(e){return typeof Element!="undefined"&&qn(e,Element)}function FT(e){return Lo(e,"RegExp")}function pm(e){return Boolean(e&&e.then&&typeof e.then=="function")}function IT(e){return wo(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function zw(e){return typeof e=="number"&&e!==e}function qn(e,t){try{return e instanceof t}catch{return!1}}function Zs(e,t){try{let a=e;var n=5,r=80,i=[];let l=0,u=0;var o=" > ",s=o.length;let c;for(;a&&l++<n&&(c=BT(a,t),!(c==="html"||l>1&&u+i.length*s+c.length>=r));)i.push(c),u+=c.length,a=a.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function BT(e,t){var n=e,r=[];let i,o,s,a,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var u=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Or(i))for(o=i.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);var c=["type","name","title","alt"];for(l=0;l<c.length;l++)s=c[l],a=n.getAttribute(s),a&&r.push(`[${s}="${a}"]`);return r.join("")}function UT(){var e=me();try{return e.document.location.href}catch{return""}}class st 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 VT=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function jT(e){return e==="http"||e==="https"}function hm(e,t=!1){const{host:n,path:r,pass:i,port:o,projectId:s,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${o?`:${o}`:""}/${r&&`${r}/`}${s}`}function zT(e){var t=VT.exec(e);if(!t)throw new st(`Invalid Sentry Dsn: ${e}`);const[n,r,i="",o,s="",a]=t.slice(1);let l="",u=a;var c=u.split("/");if(c.length>1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){var f=u.match(/^\d+/);f&&(u=f[0])}return Hw({host:o,pass:i,path:l,projectId:u,port:s,protocol:n,publicKey:r})}function Hw(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function HT(e){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return;const{port:t,projectId:n,protocol:r}=e;var i=["protocol","publicKey","host","projectId"];if(i.forEach(o=>{if(!e[o])throw new st(`Invalid Sentry Dsn: ${o} missing`)}),!n.match(/^\d+$/))throw new st(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!jT(r))throw new st(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new st(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function GT(e){var t=typeof e=="string"?zT(e):Hw(e);return HT(t),t}var YT=me(),WT="Sentry Logger ",Du=["debug","info","warn","error","log","assert","trace"];function Gw(e){var t=me();if(!("console"in t))return e();var n=t.console,r={};Du.forEach(i=>{var o=n[i]&&n[i].__sentry_original__;i in t.console&&o&&(r[i]=n[i],n[i]=o)});try{return e()}finally{Object.keys(r).forEach(i=>{n[i]=r[i]})}}function f1(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?Du.forEach(n=>{t[n]=(...r)=>{e&&Gw(()=>{YT.console[n](`${WT}[${n}]:`,...r)})}}):Du.forEach(n=>{t[n]=()=>{}}),t}let I;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?I=fm("logger",f1):I=f1();function _s(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function d1(e,t){if(!Array.isArray(e))return"";var n=[];for(let i=0;i<e.length;i++){var r=e[i];try{n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Js(e,t){return Or(e)?FT(t)?t.test(e):typeof t=="string"?e.indexOf(t)!==-1:!1:!1}function at(e,t,n){if(t in e){var r=e[t],i=n(r);if(typeof i=="function")try{Yw(i,r)}catch{}e[t]=i}}function vm(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function Yw(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,vm(e,"__sentry_original__",t)}function mm(e){return e.__sentry_original__}function qT(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function Ww(e){if(Uw(e))return{message:e.message,name:e.name,stack:e.stack,...h1(e)};if(dm(e)){var t={type:e.type,target:p1(e.target),currentTarget:p1(e.currentTarget),...h1(e)};return typeof CustomEvent!="undefined"&&qn(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function p1(e){try{return LT(e)?Zs(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function h1(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 XT(e,t=40){var n=Object.keys(Ww(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return _s(n[0],t);for(let i=n.length;i>0;i--){var r=n.slice(0,i).join(", ");if(!(r.length>t))return i===n.length?r:_s(r,t)}return""}function Sr(e){var t=new Map;return nh(e,t)}function nh(e,t){if(wo(e)){var n=t.get(e);if(n!==void 0)return n;var r={};t.set(e,r);for(var i of Object.keys(e))typeof e[i]!="undefined"&&(r[i]=nh(e[i],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(a=>{r.push(nh(a,t))}),r}return e}function ur(e,t){return e!=null?e:t()}function QT(e){let t,n=e[0],r=1;for(;r<e.length;){var i=e[r],o=e[r+1];if(r+=2,(i==="optionalAccess"||i==="optionalCall")&&n==null)return;i==="access"||i==="optionalAccess"?(t=n,n=o(n)):(i==="call"||i==="optionalCall")&&(n=o((...s)=>n.call(t,...s)),t=void 0)}return n}var KT=50;function qw(...e){var t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{var i=[];for(var o of n.split(`
|
|
33
|
+
`).slice(r)){var s=o.replace(/\(error: (.*)\)/,"$1");for(var a of t){var l=a(s);if(l){i.push(l);break}}}return JT(i)}}function ZT(e){return Array.isArray(e)?qw(...e):e}function JT(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,KT).map(i=>({...i,filename:i.filename||t[0].filename,function:i.function||"?"})).reverse()}var gd="<anonymous>";function kr(e){try{return!e||typeof e!="function"?gd:e.name||gd}catch{return gd}}function gm(){if(!("fetch"in me()))return!1;try{return new Headers,new Request(""),new Response,!0}catch{return!1}}function rh(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function e3(){if(!gm())return!1;var e=me();if(rh(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=rh(r.contentWindow.fetch)),n.head.removeChild(r)}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return t}function t3(){var e=me(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}var $e=me(),xs={},v1={};function n3(e){if(!v1[e])switch(v1[e]=!0,e){case"console":r3();break;case"dom":d3();break;case"xhr":a3();break;case"fetch":i3();break;case"history":l3();break;case"error":p3();break;case"unhandledrejection":h3();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("unknown instrumentation type:",e);return}}function Tt(e,t){xs[e]=xs[e]||[],xs[e].push(t),n3(e)}function sn(e,t){if(!(!e||!xs[e]))for(var n of xs[e]||[])try{n(t)}catch(r){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error(`Error while triggering instrumentation handler.
|
|
34
|
+
Type: ${e}
|
|
35
|
+
Name: ${kr(n)}
|
|
36
|
+
Error:`,r)}}function r3(){"console"in $e&&Du.forEach(function(e){e in $e.console&&at($e.console,e,function(t){return function(...n){sn("console",{args:n,level:e}),t&&t.apply($e.console,n)}})})}function i3(){!e3()||at($e,"fetch",function(e){return function(...t){var n={args:t,fetchData:{method:o3(t),url:s3(t)},startTimestamp:Date.now()};return sn("fetch",{...n}),e.apply($e,t).then(r=>(sn("fetch",{...n,endTimestamp:Date.now(),response:r}),r),r=>{throw sn("fetch",{...n,endTimestamp:Date.now(),error:r}),r})}})}function o3(e=[]){return"Request"in $e&&qn(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function s3(e=[]){return typeof e[0]=="string"?e[0]:"Request"in $e&&qn(e[0],Request)?e[0].url:String(e[0])}function a3(){if("XMLHttpRequest"in $e){var e=XMLHttpRequest.prototype;at(e,"open",function(t){return function(...n){var r=this,i=n[1],o=r.__sentry_xhr__={method:Or(n[0])?n[0].toUpperCase():n[0],url:n[1]};Or(i)&&o.method==="POST"&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var s=function(){if(r.readyState===4){try{o.status_code=r.status}catch{}sn("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?at(r,"onreadystatechange",function(a){return function(...l){return s(),a.apply(r,l)}}):r.addEventListener("readystatechange",s),t.apply(r,n)}}),at(e,"send",function(t){return function(...n){return this.__sentry_xhr__&&n[0]!==void 0&&(this.__sentry_xhr__.body=n[0]),sn("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}})}}let ll;function l3(){if(!t3())return;var e=$e.onpopstate;$e.onpopstate=function(...n){var r=$e.location.href,i=ll;if(ll=r,sn("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){var i=r.length>2?r[2]:void 0;if(i){var o=ll,s=String(i);ll=s,sn("history",{from:o,to:s})}return n.apply(this,r)}}at($e.history,"pushState",t),at($e.history,"replaceState",t)}var u3=1e3;let ul,cl;function c3(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function f3(e){if(e.type!=="keypress")return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function m1(e,t=!1){return n=>{if(!(!n||cl===n)&&!f3(n)){var r=n.type==="keypress"?"input":n.type;ul===void 0?(e({event:n,name:r,global:t}),cl=n):c3(cl,n)&&(e({event:n,name:r,global:t}),cl=n),clearTimeout(ul),ul=$e.setTimeout(()=>{ul=void 0},u3)}}}function d3(){if("document"in $e){var e=sn.bind(null,"dom"),t=m1(e,!0);$e.document.addEventListener("click",t,!1),$e.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{var r=$e[n]&&$e[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(at(r,"addEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[o]=u[o]||{refCount:0};if(!c.handler){var f=m1(e);c.handler=f,i.call(this,o,f,a)}c.refCount+=1}catch{}return i.call(this,o,s,a)}}),at(r,"removeEventListener",function(i){return function(o,s,a){if(o==="click"||o=="keypress")try{var l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[o];c&&(c.refCount-=1,c.refCount<=0&&(i.call(this,o,c.handler,a),c.handler=void 0,delete u[o]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,o,s,a)}}))})}}let yd=null;function p3(){yd=$e.onerror,$e.onerror=function(e,t,n,r,i){return sn("error",{column:r,error:i,line:n,msg:e,url:t}),yd?yd.apply(this,arguments):!1}}let _d=null;function h3(){_d=$e.onunhandledrejection,$e.onunhandledrejection=function(e){return sn("unhandledrejection",e),_d?_d.apply(this,arguments):!0}}function v3(){var e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let s=0;s<t.length;s++){var o=t[s];if(o===i)return!0}return t.push(i),!1}function r(i){if(e)t.delete(i);else for(let o=0;o<t.length;o++)if(t[o]===i){t.splice(o,1);break}}return[n,r]}function Cr(){var e=me(),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 Xw(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function ei(e){const{message:t,event_id:n}=e;if(t)return t;var r=Xw(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function ih(e,t,n){var r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function ea(e,t){var n=Xw(e);if(!!n){var r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){var o={...i&&i.data,...t.data};n.mechanism.data=o}}}function g1(e){if(e&&e.__sentry_captured__)return!0;try{vm(e,"__sentry_captured__",!0)}catch{}return!1}function qr(e,t=1/0,n=1/0){try{return oh("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Qw(e,t=3,n=100*1024){var r=qr(e,t);return y3(r)>n?Qw(e,t-1,n):r}function oh(e,t,n=1/0,r=1/0,i=v3()){const[o,s]=i;if(t===null||["number","boolean","string"].includes(typeof t)&&!zw(t))return t;var a=m3(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;if(n===0)return a.replace("object ","");if(o(t))return"[Circular ~]";var l=t;if(l&&typeof l.toJSON=="function")try{var u=l.toJSON();return oh("",u,n-1,r,i)}catch{}var c=Array.isArray(t)?[]:{};let f=0;var d=Ww(t);for(var p in d)if(!!Object.prototype.hasOwnProperty.call(d,p)){if(f>=r){c[p]="[MaxProperties ~]";break}var h=d[p];c[p]=oh(p,h,n-1,r,i),f+=1}return s(t),c}function m3(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global!="undefined"&&t===global?"[Global]":typeof window!="undefined"&&t===window?"[Window]":typeof document!="undefined"&&t===document?"[Document]":IT(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${kr(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 g3(e){return~-encodeURI(e).split(/%..|./).length}function y3(e){return g3(JSON.stringify(e))}var Tn;(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"})(Tn||(Tn={}));function hi(e){return new dt(t=>{t(e)})}function sh(e){return new dt((t,n)=>{n(e)})}class dt{__init(){this._state=Tn.PENDING}__init2(){this._handlers=[]}constructor(t){dt.prototype.__init.call(this),dt.prototype.__init2.call(this),dt.prototype.__init3.call(this),dt.prototype.__init4.call(this),dt.prototype.__init5.call(this),dt.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new dt((r,i)=>{this._handlers.push([!1,o=>{if(!t)r(o);else try{r(t(o))}catch(s){i(s)}},o=>{if(!n)i(o);else try{r(n(o))}catch(s){i(s)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new dt((n,r)=>{let i,o;return this.then(s=>{o=!1,i=s,t&&t()},s=>{o=!0,i=s,t&&t()}).then(()=>{if(o){r(i);return}n(i)})})}__init3(){this._resolve=t=>{this._setResult(Tn.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Tn.REJECTED,t)}}__init5(){this._setResult=(t,n)=>{if(this._state===Tn.PENDING){if(pm(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==Tn.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===Tn.RESOLVED&&n[1](this._value),this._state===Tn.REJECTED&&n[2](this._value),n[0]=!0)})}}}}function _3(e){var t=[];function n(){return e===void 0||t.length<e}function r(s){return t.splice(t.indexOf(s),1)[0]}function i(s){if(!n())return sh(new st("Not adding Promise due to buffer limit reached."));var a=s();return t.indexOf(a)===-1&&t.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(s){return new dt((a,l)=>{let u=t.length;if(!u)return a(!0);var c=setTimeout(()=>{s&&s>0&&a(!1)},s);t.forEach(f=>{hi(f).then(()=>{--u||(clearTimeout(c),a(!0))},l)})})}return{$:t,add:i,drain:o}}function xd(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 x3=["fatal","error","warning","log","info","debug"];function w3(e){return e==="warn"?"warning":x3.includes(e)?e:"log"}var ah={nowSeconds:()=>Date.now()/1e3};function E3(){const{performance:e}=me();if(!(!e||!e.now)){var t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}}function b3(){try{var e=pr(module,"perf_hooks");return e.performance}catch{return}}var wd=Nc()?b3():E3(),y1=wd===void 0?ah:{nowSeconds:()=>(wd.timeOrigin+wd.now())/1e3},Dc=ah.nowSeconds.bind(ah),ym=y1.nowSeconds.bind(y1),ta=ym,Eo=(()=>{const{performance:e}=me();if(!(!e||!e.now)){var t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,o=i<t,s=e.timing&&e.timing.navigationStart,a=typeof s=="number",l=a?Math.abs(s+n-r):t,u=l<t;return o||u?i<=l?e.timeOrigin:s:r}})(),S3=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function C3(e){var t=e.match(S3);if(t){let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}}function Mc(e,t=[]){return[e,t]}function A3(e,t){const[n,r]=e;return[n,[...r,t]]}function _1(e,t){var n=e[1];n.forEach(r=>{var i=r[0].type;t(r,i)})}function lh(e,t){var n=t||new TextEncoder;return n.encode(e)}function Kw(e,t){const[n,r]=e;let i=JSON.stringify(n);function o(a){typeof i=="string"?i=typeof a=="string"?i+a:[lh(i,t),a]:i.push(typeof a=="string"?lh(a,t):a)}for(var s of r){const[a,l]=s;o(`
|
|
37
|
+
${JSON.stringify(a)}
|
|
38
|
+
`),o(typeof l=="string"||l instanceof Uint8Array?l:JSON.stringify(l))}return typeof i=="string"?i:$3(i)}function $3(e){var t=e.reduce((o,s)=>o+s.length,0),n=new Uint8Array(t);let r=0;for(var i of e)n.set(i,r),r+=i.length;return n}function T3(e,t){var n=typeof e.data=="string"?lh(e.data,t):e.data;return[Sr({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}var R3={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function x1(e){return R3[e]}function P3(e,t,n){var r=[{type:"client_report"},{timestamp:n||Dc(),discarded_events:e}];return Mc(t?{dsn:t}:{},[r])}var O3=60*1e3;function k3(e,t=Date.now()){var n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;var r=Date.parse(`${e}`);return isNaN(r)?O3:r-t}function N3(e,t){return e[t]||e.all||0}function D3(e,t,n=Date.now()){return N3(e,t)>n}function M3(e,{statusCode:t,headers:n},r=Date.now()){var i={...e},o=n&&n["x-sentry-rate-limits"],s=n&&n["retry-after"];if(o)for(var a of o.trim().split(",")){const[f,d]=a.split(":",2);var l=parseInt(f,10),u=(isNaN(l)?60:l)*1e3;if(!d)i.all=r+u;else for(var c of d.split(";"))i[c]=r+u}else s?i.all=r+k3(s,r):t===429&&(i.all=r+60*1e3);return i}var Wi="baggage",L3="sentry-",w1=/^sentry-/,F3=8192;function Mu(e,t="",n=!0){return[{...e},t,n]}function I3(e){return Object.keys(e[0]).length===0}function Zw(e){return e[0]}function B3(e){return e[1]}function U3(e){return e[2]}function V3(e){e[2]=!1}function j3(e){return Object.keys(e[0]).reduce((t,n)=>{var r=e[0][n],i=`${L3}${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=t===""?i:`${t},${i}`;return o.length>F3?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Not adding key: ${n} with val: ${r} to baggage due to exceeding baggage size limits.`),t):o},e[1])}function Jw(e,t=!1){if(!Array.isArray(e)&&!Or(e)||typeof e=="number")return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("[parseBaggageHeader] Received input value of incompatible type: ",typeof e,e),Mu({},"");var n=(Or(e)?e:e.join(",")).split(",").map(r=>r.trim()).filter(r=>r!==""&&(t||w1.test(r)));return n.reduce(([r,i],o)=>{const[s,a]=o.split("=");if(w1.test(s)){var l=decodeURIComponent(s.split("-")[1]);return[{...r,[l]:decodeURIComponent(a)},i,!0]}else return[r,i===""?o:`${i},${o}`,!0]},[{},"",!0])}function as(e,t){if(!e&&!t)return"";var n=t&&Jw(t,!0)||void 0,r=n&&B3(n),i=Mu(e&&e[0]||{},r||"");return j3(i)}function z3(e,t){var n=Jw(e||"");return(t||!I3(n))&&V3(n),n}function H3(e){var t=ym(),n={sid:Cr(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Y3(n)};return e&&bo(n,e),n}function bo(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||ym(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Cr()),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 G3(e,t){let n={};t?n={status:t}:e.status==="ok"&&(n={status:"exited"}),bo(e,n)}function Y3(e){return Sr({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 E1=100;class Ar{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 Ar;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&&bo(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 Ar?n:this}return t instanceof Ar?(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)):wo(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,E1):E1;if(r<=0)return this;var i={timestamp:Dc(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].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([...eE(),...this._eventProcessors],t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,n,r,i=0){return new dt((o,s)=>{var a=t[i];if(n===null||typeof a!="function")o(n);else{var l=a({...n},r);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&a.id&&l===null&&I.log(`Event processor "${a.id}" dropped event`),pm(l)?l.then(u=>this._notifyEventProcessors(t,u,r,i+1).then(o)).then(null,s):this._notifyEventProcessors(t,l,r,i+1).then(o).then(null,s)}})}_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 eE(){return fm("globalEventProcessors",()=>[])}function _m(e){eE().push(e)}var xm=4,W3=100;class Aa{__init(){this._stack=[{}]}constructor(t,n=new Ar,r=xm){this._version=r,Aa.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=Ar.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:Cr(),i=new Error("Sentry syntheticException");return this._withClient((o,s)=>{o.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},s)}),r}captureMessage(t,n,r){var i=this._lastEventId=r&&r.event_id?r.event_id:Cr(),o=new Error(t);return this._withClient((s,a)=>{s.captureMessage(t,n,{originalException:t,syntheticException:o,...r,event_id:i},a)}),i}captureEvent(t,n){var r=n&&n.event_id?n.event_id:Cr();return t.type!=="transaction"&&(this._lastEventId=r),this._withClient((i,o)=>{i.captureEvent(t,{...n,event_id:r},o)}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!r||!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:s=W3}=i.getOptions&&i.getOptions()||{};if(!(s<=0)){var a=Dc(),l={timestamp:a,...t},u=o?Gw(()=>o(l,n)):l;u!==null&&r.addBreadcrumb(u,s)}}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=b1(this);try{t(this)}finally{b1(n)}}getIntegration(t){var n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.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&&G3(r),this._sendSessionUpdate(),n&&n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:o}=r&&r.getOptions()||{};var s=me();const{userAgent:a}=s.navigator||{};var l=H3({release:i,environment:o,...n&&{user:n.getUser()},...a&&{userAgent:a},...t});if(n){var u=n.getSession&&n.getSession();u&&u.status==="ok"&&bo(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=Fo(),i=r.__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function Fo(){var e=me();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function b1(e){var t=Fo(),n=cr(t);return wm(t,e),n}function Ie(){var e=Fo();return(!tE(e)||cr(e).isOlderThan(xm))&&wm(e,new Aa),Nc()?q3(e):cr(e)}function q3(e){try{var t=Fo().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return cr(e);if(!tE(n)||cr(n).isOlderThan(xm)){var r=cr(e).getStackTop();wm(n,new Aa(r.client,Ar.clone(r.scope)))}return cr(n)}catch{return cr(e)}}function tE(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function cr(e){return fm("hub",()=>new Aa,e)}function wm(e,t){if(!e)return!1;var n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function X3(e,t){return Ie().captureException(e,{captureContext:t})}function Q3(e){Ie().withScope(e)}var K3="7";function Z3(e){var t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function J3(e){return`${Z3(e)}${e.projectId}/envelope/`}function e9(e,t){return qT({sentry_key:e.publicKey,sentry_version:K3,...t&&{sentry_client:`${t.name}/${t.version}`}})}function nE(e,t={}){var n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${J3(e)}?${e9(e,r)}`}function rE(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function t9(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 n9(e,t,n,r){var i=rE(n),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&{dsn:hm(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return Mc(o,[s])}function r9(e,t,n,r){var i=rE(n),o=e.type||"event";const{transactionSampling:s}=e.sdkProcessingMetadata||{},{method:a,rate:l}=s||{};t9(e,n&&n.sdk);var u=i9(e,i,r,t);delete e.sdkProcessingMetadata;var c=[{type:o,sample_rates:[{id:a,rate:l}]},e];return Mc(u,[c])}function i9(e,t,n,r){var i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baggage,o=i&&Zw(i);return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&{dsn:hm(r)},...e.type==="transaction"&&o&&{trace:Sr({...o})}}}var S1=[];function C1(e){return e.reduce((t,n)=>(t.every(r=>n.name!==r.name)&&t.push(n),t),[])}function o9(e){var t=e.defaultIntegrations&&[...e.defaultIntegrations]||[],n=e.integrations;let r=[...C1(t)];Array.isArray(n)?r=[...r.filter(s=>n.every(a=>a.name!==s.name)),...C1(n)]:typeof n=="function"&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map(s=>s.name),o="Debug";return i.indexOf(o)!==-1&&r.push(...r.splice(i.indexOf(o),1)),r}function s9(e){var t={};return e.forEach(n=>{t[n.name]=n,S1.indexOf(n.name)===-1&&(n.setupOnce(_m,Ie),S1.push(n.name),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`Integration installed: ${n.name}`))}),t}var A1="Not capturing exception because it's already been captured.";class qi{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(qi.prototype.__init.call(this),qi.prototype.__init2.call(this),qi.prototype.__init3.call(this),qi.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=GT(t.dsn);var n=nE(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("No DSN provided, client will not do anything.")}captureException(t,n,r){if(g1(t)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(A1);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(o=>this._captureEvent(o,n,r)).then(o=>{i=o})),i}captureMessage(t,n,r,i){let o=r&&r.event_id;var s=jw(t)?this.eventFromMessage(String(t),n,r):this.eventFromException(t,r);return this._process(s.then(a=>this._captureEvent(a,r,i)).then(a=>{o=a})),o}captureEvent(t,n,r){if(n&&n.originalException&&g1(n.originalException)){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(A1);return}let i=n&&n.event_id;return this._process(this._captureEvent(t,n,r).then(o=>{i=o})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),bo(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(i=>r&&i)):hi(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,n))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=s9(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}sendEvent(t,n={}){if(this._dsn){let i=r9(t,this._dsn,this._options._metadata,this._options.tunnel);for(var r of n.attachments||[])i=A3(i,T3(r,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(i)}}sendSession(t){if(this._dsn){var n=n9(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}}recordDroppedEvent(t,n){if(this._options.sendClientReports){var r=`${t}:${n}`;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`Adding outcome: "${r}"`),this._outcomes[r]=this._outcomes[r]+1||1}}_updateSessionFromEvent(t,n){let r=!1,i=!1;var o=n.exception&&n.exception.values;if(o){i=!0;for(var s of o){var a=s.mechanism;if(a&&a.handled===!1){r=!0;break}}}var l=t.status==="ok",u=l&&t.errors===0||l&&r;u&&(bo(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new dt(n=>{let r=0;var i=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=i,t&&r>=t&&(clearInterval(o),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:o=1e3}=this.getOptions();var s={...t,event_id:t.event_id||n.event_id||Cr(),timestamp:t.timestamp||Dc()};this._applyClientOptions(s),this._applyIntegrationsMetadata(s);let a=r;n.captureContext&&(a=Ar.clone(a).update(n.captureContext));let l=hi(s);if(a){var u=[...n.attachments||[],...a.getAttachments()];u.length&&(n.attachments=u),l=a.applyToEvent(s,n)}return l.then(c=>typeof i=="number"&&i>0?this._normalizeEvent(c,i,o):c)}_normalizeEvent(t,n,r){if(!t)return null;var i={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(o=>({...o,...o.data&&{data:qr(o.data,n,r)}}))},...t.user&&{user:qr(t.user,n,r)},...t.contexts&&{contexts:qr(t.contexts,n,r)},...t.extra&&{extra:qr(t.extra,n,r)}};return t.contexts&&t.contexts.trace&&i.contexts&&(i.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(i.contexts.trace.data=qr(t.contexts.trace.data,n,r))),t.spans&&(i.spans=t.spans.map(o=>(o.data&&(o.data=qr(o.data,n,r)),o))),i}_applyClientOptions(t){var n=this.getOptions();const{environment:r,release:i,dist:o,maxValueLength:s=250}=n;"environment"in t||(t.environment="environment"in n?r:"production"),t.release===void 0&&i!==void 0&&(t.release=i),t.dist===void 0&&o!==void 0&&(t.dist=o),t.message&&(t.message=_s(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=_s(a.value,s));var l=t.request;l&&l.url&&(l.url=_s(l.url,s))}_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(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__){var o=i;o.logLevel==="log"?I.log(o.message):I.warn(o)}})}_processEvent(t,n,r){const{beforeSend:i,sampleRate:o}=this.getOptions();if(!this._isEnabled())return sh(new st("SDK not enabled, will not capture event.","log"));var s=t.type==="transaction";return!s&&typeof o=="number"&&Math.random()>o?(this.recordDroppedEvent("sample_rate","error"),sh(new st(`Discarding event because it's not included in the random sample (sampling rate = ${o})`,"log"))):this._prepareEvent(t,n,r).then(a=>{if(a===null)throw this.recordDroppedEvent("event_processor",t.type||"error"),new st("An event processor returned null, will not send event.","log");var l=n.data&&n.data.__sentry__===!0;if(l||s||!i)return a;var u=i(a,n);return a9(u)}).then(a=>{if(a===null)throw this.recordDroppedEvent("before_send",t.type||"error"),new st("`beforeSend` returned `null`, will not send event.","log");var l=r&&r.getSession();return!s&&l&&this._updateSessionFromEvent(l,a),this.sendEvent(a,n),a}).then(null,a=>{throw a instanceof st?a:(this.captureException(a,{data:{__sentry__:!0},originalException:a}),new st(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
39
|
+
Reason: ${a}`))})}_process(t){this._numProcessing+=1,t.then(n=>(this._numProcessing-=1,n),n=>(this._numProcessing-=1,n))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,n=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error("Error while sending event:",n)}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function a9(e){var t="`beforeSend` method has to return `null` or a valid event.";if(pm(e))return e.then(n=>{if(!(wo(n)||n===null))throw new st(t);return n},n=>{throw new st(`beforeSend rejected with ${n}`)});if(!(wo(e)||e===null))throw new st(t);return e}function l9(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?I.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=Ie(),r=n.getScope();r&&r.update(t.initialScope);var i=new e(t);n.bindClient(i)}var u9=30;function iE(e,t,n=_3(e.bufferSize||u9)){let r={};var i=s=>n.drain(s);function o(s){var a=[];if(_1(s,(f,d)=>{var p=x1(d);D3(r,p)?e.recordDroppedEvent("ratelimit_backoff",p):a.push(f)}),a.length===0)return hi();var l=Mc(s[0],a),u=f=>{_1(l,(d,p)=>{e.recordDroppedEvent(f,x1(p))})},c=()=>t({body:Kw(l,e.textEncoder)}).then(f=>{f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=M3(r,f)},f=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error("Failed while sending event:",f),u("network_error")});return n.add(c).then(f=>f,f=>{if(f instanceof st)return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error("Skipped sending event due to full buffer"),u("queue_overflow"),hi();throw f})}return{send:o,flush:i}}var Lu="7.11.1";let $1;class na{constructor(){na.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=na.id}setupOnce(){$1=Function.prototype.toString,Function.prototype.toString=function(...t){var n=mm(this)||this;return $1.apply(n,t)}}}na.__initStatic();var c9=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class so{static __initStatic(){this.id="InboundFilters"}__init(){this.name=so.id}constructor(t={}){this._options=t,so.prototype.__init.call(this)}setupOnce(t,n){var r=i=>{var o=n();if(o){var s=o.getIntegration(so);if(s){var a=o.getClient(),l=a?a.getOptions():{},u=f9(s._options,l);return d9(i,u)?null:i}}return i};r.id=this.name,t(r)}}so.__initStatic();function f9(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...c9],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function d9(e,t){return t.ignoreInternal&&g9(e)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to being internal Sentry Error.
|
|
40
|
+
Event: ${ei(e)}`),!0):p9(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
41
|
+
Event: ${ei(e)}`),!0):h9(e,t.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
42
|
+
Event: ${ei(e)}.
|
|
43
|
+
Url: ${Fu(e)}`),!0):v9(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
44
|
+
Event: ${ei(e)}.
|
|
45
|
+
Url: ${Fu(e)}`),!0)}function p9(e,t){return!t||!t.length?!1:m9(e).some(n=>t.some(r=>Js(n,r)))}function h9(e,t){if(!t||!t.length)return!1;var n=Fu(e);return n?t.some(r=>Js(n,r)):!1}function v9(e,t){if(!t||!t.length)return!0;var n=Fu(e);return n?t.some(r=>Js(n,r)):!0}function m9(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error(`Cannot extract message for event ${ei(e)}`),[]}return[]}function g9(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function y9(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 Fu(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?y9(t):null}catch{return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error(`Cannot extract url for event ${ei(e)}`),null}}function oE(e,t){var n=Em(e,t),r={type:t&&t.name,value:E9(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function _9(e,t,n,r){var i={exception:{values:[{type:dm(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${XT(t)}`}]},extra:{__serialized__:Qw(t)}};if(n){var o=Em(e,n);o.length&&(i.exception.values[0].stacktrace={frames:o})}return i}function Ed(e,t){return{exception:{values:[oE(e,t)]}}}function Em(e,t){var n=t.stacktrace||t.stack||"",r=w9(t);try{return e(n,r)}catch{}return[]}var x9=/Minified React error #\d+;/i;function w9(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(x9.test(e.message))return 1}return 0}function E9(e){var t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function b9(e,t,n,r){var i=n&&n.syntheticException||void 0,o=bm(e,t,i,r);return ea(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),hi(o)}function S9(e,t,n="info",r,i){var o=r&&r.syntheticException||void 0,s=uh(e,t,o,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),hi(s)}function bm(e,t,n,r,i){let o;if(Vw(t)&&t.error){var s=t;return Ed(e,s.error)}if(c1(t)||MT(t)){var a=t;if("stack"in t)o=Ed(e,t);else{var l=a.name||(c1(a)?"DOMError":"DOMException"),u=a.message?`${l}: ${a.message}`:l;o=uh(e,u,n,r),ih(o,u)}return"code"in a&&(o.tags={...o.tags,"DOMException.code":`${a.code}`}),o}if(Uw(t))return Ed(e,t);if(wo(t)||dm(t)){var c=t;return o=_9(e,c,n,i),ea(o,{synthetic:!0}),o}return o=uh(e,t,n,r),ih(o,`${t}`,void 0),ea(o,{synthetic:!0}),o}function uh(e,t,n,r){var i={message:t};if(r&&n){var o=Em(e,n);o.length&&(i.exception={values:[{value:t,stacktrace:{frames:o}}]})}return i}var sE="Breadcrumbs";class ra{static __initStatic(){this.id=sE}__init(){this.name=ra.id}constructor(t){ra.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Tt("console",A9),this.options.dom&&Tt("dom",C9(this.options.dom)),this.options.xhr&&Tt("xhr",$9),this.options.fetch&&Tt("fetch",T9),this.options.history&&Tt("history",R9)}}ra.__initStatic();function C9(e){function t(n){let r,i=typeof e=="object"?e.serializeAttribute:void 0;typeof i=="string"&&(i=[i]);try{r=n.event.target?Zs(n.event.target,i):Zs(n.event,i)}catch{r="<unknown>"}r.length!==0&&Ie().addBreadcrumb({category:`ui.${n.name}`,message:r},{event:n.event,name:n.name,global:n.global})}return t}function A9(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:w3(e.level),message:d1(e.args," ")};if(e.level==="assert")if(e.args[0]===!1)t.message=`Assertion failed: ${d1(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);else return;Ie().addBreadcrumb(t,{input:e.args,level:e.level})}function $9(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:i}=e.xhr.__sentry_xhr__||{};Ie().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:i});return}}function T9(e){!e.endTimestamp||e.fetchData.url.match(/sentry_key/)&&e.fetchData.method==="POST"||(e.error?Ie().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):Ie().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response}))}function R9(e){var t=me();let n=e.from,r=e.to;var i=xd(t.location.href);let o=xd(n);var s=xd(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),Ie().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var nn=me();let fl;function aE(){if(fl)return fl;if(rh(nn.fetch))return fl=nn.fetch.bind(nn);var e=nn.document;let t=nn.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(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return fl=t.bind(nn)}function P9(e,t){var n=Object.prototype.toString.call(nn&&nn.navigator)==="[object Navigator]",r=n&&typeof nn.navigator.sendBeacon=="function";if(r){var i=nn.navigator.sendBeacon.bind(nn.navigator);i(e,t)}else if(gm()){var o=aE();o(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,s=>{(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error(s)})}}var bd=me();class O9 extends qi{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:Lu}],version:Lu},super(t),t.sendClientReports&&bd.document&&bd.document.addEventListener("visibilitychange",()=>{bd.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return b9(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return S9(this._options.stackParser,t,n,r,this._options.attachStacktrace)}sendEvent(t,n){var r=this.getIntegrationById(sE);r&&r.options&&r.options.sentry&&Ie().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:ei(t)},{event:t}),super.sendEvent(t,n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){var t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("Sending outcomes:",t);var n=nE(this._dsn,this._options),r=P3(t,this._options.tunnel&&hm(this._dsn));try{P9(n,Kw(r))}catch(i){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.error(i)}}}function k9(e,t=aE()){function n(r){var i={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,...e.fetchOptions};return t(e.url,i).then(o=>({statusCode:o.status,headers:{"x-sentry-rate-limits":o.headers.get("X-Sentry-Rate-Limits"),"retry-after":o.headers.get("Retry-After")}}))}return iE(e,n)}var N9=4;function D9(e){function t(n){return new dt((r,i)=>{var o=new XMLHttpRequest;o.onerror=i,o.onreadystatechange=()=>{o.readyState===N9&&r({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",e.url);for(var s in e.headers)Object.prototype.hasOwnProperty.call(e.headers,s)&&o.setRequestHeader(s,e.headers[s]);o.send(n.body)})}return iE(e,t)}var Lc="?",M9=30,L9=40,F9=50;function Sm(e,t,n,r){var i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var I9=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,B9=/\((\S*)(?::(\d+))(?::(\d+))\)/,U9=e=>{var t=I9.exec(e);if(t){var n=t[2]&&t[2].indexOf("eval")===0;if(n){var r=B9.exec(t[2]);r&&(t[2]=r[1],t[3]=r[2],t[4]=r[3])}const[i,o]=lE(t[1]||Lc,t[2]);return Sm(o,i,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},V9=[M9,U9],j9=/^\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,z9=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,H9=e=>{var t=j9.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1;if(n){var r=z9.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}let i=t[3],o=t[1]||Lc;return[o,i]=lE(o,i),Sm(i,o,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},G9=[F9,H9],Y9=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,W9=e=>{var t=Y9.exec(e);return t?Sm(t[2],t[1]||Lc,+t[3],t[4]?+t[4]:void 0):void 0},q9=[L9,W9],X9=[V9,G9,q9],Q9=qw(...X9),lE=(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]:Lc,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};let ch=0;function uE(){return ch>0}function K9(){ch+=1,setTimeout(()=>{ch-=1})}function So(e,t={},n){if(typeof e!="function")return e;try{var r=e.__sentry_wrapped__;if(r)return r;if(mm(e))return e}catch{return e}var i=function(){var a=Array.prototype.slice.call(arguments);try{n&&typeof n=="function"&&n.apply(this,arguments);var l=a.map(u=>So(u,t));return e.apply(this,l)}catch(u){throw K9(),Q3(c=>{c.addEventProcessor(f=>(t.mechanism&&(ih(f,void 0,void 0),ea(f,t.mechanism)),f.extra={...f.extra,arguments:a},f)),X3(u)}),u}};try{for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(i[o]=e[o])}catch{}Yw(i,e),vm(e,"__sentry_wrapped__",i);try{var s=Object.getOwnPropertyDescriptor(i,"name");s.configurable&&Object.defineProperty(i,"name",{get(){return e.name}})}catch{}return i}class $r{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=$r.id}__init2(){this._installFunc={onerror:Z9,onunhandledrejection:J9}}constructor(t){$r.prototype.__init.call(this),$r.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]&&(n4(n),r(),this._installFunc[n]=void 0)}}}$r.__initStatic();function Z9(){Tt("error",e=>{const[t,n,r]=dE();if(!t.getIntegration($r))return;const{msg:i,url:o,line:s,column:a,error:l}=e;if(!(uE()||l&&l.__sentry_own_request__)){var u=l===void 0&&Or(i)?t4(i,o,s,a):cE(bm(n,l||i,void 0,r,!1),o,s,a);u.level="error",fE(t,l,u,"onerror")}})}function J9(){Tt("unhandledrejection",e=>{const[t,n,r]=dE();if(!t.getIntegration($r))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(uE()||i&&i.__sentry_own_request__)return!0;var o=jw(i)?e4(i):bm(n,i,void 0,r,!0);o.level="error",fE(t,i,o,"onunhandledrejection")})}function e4(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function t4(e,t,n,r){var i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let o=Vw(e)?e.message:e,s="Error";var a=o.match(i);a&&(s=a[1],o=a[2]);var l={exception:{values:[{type:s,value:o}]}};return cE(l,t,n,r)}function cE(e,t,n,r){var i=e.exception=e.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},l=a.frames=a.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(n,10))?void 0:n,f=Or(t)&&t.length>0?t:UT();return l.length===0&&l.push({colno:u,filename:f,function:"?",in_app:!0,lineno:c}),e}function n4(e){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`Global Handler attached: ${e}`)}function fE(e,t,n,r){ea(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function dE(){var e=Ie(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}var r4=["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 ia{static __initStatic(){this.id="TryCatch"}__init(){this.name=ia.id}constructor(t){ia.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){var t=me();this._options.setTimeout&&at(t,"setTimeout",T1),this._options.setInterval&&at(t,"setInterval",T1),this._options.requestAnimationFrame&&at(t,"requestAnimationFrame",i4),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&at(XMLHttpRequest.prototype,"send",o4);var n=this._options.eventTarget;if(n){var r=Array.isArray(n)?n:r4;r.forEach(s4)}}}ia.__initStatic();function T1(e){return function(...t){var n=t[0];return t[0]=So(n,{mechanism:{data:{function:kr(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function i4(e){return function(t){return e.apply(this,[So(t,{mechanism:{data:{function:"requestAnimationFrame",handler:kr(e)},handled:!0,type:"instrument"}})])}}function o4(e){return function(...t){var n=this,r=["onload","onerror","onprogress","onreadystatechange"];return r.forEach(i=>{i in n&&typeof n[i]=="function"&&at(n,i,function(o){var s={mechanism:{data:{function:i,handler:kr(o)},handled:!0,type:"instrument"}},a=mm(o);return a&&(s.mechanism.data.handler=kr(a)),So(o,s)})}),e.apply(this,t)}}function s4(e){var t=me(),n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(at(n,"addEventListener",function(r){return function(i,o,s){try{typeof o.handleEvent=="function"&&(o.handleEvent=So(o.handleEvent,{mechanism:{data:{function:"handleEvent",handler:kr(o),target:e},handled:!0,type:"instrument"}}))}catch{}return r.apply(this,[i,So(o,{mechanism:{data:{function:"addEventListener",handler:kr(o),target:e},handled:!0,type:"instrument"}}),s])}}),at(n,"removeEventListener",function(r){return function(i,o,s){var a=o;try{var l=a&&a.__sentry_wrapped__;l&&r.call(this,i,l,s)}catch{}return r.call(this,i,a,s)}}))}var a4="cause",l4=5;class ao{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=ao.id}constructor(t={}){ao.prototype.__init.call(this),this._key=t.key||a4,this._limit=t.limit||l4}setupOnce(){var t=Ie().getClient();!t||_m((n,r)=>{var i=Ie().getIntegration(ao);return i?u4(t.getOptions().stackParser,i._key,i._limit,n,r):n})}}ao.__initStatic();function u4(e,t,n,r,i){if(!r.exception||!r.exception.values||!i||!qn(i.originalException,Error))return r;var o=pE(e,n,i.originalException,t);return r.exception.values=[...o,...r.exception.values],r}function pE(e,t,n,r,i=[]){if(!qn(n[r],Error)||i.length+1>=t)return i;var o=oE(e,n[r]);return pE(e,t,n[r],r,[o,...i])}var zr=me();class lo{constructor(){lo.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=lo.id}setupOnce(){_m(t=>{if(Ie().getIntegration(lo)){if(!zr.navigator&&!zr.location&&!zr.document)return t;var n=t.request&&t.request.url||zr.location&&zr.location.href;const{referrer:o}=zr.document||{},{userAgent:s}=zr.navigator||{};var r={...t.request&&t.request.headers,...o&&{Referer:o},...s&&{"User-Agent":s}},i={...n&&{url:n},headers:r};return{...t,request:i}}return t})}}lo.__initStatic();class uo{constructor(){uo.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=uo.id}setupOnce(t,n){var r=i=>{var o=n().getIntegration(uo);if(o){try{if(c4(i,o._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return o._previousEvent=i}return o._previousEvent=i}return i};r.id=this.name,t(r)}}uo.__initStatic();function c4(e,t){return t?!!(f4(e,t)||d4(e,t)):!1}function f4(e,t){var n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!vE(e,t)||!hE(e,t))}function d4(e,t){var n=R1(t),r=R1(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!vE(e,t)||!hE(e,t))}function hE(e,t){let n=P1(e),r=P1(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){var i=r[s],o=n[s];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function vE(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function R1(e){return e.exception&&e.exception.values&&e.exception.values[0]}function P1(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch{return}}var p4=[new so,new na,new ia,new ra,new $r,new ao,new uo,new lo];function h4(e={}){if(e.defaultIntegrations===void 0&&(e.defaultIntegrations=p4),e.release===void 0){var t=me();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:ZT(e.stackParser||Q9),integrations:o9(e),transport:e.transport||(gm()?k9:D9)};l9(O9,n),e.autoSessionTracking&&v4()}function O1(e){e.startSession({ignoreDuration:!0}),e.captureSession()}function v4(){var e=me(),t=e.document;if(typeof t=="undefined"){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}var n=Ie();!n.captureSession||(O1(n),Tt("history",({from:r,to:i})=>{r===void 0||r===i||O1(Ie())}))}function m4(e){e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:Lu}],version:Lu},h4(e)}var mE={exports:{}},he={};/** @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 Qe=typeof Symbol=="function"&&Symbol.for,Cm=Qe?Symbol.for("react.element"):60103,Am=Qe?Symbol.for("react.portal"):60106,Fc=Qe?Symbol.for("react.fragment"):60107,Ic=Qe?Symbol.for("react.strict_mode"):60108,Bc=Qe?Symbol.for("react.profiler"):60114,Uc=Qe?Symbol.for("react.provider"):60109,Vc=Qe?Symbol.for("react.context"):60110,$m=Qe?Symbol.for("react.async_mode"):60111,jc=Qe?Symbol.for("react.concurrent_mode"):60111,zc=Qe?Symbol.for("react.forward_ref"):60112,Hc=Qe?Symbol.for("react.suspense"):60113,g4=Qe?Symbol.for("react.suspense_list"):60120,Gc=Qe?Symbol.for("react.memo"):60115,Yc=Qe?Symbol.for("react.lazy"):60116,y4=Qe?Symbol.for("react.block"):60121,_4=Qe?Symbol.for("react.fundamental"):60117,x4=Qe?Symbol.for("react.responder"):60118,w4=Qe?Symbol.for("react.scope"):60119;function Ft(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Cm:switch(e=e.type,e){case $m:case jc:case Fc:case Bc:case Ic:case Hc:return e;default:switch(e=e&&e.$$typeof,e){case Vc:case zc:case Yc:case Gc:case Uc:return e;default:return t}}case Am:return t}}}function gE(e){return Ft(e)===jc}he.AsyncMode=$m;he.ConcurrentMode=jc;he.ContextConsumer=Vc;he.ContextProvider=Uc;he.Element=Cm;he.ForwardRef=zc;he.Fragment=Fc;he.Lazy=Yc;he.Memo=Gc;he.Portal=Am;he.Profiler=Bc;he.StrictMode=Ic;he.Suspense=Hc;he.isAsyncMode=function(e){return gE(e)||Ft(e)===$m};he.isConcurrentMode=gE;he.isContextConsumer=function(e){return Ft(e)===Vc};he.isContextProvider=function(e){return Ft(e)===Uc};he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cm};he.isForwardRef=function(e){return Ft(e)===zc};he.isFragment=function(e){return Ft(e)===Fc};he.isLazy=function(e){return Ft(e)===Yc};he.isMemo=function(e){return Ft(e)===Gc};he.isPortal=function(e){return Ft(e)===Am};he.isProfiler=function(e){return Ft(e)===Bc};he.isStrictMode=function(e){return Ft(e)===Ic};he.isSuspense=function(e){return Ft(e)===Hc};he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Fc||e===jc||e===Bc||e===Ic||e===Hc||e===g4||typeof e=="object"&&e!==null&&(e.$$typeof===Yc||e.$$typeof===Gc||e.$$typeof===Uc||e.$$typeof===Vc||e.$$typeof===zc||e.$$typeof===_4||e.$$typeof===x4||e.$$typeof===w4||e.$$typeof===y4)};he.typeOf=Ft;mE.exports=he;var Tm=mE.exports,E4={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},b4={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},S4={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yE={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rm={};Rm[Tm.ForwardRef]=S4;Rm[Tm.Memo]=yE;function k1(e){return Tm.isMemo(e)?yE:Rm[e.$$typeof]||E4}var C4=Object.defineProperty,A4=Object.getOwnPropertyNames,N1=Object.getOwnPropertySymbols,$4=Object.getOwnPropertyDescriptor,T4=Object.getPrototypeOf,D1=Object.prototype;function _E(e,t,n){if(typeof t!="string"){if(D1){var r=T4(t);r&&r!==D1&&_E(e,r,n)}var i=A4(t);N1&&(i=i.concat(N1(t)));for(var o=k1(e),s=k1(t),a=0;a<i.length;++a){var l=i[a];if(!b4[l]&&!(n&&n[l])&&!(s&&s[l])&&!(o&&o[l])){var u=$4(t,l);try{C4(e,l,u)}catch{}}}}return e}var R4=_E;function Pm(e){var t=Ie().getClient(),n=e||t&&t.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function $a(e){var t=e||Ie(),n=t.getScope();return n&&n.getTransaction()}function He(e){return e/1e3}function P4(){Tt("error",M1),Tt("unhandledrejection",M1)}function M1(){var e=$a();if(e){var t="internal_error";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class Wc{__init(){this.spans=[]}constructor(t=1e3){Wc.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class ir{__init2(){this.traceId=Cr()}__init3(){this.spanId=Cr().substring(16)}__init4(){this.startTimestamp=ta()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(ir.prototype.__init2.call(this),ir.prototype.__init3.call(this),ir.prototype.__init4.call(this),ir.prototype.__init5.call(this),ir.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 ir({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&n.transaction){var r=t&&t.op||"< unknown op >",i=n.transaction.name||"< unknown name >",o=n.transaction.spanId,s=`[Tracing] Starting '${r}' span on transaction '${i}' (${o}).`;n.transaction.metadata.spanMetadata[n.spanId]={logMessage:s},I.log(s)}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=O4(t);return n!=="unknown_error"&&this.setStatus(n),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:n}=this.transaction.metadata.spanMetadata[this.spanId];n&&I.log(n.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:ta()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return Sr({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=ur(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=ur(t.spanId,()=>this.spanId),this.startTimestamp=ur(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=ur(t.tags,()=>({})),this.traceId=ur(t.traceId,()=>this.traceId),this}getTraceContext(){return Sr({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 Sr({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 O4(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 qc extends ir{__init(){this._measurements={}}constructor(t,n){super(t),qc.prototype.__init.call(this),this._hub=n||Ie(),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 Wc(t)),this.spanRecorder.add(this)}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp===void 0){if(this.name||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.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(a=>a!==this&&a.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((a,l)=>a.endTimestamp&&l.endTimestamp?a.endTimestamp>l.endTimestamp?a:l:a).endTimestamp);var i=this.metadata,o={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...i,baggage:this.getBaggage()},...i.source&&{transaction_info:{source:i.source}}},s=Object.keys(this._measurements).length>0;return s&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),o.measurements=this._measurements),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(o)}}toContext(){var t=super.toContext();return Sr({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=ur(t.name,()=>""),this._trimEnd=t.trimEnd,this}getBaggage(){var t=this.metadata.baggage,n=!t||U3(t)?this._populateBaggageWithSentryValues(t):t;return this.metadata.baggage=n,n}_populateBaggageWithSentryValues(t=Mu({})){var n=this._hub||Ie(),r=n&&n.getClient();if(!r)return t;const{environment:i,release:o}=r.getOptions()||{},{publicKey:s}=r.getDsn()||{};var a=this.metadata&&this.metadata.transactionSampling&&this.metadata.transactionSampling.rate&&this.metadata.transactionSampling.rate.toString(),l=n.getScope();const{segment:u}=l&&l.getUser()||{};var c=this.metadata.source,f=c&&c!=="url"?this.name:void 0;return Mu(Sr({environment:i,release:o,transaction:f,user_segment:u,public_key:s,trace_id:this.traceId,sample_rate:a,...Zw(t)}),"",!1)}}var xE=1e3,wE=3e4,k4=5e3;class N4 extends Wc{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){t.spanId!==this.transactionSpanId&&(t.finish=n=>{t.endTimestamp=typeof n=="number"?n:ta(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class Xi extends qc{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,n,r=xE,i=wE,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._onScope=o,Xi.prototype.__init.call(this),Xi.prototype.__init2.call(this),Xi.prototype.__init3.call(this),Xi.prototype.__init4.call(this),o&&(L1(n),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),n.configureScope(s=>s.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=ta()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(var n of this._beforeFinishCallbacks)n(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));var i=r.startTimestamp<t;return i||(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),i}),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] No active IdleTransaction");return this._onScope&&L1(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){var n=i=>{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new N4(n,r,this.spanId,t),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){var n=ta()+this._idleTimeout/1e3;this._startIdleTimeout(n)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},k4)}}function L1(e){var t=e.getScope();if(t){var n=t.getTransaction();n&&t.setSpan(void 0)}}function D4(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function EE(e,t,n){if(!Pm(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)}})),M4(r)?r?(e.sampled=Math.random()<r,e.sampled?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),e)):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function M4(e){return zw(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function L4(e,t){var n=this.getClient(),r=n&&n.getOptions()||{};let i=new qc(e,this);return i=EE(i,r,{parentSampled:e.parentSampled,transactionContext:e,...t}),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),i}function F4(e,t,n,r,i,o){var s=e.getClient(),a=s&&s.getOptions()||{};let l=new Xi(t,e,n,r,i);return l=EE(l,a,{parentSampled:t.parentSampled,transactionContext:t,...o}),l.sampled&&l.initSpanRecorder(a._experiments&&a._experiments.maxSpans),l}function I4(){var e=Fo();!e.__SENTRY__||(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=L4),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=D4))}function B4(){var e=Fo();if(!!e.__SENTRY__){var t={mongodb(){var r=pr(module,"./integrations/node/mongo");return new r.Mongo},mongoose(){var r=pr(module,"./integrations/node/mongo");return new r.Mongo({mongoose:!0})},mysql(){var r=pr(module,"./integrations/node/mysql");return new r.Mysql},pg(){var r=pr(module,"./integrations/node/postgres");return new r.Postgres}},n=Object.keys(t).filter(r=>!!NT(r)).map(r=>{try{return t[r]()}catch{return}}).filter(r=>r);n.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...n])}}function U4(){I4(),Nc()&&B4(),P4()}var dl=me();function V4(){dl&&dl.document?dl.document.addEventListener("visibilitychange",()=>{var e=$a();if(dl.document.hidden&&e){var t="cancelled";(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("[Tracing] Could not set up background tab detection due to lack of global document")}var Om=(e,t,n)=>{let r;return i=>{t.value>=0&&(i||n)&&(t.delta=t.value-(r||0),(t.delta||r===void 0)&&(r=t.value,e(t)))}},j4=()=>`v2-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,km=(e,t)=>({name:e,value:ur(t,()=>-1),delta:0,entries:[],id:j4()}),Xc=(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{}},Qc=(e,t)=>{var n=r=>{(r.type==="pagehide"||me().document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},z4=(e,t)=>{var n=km("CLS",0);let r,i=0,o=[];var s=l=>{if(l&&!l.hadRecentInput){var u=o[0],c=o[o.length-1];i&&o.length!==0&&l.startTime-c.startTime<1e3&&l.startTime-u.startTime<5e3?(i+=l.value,o.push(l)):(i=l.value,o=[l]),i>n.value&&(n.value=i,n.entries=o,r&&r())}},a=Xc("layout-shift",s);a&&(r=Om(e,n,t),Qc(()=>{a.takeRecords().map(s),r(!0)}))};let ql=-1;var H4=()=>me().document.visibilityState==="hidden"?0:1/0,G4=()=>{Qc(({timeStamp:e})=>{ql=e},!0)},Nm=()=>(ql<0&&(ql=H4(),G4()),{get firstHiddenTime(){return ql}}),Y4=(e,t)=>{var n=Nm(),r=km("FID");let i;var o=a=>{i&&a.startTime<n.firstHiddenTime&&(r.value=a.processingStart-a.startTime,r.entries.push(a),i(!0))},s=Xc("first-input",o);s&&(i=Om(e,r,t),Qc(()=>{s.takeRecords().map(o),s.disconnect()},!0))},F1={},W4=(e,t)=>{var n=Nm(),r=km("LCP");let i;var o=l=>{var u=l.startTime;u<n.firstHiddenTime&&(r.value=u,r.entries.push(l)),i&&i()},s=Xc("largest-contentful-paint",o);if(s){i=Om(e,r,t);var a=()=>{F1[r.id]||(s.takeRecords().map(o),s.disconnect(),F1[r.id]=!0,i(!0))};["keydown","click"].forEach(l=>{addEventListener(l,a,{once:!0,capture:!0})}),Qc(a,!0)}};function pl(e){return typeof e=="number"&&isFinite(e)}function Co(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}var oi=me();function bE(){return oi&&oi.addEventListener&&oi.performance}let I1=0,ge={},dn,ws;function q4(e=!1){var t=bE();t&&Eo&&(t.mark&&oi.performance.mark("sentry-tracing-init"),Q4(),K4(e),Z4())}function X4(){var e=t=>{var n=$a();if(!!n){var r=He(Eo+t.startTime),i=He(t.duration);n.startChild({description:"Long Task",op:"ui.long-task",startTimestamp:r,endTimestamp:r+i})}};Xc("longtask",e)}function Q4(){z4(e=>{var t=e.entries.pop();!t||((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding CLS"),ge.cls={value:e.value,unit:""},ws=t)})}function K4(e){W4(t=>{var n=t.entries.pop();if(!!n){var r=He(Eo),i=He(n.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding LCP"),ge.lcp={value:t.value,unit:"millisecond"},ge["mark.lcp"]={value:r+i,unit:"second"},dn=n}},e)}function Z4(){Y4(e=>{var t=e.entries.pop();if(!!t){var n=He(Eo),r=He(t.startTime);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding FID"),ge.fid={value:e.value,unit:"millisecond"},ge["mark.fid"]={value:n+r,unit:"second"}}})}function J4(e){var t=bE();if(!t||!oi.performance.getEntries||!Eo)return;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Tracing] Adding & adjusting spans using Performance API");var n=He(Eo),r=t.getEntries();let i,o;r.slice(I1).forEach(s=>{var a=He(s.startTime),l=He(s.duration);if(!(e.op==="navigation"&&n+a<e.startTimestamp))switch(s.entryType){case"navigation":{t6(e,s,n),i=n+He(s.responseStart),o=n+He(s.requestStart);break}case"mark":case"paint":case"measure":{var u=e6(e,s,a,l,n),c=Nm(),f=s.startTime<c.firstHiddenTime;s.name==="first-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding FP"),ge.fp={value:s.startTime,unit:"millisecond"},ge["mark.fp"]={value:u,unit:"second"}),s.name==="first-contentful-paint"&&f&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding FCP"),ge.fcp={value:s.startTime,unit:"millisecond"},ge["mark.fcp"]={value:u,unit:"second"});break}case"resource":{var d=s.name.replace(oi.location.origin,"");r6(e,s,d,a,l,n);break}}}),I1=Math.max(r.length-1,0),i6(e),e.op==="pageload"&&(typeof i=="number"&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding TTFB"),ge.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof o=="number"&&o<=i&&(ge["ttfb.requestTime"]={value:(i-o)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(s=>{if(!(!ge[s]||n>=e.startTimestamp)){var a=ge[s].value,l=n+He(a),u=Math.abs((l-e.startTimestamp)*1e3),c=u-a;(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Measurements] Normalized ${s} from ${a} to ${u} (${c})`),ge[s].value=u}}),ge["mark.fid"]&&ge.fid&&Co(e,{description:"first input delay",endTimestamp:ge["mark.fid"].value+He(ge.fid.value),op:"web.vitals",startTimestamp:ge["mark.fid"].value}),"fcp"in ge||delete ge.cls,Object.keys(ge).forEach(s=>{e.setMeasurement(s,ge[s].value,ge[s].unit)}),o6(e)),dn=void 0,ws=void 0,ge={}}function e6(e,t,n,r,i){var o=i+n,s=o+r;return Co(e,{description:t.name,endTimestamp:s,op:t.entryType,startTimestamp:o}),o}function t6(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{hl(e,t,r,n)}),hl(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),hl(e,t,"fetch",n,"cache","domainLookupStart"),hl(e,t,"domainLookup",n,"DNS"),n6(e,t,n)}function hl(e,t,n,r,i,o){var s=o?t[o]:t[`${n}End`],a=t[`${n}Start`];!a||!s||Co(e,{op:"browser",description:ur(i,()=>n),startTimestamp:r+He(a),endTimestamp:r+He(s)})}function n6(e,t,n){Co(e,{op:"browser",description:"request",startTimestamp:n+He(t.requestStart),endTimestamp:n+He(t.responseEnd)}),Co(e,{op:"browser",description:"response",startTimestamp:n+He(t.responseStart),endTimestamp:n+He(t.responseEnd)})}function r6(e,t,n,r,i,o){if(!(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")){var s={};"transferSize"in t&&(s["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(s["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(s["Decoded Body Size"]=t.decodedBodySize);var a=o+r,l=a+i;Co(e,{description:n,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource",startTimestamp:a,data:s})}}function i6(e){var t=oi.navigator;if(!!t){var n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),pl(n.rtt)&&(ge["connection.rtt"]={value:n.rtt,unit:"millisecond"}),pl(n.downlink)&&(ge["connection.downlink"]={value:n.downlink,unit:""})),pl(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),pl(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}}function o6(e){dn&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding LCP Data"),dn.element&&e.setTag("lcp.element",Zs(dn.element)),dn.id&&e.setTag("lcp.id",dn.id),dn.url&&e.setTag("lcp.url",dn.url.trim().slice(0,200)),e.setTag("lcp.size",dn.size)),ws&&ws.sources&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log("[Measurements] Adding CLS Data"),ws.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,Zs(t.node))))}var s6=["localhost",/^\//],Iu={traceFetch:!0,traceXHR:!0,tracingOrigins:s6};function a6(e){const{traceFetch:t,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:i}={...Iu,...e};var o={},s=u=>{if(o[u])return o[u];var c=r;return o[u]=c.some(f=>Js(u,f))&&!Js(u,"sentry_key"),o[u]};let a=s;typeof i=="function"&&(a=u=>s(u)&&i(u));var l={};t&&Tt("fetch",u=>{l6(u,a,l)}),n&&Tt("xhr",u=>{c6(u,a,l)})}function l6(e,t,n){if(!(!Pm()||!(e.fetchData&&t(e.fetchData.url)))){if(e.endTimestamp){var r=e.fetchData.__span;if(!r)return;var i=n[r];i&&(e.response?i.setHttpStatus(e.response.status):e.error&&i.setStatus("internal_error"),i.finish(),delete n[r]);return}var o=$a();if(o){var i=o.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=i.spanId,n[i.spanId]=i;var s=e.args[0]=e.args[0],a=e.args[1]=e.args[1]||{};a.headers=u6(s,o.getBaggage(),i,a)}}}function u6(e,t,n,r){let i=r.headers;if(qn(e,Request)&&(i=e.headers),i)if(typeof i.append=="function")i.append("sentry-trace",n.toTraceparent()),i.append(Wi,as(t,i.get(Wi)));else if(Array.isArray(i)){const[,o]=i.find(([s,a])=>s===Wi);i=[...i,["sentry-trace",n.toTraceparent()],[Wi,as(t,o)]]}else i={...i,"sentry-trace":n.toTraceparent(),baggage:as(t,i.baggage)};else i={"sentry-trace":n.toTraceparent(),baggage:as(t)};return i}function c6(e,t,n){if(!(!Pm()||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 i=e.xhr.__sentry_xhr_span_id__;if(!i)return;var o=n[i];o&&(o.setHttpStatus(r.status_code),o.finish(),delete n[i]);return}var s=$a();if(s){var o=s.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__=o.spanId,n[e.xhr.__sentry_xhr_span_id__]=o,e.xhr.setRequestHeader)try{e.xhr.setRequestHeader("sentry-trace",o.toTraceparent());var a=e.xhr.getRequestHeader&&e.xhr.getRequestHeader(Wi);e.xhr.setRequestHeader(Wi,as(s.getBaggage(),a))}catch{}}}}var es=me();function f6(e,t=!0,n=!0){if(!es||!es.location){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("Could not initialize routing instrumentation due to invalid location");return}let r=es.location.href,i;t&&(i=e({name:es.location.pathname,op:"pageload",metadata:{source:"url"}})),n&&Tt("history",({to:o,from:s})=>{if(s===void 0&&r&&r.indexOf(o)!==-1){r=void 0;return}s!==o&&(r=void 0,i&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:es.location.pathname,op:"navigation",metadata:{source:"url"}}))})}var d6="BrowserTracing",p6={idleTimeout:xE,finalTimeout:wE,markBackgroundTransactions:!0,routingInstrumentation:f6,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0},...Iu};class Dm{__init(){this.name=d6}constructor(t){Dm.prototype.__init.call(this);let n=Iu.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)?n=t.tracingOrigins:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options={...p6,...t,tracingOrigins:n};const{_metricOptions:r}=this.options;q4(r&&r._reportAllChanges),QT([this,"access",i=>i.options,"access",i=>i._experiments,"optionalAccess",i=>i.enableLongTask])&&X4()}setupOnce(t,n){this._getCurrentHub=n,this._emitOptionsWarning&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`[Tracing] We added a reasonable default for you: ${Iu.tracingOrigins}`));const{routingInstrumentation:r,startTransactionOnLocationChange:i,startTransactionOnPageLoad:o,markBackgroundTransactions:s,traceFetch:a,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c}=this.options;r(f=>this._createRouteTransaction(f),o,i),s&&V4(),a6({traceFetch:a,traceXHR:l,tracingOrigins:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:n,idleTimeout:r,finalTimeout:i}=this.options;var o=t.op==="pageload"?h6():void 0,s={...t,...o,...o&&{metadata:{...t.metadata,...o.metadata}},trimEnd:!0},a=typeof n=="function"?n(s):s,l=a===void 0?{...s,sampled:!1}:a;l.metadata=l.name!==s.name?{...l.metadata,source:"custom"}:l.metadata,l.sampled===!1&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Will not send ${l.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&I.log(`[Tracing] Starting ${l.op} transaction on scope`);var u=this._getCurrentHub();const{location:c}=me();var f=F4(u,l,r,i,!0,{location:c});return f.registerBeforeFinishCallback(d=>{J4(d),d.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))}),f}}function h6(){var e=B1("sentry-trace"),t=B1("baggage"),n=e?C3(e):void 0,r=z3(t,e);if(n||r)return{...n&&n,...r&&{metadata:{baggage:r}}}}function B1(e){var t=me();if(t.document&&t.document.querySelector){var n=t.document.querySelector(`meta[name=${e}]`);return n?n.getAttribute("content"):null}else return null}(typeof __SENTRY_TRACING__=="undefined"||__SENTRY_TRACING__)&&U4();var Mm={exports:{}},ve={};/**
|
|
53
|
+
* @license React
|
|
54
|
+
* react-is.production.min.js
|
|
55
|
+
*
|
|
56
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license found in the
|
|
59
|
+
* LICENSE file in the root directory of this source tree.
|
|
60
|
+
*/var Lm=Symbol.for("react.element"),Fm=Symbol.for("react.portal"),Kc=Symbol.for("react.fragment"),Zc=Symbol.for("react.strict_mode"),Jc=Symbol.for("react.profiler"),ef=Symbol.for("react.provider"),tf=Symbol.for("react.context"),v6=Symbol.for("react.server_context"),nf=Symbol.for("react.forward_ref"),rf=Symbol.for("react.suspense"),of=Symbol.for("react.suspense_list"),sf=Symbol.for("react.memo"),af=Symbol.for("react.lazy"),m6=Symbol.for("react.offscreen"),SE;SE=Symbol.for("react.module.reference");function Yt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Lm:switch(e=e.type,e){case Kc:case Jc:case Zc:case rf:case of:return e;default:switch(e=e&&e.$$typeof,e){case v6:case tf:case nf:case af:case sf:case ef:return e;default:return t}}case Fm:return t}}}ve.ContextConsumer=tf;ve.ContextProvider=ef;ve.Element=Lm;ve.ForwardRef=nf;ve.Fragment=Kc;ve.Lazy=af;ve.Memo=sf;ve.Portal=Fm;ve.Profiler=Jc;ve.StrictMode=Zc;ve.Suspense=rf;ve.SuspenseList=of;ve.isAsyncMode=function(){return!1};ve.isConcurrentMode=function(){return!1};ve.isContextConsumer=function(e){return Yt(e)===tf};ve.isContextProvider=function(e){return Yt(e)===ef};ve.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Lm};ve.isForwardRef=function(e){return Yt(e)===nf};ve.isFragment=function(e){return Yt(e)===Kc};ve.isLazy=function(e){return Yt(e)===af};ve.isMemo=function(e){return Yt(e)===sf};ve.isPortal=function(e){return Yt(e)===Fm};ve.isProfiler=function(e){return Yt(e)===Jc};ve.isStrictMode=function(e){return Yt(e)===Zc};ve.isSuspense=function(e){return Yt(e)===rf};ve.isSuspenseList=function(e){return Yt(e)===of};ve.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Kc||e===Jc||e===Zc||e===rf||e===of||e===m6||typeof e=="object"&&e!==null&&(e.$$typeof===af||e.$$typeof===sf||e.$$typeof===ef||e.$$typeof===tf||e.$$typeof===nf||e.$$typeof===SE||e.getModuleId!==void 0)};ve.typeOf=Yt;Mm.exports=ve;var g6=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<s.length;u++){var c=s[u];if(!l(c))return!1;var f=t[c],d=n[c];if(o=r?r.call(i,f,d,c):void 0,o===!1||o===void 0&&f!==d)return!1}return!0};function y6(e){function t(D,O,T,k,A){for(var X=0,L=0,ce=0,ae=0,le,Z,Me=0,We=0,oe,Be=oe=le=0,ee=0,fe=0,Wt=0,be=0,Ha=T.length,Go=Ha-1,qt,te="",Le="",zf="",Hf="",Kn;ee<Ha;){if(Z=T.charCodeAt(ee),ee===Go&&L+ae+ce+X!==0&&(L!==0&&(Z=L===47?10:47),ae=ce=X=0,Ha++,Go++),L+ae+ce+X===0){if(ee===Go&&(0<fe&&(te=te.replace(d,"")),0<te.trim().length)){switch(Z){case 32:case 9:case 59:case 13:case 10:break;default:te+=T.charAt(ee)}Z=59}switch(Z){case 123:for(te=te.trim(),le=te.charCodeAt(0),oe=1,be=++ee;ee<Ha;){switch(Z=T.charCodeAt(ee)){case 123:oe++;break;case 125:oe--;break;case 47:switch(Z=T.charCodeAt(ee+1)){case 42:case 47:e:{for(Be=ee+1;Be<Go;++Be)switch(T.charCodeAt(Be)){case 47:if(Z===42&&T.charCodeAt(Be-1)===42&&ee+2!==Be){ee=Be+1;break e}break;case 10:if(Z===47){ee=Be+1;break e}}ee=Be}}break;case 91:Z++;case 40:Z++;case 34:case 39:for(;ee++<Go&&T.charCodeAt(ee)!==Z;);}if(oe===0)break;ee++}switch(oe=T.substring(be,ee),le===0&&(le=(te=te.replace(f,"").trim()).charCodeAt(0)),le){case 64:switch(0<fe&&(te=te.replace(d,"")),Z=te.charCodeAt(1),Z){case 100:case 109:case 115:case 45:fe=O;break;default:fe=Ee}if(oe=t(O,fe,oe,Z,A+1),be=oe.length,0<F&&(fe=n(Ee,te,Wt),Kn=a(3,oe,fe,O,H,U,be,Z,A,k),te=fe.join(""),Kn!==void 0&&(be=(oe=Kn.trim()).length)===0&&(Z=0,oe="")),0<be)switch(Z){case 115:te=te.replace(b,s);case 100:case 109:case 45:oe=te+"{"+oe+"}";break;case 107:te=te.replace(_,"$1 $2"),oe=te+"{"+oe+"}",oe=J===1||J===2&&o("@"+oe,3)?"@-webkit-"+oe+"@"+oe:"@"+oe;break;default:oe=te+oe,k===112&&(oe=(Le+=oe,""))}else oe="";break;default:oe=t(O,n(O,te,Wt),oe,k,A+1)}zf+=oe,oe=Wt=fe=Be=le=0,te="",Z=T.charCodeAt(++ee);break;case 125:case 59:if(te=(0<fe?te.replace(d,""):te).trim(),1<(be=te.length))switch(Be===0&&(le=te.charCodeAt(0),le===45||96<le&&123>le)&&(be=(te=te.replace(" ",":")).length),0<F&&(Kn=a(1,te,O,D,H,U,Le.length,k,A,k))!==void 0&&(be=(te=Kn.trim()).length)===0&&(te="\0\0"),le=te.charCodeAt(0),Z=te.charCodeAt(1),le){case 0:break;case 64:if(Z===105||Z===99){Hf+=te+T.charAt(ee);break}default:te.charCodeAt(be-1)!==58&&(Le+=i(te,le,Z,te.charCodeAt(2)))}Wt=fe=Be=le=0,te="",Z=T.charCodeAt(++ee)}}switch(Z){case 13:case 10:L===47?L=0:1+le===0&&k!==107&&0<te.length&&(fe=1,te+="\0"),0<F*W&&a(0,te,O,D,H,U,Le.length,k,A,k),U=1,H++;break;case 59:case 125:if(L+ae+ce+X===0){U++;break}default:switch(U++,qt=T.charAt(ee),Z){case 9:case 32:if(ae+X+L===0)switch(Me){case 44:case 58:case 9:case 32:qt="";break;default:Z!==32&&(qt=" ")}break;case 0:qt="\\0";break;case 12:qt="\\f";break;case 11:qt="\\v";break;case 38:ae+L+X===0&&(fe=Wt=1,qt="\f"+qt);break;case 108:if(ae+L+X+V===0&&0<Be)switch(ee-Be){case 2:Me===112&&T.charCodeAt(ee-3)===58&&(V=Me);case 8:We===111&&(V=We)}break;case 58:ae+L+X===0&&(Be=ee);break;case 44:L+ce+ae+X===0&&(fe=1,qt+="\r");break;case 34:case 39:L===0&&(ae=ae===Z?0:ae===0?Z:ae);break;case 91:ae+L+ce===0&&X++;break;case 93:ae+L+ce===0&&X--;break;case 41:ae+L+X===0&&ce--;break;case 40:if(ae+L+X===0){if(le===0)switch(2*Me+3*We){case 533:break;default:le=1}ce++}break;case 64:L+ce+ae+X+Be+oe===0&&(oe=1);break;case 42:case 47:if(!(0<ae+X+ce))switch(L){case 0:switch(2*Z+3*T.charCodeAt(ee+1)){case 235:L=47;break;case 220:be=ee,L=42}break;case 42:Z===47&&Me===42&&be+2!==ee&&(T.charCodeAt(be+2)===33&&(Le+=T.substring(be,ee+1)),qt="",L=0)}}L===0&&(te+=qt)}We=Me,Me=Z,ee++}if(be=Le.length,0<be){if(fe=O,0<F&&(Kn=a(2,Le,fe,D,H,U,be,k,A,k),Kn!==void 0&&(Le=Kn).length===0))return Hf+Le+zf;if(Le=fe.join(",")+"{"+Le+"}",J*V!==0){switch(J!==2||o(Le,2)||(V=0),V){case 111:Le=Le.replace(w,":-moz-$1")+Le;break;case 112:Le=Le.replace(g,"::-webkit-input-$1")+Le.replace(g,"::-moz-$1")+Le.replace(g,":-ms-input-$1")+Le}V=0}}return Hf+Le+zf}function n(D,O,T){var k=O.trim().split(x);O=k;var A=k.length,X=D.length;switch(X){case 0:case 1:var L=0;for(D=X===0?"":D[0]+" ";L<A;++L)O[L]=r(D,O[L],T).trim();break;default:var ce=L=0;for(O=[];L<A;++L)for(var ae=0;ae<X;++ae)O[ce++]=r(D[ae]+" ",k[L],T).trim()}return O}function r(D,O,T){var k=O.charCodeAt(0);switch(33>k&&(k=(O=O.trim()).charCodeAt(0)),k){case 38:return O.replace(y,"$1"+D.trim());case 58:return D.trim()+O.replace(y,"$1"+D.trim());default:if(0<1*T&&0<O.indexOf("\f"))return O.replace(y,(D.charCodeAt(0)===58?"":"$1")+D.trim())}return D+O}function i(D,O,T,k){var A=D+";",X=2*O+3*T+4*k;if(X===944){D=A.indexOf(":",9)+1;var L=A.substring(D,A.length-1).trim();return L=A.substring(0,D).trim()+L+";",J===1||J===2&&o(L,1)?"-webkit-"+L+L:L}if(J===0||J===2&&!o(A,1))return A;switch(X){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(j,"$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 L=A.substring(A.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+L+"-webkit-"+A+"-ms-flex-pack"+L+A;case 1005:return h.test(A)?A.replace(p,":-webkit-")+A.replace(p,":-moz-")+A:A;case 1e3:switch(L=A.substring(13).trim(),O=L.indexOf("-")+1,L.charCodeAt(0)+L.charCodeAt(O)){case 226:L=A.replace(E,"tb");break;case 232:L=A.replace(E,"tb-rl");break;case 220:L=A.replace(E,"lr");break;default:return A}return"-webkit-"+A+"-ms-"+L+A;case 1017:if(A.indexOf("sticky",9)===-1)break;case 975:switch(O=(A=D).length-10,L=(A.charCodeAt(O)===33?A.substring(0,O):A).substring(D.indexOf(":",7)+1).trim(),X=L.charCodeAt(0)+(L.charCodeAt(7)|0)){case 203:if(111>L.charCodeAt(8))break;case 115:A=A.replace(L,"-webkit-"+L)+";"+A;break;case 207:case 102:A=A.replace(L,"-webkit-"+(102<X?"inline-":"")+"box")+";"+A.replace(L,"-webkit-"+L)+";"+A.replace(L,"-ms-"+L+"box")+";"+A}return A+";";case 938:if(A.charCodeAt(5)===45)switch(A.charCodeAt(6)){case 105:return L=A.replace("-items",""),"-webkit-"+A+"-webkit-box-"+L+"-ms-flex-"+L+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(D)===!0)return(L=D.substring(D.indexOf(":")+1)).charCodeAt(0)===115?i(D.replace("stretch","fill-available"),O,T,k).replace(":fill-available",":stretch"):A.replace(L,"-webkit-"+L)+A.replace(L,"-moz-"+L.replace("fill-",""))+A;break;case 962:if(A="-webkit-"+A+(A.charCodeAt(5)===102?"-ms-"+A:"")+A,T+k===211&&A.charCodeAt(13)===105&&0<A.indexOf("transform",10))return A.substring(0,A.indexOf(";",27)+1).replace(v,"$1-webkit-$2")+A}return A}function o(D,O){var T=D.indexOf(O===1?":":"{"),k=D.substring(0,O!==3?T:10);return T=D.substring(T+1,D.length-1),G(O!==2?k:k.replace($,"$1"),T,O)}function s(D,O){var T=i(O,O.charCodeAt(0),O.charCodeAt(1),O.charCodeAt(2));return T!==O+";"?T.replace(S," or ($1)").substring(4):"("+O+")"}function a(D,O,T,k,A,X,L,ce,ae,le){for(var Z=0,Me=O,We;Z<F;++Z)switch(We=ie[Z].call(c,D,Me,T,k,A,X,L,ce,ae,le)){case void 0:case!1:case!0:case null:break;default:Me=We}if(Me!==O)return Me}function l(D){switch(D){case void 0:case null:F=ie.length=0;break;default:if(typeof D=="function")ie[F++]=D;else if(typeof D=="object")for(var O=0,T=D.length;O<T;++O)l(D[O]);else W=!!D|0}return l}function u(D){return D=D.prefix,D!==void 0&&(G=null,D?typeof D!="function"?J=1:(J=2,G=D):J=0),u}function c(D,O){var T=D;if(33>T.charCodeAt(0)&&(T=T.trim()),re=T,T=[re],0<F){var k=a(-1,O,T,T,H,U,0,0,0,0);k!==void 0&&typeof k=="string"&&(O=k)}var A=t(Ee,T,O,0,0);return 0<F&&(k=a(-2,A,T,T,H,U,A.length,0,0,0),k!==void 0&&(A=k)),re="",V=0,U=H=1,A}var f=/^\0+/g,d=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,v=/([,: ])(transform)/g,x=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,_=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,w=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,b=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,C=/-self|flex-/g,$=/[^]*?(:[rp][el]a[\w-]+)[^]*/,P=/stretch|:\s*\w+\-(?:conte|avail)/,j=/([^-])(image-set\()/,U=1,H=1,V=0,J=1,Ee=[],ie=[],F=0,G=null,W=0,re="";return c.use=l,c.set=u,e!==void 0&&u(e),c}var _6={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 x6(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var w6=/^((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)-.*))$/,U1=x6(function(e){return w6.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function mn(){return(mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var V1=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},fh=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!Mm.exports.typeOf(e)},Bu=Object.freeze([]),Tr=Object.freeze({});function oa(e){return typeof e=="function"}function j1(e){return e.displayName||e.name||"Component"}function Im(e){return e&&typeof e.styledComponentId=="string"}var Ao=typeof process!="undefined"&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",Bm=typeof window!="undefined"&&"HTMLElement"in window,E6=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""?{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY:!1),b6={};function Ta(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 S6=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,i=0;i<n;i++)r+=this.groupSizes[i];return r},t.insertRules=function(n,r){if(n>=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,s=o;n>=s;)(s<<=1)<0&&Ta(16,""+n);this.groupSizes=new Uint32Array(s),this.groupSizes.set(i),this.length=s;for(var a=o;a<s;a++)this.groupSizes[a]=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],i=this.indexOfGroup(n),o=i+r;this.groupSizes[n]=0;for(var s=i;s<o;s++)this.tag.deleteRule(i)}},t.getGroup=function(n){var r="";if(n>=this.length||this.groupSizes[n]===0)return r;for(var i=this.groupSizes[n],o=this.indexOfGroup(n),s=o+i,a=o;a<s;a++)r+=this.tag.getRule(a)+`/*!sc*/
|
|
61
|
+
`;return r},e}(),Xl=new Map,Uu=new Map,Es=1,vl=function(e){if(Xl.has(e))return Xl.get(e);for(;Uu.has(Es);)Es++;var t=Es++;return Xl.set(e,t),Uu.set(t,e),t},C6=function(e){return Uu.get(e)},A6=function(e,t){t>=Es&&(Es=t+1),Xl.set(e,t),Uu.set(t,e)},$6="style["+Ao+'][data-styled-version="5.3.5"]',T6=new RegExp("^"+Ao+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),R6=function(e,t,n){for(var r,i=n.split(","),o=0,s=i.length;o<s;o++)(r=i[o])&&e.registerName(t,r)},P6=function(e,t){for(var n=(t.textContent||"").split(`/*!sc*/
|
|
62
|
+
`),r=[],i=0,o=n.length;i<o;i++){var s=n[i].trim();if(s){var a=s.match(T6);if(a){var l=0|parseInt(a[1],10),u=a[2];l!==0&&(A6(u,l),R6(e,u,a[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(s)}}},O6=function(){return typeof window!="undefined"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},CE=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(a){for(var l=a.childNodes,u=l.length;u>=0;u--){var c=l[u];if(c&&c.nodeType===1&&c.hasAttribute(Ao))return c}}(n),o=i!==void 0?i.nextSibling:null;r.setAttribute(Ao,"active"),r.setAttribute("data-styled-version","5.3.5");var s=O6();return s&&r.setAttribute("nonce",s),n.insertBefore(r,o),r},k6=function(){function e(n){var r=this.element=CE(n);r.appendChild(document.createTextNode("")),this.sheet=function(i){if(i.sheet)return i.sheet;for(var o=document.styleSheets,s=0,a=o.length;s<a;s++){var l=o[s];if(l.ownerNode===i)return l}Ta(17)}(r),this.length=0}var t=e.prototype;return t.insertRule=function(n,r){try{return this.sheet.insertRule(r,n),this.length++,!0}catch{return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var r=this.sheet.cssRules[n];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e}(),N6=function(){function e(n){var r=this.element=CE(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 i=document.createTextNode(r),o=this.nodes[n];return this.element.insertBefore(i,o||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}(),D6=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}(),z1=Bm,M6={isServer:!Bm,useCSSOMInjection:!E6},Vu=function(){function e(n,r,i){n===void 0&&(n=Tr),r===void 0&&(r={}),this.options=mn({},M6,{},n),this.gs=r,this.names=new Map(i),this.server=!!n.isServer,!this.server&&Bm&&z1&&(z1=!1,function(o){for(var s=document.querySelectorAll($6),a=0,l=s.length;a<l;a++){var u=s[a];u&&u.getAttribute(Ao)!=="active"&&(P6(o,u),u.parentNode&&u.parentNode.removeChild(u))}}(this))}e.registerId=function(n){return vl(n)};var t=e.prototype;return t.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(mn({},this.options,{},n),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},t.getTag=function(){return this.tag||(this.tag=(i=(r=this.options).isServer,o=r.useCSSOMInjection,s=r.target,n=i?new D6(s):o?new k6(s):new N6(s),new S6(n)));var n,r,i,o,s},t.hasNameForId=function(n,r){return this.names.has(n)&&this.names.get(n).has(r)},t.registerName=function(n,r){if(vl(n),this.names.has(n))this.names.get(n).add(r);else{var i=new Set;i.add(r),this.names.set(n,i)}},t.insertRules=function(n,r,i){this.registerName(n,r),this.getTag().insertRules(vl(n),i)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(vl(n)),this.clearNames(n)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(n){for(var r=n.getTag(),i=r.length,o="",s=0;s<i;s++){var a=C6(s);if(a!==void 0){var l=n.names.get(a),u=r.getGroup(s);if(l&&u&&l.size){var c=Ao+".g"+s+'[id="'+a+'"]',f="";l!==void 0&&l.forEach(function(d){d.length>0&&(f+=d+",")}),o+=""+u+c+'{content:"'+f+`"}/*!sc*/
|
|
63
|
+
`}}}return o}(this)},e}(),L6=/(a)(d)/gi,H1=function(e){return String.fromCharCode(e+(e>25?39:97))};function dh(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=H1(t%52)+n;return(H1(t%52)+n).replace(L6,"$1-$2")}var Qi=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},AE=function(e){return Qi(5381,e)};function $E(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(oa(n)&&!Im(n))return!1}return!0}var F6=AE("5.3.5"),I6=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&$E(t),this.componentId=n,this.baseHash=Qi(F6,n),this.baseStyle=r,Vu.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var i=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(t,n,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(i,this.staticRulesId))o.push(this.staticRulesId);else{var s=vi(this.rules,t,n,r).join(""),a=dh(Qi(this.baseHash,s)>>>0);if(!n.hasNameForId(i,a)){var l=r(s,"."+a,void 0,i);n.insertRules(i,a,l)}o.push(a),this.staticRulesId=a}else{for(var u=this.rules.length,c=Qi(this.baseHash,r.hash),f="",d=0;d<u;d++){var p=this.rules[d];if(typeof p=="string")f+=p;else if(p){var h=vi(p,t,n,r),v=Array.isArray(h)?h.join(""):h;c=Qi(c,v+d),f+=v}}if(f){var x=dh(c>>>0);if(!n.hasNameForId(i,x)){var y=r(f,"."+x,void 0,i);n.insertRules(i,x,y)}o.push(x)}}return o.join(" ")},e}(),B6=/^\s*\/\/.*$/gm,U6=[":","[",".","#"];function TE(e){var t,n,r,i,o=e===void 0?Tr:e,s=o.options,a=s===void 0?Tr:s,l=o.plugins,u=l===void 0?Bu:l,c=new y6(a),f=[],d=function(v){function x(y){if(y)try{v(y+"}")}catch{}}return function(y,_,g,w,E,b,S,C,$,P){switch(y){case 1:if($===0&&_.charCodeAt(0)===64)return v(_+";"),"";break;case 2:if(C===0)return _+"/*|*/";break;case 3:switch(C){case 102:case 112:return v(g[0]+_),"";default:return _+(P===0?"/*|*/":"")}case-2:_.split("/*|*/}").forEach(x)}}}(function(v){f.push(v)}),p=function(v,x,y){return x===0&&U6.indexOf(y[n.length])!==-1||y.match(i)?v:"."+t};function h(v,x,y,_){_===void 0&&(_="&");var g=v.replace(B6,""),w=x&&y?y+" "+x+" { "+g+" }":g;return t=_,n=x,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),c(y||!x?"":x,w)}return c.use([].concat(u,[function(v,x,y){v===2&&y.length&&y[0].lastIndexOf(n)>0&&(y[0]=y[0].replace(r,p))},d,function(v){if(v===-2){var x=f;return f=[],x}}])),h.hash=u.length?u.reduce(function(v,x){return x.name||Ta(15),Qi(v,x.name)},5381).toString():"",h}var Um=K.createContext();Um.Consumer;var Vm=K.createContext(),V6=(Vm.Consumer,new Vu),ph=TE();function jm(){return m.exports.useContext(Um)||V6}function RE(){return m.exports.useContext(Vm)||ph}function j6(e){var t=m.exports.useState(e.stylisPlugins),n=t[0],r=t[1],i=jm(),o=m.exports.useMemo(function(){var a=i;return e.sheet?a=e.sheet:e.target&&(a=a.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(a=a.reconstructWithOptions({useCSSOMInjection:!1})),a},[e.disableCSSOMInjection,e.sheet,e.target]),s=m.exports.useMemo(function(){return TE({options:{prefix:!e.disableVendorPrefixes},plugins:n})},[e.disableVendorPrefixes,n]);return m.exports.useEffect(function(){g6(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]),K.createElement(Um.Provider,{value:o},K.createElement(Vm.Provider,{value:s},e.children))}var PE=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=ph);var s=r.name+o.hash;i.hasNameForId(r.id,s)||i.insertRules(r.id,s,o(r.rules,s,"@keyframes"))},this.toString=function(){return Ta(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=ph),this.name+t.hash},e}(),z6=/([A-Z])/,H6=/([A-Z])/g,G6=/^ms-/,Y6=function(e){return"-"+e.toLowerCase()};function G1(e){return z6.test(e)?e.replace(H6,Y6).replace(G6,"-ms-"):e}var Y1=function(e){return e==null||e===!1||e===""};function vi(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],s=0,a=e.length;s<a;s+=1)(i=vi(e[s],t,n,r))!==""&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}if(Y1(e))return"";if(Im(e))return"."+e.styledComponentId;if(oa(e)){if(typeof(u=e)!="function"||u.prototype&&u.prototype.isReactComponent||!t)return e;var l=e(t);return vi(l,t,n,r)}var u;return e instanceof PE?n?(e.inject(n,r),e.getName(r)):e:fh(e)?function c(f,d){var p,h,v=[];for(var x in f)f.hasOwnProperty(x)&&!Y1(f[x])&&(Array.isArray(f[x])&&f[x].isCss||oa(f[x])?v.push(G1(x)+":",f[x],";"):fh(f[x])?v.push.apply(v,c(f[x],x)):v.push(G1(x)+": "+(p=x,(h=f[x])==null||typeof h=="boolean"||h===""?"":typeof h!="number"||h===0||p in _6?String(h).trim():h+"px")+";"));return d?[d+" {"].concat(v,["}"]):v}(e):e.toString()}var W1=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Te(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 oa(e)||fh(e)?W1(vi(V1(Bu,[e].concat(n)))):n.length===0&&e.length===1&&typeof e[0]=="string"?e:W1(vi(V1(e,n)))}var OE=function(e,t,n){return n===void 0&&(n=Tr),e.theme!==n.theme&&e.theme||t||n.theme},W6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,q6=/(^-|-$)/g;function Sd(e){return e.replace(W6,"-").replace(q6,"")}var zm=function(e){return dh(AE(e)>>>0)};function ml(e){return typeof e=="string"&&!0}var hh=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},X6=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function Q6(e,t,n){var r=e[n];hh(t)&&hh(r)?kE(r,t):e[n]=t}function kE(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var s=o[i];if(hh(s))for(var a in s)X6(a)&&Q6(e,s[a],a)}return e}var Hm=K.createContext();Hm.Consumer;var Cd={};function NE(e,t,n){var r=Im(e),i=!ml(e),o=t.attrs,s=o===void 0?Bu:o,a=t.componentId,l=a===void 0?function(_,g){var w=typeof _!="string"?"sc":Sd(_);Cd[w]=(Cd[w]||0)+1;var E=w+"-"+zm("5.3.5"+w+Cd[w]);return g?g+"-"+E:E}(t.displayName,t.parentComponentId):a,u=t.displayName,c=u===void 0?function(_){return ml(_)?"styled."+_:"Styled("+j1(_)+")"}(e):u,f=t.displayName&&t.componentId?Sd(t.displayName)+"-"+t.componentId:t.componentId||l,d=r&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,p=t.shouldForwardProp;r&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(_,g,w){return e.shouldForwardProp(_,g,w)&&t.shouldForwardProp(_,g,w)}:e.shouldForwardProp);var h,v=new I6(n,f,r?e.componentStyle:void 0),x=v.isStatic&&s.length===0,y=function(_,g){return function(w,E,b,S){var C=w.attrs,$=w.componentStyle,P=w.defaultProps,j=w.foldedComponentIds,U=w.shouldForwardProp,H=w.styledComponentId,V=w.target,J=function(k,A,X){k===void 0&&(k=Tr);var L=mn({},A,{theme:k}),ce={};return X.forEach(function(ae){var le,Z,Me,We=ae;for(le in oa(We)&&(We=We(L)),We)L[le]=ce[le]=le==="className"?(Z=ce[le],Me=We[le],Z&&Me?Z+" "+Me:Z||Me):We[le]}),[L,ce]}(OE(E,m.exports.useContext(Hm),P)||Tr,E,C),Ee=J[0],ie=J[1],F=function(k,A,X,L){var ce=jm(),ae=RE(),le=A?k.generateAndInjectStyles(Tr,ce,ae):k.generateAndInjectStyles(X,ce,ae);return le}($,S,Ee),G=b,W=ie.$as||E.$as||ie.as||E.as||V,re=ml(W),D=ie!==E?mn({},E,{},ie):E,O={};for(var T in D)T[0]!=="$"&&T!=="as"&&(T==="forwardedAs"?O.as=D[T]:(U?U(T,U1,W):!re||U1(T))&&(O[T]=D[T]));return E.style&&ie.style!==E.style&&(O.style=mn({},E.style,{},ie.style)),O.className=Array.prototype.concat(j,H,F!==H?F:null,E.className,ie.className).filter(Boolean).join(" "),O.ref=G,m.exports.createElement(W,O)}(h,_,g,x)};return y.displayName=c,(h=K.forwardRef(y)).attrs=d,h.componentStyle=v,h.displayName=c,h.shouldForwardProp=p,h.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Bu,h.styledComponentId=f,h.target=r?e.target:e,h.withComponent=function(_){var g=t.componentId,w=function(b,S){if(b==null)return{};var C,$,P={},j=Object.keys(b);for($=0;$<j.length;$++)C=j[$],S.indexOf(C)>=0||(P[C]=b[C]);return P}(t,["componentId"]),E=g&&g+"-"+(ml(_)?_:Sd(j1(_)));return NE(_,mn({},w,{attrs:d,componentId:E}),n)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(_){this._foldedDefaultProps=r?kE({},e.defaultProps,_):_}}),h.toString=function(){return"."+h.styledComponentId},i&&R4(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var vh=function(e){return function t(n,r,i){if(i===void 0&&(i=Tr),!Mm.exports.isValidElementType(r))return Ta(1,String(r));var o=function(){return n(r,i,Te.apply(void 0,arguments))};return o.withConfig=function(s){return t(n,r,mn({},i,{},s))},o.attrs=function(s){return t(n,r,mn({},i,{attrs:Array.prototype.concat(i.attrs,s).filter(Boolean)}))},o}(NE,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){vh[e]=vh(e)});var K6=function(){function e(n,r){this.rules=n,this.componentId=r,this.isStatic=$E(n),Vu.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(n,r,i,o){var s=o(vi(this.rules,r,i,o).join(""),""),a=this.componentId+n;i.insertRules(a,a,s)},t.removeStyles=function(n,r){r.clearRules(this.componentId+n)},t.renderStyles=function(n,r,i,o){n>2&&Vu.registerId(this.componentId+n),this.removeStyles(n,i),this.createStyles(n,r,i,o)},e}();function DE(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 i=Te.apply(void 0,[e].concat(n)),o="sc-global-"+zm(JSON.stringify(i)),s=new K6(i,o);function a(u){var c=jm(),f=RE(),d=m.exports.useContext(Hm),p=m.exports.useRef(c.allocateGSInstance(o)).current;return c.server&&l(p,u,c,d,f),m.exports.useLayoutEffect(function(){if(!c.server)return l(p,u,c,d,f),function(){return s.removeStyles(p,c)}},[p,u,c,d,f]),null}function l(u,c,f,d,p){if(s.isStatic)s.renderStyles(u,b6,f,p);else{var h=mn({},c,{theme:OE(c,d,a.defaultProps)});s.renderStyles(u,h,f,p)}}return K.memo(a)}function lf(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 i=Te.apply(void 0,[e].concat(n)).join(""),o=zm(i);return new PE(o,i)}var q=vh;function De(){return De=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},De.apply(this,arguments)}function si(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Z6(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function ME(...e){return t=>e.forEach(n=>Z6(n,t))}function _i(...e){return m.exports.useCallback(ME(...e),e)}function LE(e,t=[]){let n=[];function r(o,s){const a=m.exports.createContext(s),l=n.length;n=[...n,s];function u(f){const{scope:d,children:p,...h}=f,v=(d==null?void 0:d[e][l])||a,x=m.exports.useMemo(()=>h,Object.values(h));return m.exports.createElement(v.Provider,{value:x},p)}function c(f,d){const p=(d==null?void 0:d[e][l])||a,h=m.exports.useContext(p);if(h)return h;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const i=()=>{const o=n.map(s=>m.exports.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return m.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,J6(i,...t)]}function J6(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...a,...f}},{});return m.exports.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}const Gm=m.exports.forwardRef((e,t)=>{const{children:n,...r}=e,i=m.exports.Children.toArray(n),o=i.find(tR);if(o){const s=o.props.children,a=i.map(l=>l===o?m.exports.Children.count(s)>1?m.exports.Children.only(null):m.exports.isValidElement(s)?s.props.children:null:l);return m.exports.createElement(mh,De({},r,{ref:t}),m.exports.isValidElement(s)?m.exports.cloneElement(s,void 0,a):null)}return m.exports.createElement(mh,De({},r,{ref:t}),n)});Gm.displayName="Slot";const mh=m.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return m.exports.isValidElement(n)?m.exports.cloneElement(n,{...nR(r,n.props),ref:ME(t,n.ref)}):m.exports.Children.count(n)>1?m.exports.Children.only(null):null});mh.displayName="SlotClone";const eR=({children:e})=>m.exports.createElement(m.exports.Fragment,null,e);function tR(e){return m.exports.isValidElement(e)&&e.type===eR}function nR(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{o==null||o(...a),i==null||i(...a)}:r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const rR=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],mi=rR.reduce((e,t)=>{const n=m.exports.forwardRef((r,i)=>{const{asChild:o,...s}=r,a=o?Gm:t;return m.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),m.exports.createElement(a,De({},s,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function iR(e,t){e&&Lr.exports.flushSync(()=>e.dispatchEvent(t))}function sa(e){const t=m.exports.useRef(e);return m.exports.useEffect(()=>{t.current=e}),m.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function oR(e){const t=sa(e);m.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const gh="dismissableLayer.update",sR="dismissableLayer.pointerDownOutside",aR="dismissableLayer.focusOutside";let q1;const lR=m.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uR=m.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=m.exports.useContext(lR),[c,f]=m.exports.useState(null),[,d]=m.exports.useState({}),p=_i(t,b=>f(b)),h=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=h.indexOf(v),y=c?h.indexOf(c):-1,_=u.layersWithOutsidePointerEventsDisabled.size>0,g=y>=x,w=cR(b=>{const S=b.target,C=[...u.branches].some($=>$.contains(S));!g||C||(i==null||i(b),s==null||s(b),b.defaultPrevented||a==null||a())}),E=fR(b=>{const S=b.target;[...u.branches].some($=>$.contains(S))||(o==null||o(b),s==null||s(b),b.defaultPrevented||a==null||a())});return oR(b=>{y===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&a&&(b.preventDefault(),a()))}),m.exports.useEffect(()=>{if(!!c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(q1=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),X1(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=q1)}},[c,n,u]),m.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),X1())},[c,u]),m.exports.useEffect(()=>{const b=()=>d({});return document.addEventListener(gh,b),()=>document.removeEventListener(gh,b)},[]),m.exports.createElement(mi.div,De({},l,{ref:p,style:{pointerEvents:_?g?"auto":"none":void 0,...e.style},onFocusCapture:si(e.onFocusCapture,E.onFocusCapture),onBlurCapture:si(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:si(e.onPointerDownCapture,w.onPointerDownCapture)}))});function cR(e){const t=sa(e),n=m.exports.useRef(!1),r=m.exports.useRef(()=>{});return m.exports.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let l=function(){FE(sR,t,a,{discrete:!0})};const a={originalEvent:s};s.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=l,document.addEventListener("click",r.current,{once:!0})):l()}n.current=!1},o=window.setTimeout(()=>{document.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),document.removeEventListener("pointerdown",i),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function fR(e){const t=sa(e),n=m.exports.useRef(!1);return m.exports.useEffect(()=>{const r=i=>{i.target&&!n.current&&FE(aR,t,{originalEvent:i},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function X1(){const e=new CustomEvent(gh);document.dispatchEvent(e)}function FE(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?iR(i,o):i.dispatchEvent(o)}let Ad=0;function dR(){m.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:Q1()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Q1()),Ad++,()=>{Ad===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Ad--}},[])}function Q1(){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 $d="focusScope.autoFocusOnMount",Td="focusScope.autoFocusOnUnmount",K1={bubbles:!1,cancelable:!0},pR=m.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=m.exports.useState(null),u=sa(i),c=sa(o),f=m.exports.useRef(null),d=_i(t,v=>l(v)),p=m.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.exports.useEffect(()=>{if(r){let v=function(y){if(p.paused||!a)return;const _=y.target;a.contains(_)?f.current=_:Xr(f.current,{select:!0})},x=function(y){p.paused||!a||a.contains(y.relatedTarget)||Xr(f.current,{select:!0})};return document.addEventListener("focusin",v),document.addEventListener("focusout",x),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",x)}}},[r,a,p.paused]),m.exports.useEffect(()=>{if(a){J1.add(p);const v=document.activeElement;if(!a.contains(v)){const y=new CustomEvent($d,K1);a.addEventListener($d,u),a.dispatchEvent(y),y.defaultPrevented||(hR(_R(IE(a)),{select:!0}),document.activeElement===v&&Xr(a))}return()=>{a.removeEventListener($d,u),setTimeout(()=>{const y=new CustomEvent(Td,K1);a.addEventListener(Td,c),a.dispatchEvent(y),y.defaultPrevented||Xr(v!=null?v:document.body,{select:!0}),a.removeEventListener(Td,c),J1.remove(p)},0)}}},[a,u,c,p]);const h=m.exports.useCallback(v=>{if(!n&&!r||p.paused)return;const x=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(x&&y){const _=v.currentTarget,[g,w]=vR(_);g&&w?!v.shiftKey&&y===w?(v.preventDefault(),n&&Xr(g,{select:!0})):v.shiftKey&&y===g&&(v.preventDefault(),n&&Xr(w,{select:!0})):y===_&&v.preventDefault()}},[n,r,p.paused]);return m.exports.createElement(mi.div,De({tabIndex:-1},s,{ref:d,onKeyDown:h}))});function hR(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Xr(r,{select:t}),document.activeElement!==n)return}function vR(e){const t=IE(e),n=Z1(t,e),r=Z1(t.reverse(),e);return[n,r]}function IE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Z1(e,t){for(const n of e)if(!mR(n,{upTo:t}))return n}function mR(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 gR(e){return e instanceof HTMLInputElement&&"select"in e}function Xr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&gR(e)&&t&&e.select()}}const J1=yR();function yR(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ey(e,t),e.unshift(t)},remove(t){var n;e=ey(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function ey(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function _R(e){return e.filter(t=>t.tagName!=="A")}const aa=Boolean(globalThis==null?void 0:globalThis.document)?m.exports.useLayoutEffect:()=>{};function Io(e){return e.split("-")[0]}function uf(e){return e.split("-")[1]}function Bo(e){return["top","bottom"].includes(Io(e))?"x":"y"}function Ym(e){return e==="y"?"height":"width"}function ty(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,s=r.y+r.height/2-i.height/2,a=Bo(t),l=Ym(a),u=r[l]/2-i[l]/2,c=Io(t),f=a==="x";let d;switch(c){case"top":d={x:o,y:r.y-i.height};break;case"bottom":d={x:o,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:s};break;case"left":d={x:r.x-i.width,y:s};break;default:d={x:r.x,y:r.y}}switch(uf(t)){case"start":d[a]-=u*(n&&f?-1:1);break;case"end":d[a]+=u*(n&&f?-1:1);break}return d}const xR=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=ty(l,r,a),f=r,d={},p=0;for(let h=0;h<o.length;h++){const{name:v,fn:x}=o[h],{x:y,y:_,data:g,reset:w}=await x({x:u,y:c,initialPlacement:r,placement:f,strategy:i,middlewareData:d,rects:l,platform:s,elements:{reference:e,floating:t}});if(u=y!=null?y:u,c=_!=null?_:c,d={...d,[v]:{...d[v],...g}},w&&p<=50){p++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:u,y:c}=ty(l,f,a)),h=-1;continue}}return{x:u,y:c,placement:f,strategy:i,middlewareData:d}};function wR(e){return{top:0,right:0,bottom:0,left:0,...e}}function BE(e){return typeof e!="number"?wR(e):{top:e,right:e,bottom:e,left:e}}function ju(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function zu(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,h=BE(p),x=a[d?f==="floating"?"reference":"floating":f],y=ju(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),_=ju(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...s.floating,x:r,y:i}:s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:y.top-_.top+h.top,bottom:_.bottom-y.bottom+h.bottom,left:y.left-_.left+h.left,right:_.right-y.right+h.right}}const ER=Math.min,bR=Math.max;function yh(e,t,n){return bR(e,ER(t,n))}const ny=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:i,y:o,placement:s,rects:a,platform:l}=t;if(n==null)return{};const u=BE(r),c={x:i,y:o},f=Bo(s),d=uf(s),p=Ym(f),h=await l.getDimensions(n),v=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=a.reference[p]+a.reference[f]-c[f]-a.floating[p],_=c[f]-a.reference[f],g=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=g?f==="y"?g.clientHeight||0:g.clientWidth||0:0;w===0&&(w=a.floating[p]);const E=y/2-_/2,b=u[v],S=w-h[p]-u[x],C=w/2-h[p]/2+E,$=yh(b,C,S),U=(d==="start"?u[v]:u[x])>0&&C!==$&&a.reference[p]<=a.floating[p]?C<b?b-C:S-C:0;return{[f]:c[f]-U,data:{[f]:$,centerOffset:C-$}}}}),SR={left:"right",right:"left",bottom:"top",top:"bottom"};function Hu(e){return e.replace(/left|right|bottom|top/g,t=>SR[t])}function CR(e,t,n){n===void 0&&(n=!1);const r=uf(e),i=Bo(e),o=Ym(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=Hu(s)),{main:s,cross:Hu(s)}}const AR={start:"end",end:"start"};function ry(e){return e.replace(/start|end/g,t=>AR[t])}const $R=["top","right","bottom","left"];function TR(e){const t=Hu(e);return[ry(e),t,ry(t)]}const RR=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=e,v=Io(r),y=f||(v===s||!p?[Hu(s)]:TR(s)),_=[s,...y],g=await zu(t,h),w=[];let E=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&w.push(g[v]),c){const{main:$,cross:P}=CR(r,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));w.push(g[$],g[P])}if(E=[...E,{placement:r,overflows:w}],!w.every($=>$<=0)){var b,S;const $=((b=(S=i.flip)==null?void 0:S.index)!=null?b:0)+1,P=_[$];if(P)return{data:{index:$,overflows:E},reset:{placement:P}};let j="bottom";switch(d){case"bestFit":{var C;const U=(C=E.map(H=>[H,H.overflows.filter(V=>V>0).reduce((V,J)=>V+J,0)]).sort((H,V)=>H[1]-V[1])[0])==null?void 0:C[0].placement;U&&(j=U);break}case"initialPlacement":j=s;break}if(r!==j)return{reset:{placement:j}}}return{}}}};function iy(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function oy(e){return $R.some(t=>e[t]>=0)}const PR=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=await zu(r,{...n,elementContext:"reference"}),s=iy(o,i.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:oy(s)}}}case"escaped":{const o=await zu(r,{...n,altBoundary:!0}),s=iy(o,i.floating);return{data:{escapedOffsets:s,escaped:oy(s)}}}default:return{}}}}};async function OR(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=Io(n),a=uf(n),l=Bo(n)==="x",u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*c,y:d*u}:{x:d*u,y:p*c}}const kR=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await OR(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function UE(e){return e==="x"?"y":"x"}const NR=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:y,y:_}=x;return{x:y,y:_}}},...l}=e,u={x:n,y:r},c=await zu(t,l),f=Bo(Io(i)),d=UE(f);let p=u[f],h=u[d];if(o){const x=f==="y"?"top":"left",y=f==="y"?"bottom":"right",_=p+c[x],g=p-c[y];p=yh(_,p,g)}if(s){const x=d==="y"?"top":"left",y=d==="y"?"bottom":"right",_=h+c[x],g=h-c[y];h=yh(_,h,g)}const v=a.fn({...t,[f]:p,[d]:h});return{...v,data:{x:v.x-n,y:v.y-r}}}}},DR=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=Bo(i),d=UE(f);let p=c[f],h=c[d];const v=typeof a=="function"?a({...o,placement:i}):a,x=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const E=f==="y"?"height":"width",b=o.reference[f]-o.floating[E]+x.mainAxis,S=o.reference[f]+o.reference[E]-x.mainAxis;p<b?p=b:p>S&&(p=S)}if(u){var y,_,g,w;const E=f==="y"?"width":"height",b=["top","left"].includes(Io(i)),S=o.reference[d]-o.floating[E]+(b&&(y=(_=s.offset)==null?void 0:_[d])!=null?y:0)+(b?0:x.crossAxis),C=o.reference[d]+o.reference[E]+(b?0:(g=(w=s.offset)==null?void 0:w[d])!=null?g:0)-(b?x.crossAxis:0);h<S?h=S:h>C&&(h=C)}return{[f]:p,[d]:h}}}};function VE(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Xn(e){if(e==null)return window;if(!VE(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ra(e){return Xn(e).getComputedStyle(e)}function Un(e){return VE(e)?"":e?(e.nodeName||"").toLowerCase():""}function jE(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function En(e){return e instanceof Xn(e).HTMLElement}function Nr(e){return e instanceof Xn(e).Element}function MR(e){return e instanceof Xn(e).Node}function Wm(e){if(typeof ShadowRoot=="undefined")return!1;const t=Xn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function cf(e){const{overflow:t,overflowX:n,overflowY:r}=Ra(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function LR(e){return["table","td","th"].includes(Un(e))}function zE(e){const t=/firefox/i.test(jE()),n=Ra(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 HE(){return!/^((?!chrome|android).)*safari/i.test(jE())}const sy=Math.min,bs=Math.max,Gu=Math.round;function Vn(e,t,n){var r,i,o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let l=1,u=1;t&&En(e)&&(l=e.offsetWidth>0&&Gu(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Gu(a.height)/e.offsetHeight||1);const c=Nr(e)?Xn(e):window,f=!HE()&&n,d=(a.left+(f&&(r=(i=c.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,p=(a.top+(f&&(o=(s=c.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/u,h=a.width/l,v=a.height/u;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function Ur(e){return((MR(e)?e.ownerDocument:e.document)||window.document).documentElement}function ff(e){return Nr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function GE(e){return Vn(Ur(e)).left+ff(e).scrollLeft}function FR(e){const t=Vn(e);return Gu(t.width)!==e.offsetWidth||Gu(t.height)!==e.offsetHeight}function IR(e,t,n){const r=En(t),i=Ur(t),o=Vn(e,r&&FR(t),n==="fixed");let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Un(t)!=="body"||cf(i))&&(s=ff(t)),En(t)){const l=Vn(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else i&&(a.x=GE(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function YE(e){return Un(e)==="html"?e:e.assignedSlot||e.parentNode||(Wm(e)?e.host:null)||Ur(e)}function ay(e){return!En(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function BR(e){let t=YE(e);for(Wm(t)&&(t=t.host);En(t)&&!["html","body"].includes(Un(t));){if(zE(t))return t;t=t.parentNode}return null}function _h(e){const t=Xn(e);let n=ay(e);for(;n&&LR(n)&&getComputedStyle(n).position==="static";)n=ay(n);return n&&(Un(n)==="html"||Un(n)==="body"&&getComputedStyle(n).position==="static"&&!zE(n))?t:n||BR(e)||t}function ly(e){if(En(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Vn(e);return{width:t.width,height:t.height}}function UR(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=En(n),o=Ur(n);if(n===o)return t;let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((i||!i&&r!=="fixed")&&((Un(n)!=="body"||cf(o))&&(s=ff(n)),En(n))){const l=Vn(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-s.scrollLeft+a.x,y:t.y-s.scrollTop+a.y}}function VR(e,t){const n=Xn(e),r=Ur(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=HE();(u||!u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function jR(e){var t;const n=Ur(e),r=ff(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=bs(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=bs(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let a=-r.scrollLeft+GE(e);const l=-r.scrollTop;return Ra(i||n).direction==="rtl"&&(a+=bs(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function WE(e){const t=YE(e);return["html","body","#document"].includes(Un(t))?e.ownerDocument.body:En(t)&&cf(t)?t:WE(t)}function Yu(e,t){var n;t===void 0&&(t=[]);const r=WE(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Xn(r),s=i?[o].concat(o.visualViewport||[],cf(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(Yu(s))}function zR(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Wm(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function HR(e,t){const n=Vn(e,!1,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft;return{top:r,left:i,x:i,y:r,right:i+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function uy(e,t,n){return t==="viewport"?ju(VR(e,n)):Nr(t)?HR(t,n):ju(jR(Ur(e)))}function GR(e){const t=Yu(e),r=["absolute","fixed"].includes(Ra(e).position)&&En(e)?_h(e):e;return Nr(r)?t.filter(i=>Nr(i)&&zR(i,r)&&Un(i)!=="body"):[]}function YR(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?GR(t):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const f=uy(t,c,i);return u.top=bs(f.top,u.top),u.right=sy(f.right,u.right),u.bottom=sy(f.bottom,u.bottom),u.left=bs(f.left,u.left),u},uy(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const WR={getClippingRect:YR,convertOffsetParentRelativeRectToViewportRelativeRect:UR,isElement:Nr,getDimensions:ly,getOffsetParent:_h,getDocumentElement:Ur,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:IR(t,_h(n),r),floating:{...ly(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Ra(e).direction==="rtl"};function qR(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=i&&!a,u=o&&!a,c=l||u?[...Nr(e)?Yu(e):[],...Yu(t)]:[];c.forEach(v=>{l&&v.addEventListener("scroll",n,{passive:!0}),u&&v.addEventListener("resize",n)});let f=null;if(s){let v=!0;f=new ResizeObserver(()=>{v||n(),v=!1}),Nr(e)&&!a&&f.observe(e),f.observe(t)}let d,p=a?Vn(e):null;a&&h();function h(){const v=Vn(e);p&&(v.x!==p.x||v.y!==p.y||v.width!==p.width||v.height!==p.height)&&n(),p=v,d=requestAnimationFrame(h)}return n(),()=>{var v;c.forEach(x=>{l&&x.removeEventListener("scroll",n),u&&x.removeEventListener("resize",n)}),(v=f)==null||v.disconnect(),f=null,a&&cancelAnimationFrame(d)}}const XR=(e,t,n)=>xR(e,t,{platform:WR,...n});var xh=typeof document!="undefined"?m.exports.useLayoutEffect:m.exports.useEffect;function wh(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!wh(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!wh(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function QR(e){const t=m.exports.useRef(e);return xh(()=>{t.current=e}),t}function KR(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=m.exports.useRef(null),s=m.exports.useRef(null),a=QR(i),l=m.exports.useRef(null),[u,c]=m.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=m.exports.useState(t);wh(f==null?void 0:f.map(g=>{let{options:w}=g;return w}),t==null?void 0:t.map(g=>{let{options:w}=g;return w}))||d(t);const p=m.exports.useCallback(()=>{!o.current||!s.current||XR(o.current,s.current,{middleware:f,placement:n,strategy:r}).then(g=>{h.current&&Lr.exports.flushSync(()=>{c(g)})})},[f,n,r]);xh(()=>{h.current&&p()},[p]);const h=m.exports.useRef(!1);xh(()=>(h.current=!0,()=>{h.current=!1}),[]);const v=m.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&s.current)if(a.current){const g=a.current(o.current,s.current,p);l.current=g}else p()},[p,a]),x=m.exports.useCallback(g=>{o.current=g,v()},[v]),y=m.exports.useCallback(g=>{s.current=g,v()},[v]),_=m.exports.useMemo(()=>({reference:o,floating:s}),[]);return m.exports.useMemo(()=>({...u,update:p,refs:_,reference:x,floating:y}),[u,p,_,x,y])}const ZR=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?ny({element:t.current,padding:n}).fn(i):{}:t?ny({element:t,padding:n}).fn(i):{}}}},JR=m.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return m.exports.createElement(mi.svg,De({},o,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:m.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),eP=JR;function tP(e){const[t,n]=m.exports.useState(void 0);return aa(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const qE="Popper",[qm,XE]=LE(qE),[iH,QE]=qm(qE),nP="PopperAnchor",rP=m.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=QE(nP,n),s=m.exports.useRef(null),a=_i(t,s);return m.exports.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:m.exports.createElement(mi.div,De({},i,{ref:a}))}),Wu="PopperContent",[iP,oP]=qm(Wu),[sP,aP]=qm(Wu,{hasParent:!1,positionUpdateFns:new Set}),lP=m.exports.forwardRef((e,t)=>{var n,r,i,o,s,a,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:p="center",alignOffset:h=0,arrowPadding:v=0,collisionBoundary:x=[],collisionPadding:y=0,sticky:_="partial",hideWhenDetached:g=!1,avoidCollisions:w=!0,...E}=e,b=QE(Wu,c),[S,C]=m.exports.useState(null),$=_i(t,be=>C(be)),[P,j]=m.exports.useState(null),U=tP(P),H=(n=U==null?void 0:U.width)!==null&&n!==void 0?n:0,V=(r=U==null?void 0:U.height)!==null&&r!==void 0?r:0,J=f+(p!=="center"?"-"+p:""),Ee=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ie=Array.isArray(x)?x:[x],F=ie.length>0,G={padding:Ee,boundary:ie.filter(pP),altBoundary:F},{reference:W,floating:re,strategy:D,x:O,y:T,placement:k,middlewareData:A,update:X}=KR({strategy:"fixed",placement:J,whileElementsMounted:qR,middleware:[kR({mainAxis:d+V,alignmentAxis:h}),w?NR({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?DR():void 0,...G}):void 0,P?ZR({element:P,padding:v}):void 0,w?RR({...G}):void 0,hP({arrowWidth:H,arrowHeight:V}),g?PR({strategy:"referenceHidden"}):void 0].filter(dP)});aa(()=>{W(b.anchor)},[W,b.anchor]);const L=O!==null&&T!==null,[ce,ae]=KE(k),le=(i=A.arrow)===null||i===void 0?void 0:i.x,Z=(o=A.arrow)===null||o===void 0?void 0:o.y,Me=((s=A.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[We,oe]=m.exports.useState();aa(()=>{S&&oe(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Be,positionUpdateFns:ee}=aP(Wu,c),fe=!Be;m.exports.useLayoutEffect(()=>{if(!fe)return ee.add(X),()=>{ee.delete(X)}},[fe,ee,X]),m.exports.useLayoutEffect(()=>{fe&&L&&Array.from(ee).reverse().forEach(be=>requestAnimationFrame(be))},[fe,L,ee]);const Wt={"data-side":ce,"data-align":ae,...E,ref:$,style:{...E.style,animation:L?void 0:"none",opacity:(a=A.hide)!==null&&a!==void 0&&a.referenceHidden?0:void 0}};return m.exports.createElement("div",{ref:re,"data-radix-popper-content-wrapper":"",style:{position:D,left:0,top:0,transform:L?`translate3d(${Math.round(O)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:We,["--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(" ")}},m.exports.createElement(iP,{scope:c,placedSide:ce,onArrowChange:j,arrowX:le,arrowY:Z,shouldHideArrow:Me},fe?m.exports.createElement(sP,{scope:c,hasParent:!0,positionUpdateFns:ee},m.exports.createElement(mi.div,Wt)):m.exports.createElement(mi.div,Wt)))}),uP="PopperArrow",cP={top:"bottom",right:"left",bottom:"top",left:"right"},fP=m.exports.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=oP(uP,r),s=cP[o.placedSide];return m.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]: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}},m.exports.createElement(eP,De({},i,{ref:n,style:{...i.style,display:"block"}})))});function dP(e){return e!==void 0}function pP(e){return e!==null}const hP=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,s;const{placement:a,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,p=f?0:e.arrowHeight,[h,v]=KE(a),x={start:"0%",center:"50%",end:"100%"}[v],y=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,_=((o=(s=u.arrow)===null||s===void 0?void 0:s.y)!==null&&o!==void 0?o:0)+p/2;let g="",w="";return h==="bottom"?(g=f?x:`${y}px`,w=`${-p}px`):h==="top"?(g=f?x:`${y}px`,w=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,w=f?x:`${_}px`):h==="left"&&(g=`${l.floating.width+p}px`,w=f?x:`${_}px`),{data:{x:g,y:w}}}});function KE(e){const[t,n="center"]=e.split("-");return[t,n]}const vP=rP,mP=lP,gP=fP;function yP(e,t){return m.exports.useReducer((n,r)=>{const i=t[n][r];return i!=null?i:n},e)}const ZE=e=>{const{present:t,children:n}=e,r=_P(t),i=typeof n=="function"?n({present:r.isPresent}):m.exports.Children.only(n),o=_i(r.ref,i.ref);return typeof n=="function"||r.isPresent?m.exports.cloneElement(i,{ref:o}):null};ZE.displayName="Presence";function _P(e){const[t,n]=m.exports.useState(),r=m.exports.useRef({}),i=m.exports.useRef(e),o=m.exports.useRef("none"),s=e?"mounted":"unmounted",[a,l]=yP(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.exports.useEffect(()=>{const u=gl(r.current);o.current=a==="mounted"?u:"none"},[a]),aa(()=>{const u=r.current,c=i.current;if(c!==e){const d=o.current,p=gl(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),aa(()=>{if(t){const u=f=>{const p=gl(r.current).includes(f.animationName);f.target===t&&p&&Lr.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(o.current=gl(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(a),ref:m.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function gl(e){return(e==null?void 0:e.animationName)||"none"}var xP=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ai=new WeakMap,yl=new WeakMap,_l={},Rd=0,wP=function(e,t,n,r){var i=Array.isArray(e)?e:[e];_l[n]||(_l[n]=new WeakMap);var o=_l[n],s=[],a=new Set,l=new Set(i),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else{var p=d.getAttribute(r),h=p!==null&&p!=="false",v=(Ai.get(d)||0)+1,x=(o.get(d)||0)+1;Ai.set(d,v),o.set(d,x),s.push(d),v===1&&h&&yl.set(d,!0),x===1&&d.setAttribute(n,"true"),h||d.setAttribute(r,"true")}})};return c(t),a.clear(),Rd++,function(){s.forEach(function(f){var d=Ai.get(f)-1,p=o.get(f)-1;Ai.set(f,d),o.set(f,p),d||(yl.has(f)||f.removeAttribute(r),yl.delete(f)),p||f.removeAttribute(n)}),Rd--,Rd||(Ai=new WeakMap,Ai=new WeakMap,yl=new WeakMap,_l={})}},EP=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||xP(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),wP(r,i,n,"aria-hidden")):function(){return null}},Eh=function(e,t){return Eh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Eh(e,t)};function JE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Eh(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var N=function(){return N=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},N.apply(this,arguments)};function St(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function Ye(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return o}function an(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var Ql="right-scroll-bar-position",Kl="width-before-scroll-bar",bP="with-scroll-bars-hidden",SP="--removed-body-scroll-bar-size";function CP(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function AP(e,t){var n=m.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function $P(e,t){return AP(t||null,function(n){return e.forEach(function(r){return CP(r,n)})})}function TP(e){return e}function RP(e,t){t===void 0&&(t=TP);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var s=t(o,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(o){for(r=!0;n.length;){var s=n;n=[],s.forEach(o)}n={push:function(a){return o(a)},filter:function(){return n}}},assignMedium:function(o){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(o),s=n}var l=function(){var c=s;s=[],c.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){s.push(c),u()},filter:function(c){return s=s.filter(c),n}}}};return i}function PP(e){e===void 0&&(e={});var t=RP(null);return t.options=N({async:!0,ssr:!1},e),t}var eb=function(e){var t=e.sideCar,n=St(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 m.exports.createElement(r,N({},n))};eb.isSideCarExport=!0;function OP(e,t){return e.useMedium(t),eb}var tb=PP(),Pd=function(){},df=m.exports.forwardRef(function(e,t){var n=m.exports.useRef(null),r=m.exports.useState({onScrollCapture:Pd,onWheelCapture:Pd,onTouchMoveCapture:Pd}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,x=e.as,y=x===void 0?"div":x,_=St(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),g=d,w=$P([n,t]),E=N(N({},_),i);return m.exports.createElement(m.exports.Fragment,null,c&&m.exports.createElement(g,{sideCar:tb,removeScrollBar:u,shards:f,noIsolation:p,inert:h,setCallbacks:o,allowPinchZoom:!!v,lockRef:n}),s?m.exports.cloneElement(m.exports.Children.only(a),N(N({},E),{ref:w})):m.exports.createElement(y,N({},E,{className:l,ref:w}),a))});df.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};df.classNames={fullWidth:Kl,zeroRight:Ql};var kP=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function NP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kP();return t&&e.setAttribute("nonce",t),e}function DP(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function MP(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var LP=function(){var e=0,t=null;return{add:function(n){e==0&&(t=NP())&&(DP(t,n),MP(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},FP=function(){var e=LP();return function(t,n){m.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},nb=function(){var e=FP(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},IP={left:0,top:0,right:0,gap:0},Od=function(e){return parseInt(e||"",10)||0},BP=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Od(n),Od(r),Od(i)]},UP=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return IP;var t=BP(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])}},VP=nb(),jP=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
64
|
+
.`.concat(bP,` {
|
|
65
|
+
overflow: hidden `).concat(r,`;
|
|
66
|
+
padding-right: `).concat(a,"px ").concat(r,`;
|
|
67
|
+
}
|
|
68
|
+
body {
|
|
69
|
+
overflow: hidden `).concat(r,`;
|
|
70
|
+
overscroll-behavior: contain;
|
|
71
|
+
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
72
|
+
padding-left: `.concat(i,`px;
|
|
73
|
+
padding-top: `).concat(o,`px;
|
|
74
|
+
padding-right: `).concat(s,`px;
|
|
75
|
+
margin-left:0;
|
|
76
|
+
margin-top:0;
|
|
77
|
+
margin-right: `).concat(a,"px ").concat(r,`;
|
|
78
|
+
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.`).concat(Ql,` {
|
|
82
|
+
right: `).concat(a,"px ").concat(r,`;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.`).concat(Kl,` {
|
|
86
|
+
margin-right: `).concat(a,"px ").concat(r,`;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.`).concat(Ql," .").concat(Ql,` {
|
|
90
|
+
right: 0 `).concat(r,`;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.`).concat(Kl," .").concat(Kl,` {
|
|
94
|
+
margin-right: 0 `).concat(r,`;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
body {
|
|
98
|
+
`).concat(SP,": ").concat(a,`px;
|
|
99
|
+
}
|
|
100
|
+
`)},zP=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=m.exports.useMemo(function(){return UP(i)},[i]);return m.exports.createElement(VP,{styles:jP(o,!t,i,n?"":"!important")})},bh=!1;if(typeof window!="undefined")try{var xl=Object.defineProperty({},"passive",{get:function(){return bh=!0,!0}});window.addEventListener("test",xl,xl),window.removeEventListener("test",xl,xl)}catch{bh=!1}var $i=bh?{passive:!1}:!1,HP=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},GP=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},cy=function(e,t){var n=t;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=rb(e,n);if(r){var i=ib(e,n),o=i[1],s=i[2];if(o>s)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},YP=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},WP=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},rb=function(e,t){return e==="v"?HP(t):GP(t)},ib=function(e,t){return e==="v"?YP(t):WP(t)},qP=function(e,t){return e==="h"&&t==="rtl"?-1:1},XP=function(e,t,n,r,i){var o=qP(e,window.getComputedStyle(t).direction),s=o*r,a=n.target,l=t.contains(a),u=!1,c=s>0,f=0,d=0;do{var p=ib(e,a),h=p[0],v=p[1],x=p[2],y=v-x-o*h;(h||y)&&rb(e,a)&&(f+=y,d+=h),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(i&&f===0||!i&&s>f)||!c&&(i&&d===0||!i&&-s>d))&&(u=!0),u},wl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},fy=function(e){return[e.deltaX,e.deltaY]},dy=function(e){return e&&"current"in e?e.current:e},QP=function(e,t){return e[0]===t[0]&&e[1]===t[1]},KP=function(e){return`
|
|
101
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
102
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
103
|
+
`)},ZP=0,Ti=[];function JP(e){var t=m.exports.useRef([]),n=m.exports.useRef([0,0]),r=m.exports.useRef(),i=m.exports.useState(ZP++)[0],o=m.exports.useState(function(){return nb()})[0],s=m.exports.useRef(e);m.exports.useEffect(function(){s.current=e},[e]),m.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var v=an([e.lockRef.current],(e.shards||[]).map(dy),!0).filter(Boolean);return v.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),v.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=m.exports.useCallback(function(v,x){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var y=wl(v),_=n.current,g="deltaX"in v?v.deltaX:_[0]-y[0],w="deltaY"in v?v.deltaY:_[1]-y[1],E,b=v.target,S=Math.abs(g)>Math.abs(w)?"h":"v";if("touches"in v&&S==="h"&&b.type==="range")return!1;var C=cy(S,b);if(!C)return!0;if(C?E=S:(E=S==="v"?"h":"v",C=cy(S,b)),!C)return!1;if(!r.current&&"changedTouches"in v&&(g||w)&&(r.current=E),!E)return!0;var $=r.current||E;return XP($,x,v,$==="h"?g:w,!0)},[]),l=m.exports.useCallback(function(v){var x=v;if(!(!Ti.length||Ti[Ti.length-1]!==o)){var y="deltaY"in x?fy(x):wl(x),_=t.current.filter(function(E){return E.name===x.type&&E.target===x.target&&QP(E.delta,y)})[0];if(_&&_.should){x.preventDefault();return}if(!_){var g=(s.current.shards||[]).map(dy).filter(Boolean).filter(function(E){return E.contains(x.target)}),w=g.length>0?a(x,g[0]):!s.current.noIsolation;w&&x.preventDefault()}}},[]),u=m.exports.useCallback(function(v,x,y,_){var g={name:v,delta:x,target:y,should:_};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(w){return w!==g})},1)},[]),c=m.exports.useCallback(function(v){n.current=wl(v),r.current=void 0},[]),f=m.exports.useCallback(function(v){u(v.type,fy(v),v.target,a(v,e.lockRef.current))},[]),d=m.exports.useCallback(function(v){u(v.type,wl(v),v.target,a(v,e.lockRef.current))},[]);m.exports.useEffect(function(){return Ti.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,$i),document.addEventListener("touchmove",l,$i),document.addEventListener("touchstart",c,$i),function(){Ti=Ti.filter(function(v){return v!==o}),document.removeEventListener("wheel",l,$i),document.removeEventListener("touchmove",l,$i),document.removeEventListener("touchstart",c,$i)}},[]);var p=e.removeScrollBar,h=e.inert;return m.exports.createElement(m.exports.Fragment,null,h?m.exports.createElement(o,{styles:KP(i)}):null,p?m.exports.createElement(zP,{gapMode:"margin"}):null)}var eO=OP(tb,JP),ob=m.exports.forwardRef(function(e,t){return m.exports.createElement(df,N({},e,{ref:t,sideCar:eO}))});ob.classNames=df.classNames;var tO=ob;const sb="Popover",[ab,oH]=LE(sb,[XE]),Xm=XE(),[sH,Pa]=ab(sb),nO="PopoverTrigger",rO=m.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Pa(nO,n),o=Xm(n),s=_i(t,i.triggerRef),a=m.exports.createElement(mi.button,De({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ub(i.open)},r,{ref:s,onClick:si(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?a:m.exports.createElement(vP,De({asChild:!0},o),a)}),iO="PopoverPortal",[aH,oO]=ab(iO,{forceMount:void 0}),la="PopoverContent",sO=m.exports.forwardRef((e,t)=>{const n=oO(la,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=Pa(la,e.__scopePopover);return m.exports.createElement(ZE,{present:r||o.open},o.modal?m.exports.createElement(aO,De({},i,{ref:t})):m.exports.createElement(lO,De({},i,{ref:t})))}),aO=m.exports.forwardRef((e,t)=>{const n=Pa(la,e.__scopePopover),r=m.exports.useRef(null),i=_i(t,r),o=m.exports.useRef(!1);return m.exports.useEffect(()=>{const s=r.current;if(s)return EP(s)},[]),m.exports.createElement(tO,{as:Gm,allowPinchZoom:!0},m.exports.createElement(lb,De({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:si(e.onCloseAutoFocus,s=>{var a;s.preventDefault(),o.current||(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:si(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;o.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:si(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),lO=m.exports.forwardRef((e,t)=>{const n=Pa(la,e.__scopePopover),r=m.exports.useRef(!1);return m.exports.createElement(lb,De({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o;if((o=e.onCloseAutoFocus)===null||o===void 0||o.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var o,s;(o=e.onInteractOutside)===null||o===void 0||o.call(e,i),i.defaultPrevented||(r.current=!0);const a=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(a))&&i.preventDefault()}}))}),lb=m.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,d=Pa(la,n),p=Xm(n);return dR(),m.exports.createElement(pR,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},m.exports.createElement(uR,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:c,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},m.exports.createElement(mP,De({"data-state":ub(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),uO=m.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Xm(n);return m.exports.createElement(gP,De({},i,r,{ref:t}))});function ub(e){return e?"open":"closed"}const cO=rO,fO=sO,dO=uO;var pO=Object.defineProperty,Qm=(e,t)=>{for(var n in t)pO(e,n,{get:t[n],enumerable:!0})},cb={};Qm(cb,{neutralColors:()=>ye,primaryColors:()=>ua});var ua={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"},ye={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"},Dn=4,hO={"--ll-color-primary":ua.colorPrimary50,"--ll-color-primary-variant1":ua.colorPrimary40,"--ll-color-background":ye.colorNeutral100,"--ll-color-surface":ye.colorNeutral95,"--ll-color-surface-variant1":ye.colorNeutral90,"--ll-color-surface-variant2":ye.colorNeutral80,"--ll-color-on-primary":ye.colorNeutral100,"--ll-color-on-primary-variant1":ye.colorNeutral90,"--ll-color-on-background":ye.colorNeutral10,"--ll-color-on-background-variant1":ye.colorNeutral30,"--ll-color-on-surface":ye.colorNeutral10,"--ll-color-on-surface-variant1":ye.colorNeutral30,"--ll-color-placeholder":ye.colorNeutral60,"--ll-color-disabled":ye.colorNeutral60,"--ll-color-border":ye.colorNeutral90},vO={"--ll-border-radius-small":`${Dn}px`,"--ll-border-radius-medium":`${2*Dn}px`},mO={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},gO={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${Dn}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)"},yO={"--ll-font-family":"Inter, sans-serif"},_O={"--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)"},xO={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},Km={...hO,...vO,...mO,...gO,...yO,..._O,...xO},wO={...Km,"--ll-color-primary":ua.colorPrimary60,"--ll-color-primary-variant1":ua.colorPrimary50,"--ll-color-background":ye.colorNeutral10,"--ll-color-surface":ye.colorNeutral20,"--ll-color-surface-variant1":ye.colorNeutral30,"--ll-color-surface-variant2":ye.colorNeutral40,"--ll-color-on-primary":ye.colorNeutral100,"--ll-color-on-primary-variant1":ye.colorNeutral90,"--ll-color-on-background":ye.colorNeutral99,"--ll-color-on-background-variant1":ye.colorNeutral60,"--ll-color-on-surface":ye.colorNeutral60,"--ll-color-on-surface-variant1":ye.colorNeutral70,"--ll-color-placeholder":ye.colorNeutral70,"--ll-color-disabled":ye.colorNeutral70,"--ll-color-border":ye.colorNeutral30},EO=Object.keys(Km),ne=EO.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),bO={day:Km,night:wO},SO=DE`
|
|
104
|
+
:root {
|
|
105
|
+
${({themeName:e,overrides:t})=>({...bO[e||"day"],...t})};
|
|
106
|
+
}
|
|
107
|
+
`,fb={};Qm(fb,{transitions:()=>AO});var CO=e=>e,AO=CO({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),db={};Qm(db,{screenSizes:()=>$O});var $O={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},lH={colors:cb,...fb,...db};q.span`
|
|
108
|
+
display: inline-flex;
|
|
109
|
+
color: ${({textColor:e})=>e};
|
|
110
|
+
background-color: ${({backgroundColor:e})=>e};
|
|
111
|
+
border-radius: ${ne["--ll-border-radius-small"]};
|
|
112
|
+
padding: ${({size:e})=>e==="small"?`calc(${ne["--ll-spacing-xx-small"]} / 2)
|
|
113
|
+
${ne["--ll-spacing-xx-small"]};`:`${ne["--ll-spacing-xx-small"]} ${ne["--ll-spacing-x-small"]}`};
|
|
114
|
+
line-height: 1;
|
|
115
|
+
font-family: ${ne["--ll-font-family"]};
|
|
116
|
+
font-size: ${ne["--ll-font-size-caption-1"]};
|
|
117
|
+
`;var TO=q.div`
|
|
118
|
+
height: ${({height:e})=>e}px;
|
|
119
|
+
width: ${({width:e})=>e}px;
|
|
120
|
+
fill: ${({fill:e})=>e};
|
|
121
|
+
display: flex;
|
|
122
|
+
|
|
123
|
+
& > svg {
|
|
124
|
+
fill: inherit;
|
|
125
|
+
height: 100%;
|
|
126
|
+
width: 100%;
|
|
127
|
+
}
|
|
128
|
+
`,uH=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>K.createElement(TO,{fill:t,height:n,width:r},K.createElement(e,null)),py=({variant:e})=>e==="h1"?ne["--ll-font-size-h1"]:e==="h2"?ne["--ll-font-size-h2"]:e==="h3"?ne["--ll-font-size-h3"]:e==="h4"?ne["--ll-font-size-h4"]:e==="h5"?ne["--ll-font-size-h5"]:e==="h6"?ne["--ll-font-size-h6"]:e==="p"?ne["--ll-font-size-p"]:e==="caption1"?ne["--ll-font-size-caption-1"]:e==="caption2"?ne["--ll-font-size-caption-2"]:ne["--ll-font-size-h2"],pb=q.span`
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
display: inline-block;
|
|
131
|
+
width: 100%;
|
|
132
|
+
line-height: 1.45;
|
|
133
|
+
margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
|
|
134
|
+
font-size: inherit;
|
|
135
|
+
font-weight: inherit;
|
|
136
|
+
`,RO=q.div`
|
|
137
|
+
${e=>Te`
|
|
138
|
+
text-align: ${e.align};
|
|
139
|
+
font-size: ${py(e)};
|
|
140
|
+
font-family: ${ne["--ll-font-family"]};
|
|
141
|
+
color: ${ne[e.color]};
|
|
142
|
+
font-weight: ${ne[e.weight]};
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
display: flex;
|
|
145
|
+
|
|
146
|
+
svg {
|
|
147
|
+
height: ${py(e)};
|
|
148
|
+
fill: ${ne[e.color]};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
${pb} {
|
|
152
|
+
${e.noWrap&&Te`
|
|
153
|
+
text-overflow: ellipsis;
|
|
154
|
+
white-space: nowrap;
|
|
155
|
+
`}
|
|
156
|
+
}
|
|
157
|
+
`}
|
|
158
|
+
`,hy=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:i,noMargin:o,weight:s="--ll-font-weight-normal",className:a})=>{const l=["caption1","caption2","p"].includes(t)?"p":t;return K.createElement(RO,{variant:t,align:n,color:r,noWrap:i,weight:s},K.createElement(pb,{as:l,noMargin:o,className:a},e))},PO=lf`
|
|
159
|
+
0% {
|
|
160
|
+
transform: rotate(0deg);
|
|
161
|
+
}
|
|
162
|
+
100% {
|
|
163
|
+
transform: rotate(360deg);
|
|
164
|
+
}
|
|
165
|
+
`,kd={small:Dn*4,medium:Dn*6,large:Dn*8},OO=q.div`
|
|
166
|
+
height: ${({size:e})=>kd[e]}px;
|
|
167
|
+
width: ${({size:e})=>kd[e]}px;
|
|
168
|
+
border: ${({size:e})=>kd[e]/6}px solid ${ne["--ll-color-on-surface-variant1"]};
|
|
169
|
+
border-bottom-color: transparent;
|
|
170
|
+
border-radius: 50%;
|
|
171
|
+
display: inline-block;
|
|
172
|
+
box-sizing: border-box;
|
|
173
|
+
animation: ${PO} 1s linear infinite;
|
|
174
|
+
`,kO=({size:e="medium"})=>K.createElement(OO,{size:e}),Ss={primary:{background:ne["--ll-color-primary"],onBackground:ne["--ll-color-on-primary"],hover:ne["--ll-color-primary-variant1"]}},NO=({size:e})=>e==="small"?`font-size: ${ne["--ll-font-size-caption-1"]}`:`font-size: ${ne["--ll-font-size-p"]}`,Zm=({size:e})=>e==="small"?`${Dn*8}px`:e==="large"?`${Dn*12}px`:`${Dn*10}px`,Jm=({size:e})=>e==="small"?`padding: 0 ${ne["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${ne["--ll-spacing-medium"]}`:`padding: 0 ${ne["--ll-spacing-small"]}`,DO=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",MO=Te`
|
|
175
|
+
${({color:e="primary"})=>Te`
|
|
176
|
+
color: ${ne["--ll-color-on-background"]};
|
|
177
|
+
|
|
178
|
+
&:disabled {
|
|
179
|
+
cursor: default;
|
|
180
|
+
}
|
|
181
|
+
`};
|
|
182
|
+
|
|
183
|
+
height: ${Zm};
|
|
184
|
+
${Jm};
|
|
185
|
+
`,LO=Te`
|
|
186
|
+
${({color:e="primary"})=>Te`
|
|
187
|
+
background-color: ${Ss[e].background};
|
|
188
|
+
color: ${Ss[e].onBackground};
|
|
189
|
+
|
|
190
|
+
&:hover {
|
|
191
|
+
background-color: ${Ss[e].hover};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&:disabled {
|
|
195
|
+
cursor: default;
|
|
196
|
+
}
|
|
197
|
+
`};
|
|
198
|
+
height: ${Zm};
|
|
199
|
+
${Jm};
|
|
200
|
+
`,FO=Te`
|
|
201
|
+
${({color:e="primary"})=>Te`
|
|
202
|
+
border-color: ${Ss[e].background};
|
|
203
|
+
border-width: 1px;
|
|
204
|
+
border-style: solid;
|
|
205
|
+
color: ${Ss[e].background};
|
|
206
|
+
`};
|
|
207
|
+
|
|
208
|
+
&:hover {
|
|
209
|
+
background-color: rgba(0, 0, 0, 0.03);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
height: ${Zm};
|
|
213
|
+
${Jm};
|
|
214
|
+
`,IO=e=>({contained:LO,outlined:FO,text:MO})[e.variant],BO=q.div`
|
|
215
|
+
display: flex;
|
|
216
|
+
align-items: center;
|
|
217
|
+
margin-right: ${ne["--ll-spacing-x-small"]};
|
|
218
|
+
margin-left: calc(-1 * ${ne["--ll-spacing-xx-small"]});
|
|
219
|
+
`,UO=q.button`
|
|
220
|
+
font-weight: ${ne["--ll-font-weight-normal"]};
|
|
221
|
+
border-radius: ${ne["--ll-border-radius-small"]};
|
|
222
|
+
align-items: center;
|
|
223
|
+
cursor: pointer;
|
|
224
|
+
display: inline-flex;
|
|
225
|
+
background: none;
|
|
226
|
+
border: none;
|
|
227
|
+
|
|
228
|
+
svg {
|
|
229
|
+
fill: currentColor;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
${IO};
|
|
233
|
+
${DO};
|
|
234
|
+
${NO};
|
|
235
|
+
`,VO=K.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:i,size:o="medium",type:s="button",color:a,isLoading:l,className:u},c)=>{const f=d=>{t||!n||l||n(d)};return K.createElement(UO,{variant:r,size:o,onClick:f,disabled:t||l,className:u,color:a,type:s,ref:c},l?K.createElement(kO,null):K.createElement(K.Fragment,null,i&&K.createElement(BO,null,i),e))});VO.displayName="Button";var jO=({vertical:e,spacing:t})=>{const n=ne[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`},zO=q.div`
|
|
236
|
+
margin: ${e=>jO(e)};
|
|
237
|
+
flex-shrink: 0;
|
|
238
|
+
`,cH=({vertical:e=!1,spacing:t="--ll-spacing-auto"})=>K.createElement(zO,{vertical:e,spacing:t});q(cO)`
|
|
239
|
+
background: none;
|
|
240
|
+
border: none;
|
|
241
|
+
padding: 0;
|
|
242
|
+
`;q(fO)`
|
|
243
|
+
border-radius: ${ne["--ll-border-radius-small"]};
|
|
244
|
+
box-shadow: ${ne["--ll-shadow-small"]};
|
|
245
|
+
padding: ${ne["--ll-spacing-medium"]};
|
|
246
|
+
`;q(dO)`
|
|
247
|
+
fill: ${ne["--ll-color-background"]};
|
|
248
|
+
`;function HO({height:e,width:t}){return Te`
|
|
249
|
+
height: ${e};
|
|
250
|
+
width: ${t};
|
|
251
|
+
`}var GO=lf`
|
|
252
|
+
from {
|
|
253
|
+
background-position: -800px 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
to {
|
|
257
|
+
background-position: 800px 0;
|
|
258
|
+
}
|
|
259
|
+
`,YO=q.div`
|
|
260
|
+
border-radius: ${ne["--ll-border-radius-medium"]};
|
|
261
|
+
animation: ${GO} 2s linear infinite;
|
|
262
|
+
background: linear-gradient(
|
|
263
|
+
to right,
|
|
264
|
+
/* NOTE: 99.9% of the time we should use colours from theme, since these are
|
|
265
|
+
CSS vars that can be overriden. */
|
|
266
|
+
${ne["--ll-color-surface-variant1"]} 4%,
|
|
267
|
+
${ne["--ll-color-surface-variant2"]} 25%,
|
|
268
|
+
${ne["--ll-color-surface-variant1"]} 36%
|
|
269
|
+
);
|
|
270
|
+
background-size: 800px 100%;
|
|
271
|
+
${HO}
|
|
272
|
+
`,fH=({height:e,width:t,className:n})=>K.createElement(YO,{height:e,width:t,className:n});q.div`
|
|
273
|
+
flex: 1;
|
|
274
|
+
height: 100%;
|
|
275
|
+
width: 100%;
|
|
276
|
+
display: flex;
|
|
277
|
+
align-items: center;
|
|
278
|
+
justify-content: center;
|
|
279
|
+
`;q.div`
|
|
280
|
+
display: flex;
|
|
281
|
+
flex-direction: column;
|
|
282
|
+
align-items: center;
|
|
283
|
+
`;var gn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(gn||(gn={}));var qu=function(e){return e},vy="beforeunload",WO="popstate";function qO(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function o(){var S=r.location,C=S.pathname,$=S.search,P=S.hash,j=i.state||{};return[j.idx,qu({pathname:C,search:$,hash:P,state:j.usr||null,key:j.key||"default"})]}var s=null;function a(){if(s)p.call(s),s=null;else{var S=gn.Pop,C=o(),$=C[0],P=C[1];if(p.length){if($!=null){var j=c-$;j&&(s={action:S,location:P,retry:function(){E(j*-1)}},E(j))}}else _(S)}}r.addEventListener(WO,a);var l=gn.Pop,u=o(),c=u[0],f=u[1],d=Xu(),p=Xu();c==null&&(c=0,i.replaceState(De({},i.state,{idx:c}),""));function h(S){return typeof S=="string"?S:hb(S)}function v(S,C){return C===void 0&&(C=null),qu(De({pathname:f.pathname,hash:"",search:""},typeof S=="string"?Ch(S):S,{state:C,key:Sh()}))}function x(S,C){return[{usr:S.state,key:S.key,idx:C},h(S)]}function y(S,C,$){return!p.length||(p.call({action:S,location:C,retry:$}),!1)}function _(S){l=S;var C=o();c=C[0],f=C[1],d.call({action:l,location:f})}function g(S,C){var $=gn.Push,P=v(S,C);function j(){g(S,C)}if(y($,P,j)){var U=x(P,c+1),H=U[0],V=U[1];try{i.pushState(H,"",V)}catch{r.location.assign(V)}_($)}}function w(S,C){var $=gn.Replace,P=v(S,C);function j(){w(S,C)}if(y($,P,j)){var U=x(P,c),H=U[0],V=U[1];i.replaceState(H,"",V),_($)}}function E(S){i.go(S)}var b={get action(){return l},get location(){return f},createHref:h,push:g,replace:w,go:E,back:function(){E(-1)},forward:function(){E(1)},listen:function(C){return d.push(C)},block:function(C){var $=p.push(C);return p.length===1&&r.addEventListener(vy,gy),function(){$(),p.length||r.removeEventListener(vy,gy)}}};return b}function XO(e){e===void 0&&(e={});var t=e,n=t.initialEntries,r=n===void 0?["/"]:n,i=t.initialIndex,o=r.map(function(g){var w=qu(De({pathname:"/",search:"",hash:"",state:null,key:Sh()},typeof g=="string"?Ch(g):g));return w}),s=my(i==null?o.length-1:i,0,o.length-1),a=gn.Pop,l=o[s],u=Xu(),c=Xu();function f(g){return typeof g=="string"?g:hb(g)}function d(g,w){return w===void 0&&(w=null),qu(De({pathname:l.pathname,search:"",hash:""},typeof g=="string"?Ch(g):g,{state:w,key:Sh()}))}function p(g,w,E){return!c.length||(c.call({action:g,location:w,retry:E}),!1)}function h(g,w){a=g,l=w,u.call({action:a,location:l})}function v(g,w){var E=gn.Push,b=d(g,w);function S(){v(g,w)}p(E,b,S)&&(s+=1,o.splice(s,o.length,b),h(E,b))}function x(g,w){var E=gn.Replace,b=d(g,w);function S(){x(g,w)}p(E,b,S)&&(o[s]=b,h(E,b))}function y(g){var w=my(s+g,0,o.length-1),E=gn.Pop,b=o[w];function S(){y(g)}p(E,b,S)&&(s=w,h(E,b))}var _={get index(){return s},get action(){return a},get location(){return l},createHref:f,push:v,replace:x,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 _}function my(e,t,n){return Math.min(Math.max(e,t),n)}function gy(e){e.preventDefault(),e.returnValue=""}function Xu(){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 Sh(){return Math.random().toString(36).substr(2,8)}function hb(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,o=e.hash,s=o===void 0?"":o;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function Ch(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}/**
|
|
284
|
+
* react-location
|
|
285
|
+
*
|
|
286
|
+
* Copyright (c) TanStack
|
|
287
|
+
*
|
|
288
|
+
* This source code is licensed under the MIT license found in the
|
|
289
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
290
|
+
*
|
|
291
|
+
* @license MIT
|
|
292
|
+
*/function ln(){return ln=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},ln.apply(this,arguments)}function Ah(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function QO(e,t){var n,r,i,o="";for(n in e)if((i=e[n])!==void 0)if(Array.isArray(i))for(r=0;r<i.length;r++)o&&(o+="&"),o+=encodeURIComponent(n)+"="+encodeURIComponent(i[r]);else o&&(o+="&"),o+=encodeURIComponent(n)+"="+encodeURIComponent(i);return(t||"")+o}function yy(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function KO(e){for(var t,n,r={},i=e.split("&");t=i.shift();)t=t.split("="),n=t.shift(),r[n]!==void 0?r[n]=[].concat(r[n],yy(t.shift())):r[n]=yy(t.shift());return r}const ZO=["children","location","__experimental__snapshot"],JO=["location","__experimental__snapshot"],e8=["basepath","routes"],vb=m.exports.createContext(null),mb=m.exports.createContext(null),gb=m.exports.createContext(null),yb=Boolean(typeof window!="undefined"&&window.document&&window.document.createElement),$h=yb?m.exports.useLayoutEffect:m.exports.useEffect,t8=()=>yb?qO():XO();class e0{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 n8 extends e0{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||t8(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:v8,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:h8,this.current=this.parseLocation(this.history.location),this.destroy=this.history.listen(i=>{this.current=this.parseLocation(i.location,this.current),this.notify()})}buildNext(t,n){var r,i,o,s;t===void 0&&(t="/"),n===void 0&&(n={});const a=ln({},this.current,n.from),l=p8(t,a.pathname,""+((r=n.to)!=null?r:".")),u=(i=n.__searchFilters)!=null&&i.length?n.__searchFilters.reduce((h,v)=>v(h),a.search):a.search,c=n.search===!0?u:n.search?(o=wy(n.search,u))!=null?o:{}:(s=n.__searchFilters)!=null&&s.length?u:{},f=Th(a.search,c),d=this.stringifySearch(f);let p=n.hash===!0?a.hash:wy(n.hash,a.hash);return p=p?"#"+p:"",{pathname:l,search:f,searchStr:d,hash:p,href:""+l+d+p,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 i=this.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:Th(n==null?void 0:n.search,i),hash:(r=t.hash.split("#").reverse()[0])!=null?r:"",href:""+t.pathname+t.search+t.hash,key:t.key}}}function _b(e){return m.exports.createElement(mb.Provider,e)}function r8(e){let{children:t,location:n,__experimental__snapshot:r}=e,i=Ah(e,ZO);const o=m.exports.useRef(null);o.current||(o.current=new o8({location:n,__experimental__snapshot:r,routes:i.routes}));const s=o.current,[a,l]=m.exports.useReducer(()=>({}),{});return s.update(i),$h(()=>s.subscribe(()=>{l()}),[]),$h(()=>s.updateLocation(n.current).unsubscribe,[n.current.key]),m.exports.createElement(vb.Provider,{value:{location:n}},m.exports.createElement(gb.Provider,{value:{router:s}},m.exports.createElement(i8,null),m.exports.createElement(_b,{value:[s.rootMatch,...s.state.matches]},t!=null?t:m.exports.createElement(t0,null))))}function i8(){const e=Oa(),t=Cb(),n=Sb();return $h(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class o8 extends e0{constructor(t){var n;let{location:r,__experimental__snapshot:i}=t,o=Ah(t,JO);super(),this.routesById={},this.update=a=>{let{basepath:l,routes:u}=a,c=Ah(a,e8);Object.assign(this,c),this.basepath=pf("/"+(l!=null?l:"")),this.routesById={};const f=(d,p)=>d.map(h=>{var v,x,y,_;const g=(v=h.path)!=null?v:"*",w=$o([(p==null?void 0:p.id)==="root"?"":p==null?void 0:p.id,""+(g==null?void 0:g.replace(/(.)\/$/,"$1"))+(h.id?"-"+h.id:"")]);if(h=ln({},h,{pendingMs:(x=h.pendingMs)!=null?x:c==null?void 0:c.defaultPendingMs,pendingMinMs:(y=h.pendingMinMs)!=null?y:c==null?void 0:c.defaultPendingMinMs,id:w}),this.routesById[w])throw new Error;return this.routesById[w]=h,h.children=(_=h.children)!=null&&_.length?f(h.children,h):void 0,h});this.routes=f(u),this.rootMatch={id:"root",params:{},search:{},pathname:this.basepath,route:null,ownData:{},data:{},isLoading:!1,status:"resolved"}},this.setState=a=>{const l=a({state:this.state,pending:this.pending});this.state=l.state,this.pending=l.pending,this.cleanMatchCache(),this.notify()},this.matchCache={},this.cleanMatchCache=()=>{var a,l,u;const c=[...(a=this==null?void 0:this.state.matches)!=null?a:[],...(l=this==null||(u=this.pending)==null?void 0:u.matches)!=null?l:[]].map(f=>f.id);Object.values(this.matchCache).forEach(f=>{var d;if(!f.updatedAt||c.includes(f.id))return;const p=Date.now()-((d=f.updatedAt)!=null?d:0);(!f.maxAge||p>f.maxAge)&&(f.route.unloader&&f.route.unloader(f),delete this.matchCache[f.id])})},this.updateLocation=a=>{let l;return{promise:new Promise(c=>{const f=new _y(this,a);this.setState(d=>ln({},d,{pending:{location:f.location,matches:f.matches}})),l=f.subscribe(()=>{const d=this.state.matches;d.filter(p=>!f.matches.find(h=>h.id===p.id)).forEach(p=>{p.onExit==null||p.onExit(p)}),d.filter(p=>f.matches.find(h=>h.id===p.id)).forEach(p=>{p.route.onTransition==null||p.route.onTransition(p)}),f.matches.filter(p=>!d.find(h=>h.id===p.id)).forEach(p=>{p.onExit=p.route.onMatch==null?void 0:p.route.onMatch(p)}),this.setState(p=>ln({},p,{state:{location:f.location,matches:f.matches},pending:void 0})),c()}),f.loadData(),f.startPending()}),unsubscribe:l}},this.__experimental__createSnapshot=()=>({location:this.state.location,matches:this.state.matches.map(a=>{let{ownData:l,id:u}=a;return{id:u,ownData:l}})}),this.update(o);let s=[];if(i){const a=new _y(this,r.current);a.matches.forEach((l,u)=>{var c,f,d;if(l.id!==((c=i.matches[u])==null?void 0:c.id)){var p;throw new Error("Router hydration mismatch: "+l.id+" !== "+((p=i.matches[u])==null?void 0:p.id))}l.ownData=(f=(d=i.matches[u])==null?void 0:d.ownData)!=null?f:{}}),xb(a.matches),s=a.matches}this.state={location:(n=i==null?void 0:i.location)!=null?n:r.current,matches:s},r.subscribe(()=>this.notify())}}function Oa(){const e=m.exports.useContext(vb);return Ab(!!e,"useLocation must be used within a <ReactLocation />"),e.location}class s8{constructor(t){this.status="loading",this.ownData={},this.data={},this.isLoading=!1,this.notify=n=>{var r;(r=this.matchLoader)==null||r.preNotify(n?this:void 0)},this.assignMatchLoader=n=>{this.matchLoader=n},this.startPending=()=>{this.pendingTimeout&&clearTimeout(this.pendingTimeout),this.route.pendingMs!==void 0&&(this.pendingTimeout=setTimeout(()=>{var n;this.status==="loading"&&(this.status="pending"),(n=this.notify)==null||n.call(this),typeof this.route.pendingMinMs!="undefined"&&(this.pendingMinPromise=new Promise(r=>setTimeout(r,this.route.pendingMinMs)))},this.route.pendingMs))},this.load=n=>{var r,i;if(this.maxAge=(r=(i=n.maxAge)!=null?i:this.route.loaderMaxAge)!=null?r:n.router.defaultLoaderMaxAge,this.loaderPromise)return;const o=this.route.import;this.loaderPromise=(o?(()=>(this.isLoading=!0,o({params:this.params,search:this.search}).then(s=>{this.route=ln({},this.route,s)})))():Promise.resolve()).then(()=>{const s=[];["element","errorElement","pendingElement"].forEach(c=>{const f=this.route[c];this[c]||(typeof f=="function"?(this.isLoading=!0,s.push(f(this).then(d=>{this[c]=d}))):this[c]=this.route[c])});const l=this.route.loader,u=l?new Promise(async c=>{this.isLoading=!0;const f=h=>{this.updatedAt=Date.now(),c(this.ownData),this.status=h},d=h=>{this.ownData=h,this.error=void 0,f("resolved")},p=h=>{console.error(h),this.error=h,f("rejected")};try{d(await l(this,{parentMatch:n.parentMatch,dispatch:async h=>{var v;h.type==="resolve"?d(h.data):h.type==="reject"?p(h.error):h.type==="loading"?this.isLoading=!0:h.type==="maxAge"&&(this.maxAge=h.maxAge),this.updatedAt=Date.now(),(v=this.notify)==null||v.call(this,!0)}}))}catch(h){p(h)}}):Promise.resolve();return Promise.all([...s,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 _y extends e0{constructor(t,n){var r;super(),r=this,this.preNotifiedMatches=[],this.status="pending",this.preNotify=o=>{o&&(this.preNotifiedMatches.includes(o)||this.preNotifiedMatches.push(o)),(!o||this.preNotifiedMatches.length===this.matches.length)&&(this.status="resolved",xb(this.matches),this.notify())},this.loadData=async function(o){var s;let{maxAge:a}=o===void 0?{}:o;if(r.router.cleanMatchCache(),!((s=r.matches)!=null&&s.length)){r.preNotify();return}return r.firstRenderPromises=[],r.matches.forEach((l,u)=>{var c,f;const d=(c=r.matches)==null?void 0:c[u-1];l.assignMatchLoader==null||l.assignMatchLoader(r),l.load==null||l.load({maxAge:a,parentMatch:d,router:r.router}),(f=r.firstRenderPromises)==null||f.push(l.loaderPromise)}),await Promise.all(r.firstRenderPromises).then(()=>(r.preNotify(),r.matches))},this.load=async function(o){let{maxAge:s}=o===void 0?{}:o;return await r.loadData({maxAge:s})},this.startPending=async()=>{this.matches.forEach(o=>o.startPending==null?void 0:o.startPending())},this.router=t,this.location=n,this.matches=[];const i=Eb(this.router,this.location);this.matches=i==null?void 0:i.map(o=>(this.router.matchCache[o.id]||(this.router.matchCache[o.id]=new s8(o)),this.router.matchCache[o.id]))}}function xb(e){e==null||e.forEach((t,n)=>{var r;const i=e==null?void 0:e[n-1];t.data=ln({},(r=i==null?void 0:i.data)!=null?r:{},t.ownData)})}function wb(){const e=m.exports.useContext(gb);if(!e)throw Ab(!0,"You are trying to use useRouter() outside of ReactLocation!"),new Error;return e.router}function Eb(e,t){if(!e.routes.length)return[];const n=[],r=async(i,o)=>{var s;let{pathname:a,params:l}=o;const c=(e!=null&&e.filterRoutes?e==null?void 0:e.filterRoutes(i):i).find(h=>{var v,x;const y=$o([a,h.path]),_=!!(h.path!=="/"||(v=h.children)!=null&&v.length),g=u8(t,{to:y,search:h.search,fuzzy:_,caseSensitive:(x=h.caseSensitive)!=null?x:e.caseSensitive});return g&&(l=ln({},l,g)),!!g});if(!c)return;const f=xy(c.path,l);a=$o([a,f]);const p={id:xy(c.id,l,!0),route:c,params:l,pathname:a,search:t.search};n.push(p),(s=c.children)!=null&&s.length&&r(c.children,p)};return r(e.routes,e.rootMatch),n}function xy(e,t,n){const r=ca(e);return $o(r.map(i=>{if(i.value==="*"&&!n)return"";if(i.type==="param"){var o;return(o=t[i.value.substring(1)])!=null?o:""}return i.value}))}function bb(){return m.exports.useContext(mb)}function a8(){var e;return(e=bb())==null?void 0:e[0]}function Sb(){const e=Oa(),t=a8(),n=Cb();function r(i){var o;let{search:s,hash:a,replace:l,from:u,to:c,fromCurrent:f}=i;f=(o=f)!=null?o:typeof c=="undefined";const d=n({to:c,search:s,hash:a,from:f?e.current:u!=null?u:{pathname:t.pathname}});e.navigate(d,l)}return $b(r)}function Cb(){const e=Oa(),t=wb();return $b(r=>{const i=e.buildNext(t.basepath,r),s=Eb(t,i).map(a=>{var l;return(l=a.route.searchFilters)!=null?l:[]}).flat().filter(Boolean);return e.buildNext(t.basepath,ln({},r,{__searchFilters:s}))})}function t0(){var e;const t=wb(),[n,...r]=bb(),i=r[0];if(!i)return null;const o=(e=i.errorElement)!=null?e:t.defaultErrorElement,s=(()=>{var a,l;if(i.status==="rejected"){if(o)return o;if(!t.useErrorBoundary)return"An unknown error occured!";throw i.error}const u=(a=i.pendingElement)!=null?a:t.defaultPendingElement;if(i.status==="loading")return null;if(i.status==="pending"&&(i.route.pendingMs||u))return u!=null?u:null;const c=(l=i.element)!=null?l:t.defaultElement;return c!=null?c:m.exports.createElement(t0,null)})();return m.exports.createElement(_b,{value:r},s)}function l8(){return Oa().current.search}function u8(e,t){const n=f8(e,t),r=d8(e,t);if(!(t.to&&!n)&&!(t.search&&!r))return n!=null?n:{}}function Ab(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch{}}}function c8(e){return typeof e=="function"}function wy(e,t){return c8(e)?e(t):e}function $o(e){return pf(e.filter(Boolean).join("/"))}function pf(e){return(""+e).replace(/\/{2,}/g,"/")}function f8(e,t){var n;const r=ca(e.pathname),i=ca(""+((n=t.to)!=null?n:"*")),o={};return(()=>{for(let a=0;a<Math.max(r.length,i.length);a++){const l=r[a],u=i[a],c=a===i.length-1,f=a===r.length-1;if(u){if(u.type==="wildcard")return l!=null&&l.value?(o["*"]=$o(r.slice(a).map(d=>d.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"&&(o[u.value.substring(1)]=l.value)}if(c&&!f)return!!t.fuzzy}return!0})()?o:void 0}function d8(e,t){return!!(t.search&&t.search(e.search))}function ca(e){if(!e)return[];e=pf(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 p8(e,t,n){t=t.replace(new RegExp("^"+e),"/"),n=n.replace(new RegExp("^"+e),"/");let r=ca(t);const i=ca(n);i.forEach((s,a)=>{if(s.value==="/")a?a===i.length-1&&r.push(s):r=[s];else if(s.value==="..")r.pop();else{if(s.value===".")return;r.push(s)}});const o=$o([e,...r.map(s=>s.value)]);return pf(o)}function $b(e){const t=m.exports.useRef(),n=m.exports.useRef(e);return n.current=e,t.current||(t.current=function(){return n.current(...arguments)}),t.current}function Th(e,t){if(e===t)return e;const n=Array.isArray(e)&&Array.isArray(t);if(n||Ey(e)&&Ey(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,s=n?[]:{};let a=0;for(let l=0;l<o;l++){const u=n?l:i[l];s[u]=Th(e[u],t[u]),s[u]===e[u]&&a++}return r===o&&a===r?e:s}return t}function Ey(e){if(!by(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!by(n)||!n.hasOwnProperty("isPrototypeOf"))}function by(e){return Object.prototype.toString.call(e)==="[object Object]"}const h8=m8(JSON.parse),v8=g8(JSON.stringify);function m8(e){return t=>{t.substring(0,1)==="?"&&(t=t.substring(1));let n=KO(t);for(let r in n){const i=n[r];if(typeof i=="string")try{n[r]=e(i)}catch{}}return n}}function g8(e){return t=>{t=ln({},t),t&&Object.keys(t).forEach(r=>{const i=t[r];if(typeof i=="undefined"||i===void 0)delete t[r];else if(i&&typeof i=="object"&&i!==null)try{t[r]=e(i)}catch{}});const n=QO(t).toString();return n?"?"+n:""}}function Rh(e,t){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Rh(e,t)}function y8(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Rh(e,t)}var _8=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,i){return!Object.is(r,n[i])})},Sy={error:null},x8=function(e){y8(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=e.call.apply(e,[this].concat(o))||this,r.state=Sy,r.resetErrorBoundary=function(){for(var a,l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];r.props.onReset==null||(a=r.props).onReset.apply(a,u),r.reset()},r}t.getDerivedStateFromError=function(i){return{error:i}};var n=t.prototype;return n.reset=function(){this.setState(Sy)},n.componentDidCatch=function(i,o){var s,a;(s=(a=this.props).onError)==null||s.call(a,i,o)},n.componentDidUpdate=function(i,o){var s=this.state.error,a=this.props.resetKeys;if(s!==null&&o.error!==null&&_8(i.resetKeys,a)){var l,u;(l=(u=this.props).onResetKeysChange)==null||l.call(u,i.resetKeys,a),this.reset()}},n.render=function(){var i=this.state.error,o=this.props,s=o.fallbackRender,a=o.FallbackComponent,l=o.fallback;if(i!==null){var u={error:i,resetErrorBoundary:this.resetErrorBoundary};if(m.exports.isValidElement(l))return l;if(typeof s=="function")return s(u);if(a)return m.exports.createElement(a,u);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(m.exports.Component),Tb={exports:{}},Rb={};/**
|
|
293
|
+
* @license React
|
|
294
|
+
* use-sync-external-store-shim.production.min.js
|
|
295
|
+
*
|
|
296
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
297
|
+
*
|
|
298
|
+
* This source code is licensed under the MIT license found in the
|
|
299
|
+
* LICENSE file in the root directory of this source tree.
|
|
300
|
+
*/var To=m.exports;function w8(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var E8=typeof Object.is=="function"?Object.is:w8,b8=To.useState,S8=To.useEffect,C8=To.useLayoutEffect,A8=To.useDebugValue;function $8(e,t){var n=t(),r=b8({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return C8(function(){i.value=n,i.getSnapshot=t,Nd(i)&&o({inst:i})},[e,n,t]),S8(function(){return Nd(i)&&o({inst:i}),e(function(){Nd(i)&&o({inst:i})})},[e]),A8(n),n}function Nd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!E8(e,n)}catch{return!0}}function T8(e,t){return t()}var R8=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?T8:$8;Rb.useSyncExternalStore=To.useSyncExternalStore!==void 0?To.useSyncExternalStore:R8;Tb.exports=Rb;/**
|
|
301
|
+
* react-query
|
|
302
|
+
*
|
|
303
|
+
* Copyright (c) TanStack
|
|
304
|
+
*
|
|
305
|
+
* This source code is licensed under the MIT license found in the
|
|
306
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
307
|
+
*
|
|
308
|
+
* @license MIT
|
|
309
|
+
*//**
|
|
310
|
+
* query-core
|
|
311
|
+
*
|
|
312
|
+
* Copyright (c) TanStack
|
|
313
|
+
*
|
|
314
|
+
* This source code is licensed under the MIT license found in the
|
|
315
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
316
|
+
*
|
|
317
|
+
* @license MIT
|
|
318
|
+
*/class ka{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 fa=typeof window=="undefined";function It(){}function P8(e,t){return typeof e=="function"?e(t):e}function Ph(e){return typeof e=="number"&&e>=0&&e!==1/0}function Pb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Zl(e,t,n){return hf(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function or(e,t,n){return hf(e)?[{...t,queryKey:e},n]:[e||{},t]}function Cy(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(hf(s)){if(r){if(t.queryHash!==n0(s,t.options))return!1}else if(!Qu(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||typeof i!="undefined"&&i!==t.state.fetchStatus||o&&!o(t))}function Ay(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(hf(o)){if(!t.options.mutationKey)return!1;if(n){if(ti(t.options.mutationKey)!==ti(o))return!1}else if(!Qu(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function n0(e,t){return((t==null?void 0:t.queryKeyHashFn)||ti)(e)}function ti(e){return JSON.stringify(e,(t,n)=>Oh(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Qu(e,t){return Ob(e,t)}function Ob(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Ob(e[n],t[n])):!1}function kb(e,t){if(e===t)return e;const n=Ty(e)&&Ty(t);if(n||Oh(e)&&Oh(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,s=n?[]:{};let a=0;for(let l=0;l<o;l++){const u=n?l:i[l];s[u]=kb(e[u],t[u]),s[u]===e[u]&&a++}return r===o&&a===r?e:s}return t}function $y(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ty(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Oh(e){if(!Ry(e))return!1;const t=e.constructor;if(typeof t=="undefined")return!0;const n=t.prototype;return!(!Ry(n)||!n.hasOwnProperty("isPrototypeOf"))}function Ry(e){return Object.prototype.toString.call(e)==="[object Object]"}function hf(e){return Array.isArray(e)}function Nb(e){return new Promise(t=>{setTimeout(t,e)})}function Py(e){Nb(0).then(e)}function O8(){if(typeof AbortController=="function")return new AbortController}function kh(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?kb(e,t):t}class k8 extends ka{constructor(){super(),this.setup=t=>{if(!fa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document=="undefined"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Ku=new k8;class N8 extends ka{constructor(){super(),this.setup=t=>{if(!fa&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setOnline(r):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator=="undefined"||typeof navigator.onLine=="undefined"?!0:navigator.onLine}}const Zu=new N8;function D8(e){return Math.min(1e3*2**e,3e4)}function vf(e){return(e!=null?e:"online")==="online"?Zu.isOnline():!0}class Db{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function Jl(e){return e instanceof Db}function Mb(e){let t=!1,n=0,r=!1,i,o,s;const a=new Promise((x,y)=>{o=x,s=y}),l=x=>{r||(p(new Db(x)),e.abort==null||e.abort())},u=()=>{t=!0},c=()=>{t=!1},f=()=>!Ku.isFocused()||e.networkMode!=="always"&&!Zu.isOnline(),d=x=>{r||(r=!0,e.onSuccess==null||e.onSuccess(x),i==null||i(),o(x))},p=x=>{r||(r=!0,e.onError==null||e.onError(x),i==null||i(),s(x))},h=()=>new Promise(x=>{i=y=>{if(r||!f())return x(y)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,r||e.onContinue==null||e.onContinue()}),v=()=>{if(r)return;let x;try{x=e.fn()}catch(y){x=Promise.reject(y)}Promise.resolve(x).then(d).catch(y=>{var _,g;if(r)return;const w=(_=e.retry)!=null?_:3,E=(g=e.retryDelay)!=null?g:D8,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){p(y);return}n++,e.onFail==null||e.onFail(n,y),Nb(b).then(()=>{if(f())return h()}).then(()=>{t?p(y):v()})})};return vf(e.networkMode)?v():h().then(v),{promise:a,cancel:l,continue:()=>{i==null||i()},cancelRetry:u,continueRetry:c}}const r0=console;function M8(){let e=[],t=0,n=c=>{c()},r=c=>{c()};const i=c=>{let f;t++;try{f=c()}finally{t--,t||a()}return f},o=c=>{t?e.push(c):Py(()=>{n(c)})},s=c=>(...f)=>{o(()=>{c(...f)})},a=()=>{const c=e;e=[],c.length&&Py(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:i,batchCalls:s,schedule:o,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c}}}const Ue=M8();class Lb{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ph(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t!=null?t:fa?1/0:5*60*1e3)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class L8 extends Lb{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||r0,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||F8(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=kh(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(It).catch(It):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||!Pb(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,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&n!=null&&n.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var o;return(o=this.retryer)==null||o.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(h=>h.options.queryFn);p&&this.setOptions(p.options)}Array.isArray(this.options.queryKey);const s=O8(),a={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>{if(s)return this.abortSignalConsumed=!0,s.signal}})};l(a);const u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(a)):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!==((i=c.fetchOptions)==null?void 0:i.meta)){var f;this.dispatch({type:"fetch",meta:(f=c.fetchOptions)==null?void 0:f.meta})}const d=p=>{if(Jl(p)&&p.silent||this.dispatch({type:"error",error:p}),!Jl(p)){var h,v;(h=(v=this.cache.config).onError)==null||h.call(v,p,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Mb({fn:c.fetchFn,abort:s==null?void 0:s.abort.bind(s),onSuccess:p=>{var h,v;if(typeof p=="undefined"){d(new Error("Query data cannot be undefined"));return}this.setData(p),(h=(v=this.cache.config).onSuccess)==null||h.call(v,p,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,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 i,o;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:(i=t.meta)!=null?i:null,fetchStatus:vf(this.options.networkMode)?"fetching":"paused",...!r.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0}};case"error":const s=t.error;return Jl(s)&&s.revert&&this.revertState?{...this.revertState}:{...r,error:s,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),Ue.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function F8(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof e.initialData!="undefined"?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,i=typeof t!="undefined";return{data:t,dataUpdateCount:0,dataUpdatedAt:i?r!=null?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}class I8 extends ka{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,n,r){var i;const o=n.queryKey,s=(i=n.queryHash)!=null?i:n0(o,n);let a=this.get(s);return a||(a=new L8({cache:this,logger:t.getLogger(),queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o),meta:n.meta}),this.add(a)),a}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(){Ue.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,n){const[r]=or(t,n);return typeof r.exact=="undefined"&&(r.exact=!0),this.queries.find(i=>Cy(r,i))}findAll(t,n){const[r]=or(t,n);return Object.keys(r).length>0?this.queries.filter(i=>Cy(r,i)):this.queries}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ue.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Ue.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class B8 extends Lb{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||r0,this.observers=[],this.state=t.state||U8(),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 g;return this.retryer=Mb({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:(g=this.options.retry)!=null?g:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},n=this.state.status==="loading";try{var r,i,o,s,a,l;if(!n){var u,c,f,d;this.dispatch({type:"loading",variables:this.options.variables}),(u=(c=this.mutationCache.config).onMutate)==null||u.call(c,this.state.variables,this);const w=await((f=(d=this.options).onMutate)==null?void 0:f.call(d,this.state.variables));w!==this.state.context&&this.dispatch({type:"loading",context:w,variables:this.state.variables})}const g=await t();return(r=(i=this.mutationCache.config).onSuccess)==null||r.call(i,g,this.state.variables,this.state.context,this),await((o=(s=this.options).onSuccess)==null?void 0:o.call(s,g,this.state.variables,this.state.context)),await((a=(l=this.options).onSettled)==null?void 0:a.call(l,g,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:g}),g}catch(g){try{var p,h,v,x,y,_;throw(p=(h=this.mutationCache.config).onError)==null||p.call(h,g,this.state.variables,this.state.context,this),await((v=(x=this.options).onError)==null?void 0:v.call(x,g,this.state.variables,this.state.context)),await((y=(_=this.options).onSettled)==null?void 0:y.call(_,void 0,g,this.state.variables,this.state.context)),g}finally{this.dispatch({type:"error",error:g})}}}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:!vf(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),Ue.batch(()=>{this.observers.forEach(r=>{r.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function U8(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}class V8 extends ka{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,n,r){const i=new B8({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(i),i}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(){Ue.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact=="undefined"&&(t.exact=!0),this.mutations.find(n=>Ay(t,n))}findAll(t){return this.mutations.filter(n=>Ay(t,n))}notify(t){Ue.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.mutations.filter(n=>n.state.isPaused);return Ue.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(It)),Promise.resolve()))}}function j8(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,i,o,s;const a=(t=e.fetchOptions)==null||(n=t.meta)==null?void 0:n.refetchPage,l=(r=e.fetchOptions)==null||(i=r.meta)==null?void 0:i.fetchMore,u=l==null?void 0:l.pageParam,c=(l==null?void 0:l.direction)==="forward",f=(l==null?void 0:l.direction)==="backward",d=((o=e.state.data)==null?void 0:o.pages)||[],p=((s=e.state.data)==null?void 0:s.pageParams)||[];let h=p,v=!1;const x=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>{var S;if((S=e.signal)!=null&&S.aborted)v=!0;else{var C;(C=e.signal)==null||C.addEventListener("abort",()=>{v=!0})}return e.signal}})},y=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),_=(b,S,C,$)=>(h=$?[S,...h]:[...h,S],$?[C,...b]:[...b,C]),g=(b,S,C,$)=>{if(v)return Promise.reject("Cancelled");if(typeof C=="undefined"&&!S&&b.length)return Promise.resolve(b);const P={queryKey:e.queryKey,pageParam:C,meta:e.meta};x(P);const j=y(P);return Promise.resolve(j).then(H=>_(b,C,H,$))};let w;if(!d.length)w=g([]);else if(c){const b=typeof u!="undefined",S=b?u:Oy(e.options,d);w=g(d,b,S)}else if(f){const b=typeof u!="undefined",S=b?u:z8(e.options,d);w=g(d,b,S,!0)}else{h=[];const b=typeof e.options.getNextPageParam=="undefined";w=(a&&d[0]?a(d[0],0,d):!0)?g([],b,p[0]):Promise.resolve(_([],p[0],d[0]));for(let C=1;C<d.length;C++)w=w.then($=>{if(a&&d[C]?a(d[C],C,d):!0){const j=b?p[C]:Oy(e.options,$);return g($,b,j)}return Promise.resolve(_($,p[C],d[C]))})}return w.then(b=>({pages:b,pageParams:h}))}}}}function Oy(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function z8(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class H8{constructor(t={}){this.queryCache=t.queryCache||new I8,this.mutationCache=t.mutationCache||new V8,this.logger=t.logger||r0,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=Ku.subscribe(()=>{Ku.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Zu.subscribe(()=>{Zu.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]=or(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 i=r.data;return[n,i]})}setQueryData(t,n,r){const i=this.queryCache.find(t),o=i==null?void 0:i.state.data,s=P8(n,o);if(typeof s=="undefined")return;const a=Zl(t),l=this.defaultQueryOptions(a);return this.queryCache.build(this,l).setData(s,{...r,manual:!0})}setQueriesData(t,n,r){return Ue.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,n,r)]))}getQueryState(t,n){var r;return(r=this.queryCache.find(t,n))==null?void 0:r.state}removeQueries(t,n){const[r]=or(t,n),i=this.queryCache;Ue.batch(()=>{i.findAll(r).forEach(o=>{i.remove(o)})})}resetQueries(t,n,r){const[i,o]=or(t,n,r),s=this.queryCache,a={type:"active",...i};return Ue.batch(()=>(s.findAll(i).forEach(l=>{l.reset()}),this.refetchQueries(a,o)))}cancelQueries(t,n,r){const[i,o={}]=or(t,n,r);typeof o.revert=="undefined"&&(o.revert=!0);const s=Ue.batch(()=>this.queryCache.findAll(i).map(a=>a.cancel(o)));return Promise.all(s).then(It).catch(It)}invalidateQueries(t,n,r){const[i,o]=or(t,n,r);return Ue.batch(()=>{var s,a;if(this.queryCache.findAll(i).forEach(u=>{u.invalidate()}),i.refetchType==="none")return Promise.resolve();const l={...i,type:(s=(a=i.refetchType)!=null?a:i.type)!=null?s:"active"};return this.refetchQueries(l,o)})}refetchQueries(t,n,r){const[i,o]=or(t,n,r),s=Ue.batch(()=>this.queryCache.findAll(i).filter(l=>!l.isDisabled()).map(l=>{var u;return l.fetch(void 0,{...o,cancelRefetch:(u=o==null?void 0:o.cancelRefetch)!=null?u:!0,meta:{refetchPage:i.refetchPage}})}));let a=Promise.all(s).then(It);return o!=null&&o.throwOnError||(a=a.catch(It)),a}fetchQuery(t,n,r){const i=Zl(t,n,r),o=this.defaultQueryOptions(i);typeof o.retry=="undefined"&&(o.retry=!1);const s=this.queryCache.build(this,o);return s.isStaleByTime(o.staleTime)?s.fetch(o):Promise.resolve(s.state.data)}prefetchQuery(t,n,r){return this.fetchQuery(t,n,r).then(It).catch(It)}fetchInfiniteQuery(t,n,r){const i=Zl(t,n,r);return i.behavior=j8(),this.fetchQuery(i)}prefetchInfiniteQuery(t,n,r){return this.fetchInfiniteQuery(t,n,r).then(It).catch(It)}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(i=>ti(t)===ti(i.queryKey));r?r.defaultOptions=n:this.queryDefaults.push({queryKey:t,defaultOptions:n})}getQueryDefaults(t){if(!t)return;const n=this.queryDefaults.find(r=>Qu(t,r.queryKey));return n==null?void 0:n.defaultOptions}setMutationDefaults(t,n){const r=this.mutationDefaults.find(i=>ti(t)===ti(i.mutationKey));r?r.defaultOptions=n:this.mutationDefaults.push({mutationKey:t,defaultOptions:n})}getMutationDefaults(t){if(!t)return;const n=this.mutationDefaults.find(r=>Qu(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=n0(n.queryKey,n)),typeof n.refetchOnReconnect=="undefined"&&(n.refetchOnReconnect=n.networkMode!=="always"),typeof n.useErrorBoundary=="undefined"&&(n.useErrorBoundary=!!n.suspense),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class G8 extends ka{constructor(t,n){super(),this.client=t,this.options=n,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(n)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),ky(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return Nh(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Nh(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,n){const r=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),$y(r,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled!="undefined"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=r.queryKey),this.updateQuery();const o=this.hasListeners();o&&Ny(this.currentQuery,i,this.options,r)&&this.executeFetch(),this.updateResult(n),o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&this.updateStaleTimeout();const s=this.computeRefetchInterval();o&&(this.currentQuery!==i||this.options.enabled!==r.enabled||s!==this.currentRefetchInterval)&&this.updateRefetchInterval(s)}getOptimisticResult(t){const n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)}getCurrentResult(){return this.currentResult}trackResult(t){const n={};return Object.keys(t).forEach(r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(r),t[r])})}),n}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...n}={}){return this.fetch({...n,meta:{refetchPage:t}})}fetchOptimistic(t){const n=this.client.defaultQueryOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){var n;return this.executeFetch({...t,cancelRefetch:(n=t.cancelRefetch)!=null?n:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let n=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(It)),n}updateStaleTimeout(){if(this.clearStaleTimeout(),fa||this.currentResult.isStale||!Ph(this.options.staleTime))return;const n=Pb(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},n)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(fa||this.options.enabled===!1||!Ph(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||Ku.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,n){const r=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,a=this.currentResultOptions,l=t!==r,u=l?t.state:this.currentQueryInitialState,c=l?this.currentResult:this.previousQueryResult,{state:f}=t;let{dataUpdatedAt:d,error:p,errorUpdatedAt:h,fetchStatus:v,status:x}=f,y=!1,_=!1,g;if(n._optimisticResults){const b=this.hasListeners(),S=!b&&ky(t,n),C=b&&Ny(t,r,n,i);(S||C)&&(v=vf(t.options.networkMode)?"fetching":"paused",d||(x="loading")),n._optimisticResults==="isRestoring"&&(v="idle")}if(n.keepPreviousData&&!f.dataUpdateCount&&c!=null&&c.isSuccess&&x!=="error")g=c.data,d=c.dataUpdatedAt,x=c.status,y=!0;else if(n.select&&typeof f.data!="undefined")if(o&&f.data===(s==null?void 0:s.data)&&n.select===this.selectFn)g=this.selectResult;else try{this.selectFn=n.select,g=n.select(f.data),g=kh(o==null?void 0:o.data,g,n),this.selectResult=g,this.selectError=null}catch(b){this.selectError=b}else g=f.data;if(typeof n.placeholderData!="undefined"&&typeof g=="undefined"&&x==="loading"){let b;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))b=o.data;else if(b=typeof n.placeholderData=="function"?n.placeholderData():n.placeholderData,n.select&&typeof b!="undefined")try{b=n.select(b),b=kh(o==null?void 0:o.data,b,n),this.selectError=null}catch(S){this.selectError=S}typeof b!="undefined"&&(x="success",g=b,_=!0)}this.selectError&&(p=this.selectError,g=this.selectResult,h=Date.now(),x="error");const w=v==="fetching";return{status:x,fetchStatus:v,isLoading:x==="loading",isSuccess:x==="success",isError:x==="error",data:g,dataUpdatedAt:d,error:p,errorUpdatedAt:h,failureCount:f.fetchFailureCount,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:w,isRefetching:w&&x!=="loading",isLoadingError:x==="error"&&f.dataUpdatedAt===0,isPaused:v==="paused",isPlaceholderData:_,isPreviousData:y,isRefetchError:x==="error"&&f.dataUpdatedAt!==0,isStale:i0(t,n),refetch:this.refetch,remove:this.remove}}updateResult(t){const n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,$y(r,n))return;this.currentResult=r;const i={cache:!0},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options;if(s==="all"||!s&&!this.trackedProps.size)return!0;const a=new Set(s!=null?s:this.trackedProps);return this.options.useErrorBoundary&&a.add("error"),Object.keys(this.currentResult).some(l=>{const u=l;return this.currentResult[u]!==n[u]&&a.has(u)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const n=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const n={};t.type==="success"?n.onSuccess=!t.manual:t.type==="error"&&!Jl(t.error)&&(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()}notify(t){Ue.batch(()=>{if(t.onSuccess){var n,r,i,o;(n=(r=this.options).onSuccess)==null||n.call(r,this.currentResult.data),(i=(o=this.options).onSettled)==null||i.call(o,this.currentResult.data,null)}else if(t.onError){var s,a,l,u;(s=(a=this.options).onError)==null||s.call(a,this.currentResult.error),(l=(u=this.options).onSettled)==null||l.call(u,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(c=>{c(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function Y8(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function ky(e,t){return Y8(e,t)||e.state.dataUpdatedAt>0&&Nh(e,t,t.refetchOnMount)}function Nh(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&i0(e,t)}return!1}function Ny(e,t,n,r){return n.enabled!==!1&&(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&i0(e,n)}function i0(e,t){return e.isStaleByTime(t.staleTime)}const Dy=m.exports.createContext(void 0),Fb=m.exports.createContext(!1);function Ib(e,t){return e||(t&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Dy),window.ReactQueryClientContext):Dy)}const W8=({context:e}={})=>{const t=m.exports.useContext(Ib(e,m.exports.useContext(Fb)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},q8=({client:e,children:t,context:n,contextSharing:r=!1})=>{m.exports.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=Ib(n,r);return m.exports.createElement(Fb.Provider,{value:!n&&r},m.exports.createElement(i.Provider,{value:e},t))},Bb=m.exports.createContext(!1),X8=()=>m.exports.useContext(Bb);Bb.Provider;function Q8(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const K8=m.exports.createContext(Q8()),Z8=()=>m.exports.useContext(K8);function J8(e,t){return typeof e=="function"?e(...t):!!e}function e7(e,t){const n=W8({context:e.context}),r=X8(),i=Z8(),o=n.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=Ue.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=Ue.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=Ue.batchCalls(o.onSettled)),o.suspense&&typeof o.staleTime!="number"&&(o.staleTime=1e3),(o.suspense||o.useErrorBoundary)&&(i.isReset()||(o.retryOnMount=!1));const[s]=m.exports.useState(()=>new t(n,o)),a=s.getOptimisticResult(o);if(Tb.exports.useSyncExternalStore(m.exports.useCallback(l=>r?()=>{}:s.subscribe(Ue.batchCalls(l)),[s,r]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),m.exports.useEffect(()=>{i.clearReset()},[i]),m.exports.useEffect(()=>{s.setOptions(o,{listeners:!1})},[o,s]),o.suspense&&a.isLoading&&a.isFetching&&!r)throw s.fetchOptimistic(o).then(({data:l})=>{o.onSuccess==null||o.onSuccess(l),o.onSettled==null||o.onSettled(l,null)}).catch(l=>{i.clearReset(),o.onError==null||o.onError(l),o.onSettled==null||o.onSettled(void 0,l)});if(a.isError&&!i.isReset()&&!a.isFetching&&J8(o.useErrorBoundary,[a.error,s.getCurrentQuery()]))throw a.error;return o.notifyOnChangeProps?a:s.trackResult(a)}function dH(e,t,n){const r=Zl(e,t,n);return e7(r,G8)}const t7="modulepreload",My={},n7="/sdks-app/v1/",r7=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${n7}${r}`,r in My)return;My[r]=!0;const i=r.endsWith(".css"),o=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${o}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":t7,i||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),i)return new Promise((a,l)=>{s.addEventListener("load",a),s.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var Ub=(e=>(e.LOCAL_CONTENT="local-content",e.LOCAL_MAPS="local-maps",e))(Ub||{}),mf={exports:{}},gf={};/**
|
|
319
|
+
* @license React
|
|
320
|
+
* react-jsx-runtime.production.min.js
|
|
321
|
+
*
|
|
322
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
323
|
+
*
|
|
324
|
+
* This source code is licensed under the MIT license found in the
|
|
325
|
+
* LICENSE file in the root directory of this source tree.
|
|
326
|
+
*/var i7=m.exports,o7=Symbol.for("react.element"),s7=Symbol.for("react.fragment"),a7=Object.prototype.hasOwnProperty,l7=i7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u7={key:!0,ref:!0,__self:!0,__source:!0};function Vb(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)a7.call(t,r)&&!u7.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:o7,type:e,key:o,ref:s,props:i,_owner:l7.current}}gf.Fragment=s7;gf.jsx=Vb;gf.jsxs=Vb;mf.exports=gf;const R=mf.exports.jsx,je=mf.exports.jsxs,yf=mf.exports.Fragment,c7=new n8,f7=K.lazy(()=>r7(()=>import("./index.e4acce0a.js"),["assets/index.e4acce0a.js","assets/index.d3f78cf1.css"])),d7=({children:e})=>{const t=[{path:`*/${Ub.LOCAL_CONTENT}`,element:R(f7,{})}];return R(r8,{location:c7,routes:t,children:e})},p7="CONNECT",h7="DEFAULT";function v7(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jb={exports:{}};(function(e){var t=(()=>{var n=Object.defineProperty,r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,s=(x,y,_)=>y in x?n(x,y,{enumerable:!0,configurable:!0,writable:!0,value:_}):x[y]=_,a=(x,y)=>{for(var _ in y||(y={}))i.call(y,_)&&s(x,_,y[_]);if(r)for(var _ of r(y))o.call(y,_)&&s(x,_,y[_]);return x},l=x=>n(x,"__esModule",{value:!0}),u=(x,y)=>{l(x);for(var _ in y)n(x,_,{get:y[_],enumerable:!0})},c={};u(c,{DEFAULT_UUID_LENGTH:()=>d,default:()=>v});var f="4.4.4",d=6,p={dictionary:"alphanum",shuffle:!0,debug:!1,length:d},h=class extends Function{constructor(x={}){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!="undefined"&&console!==null)return console.log(...b)},this.setDictionary=(E,b)=>{let S;if(E&&Array.isArray(E)&&E.length>1)S=E;else{S=[];let C;this.dictIndex=C=0;const $=`_${E}_dict_ranges`,P=this[$];Object.keys(P).forEach(j=>{const U=j;for(this.dictRange=P[U],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||d)=>{let b,S,C;if(E===null||typeof E=="undefined"||E<1)throw new Error("Invalid UUID Length Provided");for(b="",C=0;C<E;C+=1)S=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,b+=this.dict[S];return b},this.availableUUIDs=(E=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,E).toFixed(0)),this.approxMaxBeforeCollision=(E=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*E).toFixed(20)),this.collisionProbability=(E=this.availableUUIDs(this.uuidLength),b=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(E)/this.availableUUIDs(b)).toFixed(20)),this.uniqueness=(E=this.availableUUIDs(this.uuidLength))=>{const b=parseFloat((1-this.approxMaxBeforeCollision(E)/E).toFixed(20));return b>1?1:b<0?0:b},this.getVersion=()=>this.version,this.stamp=E=>{if(typeof E!="number"||E<10)throw new Error("Param finalLength must be number greater than 10");const b=Math.floor(+new Date/1e3).toString(16),S=E-9,C=Math.round(Math.random()*(S>15?15:S)),$=this.randomUUID(S);return`${$.substr(0,C)}${b}${$.substr(C)}${C.toString(16)}`},this.parseStamp=E=>{if(E.length<10)throw new Error("Stamp length invalid");const b=parseInt(E.substr(E.length-1,1),16);return new Date(parseInt(E.substr(b,8),16)*1e3)};const y=a(a({},p),x);this.counter=0,this.debug=!1,this.dict=[],this.version=f;const{dictionary:_,shuffle:g,length:w}=y;return this.uuidLength=w,this.setDictionary(_,g),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)})}},v=h;return v.default=h,c})();e.exports=t.default,typeof window!="undefined"&&(t=t.default)})(jb);var m7=v7(jb.exports);const Ly=new m7({length:10});class o0{constructor(t,n){this.onMessageHandlers=[],this.message=(r,i,o)=>this.crossOrigin?this.postMessage(r,i,o):this.customEventMessage(r,i,o),this.channelId=t!=null?t:h7,this.channelNodeId=`channel-node-${Ly()}`,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 i=new CustomEvent(this.channelId,{detail:{eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n}});window.dispatchEvent(i)}postMessage(t,n,r){var i,o,s;(s=(i=this.crossOrigin)==null?void 0:i.window)==null||s.postMessage({eventId:r,channelId:this.channelId,channelNodeId:this.channelNodeId,name:t,data:n},(o=this.crossOrigin)==null?void 0:o.targetOrigin)}async eventRequest(t,n){const r=Ly();return new Promise(i=>{const o=s=>{const{eventId:a}=s;r===a&&(this.removeMessageHandler(o),i(s))};this.onMessage(o),this.message(t,n,r)})}async waitForEvent(t){return new Promise(n=>{const r=i=>{const{name:o}=i;t===o&&(this.removeMessageHandler(r),n(i))};this.onMessage(r)})}handleMessage(t){var n;let r;if(o0.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:i,channelNodeId:o}=r;this.channelId===i&&this.channelNodeId!==o&&this.onMessageHandlers.forEach(s=>{s(r)})}static isCustomEvent(t){return t.detail!==void 0}}class g7 extends o0{connect(){return window.addEventListener(this.crossOrigin?"message":this.channelId,this.boundMessageHandler),this.eventRequest(p7).then(t=>{this.resolveConnection(t)}),this.connection}}var y7="Expected a function",Fy=1/0,_7=17976931348623157e292,Iy=0/0,x7="[object Symbol]",w7=/^\s+|\s+$/g,E7=/^[-+]0x[0-9a-f]+$/i,b7=/^0b[01]+$/i,S7=/^0o[0-7]+$/i,C7=parseInt,A7=Object.prototype,$7=A7.toString;function T7(e,t){var n;if(typeof t!="function")throw new TypeError(y7);return e=N7(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}function R7(e){return T7(2,e)}function By(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function P7(e){return!!e&&typeof e=="object"}function O7(e){return typeof e=="symbol"||P7(e)&&$7.call(e)==x7}function k7(e){if(!e)return e===0?e:0;if(e=D7(e),e===Fy||e===-Fy){var t=e<0?-1:1;return t*_7}return e===e?e:0}function N7(e){var t=k7(e),n=t%1;return t===t?n?t-n:t:0}function D7(e){if(typeof e=="number")return e;if(O7(e))return Iy;if(By(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=By(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(w7,"");var n=b7.test(e);return n||S7.test(e)?C7(e.slice(2),n?2:8):E7.test(e)?Iy:+e}var M7=R7;const Dd=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function Dh(e,...t){if(!t.length)return e;const n=t.shift();return Dd(e)&&Dd(n)&&Object.keys(n).forEach(r=>{Dd(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Dh(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),Dh(e,...t)}const L7=e=>{const t=m.exports.useRef(e),n=m.exports.useRef(),r=m.exports.useRef(!1),i=m.exports.useRef(!1),[,o]=m.exports.useState(0);r.current&&(i.current=!0),m.exports.useEffect(()=>(r.current||(n.current=t.current(),r.current=!0),o(s=>s+1),()=>{!i.current||n.current&&n.current()}),[])},F7=(e,t)=>{const[n,r]=m.exports.useState(e);return m.exports.useEffect(()=>{const i=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(i)}},[e,t]),n};var ls=(e=>(e.GET_STATE="get-state",e.GET_STATE_RESPONSE="get-state-response",e.SET_STATE="set-state",e.ON_CHANGE="on-change",e))(ls||{});const I7={zoom:16,pitch:0,bearing:0,cooperativeGestures:!0},B7={"local-content":I7,"local-maps":{}},zb=M7(()=>K.createContext({})),U7=()=>{const e=K.useContext(zb());if(!e)throw new Error("useStateManagerContext must be used under StateManagerProvider");return e},Hb=K.memo(({children:e})=>{const t=zb(),n=l8(),r=K.useRef(n),o=Oa().current.pathname.split("/"),s=o[o.length-1],a={options:B7[s]},l=K.useRef(),[u,c]=m.exports.useState(!1),[f,d]=m.exports.useState(a),p=F7(f,500),h=Sb(),v=g=>{r.current=g,d(g)},x=g=>{var w;g.name===ls.GET_STATE&&((w=l.current)==null||w.message(ls.GET_STATE_RESPONSE,r.current,g.eventId)),g.name===ls.SET_STATE&&v(g.data)};L7(()=>{const g=new g7(n.channelId,{targetOrigin:document.referrer,window:window.parent});l.current=g,g==null||g.onMessage(x),g==null||g.connect().then(w=>{d(E=>{const b=Dh(E,w.data);return r.current=b,b}),c(!0)})});const y=g=>{var w;(w=l.current)==null||w.message(ls.ON_CHANGE,g)};m.exports.useEffect(()=>{h({search:()=>p})},[p]),m.exports.useEffect(()=>{f.options&&y({type:"options",data:f.options})},[f.options]);const _=m.exports.useMemo(()=>({sdkState:f,setSdkState:v,onChange:y}),[f,v,y]);return u?R(t.Provider,{value:_,children:e}):null});Hb.displayName="StateManagerProvider";var s0={exports:{}},Gb=function(t,n){return function(){for(var i=new Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];return t.apply(n,i)}},V7=Gb,Vr=Object.prototype.toString;function a0(e){return Array.isArray(e)}function Mh(e){return typeof e=="undefined"}function j7(e){return e!==null&&!Mh(e)&&e.constructor!==null&&!Mh(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Yb(e){return Vr.call(e)==="[object ArrayBuffer]"}function z7(e){return Vr.call(e)==="[object FormData]"}function H7(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Yb(e.buffer),t}function G7(e){return typeof e=="string"}function Y7(e){return typeof e=="number"}function Wb(e){return e!==null&&typeof e=="object"}function eu(e){if(Vr.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function W7(e){return Vr.call(e)==="[object Date]"}function q7(e){return Vr.call(e)==="[object File]"}function X7(e){return Vr.call(e)==="[object Blob]"}function qb(e){return Vr.call(e)==="[object Function]"}function Q7(e){return Wb(e)&&qb(e.pipe)}function K7(e){return Vr.call(e)==="[object URLSearchParams]"}function Z7(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function J7(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function l0(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),a0(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function Lh(){var e={};function t(i,o){eu(e[o])&&eu(i)?e[o]=Lh(e[o],i):eu(i)?e[o]=Lh({},i):a0(i)?e[o]=i.slice():e[o]=i}for(var n=0,r=arguments.length;n<r;n++)l0(arguments[n],t);return e}function ek(e,t,n){return l0(t,function(i,o){n&&typeof i=="function"?e[o]=V7(i,n):e[o]=i}),e}function tk(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var Ct={isArray:a0,isArrayBuffer:Yb,isBuffer:j7,isFormData:z7,isArrayBufferView:H7,isString:G7,isNumber:Y7,isObject:Wb,isPlainObject:eu,isUndefined:Mh,isDate:W7,isFile:q7,isBlob:X7,isFunction:qb,isStream:Q7,isURLSearchParams:K7,isStandardBrowserEnv:J7,forEach:l0,merge:Lh,extend:ek,trim:Z7,stripBOM:tk},Ri=Ct;function Uy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Xb=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if(Ri.isURLSearchParams(n))i=n.toString();else{var o=[];Ri.forEach(n,function(l,u){l===null||typeof l=="undefined"||(Ri.isArray(l)?u=u+"[]":l=[l],Ri.forEach(l,function(f){Ri.isDate(f)?f=f.toISOString():Ri.isObject(f)&&(f=JSON.stringify(f)),o.push(Uy(u)+"="+Uy(f))}))}),i=o.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},nk=Ct;function _f(){this.handlers=[]}_f.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};_f.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};_f.prototype.forEach=function(t){nk.forEach(this.handlers,function(r){r!==null&&t(r)})};var rk=_f,ik=Ct,ok=function(t,n){ik.forEach(t,function(i,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[o])})},Qb=function(t,n,r,i,o){return t.config=n,r&&(t.code=r),t.request=i,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},Kb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sk=Qb,Zb=function(t,n,r,i,o){var s=new Error(t);return sk(s,n,r,i,o)},ak=Zb,lk=function(t,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):n(ak("Request failed with status code "+r.status,r.config,null,r.request,r))},El=Ct,uk=El.isStandardBrowserEnv()?function(){return{write:function(n,r,i,o,s,a){var l=[];l.push(n+"="+encodeURIComponent(r)),El.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),El.isString(o)&&l.push("path="+o),El.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ck=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},fk=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},dk=ck,pk=fk,hk=function(t,n){return t&&!dk(n)?pk(t,n):n},Md=Ct,vk=["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"],mk=function(t){var n={},r,i,o;return t&&Md.forEach(t.split(`
|
|
327
|
+
`),function(a){if(o=a.indexOf(":"),r=Md.trim(a.substr(0,o)).toLowerCase(),i=Md.trim(a.substr(o+1)),r){if(n[r]&&vk.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n},Vy=Ct,gk=Vy.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(o){var s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{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=i(window.location.href),function(s){var a=Vy.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function u0(e){this.message=e}u0.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};u0.prototype.__CANCEL__=!0;var xf=u0,bl=Ct,yk=lk,_k=uk,xk=Xb,wk=hk,Ek=mk,bk=gk,Ld=Zb,Sk=Kb,Ck=xf,jy=function(t){return new Promise(function(r,i){var o=t.data,s=t.headers,a=t.responseType,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}bl.isFormData(o)&&delete s["Content-Type"];var c=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(f+":"+d)}var p=wk(t.baseURL,t.url);c.open(t.method.toUpperCase(),xk(p,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function h(){if(!!c){var x="getAllResponseHeaders"in c?Ek(c.getAllResponseHeaders()):null,y=!a||a==="text"||a==="json"?c.responseText:c.response,_={data:y,status:c.status,statusText:c.statusText,headers:x,config:t,request:c};yk(function(w){r(w),u()},function(w){i(w),u()},_),c=null}}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){!c||(i(Ld("Request aborted",t,"ECONNABORTED",c)),c=null)},c.onerror=function(){i(Ld("Network Error",t,null,c)),c=null},c.ontimeout=function(){var y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||Sk;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),i(Ld(y,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},bl.isStandardBrowserEnv()){var v=(t.withCredentials||bk(p))&&t.xsrfCookieName?_k.read(t.xsrfCookieName):void 0;v&&(s[t.xsrfHeaderName]=v)}"setRequestHeader"in c&&bl.forEach(s,function(y,_){typeof o=="undefined"&&_.toLowerCase()==="content-type"?delete s[_]:c.setRequestHeader(_,y)}),bl.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),a&&a!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(x){!c||(i(!x||x&&x.type?new Ck("canceled"):x),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),o||(o=null),c.send(o)})},Ze=Ct,zy=ok,Ak=Qb,$k=Kb,Tk={"Content-Type":"application/x-www-form-urlencoded"};function Hy(e,t){!Ze.isUndefined(e)&&Ze.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Rk(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=jy),e}function Pk(e,t,n){if(Ze.isString(e))try{return(t||JSON.parse)(e),Ze.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var wf={transitional:$k,adapter:Rk(),transformRequest:[function(t,n){return zy(n,"Accept"),zy(n,"Content-Type"),Ze.isFormData(t)||Ze.isArrayBuffer(t)||Ze.isBuffer(t)||Ze.isStream(t)||Ze.isFile(t)||Ze.isBlob(t)?t:Ze.isArrayBufferView(t)?t.buffer:Ze.isURLSearchParams(t)?(Hy(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Ze.isObject(t)||n&&n["Content-Type"]==="application/json"?(Hy(n,"application/json"),Pk(t)):t}],transformResponse:[function(t){var n=this.transitional||wf.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,o=!r&&this.responseType==="json";if(o||i&&Ze.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Ak(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ze.forEach(["delete","get","head"],function(t){wf.headers[t]={}});Ze.forEach(["post","put","patch"],function(t){wf.headers[t]=Ze.merge(Tk)});var c0=wf,Ok=Ct,kk=c0,Nk=function(t,n,r){var i=this||kk;return Ok.forEach(r,function(s){t=s.call(i,t,n)}),t},Jb=function(t){return!!(t&&t.__CANCEL__)},Gy=Ct,Fd=Nk,Dk=Jb,Mk=c0,Lk=xf;function Id(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Lk("canceled")}var Fk=function(t){Id(t),t.headers=t.headers||{},t.data=Fd.call(t,t.data,t.headers,t.transformRequest),t.headers=Gy.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Gy.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||Mk.adapter;return n(t).then(function(i){return Id(t),i.data=Fd.call(t,i.data,i.headers,t.transformResponse),i},function(i){return Dk(i)||(Id(t),i&&i.response&&(i.response.data=Fd.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},At=Ct,eS=function(t,n){n=n||{};var r={};function i(c,f){return At.isPlainObject(c)&&At.isPlainObject(f)?At.merge(c,f):At.isPlainObject(f)?At.merge({},f):At.isArray(f)?f.slice():f}function o(c){if(At.isUndefined(n[c])){if(!At.isUndefined(t[c]))return i(void 0,t[c])}else return i(t[c],n[c])}function s(c){if(!At.isUndefined(n[c]))return i(void 0,n[c])}function a(c){if(At.isUndefined(n[c])){if(!At.isUndefined(t[c]))return i(void 0,t[c])}else return i(void 0,n[c])}function l(c){if(c in n)return i(t[c],n[c]);if(c in t)return i(void 0,t[c])}var u={url:s,method:s,data:s,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:l};return At.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=u[f]||o,p=d(f);At.isUndefined(p)&&d!==l||(r[f]=p)}),r},tS={version:"0.26.1"},Ik=tS.version,f0={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){f0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Yy={};f0.transitional=function(t,n,r){function i(o,s){return"[Axios v"+Ik+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return function(o,s,a){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!Yy[s]&&(Yy[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function Bk(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new TypeError("option "+o+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+o)}}var Uk={assertOptions:Bk,validators:f0},nS=Ct,Vk=Xb,Wy=rk,qy=Fk,Ef=eS,rS=Uk,Pi=rS.validators;function Na(e){this.defaults=e,this.interceptors={request:new Wy,response:new Wy}}Na.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ef(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&rS.assertOptions(r,{silentJSONParsing:Pi.transitional(Pi.boolean),forcedJSONParsing:Pi.transitional(Pi.boolean),clarifyTimeoutError:Pi.transitional(Pi.boolean)},!1);var i=[],o=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(o=o&&p.synchronous,i.unshift(p.fulfilled,p.rejected))});var s=[];this.interceptors.response.forEach(function(p){s.push(p.fulfilled,p.rejected)});var a;if(!o){var l=[qy,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(s),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var u=n;i.length;){var c=i.shift(),f=i.shift();try{u=c(u)}catch(d){f(d);break}}try{a=qy(u)}catch(d){return Promise.reject(d)}for(;s.length;)a=a.then(s.shift(),s.shift());return a};Na.prototype.getUri=function(t){return t=Ef(this.defaults,t),Vk(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};nS.forEach(["delete","get","head","options"],function(t){Na.prototype[t]=function(n,r){return this.request(Ef(r||{},{method:t,url:n,data:(r||{}).data}))}});nS.forEach(["post","put","patch"],function(t){Na.prototype[t]=function(n,r,i){return this.request(Ef(i||{},{method:t,url:n,data:r}))}});var jk=Na,zk=xf;function Ro(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,o=n._listeners.length;for(i=0;i<o;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,o=new Promise(function(s){n.subscribe(s),i=s}).then(r);return o.cancel=function(){n.unsubscribe(i)},o},e(function(i){n.reason||(n.reason=new zk(i),t(n.reason))})}Ro.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Ro.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Ro.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Ro.source=function(){var t,n=new Ro(function(i){t=i});return{token:n,cancel:t}};var Hk=Ro,Gk=function(t){return function(r){return t.apply(null,r)}},Yk=Ct,Wk=function(t){return Yk.isObject(t)&&t.isAxiosError===!0},Xy=Ct,qk=Gb,tu=jk,Xk=eS,Qk=c0;function iS(e){var t=new tu(e),n=qk(tu.prototype.request,t);return Xy.extend(n,tu.prototype,t),Xy.extend(n,t),n.create=function(i){return iS(Xk(e,i))},n}var Cn=iS(Qk);Cn.Axios=tu;Cn.Cancel=xf;Cn.CancelToken=Hk;Cn.isCancel=Jb;Cn.VERSION=tS.version;Cn.all=function(t){return Promise.all(t)};Cn.spread=Gk;Cn.isAxiosError=Wk;s0.exports=Cn;s0.exports.default=Cn;var oS=s0.exports;const Kk=(e,t)=>oS.create({baseURL:"https://api.locallogic.co/v3/",headers:{Accept:"application/json",Authorization:e},params:t});var Fh;(function(e){e[e.groceries=0]="groceries",e[e.groceries_specialized=1]="groceries_specialized",e[e.shopping=2]="shopping",e[e.nightlife=3]="nightlife",e[e.restaurants=4]="restaurants",e[e.cafes=5]="cafes",e[e.daycares=6]="daycares",e[e.bus_stops=7]="bus_stops",e[e.rapid_transit_stations=8]="rapid_transit_stations",e[e.train_stations=9]="train_stations",e[e.parks=10]="parks",e[e.healthy_restaurants=11]="healthy_restaurants",e[e.fitness=12]="fitness",e[e.sport_facilities=13]="sport_facilities",e[e.health_care=14]="health_care",e[e.pet_care=15]="pet_care",e[e.car_fueling_stations=16]="car_fueling_stations",e[e.art_culture_science=17]="art_culture_science",e[e.home_improvement=18]="home_improvement",e[e.personal_care=19]="personal_care"})(Fh||(Fh={}));const Zk="/pois";function xi(e){this._maxSize=e,this.clear()}xi.prototype.clear=function(){this._size=0,this._values=Object.create(null)};xi.prototype.get=function(e){return this._values[e]};xi.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var Jk=/[^.^\]^[]+|(?=\[\]|\.\.)/g,sS=/^\d+$/,eN=/^\d/,tN=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,nN=/^\s*(['"]?)(.*?)(\1)\s*$/,d0=512,Qy=new xi(d0),Ky=new xi(d0),Zy=new xi(d0),ai={Cache:xi,split:Ih,normalizePath:Bd,setter:function(e){var t=Bd(e);return Ky.get(e)||Ky.set(e,function(r,i){for(var o=0,s=t.length,a=r;o<s-1;){var l=t[o];if(l==="__proto__"||l==="constructor"||l==="prototype")return r;a=a[t[o++]]}a[t[o]]=i})},getter:function(e,t){var n=Bd(e);return Zy.get(e)||Zy.set(e,function(i){for(var o=0,s=n.length;o<s;)if(i!=null||!t)i=i[n[o++]];else return;return i})},join:function(e){return e.reduce(function(t,n){return t+(p0(n)||sS.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){rN(Array.isArray(e)?e:Ih(e),t,n)}};function Bd(e){return Qy.get(e)||Qy.set(e,Ih(e).map(function(t){return t.replace(nN,"$2")}))}function Ih(e){return e.match(Jk)||[""]}function rN(e,t,n){var r=e.length,i,o,s,a;for(o=0;o<r;o++)i=e[o],i&&(sN(i)&&(i='"'+i+'"'),a=p0(i),s=!a&&/^\d+$/.test(i),t.call(n,i,a,s,o,e))}function p0(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function iN(e){return e.match(eN)&&!e.match(sS)}function oN(e){return tN.test(e)}function sN(e){return!p0(e)&&(iN(e)||oN(e))}const aN=/[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,bf=e=>e.match(aN)||[],Sf=e=>e[0].toUpperCase()+e.slice(1),h0=(e,t)=>bf(e).join(t).toLowerCase(),aS=e=>bf(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),lN=e=>Sf(aS(e)),uN=e=>h0(e,"_"),cN=e=>h0(e,"-"),fN=e=>Sf(h0(e," ")),dN=e=>bf(e).map(Sf).join(" ");var Ud={words:bf,upperFirst:Sf,camelCase:aS,pascalCase:lN,snakeCase:uN,kebabCase:cN,sentenceCase:fN,titleCase:dN},v0={exports:{}};v0.exports=function(e){return lS(pN(e),e)};v0.exports.array=lS;function lS(e,t){var n=e.length,r=new Array(n),i={},o=n,s=hN(t),a=vN(e);for(t.forEach(function(u){if(!a.has(u[0])||!a.has(u[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});o--;)i[o]||l(e[o],o,new Set);return r;function l(u,c,f){if(f.has(u)){var d;try{d=", node was:"+JSON.stringify(u)}catch{d=""}throw new Error("Cyclic dependency"+d)}if(!a.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(!i[c]){i[c]=!0;var p=s.get(u)||new Set;if(p=Array.from(p),c=p.length){f.add(u);do{var h=p[--c];l(h,a.get(h),f)}while(c);f.delete(u)}r[--n]=u}}}function pN(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}function hN(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}function vN(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var mN=v0.exports;const gN=Object.prototype.toString,yN=Error.prototype.toString,_N=RegExp.prototype.toString,xN=typeof Symbol!="undefined"?Symbol.prototype.toString:()=>"",wN=/^Symbol\((.*)\)(.*)$/;function EN(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Jy(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return EN(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return xN.call(e).replace(wN,"Symbol($1)");const r=gN.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+yN.call(e)+"]":r==="RegExp"?_N.call(e):null}function li(e,t){let n=Jy(e,t);return n!==null?n:JSON.stringify(e,function(r,i){let o=Jy(this[r],t);return o!==null?o:i},2)}function uS(e){return e==null?[]:[].concat(e)}let bN=/\$\{\s*(\w+)\s*\}/g;class yt 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(bN,(i,o)=>li(n[o])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,i){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=i,this.errors=[],this.inner=[],uS(t).forEach(o=>{yt.isError(o)?(this.errors.push(...o.errors),this.inner=this.inner.concat(o.inner.length?o.inner:o)):this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,yt)}}let Rn={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 i=r!=null&&r!==n?` (cast from the value \`${li(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${li(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${li(n,!0)}\``+i}},Kt={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"},Jn={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"},Bh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Uh={isValue:"${path} field must be ${value}"},Vh={noUnknown:"${path} field has unspecified keys: ${unknown}"},nu={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:Rn,string:Kt,number:Jn,date:Bh,object:Vh,array:nu,boolean:Uh});const Cf=e=>e&&e.__isYupSchema__;class Ju{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:i,otherwise:o}=n,s=typeof r=="function"?r:(...a)=>a.every(l=>l===r);return new Ju(t,(a,l)=>{var u;let c=s(...a)?i:o;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(o=>o.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),i=this.fn(r,t,n);if(i===void 0||i===t)return t;if(!Cf(i))throw new TypeError("conditions must return a schema object");return i.resolve(n)}}function SN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const Sl={context:"$",value:"."};class Mn{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]===Sl.context,this.isValue=this.key[0]===Sl.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Sl.context:this.isValue?Sl.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&ai.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let i=this.isContext?r:this.isValue?t:n;return this.getter&&(i=this.getter(i||{})),this.map&&(i=this.map(i)),i}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}}Mn.prototype.__isYupRef=!0;const jt=e=>e==null,CN=["value","path","label","options","originalValue","spec","sync"];function Oi(e){function t(n,r,i){let{value:o,path:s="",label:a,options:l,originalValue:u,spec:c,sync:f}=n,d=SN(n,CN);const{name:p,test:h,params:v,message:x,skipAbsent:y}=e;let{parent:_,context:g,abortEarly:w=d.schema.spec.abortEarly}=l;function E(V){return Mn.isRef(V)?V.getValue(o,_,g):V}function b(V={}){const J=Object.assign({value:o,originalValue:u,label:a,path:V.path||s,spec:c},v,V.params);for(const ie of Object.keys(J))J[ie]=E(J[ie]);const Ee=new yt(yt.formatError(V.message||x,J),o,J.path,V.type||p);return Ee.params=J,Ee}const S=w?r:i;let C=Object.assign({path:s,parent:_,type:p,createError:b,resolve:E,options:l,originalValue:u},d);const $=V=>{yt.isError(V)?S(V):V?i(null):S(b())},P=V=>{yt.isError(V)?S(V):r(V)},j=y&&jt(o);if(!f){try{Promise.resolve(j?!0:h.call(C,o,C)).then($,P)}catch(V){P(V)}return}let U;try{var H;if(U=j?!0:h.call(C,o,C),typeof((H=U)==null?void 0:H.then)=="function")throw new Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(V){P(V);return}$(U)}return t.OPTIONS=e,t}let AN=e=>e.substr(0,e.length-1).substr(1);function $N(e,t,n,r=n){let i,o,s;return t?(ai.forEach(t,(a,l,u)=>{let c=l?AN(a):a;e=e.resolve({context:r,parent:i,value:n});let f=e.type==="tuple",d=u?parseInt(c,10):0;if(e.innerType||f){if(f&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&d>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);i=n,n=n&&n[c],e=e.fields[c]}o=c,s=l?"["+a+"]":"."+a}),{schema:e,parent:i,parentPath:o}):{parent:i,parentPath:t,schema:e}}class ec{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(Mn.isRef(r)?t(r):r),[])}add(t){Mn.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}delete(t){Mn.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}clone(){const t=new ec;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(i=>r.add(i)),t.refs.forEach(i=>r.add(i)),n.list.forEach(i=>r.delete(i)),n.refs.forEach(i=>r.delete(i)),r}}function Ki(e,t=new Map){if(Cf(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]=Ki(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,i]of e.entries())n.set(r,Ki(i,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Ki(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,i]of Object.entries(e))n[r]=Ki(i,t)}else throw Error(`Unable to clone ${e}`);return n}class Nt{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 ec,this._blacklist=new ec,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Rn.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=Ki(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 i=Object.assign({},n.spec,r.spec);return r.spec=i,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(o=>{t.tests.forEach(s=>{o.test(s.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((i,o)=>o.resolve(i,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,i;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:(i=t.recursive)!=null?i:this.spec.recursive})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),i=n.assert==="ignore-optionality",o=r._cast(t,n);if(n.assert!==!1&&!r.isType(o)){if(i&&jt(o))return o;let s=li(t),a=li(o);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
328
|
+
|
|
329
|
+
attempted value: ${s}
|
|
330
|
+
`+(a!==s?`result of cast: ${a}`:""))}return o}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((i,o)=>o.call(this,i,t,this),t);return r===void 0&&(r=this.getDefault()),r}_validate(t,n={},r,i){let{sync:o,path:s,from:a=[],originalValue:l=t,strict:u=this.spec.strict}=n,c=t;u||(c=this._cast(c,Object.assign({assert:!1},n)));let f={value:c,path:s,options:n,originalValue:l,schema:this,label:this.spec.label,spec:this.spec,sync:o,from:a},d=[];for(let p of Object.values(this.internalTests))p&&d.push(p);this.runTests({args:f,value:c,tests:d},r,p=>{if(p.length)return i(p,c);this.runTests({args:f,value:c,tests:this.tests},r,i)})}runTests(t,n,r){let i=!1,{tests:o,args:s,value:a}=t,l=d=>{i||(i=!0,n(d,a))},u=d=>{i||(i=!0,r(d,a))},c=o.length,f=[];if(!c)return u([]);for(let d=0;d<o.length;d++){const p=o[d];p(s,l,function(v){v&&(f=f.concat(v)),--c<=0&&u(f)})}}asNestedTest({key:t,index:n,parent:r,parentPath:i,originalParent:o,options:s}){const a=t!=null?t:n;if(a==null)throw TypeError("Must include `key` or `index` for nested validations");const l=typeof a=="number";let u=r[a];const c=Object.assign({},s,{strict:!0,parent:r,value:u,originalValue:o[a],key:void 0,[l?"index":"key"]:a,path:l||a.includes(".")?`${i||""}[${u?a:`"${a}"`}]`:(i?`${i}.`:"")+t});return(f,d,p)=>this.resolve(c)._validate(u,c,d,p)}validate(t,n){let r=this.resolve(Object.assign({},n,{value:t}));return new Promise((i,o)=>r._validate(t,n,(s,a)=>{yt.isError(s)&&(s.value=a),o(s)},(s,a)=>{s.length?o(new yt(s,a)):i(a)}))}validateSync(t,n){let r=this.resolve(Object.assign({},n,{value:t})),i;return r._validate(t,Object.assign({},n,{sync:!0}),(o,s)=>{throw yt.isError(o)&&(o.value=s),o},(o,s)=>{if(o.length)throw new yt(o,t);i=s}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(yt.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(yt.isError(r))return!1;throw r}}_getDefault(){let t=this.spec.default;return t==null?t:typeof t=="function"?t.call(this):Ki(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=Oi({message:n,name:"nullable",test(i){return i===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=Oi({message:n,name:"optionality",test(i){return i===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Rn.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Rn.notNull){return this.nullability(!1,t)}required(t=Rn.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=Rn.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),i=Oi(n),o=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(s=>!(s.OPTIONS.name===n.name&&(o||s.OPTIONS.test===i.OPTIONS.test))),r.tests.push(i),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),i=uS(t).map(o=>new Mn(o));return i.forEach(o=>{o.isSibling&&r.deps.push(o.key)}),r.conditions.push(typeof n=="function"?new Ju(i,n):Ju.fromOptions(i,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=Oi({message:t,name:"typeError",test(r){return!jt(r)&&!this.schema._typeCheck(r)?this.createError({params:{type:this.schema.type}}):!0}}),n}oneOf(t,n=Rn.oneOf){let r=this.clone();return t.forEach(i=>{r._whitelist.add(i),r._blacklist.delete(i)}),r.internalTests.whiteList=Oi({message:n,name:"oneOf",test(i){if(i===void 0)return!0;let o=this.schema._whitelist,s=o.resolveAll(this.resolve);return s.includes(i)?!0:this.createError({params:{values:o.toArray().join(", "),resolved:s}})}}),r}notOneOf(t,n=Rn.notOneOf){let r=this.clone();return t.forEach(i=>{r._blacklist.add(i),r._whitelist.delete(i)}),r.internalTests.blacklist=Oi({message:n,name:"notOneOf",test(i){let o=this.schema._blacklist,s=o.resolveAll(this.resolve);return s.includes(i)?this.createError({params:{values:o.toArray().join(", "),resolved:s}}):!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:i,optional:o,nullable:s}=n.spec;return{meta:i,label:r,optional:o,nullable:s,type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,u,c)=>c.findIndex(f=>f.name===l.name)===u)}}}Nt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])Nt.prototype[`${e}At`]=function(t,n,r={}){const{parent:i,parentPath:o,schema:s}=$N(this,t,n,r.context);return s[e](i&&i[o],Object.assign({},r,{parent:i,path:t}))};for(const e of["equals","is"])Nt.prototype[e]=Nt.prototype.oneOf;for(const e of["not","nope"])Nt.prototype[e]=Nt.prototype.notOneOf;function cS(){return new fS}class fS extends Nt{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=Uh.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(n){return jt(n)||n===!0}})}isFalse(t=Uh.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(n){return jt(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)}}cS.prototype=fS.prototype;let TN=/^((([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,RN=/^((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,PN=/^(?:[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,ON=e=>jt(e)||e===e.trim(),kN={}.toString();function co(){return new dS}class dS extends Nt{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 i=t!=null&&t.toString?t.toString():t;return i===kN?t:i})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Rn.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=Kt.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=Kt.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=Kt.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,i,o;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:i,name:o}=n:i=n),this.test({name:o||"matches",message:i||Kt.matches,params:{regex:t},skipAbsent:!0,test:s=>s===""&&r||s.search(t)!==-1})}email(t=Kt.email){return this.matches(TN,{name:"email",message:t,excludeEmptyString:!0})}url(t=Kt.url){return this.matches(RN,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Kt.uuid){return this.matches(PN,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Kt.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:ON})}lowercase(t=Kt.lowercase){return this.transform(n=>jt(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>jt(n)||n===n.toLowerCase()})}uppercase(t=Kt.uppercase){return this.transform(n=>jt(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>jt(n)||n===n.toUpperCase()})}}co.prototype=dS.prototype;let NN=e=>e!=+e;function Je(){return new pS}class pS extends Nt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!NN(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let i=t;if(typeof i=="string"){if(i=i.replace(/\s/g,""),i==="")return NaN;i=+i}return r.isType(i)?i:parseFloat(i)})})}min(t,n=Jn.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=Jn.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=Jn.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=Jn.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Jn.positive){return this.moreThan(0,t)}negative(t=Jn.negative){return this.lessThan(0,t)}integer(t=Jn.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>jt(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(i=>jt(i)?i:Math[t](i))}}Je.prototype=pS.prototype;var DN=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function MN(e){var t=[1,4,5,6,7,10,11],n=0,r,i;if(i=DN.exec(e)){for(var o=0,s;s=t[o];++o)i[s]=+i[s]||0;i[2]=(+i[2]||1)-1,i[3]=+i[3]||1,i[7]=i[7]?String(i[7]).substr(0,3):0,(i[8]===void 0||i[8]==="")&&(i[9]===void 0||i[9]==="")?r=+new Date(i[1],i[2],i[3],i[4],i[5],i[6],i[7]):(i[8]!=="Z"&&i[9]!==void 0&&(n=i[10]*60+i[11],i[9]==="+"&&(n=0-n)),r=Date.UTC(i[1],i[2],i[3],i[4],i[5]+n,i[6],i[7]))}else r=Date.parse?Date.parse(e):NaN;return r}let LN=new Date(""),FN=e=>Object.prototype.toString.call(e)==="[object Date]";class Af extends Nt{constructor(){super({type:"date",check(t){return FN(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)?t:(t=MN(t),isNaN(t)?Af.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Mn.isRef(t))r=t;else{let i=this.cast(t);if(!this._typeCheck(i))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=i}return r}min(t,n=Bh.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(i){return i>=this.resolve(r)}})}max(t,n=Bh.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(i){return i<=this.resolve(r)}})}}Af.INVALID_DATE=LN;Af.prototype;function IN(e,t=[]){let n=[],r=new Set,i=new Set(t.map(([s,a])=>`${s}-${a}`));function o(s,a){let l=ai.split(s)[0];r.add(l),i.has(`${a}-${l}`)||n.push([a,l])}for(const s of Object.keys(e)){let a=e[s];r.add(s),Mn.isRef(a)&&a.isSibling?o(a.path,s):Cf(a)&&"deps"in a&&a.deps.forEach(l=>o(l,s))}return mN.array(Array.from(r),n).reverse()}function e_(e,t){let n=1/0;return e.some((r,i)=>{var o;if((o=t.path)!=null&&o.includes(r))return n=i,!0}),n}function hS(e){return(t,n)=>e_(e,t)-e_(e,n)}const vS=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function ru(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=ru(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=ru(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(ru)}):"optional"in e?e.optional():e}const BN=(e,t)=>{const n=[...ai.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),i=ai.getter(ai.join(n),!0)(e);return!!(i&&r in i)};let t_=e=>Object.prototype.toString.call(e)==="[object Object]";function UN(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const VN=hS([]);function wi(e){return new mS(e)}class mS extends Nt{constructor(t){super({type:"object",check(n){return t_(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=VN,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let i=super._cast(t,n);if(i===void 0)return this.getDefault();if(!this._typeCheck(i))return i;let o=this.fields,s=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,a=[].concat(this._nodes,Object.keys(i).filter(f=>!this._nodes.includes(f))),l={},u=Object.assign({},n,{parent:l,__validating:n.__validating||!1}),c=!1;for(const f of a){let d=o[f],p=f in i;if(d){let h,v=i[f];u.path=(n.path?`${n.path}.`:"")+f,d=d.resolve({value:v,context:n.context,parent:l});let x=d instanceof Nt?d.spec:void 0,y=x==null?void 0:x.strict;if(x!=null&&x.strip){c=c||f in i;continue}h=!n.__validating||!y?d.cast(i[f],u):i[f],h!==void 0&&(l[f]=h)}else p&&!s&&(l[f]=i[f]);(p!==f in l||l[f]!==i[f])&&(c=!0)}return c?l:i}_validate(t,n={},r,i){let{from:o=[],originalValue:s=t,recursive:a=this.spec.recursive}=n;n.from=[{schema:this,value:s},...o],n.__validating=!0,n.originalValue=s,super._validate(t,n,r,(l,u)=>{if(!a||!t_(u)){i(l,u);return}s=s||u;let c=[];for(let f of this._nodes){let d=this.fields[f];!d||Mn.isRef(d)||c.push(d.asNestedTest({options:n,key:f,parent:u,parentPath:n.path,originalParent:s}))}this.runTests({tests:c,value:u},r,f=>{i(f.sort(this._sortErrors).concat(l),u)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[i,o]of Object.entries(this.fields)){const s=r[i];r[i]=s===void 0?o:s}return n.withMutation(i=>i.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=IN(t,n),r._sortErrors=hS(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let i=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),i=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),i)})}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 ru(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 i=ai.getter(t,!0);return this.transform(o=>{if(!o)return o;let s=o;return BN(o,t)&&(s=Object.assign({},o),r||delete s[t],s[n]=i(o)),s})}json(){return this.transform(vS)}noUnknown(t=!0,n=Vh.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(i){if(i==null)return!0;const o=UN(this.schema,i);return!t||o.length===0||this.createError({params:{unknown:o.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Vh.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const i of Object.keys(n))r[t(i)]=n[i];return r})}camelCase(){return this.transformKeys(Ud.camelCase)}snakeCase(){return this.transformKeys(Ud.snakeCase)}constantCase(){return this.transformKeys(t=>Ud.snakeCase(t).toUpperCase())}describe(t){let n=super.describe(t);n.fields={};for(const[i,o]of Object.entries(this.fields)){var r;let s=t;(r=s)!=null&&r.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[i]})),n.fields[i]=o.describe(s)}return n}}wi.prototype=mS.prototype;function Cs(e){return new gS(e)}class gS extends Nt{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 i=!1;const o=r.map((s,a)=>{const l=this.innerType.cast(s,Object.assign({},n,{path:`${n.path||""}[${a}]`}));return l!==s&&(i=!0),l});return i?o:r}_validate(t,n={},r,i){var o;let s=this.innerType,a=(o=n.recursive)!=null?o:this.spec.recursive;n.originalValue!=null&&n.originalValue,super._validate(t,n,r,(l,u)=>{if(!a||!s||!this._typeCheck(u)){i(l,u);return}let c=new Array(u.length);for(let d=0;d<u.length;d++){var f;c[d]=s.asNestedTest({options:n,index:d,parent:u,parentPath:n.path,originalParent:(f=n.originalValue)!=null?f:t})}this.runTests({value:u,tests:c},r,d=>i(d.concat(l),u))})}clone(t){const n=super.clone(t);return n.innerType=this.innerType,n}json(){return this.transform(vS)}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(!Cf(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+li(t));return n.innerType=t,n}length(t,n=nu.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||nu.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||nu.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,i,o)=>!t(r,i,o):r=>!!r;return this.transform(r=>r!=null?r.filter(n):r)}describe(t){let n=super.describe();if(this.innerType){var r;let i=t;(r=i)!=null&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=this.innerType.describe(t)}return n}}Cs.prototype=gS.prototype;const jN=new RegExp(`(${Object.keys(Fh).filter(e=>Number.isNaN(Number(e))).join("|")})`),zN=wi({lat:Je().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:Je().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:Je().max(30),radius:Je().max(25e3),include:Cs().of(co().matches(jN,"Must be a valid Score category.").required()).required()});var HN=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},GN=e=>t=>HN(void 0,void 0,void 0,function*(){const n=yield zN.validate(t),{lat:r,lng:i,limit:o,radius:s,include:a}=n;return(yield e.get(Zk,{params:{lat:r,lng:i,limit:o,radius:s,include:a==null?void 0:a.join(",")}})).data.data}),jh;(function(e){e[e.pedestrian_friendly=0]="pedestrian_friendly",e[e.cycling_friendly=1]="cycling_friendly",e[e.transit_friendly=2]="transit_friendly",e[e.car_friendly=3]="car_friendly",e[e.parks=4]="parks",e[e.groceries=5]="groceries",e[e.shopping=6]="shopping",e[e.nightlife=7]="nightlife",e[e.restaurants=8]="restaurants",e[e.cafes=9]="cafes",e[e.daycares=10]="daycares",e[e.primary_schools=11]="primary_schools",e[e.high_schools=12]="high_schools",e[e.quiet=13]="quiet",e[e.greenery=14]="greenery",e[e.historic=15]="historic",e[e.vibrant=16]="vibrant",e[e.wellness=17]="wellness"})(jh||(jh={}));const YN="/scores",WN=new RegExp(`(${Object.keys(jh).filter(e=>Number.isNaN(Number(e))).join("|")})`),qN=wi({lat:Je().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:Je().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geographyIds:Cs().of(co().required()),geographyLevels:Cs().of(co().matches(/10|20|30/,"Must be a valid Geography level.").required()),locationScoresRounding:cS(),include:Cs().of(co().matches(WN,"Must be a valid Score category.").required())});var XN=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},QN=e=>t=>XN(void 0,void 0,void 0,function*(){const n=yield qN.validate(t),{lat:r,lng:i,include:o,geographyIds:s,geographyLevels:a,locationScoresRounding:l=!0}=n;return(yield e.get(YN,{params:{lat:r,lng:i,include:o==null?void 0:o.join(","),geography_levels:a==null?void 0:a.join(","),geography_ids:s==null?void 0:s.join(","),location_scores_rounding:l?".5":"none"}})).data.data});const KN="/schools",ZN=wi({lat:Je().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:Je().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required(),limit:Je().max(30,"Must use a limit between 1 and 30."),radius:Je().max(25e3,"Must use a radius between 1 and 25000.")});var JN=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},eD=e=>t=>JN(void 0,void 0,void 0,function*(){const n=yield ZN.validate(t),{lat:r,lng:i,limit:o,radius:s}=n;return(yield e.get(KN,{params:{lat:r,lng:i,limit:o,radius:s}})).data.data});const tD="/profiles",nD=wi({lat:Je().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude."),lng:Je().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude."),geogId:co()});var rD=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},iD=e=>t=>rD(void 0,void 0,void 0,function*(){const n=yield nD.validate(t),{lat:r,lng:i,geogId:o}=n;return(yield e.get(tD,{params:{lat:r,lng:i,geog_id:o}})).data.data});const oD="/geographies",sD=wi({lat:Je().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:Je().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()});var aD=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},lD=e=>t=>aD(void 0,void 0,void 0,function*(){const n=yield sD.validate(t),{lat:r,lng:i}=n;return(yield e.get(oD,{params:{lat:r,lng:i}})).data.data});const uD="/demographics",cD=wi({lat:Je().min(-90,"Must be a valid latitude.").max(90,"Must be a valid latitude.").required(),lng:Je().min(-180,"Must be a valid longitude.").max(180,"Must be a valid longitude.").required()});var fD=globalThis&&globalThis.__awaiter||function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})},dD=e=>t=>fD(void 0,void 0,void 0,function*(){const n=yield cD.validate(t),{lat:r,lng:i}=n;return(yield e.get(uD,{params:{lat:r,lng:i}})).data.data.attributes});const m0="LocalLogicClient/";class pD extends Error{constructor({message:t}){super(t),this.name=m0+this.constructor.name}}class hD extends Error{constructor({message:t,response:n}){super(t),this.name=m0+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 vD extends Error{constructor({message:t}){super(t),this.name=m0+this.constructor.name}}const n_=e=>{throw e instanceof yt?new pD(e):oS.isAxiosError(e)?new hD(e):new vD(e)},Uo=(e,t,n)=>{const r=n.value;return n.value=function(...i){try{const o=r.apply(this,i);return o&&o instanceof Promise?o.catch(s=>{n_(s)}):o}catch(o){n_(o)}},n};var Vo=globalThis&&globalThis.__decorate||function(e,t,n,r){var i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,n,o):s(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o};class Ei{constructor(t,n={locale:"en"}){this.requests=Kk(t,n),this.options=n}getPois(t){return GN(this.requests)(t)}getScores(t){return QN(this.requests)(t)}getSchools(t){return eD(this.requests)(t)}getProfiles(t){return iD(this.requests)(t)}getGeographies(t){return lD(this.requests)(t)}getDemographics(t){return dD(this.requests)(t)}}Vo([Uo],Ei.prototype,"getPois",null);Vo([Uo],Ei.prototype,"getScores",null);Vo([Uo],Ei.prototype,"getSchools",null);Vo([Uo],Ei.prototype,"getProfiles",null);Vo([Uo],Ei.prototype,"getGeographies",null);Vo([Uo],Ei.prototype,"getDemographics",null);const mD=(e,t)=>new Ei(e,t);var gD="production",yS=typeof process=="undefined"||process.env===void 0?gD:"production",An=function(e){return{isEnabled:function(t){return e.some(function(n){return!!t[n]})}}},da={measureLayout:An(["layout","layoutId","drag"]),animation:An(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:An(["exit"]),drag:An(["drag","dragControls"]),focus:An(["whileFocus"]),hover:An(["whileHover","onHoverStart","onHoverEnd"]),tap:An(["whileTap","onTap","onTapStart","onTapCancel"]),pan:An(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:An(["whileInView","onViewportEnter","onViewportLeave"])};function yD(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?da.projectionNodeConstructor=e[t]:da[t].Component=e[t])}var _D=function(){},tc=function(){},_S=m.exports.createContext({strict:!1}),xS=Object.keys(da),xD=xS.length;function wD(e,t,n){var r=[],i=m.exports.useContext(_S);if(!t)return null;yS!=="production"&&n&&i.strict;for(var o=0;o<xD;o++){var s=xS[o],a=da[s],l=a.isEnabled,u=a.Component;l(e)&&u&&r.push(m.exports.createElement(u,N({key:s},e,{visualElement:t})))}return r}var g0=m.exports.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),$f=m.exports.createContext({});function ED(){return m.exports.useContext($f).visualElement}var Tf=m.exports.createContext(null),jo=typeof document!="undefined",r_=jo?m.exports.useLayoutEffect:m.exports.useEffect,zh={current:null},wS=!1;function bD(){if(wS=!0,!!jo)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return zh.current=e.matches};e.addListener(t),t()}else zh.current=!1}function SD(){!wS&&bD();var e=Ye(m.exports.useState(zh.current),1),t=e[0];return t}function CD(){var e=SD(),t=m.exports.useContext(g0).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function AD(e,t,n,r){var i=m.exports.useContext(_S),o=ED(),s=m.exports.useContext(Tf),a=CD(),l=m.exports.useRef(void 0);r||(r=i.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceId:s==null?void 0:s.id,blockInitialAnimation:(s==null?void 0:s.initial)===!1,shouldReduceMotion:a}));var u=l.current;return r_(function(){u==null||u.syncRender()}),m.exports.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),r_(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Zi(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function $D(e,t,n){return m.exports.useCallback(function(r){var i;r&&((i=e.mount)===null||i===void 0||i.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Zi(n)&&(n.current=r))},[t])}function ES(e){return Array.isArray(e)}function en(e){return typeof e=="string"||ES(e)}function TD(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.get()}),t}function RD(e){var t={};return e.forEachValue(function(n,r){return t[r]=n.getVelocity()}),t}function bS(e,t,n,r,i){var o;return r===void 0&&(r={}),i===void 0&&(i={}),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,i)),typeof t=="string"&&(t=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(n!=null?n:e.custom,r,i)),t}function Rf(e,t,n){var r=e.getProps();return bS(r,t,n!=null?n:r.custom,TD(e),RD(e))}function Pf(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||en(e.initial)||en(e.animate)||en(e.whileHover)||en(e.whileDrag)||en(e.whileTap)||en(e.whileFocus)||en(e.exit)}function SS(e){return Boolean(Pf(e)||e.variants)}function PD(e,t){if(Pf(e)){var n=e.initial,r=e.animate;return{initial:n===!1||en(n)?n:void 0,animate:en(r)?r:void 0}}return e.inherit!==!1?t:{}}function OD(e){var t=PD(e,m.exports.useContext($f)),n=t.initial,r=t.animate;return m.exports.useMemo(function(){return{initial:n,animate:r}},[i_(n),i_(r)])}function i_(e){return Array.isArray(e)?e.join(" "):e}function Of(e){var t=m.exports.useRef(null);return t.current===null&&(t.current=e()),t.current}var As={hasAnimatedSinceResize:!0,hasEverUpdated:!1},kD=1;function ND(){return Of(function(){if(As.hasEverUpdated)return kD++})}var CS=m.exports.createContext({}),AS=m.exports.createContext({});function DD(e,t,n,r){var i,o=t.layoutId,s=t.layout,a=t.drag,l=t.dragConstraints,u=t.layoutScroll,c=m.exports.useContext(AS);!r||!n||(n==null?void 0:n.projection)||(n.projection=new r(e,n.getLatestValues(),(i=n.parent)===null||i===void 0?void 0:i.projection),n.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:Boolean(a)||l&&Zi(l),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:typeof s=="string"?s:"both",initialPromotionConfig:c,layoutScroll:u}))}var MD=function(e){JE(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,i=n.props;r&&r.setProps(i)},t.prototype.render=function(){return this.props.children},t}(K.Component);function LD(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,s=e.Component;t&&yD(t);function a(l,u){var c=FD(l);l=N(N({},l),{layoutId:c});var f=m.exports.useContext(g0),d=null,p=OD(l),h=f.isStatic?void 0:ND(),v=o(l,f.isStatic);return!f.isStatic&&jo&&(p.visualElement=AD(s,v,N(N({},f),l),n),DD(h,l,p.visualElement,r||da.projectionNodeConstructor),d=wD(l,p.visualElement,t)),m.exports.createElement(MD,{visualElement:p.visualElement,props:N(N({},f),l)},d,m.exports.createElement($f.Provider,{value:p},i(s,l,h,$D(v,p.visualElement,u),v,f.isStatic,p.visualElement)))}return m.exports.forwardRef(a)}function FD(e){var t,n=e.layoutId,r=(t=m.exports.useContext(CS))===null||t===void 0?void 0:t.id;return r&&n!==void 0?r+"-"+n:n}function ID(e){function t(r,i){return i===void 0&&(i={}),LD(e(r,i))}if(typeof Proxy=="undefined")return t;var n=new Map;return new Proxy(t,{get:function(r,i){return n.has(i)||n.set(i,t(i)),n.get(i)}})}var BD=["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 y0(e){return typeof e!="string"||e.includes("-")?!1:!!(BD.indexOf(e)>-1||/[A-Z]/.test(e))}var nc={};function UD(e){Object.assign(nc,e)}var Hh=["","X","Y","Z"],VD=["translate","scale","rotate","skew"],pa=["transformPerspective","x","y","z"];VD.forEach(function(e){return Hh.forEach(function(t){return pa.push(e+t)})});function jD(e,t){return pa.indexOf(e)-pa.indexOf(t)}var zD=new Set(pa);function Da(e){return zD.has(e)}var HD=new Set(["originX","originY","originZ"]);function $S(e){return HD.has(e)}function TS(e,t){var n=t.layout,r=t.layoutId;return Da(e)||$S(e)||(n||r!==void 0)&&(!!nc[e]||e==="opacity")}var jn=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},GD={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function YD(e,t,n,r){var i=e.transform,o=e.transformKeys,s=t.enableHardwareAcceleration,a=s===void 0?!0:s,l=t.allowTransformNone,u=l===void 0?!0:l,c="";o.sort(jD);for(var f=!1,d=o.length,p=0;p<d;p++){var h=o[p];c+="".concat(GD[h]||h,"(").concat(i[h],") "),h==="z"&&(f=!0)}return!f&&a?c+="translateZ(0)":c=c.trim(),r?c=r(i,n?"":c):u&&n&&(c="none"),c}function WD(e){var t=e.originX,n=t===void 0?"50%":t,r=e.originY,i=r===void 0?"50%":r,o=e.originZ,s=o===void 0?0:o;return"".concat(n," ").concat(i," ").concat(s)}function RS(e){return e.startsWith("--")}var qD=function(e,t){return t&&typeof e=="number"?t.transform(e):e};const PS=(e,t)=>n=>Math.max(Math.min(n,t),e),$s=e=>e%1?Number(e.toFixed(5)):e,ha=/(-)?([\d]*\.?[\d])+/g,Gh=/(#[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,XD=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ma(e){return typeof e=="string"}const bi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ts=Object.assign(Object.assign({},bi),{transform:PS(0,1)}),Cl=Object.assign(Object.assign({},bi),{default:1}),La=e=>({test:t=>Ma(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),er=La("deg"),xn=La("%"),Q=La("px"),QD=La("vh"),KD=La("vw"),o_=Object.assign(Object.assign({},xn),{parse:e=>xn.parse(e)/100,transform:e=>xn.transform(e*100)}),_0=(e,t)=>n=>Boolean(Ma(n)&&XD.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),OS=(e,t,n)=>r=>{if(!Ma(r))return r;const[i,o,s,a]=r.match(ha);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},ni={test:_0("hsl","hue"),parse:OS("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+xn.transform($s(t))+", "+xn.transform($s(n))+", "+$s(Ts.transform(r))+")"},ZD=PS(0,255),Vd=Object.assign(Object.assign({},bi),{transform:e=>Math.round(ZD(e))}),hr={test:_0("rgb","red"),parse:OS("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Vd.transform(e)+", "+Vd.transform(t)+", "+Vd.transform(n)+", "+$s(Ts.transform(r))+")"};function JD(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Yh={test:_0("#"),parse:JD,transform:hr.transform},ct={test:e=>hr.test(e)||Yh.test(e)||ni.test(e),parse:e=>hr.test(e)?hr.parse(e):ni.test(e)?ni.parse(e):Yh.parse(e),transform:e=>Ma(e)?e:e.hasOwnProperty("red")?hr.transform(e):ni.transform(e)},kS="${c}",NS="${n}";function eM(e){var t,n,r,i;return isNaN(e)&&Ma(e)&&((n=(t=e.match(ha))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(Gh))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function DS(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Gh);r&&(n=r.length,e=e.replace(Gh,kS),t.push(...r.map(ct.parse)));const i=e.match(ha);return i&&(e=e.replace(ha,NS),t.push(...i.map(bi.parse))),{values:t,numColors:n,tokenised:e}}function MS(e){return DS(e).values}function LS(e){const{values:t,numColors:n,tokenised:r}=DS(e),i=t.length;return o=>{let s=r;for(let a=0;a<i;a++)s=s.replace(a<n?kS:NS,a<n?ct.transform(o[a]):$s(o[a]));return s}}const tM=e=>typeof e=="number"?0:e;function nM(e){const t=MS(e);return LS(e)(t.map(tM))}const zn={test:eM,parse:MS,createTransformer:LS,getAnimatableNone:nM},rM=new Set(["brightness","contrast","saturate","opacity"]);function iM(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ha)||[];if(!r)return e;const i=n.replace(r,"");let o=rM.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const oM=/([a-z-]*)\(.*?\)/g,Wh=Object.assign(Object.assign({},zn),{getAnimatableNone:e=>{const t=e.match(oM);return t?t.map(iM).join(" "):e}});var s_=N(N({},bi),{transform:Math.round}),FS={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:er,rotateX:er,rotateY:er,rotateZ:er,scale:Cl,scaleX:Cl,scaleY:Cl,scaleZ:Cl,skew:er,skewX:er,skewY:er,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:Ts,originX:o_,originY:o_,originZ:Q,zIndex:s_,fillOpacity:Ts,strokeOpacity:Ts,numOctaves:s_};function x0(e,t,n,r){var i,o=e.style,s=e.vars,a=e.transform,l=e.transformKeys,u=e.transformOrigin;l.length=0;var c=!1,f=!1,d=!0;for(var p in t){var h=t[p];if(RS(p)){s[p]=h;continue}var v=FS[p],x=qD(h,v);if(Da(p)){if(c=!0,a[p]=x,l.push(p),!d)continue;h!==((i=v.default)!==null&&i!==void 0?i:0)&&(d=!1)}else $S(p)?(u[p]=x,f=!0):o[p]=x}c?o.transform=YD(e,n,d,r):r?o.transform=r({},""):!t.transform&&o.transform&&(o.transform="none"),f&&(o.transformOrigin=WD(u))}var w0=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function IS(e,t,n){for(var r in t)!jn(t[r])&&!TS(r,n)&&(e[r]=t[r])}function sM(e,t,n){var r=e.transformTemplate;return m.exports.useMemo(function(){var i=w0();x0(i,t,{enableHardwareAcceleration:!n},r);var o=i.vars,s=i.style;return N(N({},o),s)},[t])}function aM(e,t,n){var r=e.style||{},i={};return IS(i,r,e),Object.assign(i,sM(e,t,n)),e.transformValues&&(i=e.transformValues(i)),i}function lM(e,t,n){var r={},i=aM(e,t,n);return Boolean(e.drag)&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),r.style=i,r}var uM=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 rc(e){return uM.has(e)}var BS=function(e){return!rc(e)};function cM(e){!e||(BS=function(t){return t.startsWith("on")?!rc(t):e(t)})}try{cM(require("@emotion/is-prop-valid").default)}catch{}function fM(e,t,n){var r={};for(var i in e)(BS(i)||n===!0&&rc(i)||!t&&!rc(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function a_(e,t,n){return typeof e=="string"?e:Q.transform(t+n*e)}function dM(e,t,n){var r=a_(t,e.x,e.width),i=a_(n,e.y,e.height);return"".concat(r," ").concat(i)}var pM={offset:"stroke-dashoffset",array:"stroke-dasharray"},hM={offset:"strokeDashoffset",array:"strokeDasharray"};function vM(e,t,n,r,i){n===void 0&&(n=1),r===void 0&&(r=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?pM:hM;e[o.offset]=Q.transform(-r);var s=Q.transform(t),a=Q.transform(n);e[o.array]="".concat(s," ").concat(a)}function E0(e,t,n,r){var i=t.attrX,o=t.attrY,s=t.originX,a=t.originY,l=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,f=t.pathOffset,d=f===void 0?0:f,p=St(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);x0(e,p,n,r),e.attrs=e.style,e.style={};var h=e.attrs,v=e.style,x=e.dimensions;h.transform&&(x&&(v.transform=h.transform),delete h.transform),x&&(s!==void 0||a!==void 0||v.transform)&&(v.transformOrigin=dM(x,s!==void 0?s:.5,a!==void 0?a:.5)),i!==void 0&&(h.x=i),o!==void 0&&(h.y=o),l!==void 0&&vM(h,l,c,d,!1)}var US=function(){return N(N({},w0()),{attrs:{}})};function mM(e,t){var n=m.exports.useMemo(function(){var i=US();return E0(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),N(N({},i.attrs),{style:N({},i.style)})},[t]);if(e.style){var r={};IS(r,e.style,e),n.style=N(N({},r),n.style)}return n}function gM(e){e===void 0&&(e=!1);var t=function(n,r,i,o,s,a){var l=s.latestValues,u=y0(n)?mM:lM,c=u(r,l,a),f=fM(r,typeof n=="string",e),d=N(N(N({},f),c),{ref:o});return i&&(d["data-projection-id"]=i),m.exports.createElement(n,d)};return t}var yM=/([a-z])([A-Z])/g,_M="$1-$2",VS=function(e){return e.replace(yM,_M).toLowerCase()};function jS(e,t,n,r){var i=t.style,o=t.vars;Object.assign(e.style,i,r&&r.getProjectionStyles(n));for(var s in o)e.style.setProperty(s,o[s])}var zS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function HS(e,t,n,r){jS(e,t,void 0,r);for(var i in t.attrs)e.setAttribute(zS.has(i)?i:VS(i),t.attrs[i])}function b0(e){var t=e.style,n={};for(var r in t)(jn(t[r])||TS(r,e))&&(n[r]=t[r]);return n}function GS(e){var t=b0(e);for(var n in e)if(jn(e[n])){var r=n==="x"||n==="y"?"attr"+n.toUpperCase():n;t[r]=e[n]}return t}function S0(e){return typeof e=="object"&&typeof e.start=="function"}var va=function(e){return Array.isArray(e)},xM=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},YS=function(e){return va(e)?e[e.length-1]||0:e};function iu(e){var t=jn(e)?e.get():e;return xM(t)?t.toValue():t}function l_(e,t,n,r){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,s=e.onMount,a={latestValues:wM(t,n,r,i),renderState:o()};return s&&(a.mount=function(l){return s(t,l,a)}),a}var WS=function(e){return function(t,n){var r=m.exports.useContext($f),i=m.exports.useContext(Tf);return n?l_(e,t,r,i):Of(function(){return l_(e,t,r,i)})}};function wM(e,t,n,r){var i={},o=(n==null?void 0:n.initial)===!1,s=r(e);for(var a in s)i[a]=iu(s[a]);var l=e.initial,u=e.animate,c=Pf(e),f=SS(e);t&&f&&!c&&e.inherit!==!1&&(l!=null||(l=t.initial),u!=null||(u=t.animate));var d=o||l===!1,p=d?u:l;if(p&&typeof p!="boolean"&&!S0(p)){var h=Array.isArray(p)?p:[p];h.forEach(function(v){var x=bS(e,v);if(!!x){var y=x.transitionEnd;x.transition;var _=St(x,["transitionEnd","transition"]);for(var g in _){var w=_[g];if(Array.isArray(w)){var E=d?w.length-1:0;w=w[E]}w!==null&&(i[g]=w)}for(var g in y)i[g]=y[g]}})}return i}var EM={useVisualState:WS({scrapeMotionValuesFromProps:GS,createRenderState:US,onMount:function(e,t,n){var r=n.renderState,i=n.latestValues;try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}E0(r,i,{enableHardwareAcceleration:!1},e.transformTemplate),HS(t,r)}})},bM={useVisualState:WS({scrapeMotionValuesFromProps:b0,createRenderState:w0})};function SM(e,t,n,r,i){var o=t.forwardMotionProps,s=o===void 0?!1:o,a=y0(e)?EM:bM;return N(N({},a),{preloadedFeatures:n,useRender:gM(s),createVisualElement:r,projectionNodeConstructor:i,Component:e})}var xe;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(xe||(xe={}));function kf(e,t,n,r){return r===void 0&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function qh(e,t,n,r){m.exports.useEffect(function(){var i=e.current;if(n&&i)return kf(i,t,n,r)},[e,t,n,r])}function CM(e){var t=e.whileFocus,n=e.visualElement,r=function(){var o;(o=n.animationState)===null||o===void 0||o.setActive(xe.Focus,!0)},i=function(){var o;(o=n.animationState)===null||o===void 0||o.setActive(xe.Focus,!1)};qh(n,"focus",t?r:void 0),qh(n,"blur",t?i:void 0)}function qS(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function XS(e){var t=!!e.touches;return t}function AM(e){return function(t){var n=t instanceof MouseEvent,r=!n||n&&t.button===0;r&&e(t)}}var $M={pageX:0,pageY:0};function TM(e,t){t===void 0&&(t="page");var n=e.touches[0]||e.changedTouches[0],r=n||$M;return{x:r[t+"X"],y:r[t+"Y"]}}function RM(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function C0(e,t){return t===void 0&&(t="page"),{point:XS(e)?TM(e,t):RM(e,t)}}var QS=function(e,t){t===void 0&&(t=!1);var n=function(r){return e(r,C0(r))};return t?AM(n):n},PM=function(){return jo&&window.onpointerdown===null},OM=function(){return jo&&window.ontouchstart===null},kM=function(){return jo&&window.onmousedown===null},NM={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},DM={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function KS(e){return PM()?e:OM()?DM[e]:kM()?NM[e]:e}function fo(e,t,n,r){return kf(e,KS(t),QS(n,t==="pointerdown"),r)}function ic(e,t,n,r){return qh(e,KS(t),n&&QS(n,t==="pointerdown"),r)}function ZS(e){var t=null;return function(){var n=function(){t=null};return t===null?(t=e,n):!1}}var u_=ZS("dragHorizontal"),c_=ZS("dragVertical");function JS(e){var t=!1;if(e==="y")t=c_();else if(e==="x")t=u_();else{var n=u_(),r=c_();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function eC(){var e=JS(!0);return e?(e(),!1):!0}function f_(e,t,n){return function(r,i){var o;!qS(r)||eC()||((o=e.animationState)===null||o===void 0||o.setActive(xe.Hover,t),n==null||n(r,i))}}function MM(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,i=e.visualElement;ic(i,"pointerenter",t||r?f_(i,!0,t):void 0,{passive:!t}),ic(i,"pointerleave",n||r?f_(i,!1,n):void 0,{passive:!n})}var tC=function(e,t){return t?e===t?!0:tC(e,t.parentElement):!1};function nC(e){return m.exports.useEffect(function(){return function(){return e()}},[])}const oc=(e,t,n)=>Math.min(Math.max(n,e),t),jd=.001,LM=.01,d_=10,FM=.05,IM=1;function BM({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;_D(e<=d_*1e3);let s=1-t;s=oc(FM,IM,s),e=oc(LM,d_,e/1e3),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,p=Xh(u,s),h=Math.exp(-f);return jd-d/p*h},o=u=>{const f=u*s*e,d=f*n+n,p=Math.pow(s,2)*Math.pow(u,2)*e,h=Math.exp(-f),v=Xh(Math.pow(u,2),s);return(-i(u)+jd>0?-1:1)*((d-p)*h)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-jd+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const a=5/e,l=VM(i,o,a);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const UM=12;function VM(e,t,n){let r=n;for(let i=1;i<UM;i++)r=r-e(r)/t(r);return r}function Xh(e,t){return e*Math.sqrt(1-t*t)}const jM=["duration","bounce"],zM=["stiffness","damping","mass"];function p_(e,t){return t.some(n=>e[n]!==void 0)}function HM(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!p_(e,zM)&&p_(e,jM)){const n=BM(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function A0(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,o=St(e,["from","to","restSpeed","restDelta"]);const s={done:!1,value:t};let{stiffness:a,damping:l,mass:u,velocity:c,duration:f,isResolvedFromDuration:d}=HM(o),p=h_,h=h_;function v(){const x=c?-(c/1e3):0,y=n-t,_=l/(2*Math.sqrt(a*u)),g=Math.sqrt(a/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const w=Xh(g,_);p=E=>{const b=Math.exp(-_*g*E);return n-b*((x+_*g*y)/w*Math.sin(w*E)+y*Math.cos(w*E))},h=E=>{const b=Math.exp(-_*g*E);return _*g*b*(Math.sin(w*E)*(x+_*g*y)/w+y*Math.cos(w*E))-b*(Math.cos(w*E)*(x+_*g*y)-w*y*Math.sin(w*E))}}else if(_===1)p=w=>n-Math.exp(-g*w)*(y+(x+g*y)*w);else{const w=g*Math.sqrt(_*_-1);p=E=>{const b=Math.exp(-_*g*E),S=Math.min(w*E,300);return n-b*((x+_*g*y)*Math.sinh(S)+w*y*Math.cosh(S))/w}}}return v(),{next:x=>{const y=p(x);if(d)s.done=x>=f;else{const _=h(x)*1e3,g=Math.abs(_)<=r,w=Math.abs(n-y)<=i;s.done=g&&w}return s.value=s.done?n:y,s},flipTarget:()=>{c=-c,[t,n]=[n,t],v()}}}A0.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const h_=e=>0,ma=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Ne=(e,t,n)=>-n*e+n*t+e;function zd(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 v_({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=zd(l,a,e+1/3),o=zd(l,a,e),s=zd(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const GM=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},YM=[Yh,hr,ni],m_=e=>YM.find(t=>t.test(e)),rC=(e,t)=>{let n=m_(e),r=m_(t),i=n.parse(e),o=r.parse(t);n===ni&&(i=v_(i),n=hr),r===ni&&(o=v_(o),r=hr);const s=Object.assign({},i);return a=>{for(const l in s)l!=="alpha"&&(s[l]=GM(i[l],o[l],a));return s.alpha=Ne(i.alpha,o.alpha,a),n.transform(s)}},Qh=e=>typeof e=="number",WM=(e,t)=>n=>t(e(n)),Nf=(...e)=>e.reduce(WM);function iC(e,t){return Qh(e)?n=>Ne(e,t,n):ct.test(e)?rC(e,t):sC(e,t)}const oC=(e,t)=>{const n=[...e],r=n.length,i=e.map((o,s)=>iC(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}},qM=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=iC(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}};function g_(e){const t=zn.parse(e),n=t.length;let r=0,i=0,o=0;for(let s=0;s<n;s++)r||typeof t[s]=="number"?r++:t[s].hue!==void 0?o++:i++;return{parsed:t,numNumbers:r,numRGB:i,numHSL:o}}const sC=(e,t)=>{const n=zn.createTransformer(t),r=g_(e),i=g_(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?Nf(oC(r.parsed,i.parsed),n):s=>`${s>0?t:e}`},XM=(e,t)=>n=>Ne(e,t,n);function QM(e){if(typeof e=="number")return XM;if(typeof e=="string")return ct.test(e)?rC:sC;if(Array.isArray(e))return oC;if(typeof e=="object")return qM}function KM(e,t,n){const r=[],i=n||QM(e[0]),o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]:t;a=Nf(l,a)}r.push(a)}return r}function ZM([e,t],[n]){return r=>n(ma(e,t,r))}function JM(e,t){const n=e.length,r=n-1;return i=>{let o=0,s=!1;if(i<=e[0]?s=!0:i>=e[r]&&(o=r-1,s=!0),!s){let l=1;for(;l<n&&!(e[l]>i||l===r);l++);o=l-1}const a=ma(e[o],e[o+1],i);return t[o](a)}}function aC(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;tc(o===t.length),tc(!r||!Array.isArray(r)||r.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const s=KM(t,r,i),a=o===2?ZM(e,s):JM(e,s);return n?l=>a(oc(e[0],e[o-1],l)):a}const Df=e=>t=>1-e(1-t),$0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eL=e=>t=>Math.pow(t,e),lC=e=>t=>t*t*((e+1)*t-e),tL=e=>{const t=lC(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},uC=1.525,nL=4/11,rL=8/11,iL=9/10,T0=e=>e,R0=eL(2),oL=Df(R0),cC=$0(R0),fC=e=>1-Math.sin(Math.acos(e)),P0=Df(fC),sL=$0(P0),O0=lC(uC),aL=Df(O0),lL=$0(O0),uL=tL(uC),cL=4356/361,fL=35442/1805,dL=16061/1805,sc=e=>{if(e===1||e===0)return e;const t=e*e;return e<nL?7.5625*t:e<rL?9.075*t-9.9*e+3.4:e<iL?cL*t-fL*e+dL:10.8*e*e-20.52*e+10.72},pL=Df(sc),hL=e=>e<.5?.5*(1-sc(1-e*2)):.5*sc(e*2-1)+.5;function vL(e,t){return e.map(()=>t||cC).splice(0,e.length-1)}function mL(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function gL(e,t){return e.map(n=>n*t)}function ou({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const o={done:!1,value:e},s=Array.isArray(t)?t:[e,t],a=gL(r&&r.length===s.length?r:mL(s),i);function l(){return aC(a,s,{ease:Array.isArray(n)?n:vL(s,n)})}let u=l();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{s.reverse(),u=l()}}}function yL({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){const s={done:!1,value:t};let a=n*e;const l=t+a,u=o===void 0?l:o(l);return u!==l&&(a=u-t),{next:c=>{const f=-a*Math.exp(-c/r);return s.done=!(f>i||f<-i),s.value=s.done?u:u+f,s},flipTarget:()=>{}}}const y_={keyframes:ou,spring:A0,decay:yL};function _L(e){if(Array.isArray(e.to))return ou;if(y_[e.type])return y_[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?ou:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?A0:ou}const dC=1/60*1e3,xL=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),pC=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(xL()),dC);function wL(e){let t=[],n=[],r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const f=c&&i,d=f?t:n;return u&&s.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!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),s.has(c)&&(a.schedule(c),e())}i=!1,o&&(o=!1,a.process(l))}};return a}const EL=40;let Kh=!0,ga=!1,Zh=!1;const po={delta:0,timestamp:0},Fa=["read","update","preRender","render","postRender"],Mf=Fa.reduce((e,t)=>(e[t]=wL(()=>ga=!0),e),{}),wn=Fa.reduce((e,t)=>{const n=Mf[t];return e[t]=(r,i=!1,o=!1)=>(ga||SL(),n.schedule(r,i,o)),e},{}),Po=Fa.reduce((e,t)=>(e[t]=Mf[t].cancel,e),{}),Hd=Fa.reduce((e,t)=>(e[t]=()=>Mf[t].process(po),e),{}),bL=e=>Mf[e].process(po),hC=e=>{ga=!1,po.delta=Kh?dC:Math.max(Math.min(e-po.timestamp,EL),1),po.timestamp=e,Zh=!0,Fa.forEach(bL),Zh=!1,ga&&(Kh=!1,pC(hC))},SL=()=>{ga=!0,Kh=!0,Zh||pC(hC)},ac=()=>po;function vC(e,t,n=0){return e-t-n}function CL(e,t,n=0,r=!0){return r?vC(t+-e,t,n):t-(e-t)+n}function AL(e,t,n,r){return r?e>=t+n:e<=-n}const $L=e=>{const t=({delta:n})=>e(n);return{start:()=>wn.update(t,!0),stop:()=>Po.update(t)}};function mC(e){var t,n,{from:r,autoplay:i=!0,driver:o=$L,elapsed:s=0,repeat:a=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:f,onComplete:d,onRepeat:p,onUpdate:h}=e,v=St(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:x}=v,y,_=0,g=v.duration,w,E=!1,b=!0,S;const C=_L(v);!((n=(t=C).needsInterpolation)===null||n===void 0)&&n.call(t,r,x)&&(S=aC([0,100],[r,x],{clamp:!1}),r=0,x=100);const $=C(Object.assign(Object.assign({},v),{from:r,to:x}));function P(){_++,l==="reverse"?(b=_%2===0,s=CL(s,g,u,b)):(s=vC(s,g,u),l==="mirror"&&$.flipTarget()),E=!1,p&&p()}function j(){y.stop(),d&&d()}function U(V){if(b||(V=-V),s+=V,!E){const J=$.next(Math.max(0,s));w=J.value,S&&(w=S(w)),E=b?J.done:s<=0}h==null||h(w),E&&(_===0&&(g!=null||(g=s)),_<a?AL(s,g,u,b)&&P():j())}function H(){c==null||c(),y=o(U),y.start()}return i&&H(),{stop:()=>{f==null||f(),y.stop()}}}function gC(e,t){return t?e*(1e3/t):0}function TL({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:f,onComplete:d,onStop:p}){let h;function v(g){return n!==void 0&&g<n||r!==void 0&&g>r}function x(g){return n===void 0?r:r===void 0||Math.abs(n-g)<Math.abs(r-g)?n:r}function y(g){h==null||h.stop(),h=mC(Object.assign(Object.assign({},g),{driver:c,onUpdate:w=>{var E;f==null||f(w),(E=g.onUpdate)===null||E===void 0||E.call(g,w)},onComplete:d,onStop:p}))}function _(g){y(Object.assign({type:"spring",stiffness:s,damping:a,restDelta:l},g))}if(v(e))_({from:e,velocity:t,to:x(e)});else{let g=i*t+e;typeof u!="undefined"&&(g=u(g));const w=x(g),E=w===n?-1:1;let b,S;const C=$=>{b=S,S=$,t=gC($-b,ac().delta),(E===1&&$>w||E===-1&&$<w)&&_({from:$,to:w,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:l,modifyTarget:u,onUpdate:v(g)?C:void 0})}return{stop:()=>h==null?void 0:h.stop()}}const Jh=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),__=e=>Jh(e)&&e.hasOwnProperty("z"),Al=(e,t)=>Math.abs(e-t);function yC(e,t){if(Qh(e)&&Qh(t))return Al(e,t);if(Jh(e)&&Jh(t)){const n=Al(e.x,t.x),r=Al(e.y,t.y),i=__(e)&&__(t)?Al(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}const _C=(e,t)=>1-3*t+3*e,xC=(e,t)=>3*t-6*e,wC=e=>3*e,lc=(e,t,n)=>((_C(t,n)*e+xC(t,n))*e+wC(t))*e,EC=(e,t,n)=>3*_C(t,n)*e*e+2*xC(t,n)*e+wC(t),RL=1e-7,PL=10;function OL(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=lc(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>RL&&++a<PL);return s}const kL=8,NL=.001;function DL(e,t,n,r){for(let i=0;i<kL;++i){const o=EC(t,n,r);if(o===0)return t;t-=(lc(t,n,r)-e)/o}return t}const su=11,$l=1/(su-1);function ML(e,t,n,r){if(e===t&&n===r)return T0;const i=new Float32Array(su);for(let s=0;s<su;++s)i[s]=lc(s*$l,e,n);function o(s){let a=0,l=1;const u=su-1;for(;l!==u&&i[l]<=s;++l)a+=$l;--l;const c=(s-i[l])/(i[l+1]-i[l]),f=a+c*$l,d=EC(f,e,n);return d>=NL?DL(s,f,e,n):d===0?f:OL(s,a,a+$l,e,n)}return s=>s===0||s===1?s:lc(o(s),t,r)}function LL(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,i=e.whileTap,o=e.visualElement,s=t||n||r||i,a=m.exports.useRef(!1),l=m.exports.useRef(null),u={passive:!(n||t||r||h)};function c(){var v;(v=l.current)===null||v===void 0||v.call(l),l.current=null}function f(){var v;return c(),a.current=!1,(v=o.animationState)===null||v===void 0||v.setActive(xe.Tap,!1),!eC()}function d(v,x){!f()||(tC(o.getInstance(),v.target)?t==null||t(v,x):r==null||r(v,x))}function p(v,x){!f()||r==null||r(v,x)}function h(v,x){var y;c(),!a.current&&(a.current=!0,l.current=Nf(fo(window,"pointerup",d,u),fo(window,"pointercancel",p,u)),(y=o.animationState)===null||y===void 0||y.setActive(xe.Tap,!0),n==null||n(v,x))}ic(o,"pointerdown",s?h:void 0,u),nC(c)}var x_=new Set;function FL(e,t,n){e||x_.has(t)||(console.warn(t),n&&console.warn(n),x_.add(t))}var ev=new WeakMap,Gd=new WeakMap,IL=function(e){var t;(t=ev.get(e.target))===null||t===void 0||t(e)},BL=function(e){e.forEach(IL)};function UL(e){var t=e.root,n=St(e,["root"]),r=t||document;Gd.has(r)||Gd.set(r,{});var i=Gd.get(r),o=JSON.stringify(n);return i[o]||(i[o]=new IntersectionObserver(BL,N({root:t},n))),i[o]}function VL(e,t,n){var r=UL(t);return ev.set(e,n),r.observe(e),function(){ev.delete(e),r.unobserve(e)}}function jL(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,s=o===void 0?{}:o,a=m.exports.useRef({hasEnteredView:!1,isInView:!1}),l=Boolean(n||r||i);s.once&&a.current.hasEnteredView&&(l=!1);var u=typeof IntersectionObserver=="undefined"?GL:HL;u(l,a.current,t,s)}var zL={some:0,all:1};function HL(e,t,n,r){var i=r.root,o=r.margin,s=r.amount,a=s===void 0?"some":s,l=r.once;m.exports.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof a=="number"?a:zL[a]},c=function(f){var d,p=f.isIntersecting;if(t.isInView!==p&&(t.isInView=p,!(l&&!p&&t.hasEnteredView))){p&&(t.hasEnteredView=!0),(d=n.animationState)===null||d===void 0||d.setActive(xe.InView,p);var h=n.getProps(),v=p?h.onViewportEnter:h.onViewportLeave;v==null||v(f)}};return VL(n.getInstance(),u,c)}},[e,i,o,a])}function GL(e,t,n,r){var i=r.fallback,o=i===void 0?!0:i;m.exports.useEffect(function(){!e||!o||(yS!=="production"&&FL(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var s;t.hasEnteredView=!0;var a=n.getProps().onViewportEnter;a==null||a(null),(s=n.animationState)===null||s===void 0||s.setActive(xe.InView,!0)}))},[e])}var vr=function(e){return function(t){return e(t),null}},YL={inView:vr(jL),tap:vr(LL),focus:vr(CM),hover:vr(MM)},WL=0,qL=function(){return WL++},XL=function(){return Of(qL)};function bC(){var e=m.exports.useContext(Tf);if(e===null)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,i=XL();m.exports.useEffect(function(){return r(i)},[]);var o=function(){return n==null?void 0:n(i)};return!t&&n?[!1,o]:[!0]}function SC(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 uc=function(e){return e*1e3},QL={linear:T0,easeIn:R0,easeInOut:cC,easeOut:oL,circIn:fC,circInOut:sL,circOut:P0,backIn:O0,backInOut:lL,backOut:aL,anticipate:uL,bounceIn:pL,bounceInOut:hL,bounceOut:sc},w_=function(e){if(Array.isArray(e)){tc(e.length===4);var t=Ye(e,4),n=t[0],r=t[1],i=t[2],o=t[3];return ML(n,r,i,o)}else if(typeof e=="string")return QL[e];return e},KL=function(e){return Array.isArray(e)&&typeof e[0]!="number"},E_=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&zn.test(t)&&!t.startsWith("url("))},Hr=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Tl=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},Yd=function(){return{type:"keyframes",ease:"linear",duration:.3}},ZL=function(e){return{type:"keyframes",duration:.8,values:e}},b_={x:Hr,y:Hr,z:Hr,rotate:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scaleX:Tl,scaleY:Tl,scale:Tl,opacity:Yd,backgroundColor:Yd,color:Yd,default:Tl},JL=function(e,t){var n;return va(t)?n=ZL:n=b_[e]||b_.default,N({to:t},n(t))},eF=N(N({},FS),{color:ct,backgroundColor:ct,outlineColor:ct,fill:ct,stroke:ct,borderColor:ct,borderTopColor:ct,borderRightColor:ct,borderBottomColor:ct,borderLeftColor:ct,filter:Wh,WebkitFilter:Wh}),k0=function(e){return eF[e]};function N0(e,t){var n,r=k0(e);return r!==Wh&&(r=zn),(n=r.getAnimatableNone)===null||n===void 0?void 0:n.call(r,t)}var tF={current:!1};function nF(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=St(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function rF(e){var t=e.ease,n=e.times,r=e.yoyo,i=e.flip,o=e.loop,s=St(e,["ease","times","yoyo","flip","loop"]),a=N({},s);return n&&(a.offset=n),s.duration&&(a.duration=uc(s.duration)),s.repeatDelay&&(a.repeatDelay=uc(s.repeatDelay)),t&&(a.ease=KL(t)?t.map(w_):w_(t)),s.type==="tween"&&(a.type="keyframes"),(r||o||i)&&(r?a.repeatType="reverse":o?a.repeatType="loop":i&&(a.repeatType="mirror"),a.repeat=o||r||i||s.repeat),s.type!=="spring"&&(a.type="keyframes"),a}function iF(e,t){var n,r,i=D0(e,t)||{};return(r=(n=i.delay)!==null&&n!==void 0?n:e.delay)!==null&&r!==void 0?r:0}function oF(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=an([],Ye(e.to),!1),e.to[0]=e.from),e}function sF(e,t,n){var r;return Array.isArray(t.to)&&((r=e.duration)!==null&&r!==void 0||(e.duration=.8)),oF(t),nF(e)||(e=N(N({},e),JL(n,t.to))),N(N({},t),rF(e))}function aF(e,t,n,r,i){var o,s=D0(r,e),a=(o=s.from)!==null&&o!==void 0?o:t.get(),l=E_(e,n);a==="none"&&l&&typeof n=="string"?a=N0(e,n):S_(a)&&typeof n=="string"?a=C_(n):!Array.isArray(n)&&S_(n)&&typeof a=="string"&&(n=C_(a));var u=E_(e,a);function c(){var d={from:a,to:n,velocity:t.getVelocity(),onComplete:i,onUpdate:function(p){return t.set(p)}};return s.type==="inertia"||s.type==="decay"?TL(N(N({},d),s)):mC(N(N({},sF(s,d,e)),{onUpdate:function(p){var h;d.onUpdate(p),(h=s.onUpdate)===null||h===void 0||h.call(s,p)},onComplete:function(){var p;d.onComplete(),(p=s.onComplete)===null||p===void 0||p.call(s)}}))}function f(){var d,p,h=YS(n);return t.set(h),i(),(d=s==null?void 0:s.onUpdate)===null||d===void 0||d.call(s,h),(p=s==null?void 0:s.onComplete)===null||p===void 0||p.call(s),{stop:function(){}}}return!u||!l||s.type===!1?f:c}function S_(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function C_(e){return typeof e=="number"?0:N0("",e)}function D0(e,t){return e[t]||e.default||e}function M0(e,t,n,r){return r===void 0&&(r={}),tF.current&&(r={type:!1}),t.start(function(i){var o,s,a=aF(e,t,n,r,i),l=iF(r,e),u=function(){return s=a()};return l?o=window.setTimeout(u,uc(l)):u(),function(){clearTimeout(o),s==null||s.stop()}})}var lF=function(e){return/^\-?\d*\.?\d+$/.test(e)},uF=function(e){return/^0[^.\s]+$/.test(e)};function L0(e,t){e.indexOf(t)===-1&&e.push(t)}function F0(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Rs=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var n=this;return L0(this.subscriptions,t),function(){return F0(n.subscriptions,t)}},e.prototype.notify=function(t,n,r){var i=this.subscriptions.length;if(!!i)if(i===1)this.subscriptions[0](t,n,r);else for(var o=0;o<i;o++){var s=this.subscriptions[o];s&&s(t,n,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),cF=function(e){return!isNaN(parseFloat(e))},fF=function(){function e(t){var n=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Rs,this.velocityUpdateSubscribers=new Rs,this.renderSubscribers=new Rs,this.canTrackVelocity=!1,this.updateAndNotify=function(r,i){i===void 0&&(i=!0),n.prev=n.current,n.current=r;var o=ac(),s=o.delta,a=o.timestamp;n.lastUpdated!==a&&(n.timeDelta=s,n.lastUpdated=a,wn.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),i&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return wn.postRender(n.velocityCheck)},this.velocityCheck=function(r){var i=r.timestamp;i!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=cF(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?gC(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 Oo(e){return new fF(e)}var CC=function(e){return function(t){return t.test(e)}},dF={test:function(e){return e==="auto"},parse:function(e){return e}},AC=[bi,Q,xn,er,KD,QD,dF],ts=function(e){return AC.find(CC(e))},pF=an(an([],Ye(AC),!1),[ct,zn],!1),hF=function(e){return pF.find(CC(e))};function vF(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Oo(n))}function mF(e,t){var n=Rf(e,t),r=n?e.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,o=i===void 0?{}:i;r.transition;var s=St(r,["transitionEnd","transition"]);s=N(N({},s),o);for(var a in s){var l=YS(s[a]);vF(e,a,l)}}function gF(e,t,n){var r,i,o,s,a=Object.keys(t).filter(function(p){return!e.hasValue(p)}),l=a.length;if(!!l)for(var u=0;u<l;u++){var c=a[u],f=t[c],d=null;Array.isArray(f)&&(d=f[0]),d===null&&(d=(i=(r=n[c])!==null&&r!==void 0?r:e.readValue(c))!==null&&i!==void 0?i:t[c]),d!=null&&(typeof d=="string"&&(lF(d)||uF(d))?d=parseFloat(d):!hF(d)&&zn.test(f)&&(d=N0(c,f)),e.addValue(c,Oo(d)),(o=(s=n)[c])!==null&&o!==void 0||(s[c]=d),e.setBaseTarget(c,d))}}function yF(e,t){if(!!t){var n=t[e]||t.default||t;return n.from}}function _F(e,t,n){var r,i,o={};for(var s in e)o[s]=(r=yF(s,t))!==null&&r!==void 0?r:(i=n.getValue(s))===null||i===void 0?void 0:i.get();return o}function xF(e,t,n){n===void 0&&(n={}),e.notifyAnimationStart(t);var r;if(Array.isArray(t)){var i=t.map(function(s){return tv(e,s,n)});r=Promise.all(i)}else if(typeof t=="string")r=tv(e,t,n);else{var o=typeof t=="function"?Rf(e,t,n.custom):t;r=$C(e,o,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}function tv(e,t,n){var r;n===void 0&&(n={});var i=Rf(e,t,n.custom),o=(i||{}).transition,s=o===void 0?e.getDefaultTransition()||{}:o;n.transitionOverride&&(s=n.transitionOverride);var a=i?function(){return $C(e,i,n)}:function(){return Promise.resolve()},l=!((r=e.variantChildren)===null||r===void 0)&&r.size?function(p){p===void 0&&(p=0);var h=s.delayChildren,v=h===void 0?0:h,x=s.staggerChildren,y=s.staggerDirection;return wF(e,t,v+p,x,y,n)}:function(){return Promise.resolve()},u=s.when;if(u){var c=Ye(u==="beforeChildren"?[a,l]:[l,a],2),f=c[0],d=c[1];return f().then(d)}else return Promise.all([a(),l(n.delay)])}function $C(e,t,n){var r,i=n===void 0?{}:n,o=i.delay,s=o===void 0?0:o,a=i.transitionOverride,l=i.type,u=e.makeTargetAnimatable(t),c=u.transition,f=c===void 0?e.getDefaultTransition():c,d=u.transitionEnd,p=St(u,["transition","transitionEnd"]);a&&(f=a);var h=[],v=l&&((r=e.animationState)===null||r===void 0?void 0:r.getState()[l]);for(var x in p){var y=e.getValue(x),_=p[x];if(!(!y||_===void 0||v&&bF(v,x))){var g=N({delay:s},f);e.shouldReduceMotion&&Da(x)&&(g=N(N({},g),{type:!1,delay:0}));var w=M0(x,y,_,g);h.push(w)}}return Promise.all(h).then(function(){d&&mF(e,d)})}function wF(e,t,n,r,i,o){n===void 0&&(n=0),r===void 0&&(r=0),i===void 0&&(i=1);var s=[],a=(e.variantChildren.size-1)*r,l=i===1?function(u){return u===void 0&&(u=0),u*r}:function(u){return u===void 0&&(u=0),a-u*r};return Array.from(e.variantChildren).sort(EF).forEach(function(u,c){s.push(tv(u,t,N(N({},o),{delay:n+l(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(s)}function EF(e,t){return e.sortNodePosition(t)}function bF(e,t){var n=e.protectedKeys,r=e.needsAnimating,i=n.hasOwnProperty(t)&&r[t]!==!0;return r[t]=!1,i}var I0=[xe.Animate,xe.InView,xe.Focus,xe.Hover,xe.Tap,xe.Drag,xe.Exit],SF=an([],Ye(I0),!1).reverse(),CF=I0.length;function AF(e){return function(t){return Promise.all(t.map(function(n){var r=n.animation,i=n.options;return xF(e,r,i)}))}}function $F(e){var t=AF(e),n=RF(),r={},i=!0,o=function(c,f){var d=Rf(e,f);if(d){d.transition;var p=d.transitionEnd,h=St(d,["transition","transitionEnd"]);c=N(N(N({},c),h),p)}return c};function s(c){return r[c]!==void 0}function a(c){t=c(e)}function l(c,f){for(var d,p=e.getProps(),h=e.getVariantContext(!0)||{},v=[],x=new Set,y={},_=1/0,g=function(S){var C=SF[S],$=n[C],P=(d=p[C])!==null&&d!==void 0?d:h[C],j=en(P),U=C===f?$.isActive:null;U===!1&&(_=S);var H=P===h[C]&&P!==p[C]&&j;if(H&&i&&e.manuallyAnimateOnMount&&(H=!1),$.protectedKeys=N({},y),!$.isActive&&U===null||!P&&!$.prevProp||S0(P)||typeof P=="boolean")return"continue";var V=TF($.prevProp,P),J=V||C===f&&$.isActive&&!H&&j||S>_&&j,Ee=Array.isArray(P)?P:[P],ie=Ee.reduce(o,{});U===!1&&(ie={});var F=$.prevResolvedValues,G=F===void 0?{}:F,W=N(N({},G),ie),re=function(k){J=!0,x.delete(k),$.needsAnimating[k]=!0};for(var D in W){var O=ie[D],T=G[D];y.hasOwnProperty(D)||(O!==T?va(O)&&va(T)?!SC(O,T)||V?re(D):$.protectedKeys[D]=!0:O!==void 0?re(D):x.add(D):O!==void 0&&x.has(D)?re(D):$.protectedKeys[D]=!0)}$.prevProp=P,$.prevResolvedValues=ie,$.isActive&&(y=N(N({},y),ie)),i&&e.blockInitialAnimation&&(J=!1),J&&!H&&v.push.apply(v,an([],Ye(Ee.map(function(k){return{animation:k,options:N({type:C},c)}})),!1))},w=0;w<CF;w++)g(w);if(r=N({},y),x.size){var E={};x.forEach(function(S){var C=e.getBaseTarget(S);C!==void 0&&(E[S]=C)}),v.push({animation:E})}var b=Boolean(v.length);return i&&p.initial===!1&&!e.manuallyAnimateOnMount&&(b=!1),i=!1,b?t(v):Promise.resolve()}function u(c,f,d){var p;if(n[c].isActive===f)return Promise.resolve();(p=e.variantChildren)===null||p===void 0||p.forEach(function(x){var y;return(y=x.animationState)===null||y===void 0?void 0:y.setActive(c,f)}),n[c].isActive=f;var h=l(d,c);for(var v in n)n[v].protectedKeys={};return h}return{isAnimated:s,animateChanges:l,setActive:u,setAnimateFunction:a,getState:function(){return n}}}function TF(e,t){return typeof t=="string"?t!==e:ES(t)?!SC(t,e):!1}function Gr(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function RF(){var e;return e={},e[xe.Animate]=Gr(!0),e[xe.InView]=Gr(),e[xe.Hover]=Gr(),e[xe.Tap]=Gr(),e[xe.Drag]=Gr(),e[xe.Focus]=Gr(),e[xe.Exit]=Gr(),e}var PF={animation:vr(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=$F(t)),S0(n)&&m.exports.useEffect(function(){return n.subscribe(t)},[n])}),exit:vr(function(e){var t=e.custom,n=e.visualElement,r=Ye(bC(),2),i=r[0],o=r[1],s=m.exports.useContext(Tf);m.exports.useEffect(function(){var a,l;n.isPresent=i;var u=(a=n.animationState)===null||a===void 0?void 0:a.setActive(xe.Exit,!i,{custom:(l=s==null?void 0:s.custom)!==null&&l!==void 0?l:t});!i&&(u==null||u.then(o))},[i])})},TC=function(){function e(t,n,r){var i=this,o=r===void 0?{}:r,s=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var d=qd(i.lastMoveEventInfo,i.history),p=i.startEvent!==null,h=yC(d.offset,{x:0,y:0})>=3;if(!(!p&&!h)){var v=d.point,x=ac().timestamp;i.history.push(N(N({},v),{timestamp:x}));var y=i.handlers,_=y.onStart,g=y.onMove;p||(_&&_(i.lastMoveEvent,d),i.startEvent=i.lastMoveEvent),g&&g(i.lastMoveEvent,d)}}},this.handlePointerMove=function(d,p){if(i.lastMoveEvent=d,i.lastMoveEventInfo=Wd(p,i.transformPagePoint),qS(d)&&d.buttons===0){i.handlePointerUp(d,p);return}wn.update(i.updatePoint,!0)},this.handlePointerUp=function(d,p){i.end();var h=i.handlers,v=h.onEnd,x=h.onSessionEnd,y=qd(Wd(p,i.transformPagePoint),i.history);i.startEvent&&v&&v(d,y),x&&x(d,y)},!(XS(t)&&t.touches.length>1)){this.handlers=n,this.transformPagePoint=s;var a=C0(t),l=Wd(a,this.transformPagePoint),u=l.point,c=ac().timestamp;this.history=[N(N({},u),{timestamp:c})];var f=n.onSessionStart;f&&f(t,qd(l,this.history)),this.removeListeners=Nf(fo(window,"pointermove",this.handlePointerMove),fo(window,"pointerup",this.handlePointerUp),fo(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Po.update(this.updatePoint)},e}();function Wd(e,t){return t?{point:t(e.point)}:e}function A_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qd(e,t){var n=e.point;return{point:n,delta:A_(n,RC(t)),offset:A_(n,OF(t)),velocity:kF(t,.1)}}function OF(e){return e[0]}function RC(e){return e[e.length-1]}function kF(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,i=RC(e);n>=0&&(r=e[n],!(i.timestamp-r.timestamp>uc(t)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(o===0)return{x:0,y:0};var s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Hn(e){return e.max-e.min}function $_(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=.01),yC(e,t)<n}function T_(e,t,n,r){r===void 0&&(r=.5),e.origin=r,e.originPoint=Ne(t.min,t.max,e.origin),e.scale=Hn(n)/Hn(t),($_(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ne(n.min,n.max,e.origin)-e.originPoint,($_(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ps(e,t,n,r){T_(e.x,t.x,n.x,r==null?void 0:r.originX),T_(e.y,t.y,n.y,r==null?void 0:r.originY)}function R_(e,t,n){e.min=n.min+t.min,e.max=e.min+Hn(t)}function NF(e,t,n){R_(e.x,t.x,n.x),R_(e.y,t.y,n.y)}function P_(e,t,n){e.min=t.min-n.min,e.max=e.min+Hn(t)}function Os(e,t,n){P_(e.x,t.x,n.x),P_(e.y,t.y,n.y)}function DF(e,t,n){var r=t.min,i=t.max;return r!==void 0&&e<r?e=n?Ne(r,e,n.min):Math.max(e,r):i!==void 0&&e>i&&(e=n?Ne(i,e,n.max):Math.min(e,i)),e}function O_(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 MF(e,t){var n=t.top,r=t.left,i=t.bottom,o=t.right;return{x:O_(e.x,r,o),y:O_(e.y,n,i)}}function k_(e,t){var n,r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=Ye([i,r],2),r=n[0],i=n[1]),{min:r,max:i}}function LF(e,t){return{x:k_(e.x,t.x),y:k_(e.y,t.y)}}function FF(e,t){var n=.5,r=Hn(e),i=Hn(t);return i>r?n=ma(t.min,t.max-r,e.min):r>i&&(n=ma(e.min,e.max-i,t.min)),oc(0,1,n)}function IF(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 nv=.35;function BF(e){return e===void 0&&(e=nv),e===!1?e=0:e===!0&&(e=nv),{x:N_(e,"left","right"),y:N_(e,"top","bottom")}}function N_(e,t,n){return{min:D_(e,t),max:D_(e,n)}}function D_(e,t){var n;return typeof e=="number"?e:(n=e[t])!==null&&n!==void 0?n:0}var M_=function(){return{translate:0,scale:1,origin:0,originPoint:0}},ks=function(){return{x:M_(),y:M_()}},L_=function(){return{min:0,max:0}},it=function(){return{x:L_(),y:L_()}};function pn(e){return[e("x"),e("y")]}function PC(e){var t=e.top,n=e.left,r=e.right,i=e.bottom;return{x:{min:n,max:r},y:{min:t,max:i}}}function UF(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function VF(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 Xd(e){return e===void 0||e===1}function OC(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!Xd(t)||!Xd(n)||!Xd(r)}function tr(e){return OC(e)||F_(e.x)||F_(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function F_(e){return e&&e!=="0%"}function cc(e,t,n){var r=e-n,i=t*r;return n+i}function I_(e,t,n,r,i){return i!==void 0&&(e=cc(e,i,r)),cc(e,n,r)+t}function rv(e,t,n,r,i){t===void 0&&(t=0),n===void 0&&(n=1),e.min=I_(e.min,t,n,r,i),e.max=I_(e.max,t,n,r,i)}function kC(e,t){var n=t.x,r=t.y;rv(e.x,n.translate,n.scale,n.originPoint),rv(e.y,r.translate,r.scale,r.originPoint)}function jF(e,t,n,r){var i,o;r===void 0&&(r=!1);var s=n.length;if(!!s){t.x=t.y=1;for(var a,l,u=0;u<s;u++)a=n[u],l=a.projectionDelta,((o=(i=a.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Ji(e,{x:-a.scroll.x,y:-a.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,kC(e,l)),r&&tr(a.latestValues)&&Ji(e,a.latestValues))}}function sr(e,t){e.min=e.min+t,e.max=e.max+t}function B_(e,t,n){var r=Ye(n,3),i=r[0],o=r[1],s=r[2],a=t[s]!==void 0?t[s]:.5,l=Ne(e.min,e.max,a);rv(e,t[i],t[o],l,t.scale)}var zF=["x","scaleX","originX"],HF=["y","scaleY","originY"];function Ji(e,t){B_(e.x,t,zF),B_(e.y,t,HF)}function NC(e,t){return PC(VF(e.getBoundingClientRect(),t))}function GF(e,t,n){var r=NC(e,n),i=t.scroll;return i&&(sr(r.x,i.x),sr(r.y,i.y)),r}var YF=new WeakMap,WF=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=it(),this.visualElement=t}return e.prototype.start=function(t,n){var r=this,i=n===void 0?{}:n,o=i.snapToCursor,s=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var a=function(f){r.stopAnimation(),s&&r.snapToCursor(C0(f,"page").point)},l=function(f,d){var p,h=r.getProps(),v=h.drag,x=h.dragPropagation,y=h.onDragStart;v&&!x&&(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=JS(v),!r.openGlobalLock)||(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),pn(function(_){var g,w,E=r.getAxisMotionValue(_).get()||0;if(xn.test(E)){var b=(w=(g=r.visualElement.projection)===null||g===void 0?void 0:g.layout)===null||w===void 0?void 0:w.actual[_];if(b){var S=Hn(b);E=S*(parseFloat(E)/100)}}r.originPoint[_]=E}),y==null||y(f,d),(p=r.visualElement.animationState)===null||p===void 0||p.setActive(xe.Drag,!0))},u=function(f,d){var p=r.getProps(),h=p.dragPropagation,v=p.dragDirectionLock,x=p.onDirectionLock,y=p.onDrag;if(!(!h&&!r.openGlobalLock)){var _=d.offset;if(v&&r.currentDirection===null){r.currentDirection=qF(_),r.currentDirection!==null&&(x==null||x(r.currentDirection));return}r.updateAxis("x",d.point,_),r.updateAxis("y",d.point,_),r.visualElement.syncRender(),y==null||y(f,d)}},c=function(f,d){return r.stop(f,d)};this.panSession=new TC(t,{onSessionStart:a,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 i=n.velocity;this.startAnimation(i);var o=this.getProps().onDragEnd;o==null||o(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(xe.Drag,!1)},e.prototype.updateAxis=function(t,n,r){var i=this.getProps().drag;if(!(!r||!Rl(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=DF(s,this.constraints[t],this.elastic[t])),o.set(s)}},e.prototype.resolveConstraints=function(){var t=this,n=this.getProps(),r=n.dragConstraints,i=n.dragElastic,o=(this.visualElement.projection||{}).layout,s=this.constraints;r&&Zi(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=MF(o.actual,r):this.constraints=!1,this.elastic=BF(i),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&pn(function(a){t.getAxisMotionValue(a)&&(t.constraints[a]=IF(o.actual[a],t.constraints[a]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),n=t.dragConstraints,r=t.onMeasureDragConstraints;if(!n||!Zi(n))return!1;var i=n.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var s=GF(i,o.root,this.visualElement.getTransformPagePoint()),a=LF(o.layout.actual,s);if(r){var l=r(UF(a));this.hasMutatedConstraints=!!l,l&&(a=PC(l))}return a},e.prototype.startAnimation=function(t){var n=this,r=this.getProps(),i=r.drag,o=r.dragMomentum,s=r.dragElastic,a=r.dragTransition,l=r.dragSnapToOrigin,u=r.onDragTransitionEnd,c=this.constraints||{},f=pn(function(d){var p;if(!!Rl(d,i,n.currentDirection)){var h=(p=c==null?void 0:c[d])!==null&&p!==void 0?p:{};l&&(h={min:0,max:0});var v=s?200:1e6,x=s?40:1e7,y=N(N({type:"inertia",velocity:o?t[d]:0,bounceStiffness:v,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10},a),h);return n.startAxisValueAnimation(d,y)}});return Promise.all(f).then(u)},e.prototype.startAxisValueAnimation=function(t,n){var r=this.getAxisMotionValue(t);return M0(t,r,0,n)},e.prototype.stopAnimation=function(){var t=this;pn(function(n){return t.getAxisMotionValue(n).stop()})},e.prototype.getAxisMotionValue=function(t){var n,r,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||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;pn(function(r){var i=n.getProps().drag;if(!!Rl(r,i,n.currentDirection)){var o=n.visualElement.projection,s=n.getAxisMotionValue(r);if(o&&o.layout){var a=o.layout.actual[r],l=a.min,u=a.max;s.set(t[r]-Ne(l,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,n,r=this.getProps(),i=r.drag,o=r.dragConstraints,s=this.visualElement.projection;if(!(!Zi(o)||!s||!this.constraints)){this.stopAnimation();var a={x:0,y:0};pn(function(u){var c=t.getAxisMotionValue(u);if(c){var f=c.get();a[u]=FF({min:f,max:f},t.constraints[u])}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",(n=s.root)===null||n===void 0||n.updateScroll(),s.updateLayout(),this.resolveConstraints(),pn(function(u){if(!!Rl(u,i,null)){var c=t.getAxisMotionValue(u),f=t.constraints[u],d=f.min,p=f.max;c.set(Ne(d,p,a[u]))}})}},e.prototype.addListeners=function(){var t=this,n;YF.set(this.visualElement,this);var r=this.visualElement.getInstance(),i=fo(r,"pointerdown",function(u){var c=t.getProps(),f=c.drag,d=c.dragListener,p=d===void 0?!0:d;f&&p&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;Zi(u)&&(t.constraints=t.resolveRefConstraints())},s=this.visualElement.projection,a=s.addEventListener("measure",o);s&&!s.layout&&((n=s.root)===null||n===void 0||n.updateScroll(),s.updateLayout()),o();var l=kf(window,"resize",function(){return t.scalePositionWithinConstraints()});return s.addEventListener("didUpdate",function(u){var c=u.delta,f=u.hasLayoutChanged;t.isDragging&&f&&(pn(function(d){var p=t.getAxisMotionValue(d);!p||(t.originPoint[d]+=c[d].translate,p.set(p.get()+c[d].translate))}),t.visualElement.syncRender())}),function(){l(),i(),a()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),n=t.drag,r=n===void 0?!1:n,i=t.dragDirectionLock,o=i===void 0?!1:i,s=t.dragPropagation,a=s===void 0?!1:s,l=t.dragConstraints,u=l===void 0?!1:l,c=t.dragElastic,f=c===void 0?nv:c,d=t.dragMomentum,p=d===void 0?!0:d;return N(N({},t),{drag:r,dragDirectionLock:o,dragPropagation:a,dragConstraints:u,dragElastic:f,dragMomentum:p})},e}();function Rl(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function qF(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 XF(e){var t=e.dragControls,n=e.visualElement,r=Of(function(){return new WF(n)});m.exports.useEffect(function(){return t&&t.subscribe(r)},[r,t]),m.exports.useEffect(function(){return r.addListeners()},[r])}function QF(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,s=t||n||r||i,a=m.exports.useRef(null),l=m.exports.useContext(g0).transformPagePoint,u={onSessionStart:i,onStart:n,onMove:t,onEnd:function(f,d){a.current=null,r&&r(f,d)}};m.exports.useEffect(function(){a.current!==null&&a.current.updateHandlers(u)});function c(f){a.current=new TC(f,u,{transformPagePoint:l})}ic(o,"pointerdown",s&&c),nC(function(){return a.current&&a.current.end()})}var KF={pan:vr(QF),drag:vr(XF)},Pl=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function ZF(){var e=Pl.map(function(){return new Rs}),t={},n={clearAllListeners:function(){return e.forEach(function(r){return r.clear()})},updatePropListeners:function(r){Pl.forEach(function(i){var o,s="on"+i,a=r[s];(o=t[i])===null||o===void 0||o.call(t),a&&(t[i]=n[s](a))})}};return e.forEach(function(r,i){n["on"+Pl[i]]=function(o){return r.add(o)},n["notify"+Pl[i]]=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return r.notify.apply(r,an([],Ye(o),!1))}}),n}function JF(e,t,n){var r;for(var i in t){var o=t[i],s=n[i];if(jn(o))e.addValue(i,o);else if(jn(s))e.addValue(i,Oo(o));else if(s!==o)if(e.hasValue(i)){var a=e.getValue(i);!a.hasAnimated&&a.set(o)}else e.addValue(i,Oo((r=e.getStaticValue(i))!==null&&r!==void 0?r:o))}for(var i in n)t[i]===void 0&&e.removeValue(i);return t}var DC=function(e){var t=e.treeType,n=t===void 0?"":t,r=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,s=e.measureViewportBox,a=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,f=e.scrapeMotionValuesFromProps;return function(d,p){var h=d.parent,v=d.props,x=d.presenceId,y=d.blockInitialAnimation,_=d.visualState,g=d.shouldReduceMotion;p===void 0&&(p={});var w=!1,E=_.latestValues,b=_.renderState,S,C=ZF(),$=new Map,P=new Map,j={},U=N({},E),H;function V(){!S||!w||(J(),a(S,b,v.style,O.projection))}function J(){r(O,b,E,p,v)}function Ee(){C.notifyUpdate(E)}function ie(T,k){var A=k.onChange(function(L){E[T]=L,v.onUpdate&&wn.update(Ee,!1,!0)}),X=k.onRenderRequest(O.scheduleRender);P.set(T,function(){A(),X()})}var F=f(v);for(var G in F){var W=F[G];E[G]!==void 0&&jn(W)&&W.set(E[G],!1)}var re=Pf(v),D=SS(v),O=N(N({treeType:n,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,presenceId:x,shouldReduceMotion:g,variantChildren:D?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(h==null?void 0:h.isMounted()),blockInitialAnimation:y,isMounted:function(){return Boolean(S)},mount:function(T){w=!0,S=O.current=T,O.projection&&O.projection.mount(T),D&&h&&!re&&(H=h==null?void 0:h.addVariantChild(O)),$.forEach(function(k,A){return ie(A,k)}),h==null||h.children.add(O),O.setProps(v)},unmount:function(){var T;(T=O.projection)===null||T===void 0||T.unmount(),Po.update(Ee),Po.render(V),P.forEach(function(k){return k()}),H==null||H(),h==null||h.children.delete(O),C.clearAllListeners(),S=void 0,w=!1},addVariantChild:function(T){var k,A=O.getClosestVariantNode();if(A)return(k=A.variantChildren)===null||k===void 0||k.add(T),function(){return A.variantChildren.delete(T)}},sortNodePosition:function(T){return!c||n!==T.treeType?0:c(O.getInstance(),T.getInstance())},getClosestVariantNode:function(){return D?O:h==null?void 0:h.getClosestVariantNode()},getLayoutId:function(){return v.layoutId},getInstance:function(){return S},getStaticValue:function(T){return E[T]},setStaticValue:function(T,k){return E[T]=k},getLatestValues:function(){return E},setVisibility:function(T){O.isVisible!==T&&(O.isVisible=T,O.scheduleRender())},makeTargetAnimatable:function(T,k){return k===void 0&&(k=!0),o(O,T,v,k)},measureViewportBox:function(){return s(S,v)},addValue:function(T,k){O.hasValue(T)&&O.removeValue(T),$.set(T,k),E[T]=k.get(),ie(T,k)},removeValue:function(T){var k;$.delete(T),(k=P.get(T))===null||k===void 0||k(),P.delete(T),delete E[T],u(T,b)},hasValue:function(T){return $.has(T)},getValue:function(T,k){var A=$.get(T);return A===void 0&&k!==void 0&&(A=Oo(k),O.addValue(T,A)),A},forEachValue:function(T){return $.forEach(T)},readValue:function(T){var k;return(k=E[T])!==null&&k!==void 0?k:l(S,T,p)},setBaseTarget:function(T,k){U[T]=k},getBaseTarget:function(T){if(i){var k=i(v,T);if(k!==void 0&&!jn(k))return k}return U[T]}},C),{build:function(){return J(),b},scheduleRender:function(){wn.render(V,!1,!0)},syncRender:V,setProps:function(T){(T.transformTemplate||v.transformTemplate)&&O.scheduleRender(),v=T,C.updatePropListeners(T),j=JF(O,f(v),j)},getProps:function(){return v},getVariant:function(T){var k;return(k=v.variants)===null||k===void 0?void 0:k[T]},getDefaultTransition:function(){return v.transition},getTransformPagePoint:function(){return v.transformPagePoint},getVariantContext:function(T){if(T===void 0&&(T=!1),T)return h==null?void 0:h.getVariantContext();if(!re){var k=(h==null?void 0:h.getVariantContext())||{};return v.initial!==void 0&&(k.initial=v.initial),k}for(var A={},X=0;X<eI;X++){var L=MC[X],ce=v[L];(en(ce)||ce===!1)&&(A[L]=ce)}return A}});return O}},MC=an(["initial"],Ye(I0),!1),eI=MC.length;function iv(e){return typeof e=="string"&&e.startsWith("var(--")}var LC=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function tI(e){var t=LC.exec(e);if(!t)return[,];var n=Ye(t,3),r=n[1],i=n[2];return[r,i]}function ov(e,t,n){var r=Ye(tI(e),2),i=r[0],o=r[1];if(!!i){var s=window.getComputedStyle(t).getPropertyValue(i);return s?s.trim():iv(o)?ov(o,t):o}}function nI(e,t,n){var r,i=St(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:n};n&&(n=N({},n)),e.forEachValue(function(u){var c=u.get();if(!!iv(c)){var f=ov(c,o);f&&u.set(f)}});for(var s in i){var a=i[s];if(!!iv(a)){var l=ov(a,o);!l||(i[s]=l,n&&((r=n[s])!==null&&r!==void 0||(n[s]=a)))}}return{target:i,transitionEnd:n}}var rI=new Set(["width","height","top","left","right","bottom","x","y"]),FC=function(e){return rI.has(e)},iI=function(e){return Object.keys(e).some(FC)},IC=function(e,t){e.set(t,!1),e.set(t)},U_=function(e){return e===bi||e===Q},V_;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(V_||(V_={}));var j_=function(e,t){return parseFloat(e.split(", ")[t])},z_=function(e,t){return function(n,r){var i=r.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return j_(o[1],t);var s=i.match(/^matrix\((.+)\)$/);return s?j_(s[1],e):0}},oI=new Set(["x","y","z"]),sI=pa.filter(function(e){return!oI.has(e)});function aI(e){var t=[];return sI.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 H_={width:function(e,t){var n=e.x,r=t.paddingLeft,i=r===void 0?"0":r,o=t.paddingRight,s=o===void 0?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(s)},height:function(e,t){var n=e.y,r=t.paddingTop,i=r===void 0?"0":r,o=t.paddingBottom,s=o===void 0?"0":o;return n.max-n.min-parseFloat(i)-parseFloat(s)},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:z_(4,13),y:z_(5,14)},lI=function(e,t,n){var r=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),s=o.display,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(function(u){a[u]=H_[u](r,o)}),t.syncRender();var l=t.measureViewportBox();return n.forEach(function(u){var c=t.getValue(u);IC(c,a[u]),e[u]=H_[u](l,o)}),e},uI=function(e,t,n,r){n===void 0&&(n={}),r===void 0&&(r={}),t=N({},t),r=N({},r);var i=Object.keys(t).filter(FC),o=[],s=!1,a=[];if(i.forEach(function(c){var f=e.getValue(c);if(!!e.hasValue(c)){var d=n[c],p=ts(d),h=t[c],v;if(va(h)){var x=h.length,y=h[0]===null?1:0;d=h[y],p=ts(d);for(var _=y;_<x;_++)v?tc(ts(h[_])===v):v=ts(h[_])}else v=ts(h);if(p!==v)if(U_(p)&&U_(v)){var g=f.get();typeof g=="string"&&f.set(parseFloat(g)),typeof h=="string"?t[c]=parseFloat(h):Array.isArray(h)&&v===Q&&(t[c]=h.map(parseFloat))}else(p==null?void 0:p.transform)&&(v==null?void 0:v.transform)&&(d===0||h===0)?d===0?f.set(v.transform(d)):t[c]=p.transform(h):(s||(o=aI(e),s=!0),a.push(c),r[c]=r[c]!==void 0?r[c]:t[c],IC(f,h))}}),a.length){var l=a.indexOf("height")>=0?window.pageYOffset:null,u=lI(t,e,a);return o.length&&o.forEach(function(c){var f=Ye(c,2),d=f[0],p=f[1];e.getValue(d).set(p)}),e.syncRender(),l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function cI(e,t,n,r){return iI(t)?uI(e,t,n,r):{target:t,transitionEnd:r}}var fI=function(e,t,n,r){var i=nI(e,t,r);return t=i.target,r=i.transitionEnd,cI(e,t,n,r)};function dI(e){return window.getComputedStyle(e)}var BC={treeType:"dom",readValueFromInstance:function(e,t){if(Da(t)){var n=k0(t);return n&&n.default||0}else{var r=dI(e);return(RS(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 NC(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 i=n.transformValues;r===void 0&&(r=!0);var o=t.transition,s=t.transitionEnd,a=St(t,["transition","transitionEnd"]),l=_F(a,o||{},e);if(i&&(s&&(s=i(s)),a&&(a=i(a)),l&&(l=i(l))),r){gF(e,a,l);var u=fI(e,a,l,s);s=u.transitionEnd,a=u.target}return N({transition:o,transitionEnd:s},a)},scrapeMotionValuesFromProps:b0,build:function(e,t,n,r,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),x0(t,n,r,i.transformTemplate)},render:jS},pI=DC(BC),hI=DC(N(N({},BC),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return Da(t)?((n=k0(t))===null||n===void 0?void 0:n.default)||0:(t=zS.has(t)?t:VS(t),e.getAttribute(t))},scrapeMotionValuesFromProps:GS,build:function(e,t,n,r,i){E0(t,n,r,i.transformTemplate)},render:HS})),vI=function(e,t){return y0(e)?hI(t,{enableHardwareAcceleration:!1}):pI(t,{enableHardwareAcceleration:!0})};function G_(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ns={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;var n=G_(e,t.target.x),r=G_(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},Y_="_$css",mI={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,i=e,o=e.includes("var("),s=[];o&&(e=e.replace(LC,function(v){return s.push(v),Y_}));var a=zn.parse(e);if(a.length>5)return i;var l=zn.createTransformer(e),u=typeof a[0]!="number"?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;a[0+u]/=c,a[1+u]/=f;var d=Ne(c,f,.5);typeof a[2+u]=="number"&&(a[2+u]/=d),typeof a[3+u]=="number"&&(a[3+u]/=d);var p=l(a);if(o){var h=0;p=p.replace(Y_,function(){var v=s[h];return h++,v})}return p}},gI=function(e){JE(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var n=this,r=this.props,i=r.visualElement,o=r.layoutGroup,s=r.switchLayoutGroup,a=r.layoutId,l=i.projection;UD(_I),l&&(o!=null&&o.group&&o.group.add(l),(s==null?void 0:s.register)&&a&&s.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){n.safeToRemove()}),l.setOptions(N(N({},l.options),{onExitComplete:function(){return n.safeToRemove()}}))),As.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(n){var r=this,i=this.props,o=i.layoutDependency,s=i.visualElement,a=i.drag,l=i.isPresent,u=s.projection;return u&&(u.isPresent=l,a||n.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),n.isPresent!==l&&(l?u.promote():u.relegate()||wn.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,i=n.layoutGroup,o=n.switchLayoutGroup,s=r.projection;s&&(s.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(s),o!=null&&o.deregister&&o.deregister(s))},t.prototype.safeToRemove=function(){var n=this.props.safeToRemove;n==null||n()},t.prototype.render=function(){return null},t}(K.Component);function yI(e){var t=Ye(bC(),2),n=t[0],r=t[1],i=m.exports.useContext(CS);return R(gI,{...N({},e,{layoutGroup:i,switchLayoutGroup:m.exports.useContext(AS),isPresent:n,safeToRemove:r})})}var _I={borderRadius:N(N({},ns),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ns,borderTopRightRadius:ns,borderBottomLeftRadius:ns,borderBottomRightRadius:ns,boxShadow:mI},xI={measureLayout:yI};function wI(e,t,n){n===void 0&&(n={});var r=jn(e)?e:Oo(e);return M0("",r,t,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}var UC=["TopLeft","TopRight","BottomLeft","BottomRight"],EI=UC.length,W_=function(e){return typeof e=="string"?parseFloat(e):e},q_=function(e){return typeof e=="number"||Q.test(e)};function bI(e,t,n,r,i,o){var s,a,l,u;i?(e.opacity=Ne(0,(s=n.opacity)!==null&&s!==void 0?s:1,SI(r)),e.opacityExit=Ne((a=t.opacity)!==null&&a!==void 0?a:1,0,CI(r))):o&&(e.opacity=Ne((l=t.opacity)!==null&&l!==void 0?l:1,(u=n.opacity)!==null&&u!==void 0?u:1,r));for(var c=0;c<EI;c++){var f="border".concat(UC[c],"Radius"),d=X_(t,f),p=X_(n,f);if(!(d===void 0&&p===void 0)){d||(d=0),p||(p=0);var h=d===0||p===0||q_(d)===q_(p);h?(e[f]=Math.max(Ne(W_(d),W_(p),r),0),(xn.test(p)||xn.test(d))&&(e[f]+="%")):e[f]=p}}(t.rotate||n.rotate)&&(e.rotate=Ne(t.rotate||0,n.rotate||0,r))}function X_(e,t){var n;return(n=e[t])!==null&&n!==void 0?n:e.borderRadius}var SI=VC(0,.5,P0),CI=VC(.5,.95,T0);function VC(e,t,n){return function(r){return r<e?0:r>t?1:n(ma(e,t,r))}}function Q_(e,t){e.min=t.min,e.max=t.max}function Qt(e,t){Q_(e.x,t.x),Q_(e.y,t.y)}function K_(e,t,n,r,i){return e-=t,e=cc(e,1/n,r),i!==void 0&&(e=cc(e,1/i,r)),e}function AI(e,t,n,r,i,o,s){if(t===void 0&&(t=0),n===void 0&&(n=1),r===void 0&&(r=.5),o===void 0&&(o=e),s===void 0&&(s=e),xn.test(t)){t=parseFloat(t);var a=Ne(s.min,s.max,t/100);t=a-s.min}if(typeof t=="number"){var l=Ne(o.min,o.max,r);e===o&&(l-=t),e.min=K_(e.min,t,n,l,i),e.max=K_(e.max,t,n,l,i)}}function Z_(e,t,n,r,i){var o=Ye(n,3),s=o[0],a=o[1],l=o[2];AI(e,t[s],t[a],t[l],t.scale,r,i)}var $I=["x","scaleX","originX"],TI=["y","scaleY","originY"];function J_(e,t,n,r){Z_(e.x,t,$I,n==null?void 0:n.x,r==null?void 0:r.x),Z_(e.y,t,TI,n==null?void 0:n.y,r==null?void 0:r.y)}function ex(e){return e.translate===0&&e.scale===1}function jC(e){return ex(e.x)&&ex(e.y)}function zC(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 RI=function(){function e(){this.members=[]}return e.prototype.add=function(t){L0(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(F0(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(s){return t===s});if(n===0)return!1;for(var r,i=n;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1},e.prototype.promote=function(t,n){var r,i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,n&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues,t.snapshot.isShared=!0),!((r=t.root)===null||r===void 0)&&r.isUpdating&&(t.isLayoutDirty=!0);var o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var n,r,i,o,s;(r=(n=t.options).onExitComplete)===null||r===void 0||r.call(n),(s=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||s===void 0||s.call(o)})},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}(),PI="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function tx(e,t,n){var r=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(o+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var s=n.rotate,a=n.rotateX,l=n.rotateY;s&&(o+="rotate(".concat(s,"deg) ")),a&&(o+="rotateX(".concat(a,"deg) ")),l&&(o+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,c=e.y.scale*t.y;return o+="scale(".concat(u,", ").concat(c,")"),o===PI?"none":o}var OI=function(e,t){return e.depth-t.depth},kI=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){L0(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){F0(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(OI),this.isDirty=!1,this.children.forEach(t)},e}(),nx=1e3;function HC(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,i=e.checkIsScrollRoot,o=e.resetTransform;return function(){function s(a,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(II),c.nodes.forEach(BI)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=l,this.root=u?u.root||u:this,this.path=u?an(an([],Ye(u.path),!1),[u],!1):[],this.parent=u,this.depth=u?u.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new kI)}return s.prototype.addEventListener=function(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Rs),this.eventHandlers.get(a).add(l)},s.prototype.notifyListeners=function(a){for(var l=[],u=1;u<arguments.length;u++)l[u-1]=arguments[u];var c=this.eventHandlers.get(a);c==null||c.notify.apply(c,an([],Ye(l),!1))},s.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},s.prototype.registerPotentialNode=function(a,l){this.potentialNodes.set(a,l)},s.prototype.mount=function(a,l){var u=this,c;if(l===void 0&&(l=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var f=this.options,d=f.layoutId,p=f.layout,h=f.visualElement;if(h&&!h.getInstance()&&h.mount(a),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&&(p||d)&&(this.isLayoutDirty=!0),t){var v,x=function(){return u.root.updateBlockedByResize=!1};t(a,function(){u.root.updateBlockedByResize=!0,clearTimeout(v),v=window.setTimeout(x,250),As.hasAnimatedSinceResize&&(As.hasAnimatedSinceResize=!1,u.nodes.forEach(FI))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||p)&&this.addEventListener("didUpdate",function(y){var _,g,w,E,b,S=y.delta,C=y.hasLayoutChanged,$=y.hasRelativeTargetChanged,P=y.layout;if(u.isTreeAnimationBlocked()){u.target=void 0,u.relativeTarget=void 0;return}var j=(g=(_=u.options.transition)!==null&&_!==void 0?_:h.getDefaultTransition())!==null&&g!==void 0?g:HI,U=h.getProps(),H=U.onLayoutAnimationStart,V=U.onLayoutAnimationComplete,J=!u.targetLayout||!zC(u.targetLayout,P)||$,Ee=!C&&$;if(((w=u.resumeFrom)===null||w===void 0?void 0:w.instance)||Ee||C&&(J||!u.currentAnimation)){u.resumeFrom&&(u.resumingFrom=u.resumeFrom,u.resumingFrom.resumingFrom=void 0),u.setAnimationOrigin(S,Ee);var ie=N(N({},D0(j,"layout")),{onPlay:H,onComplete:V});h.shouldReduceMotion&&(ie.delay=0,ie.type=!1),u.startAnimation(ie)}else!C&&u.animationProgress===0&&u.finishAnimation(),u.isLead()&&((b=(E=u.options).onExitComplete)===null||b===void 0||b.call(E));u.targetLayout=P})}},s.prototype.unmount=function(){var a,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,Po.preRender(this.updateProjection)},s.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},s.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},s.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},s.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},s.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(UI))},s.prototype.willUpdate=function(a){var l,u,c;if(a===void 0&&(a=!0),this.root.isUpdateBlocked()){(u=(l=this.options).onExitComplete)===null||u===void 0||u.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var f=0;f<this.path.length;f++){var d=this.path[f];d.shouldResetTransform=!0,d.updateScroll()}var p=this.options,h=p.layoutId,v=p.layout;if(!(h===void 0&&!v)){var x=(c=this.options.visualElement)===null||c===void 0?void 0:c.getProps().transformTemplate;this.prevTransformTemplateValue=x==null?void 0:x(this.latestValues,""),this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}}},s.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rx);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(GI),this.potentialNodes.clear()),this.nodes.forEach(LI),this.nodes.forEach(NI),this.nodes.forEach(DI),this.clearAllSnapshots(),Hd.update(),Hd.preRender(),Hd.render())},s.prototype.clearAllSnapshots=function(){this.nodes.forEach(MI),this.sharedNodes.forEach(VI)},s.prototype.scheduleUpdateProjection=function(){wn.preRender(this.updateProjection,!1,!0)},s.prototype.scheduleCheckAfterUnmount=function(){var a=this;wn.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},s.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),l=this.removeTransform(this.removeElementScroll(a));ax(l),this.snapshot={measured:a,layout:l,latestValues:{}}}},s.prototype.updateLayout=function(){var a;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();ax(c);var f=this.layout;this.layout={measured:c,actual:this.removeElementScroll(c)},this.layoutCorrected=it(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,f==null?void 0:f.actual)}},s.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=r(this.instance))},s.prototype.resetTransform=function(){var a;if(!!o){var l=this.isLayoutDirty||this.shouldResetTransform,u=this.projectionDelta&&!jC(this.projectionDelta),c=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,f=c==null?void 0:c(this.latestValues,""),d=f!==this.prevTransformTemplateValue;l&&(u||tr(this.latestValues)||d)&&(o(this.instance,f),this.shouldResetTransform=!1,this.scheduleRender())}},s.prototype.measure=function(){var a=this.options.visualElement;if(!a)return it();var l=a.measureViewportBox(),u=this.root.scroll;return u&&(sr(l.x,u.x),sr(l.y,u.y)),l},s.prototype.removeElementScroll=function(a){var l=it();Qt(l,a);for(var u=0;u<this.path.length;u++){var c=this.path[u],f=c.scroll,d=c.options,p=c.isScrollRoot;if(c!==this.root&&f&&d.layoutScroll){if(p){Qt(l,a);var h=this.root.scroll;h&&(sr(l.x,-h.x),sr(l.y,-h.y))}sr(l.x,f.x),sr(l.y,f.y)}}return l},s.prototype.applyTransform=function(a,l){l===void 0&&(l=!1);var u=it();Qt(u,a);for(var c=0;c<this.path.length;c++){var f=this.path[c];!l&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Ji(u,{x:-f.scroll.x,y:-f.scroll.y}),tr(f.latestValues)&&Ji(u,f.latestValues)}return tr(this.latestValues)&&Ji(u,this.latestValues),u},s.prototype.removeTransform=function(a){var l,u=it();Qt(u,a);for(var c=0;c<this.path.length;c++){var f=this.path[c];if(!!f.instance&&!!tr(f.latestValues)){OC(f.latestValues)&&f.updateSnapshot();var d=it(),p=f.measure();Qt(d,p),J_(u,f.latestValues,(l=f.snapshot)===null||l===void 0?void 0:l.layout,d)}}return tr(this.latestValues)&&J_(u,this.latestValues),u},s.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},s.prototype.setOptions=function(a){var l;this.options=N(N(N({},this.options),a),{crossfade:(l=a.crossfade)!==null&&l!==void 0?l:!0})},s.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},s.prototype.resolveTargetDelta=function(){var a,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=it(),this.relativeTargetOrigin=it(),Os(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Qt(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=it(),this.targetWithTransforms=it()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?NF(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Qt(this.target,this.layout.actual),kC(this.target,this.targetDelta)):Qt(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=it(),this.relativeTargetOrigin=it(),Os(this.relativeTargetOrigin,this.target,this.relativeParent.target),Qt(this.relativeTarget,this.relativeTargetOrigin)))))},s.prototype.getClosestProjectingParent=function(){if(!(!this.parent||tr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},s.prototype.calcProjection=function(){var a,l=this.options,u=l.layout,c=l.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(u||c))){var f=this.getLead();Qt(this.layoutCorrected,this.layout.actual),jF(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==f);var d=f.target;if(!!d){this.projectionDelta||(this.projectionDelta=ks(),this.projectionDeltaWithTransform=ks());var p=this.treeScale.x,h=this.treeScale.y,v=this.projectionTransform;Ps(this.projectionDelta,this.layoutCorrected,d,this.latestValues),this.projectionTransform=tx(this.projectionDelta,this.treeScale),(this.projectionTransform!==v||this.treeScale.x!==p||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))}}},s.prototype.hide=function(){this.isVisible=!1},s.prototype.show=function(){this.isVisible=!0},s.prototype.scheduleRender=function(a){var l,u,c;a===void 0&&(a=!0),(u=(l=this.options).scheduleRender)===null||u===void 0||u.call(l),a&&((c=this.getStack())===null||c===void 0||c.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},s.prototype.setAnimationOrigin=function(a,l){var u=this,c;l===void 0&&(l=!1);var f=this.snapshot,d=(f==null?void 0:f.latestValues)||{},p=N({},this.latestValues),h=ks();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var v=it(),x=f==null?void 0:f.isShared,y=(((c=this.getStack())===null||c===void 0?void 0:c.members.length)||0)<=1,_=Boolean(x&&!y&&this.options.crossfade===!0&&!this.path.some(zI));this.animationProgress=0,this.mixTargetDelta=function(g){var w,E=g/1e3;ix(h.x,a.x,E),ix(h.y,a.y,E),u.setTargetDelta(h),u.relativeTarget&&u.relativeTargetOrigin&&u.layout&&((w=u.relativeParent)===null||w===void 0?void 0:w.layout)&&(Os(v,u.layout.actual,u.relativeParent.layout.actual),jI(u.relativeTarget,u.relativeTargetOrigin,v,E)),x&&(u.animationValues=p,bI(p,d,u.latestValues,E,_,y)),u.root.scheduleUpdateProjection(),u.scheduleRender(),u.animationProgress=E},this.mixTargetDelta(0)},s.prototype.startAnimation=function(a){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&&(Po.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=wn.update(function(){As.hasAnimatedSinceResize=!0,l.currentAnimation=wI(0,nx,N(N({},a),{onUpdate:function(f){var d;l.mixTargetDelta(f),(d=a.onUpdate)===null||d===void 0||d.call(a,f)},onComplete:function(){var f;(f=a.onComplete)===null||f===void 0||f.call(a),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},s.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},s.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,nx),this.currentAnimation.stop()),this.completeAnimation()},s.prototype.applyTransformsToTarget=function(){var a=this.getLead(),l=a.targetWithTransforms,u=a.target,c=a.layout,f=a.latestValues;!l||!u||!c||(Qt(l,u),Ji(l,f),Ps(this.projectionDeltaWithTransform,this.layoutCorrected,l,f))},s.prototype.registerSharedNode=function(a,l){var u,c,f;this.sharedNodes.has(a)||this.sharedNodes.set(a,new RI);var d=this.sharedNodes.get(a);d.add(l),l.promote({transition:(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.transition,preserveFollowOpacity:(f=(c=l.options.initialPromotionConfig)===null||c===void 0?void 0:c.shouldPreserveFollowOpacity)===null||f===void 0?void 0:f.call(c,l)})},s.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},s.prototype.getLead=function(){var a,l=this.options.layoutId;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},s.prototype.getPrevLead=function(){var a,l=this.options.layoutId;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},s.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},s.prototype.promote=function(a){var l=a===void 0?{}:a,u=l.needsReset,c=l.transition,f=l.preserveFollowOpacity,d=this.getStack();d&&d.promote(this,f),u&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})},s.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},s.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var l=!1,u={},c=0;c<Hh.length;c++){var f=Hh[c],d="rotate"+f;!a.getStaticValue(d)||(l=!0,u[d]=a.getStaticValue(d),a.setStaticValue(d,0))}if(!!l){a==null||a.syncRender();for(var d in u)a.setStaticValue(d,u[d]);a.scheduleRender()}}},s.prototype.getProjectionStyles=function(a){var l,u,c,f,d,p;a===void 0&&(a={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.visibility="";else return{visibility:"hidden"};var v=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=iu(a.pointerEvents)||"",h.transform=v?v(this.latestValues,""):"none",h;var x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){var y={};return this.options.layoutId&&(y.opacity=(u=this.latestValues.opacity)!==null&&u!==void 0?u:1,y.pointerEvents=iu(a.pointerEvents)||""),this.hasProjected&&!tr(this.latestValues)&&(y.transform=v?v({},""):"none",this.hasProjected=!1),y}var _=x.animationValues||x.latestValues;this.applyTransformsToTarget(),h.transform=tx(this.projectionDeltaWithTransform,this.treeScale,_),v&&(h.transform=v(_,h.transform));var g=this.projectionDelta,w=g.x,E=g.y;h.transformOrigin="".concat(w.origin*100,"% ").concat(E.origin*100,"% 0"),x.animationValues?h.opacity=x===this?(f=(c=_.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&f!==void 0?f:1:this.preserveOpacity?this.latestValues.opacity:_.opacityExit:h.opacity=x===this?(d=_.opacity)!==null&&d!==void 0?d:"":(p=_.opacityExit)!==null&&p!==void 0?p:0;for(var b in nc)if(_[b]!==void 0){var S=nc[b],C=S.correct,$=S.applyTo,P=C(_[b],x);if($)for(var j=$.length,U=0;U<j;U++)h[$[U]]=P;else h[b]=P}return this.options.layoutId&&(h.pointerEvents=x===this?iu(a.pointerEvents)||"":"none"),h},s.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},s.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(rx),this.root.sharedNodes.clear()},s}()}function NI(e){e.updateLayout()}function DI(e){var t,n,r,i,o=(n=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&n!==void 0?n:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var s=e.layout,a=s.actual,l=s.measured;e.options.animationType==="size"?pn(function(_){var g=o.isShared?o.measured[_]:o.layout[_],w=Hn(g);g.min=a[_].min,g.max=g.min+w}):e.options.animationType==="position"&&pn(function(_){var g=o.isShared?o.measured[_]:o.layout[_],w=Hn(a[_]);g.max=g.min+w});var u=ks();Ps(u,a,o.layout);var c=ks();o.isShared?Ps(c,e.applyTransform(l,!0),o.measured):Ps(c,a,o.layout);var f=!jC(u),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,h=p.snapshot,v=p.layout;if(h&&v){var x=it();Os(x,o.layout,h.layout);var y=it();Os(y,a,v.actual),zC(x,y)||(d=!0)}}e.notifyListeners("didUpdate",{layout:a,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:f,hasRelativeTargetChanged:d})}else e.isLead()&&((i=(r=e.options).onExitComplete)===null||i===void 0||i.call(r));e.options.transition=void 0}function MI(e){e.clearSnapshot()}function rx(e){e.clearMeasurements()}function LI(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function FI(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function II(e){e.resolveTargetDelta()}function BI(e){e.calcProjection()}function UI(e){e.resetRotation()}function VI(e){e.removeLeadSnapshot()}function ix(e,t,n){e.translate=Ne(t.translate,0,n),e.scale=Ne(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ox(e,t,n,r){e.min=Ne(t.min,n.min,r),e.max=Ne(t.max,n.max,r)}function jI(e,t,n,r){ox(e.x,t.x,n.x,r),ox(e.y,t.y,n.y,r)}function zI(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var HI={duration:.45,ease:[.4,0,.1,1]};function GI(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 i=n&&n!==e.root?n.instance:document,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function sx(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function ax(e){sx(e.x),sx(e.y)}var YI=HC({attachResizeListener:function(e,t){return kf(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Qd={current:void 0},WI=HC({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Qd.current){var e=new YI(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Qd.current=e}return Qd.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"},checkIsScrollRoot:function(e){return Boolean(window.getComputedStyle(e).position==="fixed")}}),qI=N(N(N(N({},PF),YL),KF),xI),GC=ID(function(e,t){return SM(e,t,qI,vI,WI)});function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_e.apply(this,arguments)}function lt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function XI(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function YC(...e){return t=>e.forEach(n=>XI(n,t))}function bn(...e){return m.exports.useCallback(YC(...e),e)}function Ia(e,t=[]){let n=[];function r(o,s){const a=m.exports.createContext(s),l=n.length;n=[...n,s];function u(f){const{scope:d,children:p,...h}=f,v=(d==null?void 0:d[e][l])||a,x=m.exports.useMemo(()=>h,Object.values(h));return m.exports.createElement(v.Provider,{value:x},p)}function c(f,d){const p=(d==null?void 0:d[e][l])||a,h=m.exports.useContext(p);if(h)return h;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${o}\``)}return u.displayName=o+"Provider",[u,c]}const i=()=>{const o=n.map(s=>m.exports.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return m.exports.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,QI(i,...t)]}function QI(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const f=l(o)[`__scope${u}`];return{...a,...f}},{});return m.exports.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}const ya=m.exports.forwardRef((e,t)=>{const{children:n,...r}=e,i=m.exports.Children.toArray(n),o=i.find(ZI);if(o){const s=o.props.children,a=i.map(l=>l===o?m.exports.Children.count(s)>1?m.exports.Children.only(null):m.exports.isValidElement(s)?s.props.children:null:l);return m.exports.createElement(sv,_e({},r,{ref:t}),m.exports.isValidElement(s)?m.exports.cloneElement(s,void 0,a):null)}return m.exports.createElement(sv,_e({},r,{ref:t}),n)});ya.displayName="Slot";const sv=m.exports.forwardRef((e,t)=>{const{children:n,...r}=e;return m.exports.isValidElement(n)?m.exports.cloneElement(n,{...JI(r,n.props),ref:YC(t,n.ref)}):m.exports.Children.count(n)>1?m.exports.Children.only(null):null});sv.displayName="SlotClone";const KI=({children:e})=>m.exports.createElement(m.exports.Fragment,null,e);function ZI(e){return m.exports.isValidElement(e)&&e.type===KI}function JI(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?n[r]=(...a)=>{o==null||o(...a),i==null||i(...a)}:r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const eB=["a","button","div","h2","h3","img","li","nav","ol","p","span","svg","ul"],Dt=eB.reduce((e,t)=>{const n=m.exports.forwardRef((r,i)=>{const{asChild:o,...s}=r,a=o?ya:t;return m.exports.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),m.exports.createElement(a,_e({},s,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function tB(e,t){e&&Lr.exports.flushSync(()=>e.dispatchEvent(t))}function Dr(e){const t=m.exports.useRef(e);return m.exports.useEffect(()=>{t.current=e}),m.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function nB(e){const t=Dr(e);m.exports.useEffect(()=>{const n=r=>{r.key==="Escape"&&t(r)};return document.addEventListener("keydown",n),()=>document.removeEventListener("keydown",n)},[t])}const av="dismissableLayer.update",rB="dismissableLayer.pointerDownOutside",iB="dismissableLayer.focusOutside";let lx;const oB=m.exports.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),sB=m.exports.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=m.exports.useContext(oB),[c,f]=m.exports.useState(null),[,d]=m.exports.useState({}),p=bn(t,b=>f(b)),h=Array.from(u.layers),[v]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=h.indexOf(v),y=c?h.indexOf(c):-1,_=u.layersWithOutsidePointerEventsDisabled.size>0,g=y>=x,w=aB(b=>{const S=b.target,C=[...u.branches].some($=>$.contains(S));!g||C||(i==null||i(b),s==null||s(b),b.defaultPrevented||a==null||a())}),E=lB(b=>{const S=b.target;[...u.branches].some($=>$.contains(S))||(o==null||o(b),s==null||s(b),b.defaultPrevented||a==null||a())});return nB(b=>{y===u.layers.size-1&&(r==null||r(b),!b.defaultPrevented&&a&&(b.preventDefault(),a()))}),m.exports.useEffect(()=>{if(!!c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(lx=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ux(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(document.body.style.pointerEvents=lx)}},[c,n,u]),m.exports.useEffect(()=>()=>{!c||(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ux())},[c,u]),m.exports.useEffect(()=>{const b=()=>d({});return document.addEventListener(av,b),()=>document.removeEventListener(av,b)},[]),m.exports.createElement(Dt.div,_e({},l,{ref:p,style:{pointerEvents:_?g?"auto":"none":void 0,...e.style},onFocusCapture:lt(e.onFocusCapture,E.onFocusCapture),onBlurCapture:lt(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:lt(e.onPointerDownCapture,w.onPointerDownCapture)}))});function aB(e){const t=Dr(e),n=m.exports.useRef(!1),r=m.exports.useRef(()=>{});return m.exports.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let a=function(){WC(rB,t,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(document.removeEventListener("click",r.current),r.current=a,document.addEventListener("click",r.current,{once:!0})):a()}n.current=!1},o=window.setTimeout(()=>{document.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),document.removeEventListener("pointerdown",i),document.removeEventListener("click",r.current)}},[t]),{onPointerDownCapture:()=>n.current=!0}}function lB(e){const t=Dr(e),n=m.exports.useRef(!1);return m.exports.useEffect(()=>{const r=i=>{i.target&&!n.current&&WC(iB,t,{originalEvent:i},{discrete:!1})};return document.addEventListener("focusin",r),()=>document.removeEventListener("focusin",r)},[t]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function ux(){const e=new CustomEvent(av);document.dispatchEvent(e)}function WC(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?tB(i,o):i.dispatchEvent(o)}let Kd=0;function uB(){m.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:cx()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:cx()),Kd++,()=>{Kd===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Kd--}},[])}function cx(){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 Zd="focusScope.autoFocusOnMount",Jd="focusScope.autoFocusOnUnmount",fx={bubbles:!1,cancelable:!0},cB=m.exports.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...s}=e,[a,l]=m.exports.useState(null),u=Dr(i),c=Dr(o),f=m.exports.useRef(null),d=bn(t,v=>l(v)),p=m.exports.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;m.exports.useEffect(()=>{if(r){let v=function(y){if(p.paused||!a)return;const _=y.target;a.contains(_)?f.current=_:Qr(f.current,{select:!0})},x=function(y){p.paused||!a||a.contains(y.relatedTarget)||Qr(f.current,{select:!0})};return document.addEventListener("focusin",v),document.addEventListener("focusout",x),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",x)}}},[r,a,p.paused]),m.exports.useEffect(()=>{if(a){px.add(p);const v=document.activeElement;if(!a.contains(v)){const y=new CustomEvent(Zd,fx);a.addEventListener(Zd,u),a.dispatchEvent(y),y.defaultPrevented||(fB(mB(qC(a)),{select:!0}),document.activeElement===v&&Qr(a))}return()=>{a.removeEventListener(Zd,u),setTimeout(()=>{const y=new CustomEvent(Jd,fx);a.addEventListener(Jd,c),a.dispatchEvent(y),y.defaultPrevented||Qr(v!=null?v:document.body,{select:!0}),a.removeEventListener(Jd,c),px.remove(p)},0)}}},[a,u,c,p]);const h=m.exports.useCallback(v=>{if(!n&&!r||p.paused)return;const x=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(x&&y){const _=v.currentTarget,[g,w]=dB(_);g&&w?!v.shiftKey&&y===w?(v.preventDefault(),n&&Qr(g,{select:!0})):v.shiftKey&&y===g&&(v.preventDefault(),n&&Qr(w,{select:!0})):y===_&&v.preventDefault()}},[n,r,p.paused]);return m.exports.createElement(Dt.div,_e({tabIndex:-1},s,{ref:d,onKeyDown:h}))});function fB(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Qr(r,{select:t}),document.activeElement!==n)return}function dB(e){const t=qC(e),n=dx(t,e),r=dx(t.reverse(),e);return[n,r]}function qC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function dx(e,t){for(const n of e)if(!pB(n,{upTo:t}))return n}function pB(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 hB(e){return e instanceof HTMLInputElement&&"select"in e}function Qr(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&hB(e)&&t&&e.select()}}const px=vB();function vB(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=hx(e,t),e.unshift(t)},remove(t){var n;e=hx(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function hx(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function mB(e){return e.filter(t=>t.tagName!=="A")}const ko=Boolean(globalThis==null?void 0:globalThis.document)?m.exports.useLayoutEffect:()=>{},gB=R5["useId".toString()]||(()=>{});let yB=0;function B0(e){const[t,n]=m.exports.useState(gB());return ko(()=>{e||n(r=>r!=null?r:String(yB++))},[e]),e||(t?`radix-${t}`:"")}function zo(e){return e.split("-")[0]}function Lf(e){return e.split("-")[1]}function Ho(e){return["top","bottom"].includes(zo(e))?"x":"y"}function U0(e){return e==="y"?"height":"width"}function vx(e,t,n){let{reference:r,floating:i}=e;const o=r.x+r.width/2-i.width/2,s=r.y+r.height/2-i.height/2,a=Ho(t),l=U0(a),u=r[l]/2-i[l]/2,c=zo(t),f=a==="x";let d;switch(c){case"top":d={x:o,y:r.y-i.height};break;case"bottom":d={x:o,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:s};break;case"left":d={x:r.x-i.width,y:s};break;default:d={x:r.x,y:r.y}}switch(Lf(t)){case"start":d[a]-=u*(n&&f?-1:1);break;case"end":d[a]+=u*(n&&f?-1:1);break}return d}const _B=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=await(s.isRTL==null?void 0:s.isRTL(t));let l=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=vx(l,r,a),f=r,d={},p=0;for(let h=0;h<o.length;h++){const{name:v,fn:x}=o[h],{x:y,y:_,data:g,reset:w}=await x({x:u,y:c,initialPlacement:r,placement:f,strategy:i,middlewareData:d,rects:l,platform:s,elements:{reference:e,floating:t}});if(u=y!=null?y:u,c=_!=null?_:c,d={...d,[v]:{...d[v],...g}},w&&p<=50){p++,typeof w=="object"&&(w.placement&&(f=w.placement),w.rects&&(l=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:u,y:c}=vx(l,f,a)),h=-1;continue}}return{x:u,y:c,placement:f,strategy:i,middlewareData:d}};function xB(e){return{top:0,right:0,bottom:0,left:0,...e}}function XC(e){return typeof e!="number"?xB(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 dc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,h=XC(p),x=a[d?f==="floating"?"reference":"floating":f],y=fc(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),_=fc(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f==="floating"?{...s.floating,x:r,y:i}:s.reference,offsetParent:await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),strategy:l}):s[f]);return{top:y.top-_.top+h.top,bottom:_.bottom-y.bottom+h.bottom,left:y.left-_.left+h.left,right:_.right-y.right+h.right}}const wB=Math.min,EB=Math.max;function lv(e,t,n){return EB(e,wB(t,n))}const mx=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:r=0}=e!=null?e:{},{x:i,y:o,placement:s,rects:a,platform:l}=t;if(n==null)return{};const u=XC(r),c={x:i,y:o},f=Ho(s),d=Lf(s),p=U0(f),h=await l.getDimensions(n),v=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=a.reference[p]+a.reference[f]-c[f]-a.floating[p],_=c[f]-a.reference[f],g=await(l.getOffsetParent==null?void 0:l.getOffsetParent(n));let w=g?f==="y"?g.clientHeight||0:g.clientWidth||0:0;w===0&&(w=a.floating[p]);const E=y/2-_/2,b=u[v],S=w-h[p]-u[x],C=w/2-h[p]/2+E,$=lv(b,C,S),U=(d==="start"?u[v]:u[x])>0&&C!==$&&a.reference[p]<=a.floating[p]?C<b?b-C:S-C:0;return{[f]:c[f]-U,data:{[f]:$,centerOffset:C-$}}}}),bB={left:"right",right:"left",bottom:"top",top:"bottom"};function pc(e){return e.replace(/left|right|bottom|top/g,t=>bB[t])}function SB(e,t,n){n===void 0&&(n=!1);const r=Lf(e),i=Ho(e),o=U0(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=pc(s)),{main:s,cross:pc(s)}}const CB={start:"end",end:"start"};function gx(e){return e.replace(/start|end/g,t=>CB[t])}const AB=["top","right","bottom","left"];function $B(e){const t=pc(e);return[gx(e),t,gx(t)]}const TB=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:i,rects:o,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...h}=e,v=zo(r),y=f||(v===s||!p?[pc(s)]:$B(s)),_=[s,...y],g=await dc(t,h),w=[];let E=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&w.push(g[v]),c){const{main:$,cross:P}=SB(r,o,await(a.isRTL==null?void 0:a.isRTL(l.floating)));w.push(g[$],g[P])}if(E=[...E,{placement:r,overflows:w}],!w.every($=>$<=0)){var b,S;const $=((b=(S=i.flip)==null?void 0:S.index)!=null?b:0)+1,P=_[$];if(P)return{data:{index:$,overflows:E},reset:{placement:P}};let j="bottom";switch(d){case"bestFit":{var C;const U=(C=E.map(H=>[H,H.overflows.filter(V=>V>0).reduce((V,J)=>V+J,0)]).sort((H,V)=>H[1]-V[1])[0])==null?void 0:C[0].placement;U&&(j=U);break}case"initialPlacement":j=s;break}if(r!==j)return{reset:{placement:j}}}return{}}}};function yx(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _x(e){return AB.some(t=>e[t]>=0)}const RB=function(e){let{strategy:t="referenceHidden",...n}=e===void 0?{}:e;return{name:"hide",async fn(r){const{rects:i}=r;switch(t){case"referenceHidden":{const o=await dc(r,{...n,elementContext:"reference"}),s=yx(o,i.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:_x(s)}}}case"escaped":{const o=await dc(r,{...n,altBoundary:!0}),s=yx(o,i.floating);return{data:{escapedOffsets:s,escaped:_x(s)}}}default:return{}}}}};async function PB(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=zo(n),a=Lf(n),l=Ho(n)==="x",u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,f=typeof t=="function"?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*c,y:d*u}:{x:d*u,y:p*c}}const OB=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,i=await PB(t,e);return{x:n+i.x,y:r+i.y,data:i}}}};function QC(e){return e==="x"?"y":"x"}const kB=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:y,y:_}=x;return{x:y,y:_}}},...l}=e,u={x:n,y:r},c=await dc(t,l),f=Ho(zo(i)),d=QC(f);let p=u[f],h=u[d];if(o){const x=f==="y"?"top":"left",y=f==="y"?"bottom":"right",_=p+c[x],g=p-c[y];p=lv(_,p,g)}if(s){const x=d==="y"?"top":"left",y=d==="y"?"bottom":"right",_=h+c[x],g=h-c[y];h=lv(_,h,g)}const v=a.fn({...t,[f]:p,[d]:h});return{...v,data:{x:v.x-n,y:v.y-r}}}}},NB=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=e,c={x:n,y:r},f=Ho(i),d=QC(f);let p=c[f],h=c[d];const v=typeof a=="function"?a({...o,placement:i}):a,x=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const E=f==="y"?"height":"width",b=o.reference[f]-o.floating[E]+x.mainAxis,S=o.reference[f]+o.reference[E]-x.mainAxis;p<b?p=b:p>S&&(p=S)}if(u){var y,_,g,w;const E=f==="y"?"width":"height",b=["top","left"].includes(zo(i)),S=o.reference[d]-o.floating[E]+(b&&(y=(_=s.offset)==null?void 0:_[d])!=null?y:0)+(b?0:x.crossAxis),C=o.reference[d]+o.reference[E]+(b?0:(g=(w=s.offset)==null?void 0:w[d])!=null?g:0)-(b?x.crossAxis:0);h<S?h=S:h>C&&(h=C)}return{[f]:p,[d]:h}}}};function KC(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function Qn(e){if(e==null)return window;if(!KC(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ba(e){return Qn(e).getComputedStyle(e)}function Gn(e){return KC(e)?"":e?(e.nodeName||"").toLowerCase():""}function ZC(){const e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(t=>t.brand+"/"+t.version).join(" "):navigator.userAgent}function Sn(e){return e instanceof Qn(e).HTMLElement}function Mr(e){return e instanceof Qn(e).Element}function DB(e){return e instanceof Qn(e).Node}function V0(e){if(typeof ShadowRoot=="undefined")return!1;const t=Qn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ff(e){const{overflow:t,overflowX:n,overflowY:r}=Ba(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}function MB(e){return["table","td","th"].includes(Gn(e))}function JC(e){const t=/firefox/i.test(ZC()),n=Ba(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 eA(){return!/^((?!chrome|android).)*safari/i.test(ZC())}const xx=Math.min,Ns=Math.max,hc=Math.round;function Yn(e,t,n){var r,i,o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect();let l=1,u=1;t&&Sn(e)&&(l=e.offsetWidth>0&&hc(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&hc(a.height)/e.offsetHeight||1);const c=Mr(e)?Qn(e):window,f=!eA()&&n,d=(a.left+(f&&(r=(i=c.visualViewport)==null?void 0:i.offsetLeft)!=null?r:0))/l,p=(a.top+(f&&(o=(s=c.visualViewport)==null?void 0:s.offsetTop)!=null?o:0))/u,h=a.width/l,v=a.height/u;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}function jr(e){return((DB(e)?e.ownerDocument:e.document)||window.document).documentElement}function If(e){return Mr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function tA(e){return Yn(jr(e)).left+If(e).scrollLeft}function LB(e){const t=Yn(e);return hc(t.width)!==e.offsetWidth||hc(t.height)!==e.offsetHeight}function FB(e,t,n){const r=Sn(t),i=jr(t),o=Yn(e,r&&LB(t),n==="fixed");let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Gn(t)!=="body"||Ff(i))&&(s=If(t)),Sn(t)){const l=Yn(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else i&&(a.x=tA(i));return{x:o.left+s.scrollLeft-a.x,y:o.top+s.scrollTop-a.y,width:o.width,height:o.height}}function nA(e){return Gn(e)==="html"?e:e.assignedSlot||e.parentNode||(V0(e)?e.host:null)||jr(e)}function wx(e){return!Sn(e)||getComputedStyle(e).position==="fixed"?null:e.offsetParent}function IB(e){let t=nA(e);for(V0(t)&&(t=t.host);Sn(t)&&!["html","body"].includes(Gn(t));){if(JC(t))return t;t=t.parentNode}return null}function uv(e){const t=Qn(e);let n=wx(e);for(;n&&MB(n)&&getComputedStyle(n).position==="static";)n=wx(n);return n&&(Gn(n)==="html"||Gn(n)==="body"&&getComputedStyle(n).position==="static"&&!JC(n))?t:n||IB(e)||t}function Ex(e){if(Sn(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Yn(e);return{width:t.width,height:t.height}}function BB(e){let{rect:t,offsetParent:n,strategy:r}=e;const i=Sn(n),o=jr(n);if(n===o)return t;let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((i||!i&&r!=="fixed")&&((Gn(n)!=="body"||Ff(o))&&(s=If(n)),Sn(n))){const l=Yn(n,!0);a.x=l.x+n.clientLeft,a.y=l.y+n.clientTop}return{...t,x:t.x-s.scrollLeft+a.x,y:t.y-s.scrollTop+a.y}}function UB(e,t){const n=Qn(e),r=jr(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=eA();(u||!u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function VB(e){var t;const n=jr(e),r=If(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ns(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Ns(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);let a=-r.scrollLeft+tA(e);const l=-r.scrollTop;return Ba(i||n).direction==="rtl"&&(a+=Ns(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function rA(e){const t=nA(e);return["html","body","#document"].includes(Gn(t))?e.ownerDocument.body:Sn(t)&&Ff(t)?t:rA(t)}function vc(e,t){var n;t===void 0&&(t=[]);const r=rA(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Qn(r),s=i?[o].concat(o.visualViewport||[],Ff(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(vc(s))}function jB(e,t){const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&V0(n)){let r=t;do{if(r&&e===r)return!0;r=r.parentNode||r.host}while(r)}return!1}function zB(e,t){const n=Yn(e,!1,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft;return{top:r,left:i,x:i,y:r,right:i+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}function bx(e,t,n){return t==="viewport"?fc(UB(e,n)):Mr(t)?zB(t,n):fc(VB(jr(e)))}function HB(e){const t=vc(e),r=["absolute","fixed"].includes(Ba(e).position)&&Sn(e)?uv(e):e;return Mr(r)?t.filter(i=>Mr(i)&&jB(i,r)&&Gn(i)!=="body"):[]}function GB(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?HB(t):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const f=bx(t,c,i);return u.top=Ns(f.top,u.top),u.right=xx(f.right,u.right),u.bottom=xx(f.bottom,u.bottom),u.left=Ns(f.left,u.left),u},bx(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}const YB={getClippingRect:GB,convertOffsetParentRelativeRectToViewportRelativeRect:BB,isElement:Mr,getDimensions:Ex,getOffsetParent:uv,getDocumentElement:jr,getElementRects:e=>{let{reference:t,floating:n,strategy:r}=e;return{reference:FB(t,uv(n),r),floating:{...Ex(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Ba(e).direction==="rtl"};function WB(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=!0,animationFrame:a=!1}=r,l=i&&!a,u=o&&!a,c=l||u?[...Mr(e)?vc(e):[],...vc(t)]:[];c.forEach(v=>{l&&v.addEventListener("scroll",n,{passive:!0}),u&&v.addEventListener("resize",n)});let f=null;if(s){let v=!0;f=new ResizeObserver(()=>{v||n(),v=!1}),Mr(e)&&!a&&f.observe(e),f.observe(t)}let d,p=a?Yn(e):null;a&&h();function h(){const v=Yn(e);p&&(v.x!==p.x||v.y!==p.y||v.width!==p.width||v.height!==p.height)&&n(),p=v,d=requestAnimationFrame(h)}return n(),()=>{var v;c.forEach(x=>{l&&x.removeEventListener("scroll",n),u&&x.removeEventListener("resize",n)}),(v=f)==null||v.disconnect(),f=null,a&&cancelAnimationFrame(d)}}const qB=(e,t,n)=>_B(e,t,{platform:YB,...n});var cv=typeof document!="undefined"?m.exports.useLayoutEffect:m.exports.useEffect;function fv(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!fv(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!fv(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function XB(e){const t=m.exports.useRef(e);return cv(()=>{t.current=e}),t}function QB(e){let{middleware:t,placement:n="bottom",strategy:r="absolute",whileElementsMounted:i}=e===void 0?{}:e;const o=m.exports.useRef(null),s=m.exports.useRef(null),a=XB(i),l=m.exports.useRef(null),[u,c]=m.exports.useState({x:null,y:null,strategy:r,placement:n,middlewareData:{}}),[f,d]=m.exports.useState(t);fv(f==null?void 0:f.map(g=>{let{options:w}=g;return w}),t==null?void 0:t.map(g=>{let{options:w}=g;return w}))||d(t);const p=m.exports.useCallback(()=>{!o.current||!s.current||qB(o.current,s.current,{middleware:f,placement:n,strategy:r}).then(g=>{h.current&&Lr.exports.flushSync(()=>{c(g)})})},[f,n,r]);cv(()=>{h.current&&p()},[p]);const h=m.exports.useRef(!1);cv(()=>(h.current=!0,()=>{h.current=!1}),[]);const v=m.exports.useCallback(()=>{if(typeof l.current=="function"&&(l.current(),l.current=null),o.current&&s.current)if(a.current){const g=a.current(o.current,s.current,p);l.current=g}else p()},[p,a]),x=m.exports.useCallback(g=>{o.current=g,v()},[v]),y=m.exports.useCallback(g=>{s.current=g,v()},[v]),_=m.exports.useMemo(()=>({reference:o,floating:s}),[]);return m.exports.useMemo(()=>({...u,update:p,refs:_,reference:x,floating:y}),[u,p,_,x,y])}const KB=e=>{const{element:t,padding:n}=e;function r(i){return Object.prototype.hasOwnProperty.call(i,"current")}return{name:"arrow",options:e,fn(i){return r(t)?t.current!=null?mx({element:t.current,padding:n}).fn(i):{}:t?mx({element:t,padding:n}).fn(i):{}}}},ZB=m.exports.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return m.exports.createElement(Dt.svg,_e({},o,{ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:m.exports.createElement("polygon",{points:"0,0 30,0 15,10"}))}),JB=ZB;function eU(e){const[t,n]=m.exports.useState(void 0);return ko(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const iA="Popper",[j0,oA]=Ia(iA),[tU,sA]=j0(iA),nU=e=>{const{__scopePopper:t,children:n}=e,[r,i]=m.exports.useState(null);return m.exports.createElement(tU,{scope:t,anchor:r,onAnchorChange:i},n)},rU="PopperAnchor",iU=m.exports.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=sA(rU,n),s=m.exports.useRef(null),a=bn(t,s);return m.exports.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:m.exports.createElement(Dt.div,_e({},i,{ref:a}))}),mc="PopperContent",[oU,sU]=j0(mc),[aU,lU]=j0(mc,{hasParent:!1,positionUpdateFns:new Set}),uU=m.exports.forwardRef((e,t)=>{var n,r,i,o,s,a,l,u;const{__scopePopper:c,side:f="bottom",sideOffset:d=0,align:p="center",alignOffset:h=0,arrowPadding:v=0,collisionBoundary:x=[],collisionPadding:y=0,sticky:_="partial",hideWhenDetached:g=!1,avoidCollisions:w=!0,...E}=e,b=sA(mc,c),[S,C]=m.exports.useState(null),$=bn(t,be=>C(be)),[P,j]=m.exports.useState(null),U=eU(P),H=(n=U==null?void 0:U.width)!==null&&n!==void 0?n:0,V=(r=U==null?void 0:U.height)!==null&&r!==void 0?r:0,J=f+(p!=="center"?"-"+p:""),Ee=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ie=Array.isArray(x)?x:[x],F=ie.length>0,G={padding:Ee,boundary:ie.filter(hU),altBoundary:F},{reference:W,floating:re,strategy:D,x:O,y:T,placement:k,middlewareData:A,update:X}=QB({strategy:"fixed",placement:J,whileElementsMounted:WB,middleware:[OB({mainAxis:d+V,alignmentAxis:h}),w?kB({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?NB():void 0,...G}):void 0,P?KB({element:P,padding:v}):void 0,w?TB({...G}):void 0,vU({arrowWidth:H,arrowHeight:V}),g?RB({strategy:"referenceHidden"}):void 0].filter(pU)});ko(()=>{W(b.anchor)},[W,b.anchor]);const L=O!==null&&T!==null,[ce,ae]=aA(k),le=(i=A.arrow)===null||i===void 0?void 0:i.x,Z=(o=A.arrow)===null||o===void 0?void 0:o.y,Me=((s=A.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[We,oe]=m.exports.useState();ko(()=>{S&&oe(window.getComputedStyle(S).zIndex)},[S]);const{hasParent:Be,positionUpdateFns:ee}=lU(mc,c),fe=!Be;m.exports.useLayoutEffect(()=>{if(!fe)return ee.add(X),()=>{ee.delete(X)}},[fe,ee,X]),m.exports.useLayoutEffect(()=>{fe&&L&&Array.from(ee).reverse().forEach(be=>requestAnimationFrame(be))},[fe,L,ee]);const Wt={"data-side":ce,"data-align":ae,...E,ref:$,style:{...E.style,animation:L?void 0:"none",opacity:(a=A.hide)!==null&&a!==void 0&&a.referenceHidden?0:void 0}};return m.exports.createElement("div",{ref:re,"data-radix-popper-content-wrapper":"",style:{position:D,left:0,top:0,transform:L?`translate3d(${Math.round(O)}px, ${Math.round(T)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:We,["--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(" ")}},m.exports.createElement(oU,{scope:c,placedSide:ce,onArrowChange:j,arrowX:le,arrowY:Z,shouldHideArrow:Me},fe?m.exports.createElement(aU,{scope:c,hasParent:!0,positionUpdateFns:ee},m.exports.createElement(Dt.div,Wt)):m.exports.createElement(Dt.div,Wt)))}),cU="PopperArrow",fU={top:"bottom",right:"left",bottom:"top",left:"right"},dU=m.exports.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=sU(cU,r),s=fU[o.placedSide];return m.exports.createElement("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]: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}},m.exports.createElement(JB,_e({},i,{ref:n,style:{...i.style,display:"block"}})))});function pU(e){return e!==void 0}function hU(e){return e!==null}const vU=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,s;const{placement:a,rects:l,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,d=f?0:e.arrowWidth,p=f?0:e.arrowHeight,[h,v]=aA(a),x={start:"0%",center:"50%",end:"100%"}[v],y=((r=(i=u.arrow)===null||i===void 0?void 0:i.x)!==null&&r!==void 0?r:0)+d/2,_=((o=(s=u.arrow)===null||s===void 0?void 0:s.y)!==null&&o!==void 0?o:0)+p/2;let g="",w="";return h==="bottom"?(g=f?x:`${y}px`,w=`${-p}px`):h==="top"?(g=f?x:`${y}px`,w=`${l.floating.height+p}px`):h==="right"?(g=`${-p}px`,w=f?x:`${_}px`):h==="left"&&(g=`${l.floating.width+p}px`,w=f?x:`${_}px`),{data:{x:g,y:w}}}});function aA(e){const[t,n="center"]=e.split("-");return[t,n]}const mU=nU,gU=iU,yU=uU,_U=dU;function xU(e,t){return m.exports.useReducer((n,r)=>{const i=t[n][r];return i!=null?i:n},e)}const z0=e=>{const{present:t,children:n}=e,r=wU(t),i=typeof n=="function"?n({present:r.isPresent}):m.exports.Children.only(n),o=bn(r.ref,i.ref);return typeof n=="function"||r.isPresent?m.exports.cloneElement(i,{ref:o}):null};z0.displayName="Presence";function wU(e){const[t,n]=m.exports.useState(),r=m.exports.useRef({}),i=m.exports.useRef(e),o=m.exports.useRef("none"),s=e?"mounted":"unmounted",[a,l]=xU(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return m.exports.useEffect(()=>{const u=Ol(r.current);o.current=a==="mounted"?u:"none"},[a]),ko(()=>{const u=r.current,c=i.current;if(c!==e){const d=o.current,p=Ol(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&d!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),ko(()=>{if(t){const u=f=>{const p=Ol(r.current).includes(f.animationName);f.target===t&&p&&Lr.exports.flushSync(()=>l("ANIMATION_END"))},c=f=>{f.target===t&&(o.current=Ol(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(a),ref:m.exports.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Ol(e){return(e==null?void 0:e.animationName)||"none"}function H0({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=EU({defaultProp:t,onChange:n}),o=e!==void 0,s=o?e:r,a=Dr(n),l=m.exports.useCallback(u=>{if(o){const f=typeof u=="function"?u(e):u;f!==e&&a(f)}else i(u)},[o,e,i,a]);return[s,l]}function EU({defaultProp:e,onChange:t}){const n=m.exports.useState(e),[r]=n,i=m.exports.useRef(r),o=Dr(t);return m.exports.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}var bU=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ki=new WeakMap,kl=new WeakMap,Nl={},ep=0,SU=function(e,t,n,r){var i=Array.isArray(e)?e:[e];Nl[n]||(Nl[n]=new WeakMap);var o=Nl[n],s=[],a=new Set,l=new Set(i),u=function(f){!f||a.has(f)||(a.add(f),u(f.parentNode))};i.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(d){if(a.has(d))c(d);else{var p=d.getAttribute(r),h=p!==null&&p!=="false",v=(ki.get(d)||0)+1,x=(o.get(d)||0)+1;ki.set(d,v),o.set(d,x),s.push(d),v===1&&h&&kl.set(d,!0),x===1&&d.setAttribute(n,"true"),h||d.setAttribute(r,"true")}})};return c(t),a.clear(),ep++,function(){s.forEach(function(f){var d=ki.get(f)-1,p=o.get(f)-1;ki.set(f,d),o.set(f,p),d||(kl.has(f)||f.removeAttribute(r),kl.delete(f)),p||f.removeAttribute(n)}),ep--,ep||(ki=new WeakMap,ki=new WeakMap,kl=new WeakMap,Nl={})}},CU=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||bU(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),SU(r,i,n,"aria-hidden")):function(){return null}},vn=function(){return vn=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},vn.apply(this,arguments)};function lA(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function AU(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var au="right-scroll-bar-position",lu="width-before-scroll-bar",$U="with-scroll-bars-hidden",TU="--removed-body-scroll-bar-size";function RU(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function PU(e,t){var n=m.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}function OU(e,t){return PU(t||null,function(n){return e.forEach(function(r){return RU(r,n)})})}function kU(e){return e}function NU(e,t){t===void 0&&(t=kU);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(o){var s=t(o,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(o){for(r=!0;n.length;){var s=n;n=[],s.forEach(o)}n={push:function(a){return o(a)},filter:function(){return n}}},assignMedium:function(o){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(o),s=n}var l=function(){var c=s;s=[],c.forEach(o)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(c){s.push(c),u()},filter:function(c){return s=s.filter(c),n}}}};return i}function DU(e){e===void 0&&(e={});var t=NU(null);return t.options=vn({async:!0,ssr:!1},e),t}var uA=function(e){var t=e.sideCar,n=lA(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 R(r,{...vn({},n)})};uA.isSideCarExport=!0;function MU(e,t){return e.useMedium(t),uA}var cA=DU(),tp=function(){},Bf=m.exports.forwardRef(function(e,t){var n=m.exports.useRef(null),r=m.exports.useState({onScrollCapture:tp,onWheelCapture:tp,onTouchMoveCapture:tp}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,d=e.sideCar,p=e.noIsolation,h=e.inert,v=e.allowPinchZoom,x=e.as,y=x===void 0?"div":x,_=lA(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),g=d,w=OU([n,t]),E=vn(vn({},_),i);return je(yf,{children:[c&&R(g,{sideCar:cA,removeScrollBar:u,shards:f,noIsolation:p,inert:h,setCallbacks:o,allowPinchZoom:!!v,lockRef:n}),s?m.exports.cloneElement(m.exports.Children.only(a),vn(vn({},E),{ref:w})):R(y,{...vn({},E,{className:l,ref:w}),children:a})]})});Bf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Bf.classNames={fullWidth:lu,zeroRight:au};var LU=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function FU(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=LU();return t&&e.setAttribute("nonce",t),e}function IU(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function BU(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var UU=function(){var e=0,t=null;return{add:function(n){e==0&&(t=FU())&&(IU(t,n),BU(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},VU=function(){var e=UU();return function(t,n){m.exports.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},fA=function(){var e=VU(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},jU={left:0,top:0,right:0,gap:0},np=function(e){return parseInt(e||"",10)||0},zU=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[np(n),np(r),np(i)]},HU=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return jU;var t=zU(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])}},GU=fA(),YU=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
|
|
331
|
+
.`.concat($U,` {
|
|
332
|
+
overflow: hidden `).concat(r,`;
|
|
333
|
+
padding-right: `).concat(a,"px ").concat(r,`;
|
|
334
|
+
}
|
|
335
|
+
body {
|
|
336
|
+
overflow: hidden `).concat(r,`;
|
|
337
|
+
overscroll-behavior: contain;
|
|
338
|
+
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
339
|
+
padding-left: `.concat(i,`px;
|
|
340
|
+
padding-top: `).concat(o,`px;
|
|
341
|
+
padding-right: `).concat(s,`px;
|
|
342
|
+
margin-left:0;
|
|
343
|
+
margin-top:0;
|
|
344
|
+
margin-right: `).concat(a,"px ").concat(r,`;
|
|
345
|
+
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.`).concat(au,` {
|
|
349
|
+
right: `).concat(a,"px ").concat(r,`;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.`).concat(lu,` {
|
|
353
|
+
margin-right: `).concat(a,"px ").concat(r,`;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.`).concat(au," .").concat(au,` {
|
|
357
|
+
right: 0 `).concat(r,`;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.`).concat(lu," .").concat(lu,` {
|
|
361
|
+
margin-right: 0 `).concat(r,`;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
body {
|
|
365
|
+
`).concat(TU,": ").concat(a,`px;
|
|
366
|
+
}
|
|
367
|
+
`)},WU=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r,o=m.exports.useMemo(function(){return HU(i)},[i]);return R(GU,{styles:YU(o,!t,i,n?"":"!important")})},dv=!1;if(typeof window!="undefined")try{var Dl=Object.defineProperty({},"passive",{get:function(){return dv=!0,!0}});window.addEventListener("test",Dl,Dl),window.removeEventListener("test",Dl,Dl)}catch{dv=!1}var Ni=dv?{passive:!1}:!1,qU=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},XU=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Sx=function(e,t){var n=t;do{typeof ShadowRoot!="undefined"&&n instanceof ShadowRoot&&(n=n.host);var r=dA(e,n);if(r){var i=pA(e,n),o=i[1],s=i[2];if(o>s)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},QU=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},KU=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},dA=function(e,t){return e==="v"?qU(t):XU(t)},pA=function(e,t){return e==="v"?QU(t):KU(t)},ZU=function(e,t){return e==="h"&&t==="rtl"?-1:1},JU=function(e,t,n,r,i){var o=ZU(e,window.getComputedStyle(t).direction),s=o*r,a=n.target,l=t.contains(a),u=!1,c=s>0,f=0,d=0;do{var p=pA(e,a),h=p[0],v=p[1],x=p[2],y=v-x-o*h;(h||y)&&dA(e,a)&&(f+=y,d+=h),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(c&&(i&&f===0||!i&&s>f)||!c&&(i&&d===0||!i&&-s>d))&&(u=!0),u},Ml=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Cx=function(e){return[e.deltaX,e.deltaY]},Ax=function(e){return e&&"current"in e?e.current:e},eV=function(e,t){return e[0]===t[0]&&e[1]===t[1]},tV=function(e){return`
|
|
368
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
369
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
370
|
+
`)},nV=0,Di=[];function rV(e){var t=m.exports.useRef([]),n=m.exports.useRef([0,0]),r=m.exports.useRef(),i=m.exports.useState(nV++)[0],o=m.exports.useState(function(){return fA()})[0],s=m.exports.useRef(e);m.exports.useEffect(function(){s.current=e},[e]),m.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var v=AU([e.lockRef.current],(e.shards||[]).map(Ax),!0).filter(Boolean);return v.forEach(function(x){return x.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),v.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=m.exports.useCallback(function(v,x){if("touches"in v&&v.touches.length===2)return!s.current.allowPinchZoom;var y=Ml(v),_=n.current,g="deltaX"in v?v.deltaX:_[0]-y[0],w="deltaY"in v?v.deltaY:_[1]-y[1],E,b=v.target,S=Math.abs(g)>Math.abs(w)?"h":"v";if("touches"in v&&S==="h"&&b.type==="range")return!1;var C=Sx(S,b);if(!C)return!0;if(C?E=S:(E=S==="v"?"h":"v",C=Sx(S,b)),!C)return!1;if(!r.current&&"changedTouches"in v&&(g||w)&&(r.current=E),!E)return!0;var $=r.current||E;return JU($,x,v,$==="h"?g:w,!0)},[]),l=m.exports.useCallback(function(v){var x=v;if(!(!Di.length||Di[Di.length-1]!==o)){var y="deltaY"in x?Cx(x):Ml(x),_=t.current.filter(function(E){return E.name===x.type&&E.target===x.target&&eV(E.delta,y)})[0];if(_&&_.should){x.preventDefault();return}if(!_){var g=(s.current.shards||[]).map(Ax).filter(Boolean).filter(function(E){return E.contains(x.target)}),w=g.length>0?a(x,g[0]):!s.current.noIsolation;w&&x.preventDefault()}}},[]),u=m.exports.useCallback(function(v,x,y,_){var g={name:v,delta:x,target:y,should:_};t.current.push(g),setTimeout(function(){t.current=t.current.filter(function(w){return w!==g})},1)},[]),c=m.exports.useCallback(function(v){n.current=Ml(v),r.current=void 0},[]),f=m.exports.useCallback(function(v){u(v.type,Cx(v),v.target,a(v,e.lockRef.current))},[]),d=m.exports.useCallback(function(v){u(v.type,Ml(v),v.target,a(v,e.lockRef.current))},[]);m.exports.useEffect(function(){return Di.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Ni),document.addEventListener("touchmove",l,Ni),document.addEventListener("touchstart",c,Ni),function(){Di=Di.filter(function(v){return v!==o}),document.removeEventListener("wheel",l,Ni),document.removeEventListener("touchmove",l,Ni),document.removeEventListener("touchstart",c,Ni)}},[]);var p=e.removeScrollBar,h=e.inert;return je(yf,{children:[h?R(o,{styles:tV(i)}):null,p?R(WU,{gapMode:"margin"}):null]})}var iV=MU(cA,rV),hA=m.exports.forwardRef(function(e,t){return R(Bf,{...vn({},e,{ref:t,sideCar:iV})})});hA.classNames=Bf.classNames;var oV=hA;const vA="Popover",[mA,pH]=Ia(vA,[oA]),Uf=oA(),[sV,Ua]=mA(vA),aV=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:s=!1}=e,a=Uf(t),l=m.exports.useRef(null),[u,c]=m.exports.useState(!1),[f=!1,d]=H0({prop:r,defaultProp:i,onChange:o});return m.exports.createElement(mU,a,m.exports.createElement(sV,{scope:t,contentId:B0(),triggerRef:l,open:f,onOpenChange:d,onOpenToggle:m.exports.useCallback(()=>d(p=>!p),[d]),hasCustomAnchor:u,onCustomAnchorAdd:m.exports.useCallback(()=>c(!0),[]),onCustomAnchorRemove:m.exports.useCallback(()=>c(!1),[]),modal:s},n))},lV="PopoverTrigger",uV=m.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Ua(lV,n),o=Uf(n),s=bn(t,i.triggerRef),a=m.exports.createElement(Dt.button,_e({type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":yA(i.open)},r,{ref:s,onClick:lt(e.onClick,i.onOpenToggle)}));return i.hasCustomAnchor?a:m.exports.createElement(gU,_e({asChild:!0},o),a)}),cV="PopoverPortal",[hH,fV]=mA(cV,{forceMount:void 0}),_a="PopoverContent",dV=m.exports.forwardRef((e,t)=>{const n=fV(_a,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=Ua(_a,e.__scopePopover);return m.exports.createElement(z0,{present:r||o.open},o.modal?m.exports.createElement(pV,_e({},i,{ref:t})):m.exports.createElement(hV,_e({},i,{ref:t})))}),pV=m.exports.forwardRef((e,t)=>{const n=Ua(_a,e.__scopePopover),r=m.exports.useRef(null),i=bn(t,r),o=m.exports.useRef(!1);return m.exports.useEffect(()=>{const s=r.current;if(s)return CU(s)},[]),m.exports.createElement(oV,{as:ya,allowPinchZoom:!0},m.exports.createElement(gA,_e({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:lt(e.onCloseAutoFocus,s=>{var a;s.preventDefault(),o.current||(a=n.triggerRef.current)===null||a===void 0||a.focus()}),onPointerDownOutside:lt(e.onPointerDownOutside,s=>{const a=s.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;o.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:lt(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),hV=m.exports.forwardRef((e,t)=>{const n=Ua(_a,e.__scopePopover),r=m.exports.useRef(!1);return m.exports.createElement(gA,_e({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o;if((o=e.onCloseAutoFocus)===null||o===void 0||o.call(e,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1},onInteractOutside:i=>{var o,s;(o=e.onInteractOutside)===null||o===void 0||o.call(e,i),i.defaultPrevented||(r.current=!0);const a=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(a))&&i.preventDefault()}}))}),gA=m.exports.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:c,...f}=e,d=Ua(_a,n),p=Uf(n);return uB(),m.exports.createElement(cB,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},m.exports.createElement(sB,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:c,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>d.onOpenChange(!1)},m.exports.createElement(yU,_e({"data-state":yA(d.open),role:"dialog",id:d.contentId},p,f,{ref:t,style:{...f.style,["--radix-popover-content-transform-origin"]:"var(--radix-popper-transform-origin)"}}))))}),vV=m.exports.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Uf(n);return m.exports.createElement(_U,_e({},i,r,{ref:t}))});function yA(e){return e?"open":"closed"}const _A=aV,G0=uV,Y0=dV,W0=vV;var mV=Object.defineProperty,q0=(e,t)=>{for(var n in t)mV(e,n,{get:t[n],enumerable:!0})},xA={};q0(xA,{neutralColors:()=>de,primaryColors:()=>xa});var xa={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"},de={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"},bt=4,gV={"--ll-color-primary":xa.colorPrimary50,"--ll-color-primary-variant1":xa.colorPrimary40,"--ll-color-background":de.colorNeutral100,"--ll-color-surface":de.colorNeutral95,"--ll-color-surface-variant1":de.colorNeutral90,"--ll-color-surface-variant2":de.colorNeutral80,"--ll-color-on-primary":de.colorNeutral100,"--ll-color-on-primary-variant1":de.colorNeutral90,"--ll-color-on-background":de.colorNeutral10,"--ll-color-on-background-variant1":de.colorNeutral30,"--ll-color-on-surface":de.colorNeutral10,"--ll-color-on-surface-variant1":de.colorNeutral30,"--ll-color-placeholder":de.colorNeutral60,"--ll-color-disabled":de.colorNeutral60,"--ll-color-border":de.colorNeutral90},yV={"--ll-border-radius-small":`${bt}px`,"--ll-border-radius-medium":`${2*bt}px`},_V={"--ll-shadow-small":"0px 1px 3px 0px rgba(0,0,0,0.2)","--ll-shadow-medium":"0px 5px 11px -4px rgba(0,0,0,0.75)"},xV={"--ll-spacing-auto":"auto","--ll-spacing-base-unit":`${bt}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)"},wV={"--ll-font-family":"Inter, sans-serif"},EV={"--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)"},bV={"--ll-font-weight-light":"400","--ll-font-weight-normal":"500","--ll-font-weight-medium":"600","--ll-font-weight-bold":"700"},X0={...gV,...yV,..._V,...xV,...wV,...EV,...bV},SV={...X0,"--ll-color-primary":xa.colorPrimary60,"--ll-color-primary-variant1":xa.colorPrimary50,"--ll-color-background":de.colorNeutral10,"--ll-color-surface":de.colorNeutral20,"--ll-color-surface-variant1":de.colorNeutral30,"--ll-color-surface-variant2":de.colorNeutral40,"--ll-color-on-primary":de.colorNeutral100,"--ll-color-on-primary-variant1":de.colorNeutral90,"--ll-color-on-background":de.colorNeutral99,"--ll-color-on-background-variant1":de.colorNeutral60,"--ll-color-on-surface":de.colorNeutral60,"--ll-color-on-surface-variant1":de.colorNeutral70,"--ll-color-placeholder":de.colorNeutral70,"--ll-color-disabled":de.colorNeutral70,"--ll-color-border":de.colorNeutral30},CV=Object.keys(X0),B=CV.reduce((e,t)=>({...e,[t]:`var(${t})`}),{}),AV={day:X0,night:SV},$V=DE`
|
|
371
|
+
:root {
|
|
372
|
+
${({themeName:e,overrides:t})=>({...AV[e||"day"],...t})};
|
|
373
|
+
}
|
|
374
|
+
`,wA={};q0(wA,{transitions:()=>RV});var TV=e=>e,RV=TV({default:{ease:"easeInOut",duration:.15},defaultSlow:{ease:"easeInOut",duration:.4},spring:{type:"spring",duration:.4,bounce:.3}}),EA={};q0(EA,{screenSizes:()=>PV});var PV={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptopS:1024,laptopL:1440,desktop:2560},uu={colors:xA,...wA,...EA},OV=q.span`
|
|
375
|
+
display: inline-flex;
|
|
376
|
+
color: ${({textColor:e})=>e};
|
|
377
|
+
background-color: ${({backgroundColor:e})=>e};
|
|
378
|
+
border-radius: ${B["--ll-border-radius-small"]};
|
|
379
|
+
padding: ${({size:e})=>e==="small"?`calc(${B["--ll-spacing-xx-small"]} / 2)
|
|
380
|
+
${B["--ll-spacing-xx-small"]};`:`${B["--ll-spacing-xx-small"]} ${B["--ll-spacing-x-small"]}`};
|
|
381
|
+
line-height: 1;
|
|
382
|
+
font-family: ${B["--ll-font-family"]};
|
|
383
|
+
font-size: ${B["--ll-font-size-caption-1"]};
|
|
384
|
+
`,kV=({text:e,size:t="small",className:n,textColor:r=de.colorNeutral100,backgroundColor:i=de.colorNeutral60})=>R(OV,{size:t,className:n,textColor:r,backgroundColor:i,children:e}),NV=q.div`
|
|
385
|
+
height: ${({height:e})=>e}px;
|
|
386
|
+
width: ${({width:e})=>e}px;
|
|
387
|
+
fill: ${({fill:e})=>e};
|
|
388
|
+
display: flex;
|
|
389
|
+
|
|
390
|
+
& > svg {
|
|
391
|
+
fill: inherit;
|
|
392
|
+
height: 100%;
|
|
393
|
+
width: 100%;
|
|
394
|
+
}
|
|
395
|
+
`,Va=({SVGElement:e,fill:t="--ll-color-on-background",height:n=24,width:r=24})=>R(NV,{fill:t,height:n,width:r,children:R(e,{})}),$x=({variant:e})=>e==="h1"?B["--ll-font-size-h1"]:e==="h2"?B["--ll-font-size-h2"]:e==="h3"?B["--ll-font-size-h3"]:e==="h4"?B["--ll-font-size-h4"]:e==="h5"?B["--ll-font-size-h5"]:e==="h6"?B["--ll-font-size-h6"]:e==="p"?B["--ll-font-size-p"]:e==="caption1"?B["--ll-font-size-caption-1"]:e==="caption2"?B["--ll-font-size-caption-2"]:B["--ll-font-size-h2"],bA=q.span`
|
|
396
|
+
overflow: hidden;
|
|
397
|
+
display: inline-block;
|
|
398
|
+
width: 100%;
|
|
399
|
+
line-height: 1.45;
|
|
400
|
+
margin: 0 0 ${({noMargin:e})=>e?"0":"0.5em"} 0;
|
|
401
|
+
font-size: inherit;
|
|
402
|
+
font-weight: inherit;
|
|
403
|
+
`,DV=q.div`
|
|
404
|
+
${e=>Te`
|
|
405
|
+
text-align: ${e.align};
|
|
406
|
+
font-size: ${$x(e)};
|
|
407
|
+
font-family: ${B["--ll-font-family"]};
|
|
408
|
+
color: ${B[e.color]};
|
|
409
|
+
font-weight: ${B[e.weight]};
|
|
410
|
+
overflow: hidden;
|
|
411
|
+
display: flex;
|
|
412
|
+
|
|
413
|
+
svg {
|
|
414
|
+
height: ${$x(e)};
|
|
415
|
+
fill: ${B[e.color]};
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
${bA} {
|
|
419
|
+
${e.noWrap&&Te`
|
|
420
|
+
text-overflow: ellipsis;
|
|
421
|
+
white-space: nowrap;
|
|
422
|
+
`}
|
|
423
|
+
}
|
|
424
|
+
`}
|
|
425
|
+
`,pt=({children:e,variant:t="p",align:n,color:r="--ll-color-on-background",noWrap:i,noMargin:o,weight:s="--ll-font-weight-normal",className:a})=>{const l=["caption1","caption2","p"].includes(t)?"p":t;return R(DV,{variant:t,align:n,color:r,noWrap:i,weight:s,children:R(bA,{as:l,noMargin:o,className:a,children:e})})},MV=lf`
|
|
426
|
+
0% {
|
|
427
|
+
transform: rotate(0deg);
|
|
428
|
+
}
|
|
429
|
+
100% {
|
|
430
|
+
transform: rotate(360deg);
|
|
431
|
+
}
|
|
432
|
+
`,rp={small:bt*4,medium:bt*6,large:bt*8},LV=q.div`
|
|
433
|
+
height: ${({size:e})=>rp[e]}px;
|
|
434
|
+
width: ${({size:e})=>rp[e]}px;
|
|
435
|
+
border: ${({size:e})=>rp[e]/6}px solid ${B["--ll-color-on-surface-variant1"]};
|
|
436
|
+
border-bottom-color: transparent;
|
|
437
|
+
border-radius: 50%;
|
|
438
|
+
display: inline-block;
|
|
439
|
+
box-sizing: border-box;
|
|
440
|
+
animation: ${MV} 1s linear infinite;
|
|
441
|
+
`,FV=({size:e="medium"})=>R(LV,{size:e}),Ds={primary:{background:B["--ll-color-primary"],onBackground:B["--ll-color-on-primary"],hover:B["--ll-color-primary-variant1"]}},IV=({size:e})=>e==="small"?`font-size: ${B["--ll-font-size-caption-1"]}`:`font-size: ${B["--ll-font-size-p"]}`,Q0=({size:e})=>e==="small"?`${bt*8}px`:e==="large"?`${bt*12}px`:`${bt*10}px`,K0=({size:e})=>e==="small"?`padding: 0 ${B["--ll-spacing-x-small"]}`:e==="large"?`padding: 0 ${B["--ll-spacing-medium"]}`:`padding: 0 ${B["--ll-spacing-small"]}`,BV=({size:e})=>e==="large"?"svg { height: 24px; }":e==="small"?"svg { height: 12px }":"svg { height: 20px; }",UV=Te`
|
|
442
|
+
${({color:e="primary"})=>Te`
|
|
443
|
+
color: ${B["--ll-color-on-background"]};
|
|
444
|
+
|
|
445
|
+
&:disabled {
|
|
446
|
+
cursor: default;
|
|
447
|
+
}
|
|
448
|
+
`};
|
|
449
|
+
|
|
450
|
+
height: ${Q0};
|
|
451
|
+
${K0};
|
|
452
|
+
`,VV=Te`
|
|
453
|
+
${({color:e="primary"})=>Te`
|
|
454
|
+
background-color: ${Ds[e].background};
|
|
455
|
+
color: ${Ds[e].onBackground};
|
|
456
|
+
|
|
457
|
+
&:hover {
|
|
458
|
+
background-color: ${Ds[e].hover};
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
&:disabled {
|
|
462
|
+
cursor: default;
|
|
463
|
+
}
|
|
464
|
+
`};
|
|
465
|
+
height: ${Q0};
|
|
466
|
+
${K0};
|
|
467
|
+
`,jV=Te`
|
|
468
|
+
${({color:e="primary"})=>Te`
|
|
469
|
+
border-color: ${Ds[e].background};
|
|
470
|
+
border-width: 1px;
|
|
471
|
+
border-style: solid;
|
|
472
|
+
color: ${Ds[e].background};
|
|
473
|
+
`};
|
|
474
|
+
|
|
475
|
+
&:hover {
|
|
476
|
+
background-color: rgba(0, 0, 0, 0.03);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
height: ${Q0};
|
|
480
|
+
${K0};
|
|
481
|
+
`,zV=e=>({contained:VV,outlined:jV,text:UV})[e.variant],HV=q.div`
|
|
482
|
+
display: flex;
|
|
483
|
+
align-items: center;
|
|
484
|
+
margin-right: ${B["--ll-spacing-x-small"]};
|
|
485
|
+
margin-left: calc(-1 * ${B["--ll-spacing-xx-small"]});
|
|
486
|
+
`,GV=q.button`
|
|
487
|
+
font-weight: ${B["--ll-font-weight-normal"]};
|
|
488
|
+
border-radius: ${B["--ll-border-radius-small"]};
|
|
489
|
+
align-items: center;
|
|
490
|
+
cursor: pointer;
|
|
491
|
+
display: inline-flex;
|
|
492
|
+
background: none;
|
|
493
|
+
border: none;
|
|
494
|
+
|
|
495
|
+
svg {
|
|
496
|
+
fill: currentColor;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
${zV};
|
|
500
|
+
${BV};
|
|
501
|
+
${IV};
|
|
502
|
+
`,SA=K.forwardRef(({children:e,disabled:t=!1,onClick:n,variant:r="contained",startAdornment:i,size:o="medium",type:s="button",color:a,isLoading:l,className:u},c)=>R(GV,{variant:r,size:o,onClick:d=>{t||!n||l||n(d)},disabled:t||l,className:u,color:a,type:s,ref:c,children:l?R(FV,{}):je(yf,{children:[i&&R(HV,{children:i}),e]})}));SA.displayName="Button";var YV=({vertical:e,spacing:t})=>{const n=B[t];return e?`${n} 0 0 0`:`0 ${n} 0 0`};q.div`
|
|
503
|
+
margin: ${e=>YV(e)};
|
|
504
|
+
flex-shrink: 0;
|
|
505
|
+
`;q(G0)`
|
|
506
|
+
background: none;
|
|
507
|
+
border: none;
|
|
508
|
+
padding: 0;
|
|
509
|
+
`;q(Y0)`
|
|
510
|
+
border-radius: ${B["--ll-border-radius-small"]};
|
|
511
|
+
box-shadow: ${B["--ll-shadow-small"]};
|
|
512
|
+
padding: ${B["--ll-spacing-medium"]};
|
|
513
|
+
`;q(W0)`
|
|
514
|
+
fill: ${B["--ll-color-background"]};
|
|
515
|
+
`;function WV({height:e,width:t}){return Te`
|
|
516
|
+
height: ${e};
|
|
517
|
+
width: ${t};
|
|
518
|
+
`}var qV=lf`
|
|
519
|
+
from {
|
|
520
|
+
background-position: -800px 0;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
to {
|
|
524
|
+
background-position: 800px 0;
|
|
525
|
+
}
|
|
526
|
+
`;q.div`
|
|
527
|
+
border-radius: ${B["--ll-border-radius-medium"]};
|
|
528
|
+
animation: ${qV} 2s linear infinite;
|
|
529
|
+
background: linear-gradient(
|
|
530
|
+
to right,
|
|
531
|
+
/* NOTE: 99.9% of the time we should use colours from theme, since these are
|
|
532
|
+
CSS vars that can be overriden. */
|
|
533
|
+
${B["--ll-color-surface-variant1"]} 4%,
|
|
534
|
+
${B["--ll-color-surface-variant2"]} 25%,
|
|
535
|
+
${B["--ll-color-surface-variant1"]} 36%
|
|
536
|
+
);
|
|
537
|
+
background-size: 800px 100%;
|
|
538
|
+
${WV}
|
|
539
|
+
`;q.div`
|
|
540
|
+
flex: 1;
|
|
541
|
+
height: 100%;
|
|
542
|
+
width: 100%;
|
|
543
|
+
display: flex;
|
|
544
|
+
align-items: center;
|
|
545
|
+
justify-content: center;
|
|
546
|
+
`;q.div`
|
|
547
|
+
display: flex;
|
|
548
|
+
flex-direction: column;
|
|
549
|
+
align-items: center;
|
|
550
|
+
`;var Vf={exports:{}},jf={};/**
|
|
551
|
+
* @license React
|
|
552
|
+
* react-jsx-runtime.production.min.js
|
|
553
|
+
*
|
|
554
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
555
|
+
*
|
|
556
|
+
* This source code is licensed under the MIT license found in the
|
|
557
|
+
* LICENSE file in the root directory of this source tree.
|
|
558
|
+
*/var XV=K,QV=Symbol.for("react.element"),KV=Symbol.for("react.fragment"),ZV=Object.prototype.hasOwnProperty,JV=XV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ej={key:!0,ref:!0,__self:!0,__source:!0};function CA(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)ZV.call(t,r)&&!ej.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:QV,type:e,key:o,ref:s,props:i,_owner:JV.current}}jf.Fragment=KV;jf.jsx=CA;jf.jsxs=CA;Vf.exports=jf;const Y=Vf.exports.jsx,Pt=Vf.exports.jsxs,us=Vf.exports.Fragment,AA=K.createContext({}),tj=()=>m.exports.useContext(AA),nj=({client:e,options:t,children:n})=>{var r,i;return Y(AA.Provider,{value:{client:e,options:t},children:Y(j6,{target:document.head,children:Pt(us,{children:[Y($V,{themeName:(r=t==null?void 0:t.appearance)==null?void 0:r.theme,overrides:(i=t==null?void 0:t.appearance)==null?void 0:i.variables}),n]})})})},ip=(e,t=!1)=>{if(!e)return null;const r=parseFloat(e)*2;return t?Math.round(r):Math.round(r*10)/10},ja=({data:e,score:t,round:n=!1})=>{const r=m.exports.useMemo(()=>{var a,l;const u=(l=(a=e==null?void 0:e.location)==null?void 0:a[t])==null?void 0:l.value;return ip(u,n)},[e,t,n]),i=m.exports.useMemo(()=>{var a,l;return(l=(a=e==null?void 0:e.location)==null?void 0:a[t])==null?void 0:l.text},[e,t]),o=m.exports.useMemo(()=>{var a,l;const u=(l=(a=e==null?void 0:e.geographies)==null?void 0:a.find(c=>c.geog_level_type==="municipality"))==null?void 0:l.scores[t].value;return ip(u,n)},[e,t,n]),s=m.exports.useMemo(()=>{var a,l;const u=(l=(a=e==null?void 0:e.geographies)==null?void 0:a.find(c=>c.geog_level_type==="neighbourhood"))==null?void 0:l.scores[t].value;return ip(u,n)},[e,t,n]);return{textVal:i,scoreVal:r,cityScoreVal:o,neighbourhoodScoreVal:s}},$A=K.createContext({}),za=()=>m.exports.useContext($A),rj=e=>e==="small"?Te`
|
|
559
|
+
height: 16px;
|
|
560
|
+
padding: 0 ${B["--ll-spacing-xx-small"]};
|
|
561
|
+
font-size: ${B["--ll-font-size-caption-2"]};
|
|
562
|
+
`:Te`
|
|
563
|
+
height: 32px;
|
|
564
|
+
width: 32px;
|
|
565
|
+
font-size: ${B["--ll-font-size-p"]};
|
|
566
|
+
`,ij=q.div`
|
|
567
|
+
background: ${({isPrimary:e})=>e?Te`
|
|
568
|
+
linear-gradient(
|
|
569
|
+
to top,
|
|
570
|
+
${B["--ll-color-primary-variant1"]},
|
|
571
|
+
${B["--ll-color-primary"]}
|
|
572
|
+
);
|
|
573
|
+
`:B["--ll-color-disabled"]};
|
|
574
|
+
color: ${B["--ll-color-on-primary"]};
|
|
575
|
+
border-radius: ${B["--ll-border-radius-small"]};
|
|
576
|
+
display: flex;
|
|
577
|
+
justify-content: center;
|
|
578
|
+
align-items: center;
|
|
579
|
+
line-height: 1;
|
|
580
|
+
font-family: ${B["--ll-font-family"]};
|
|
581
|
+
${({variant:e})=>rj(e)};
|
|
582
|
+
`,oj=({options:{variant:e="large",isPrimary:t=!0}={}})=>{const{options:{data:n,score:r}}=za(),{scoreVal:i}=ja({data:n,score:r});return Y(ij,{variant:e,isPrimary:t,children:i})},op=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function pv(e,...t){if(!t.length)return e;const n=t.shift();return op(e)&&op(n)&&Object.keys(n).forEach(r=>{op(n[r])?(e[r]||Object.assign(e,{[r]:{}}),pv(e[r],n[r])):Object.assign(e,{[r]:n[r]})}),pv(e,...t)}const Si=e=>{const{client:t}=tj(),{locale:n="en"}=t.options;return m.exports.useMemo(()=>pv({},...e)[n],[n,e])},TA={en:{cafes:"Coffee shops",car_friendly:"Car friendly",cycling_friendly:"Cycling friendly",daycares:"Daycares",greenery:"Greenery",groceries:"Grocery stores",high_schools:"High schools",historic:"Historic",nightlife:"Nightlife",parks:"Parks",pedestrian_friendly:"Pedestrian friendly",primary_schools:"Primary schools",quiet:"Quiet",restaurants:"Restaurants",shopping:"Shopping",transit_friendly:"Transit friendly",vibrant:"Vibrancy",wellness:"Wellness"},fr:{cafes:"Caf\xE9s",car_friendly:"Convivial en automobile",cycling_friendly:"Convivial en v\xE9lo",daycares:"Garderies",greenery:"Verdure",groceries:"\xC9piceries",high_schools:"\xC9coles secondaires",historic:"Historique",nightlife:"Vie nocturne",parks:"Parcs",pedestrian_friendly:"Pratique pour les pi\xE9tons",primary_schools:"\xC9coles primaires",quiet:"Silencieux",restaurants:"Restaurants",shopping:"Magasinage",transit_friendly:"Transport en commun",vibrant:"Dynamique",wellness:"Wellness"}},RA={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."}},PA=e=>{const{options:{data:t,score:n}}=za(),{textVal:r}=ja({data:t,score:n}),i=Si([RA,TA]);return r?Y(pt,{...e.options,children:i[n]}):null};PA.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const OA=e=>je("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("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"}),R("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"})]}),sj=e=>je("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("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"}),R("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"})]}),aj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),lj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),uj=e=>je("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("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"}),R("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"}),R("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"}),R("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"})]}),cj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),kA=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),NA=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),DA=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),hv=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),vv=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),fj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),MA=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),LA=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),FA=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),Z0=e=>R("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),IA=e=>je("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("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"}),R("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"})]}),dj=e=>je("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("path",{d:"M9.16671 7.5H7.50004V10H9.16671V7.5Z"}),R("path",{d:"M12.5 7.5H10.8334V10H12.5V7.5Z"})]}),pj={pedestrian_friendly:aj,transit_friendly:OA,cycling_friendly:lj,car_friendly:sj,groceries:vv,restaurants:hv,cafes:kA,shopping:NA,wellness:FA,parks:fj,greenery:MA,vibrant:uj,nightlife:DA,quiet:cj,historic:dj,high_schools:Z0,primary_schools:IA,daycares:LA},BA=({options:e})=>{const{options:{score:t}}=za();return Y(Va,{SVGElement:pj[t],fill:`var(${e==null?void 0:e.color})`,height:e==null?void 0:e.height,width:e==null?void 0:e.width})};BA.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const hj={en:{LOCATION:"Location",CITY:"City",NEIGHBOURHOOD:"Neighbourhood"},fr:{LOCATION:"Location",CITY:"Ville",NEIGHBOURHOOD:"Quartier"}},vj=q.div`
|
|
583
|
+
position: relative;
|
|
584
|
+
display: grid;
|
|
585
|
+
grid-template-columns: auto 1fr auto;
|
|
586
|
+
align-items: center;
|
|
587
|
+
grid-column-gap: ${B["--ll-spacing-x-small"]};
|
|
588
|
+
width: 100%;
|
|
589
|
+
`,sp=q.div`
|
|
590
|
+
height: ${bt*2}px;
|
|
591
|
+
width: 100%;
|
|
592
|
+
border-radius: ${bt}px;
|
|
593
|
+
background-color: ${B["--ll-color-surface-variant1"]};
|
|
594
|
+
position: relative;
|
|
595
|
+
overflow: hidden;
|
|
596
|
+
`,ap=q(GC.div)`
|
|
597
|
+
position: absolute;
|
|
598
|
+
height: 100%;
|
|
599
|
+
border-radius: ${bt}px;
|
|
600
|
+
background: linear-gradient(
|
|
601
|
+
to right,
|
|
602
|
+
${B["--ll-color-primary-variant1"]},
|
|
603
|
+
${B["--ll-color-primary"]}
|
|
604
|
+
);
|
|
605
|
+
`;q.div`
|
|
606
|
+
position: absolute;
|
|
607
|
+
height: 100%;
|
|
608
|
+
top: 0;
|
|
609
|
+
left: ${({val:e})=>e*10}%;
|
|
610
|
+
transform: translateX(-1px);
|
|
611
|
+
border-right: ${({markerType:e})=>`4px ${e==="city"?"solid":"dotted"} ${B["--ll-color-on-background"]}`};
|
|
612
|
+
`;q.div`
|
|
613
|
+
position: absolute;
|
|
614
|
+
top: ${({position:e})=>e==="top"&&"-18px"};
|
|
615
|
+
bottom: ${({position:e})=>e==="bottom"&&"-18px"};
|
|
616
|
+
transform: translateX(calc(-50% + 2px));
|
|
617
|
+
left: 0;
|
|
618
|
+
`;const mj=()=>{const{options:{data:e,score:t}}=za(),{scoreVal:n,cityScoreVal:r,neighbourhoodScoreVal:i}=ja({data:e,score:t}),o=Si([hj]);return n?Y(us,{children:Pt(vj,{children:[Pt(us,{children:[Y(pt,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,color:"--ll-color-on-background-variant1",children:o.LOCATION}),Y(sp,{children:Y(ap,{animate:{width:`${n/10*100}%`},transition:{delay:.3,...uu.transitions.spring}})}),Y(pt,{variant:"p",weight:"--ll-font-weight-bold",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:n})]}),r&&Pt(us,{children:[Y(pt,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:o.CITY}),Y(sp,{children:Y(ap,{animate:{width:`${r/10*100}%`},transition:{delay:.4,...uu.transitions.spring}})}),Y(pt,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:r})]}),i&&Pt(us,{children:[Y(pt,{variant:"p",noMargin:!0,color:"--ll-color-on-background-variant1",children:o.NEIGHBOURHOOD}),Y(sp,{children:Y(ap,{animate:{width:`${i/10*100}%`},transition:{delay:.5,...uu.transitions.spring}})}),Y(pt,{variant:"p",noMargin:!0,align:"right",color:"--ll-color-on-background-variant1",children:i})]})]})}):null},gj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),yj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),_j=q(G0)`
|
|
619
|
+
background: none;
|
|
620
|
+
border: none;
|
|
621
|
+
padding: 2px;
|
|
622
|
+
margin: 0 0 0 ${B["--ll-spacing-x-small"]};
|
|
623
|
+
flex-shrink: 0;
|
|
624
|
+
box-sizing: content-box;
|
|
625
|
+
`,xj=q(Y0)`
|
|
626
|
+
background-color: ${B["--ll-color-background"]};
|
|
627
|
+
padding: ${B["--ll-spacing-small"]};
|
|
628
|
+
border-radius: ${B["--ll-border-radius-small"]};
|
|
629
|
+
box-shadow: ${B["--ll-shadow-small"]};
|
|
630
|
+
z-index: 1;
|
|
631
|
+
width: 240px;
|
|
632
|
+
max-width: 100vw;
|
|
633
|
+
`,wj=q.div`
|
|
634
|
+
display: flex;
|
|
635
|
+
align-items: flex-start;
|
|
636
|
+
justify-content: space-between;
|
|
637
|
+
`,Ej=q(W0)`
|
|
638
|
+
fill: ${B["--ll-color-background"]};
|
|
639
|
+
`,bj=()=>{const{options:{data:e,score:t}}=za(),{textVal:n}=ja({data:e,score:t}),[r,i]=m.exports.useState(!1),o=Si([RA,TA]);return n?Pt(wj,{children:[Pt(pt,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:[n,"."]}),Pt(_A,{open:r,onOpenChange:i,children:[Y(_j,{children:Y(Va,{SVGElement:r?gj:yj,fill:B["--ll-color-primary"],height:20,width:20})}),Pt(xj,{collisionPadding:bt*2,children:[Y(Ej,{}),Y(pt,{noMargin:!0,color:"--ll-color-on-surface-variant1",children:o[`${t}-description`]})]})]})]}):null},Sj=e=>{const{data:t,score:n}=e.options,{scoreVal:r}=ja({data:t,score:n});return!t||r===null?null:Y($A.Provider,{value:{...e},children:e.children})};var vH=Object.freeze(Object.defineProperty({__proto__:null,Badge:oj,Title:PA,Icon:BA,BarChart:mj,Description:bj,Root:Sj},Symbol.toStringTag,{value:"Module"}));const Cj={en:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Powered by"},fr:{LOCAL_LOGIC:"Local Logic",POWERED_BY:"Propuls\xE9 par"}};var Aj="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNwAAADqCAYAAAB5oFizAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAJstJREFUeNrs3c9uHEmeGOCsGQG6zGL4BlNj+DA+NfUEKp0ae1iI5Auo9AKWdFrYMEDy0oBPEucFVDrMwoddisJe9qYS4INvYt/sw6JrfPLB8HLgg01DaDqDjGomKZJikRH59/sa1UXxT1ZmRmTGL34ZGVkUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAx4xyLvwPP/xxvTgp1pYf9PPJyVcfelJ+L/w3OrnwzeLk8sLi355UfjCq/OPnk+UGnVR+Xn7/7K+K4uTiBv9c+dt//uFv56oCAAAAACk8yLz81+Vr0vqd8PDhvHzb/HJ8fKRKAAAAAHAfv7ILTk3K108PHj7csCsAAAAAuA8Jt3Ph1tf3Dx4+fFu+1uwOAAAAAO5Cwu1r0/L1+cHDh+t2BQAAAACrknC72rg4S7rt2BUAAAAArOKBXXCj7d+M/9Xjf/Mffvg0Gp0/W7XyZcxYxm+MKk9gLX+p+jTWX8V/nCz/ZjSqfL38/ujC7y+fozqqfOgovk5Gy6+vXq8LXxcX/lEue1T9Z7ms0S/bcjKqbtfZOvz6dF3O1vfX8Xeu3I7KMs8/YnRpvW6xvpd+MLq07Oq+KC6sy+nXiz99//1M1QUAAACaIuH2rR30m7+aFB140iq/mJevmd0AAAAANMUtpQAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQg/sAgAAAABS29zamtzm997v788rfzMu38bV733jM9bKt/XydVj+zVFbtl3CDQAAAIActi/9exzfF5e+P698PQ1/t7m19eSWSbfX8W+eXFpOoyTcAAAAAEju/f7+k+q/N7e2duL3d77xp4vy9aL4RgItjm7bKL5O4DXOHG4AAAAAtMlB+ZrE20tvMo2/u2jbBki4AQAAANAmfynOEmkvvvF74efv2rgBEm4AAAAAtM1ucTaC7UqbW1vhVtKj2z5coW4SbgAAAAC0yvv9/UX5dri5tTW95lfC6La9tq6/hBsAAAAAbRQSal/dVhrndlt/v78/a+uKS7idObILAAAAANrj/f5+mMdtbXNra3LpR9tFi0e3BRJuZ8Jjahd2AwAAAECrhMTas+U/Nre21sq3MH/brM0rLeFW+nJ8fFi+PSrOnoABAAAAQDvMytdGvI00mJavgzjHW2tJuEVfjo+PytdmcfYUDAAAAAAa9n5/P0wDFgZITeO3wpxu79q+3hJul3w5Pt4pzm4xNa8bAAAAQPPC4KgXm1tb4VbSo/f7+/O2r7CE2xW+HB+Hggu3mB7aGwAAAADNibePhhzN26LlD0tYeqDYrvbl+DgU5qMHv/mr1+X7uj1yamIXAAAAAA0It5GO3+/vz7qwshJu3/A//8t/flW+7IjS3/zDP57YCwAAAMAdze76OyHRtrm1dd2diK/K16JNGyrhBgAAAEB2t3my6E2/U/7scJXvN8kcbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJPbALANprY2trvXxbi/+sfl21iK/g6GB//9Ce62Q5zpdflGU4t9cAetkejMu3cfxn9euqo/J1qE1QjnCHePIw1r3Tr8t6d2TPNUfCDaA9DWh4fRffr2tEb7Os8LaIr9Do/li+5mWDu7CnW12O25fKcBmoK0OA7rUH40o78Li4Pilz23Y9mMe2fdkmuMDW/XI8lIijhnrn3NGQUc6F/+GHP34sTorJ8oN+Pjn56kNPyu+F/0YnF75ZnFxeWPzbk8oPRpV//Hyy3KCTys/L75/9VVGcXNzgnyt/+88//O1IVfi2v/mHfzz5ddibo7PdeXo/8mh0/nWlUo1G5/8aVfbuqPKPi9+/+nfCD0aXK2z8+Sj+73xdTr+e/+n7758orRtPumvx5J3KQhLgzuWwUb6elq9wnlyr4WMXscH9VL4OXPFKWo6P4/taTWX4IQZMRwPe95OEi+v9FeBLV8XvTQex18eDkdJ3L4dquz6u6WMPKu26eCxdOS7b9brKsdq2H3Z8/02SVvCBtDc1nz+OKnVOnyAjI9xgeEKn62PC5e2Wrx279VYNaTXJttHAKoTGexpfb8v1CUH6h7KRnSmdOwVFzxoox2oZFrEM35VleDDA/f/eeWwlr2MQn4qLle2Ssl0PnTAXL1fvJNdx0eXKVYiv1+W6hETNu/I104FeuRxDfPyiwXKcLM/R5bosirNE6l5Hk6gfEy9v1ON6N6nEk3XWu7XKueOXPkEh+ZachBtA/sZ0HIO4aUNB3I1Berl+oSO+FwP0hRK7thxD2b2MZbnWsjJcxE7Wm4EESi8SLy8EuztqObBCezCN56Jxi1ZteQtaSL7NirOEjdGKN5flshzXW7Ra4xhvvCzXb16cXVibKa1enT9C/LbdovNHNXEfkm+7+gRpSLgB5GtQx7ExnbZ8Vdfiem7HAF0j+3Vg9Lpo7qr3bYPzUIYvyvUNydPeJt7icTVJvf/CKJWhjRQE7tQetO3Cy3VC7DGNCZtdt4F/VZbTol0Jj+uE9m5Sru92LMeZ0nP+yNwnWJ479AkS+JVdAJC+QS1fb8svfyran2y7KkD/qVz/nRgYDL0cdyrl2IX9sUyehjJ82dOiedGx5QL9aBNexvZguyPtwdKkfH0s1/9jvGAx9HIMo8JDOYY4rUv7I6xruPXvp5gspFv1btrB84c+QQISbgB5AvKuB0PLpM3GQMsxdFA+d7BjtXQ6Kq/cjs9xXpq+lMtaxmNrojMKXNUehHNpcTbSucudzsmy8zzQcgwjmcPcYmH+zy6f68O6v5VA7Uy9W4/17m2Hzx8hFv6c+mEYQyHhBpAoERAb1K4H5FVhO96X2/V+KFe2YjmGMvzY8YB86fQhKT26Gp77tl6j3IBqm7BsD9Z7tFnbfbsYc4tyDBdDQ9K0TwmDsC2fezyavQ/1bqdH9W4c48nXSnY1Em4A929QQ0P6U88CuQubWJxdFV/veTkun+Dbt+A1JKjextucO99RzLz8qdsmgDga6nMP24Ol0N71PlkTL6KFEW19uhh6uX1/PaQLox2qdx9riFma8DKOrlTfbknCDeB+jWoIVj/2NJC7HNR97uu8IfHW2b6NYrhs2uWkW0xsj2uo54O8jRr45VxzmozqeXuw9LonF2OuK8ePAzmnn8YwkiCtqXd9vghfFOfzQqpvtyDhBnD3RjUEqUMbWv22b8PJYxIxXAEfQuDQ5aTbs5o+x22lMNx2PbQHnwfSHlTbhc996jxXkm3rAyrHsK3bjuJG693y4u3aQOqbpNstSLgB3K1RDUmL6UA3/2VfrojHztXbgZXftGsjFePE0HWt87qJgWGQ7foQ24PedZ4rybahJQIOy9euI7nR88f7gdW7cKyZ0+0bJNwAVm9Uh5xsW5p2Pek24M7V7GB/f9a1+lbz5z0rgKF1lt8OfDd0Puk24GTbonw9Kdv2I0ez80eNQpL3lRpwMwk3gNUaVcm2c9P4BCbBUXeEZNvzDq73swbqttskQGd5aJYJqy6W41CTbSHJtinZ1mi9G2qyTZL3FiTcAFYLyqf2xAXbHbw9cVJItnXtuBs38NEvHd4wiM6yW6IuWu/aCPZ4gWSIybYgJD0OVdvGzh8fB7jpkm0rkHADuF2jOilcAb/O6xh0dKEcx8XZHBtD09WRbcGzgX0uUE97sFYMb86l25rGp7B3xVCTbc8l2xo9f7wthjlXoGTbCiTcAG4flHO10/3TkVvwhti56myyLSZyJw19/Dg+cQzop9BZHtsN1+rExbT45PT1AZbPqw7Ox9qr42OA9U6y7Q4e2AUAtwrKm0zSHMbXn+O/5/F9rdLYfxe/bqrzED43PI6+tZOnxvnmmg6OQjmGQOXTFT/7bVy/9YT1rcsj24IXLfj8A6dA6Jc4eqvJhPoivj5dahuKShvwu0qb0GT886jF5Tgpmrv9/yjGY5+W5XfVaLPKU68nMVabJGjjQ9v+xpHcWL0L545pw6uxPIeEOveXK37+OMbmqfoFkm13JOEG8O1GtYmgPHTyP4T3bzRuB5fWdxyDuacNrPfL8vM/lOs7b2E5hg7LdkMB+bIs57cNVGI5bsSA6a7l2OlkWxwx2fQIs0koi3I/LpwNoTft+lpD7UHosL6L7fpN55T5FetbbdfrvAAY5nPbKdd3p6XlWPdUH8s2fe+2t3JWYqL5pdjyruV50PELaX04fzQ1xcxt+wap+wWSbfcg4QZwszonUw4N2V5xlii5Uwc//t0svGIjGzoV05r316OBl2MQymH3rrd7xHIMV6/fxHIMZfhihcB81oOAfFq04/bfsN899h761a7XeW4J7cDeXefaip3c0NE+KNuDcC56uWJ7cF/h4UizFl54CPthXHN89iZF0qFcxl3LM9QhybZhnT/uVfcu9QvWKvHkbY8dybZ7knADuEa8BbGuYC40hq9SNmixkX1ebsduDBDqGC0UroZP2zSvSHzK5aTGwGg35a0esRx3yu0Iy9wuvn37zKwnV79ftGQ9Qv2RcIN+tOvrRX0XoeaxPZgnbA+OKu3By6K+kXrhc563qBzHNbYRBzE+WyRf8MXy/Fb7LvExrPNHEOL3N6nKPC5neTF3p/h2oledS8BDEwCublTXagrmjmJj9jxXgxaCxPK1WX65WZzPEZM7MG+TutYnBOW/zzWvSqgf5Sskfp7cUI69SLbFOW/GLVmdtZi0BbqvrtHOIUHzJNcUC7E9CB3mR7FTnNu0MhdZW9r13KOMQjsbYrPN3KP7LrXvixvWReJjGOePcEw/Csd4xr7BTqxvhzesg2RbAhJuAFd7WUMwFxqz39c151m8haGO4HzclgRFXI9xTZ2rzToCk1hfrirHWY/mdXlhfYDE7cGkyD/a+Sh2lGuZ0D7epho6zbOhnAcr0yzkLscndY/Wv6Z9X67LoaO49+ePZSz3qI7yrpw/Dq/on0i2JSLhBtBMYDlrojGLV2lvuqKVSltGudWxHs/rflpYpRyPKgFaL5JtlQdGtMl6vJUE6K5nmZffSGIkjo56XuRPum3E83Pf2/XlxdBGElwxLqzGaa8k2wZx/gh2647lrqhvkm2JSbgBfN3hnxZ5R7fNc95CeofGNYdxfApXk+UYPj935+B5U/PVVcrxTc+eWJYq2b2cq6Rt6wXU3x6EtmCa8SMaH4VUU9Jtu+FyzP306qM2JBsq7ftmm+bEdf7IareppwFX6ttBIdmWnIQbwNdyXsUKwfhm0xsYG9Pcc7o963E5Bq+aDoRD5y7O+9InqYLaEDjupVyv2NkDhnteuUprbvmLSbd5xo9oevRx+Py1zOXYimRDHLl44NDt/fkjmDWVbLtU3zYl29KTcAOoRnJnV7EmGYO55y0K5hZF3uTfRlMJihqugh/UfRvpQI6/acLO1LtYx1N2gqdKCTop5wWY3Zbd8pfzYlrTD5HJOdLYrZs0cf447NldClwi4QZwqc8/oKB8OUHvm47uz6Y+9zRx6lBpdWdqUXkYyV4L1w+oqzE4m39xnGnx87ZdfIkX9XK2UU8bKsdQhusZy3HmaKHm80chnuw/CTeAi3JdxVq0eETUbpHvavjThrYp5+e+MuQ+W1CbqjN1cM3X99X43ITA6qeXoXWW462I80yLnyhH9AvSxN9GVfafhBvAeYd/rch39XS3rdsdk0d7uXZrzwJzV8HzSTl6bO9S/U6ZdHumqKBTHmda7izett5Wueb3DLeVThrYnlwX0t60vBxpVq66nvrBTrSUhBtA/kZ10YEkzZsi0yi3ugPzzJ+35zDJUmYh2T1NtLjDKzpP71Kubry1CRh2277b5o2OI2fmHdunTXymdp3rYpPQ1ue6EL/nbolhkHADOJetUW37hsdGf9aTwDzX5y08MSyblzmPt1huKQNbc7lBNzrMudqDg46MisoVfzzuSTnOjG6jgX5BYHTbQEi4AeQPIGcd2f53mZb7XU/K0VXwfFLepnmw4vfvYqrIoBMmmZb7oQsbHy82LDIser3mTcn1ee8cIjRQ72ZGtw2HhBtA3oZ13pVGNd5+kiMwH/ckQDK6LYP4EIJUdeSmIDZlxyrMYTRVetB6v9MeZFnXtZpvrc9x4e6o8jRruEquC7gf7NrheGAXAJwHkBrV08D8ZeJlrvegHA/ddpLNizqOt9CxKjuIoQzHCdd7pvig1cYZljnv2OiUTxna9eW+XXS4HJMmIjM/eGvVeMXoqfbWu8L0JMMi4QZQZJ0fpGuP+84SmIcr4XUkrDKW49xRkqW8QjCbqsyObhHEpkwor5frvx5HhgLtlCMB8qlLOyCcF8tzVa59W1fbOOlAOYb98bEFRf5EzJLMWDzJfbmlFCBvoNu1hjXX+o47XpQ/qs1ZpBzdNrvF7+y1eP2B9HKMeO5ih/mwI/u26/uEnsh4y/Qne3dYJNwAzuS4Ct65YC7ehtDlWxEmAvPOBLOhszZNuMh3t6jfi8RluRG3A2jnOSaHRQd3x6LD5ZjlNk2jk/mGsWORFCTcAM7kCMy7mrjKEYSud7lyCMzz9KMSHneHK5RR0ocnFJ5YCm2VK1HTxQ5zjlHaj2ta9yzzsjo8aMjCLhgWCTcAjWpXA2a6bTvhslZJos0Sb4fbSgG6xUMF0DegFhJuAPn8WSAqOOJr8eEW44SLnN32F+Nt0ymfEDbO+LAOoF3mHV1vI7pgNVnadU+8Hx4JNwAu84CAiwRH6T1LGb/GJNoqPiTeHqPcgDZzIQ2gARJuAEBt4pO/pgkXuXLy7GB/f5a4A7qR8YlmAAB0kIQbAJc9tgsuGNsFSU0TLusoJs/u4qDF2wW0U1fnI11XdAD1k3ADyEfiqh/GdkFSSW8nvcffvku8XW4rhf7rauLKg4tgNfMcC93Y2nIsDoyEGwB1MGEzIdCcFmkTmHt3/cOD/f0QTC9Sdmjj9gEMwcIugJUZbTowEm4AZ3IkhMYd3ReTDMvs9ITNG1tbAqQ0Uo5uWxzs79/3uD1o8fYB9zm4z5Lq2oMzOUbc1/Uk9hzxw8QRQkOMcBsYCTeAfAHduGtDx3sw8fs803LHDpEkndSUnZy9lizjQidOchZ6b2yd65Pgwsp1bZLEBzdZZFquGGFgJNwANKxVk0wB87zj9UOAdH+p5zg7SFAvw3F/2PLtBO4uR7KmU/OzxsTSuCP7VrtOK8T4IAfzOw+MhBtA3ob1acd2RY5A4KjGcpwLkFrb4dtIuMh5wmM29cMTNoycgNZwO2K+9a1zqoi5cqQBOfoGEr0DI+EGcC7H1VqBef1XwXMESBNJlHuZFmnnLUmZJEs9j1vq5CJwd59ydJg7Nv1Clgt/NY9cz9Gup76QFhKQ83u8jhyurZOj3oUHLE3s2uF4YBcA/CIkhlJfeToNzDOOoEsmzj01zrRf6w6QcmxHSKLMHCZ3kvo2y7dlfX3b4u3dVlegtx3mZXvwpiP7IMcFgLrb9R8zLPP0QloZnyVJdMW55p7cIwb7WBh11zafMpVJSILP7d5hMMINIG9AF3RlTqcXHduvNwVIOXgC5d06EaGzNx7YZo9dwYZWyNWp7UR7UJ6HpkWepyLWnXDL9XlGI9NEvZvatcMh4QaQPzCftv12xAxzbNWxX+v+PE+g7HHH1HZD/8TR5Tlu1VvvSFI913noU83lOO/Y/kG/4CZrMRnOAEi4AZwHdIeZAvOQzHrZ8s1/WeS5Cr6o+3bazPPKeALlCuI8R0MdQTDt2DxP0NvmPdNyt1t+/p0U+W5RnDewSTk+04U0boonQ58g1yi3bXt4GCTcAOoJzF+0dZRbTAq86Nj+bOpzp24VXK3eD3z7p6oANC7XaKxJy9uDXB36RUPz0n7o2H6iH+aZljs2ym0YJNwA6gno1loc1L0u8oxuy9nRaaocBeerGXow6XYlaF7OCz+v27jBZUc+jFqfdHB/NvG5Gy6kcYN3GZf9uu1TznB/Em4A1Whufz8EdLkezf6ybUFdnNA+1y1/i7g/+9bBmsTODDfXrWmRL5HbFa5gQ/Pt+lHGNiHM5bbTsnPvuMh7YehdQ+W4KPLd3vfakcI19S7UuUWmxYcY6a293G8SbgBXtK8Zl/2+LVez4rwlbzu6H5vsYJ0G522Z9yUkTVt6hdR8d2eMcoPmZR313JaLabEteF/ku9hxGBMQTdnLtNyQOJV04zo5k8wbbbkwF+NJcxomJuEGUF9AV8Qg+GPTCZL4+W+LvCOQ9npcjkUsx/WGy3EaO1cf25R0i51PQduZiYcnQLMO9vdnRb5RKsH7lnRUX2c+9zbdrue+C2HqaOEKs8zLf9t00r5yEf6jpFtaEm4AXwfm4ertPONHrBcNJkji537MHJQfNDSpcrUc55k7WGtNBibxc19X6tTnFgVJRnVdZN4/aF7OUSqNtgexTQid5WnGj8g9cvw27XrudXgr6cYV9S7EkrPMH/O+4XjyYzyPNX4u6xsJN4Cr7WZefiNJt9iAfi7yjz7aG0g5NhKYxLn3lsHR0rhox6i7tcLDEr7aLSZGhsa9KfKNjmqyPVgrX+9rOO/uxYRX39t1STeaiGvD+eNz3XXvUrLt8rnMcZCAhBvAFeLoqHnmjwmN3E91DSOPDWdoVMeZP2oe918bynFW5B3lVg2SXtZUjjvF9XP0tOHKpAdKXF0uG3YDNNoeHNXYaa6rPVh2lnOfX8K+e9OScgxt+izzx7w1pxuX6l3uu18u1L06LtJV+gXXxZOSzwlIuAFcb7eGz1gmSLI1rmH+qHj1O/ecbXXutzauTyjDj7kSqKFjVb7C6MTtW9apppJubie9mttKoXm5R7ldbg+ynIfjqLadop4R60FbRrdV2/Xc6xPmdPvs1joqntf0OSFh/zljPLlKv0DS7Z4k3ACuUdMot2rjGka77aRKvMUGNTSmPxX1ja6ZtWV0W6UcZzWWYwiOQicr2QS4lXJcpWPVyO0A8VbXsbPHlcZteZIhDLhdD0maui7CTGKn+W2qB6dUEm2hXa8rib8oWjK6rVKOYZ3qmLpiPXUZ0unzR6h3s7pihhjHfYyxVcrzx+cV+wWSbvfwwC4A7ulZeRJ+3NBnh8fTv8r8Gc9jw1THyLC1GEBvl/s0NOgfyu1baXLgmKwLjejTov5b2EJH5lVL6+mrWI51CYHJtCyPcAtCmKh7Hm9HuG05jmNn7Vl8v2t9CkHSMulYhxdOiTefL4v6kr9ZhU5Ak8fzKscTqycZmizfsmyfZF7+m3L7wrFY18ilZXswr7QHixWPt2q7vtbA8XbUwnr6Jp5TxzWWYYjJ3q0am32jbNdj22kkXTe8qvk4DDFgeNp5OGccxL7BfIX6lapfEOLJ72rod/WOhBtwX+OixyNaQlBcNjDhKmrdt4Mtg7sidtBD5/Iv8f3oiv3/uxisNRmw7bY0KD+de6Pcl7sNlOMvZVJ+/lEsv2VZXuVxhmOqlqRbJUmY0qLIPwdfnee2cEy3tfN6l05AUzyAIv/+nfR8G5cX0+o+ZibxfLlsC/58xXluLbYbv43vTZbFQcrkUuJ2/ajcj6Ec60wOh4TFRmzPQ2z2qTi7+DtfIfmxjAu+K5pJoJKm3r1vICYJd8O8rPQNFvEccpXv4t+k7BeEz14r98FzNeH2JNwAvt247sRRfE0FvZMOdH5CUP6mA+X4tGguKbnWYFnWkXTLkcx81VRnr/JE39RCwLzjzAqNtgdNXYRZavoC2W2EpNLzlpfjvCzHN0X9D+tZjhraiO3Fcn8d3vD7RrD15/xxEEc7NvkwpKb6BdMYT0q63ZI53ABu53lRz0TLXbRoe1CuHE9le+pa5ZaFpPWqyZEV8ZbFHLcteqgEtKPTvFP05BbvTDa7MBo33uLWhlvMqxfVLr8k2/rZL1gMdNuncW5hbkHCDeB2AV1oVDftia8cdSUoj+UYgvIhzz/xMlOQlOO2mDbcxpRjUu5xqgmQgXvbHHCn+Sav2vYApG94UrgoSr3x5FE8fwy13k3jAx3cEv0NEm4At29cQ/BpCPXXQflhx8pxVtT3lLq2Bkmpk245bsvaa0N1yRRMe7gE6DS31aztU0RcU46SbtRd74Z+EXdSnD1JVdLtBhJuAKs1rrNi2Mmaquc1Pv0ydTnuFPU92r2NpnGOsnsrlxMCrnHi9Ttc9Sl+GTtxOUbaTeJDJoB2dJola87Mujo3k3KkwX7BkC/GN/1gl9aTcANYvXHdKYadrAk6m2yrlOPzAZfj84QjE3PMSbbXon2Va12McoP2tAeHhblaZ12fCF3SjYbq3awYbtJt1tYnGbeFhBvA3RrX0LAOdRh555Ntl8pxpvzuJo7SmuYompZ14BYZFj11Gwa0qj0I552hJmtmfXnqoKQbDdW7EFcNLek287TSb5NwA7h74/pmYI1rCF57k2yrlOOQkqepy2+aKYBrW0cpxyi3HE92Be7XHgwxWfOmb53mSjku1GpqrHezYjgjZXcl225Hwg3g/o3rowE0riFofdK3ZFulHEPytM8TZ4ftepSh/HLcFvmhhfsvV713Wym0rz0IyZrfl6/Dnm/q8iLaqx6XY4jP5mo1NfcL+p7sfR6n1+EWJNwA0gXnfQ3qwm02j7r2NNI7lOPydqK+bedhjvLb2NqaFmejtFJatHEukDjibpZh0evxoRNAy4758hWSNX19SNLpCLC+XkS7VI6hXX+lVlNzv+BR0aLpMVLFaEWei7e9JuEGkD6o68soqbAdm+V2bbbwFr9sQVLPOllhyP+jTE/8zPGwhDYHp+8yLfdZAbS1Tdgp+jdaZdkuHA6oHMMo9qGMdjN3XXv6BZs96hcM4uJ7DhJunHrw8KGJmyFdUBdGu806vilh/X8/1CcPxU5Wl4Pz5ai2nRwL39jayvUY+L0W14l54eEJMMT2YF6+Qru+2/GO8zxnu9CBcjyMF0b7OMdW2J43MW6TENEvSCnEPYO6+J7aA7ugKP71v/uPJ+E9/O/k5PTLYhR/Nir/+XNxcv7LJ8vvn5TfL3753fBno/jDn+PfVX//5PyLi07OfjK68LOT4uTkihWNn7lc9qiy3Au/X/nHyUlxeUXO3y5t67/MP8yPF//t+Zfj44VaAfdqXE/nRSk70WFEzHamxES21S9frzKNiOpccF6+PSnLMUxs/7p8jTsSdO/GAC+nHHOPHXag3u3FupDay/K1UwBtbhN2yvZgFtv1acc6zK+GegHtinKcleV4EM+7oS3r8gWPRWyXZpIh+gUZ4slQt96oW/cj4cYvTv7v/wkH/08PHj7c/XJ8LPCH+zew8/JtHudoCkFdm59IGDoRuxJtV5ZjCMwP4pxloRzXhxwYxdFYOeryXgeqQzhOciTcwm2l2l1of3uwiB3n3dhxDufCtiZsQgyyJ9F2ZTmGdjIkUMPFqWXbPu7I6od1P4hlazRbd/sFbU28LeuXPkEiEm5cZfvBw4dPQ0Dx5fjYiRzSNbDj4jzx1obALjSkIclxoFG9VTnOyrdZDJSetaSjFcptN5ZhXVcgp5m2+6ADdeAojnCZJl70OIyk1DGGzrQH4dwbEm+vYlvQlosxkjErntOLs1sx38TR7E+Ldo5eXMRy/aSd6GW/IFdctWodCyPwjGhLTMKN64Sg4bPRbr207KD3ZVu6FqCH4PxVDOweF/Un30IAHhr6d4LxewdKy45WCNAnNQZLy8C7qTI8ynAOWXQowAtJ6j93sOqGQPqTc39v7doFjbQHyycYz2LnObQJz4p6k2/LJNsHyZh7leVyNPuybV/GaE0kQo5irBbO2V28KOp8dLd+wdOa65xzRw1GORf+hx/++LE4ORsqGT7o50tzhgUnp3OYnZzPeXb2za+mOlvON1adq2xU+cfPv8xrdlL5eRHnWTs5n3vtl9+/+HvxtwY9h9v/+qf/VPy///Hfrwtsn//13/39x1+HPxud/f3pEzdGo/OvK/tjNDr/16hS4KPKPy5+/+rfCT8YXa6w8eej+L/zdTn9ev6n779/4tCmS2KQPonB3XriQD0EbCEp82P42ki2rOU4ieX4XSzDccLkwmEMvOcSpQCtbw/WLrXrk4SLP7zUrmsT8pbl+qW2PXUy9TC28z8uy1asps5dOn+kjidDXTtw7qiHhFsh4XaLhNupv/67vy8k3KDWxnbtUpD++JpfP4qN5/Lr0+BNwNaKDteyHJcB+u9uCJxCuf2l8vVRHE0HQPfbhHE8/y/bhSImca4bzVIdkTqPbYIOcrvKstq+3zbhsYzNDt26xwp1bnKpvv32hroX6tifq/Gk+tYcCbdCwk3CDQAAACCdX9kFAAAAAJCOhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQkIQbAAAAACQk4QYAAAAACUm4AQAAAEBCEm4AAAAAkJCEGwAAAAAkJOEGAAAAAAlJuAEAAABAQhJuAAAAAJCQhBsAAAAAJCThBgAAAAAJSbgBAAAAQEISbgAAAACQ0IPMy39Vvtbs5m748r//5Wn59tKeAAAAALi7rAm3//rv/+2hXdwp8wcPH34q398WEqUAAAAAd+KWUi74cnx8UL79vnwd2BsAAAAAq5Nw4ytfjo+PytdmcXZL8JE9AgAAAHB7Em5c68vx8Zvy7Un5cmswAAAAwC09sAu4yZfj45Bse/Tg4cOd8v1xB1ZZchAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgKv9fgAEAulggap4jxLwAAAAASUVORK5CYII=";const $j=q.a`
|
|
640
|
+
display: flex;
|
|
641
|
+
align-items: center;
|
|
642
|
+
justify-content: center;
|
|
643
|
+
text-decoration: none;
|
|
644
|
+
margin-top: 1px;
|
|
645
|
+
width: 100%;
|
|
646
|
+
`,Tj=q.img`
|
|
647
|
+
height: 20px;
|
|
648
|
+
margin-left: ${B["--ll-spacing-base-unit"]};
|
|
649
|
+
`,Rj=q(pt)`
|
|
650
|
+
line-height: initial;
|
|
651
|
+
`,Pj=()=>{const e=Si([Cj]);return Pt($j,{href:"https://locallogic.co/",target:"_blank",rel:"noreferrer",children:[Y(Rj,{variant:"caption1",weight:"--ll-font-weight-medium",noMargin:!0,noWrap:!0,color:"--ll-color-on-background-variant1",children:e.POWERED_BY}),Y(Tj,{src:Aj})]})};var Oj=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),mH=Object.freeze(Object.defineProperty({__proto__:null,Root:Pj,Types:Oj},Symbol.toStringTag,{value:"Module"}));const gc={small:20,medium:32,large:40},kj=q(GC.div)`
|
|
652
|
+
background: linear-gradient(
|
|
653
|
+
to top,
|
|
654
|
+
${({backgroundColorHighlight:e})=>e},
|
|
655
|
+
${({backgroundColor:e})=>e}
|
|
656
|
+
);
|
|
657
|
+
border-radius: 50%;
|
|
658
|
+
border: 2px solid #fff;
|
|
659
|
+
height: ${({size:e})=>gc[e]}px;
|
|
660
|
+
width: ${({size:e})=>gc[e]}px;
|
|
661
|
+
display: flex;
|
|
662
|
+
justify-content: center;
|
|
663
|
+
align-items: center;
|
|
664
|
+
box-shadow: ${B["--ll-shadow-small"]};
|
|
665
|
+
`,UA=({fill:e="#fff",backgroundColor:t=B["--ll-color-primary"],backgroundColorHighlight:n=t,SVGElement:r,size:i="small",expandMarker:o})=>Y(kj,{backgroundColor:t,backgroundColorHighlight:n,size:i,variants:{default:{scale:1},hovered:{scale:1.2}},animate:o?"hovered":"default",whileHover:{scale:1.2},transition:uu.transitions.default,children:Y(Va,{SVGElement:r,fill:e,height:gc[i]/1.5,width:gc[i]/1.5})}),Nj=e=>R("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:R("path",{d:"M10 20V14H14V20H19V12H22L12 3L2 12H5V20H10Z"})}),Dj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),Mj=({options:e})=>Y(UA,{SVGElement:e.style==="house"?Nj:Dj,size:"large",backgroundColor:B["--ll-color-primary"],backgroundColorHighlight:B["--ll-color-primary-variant1"]});var Lj=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),gH=Object.freeze(Object.defineProperty({__proto__:null,Root:Mj,Types:Lj},Symbol.toStringTag,{value:"Module"}));const VA=K.createContext({}),jA=()=>m.exports.useContext(VA),Fj=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),Ij=e=>R("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),Bj=e=>je("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("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"})]}),Uj=e=>je("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[R("path",{d:"M0 0h24v24H0z",fill:"none"}),R("circle",{cx:4.5,cy:9.5,r:2.5}),R("circle",{cx:9,cy:5.5,r:2.5}),R("circle",{cx:15,cy:5.5,r:2.5}),R("circle",{cx:19.5,cy:9.5,r:2.5}),R("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"})]}),Vj=e=>je("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[R("path",{d:"M0 0h24v24H0z",fill:"none"}),R("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"})]}),jj=e=>je("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[R("path",{d:"M0 0h24v24H0z",fill:"none"}),R("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"})]}),zj=e=>je("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[R("g",{children:R("rect",{fill:"none",height:24,width:24})}),R("g",{children:je("g",{children:[R("g",{children:R("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"})}),R("g",{children:R("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"})})]})})]}),Hj=e=>je("svg",{xmlns:"http://www.w3.org/2000/svg",enableBackground:"new 0 0 24 24",viewBox:"0 0 24 24",...e,children:[R("g",{children:R("rect",{fill:"none",height:24,width:24})}),R("g",{children:R("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"})})]}),Gj=e=>je("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:[R("rect",{fill:"none",height:24,width:24}),R("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"})]}),Yj={groceries:vv,groceries_specialized:vv,shopping:NA,nightlife:DA,restaurants:hv,healthy_restaurants:hv,cafes:kA,daycares:LA,bus_stops:OA,rapid_transit_stations:Fj,train_stations:Ij,parks:MA,fitness:jj,personal_care:FA,pet_care:Uj,car_fueling_stations:Vj,health_care:Gj,sport_facilities:Bj,art_culture_science:Hj,home_improvement:zj,primary_schools:IA,high_schools:Z0},Wj=q(G0)`
|
|
666
|
+
background: none;
|
|
667
|
+
border: none;
|
|
668
|
+
padding: 0;
|
|
669
|
+
`,qj=()=>{const{options:{type:e,isOpen:t,isHovered:n}}=jA();return Y(Wj,{children:Y(UA,{SVGElement:Yj[e],expandMarker:t||n,backgroundColor:B["--ll-color-primary"],backgroundColorHighlight:B["--ll-color-primary-variant1"]})})},Xj=q(Y0)`
|
|
670
|
+
padding: ${B["--ll-spacing-small"]};
|
|
671
|
+
background-color: ${B["--ll-color-background"]};
|
|
672
|
+
box-shadow: ${B["--ll-shadow-small"]};
|
|
673
|
+
border-radius: ${B["--ll-border-radius-small"]};
|
|
674
|
+
width: 240px;
|
|
675
|
+
`,Qj=q(W0)`
|
|
676
|
+
fill: ${B["--ll-color-background"]};
|
|
677
|
+
`,Kj=()=>{const{options:{poi:e,side:t,collisionPadding:n}}=jA();return Pt(Xj,{side:t,collisionPadding:n,sideOffset:bt*2,children:[Y(Qj,{}),Y(pt,{variant:"h4",children:e.name}),e.address&&Y(pt,{variant:"p",children:e.address})]})},Zj=e=>Y(_A,{open:e.options.isOpen,onOpenChange:t=>e.onChange&&e.onChange({type:"open-change",data:t}),children:Y(VA.Provider,{value:{...e},children:e.children})});var Jj=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),yH=Object.freeze(Object.defineProperty({__proto__:null,Types:Jj,Marker:qj,Content:Kj,Root:Zj},Symbol.toStringTag,{value:"Module"}));const ez=(e,t)=>t==="school",tz=q.ul`
|
|
678
|
+
list-style: none;
|
|
679
|
+
padding: 0;
|
|
680
|
+
margin-bottom: 0;
|
|
681
|
+
`,nz=q.li`
|
|
682
|
+
padding: ${B["--ll-spacing-x-small"]};
|
|
683
|
+
margin-bottom: ${B["--ll-spacing-xx-small"]};
|
|
684
|
+
border-radius: ${B["--ll-border-radius-small"]};
|
|
685
|
+
background-color: ${({isActive:e})=>e&&B["--ll-color-surface-variant1"]};
|
|
686
|
+
background-color: ${({isHovered:e})=>e&&B["--ll-color-surface-variant1"]};
|
|
687
|
+
`,Tx=q.div`
|
|
688
|
+
display: flex;
|
|
689
|
+
flex-wrap: wrap;
|
|
690
|
+
`,Rx=q(kV)`
|
|
691
|
+
margin-right: 2px;
|
|
692
|
+
margin-bottom: 2px;
|
|
693
|
+
`,rz=({options:{data:e,type:t,activePOI:n,hoveredPOI:r},onChange:i})=>Y(tz,{children:e.map((o,s)=>{var a,l,u;return Pt(nz,{isActive:n===o,isHovered:r===o,onClick:()=>i&&i({type:"poi-click",data:o}),onMouseOver:()=>i&&i({type:"poi-hover",data:o}),onMouseLeave:()=>i&&i({type:"poi-hover",data:void 0}),children:[Y(pt,{variant:"p",color:"--ll-color-on-surface-variant1",noMargin:!0,children:o.name}),ez(o,t)?Y(Tx,{children:(l=(a=o.school_attributes)==null?void 0:a.types)==null?void 0:l.map((c,f)=>Y(Rx,{text:c},c))}):Y(Tx,{children:(u=o.routes)==null?void 0:u.map((c,f)=>Y(Rx,{text:c.short_name,backgroundColor:c.route_color,textColor:c.text_color},c.short_name+f))})]},`${o.name}-${o.lat}-${o.lng}-${s}`)})});var iz=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),_H=Object.freeze(Object.defineProperty({__proto__:null,Root:rz,Types:iz},Symbol.toStringTag,{value:"Module"}));const zA=K.createContext({}),HA=()=>m.exports.useContext(zA),GA={en:{commute:"Transport",amenities:"Amenities",character:"Character",nature:"Nature",education:"Education",about:"About"},fr:{commute:"Transport",amenities:"Am\xE9nit\xE9s",character:"Caract\xE8re",nature:"Nature",education:"\xC9ducation",about:"Info"}},YA=e=>{const{scoreCategory:t}=HA(),n=Si([GA]);return Y(pt,{...e.options,children:n[t]})};YA.defaultProps={options:{noMargin:!0,variant:"h6",color:"--ll-color-on-background-variant1"}};const oz=e=>R("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),sz=e=>je("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("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"}),R("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"}),R("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"}),R("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"})]}),az=e=>je("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[R("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"}),R("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"})]}),lz=e=>R("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:R("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"})}),WA=[{value:"commute",icon:oz,scores:["pedestrian_friendly","cycling_friendly","transit_friendly","car_friendly"]},{value:"amenities",icon:lz,scores:["groceries","cafes","restaurants","shopping","wellness"]},{value:"character",icon:sz,scores:["vibrant","quiet","nightlife","historic"]},{value:"nature",icon:az,scores:["parks","greenery"]},{value:"education",icon:Z0,scores:["high_schools","primary_schools","daycares"]}],qA=({options:e})=>{const{scoreCategory:t}=HA(),n=WA.find(r=>r.value===t);return Y(Va,{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})};qA.defaultProps={options:{color:"--ll-color-on-background-variant1"}};const XA=({options:e,children:t})=>Y(zA.Provider,{value:{...e},children:t});var QA=Object.freeze(Object.defineProperty({__proto__:null,Root:XA,Title:YA,Icon:qA},Symbol.toStringTag,{value:"Module"}));function uz(e){const t=e+"CollectionProvider",[n,r]=Ia(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=p=>{const{scope:h,children:v}=p,x=K.useRef(null),y=K.useRef(new Map).current;return R(i,{scope:h,itemMap:y,collectionRef:x,children:v})},a=e+"CollectionSlot",l=K.forwardRef((p,h)=>{const{scope:v,children:x}=p,y=o(a,v),_=bn(h,y.collectionRef);return K.createElement(ya,{ref:_},x)}),u=e+"CollectionItemSlot",c="data-radix-collection-item",f=K.forwardRef((p,h)=>{const{scope:v,children:x,...y}=p,_=K.useRef(null),g=bn(h,_),w=o(u,v);return K.useEffect(()=>(w.itemMap.set(_,{ref:_,...y}),()=>void w.itemMap.delete(_))),K.createElement(ya,{[c]:"",ref:g},x)});function d(p){const h=o(e+"CollectionConsumer",p);return K.useCallback(()=>{const x=h.collectionRef.current;if(!x)return[];const y=Array.from(x.querySelectorAll(`[${c}]`));return Array.from(h.itemMap.values()).sort((w,E)=>y.indexOf(w.ref.current)-y.indexOf(E.ref.current))},[h.collectionRef,h.itemMap])}return[{Provider:s,Slot:l,ItemSlot:f},d,r]}const cz=m.exports.createContext(void 0);function KA(e){const t=m.exports.useContext(cz);return e||t||"ltr"}const lp="rovingFocusGroup.onEntryFocus",fz={bubbles:!1,cancelable:!0},J0="RovingFocusGroup",[mv,ZA,dz]=uz(J0),[pz,JA]=Ia(J0,[dz]),[hz,vz]=pz(J0),mz=m.exports.forwardRef((e,t)=>m.exports.createElement(mv.Provider,{scope:e.__scopeRovingFocusGroup},m.exports.createElement(mv.Slot,{scope:e.__scopeRovingFocusGroup},m.exports.createElement(gz,_e({},e,{ref:t}))))),gz=m.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:s,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,...c}=e,f=m.exports.useRef(null),d=bn(t,f),p=KA(o),[h=null,v]=H0({prop:s,defaultProp:a,onChange:l}),[x,y]=m.exports.useState(!1),_=Dr(u),g=ZA(n),w=m.exports.useRef(!1);return m.exports.useEffect(()=>{const E=f.current;if(E)return E.addEventListener(lp,_),()=>E.removeEventListener(lp,_)},[_]),m.exports.createElement(hz,{scope:n,orientation:r,dir:p,loop:i,currentTabStopId:h,onItemFocus:m.exports.useCallback(E=>v(E),[v]),onItemShiftTab:m.exports.useCallback(()=>y(!0),[])},m.exports.createElement(Dt.div,_e({tabIndex:x?-1:0,"data-orientation":r},c,{ref:d,style:{outline:"none",...e.style},onMouseDown:lt(e.onMouseDown,()=>{w.current=!0}),onFocus:lt(e.onFocus,E=>{const b=!w.current;if(E.target===E.currentTarget&&b&&!x){const S=new CustomEvent(lp,fz);if(E.currentTarget.dispatchEvent(S),!S.defaultPrevented){const C=g().filter(H=>H.focusable),$=C.find(H=>H.active),P=C.find(H=>H.id===h),U=[$,P,...C].filter(Boolean).map(H=>H.ref.current);e5(U)}}w.current=!1}),onBlur:lt(e.onBlur,()=>y(!1))})))}),yz="RovingFocusGroupItem",_z=m.exports.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,...o}=e,s=B0(),a=vz(yz,n),l=a.currentTabStopId===s,u=ZA(n);return m.exports.createElement(mv.ItemSlot,{scope:n,id:s,focusable:r,active:i},m.exports.createElement(Dt.span,_e({tabIndex:l?0:-1,"data-orientation":a.orientation},o,{ref:t,onMouseDown:lt(e.onMouseDown,c=>{r?a.onItemFocus(s):c.preventDefault()}),onFocus:lt(e.onFocus,()=>a.onItemFocus(s)),onKeyDown:lt(e.onKeyDown,c=>{if(c.key==="Tab"&&c.shiftKey){a.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const f=Ez(c,a.orientation,a.dir);if(f!==void 0){c.preventDefault();let p=u().filter(h=>h.focusable).map(h=>h.ref.current);if(f==="last")p.reverse();else if(f==="prev"||f==="next"){f==="prev"&&p.reverse();const h=p.indexOf(c.currentTarget);p=a.loop?bz(p,h+1):p.slice(h+1)}setTimeout(()=>e5(p))}})})))}),xz={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function wz(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Ez(e,t,n){const r=wz(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return xz[r]}function e5(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function bz(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Sz=mz,Cz=_z,t5="Tabs",[Az,xH]=Ia(t5,[JA]),n5=JA(),[$z,eg]=Az(t5),Tz=m.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:o,orientation:s="horizontal",dir:a,activationMode:l="automatic",...u}=e,c=KA(a),[f,d]=H0({prop:r,onChange:i,defaultProp:o});return m.exports.createElement($z,{scope:n,baseId:B0(),value:f,onValueChange:d,orientation:s,dir:c,activationMode:l},m.exports.createElement(Dt.div,_e({dir:c,"data-orientation":s},u,{ref:t})))}),Rz="TabsList",Pz=m.exports.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,o=eg(Rz,n),s=n5(n);return m.exports.createElement(Sz,_e({asChild:!0},s,{orientation:o.orientation,dir:o.dir,loop:r}),m.exports.createElement(Dt.div,_e({role:"tablist","aria-orientation":o.orientation},i,{ref:t})))}),Oz="TabsTrigger",kz=m.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...o}=e,s=eg(Oz,n),a=n5(n),l=r5(s.baseId,r),u=i5(s.baseId,r),c=r===s.value;return m.exports.createElement(Cz,_e({asChild:!0},a,{focusable:!i,active:c}),m.exports.createElement(Dt.button,_e({type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l},o,{ref:t,onMouseDown:lt(e.onMouseDown,f=>{!i&&f.button===0&&f.ctrlKey===!1?s.onValueChange(r):f.preventDefault()}),onKeyDown:lt(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&s.onValueChange(r)}),onFocus:lt(e.onFocus,()=>{const f=s.activationMode!=="manual";!c&&!i&&f&&s.onValueChange(r)})})))}),Nz="TabsContent",Dz=m.exports.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:o,...s}=e,a=eg(Nz,n),l=r5(a.baseId,r),u=i5(a.baseId,r),c=r===a.value,f=m.exports.useRef(c);return m.exports.useEffect(()=>{const d=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(d)},[]),m.exports.createElement(z0,{present:i||c},({present:d})=>m.exports.createElement(Dt.div,_e({"data-state":c?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!d,id:u,tabIndex:0},s,{ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0}}),d&&o))});function r5(e,t){return`${e}-trigger-${t}`}function i5(e,t){return`${e}-content-${t}`}const o5=Tz,s5=Pz,a5=kz,l5=Dz,u5=e=>{const t=m.exports.useRef(e);return m.exports.useEffect(()=>{t.current=e}),m.exports.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])},Mz=({defaultValue:e,onChange:t})=>{const n=m.exports.useState(e),[r]=n,i=m.exports.useRef(r),o=u5(t==null?void 0:t.func);return m.exports.useEffect(()=>{i.current!==r&&t&&(o({type:t.key,data:r}),i.current=r)},[r,i,o]),n},Lz=({controlledValue:e,onChange:t,defaultValue:n})=>{const[r,i]=Mz({defaultValue:n,onChange:t}),o=e!==void 0,s=o?e:r,a=u5(t==null?void 0:t.func),l=m.exports.useCallback(u=>{if(o){const f=typeof u=="function"?u(e):u;f!==e&&t&&a({type:t.key,data:f})}else i(u)},[o,s,i,a]);return[s,l]},c5=K.createContext({}),Fz=()=>m.exports.useContext(c5),Iz=({children:e,options:{value:t}})=>Y(l5,{value:t,children:Y(XA,{options:{scoreCategory:t},children:e})},t),{Title:Bz}=QA,{Icon:Uz}=QA,Vz=q(s5)`
|
|
694
|
+
display: grid;
|
|
695
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
696
|
+
grid-auto-flow: column;
|
|
697
|
+
background-color: ${B["--ll-color-background"]};
|
|
698
|
+
`,jz=q(a5)`
|
|
699
|
+
background: none;
|
|
700
|
+
border: none;
|
|
701
|
+
padding: 0;
|
|
702
|
+
display: flex;
|
|
703
|
+
flex-direction: column;
|
|
704
|
+
align-items: center;
|
|
705
|
+
`,zz=()=>{const{currentTab:e}=Fz(),t=Si([GA]);return Y(Vz,{"aria-label":"Score tabs",children:WA.map(n=>{const i=n.value===e?"--ll-color-primary":"--ll-color-disabled";return Y(m.exports.Fragment,{children:Pt(jz,{value:n.value,children:[Y(Va,{SVGElement:n.icon,fill:B[i]}),Y(pt,{noMargin:!0,variant:"caption1",color:i,weight:"--ll-font-weight-medium",children:t[n.value]})]})},n.value)})})},Hz=({options:e,onChange:t,children:n})=>{const[r,i]=Lz({controlledValue:e.currentTab,onChange:{func:t,key:"tabs"},defaultValue:e.defaultTab||"commute"});return Y(c5.Provider,{value:{...e,currentTab:r},children:Y(o5,{value:r,orientation:"vertical",defaultValue:r,onValueChange:o=>i(o),children:n})})};var wH=Object.freeze(Object.defineProperty({__proto__:null,Root:Hz,Tabs:zz,Content:Iz,Title:Bz,Icon:Uz},Symbol.toStringTag,{value:"Module"}));const f5=K.createContext({}),Gz=()=>m.exports.useContext(f5),Yz={en:{groceries:"Grocery",groceries_specialized:"Speciality",shopping:"Shopping",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Coffee shops",daycares:"Daycares",bus_stops:"Bus",rapid_transit_stations:"Metro",train_stations:"Train",parks:"Parks",healthy_restaurants:"Healthy restaurants",fitness:"Fitness",sport_facilities:"Sport facilities",health_care:"Health care",pet_care:"Pet care",car_fueling_stations:"Gas stations",art_culture_science:"Art, Culture, Science",home_improvement:"Home improvement",personal_care:"Personal care"},fr:{groceries:"G\xE9n\xE9rales",groceries_specialized:"Sp\xE9cialis\xE9es",shopping:"Magasinage",nightlife:"Nightlife",restaurants:"Restaurants",cafes:"Caf\xE9s",daycares:"Garderies",bus_stops:"Autobus",rapid_transit_stations:"M\xE9tro",train_stations:"Train",parks:"Parcs",healthy_restaurants:"Restaurants sains",fitness:"Fitness",sport_facilities:"Installations sportives",health_care:"Soins de sant\xE9",pet_care:"Soins pour animaux",car_fueling_stations:"Stations-service",art_culture_science:"Art, Culture, Science",home_improvement:"Am\xE9lioration de l'habitat",personal_care:"Soins personnels"}},Wz=q(a5)`
|
|
706
|
+
margin-right: ${B["--ll-spacing-xx-small"]};
|
|
707
|
+
margin-bottom: ${B["--ll-spacing-xx-small"]};
|
|
708
|
+
`,qz=()=>{const{include:e,activeTab:t,setActiveTab:n}=Gz(),r=Si([Yz]);return e.length<=1?null:Y(s5,{"aria-label":"tabs example",children:e.map(i=>Y(Wz,{value:i,asChild:!0,children:Y(SA,{size:"small",variant:i===t?"contained":"outlined",onClick:()=>n(i),children:r[i]})},i))})},Xz=({children:e,options:{value:t}})=>Y(l5,{value:t,children:e},t),Qz=({options:e,children:t})=>{const[n,r]=m.exports.useState(e.include[0]);return Y(f5.Provider,{value:{...e,activeTab:n,setActiveTab:r},children:Y(o5,{value:n,children:t})})},Kz={pedestrian_friendly:[],transit_friendly:["rapid_transit_stations","train_stations","bus_stops"],cycling_friendly:[],car_friendly:["car_fueling_stations"],groceries:["groceries","groceries_specialized"],restaurants:["restaurants"],cafes:["cafes"],shopping:["shopping"],wellness:["fitness","healthy_restaurants","health_care","sport_facilities"],parks:["parks"],greenery:[],vibrant:["art_culture_science"],nightlife:[],quiet:[],historic:[],high_schools:[],primary_schools:[],daycares:["daycares"]};var Zz=Object.freeze(Object.defineProperty({__proto__:null,scorePois:Kz},Symbol.toStringTag,{value:"Module"})),EH=Object.freeze(Object.defineProperty({__proto__:null,Root:Qz,Tabs:qz,Content:Xz,Constants:Zz},Symbol.toStringTag,{value:"Module"}));const Jz=({children:e})=>{var r,i;const{sdkState:t}=U7();if(!(t!=null&&t.apiKey))throw Error("A valid apiKey must be provided.");const n=mD(t.apiKey,{locale:(r=t==null?void 0:t.globalOptions)==null?void 0:r.locale});return R(nj,{client:n,options:{appearance:(i=t==null?void 0:t.globalOptions)==null?void 0:i.appearance},children:e})},eH=q.div`
|
|
709
|
+
height: 100%;
|
|
710
|
+
width: 100%;
|
|
711
|
+
display: flex;
|
|
712
|
+
align-items: center;
|
|
713
|
+
justify-content: center;
|
|
714
|
+
flex-direction: column;
|
|
715
|
+
`,tH=({error:e})=>je(eH,{children:[R(hy,{variant:"h4",children:"An error occurred"}),R(hy,{variant:"p",color:"--ll-color-on-background-variant1",children:e.message})]}),nH=new H8({defaultOptions:{queries:{retry:2,staleTime:1/0,keepPreviousData:!0}}}),rH=()=>je(yf,{children:[R(SO,{}),R(x8,{FallbackComponent:tH,children:R(d7,{children:R(q8,{client:nH,children:R(Hb,{children:R(Jz,{children:R(t0,{})})})})})})]});m4({dsn:"https://19707ff4ff7f420b9369a3e15041c787@o227377.ingest.sentry.io/6677584",integrations:[new Dm],tracesSampleRate:1,environment:"production",enabled:!0});up.createRoot(document.getElementById("root")).render(R(K.StrictMode,{children:R(rH,{})}));export{aa as $,vH as A,uH as B,cH as C,wH as D,kO as E,yf as F,mH as G,VO as H,fH as L,R5 as R,QA as S,hy as T,lf as U,r7 as _,sa as a,K as b,Lr as c,lH as d,U7 as e,F7 as f,dH as g,gH as h,EH as i,R as j,q as k,je as l,yH as m,Dn as n,LE as o,_i as p,Gm as q,m as r,WA as s,ne as t,tj as u,mi as v,De as w,si as x,ZE as y,_H as z};
|